Retrieves a list of VPCs for the specified account
GET/v1/clouds/tencent/regions/:region/vpcs
Retrieves a list of VPCs for the specified account
Request
Path Parameters
region stringrequired
Region for which VPCs are requested
Query Parameters
cloudAccountUid stringrequired
Uid for the specific Tencent cloud account
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
(empty)
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
vpcs
object[]
required
cidrBlockstring
Tencent VPC CIDR. The CIDR notation consists of an IP address, a slash character ('/') and a decimal number from 0 to 32
namestring
Tencent VPC name
subnets
object[]
azstring
Availability zone associated with tencent subnet
cidrBlockstring
Tencent subnet CIDR. The CIDR notation consists of an IP address, a slash character ('/') and a decimal number from 0 to 32
namestring
Tencent subnet name
subnetIdstring
Tencent subnet id
vpcIdstringrequired
Tencent VPC id
{
"vpcs": [
{
"cidrBlock": "string",
"name": "string",
"subnets": [
{
"az": "string",
"cidrBlock": "string",
"name": "string",
"subnetId": "string"
}
],
"vpcId": "string"
}
]
}
Loading...