Queries domain names for which forwarding rules are created.


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 DescribeDomains

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

RegionId String No cn-hangzhou

The region ID of the instance. Valid values:

  • cn-hangzhou: mainland China, which indicates an Anti-DDoS Pro instance
  • ap-southeast-1: outside mainland China, which indicates an Anti-DDoS Premium instance
ResourceGroupId String No default

The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.

InstanceIds.N RepeatList No ddoscoo-cn-mp91j1ao****

The ID of instance N.

Note You can call the DescribeInstanceIds operation to query the IDs of all instances.

Response parameters

Parameter Type Example Description
Domains List ["www.aliyun.com"]

The domain names.

RequestId String F908E959-ADA8-4D7B-8A05-FF2F67F50964

The ID of the request.


Sample requests

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

Sample success responses

XML format


JSON format

    "Domains": [
    "RequestId": "F908E959-ADA8-4D7B-8A05-FF2F67F50964"

Error codes

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