v1

latestOpenAPI 3.0.0Apache 2.02026-07-17143274803.9 KB
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

cidrsstring[] required

The IPv4 CIDR blocks assigned to the subnet

idstring required

Identifier of the subnetwork

locationstring

The location of the subnetwork.

namestring

Name of the subnetwork

Example response

[
  {
    "name": "MySubnet",
    "location": "us-central1-a",
    "cidrs": [
      "10.0.1.0/24",
      "10.0.1.0/24"
    ],
    "id": "subnet-9d4a7b6c"
  }
]