Queries regions where the Tag service is available.

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 No DescribeRegions

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

RegionId String Yes cn-hangzhou

The region ID.

AcceptLanguage String No zh-CN

The supported natural language. Valid values:

  • zh-CN: Chinese (default value)
  • en-US: English
  • ja: Japanese

For more information about common parameters, see Common parameters.

Response parameters

Parameter Type Example Description
Regions Array of Region

The information of the regions.

Region
LocalName String China (Hangzhou)

The region name.

RegionEndpoint String tag.aliyuncs.com

The region endpoint.

RegionId String cn-hangzhou

The region ID.

RequestId String 632BBAE2-9C44-4212-8B51-B54742DA9713

The ID of the request.

Examples

Sample requests

https://tag.aliyuncs.com/?Action=DescribeRegions
&<Common request parameters>

Sample success responses

XML format

<DescribeRegionsResponse>
      <RequestId>A83C07AF-9A65-445B-A6CD-C7A1FC94FF0D</RequestId>
      <Regions>
            <Region>
                  <RegionId>cn-hangzhou</RegionId>
                  <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Hangzhou)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-shanghai</RegionId>
                  <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Shanghai)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-qingdao</RegionId>
                  <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Qingdao)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-beijing</RegionId>
                  <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Beijing)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-zhangjiakou</RegionId>
                  <RegionEndpoint>tag.cn-zhangjiakou.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Zhangjiakou)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-huhehaote</RegionId>
                  <RegionEndpoint>tag.cn-huhehaote.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Hohhot)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-wulanchabu</RegionId>
                  <RegionEndpoint>tag.cn-wulanchabu.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Ulanqab)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-shenzhen</RegionId>
                  <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Shenzhen)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-heyuan</RegionId>
                  <RegionEndpoint>tag.cn-heyuan.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Heyuan)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-guangzhou</RegionId>
                  <RegionEndpoint>tag.cn-guangzhou.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Guangzhou)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-chengdu</RegionId>
                  <RegionEndpoint>tag.cn-chengdu.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Chengdu)</LocalName>
            </Region>
            <Region>
                  <RegionId>cn-hongkong</RegionId>
                  <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
                  <LocalName>China (Hong Kong)</LocalName>
            </Region>
            <Region>
                  <RegionId>ap-southeast-1</RegionId>
                  <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
                  <LocalName>Singapore (Singapore)</LocalName>
            </Region>
            <Region>
                  <RegionId>ap-southeast-2</RegionId>
                  <RegionEndpoint>tag.ap-southeast-2.aliyuncs.com</RegionEndpoint>
                  <LocalName>Australia (Sydney)</LocalName>
            </Region>
            <Region>
                  <RegionId>ap-southeast-3</RegionId>
                  <RegionEndpoint>tag.ap-southeast-3.aliyuncs.com</RegionEndpoint>
                  <LocalName>Malaysia (Kuala Lumpur)</LocalName>
            </Region>
            <Region>
                  <RegionId>ap-southeast-5</RegionId>
                  <RegionEndpoint>tag.ap-southeast-5.aliyuncs.com</RegionEndpoint>
                  <LocalName>Indonesia (Jakarta)</LocalName>
            </Region>
            <Region>
                  <RegionId>ap-northeast-1</RegionId>
                  <RegionEndpoint>tag.ap-northeast-1.aliyuncs.com</RegionEndpoint>
                  <LocalName>Japan (Tokyo)</LocalName>
            </Region>
            <Region>
                  <RegionId>ap-south-1</RegionId>
                  <RegionEndpoint>tag.ap-south-1.aliyuncs.com</RegionEndpoint>
                  <LocalName>India (Mumbai)</LocalName>
            </Region>
            <Region>
                  <RegionId>eu-central-1</RegionId>
                  <RegionEndpoint>tag.eu-central-1.aliyuncs.com</RegionEndpoint>
                  <LocalName>Germany (Frankfurt)</LocalName>
            </Region>
            <Region>
                  <RegionId>eu-west-1</RegionId>
                  <RegionEndpoint>tag.eu-west-1.aliyuncs.com</RegionEndpoint>
                  <LocalName>UK (London)</LocalName>
            </Region>
            <Region>
                  <RegionId>us-west-1</RegionId>
                  <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
                  <LocalName>US (Silicon Valley)</LocalName>
            </Region>
            <Region>
                  <RegionId>us-east-1</RegionId>
                  <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
                  <LocalName>US (Virginia)</LocalName>
            </Region>
            <Region>
                  <RegionId>me-east-1</RegionId>
                  <RegionEndpoint>tag.me-east-1.aliyuncs.com</RegionEndpoint>
                  <LocalName>UAE (Dubai)</LocalName>
            </Region>
      </Regions>    
</DescribeRegionsResponse>

JSON format

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

Error codes

HTTP status code Error code Error message Description
403 InvalidParameter.AcceptLanguage The specified value of parameter AcceptLanguage is not valid. The error message returned because the value of the AcceptLanguage parameter is invalid.

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