Views the regions that support Anti-DDoS Origin Enterprise.

Note Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.

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 DescribeRegions

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

ResourceGroupId String No xx

The ID of the resource group.

Response parameters

Parameter Type Example Description 
Code String true

The response status code.

Regions Array

The list of supported regions where you can activate Anti-DDoS Origin Enterprise.

RegionEnName String shanghai

The English name of each region.

RegionId String cn-shanghai

The ID of each region.

RegionName String [DO NOT TRANSLATE]

The Chinese name of each region.

RequestId String C3D66E07-41BF-41B7-A4BF-83A9E08E1C09

The ID of the request.

Success Boolean true

Indicates whether the API operation is successfully called.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeRegions
& <Common request parameters>

Sample success responses

XML format

<DescribeRegionsResponse>
     <RequestId>C3D66E07-41BF-41B7-A4BF-83A9E08E1C09</RequestId>
     <Regions>
           <Region>
                 <RegionId>cn-shenzhen</RegionId>
           </Region>
           <Region>
                 <RegionId>cn-qingdao</RegionId>
           </Region>
           <Region>
                 <RegionId>cn-beijing</RegionId>
           </Region>
           <Region>
                 <RegionId>cn-shanghai</RegionId>
           </Region>
           <Region>
                 <RegionId>cn-hongkong</RegionId>
           </Region>
           <Region>
                 <RegionId>cn-huhehaote</RegionId>
           </Region>
           <Region>
                 <RegionId>cn-zhangjiakou</RegionId>
           </Region>
           <Region>
                 <RegionId>us-west-1</RegionId>
           </Region>
           <Region>
                 <RegionId>cn-hangzhou</RegionId>
           </Region>
     </Regions>
     <Success>true</Success>
     <Code>200</Code>
</DescribeRegionsResponse>

JSON format

{
	"RequestId":"9C48E43E-58A6-4A08-A858-4C9BB9631870",
	"Regions":[
		{
			" RegionId":"cn-shenzhen"
		},
		{
			"RegionId":"cn-qingdao"
		},
		{
			"RegionId":"cn-beijing"
		},
		{
			"RegionId":"cn-shanghai"
		},
		{
			"RegionId":"cn-hongkong"
		},
		{
			"RegionId":"cn-huhehaote"
		},
		{
			"RegionId":"cn-zhangjiakou"
		},
		{
			"RegionId":"us-west-1"
		},
		{
			"RegionId":"cn-hangzhou"
		}
	],
	"Success":true,
	"Code":"200"
}

Error codes

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