Queries the Alibaba Cloud regions that are supported by ActionTrail.
For more information, see Regions and zones.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeRegions |
The operation that you want to perform. Set the value to DescribeRegions. |
For more information about common request parameters, see Common parameters.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 851038F3-33AB-4C49-97D7-6AB37D35E256 |
The ID of the request. |
Regions | Object |
The regions returned. |
|
Region | Array of Region |
An array that consists of the regions available to use within the Alibaba Cloud account. |
|
RegionId | String | cn-shanghai |
The ID of the region. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeRegions
&<Common request parameters>
Sample success responses
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "851038F3-33AB-4C49-97D7-6AB37D35E256",
"Regions" : {
"Region" : [ {
"RegionId" : "cn-hangzhou"
}, {
"RegionId" : "cn-shanghai"
}, {
"RegionId" : "cn-qingdao"
}, {
"RegionId" : "cn-beijing"
}, {
"RegionId" : "cn-zhangjiakou"
}, {
"RegionId" : "cn-huhehaote"
}, {
"RegionId" : "cn-shenzhen"
}, {
"RegionId" : "cn-heyuan"
}, {
"RegionId" : "cn-guangzhou"
}, {
"RegionId" : "cn-chengdu"
}, {
"RegionId" : "cn-hongkong"
}, {
"RegionId" : "ap-southeast-1"
}, {
"RegionId" : "ap-southeast-2"
}, {
"RegionId" : "ap-southeast-3"
}, {
"RegionId" : "ap-southeast-5"
}, {
"RegionId" : "ap-northeast-1"
}, {
"RegionId" : "ap-south-1"
}, {
"RegionId" : "eu-central-1"
}, {
"RegionId" : "eu-west-1"
}, {
"RegionId" : "us-west-1"
}, {
"RegionId" : "us-east-1"
}, {
"RegionId" : "me-east-1"
} ]
}
}
Error codes
For a list of error codes, visit the API Error Center.