Create Network
Changed onCreates a new Cloud Gateway network in the specified provider account and region. Network creation is asynchronous — the network starts in initializing state and transitions to ready once provisioned.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v2/cloud-gateways/networks
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"name": "us-east-2-network",
"cloud_gateway_provider_account_id": "929b2449-c69f-44c4-b6ad-9ecec6f811ae",
"region": "us-east-2",
"availability_zones": [
"use2-az1",
"use2-az2",
"use2-az3"
],
"cidr_block": "10.0.0.0/16"
}Response
Response format for creating a network.
Example response
{
"id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
"name": "us-east-2-network",
"cloud_gateway_provider_account_id": "929b2449-c69f-44c4-b6ad-9ecec6f811ae",
"region": "us-east-2",
"availability_zones": [
"use2-az1",
"use2-az2",
"use2-az3"
],
"cidr_block": "10.0.0.0/16",
"state_metadata": {
"reported_status": "INVALID",
"reason": "Network could not be deployed due to insufficient cloud provider compute instances.\n"
},
"entity_version": 1,
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
409.00enum value to theresponse property for the response status
- warning
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking