DescribeResourceTypeAutoEnable
Queries the default traffic redirection for an asset type.
Operation description
This operation is used to obtain DNS resolution results for a domain name. Currently, only resolution results from Alibaba Cloud DNS are supported. The domain name that you want to query must use Alibaba Cloud DNS. Otherwise, the resolution results cannot be obtained.
QPS limit
The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a proper frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeResourceTypeAutoEnable |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
7447795A-39AB-52CB-8F92-128DF****** |
| ResourceTypeAutoEnable |
object |
Indicates whether traffic redirection is enabled by default. |
|
|
boolean |
是否默认开启引流。 |
{"eip":true,"SlbEIP":false} |
Examples
Success response
JSON format
{
"RequestId": "7447795A-39AB-52CB-8F92-128DF******",
"ResourceTypeAutoEnable": {
"key": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.