Queries the Alibaba Cloud regions that are supported by ActionTrail.

For more information, see Regions and zones.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeRegions

The operation that you want to perform. Set the value to DescribeRegions.

AcceptLanguage String No en-US

The language in which the region names are returned. Valid values:

  • zh-CN: Chinese.
  • en-US: English. It is the default value.

For more information about common request parameters, see Common parameters.

Response parameters

Parameter Type Example Description
RequestId String ACA7C814-12BC-4D81-A0D2-72071C9D6D2C

The ID of the request.

Regions Array of Region

The regions returned.

Region
RegionId String cn-hangzhou

The ID of the region.

RegionEndpoint String actiontrail.cn-hangzhou.aliyuncs.com

The endpoint of ActionTrail in the region.

LocalName String China (Hangzhou)

The name of the region.

Note If the AcceptLanguage parameter is set to zh-CN, the Chinese name of the region is returned. If the AcceptLanguage parameter is set to zh-US or left empty, the English name of the region is returned.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeRegions
&AcceptLanguage=en-US
&<Common request parameters>

Sample success responses

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "ACA7C814-12BC-4D81-A0D2-72071C9D6D2C",
  "Regions" : {
    "Region" : [ {
      "RegionId" : "cn-hangzhou",
      "RegionEndpoint" : "actiontrail.cn-hangzhou.aliyuncs.com",
      "LocalName" : "China (Hangzhou)"
    }, {
      "RegionId" : "cn-shanghai",
      "RegionEndpoint" : "actiontrail.cn-shanghai.aliyuncs.com",
      "LocalName" : "China (Shanghai)"
    }, {
      "RegionId" : "cn-qingdao",
      "RegionEndpoint" : "actiontrail.cn-qingdao.aliyuncs.com",
      "LocalName" : "China (Qingdao)"
    }, {
      "RegionId" : "cn-beijing",
      "RegionEndpoint" : "actiontrail.cn-beijing.aliyuncs.com",
      "LocalName" : "China (Beijing)"
    }, {
      "RegionId" : "cn-zhangjiakou",
      "RegionEndpoint" : "actiontrail.cn-zhangjiakou.aliyuncs.com",
      "LocalName" : "China (Zhangjiakou)"
    }, {
      "RegionId" : "cn-huhehaote",
      "RegionEndpoint" : "actiontrail.cn-huhehaote.aliyuncs.com",
      "LocalName" : "China (Hohhot)"
    }, {
      "RegionId" : "cn-shenzhen",
      "RegionEndpoint" : "actiontrail.cn-shenzhen.aliyuncs.com",
      "LocalName" : "China (Shenzhen)"
    }, {
      "RegionId" : "cn-heyuan",
      "RegionEndpoint" : "actiontrail.cn-heyuan.aliyuncs.com",
      "LocalName" : "China (Heyuan)"
    }, {
      "RegionId" : "cn-guangzhou",
      "RegionEndpoint" : "actiontrail.cn-guangzhou.aliyuncs.com",
      "LocalName" : "China (Guangzhou)"
    }, {
      "RegionId" : "cn-chengdu",
      "RegionEndpoint" : "actiontrail.cn-chengdu.aliyuncs.com",
      "LocalName" : "China (Chengdu)"
    }, {
      "RegionId" : "cn-hongkong",
      "RegionEndpoint" : "actiontrail.cn-hongkong.aliyuncs.com",
      "LocalName" : "China (Hong Kong)"
    }, {
      "RegionId" : "ap-southeast-1",
      "RegionEndpoint" : "actiontrail.ap-southeast-1.aliyuncs.com",
      "LocalName" : "Singapore"
    }, {
      "RegionId" : "ap-southeast-2",
      "RegionEndpoint" : "actiontrail.ap-southeast-2.aliyuncs.com",
      "LocalName" : "Australia (Sydney)"
    }, {
      "RegionId" : "ap-southeast-3",
      "RegionEndpoint" : "actiontrail.ap-southeast-3.aliyuncs.com",
      "LocalName" : "Malaysia (Kuala Lumpur)"
    }, {
      "RegionId" : "ap-southeast-5",
      "RegionEndpoint" : "actiontrail.ap-southeast-5.aliyuncs.com",
      "LocalName" : "Indonesia (Jakarta)"
    }, {
      "RegionId" : "ap-northeast-1",
      "RegionEndpoint" : "actiontrail.ap-northeast-1.aliyuncs.com",
      "LocalName" : "Japan (Tokyo)"
    }, {
      "RegionId" : "ap-south-1",
      "RegionEndpoint" : "actiontrail.ap-south-1.aliyuncs.com",
      "LocalName" : "India (Mumbai)"
    }, {
      "RegionId" : "eu-central-1",
      "RegionEndpoint" : "actiontrail.eu-central-1.aliyuncs.com",
      "LocalName" : "Germany (Frankfurt)"
    }, {
      "RegionId" : "eu-west-1",
      "RegionEndpoint" : "actiontrail.eu-west-1.aliyuncs.com",
      "LocalName" : "UK (London)"
    }, {
      "RegionId" : "us-west-1",
      "RegionEndpoint" : "actiontrail.us-west-1.aliyuncs.com",
      "LocalName" : "US (Silicon Valley)"
    }, {
      "RegionId" : "us-east-1",
      "RegionEndpoint" : "actiontrail.us-east-1.aliyuncs.com",
      "LocalName" : "US (Virginia)"
    }, {
      "RegionId" : "me-east-1",
      "RegionEndpoint" : "actiontrail.me-east-1.aliyuncs.com",
      "LocalName" : "UAE (Dubai)"
    } ]
  }
}

Error codes

For a list of error codes, visit the API Error Center.