Queries the regions that support network instances loaded to Cloud Enterprise Network (CEN).
Operation description
CEN supports different regions for different network instance types. You can specify the ProductType parameter to query the regions supported by CEN for a specific network instance type. If you do not specify the ProductType parameter, the system queries the regions supported by CEN for all network instance types by default.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductType |
string |
No |
The type of the network instance. Valid values:
|
VPC |
| AcceptLanguage |
string |
No |
The supported language. Valid values: Chinese: zh-CN (default) English: en-US Japanese: ja. |
zh-CN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
D5CEED59-36AA-47CC-9D81-16F71C46BD80 |
| Regions |
object |
||
| Region |
array<object> |
The list of regions. |
|
|
object |
|||
| LocalName |
string |
The region name. |
China (Hangzhou) |
| RegionId |
string |
The region ID. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "D5CEED59-36AA-47CC-9D81-16F71C46BD80",
"Regions": {
"Region": [
{
"LocalName": "China (Hangzhou)",
"RegionId": "cn-hangzhou"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter.OwnerIdOrOwnerAccount | The input parameter OwnerAccount or OwnerId that is mandatory for processing this request is not supplied | The error message returned because the OwnerId or OwnerAccount parameter is not set. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.