Describes the status of an instance based on its ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeDnsGtmInstanceStatus |
get |
*gtmInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Default value: en. Valid values: en, zh, and ja. |
en |
| InstanceId |
string |
Yes |
The ID of the instance. For more information, see DescribeDnsGtmInstances. |
gtm-cn-wwo3a3hbz** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| StrategyNotAvailableNum |
integer |
The number of unavailable access policies for the active address pool group. |
1 |
| AddrAvailableNum |
integer |
The number of healthy addresses. |
1 |
| RequestId |
string |
The unique ID of the request. |
389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA |
| SwitchToFailoverStrategyNum |
integer |
The number of access policies that are switched to the failover address pool group. |
1 |
| AddrNotAvailableNum |
integer |
The number of unhealthy addresses. |
1 |
| AddrPoolGroupNotAvailableNum |
integer |
The number of unavailable address pool groups. |
1 |
Examples
Success response
JSON format
{
"StrategyNotAvailableNum": 1,
"AddrAvailableNum": 1,
"RequestId": "389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA",
"SwitchToFailoverStrategyNum": 1,
"AddrNotAvailableNum": 1,
"AddrPoolGroupNotAvailableNum": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.