Queries the total and remaining quotas that you can deactivate the black hole.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeUnBlackholeCount |
The operation that you want to perform. Set the value to DescribeUnBlackholeCount. |
RegionId | String | No | cn-hangzhou |
The region ID of the instance. Valid values:
|
ResourceGroupId | String | No | default |
The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RemainCount | Integer | 5 |
The remaining quota that you can deactivate the black hole. |
RequestId | String | 232929FA-40B6-4C53-9476-EE335ABA44CD |
The ID of the request. |
TotalCount | Integer | 5 |
The total quota that you can deactivate the black hole. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeUnBlackholeCount
&<Common request parameters>
Sample success responses
XML
format
<DescribeUnBlackholeCountResponse>
<TotalCount>5</TotalCount>
<RequestId>232929FA-40B6-4C53-9476-EE335ABA44CD</RequestId>
<RemainCount>5</RemainCount>
</DescribeUnBlackholeCountResponse>
JSON
format
{
"TotalCount": 5,
"RequestId": "232929FA-40B6-4C53-9476-EE335ABA44CD",
"RemainCount": 5
}
Error codes
For a list of error codes, visit the API Error Center.