Networks
Create Network
Creates 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.
post/v2/cloud-gateways/networks
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"
}