Queries the default traffic redirection settings for an asset type.
Operation description
You can call this operation to obtain the DNS resolution result for a domain name. You can obtain resolution results only for domain names that use Alibaba Cloud DNS.
QPS limits
The queries per second (QPS) limit for this operation is 10 for a single user. If you exceed this limit, API calls are throttled. This may affect your business. We recommend that you call this operation at a reasonable rate.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the message that you receive. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
7447795A-39AB-52CB-8F92-128DF****** |
| ResourceTypeAutoEnable |
object |
Indicates whether traffic redirection is enabled by default. |
|
|
boolean |
Indicates whether traffic redirection is enabled by default. |
{"eip",true} |
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.