Queries domain names for which forwarding rules are configured.


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: the Chinese mainland, which indicates an Anti-DDoS Pro instance. This is the default value.
  • ap-southeast-1: outside the Chinese mainland, which indicates an Anti-DDoS Premium instance.
ResourceGroupId String No rg-acfm2pz25js****

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.

For more information about resource groups, see Create a 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.

All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

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

The list of domain names for which the forwarding rules are configured.

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

The ID of the request.


Sample requests

&<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.