All Products
Search
Document Center

ActionTrail:DescribeRegions

Last Updated:Mar 07, 2023

Queries the Alibaba Cloud regions that are supported by ActionTrail.

Operation Description

For more information, see Regions and zones.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

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

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

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

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

ACA7C814-12BC-4D81-A0D2-72071C9D6D2C
Regionsarray

The regions returned.

object
RegionIdstring

The ID of the region.

cn-hangzhou
RegionEndpointstring

The endpoint of ActionTrail in the region.

actiontrail.cn-hangzhou.aliyuncs.com
LocalNamestring

The name of the region.

NoteIf 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.
China (Hangzhou)

Examples

Sample success responses

JSONformat

{
  "RequestId": "ACA7C814-12BC-4D81-A0D2-72071C9D6D2C",
  "Regions": {
    "Region": [
      {
        "RegionId": "cn-hangzhou",
        "RegionEndpoint": "actiontrail.cn-hangzhou.aliyuncs.com",
        "LocalName": "China (Hangzhou)"
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.