network
List VPC subnetworks
List subnetworks of the given VPC network
get/api/v1/orgs/{orgId}/networks/{networkId}/subnets
Path parameters
orgIdinteger required
Organization identifier
networkIdstring required
VPC network identification
Query parameters
cloudType'amazon' | 'google' | 'azure' required
Identifies the cloud provider
regionstring
Identifies the region of the VPC network (required when cloudType != azure)
resourceGroupstring
Identifies the resource group of the Azure virtual network (required when cloudType == azure)
Headers
secretIdstring required
Secret identification
Response
List of VPC network subnets
Example response
[
{
"name": "MySubnet",
"location": "us-central1-a",
"cidrs": [
"10.0.1.0/24",
"10.0.1.0/24"
],
"id": "subnet-9d4a7b6c"
}
]