Queries the regions where E-HPC can be used.

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 ListRegions

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

Response parameters

Parameter Type Example Description
Regions Array of RegionInfo

The array of regions.

RegionInfo
LocalName String China (Hangzhou)

The region name.

RegionId String cn-hangzhou

The ID of the region.

RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=ListRegions
&<Common request parameters>

Sample success responses

XML format

<ListRegionsResponse>
      <Regions>
            <RegionInfo>
                  <RegionId>cn-hangzhou</RegionId>
                  <LocalName>China (Hangzhou)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>cn-beijing</RegionId>
                  <LocalName>China (Beijing)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>cn-shanghai</RegionId>
                  <LocalName> China (Shanghai)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>cn-shenzhen</RegionId>
                  <LocalName>China (Shenzhen)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>cn-qingdao</RegionId>
                  <LocalName>China (Qingdao)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>cn-zhangjiakou</RegionId>
                  <LocalName> China (Zhangjiakou)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>cn-huhehaote</RegionId>
                  <LocalName> China (Hohhot)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>ap-southeast-1</RegionId>
                  <LocalName>Singapore (Singapore)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>cn-hongkong</RegionId>
                  <LocalName> China (Hong Kong)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>eu-central-1</RegionId>
                  <LocalName>Germany (Frankfurt)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>ap-southeast-2</RegionId>
                  <LocalName>Australia (Sydney)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>ap-northeast-1</RegionId>
                  <LocalName>Japan (Tokyo)</LocalName>
            </RegionInfo>
            <RegionInfo>
                  <RegionId>cn-wulanchabu</RegionId>
                  <LocalName>China (Ulanqab)</LocalName>
            </RegionInfo>
      </Regions>
</ListRegionsResponse>

JSON format

{
	"Regions": {
		"RegionInfo": [
			{
				"RegionId": "cn-hangzhou",
				"LocalName": "China (Hangzhou)"
			},
			{
				"RegionId": "cn-beijing",
				"LocalName": "China (Beijing)"
			},
			{
				"RegionId": "cn-shanghai",
				"LocalName": "China (Shanghai)"
			},
			{
				"RegionId": "cn-shenzhen",
				"LocalName": "China (Shenzhen)"
			},
			{
				"RegionId": "cn-qingdao",
				"LocalName": "China (Qingdao)"
			},
			{
				"RegionId": "cn-zhangjiakou",
				"LocalName": "China (Zhangjiakou)"
			},
			{
				"RegionId": "cn-huhehaote",
				"LocalName": "China (Hohhot)"
			},
			{
				"RegionId": "ap-southeast-1",
				"localName": "Singapore (Singapore)",
			},
			{
				"RegionId": "cn-hongkong",
				"LocalName": "China (Hong Kong)"
			},
			{
				"RegionId": "eu-central-1",
				"LocalName": "Germany (Frankfurt)"
			},
			{
				"RegionId": "ap-southeast-2",
				"localName": "Australia (Sydney)",
			},
			{
				"RegionId": "ap-northeast-1",
				"localName": "Japan (Tokyo)",
			},
			{
				"RegionId": "cn-wulanchabu",
				"LocalName": "China (Ulanqab)"
			}
		]
	}
}

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The server is temporarily unavailable.

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