Queries the domain name resolution results of an access control policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeControlPolicyDomainResolve |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language type. Valid values:
Valid values:
|
zh |
| RegionNo |
string |
No |
The region ID. |
cn-beijing |
| Domain |
string |
No |
The domain name. |
example.com |
| IpVersion |
integer |
No |
The supported IP address version. Valid values:
|
4 |
| FirewallType |
string |
No |
The Cloud Firewall type. Valid values:
|
internet |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ResolveResult |
array<object> |
The domain name resolution results. |
|
|
object |
The domain name resolution results. |
||
| Domain |
string |
The domain name. |
example.com |
| UpdateTime |
integer |
The update time. The value is a UNIX timestamp in seconds, which represents the number of seconds that have elapsed since January 1, 1970 (UTC). |
1579091739 |
| IpVersion |
integer |
The supported IP address version. Valid values:
|
4 |
| IpAddrList |
array |
The IP address list. |
|
|
string |
The IP address. |
[ "10.10.10.1" ] |
|
| RequestId |
string |
The request ID. |
F0F82705-CFC7-5F83-86C8-A063892F**** |
Examples
Success response
JSON format
{
"ResolveResult": [
{
"Domain": "example.com",
"UpdateTime": 1579091739,
"IpVersion": 4,
"IpAddrList": [
"[\n \"10.10.10.1\"\n]"
]
}
],
"RequestId": "F0F82705-CFC7-5F83-86C8-A063892F****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.