Queries domain names for which forwarding rules are created.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-ddoscoo:DescribeDomains |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
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. |
rg-acfm2pz25js**** |
| InstanceIds |
array |
No |
The ID of the instance that you want to query. Note
You can call the DescribeInstanceIds operation to query the IDs of all instances. |
ddoscoo-cn-mp91j1ao**** |
|
string |
No |
The ID of the instance. |
ddoscoo-cn-mp91j1ao**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
F908E959-ADA8-4D7B-8A05-FF2F67F50964 |
| Domains |
array |
An array consisting of details of the domain name for which the forwarding rules are configured. |
|
|
string |
The domain name for which forwarding rules are configured. |
www.aliyun***.com |
Examples
Success response
JSON format
{
"RequestId": "F908E959-ADA8-4D7B-8A05-FF2F67F50964",
"Domains": [
"www.aliyun***.com"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.