Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeRegions |
The operation that you want to perform. Set the value to DescribeRegions. |
ResourceGroupId | String | No | rg-acfm2pz25js**** |
The ID of the resource group to which the Anti-DDoS Origin instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group. For more information about resource groups, see Create a resource group. |
RegionId | String | No | cn-hangzhou |
The region ID to query. The default value is cn-hangzhou, which indicates that the regions of cloud assets that are supported by an Anti-DDoS Origin instance in the China (Hangzhou) region are queried. For more information about the IDs of other regions, see Regions and zones. |
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | String | 200 |
The HTTP status code. |
Regions | Array of Region |
The information about regions of the cloud assets that are supported by the Anti-DDoS Origin instance. The information includes region IDs and names. |
|
RegionEnName | String | China (Hangzhou) |
The English name of the region where the cloud assets reside. |
RegionId | String | cn-hangzhou |
The ID of the region. |
RegionName | String | China (Hangzhou) |
The name of the region where the cloud assets reside. |
RequestId | String | F7CA8B4E-FB15-4336-A351-8DC29D66EA82 |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request is successful. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeRegions
&<Common request parameters>
Sample success responses
XML
format
<DescribeRegionsResponse>
<RequestId>F7CA8B4E-FB15-4336-A351-8DC29D66EA82</RequestId>
<Regions>
<RegionName>俄罗斯(莫斯科)</RegionName>
<RegionEnName>Russia (Moscow)</RegionEnName>
<RegionId>rus-west-1</RegionId>
</Regions>
<Regions>
<RegionName>华北2(北京)</RegionName>
<RegionEnName>China (Beijing)</RegionEnName>
<RegionId>cn-beijing</RegionId>
</Regions>
<Regions>
<RegionName>华北6(乌兰察布)</RegionName>
<RegionEnName>China (Ulanqab)</RegionEnName>
<RegionId>cn-wulanchabu</RegionId>
</Regions>
<Regions>
<RegionName>印度(孟买)</RegionName>
<RegionEnName>India (Mumbai)</RegionEnName>
<RegionId>ap-south-1</RegionId>
</Regions>
<Regions>
<RegionName>华北1(青岛)</RegionName>
<RegionEnName>China (Qingdao)</RegionEnName>
<RegionId>cn-qingdao</RegionId>
</Regions>
<Regions>
<RegionName>华东2(上海)</RegionName>
<RegionEnName>China (Shanghai)</RegionEnName>
<RegionId>cn-shanghai</RegionId>
</Regions>
<Regions>
<RegionName>中国(香港)</RegionName>
<RegionEnName>China (Hong Kong)</RegionEnName>
<RegionId>cn-hongkong</RegionId>
</Regions>
<Regions>
<RegionName>华南2(河源)</RegionName>
<RegionEnName>China (Heyuan)</RegionEnName>
<RegionId>cn-heyuan</RegionId>
</Regions>
<Regions>
<RegionName>德国(法兰克福)</RegionName>
<RegionEnName>Germany (Frankfurt)</RegionEnName>
<RegionId>eu-central-1</RegionId>
</Regions>
<Regions>
<RegionName>华北3(张家口)</RegionName>
<RegionEnName>China (Zhangjiakou)</RegionEnName>
<RegionId>cn-zhangjiakou</RegionId>
</Regions>
<Regions>
<RegionName>美国(硅谷)</RegionName>
<RegionEnName>US (Silicon Valley)</RegionEnName>
<RegionId>us-west-1</RegionId>
</Regions>
<Regions>
<RegionName>华南1(深圳)</RegionName>
<RegionEnName>China (Shenzhen)</RegionEnName>
<RegionId>cn-shenzhen</RegionId>
</Regions>
<Regions>
<RegionName>英国(伦敦)</RegionName>
<RegionEnName>UK (London)</RegionEnName>
<RegionId>eu-west-1</RegionId>
</Regions>
<Regions>
<RegionName>日本(东京)</RegionName>
<RegionEnName>Japan (Tokyo)</RegionEnName>
<RegionId>ap-northeast-1</RegionId>
</Regions>
<Regions>
<RegionName>阿联酋(迪拜)</RegionName>
<RegionEnName>UAE (Dubai)</RegionEnName>
<RegionId>me-east-1</RegionId>
</Regions>
<Regions>
<RegionName>西南1(成都)</RegionName>
<RegionEnName>China (Chengdu)</RegionEnName>
<RegionId>cn-chengdu</RegionId>
</Regions>
<Regions>
<RegionName>华南3(广州)</RegionName>
<RegionEnName>China (Guangzhou)</RegionEnName>
<RegionId>cn-guangzhou</RegionId>
</Regions>
<Regions>
<RegionName>新加坡</RegionName>
<RegionEnName>Singapore</RegionEnName>
<RegionId>ap-southeast-1</RegionId>
</Regions>
<Regions>
<RegionName>澳大利亚(悉尼)</RegionName>
<RegionEnName>Australia (Sydney)</RegionEnName>
<RegionId>ap-southeast-2</RegionId>
</Regions>
<Regions>
<RegionName>马来西亚(吉隆坡)</RegionName>
<RegionEnName>Malaysia (Kuala Lumpur)</RegionEnName>
<RegionId>ap-southeast-3</RegionId>
</Regions>
<Regions>
<RegionName>华北5(呼和浩特)</RegionName>
<RegionEnName>China (Hohhot)</RegionEnName>
<RegionId>cn-huhehaote</RegionId>
</Regions>
<Regions>
<RegionName>印度尼西亚(雅加达)</RegionName>
<RegionEnName>Indonesia (Jakarta)</RegionEnName>
<RegionId>ap-southeast-5</RegionId>
</Regions>
<Regions>
<RegionName>美国(弗吉尼亚)</RegionName>
<RegionEnName>US (Virginia)</RegionEnName>
<RegionId>us-east-1</RegionId>
</Regions>
<Regions>
<RegionName>华东1(杭州)</RegionName>
<RegionEnName>China (Hangzhou)</RegionEnName>
<RegionId>cn-hangzhou</RegionId>
</Regions>
<Code>200</Code>
<Success>true</Success>
</DescribeRegionsResponse>
JSON
format
{
"RequestId": "F7CA8B4E-FB15-4336-A351-8DC29D66EA82",
"Regions": [
{
"RegionName": "俄罗斯(莫斯科)",
"RegionEnName": "Russia (Moscow)",
"RegionId": "rus-west-1"
},
{
"RegionName": "华北2(北京)",
"RegionEnName": "China (Beijing)",
"RegionId": "cn-beijing"
},
{
"RegionName": "华北6(乌兰察布)",
"RegionEnName": "China (Ulanqab)",
"RegionId": "cn-wulanchabu"
},
{
"RegionName": "印度(孟买)",
"RegionEnName": "India (Mumbai)",
"RegionId": "ap-south-1"
},
{
"RegionName": "华北1(青岛)",
"RegionEnName": "China (Qingdao)",
"RegionId": "cn-qingdao"
},
{
"RegionName": "华东2(上海)",
"RegionEnName": "China (Shanghai)",
"RegionId": "cn-shanghai"
},
{
"RegionName": "中国(香港)",
"RegionEnName": "China (Hong Kong)",
"RegionId": "cn-hongkong"
},
{
"RegionName": "华南2(河源)",
"RegionEnName": "China (Heyuan)",
"RegionId": "cn-heyuan"
},
{
"RegionName": "德国(法兰克福)",
"RegionEnName": "Germany (Frankfurt)",
"RegionId": "eu-central-1"
},
{
"RegionName": "华北3(张家口)",
"RegionEnName": "China (Zhangjiakou)",
"RegionId": "cn-zhangjiakou"
},
{
"RegionName": "美国(硅谷)",
"RegionEnName": "US (Silicon Valley)",
"RegionId": "us-west-1"
},
{
"RegionName": "华南1(深圳)",
"RegionEnName": "China (Shenzhen)",
"RegionId": "cn-shenzhen"
},
{
"RegionName": "英国(伦敦)",
"RegionEnName": "UK (London)",
"RegionId": "eu-west-1"
},
{
"RegionName": "日本(东京)",
"RegionEnName": "Japan (Tokyo)",
"RegionId": "ap-northeast-1"
},
{
"RegionName": "阿联酋(迪拜)",
"RegionEnName": "UAE (Dubai)",
"RegionId": "me-east-1"
},
{
"RegionName": "西南1(成都)",
"RegionEnName": "China (Chengdu)",
"RegionId": "cn-chengdu"
},
{
"RegionName": "华南3(广州)",
"RegionEnName": "China (Guangzhou)",
"RegionId": "cn-guangzhou"
},
{
"RegionName": "新加坡",
"RegionEnName": "Singapore",
"RegionId": "ap-southeast-1"
},
{
"RegionName": "澳大利亚(悉尼)",
"RegionEnName": "Australia (Sydney)",
"RegionId": "ap-southeast-2"
},
{
"RegionName": "马来西亚(吉隆坡)",
"RegionEnName": "Malaysia (Kuala Lumpur)",
"RegionId": "ap-southeast-3"
},
{
"RegionName": "华北5(呼和浩特)",
"RegionEnName": "China (Hohhot)",
"RegionId": "cn-huhehaote"
},
{
"RegionName": "印度尼西亚(雅加达)",
"RegionEnName": "Indonesia (Jakarta)",
"RegionId": "ap-southeast-5"
},
{
"RegionName": "美国(弗吉尼亚)",
"RegionEnName": "US (Virginia)",
"RegionId": "us-east-1"
},
{
"RegionName": "华东1(杭州)",
"RegionEnName": "China (Hangzhou)",
"RegionId": "cn-hangzhou"
}
],
"Code": "200",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.