Queries the status of a specified Anti-DDoS Pro or Anti-DDoS Premium instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-ddoscoo:DescribeInstanceStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance that you want to query. Note
You can call the DescribeInstanceIds operation to query the IDs of all Anti-DDoS Proxy (Chinese Mainland) or Anti-DDoS Proxy (Outside Chinese Mainland) instances. |
ddoscoo-cn-6ja1y6p5**** |
| ProductType |
integer |
Yes |
The type of the Anti-DDoS Pro or Anti-DDoS Premium instance that you want to query. Valid values:
|
1 |
When you call this operation, you must specify the request parameters described in this topic and the common request parameters. For more information about common request parameters, see Common parameters.
For more information about the request format, see the request example in the Examples section of this topic.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| InstanceStatus |
integer |
The status of the Anti-DDoS Pro or Anti-DDoS Premium instance. Valid values:
|
1 |
| RequestId |
string |
The ID of the request. |
112777CC-2AD6-46FC-A263-00B931406FCD |
| InstanceId |
string |
The ID of the Anti-DDoS Pro or Anti-DDoS Premium instance. |
ddoscoo-cn-6ja1y6p5**** |
Examples
Success response
JSON format
{
"InstanceStatus": 1,
"RequestId": "112777CC-2AD6-46FC-A263-00B931406FCD",
"InstanceId": "ddoscoo-cn-6ja1y6p5****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.