All Products
Search
Document Center

Resource Management:DescribeRegions

Last Updated:Mar 03, 2024

Queries the 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.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The ID of the region.

cn-hangzhou
AcceptLanguagestringNo

The supported natural language. Valid values:

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

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

632BBAE2-9C44-4212-8B51-B54742DA9713
Regionsobject []

The information of the regions.

LocalNamestring

The name of the region.

China (Hangzhou)
RegionEndpointstring

The endpoint of the Tag service in the region.

tag.aliyuncs.com
RegionIdstring

The ID of the region.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "632BBAE2-9C44-4212-8B51-B54742DA9713",
  "Regions": {
    "Region": [
      {
        "LocalName": "China (Hangzhou)",
        "RegionEndpoint": "tag.aliyuncs.com",
        "RegionId": "cn-hangzhou"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
403InvalidParameter.AcceptLanguageThe specified value of parameter AcceptLanguage is not valid.The specified value of parameter "AcceptLanguage" is not valid.
403NoPermission.OperatorThe user is not authorized to operate on the specified resource.The user is not authorized to operate on the specified resource.

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