调用DescribeRegions查询支持标签的地域信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeRegions

要执行的操作。取值:DescribeRegions。

RegionId String cn-hangzhou

地域ID。

AcceptLanguage String zh-CN

支持的语言。取值:

  • zh-CN(默认值):中文
  • en-US:英文
  • ja:日文

关于公共请求参数的详情,请参见公共参数

返回数据

名称 类型 示例值 描述
Regions Array of Region

地域信息。

Region
LocalName String 华东1(杭州)

地域名称。

RegionEndpoint String tag.aliyuncs.com

地域的接入地址。

RegionId String cn-hangzhou

地域ID。

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

请求ID。

示例

请求示例

https://tag.aliyuncs.com/?Action=DescribeRegions
&<公共请求参数>

正常返回示例

XML 格式

<DescribeRegionsResponse>
	  <RequestId>A83C07AF-9A65-445B-A6CD-C7A1FC94FF0D</RequestId>
	  <Regions>
		    <Region>
			      <RegionId>cn-hangzhou</RegionId>
			      <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
			      <LocalName>华东1(杭州)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-shanghai</RegionId>
			      <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
			      <LocalName>华东2(上海)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-qingdao</RegionId>
			      <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
			      <LocalName>华北1(青岛)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-beijing</RegionId>
			      <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
			      <LocalName>华北2(北京)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-zhangjiakou</RegionId>
			      <RegionEndpoint>tag.cn-zhangjiakou.aliyuncs.com</RegionEndpoint>
			      <LocalName>华北3(张家口)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-huhehaote</RegionId>
			      <RegionEndpoint>tag.cn-huhehaote.aliyuncs.com</RegionEndpoint>
			      <LocalName>华北5(呼和浩特)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-wulanchabu</RegionId>
			      <RegionEndpoint>tag.cn-wulanchabu.aliyuncs.com</RegionEndpoint>
			      <LocalName>华北6(乌兰察布)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-shenzhen</RegionId>
			      <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
			      <LocalName>华南1(深圳)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-heyuan</RegionId>
			      <RegionEndpoint>tag.cn-heyuan.aliyuncs.com</RegionEndpoint>
			      <LocalName>华南2(河源)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-guangzhou</RegionId>
			      <RegionEndpoint>tag.cn-guangzhou.aliyuncs.com</RegionEndpoint>
			      <LocalName>华南3(广州)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-chengdu</RegionId>
			      <RegionEndpoint>tag.cn-chengdu.aliyuncs.com</RegionEndpoint>
			      <LocalName>西南1(成都)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>cn-hongkong</RegionId>
			      <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
			      <LocalName>中国(香港)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>ap-southeast-1</RegionId>
			      <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
			      <LocalName>新加坡</LocalName>
		    </Region>
		    <Region>
			      <RegionId>ap-southeast-2</RegionId>
			      <RegionEndpoint>tag.ap-southeast-2.aliyuncs.com</RegionEndpoint>
			      <LocalName>澳大利亚(悉尼)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>ap-southeast-3</RegionId>
			      <RegionEndpoint>tag.ap-southeast-3.aliyuncs.com</RegionEndpoint>
			      <LocalName>马来西亚(吉隆坡)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>ap-southeast-5</RegionId>
			      <RegionEndpoint>tag.ap-southeast-5.aliyuncs.com</RegionEndpoint>
			      <LocalName>印度尼西亚(雅加达)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>ap-northeast-1</RegionId>
			      <RegionEndpoint>tag.ap-northeast-1.aliyuncs.com</RegionEndpoint>
			      <LocalName>日本(东京)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>ap-south-1</RegionId>
			      <RegionEndpoint>tag.ap-south-1.aliyuncs.com</RegionEndpoint>
			      <LocalName>印度(孟买)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>eu-central-1</RegionId>
			      <RegionEndpoint>tag.eu-central-1.aliyuncs.com</RegionEndpoint>
			      <LocalName>德国(法兰克福)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>eu-west-1</RegionId>
			      <RegionEndpoint>tag.eu-west-1.aliyuncs.com</RegionEndpoint>
			      <LocalName>英国(伦敦)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>us-west-1</RegionId>
			      <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
			      <LocalName>美国(硅谷)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>us-east-1</RegionId>
			      <RegionEndpoint>tag.aliyuncs.com</RegionEndpoint>
			      <LocalName>美国(弗吉尼亚)</LocalName>
		    </Region>
		    <Region>
			      <RegionId>me-east-1</RegionId>
			      <RegionEndpoint>tag.me-east-1.aliyuncs.com</RegionEndpoint>
			      <LocalName>阿联酋(迪拜)</LocalName>
		    </Region>
	  </Regions>	
</DescribeRegionsResponse>

JSON 格式

{
	"RequestId": "A83C07AF-9A65-445B-A6CD-C7A1FC94FF0D",
	"Regions": {
		"Region": [
			{
				"RegionId": "cn-hangzhou",
				"RegionEndpoint": "tag.aliyuncs.com",
				"LocalName": "华东1(杭州)"
			},
			{
				"RegionId": "cn-shanghai",
				"RegionEndpoint": "tag.aliyuncs.com",
				"LocalName": "华东2(上海)"
			},
			{
				"RegionId": "cn-qingdao",
				"RegionEndpoint": "tag.aliyuncs.com",
				"LocalName": "华北1(青岛)"
			},
			{
				"RegionId": "cn-beijing",
				"RegionEndpoint": "tag.aliyuncs.com",
				"LocalName": "华北2(北京)"
			},
			{
				"RegionId": "cn-zhangjiakou",
				"RegionEndpoint": "tag.cn-zhangjiakou.aliyuncs.com",
				"LocalName": "华北3(张家口)"
			},
			{
				"RegionId": "cn-huhehaote",
				"RegionEndpoint": "tag.cn-huhehaote.aliyuncs.com",
				"LocalName": "华北5(呼和浩特)"
			},
			{
				"RegionId": "cn-wulanchabu",
				"RegionEndpoint": "tag.cn-wulanchabu.aliyuncs.com",
				"LocalName": "华北6(乌兰察布)"
			},
			{
				"RegionId": "cn-shenzhen",
				"RegionEndpoint": "tag.aliyuncs.com",
				"LocalName": "华南1(深圳)"
			},
			{
				"RegionId": "cn-heyuan",
				"RegionEndpoint": "tag.cn-heyuan.aliyuncs.com",
				"LocalName": "华南2(河源)"
			},
			{
				"RegionId": "cn-guangzhou",
				"RegionEndpoint": "tag.cn-guangzhou.aliyuncs.com",
				"LocalName": "华南3(广州)"
			},
			{
				"RegionId": "cn-chengdu",
				"RegionEndpoint": "tag.cn-chengdu.aliyuncs.com",
				"LocalName": "西南1(成都)"
			},
			{
				"RegionId": "cn-hongkong",
				"RegionEndpoint": "tag.aliyuncs.com",
				"LocalName": "中国(香港)"
			},
			{
				"RegionId": "ap-southeast-1",
				"RegionEndpoint": "tag.aliyuncs.com",
				"LocalName": "新加坡"
			},
			{
				"RegionId": "ap-southeast-2",
				"RegionEndpoint": "tag.ap-southeast-2.aliyuncs.com",
				"LocalName": "澳大利亚(悉尼)"
			},
			{
				"RegionId": "ap-southeast-3",
				"RegionEndpoint": "tag.ap-southeast-3.aliyuncs.com",
				"LocalName": "马来西亚(吉隆坡)"
			},
			{
				"RegionId": "ap-southeast-5",
				"RegionEndpoint": "tag.ap-southeast-5.aliyuncs.com",
				"LocalName": "印度尼西亚(雅加达)"
			},
			{
				"RegionId": "ap-northeast-1",
				"RegionEndpoint": "tag.ap-northeast-1.aliyuncs.com",
				"LocalName": "日本(东京)"
			},
			{
				"RegionId": "ap-south-1",
				"RegionEndpoint": "tag.ap-south-1.aliyuncs.com",
				"LocalName": "印度(孟买)"
			},
			{
				"RegionId": "eu-central-1",
				"RegionEndpoint": "tag.eu-central-1.aliyuncs.com",
				"LocalName": "德国(法兰克福)"
			},
			{
				"RegionId": "eu-west-1",
				"RegionEndpoint": "tag.eu-west-1.aliyuncs.com",
				"LocalName": "英国(伦敦)"
			},
			{
				"RegionId": "us-west-1",
				"RegionEndpoint": "tag.aliyuncs.com",
				"LocalName": "美国(硅谷)"
			},
			{
				"RegionId": "us-east-1",
				"RegionEndpoint": "tag.aliyuncs.com",
				"LocalName": "美国(弗吉尼亚)"
			},
			{
				"RegionId": "me-east-1",
				"RegionEndpoint": "tag.me-east-1.aliyuncs.com",
				"LocalName": "阿联酋(迪拜)"
			}
		]
	}
}

错误码

HttpCode 错误码 错误信息 描述
403 InvalidParameter.AcceptLanguage The specified value of parameter AcceptLanguage is not valid. AcceptLanguage参数非法。

访问错误中心查看更多错误码。