Queries the regions in which you can attach network instances to Cloud Enterprise Network (CEN) instances.
Operation 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 instance to CEN, set the ProductType
parameter. If you do not set the ProductType
parameter, the system queries all regions in which you can attach network instances to CEN, regardless of the network instance type.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ProductType | string | No | The type of the network instance. Valid values:
| VPC |
AcceptLanguage | string | No | The language of the response. Valid values: zh-CN (Chinese, which is the default language), en-US (English), and ja (Japanese). | zh-CN |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "D5CEED59-36AA-47CC-9D81-16F71C46BD80",
"Regions": {
"Region": [
{
"LocalName": "China (Hangzhou)\n",
"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. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-02-20 | API Description Update. The Error code has changed | View Change Details |
2023-09-08 | The Error code has changed. The request parameters of the API has changed | View Change Details |