Queries the anti-ransomware capacity that is used.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetBackupStorageCount |
The operation that you want to perform. Set the value to GetBackupStorageCount. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 33C2CCFF-4BF8-5F88-9B5C-22F932F80E5A |
The ID of the request, which is used to locate and troubleshoot issues. |
BackupStorageCount | Object |
The details about the anti-ransomware capacity. |
|
Overflow | Integer | 0 |
Indicates whether the anti-ransomware capacity that is used exceeds the anti-ransomware capacity that you purchased. Valid values:
|
UniUsageStorageByte | Long | 7453049350 |
The storage capacity that is occupied by the backup data of your databases. Unit: bytes. |
BuyStorageByte | Long | 2276332666880 |
The anti-ransomware capacity that you purchased. Unit: bytes. |
UsageStorageByte | Long | 839621565853 |
The total anti-ransomware capacity that is used. Unit: bytes. |
EcsUsageStorageByte | Long | 817262417803 |
The storage capacity that is occupied by the backup data of your servers. Unit: bytes. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=GetBackupStorageCount
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<GetBackupStorageCountResponse>
<RequestId>33C2CCFF-4BF8-5F88-9B5C-22F932F80E5A</RequestId>
<BackupStorageCount>
<Overflow>0</Overflow>
<UniUsageStorageByte>7453049350</UniUsageStorageByte>
<BuyStorageByte>2276332666880</BuyStorageByte>
<UsageStorageByte>839621565853</UsageStorageByte>
<EcsUsageStorageByte>817262417803</EcsUsageStorageByte>
</BackupStorageCount>
</GetBackupStorageCountResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "33C2CCFF-4BF8-5F88-9B5C-22F932F80E5A",
"BackupStorageCount" : {
"Overflow" : 0,
"UniUsageStorageByte" : 7453049350,
"BuyStorageByte" : 2276332666880,
"UsageStorageByte" : 839621565853,
"EcsUsageStorageByte" : 817262417803
}
}
Error codes
For a list of error codes, visit the API Error Center.