Queries the current status of an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DescribeGtmInstanceStatus |
get |
*GtmInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language. |
en |
| InstanceId |
string |
Yes |
The instance ID. |
gtm-cn-wwo3a3hbz** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Status |
string |
The status of the instance. Valid values:
|
ALLOW |
| StrategyNotAvailableNum |
integer |
The number of access policies for which the active address pool is unavailable. |
10 |
| RequestId |
string |
The unique request ID. |
389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA |
| SwitchToFailoverStrategyNum |
integer |
The number of access policies that are switched to the failover address pool. |
10 |
| StatusReason |
string |
A list of reasons for the instance status. Valid values:
|
["BETA_INSTANCE"] |
| AddrNotAvailableNum |
integer |
The number of unavailable addresses. |
10 |
| AddrPoolNotAvailableNum |
integer |
The number of unavailable address pools. |
10 |
Examples
Success response
JSON format
{
"Status": "ALLOW",
"StrategyNotAvailableNum": 10,
"RequestId": "389DFFA3-77A5-4A9E-BF3D-147C6F98A5BA",
"SwitchToFailoverStrategyNum": 10,
"StatusReason": "[\"BETA_INSTANCE\"]",
"AddrNotAvailableNum": 10,
"AddrPoolNotAvailableNum": 10
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.