Queries the traffic redirection settings for a region and resource type.
Operation description
This operation retrieves DNS resolution results for a domain name. It supports only Alibaba Cloud DNS. To obtain resolution results, the domain name must use Alibaba Cloud DNS.
QPS limit
You can make up to 10 API calls per second. Exceeding this limit triggers throttling, which may affect your business. Call this operation at a reasonable rate.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response message. |
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The ID of the request. |
B2841452-CB8D-4F7D-B247-38E1CF7334F8 |
| RegionResourceAutoEnable |
object |
The automatic traffic redirection settings for asset types in the region. |
|
|
object |
The traffic redirection settings for an asset type. |
||
|
boolean |
The traffic redirection switch. |
RegionResourceAutoEnable: { "cn-shenzhen": { "SlbEIP": false, } |
Examples
Success response
JSON format
{
"RequestId": "B2841452-CB8D-4F7D-B247-38E1CF7334F8",
"RegionResourceAutoEnable": {
"key": {
"key": true
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. | This request uses the same client token as the previous request, but not the same. Do not reuse client tokens in different requests unless the request is the same. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.