Queries the regions where network instances can be attached to a Cloud Enterprise Network (CEN) instance.
Description
The regions that support CEN vary based on the network instance type. To query the
regions where you can attach a specified type of network instances to CEN, set the
ProductType
parameter. If you do not set the ProductType
parameter, the system queries all regions where you can attach network instances
to CEN, regardless of the network instance type.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DescribeChildInstanceRegions |
The operation that you want to perform. Set the value to DescribeChildInstanceRegions. |
ProductType | String | No | VPC |
The network instance type. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Regions | Array of Region |
The list of regions. |
|
Region | |||
LocalName | String | China (Hangzhou) |
The name of the region. |
RegionId | String | cn-hangzhou |
The ID of the region. |
RequestId | String | D5CEED59-36AA-47CC-9D81-16F71C46BD80 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeChildInstanceRegions
&<Common request parameters>
Sample success responses
XML
format
<DescribeChildInstanceRegionsResponse>
<RequestId>D5CEED59-36AA-47CC-9D81-16F71C46BD80</RequestId>
<Regions>
<Region>
<RegionId>cn-hangzhou</RegionId>
<LocalName>China (Hangzhou)</LocalName>
</Region>
</Regions>
</DescribeChildInstanceRegionsResponse>
JSON
format
{
"RequestId": "D5CEED59-36AA-47CC-9D81-16F71C46BD80",
"Regions": {
"Region": [
{
"RegionId": "cn-hangzhou",
"LocalName": "China (Hangzhou)"
}
]
}
}
Error codes
For a list of error codes, visit the API Error Center.