GetBasicStatistics
Retrieves statistics for Backup Essential Edition.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hbr:GetBasicStatistics |
get |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceType |
string |
Yes |
The backup type. Valid values:
|
ECS_FILE |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
EB526A5D-1FE2-51C1-B790-1732C1DBA969 |
| Code |
string |
The return code. A value of 200 indicates success. |
200 |
| Message |
string |
The return message. successful is returned if the request is successful. If an error occurs, the corresponding error message is returned. |
successful |
| Success |
boolean |
Indicates whether the request is successful.
|
true |
| RegionStatistics |
array<object> |
The backup statistics for each region. |
|
|
object |
The backup statistics for each region. |
||
| RegionId |
string |
The region ID. |
cn-shenzhen |
| ProtectedDataSize |
integer |
The size of backed-up data. Unit: bytes.
|
42949672960 |
| ProtectedResourceCount |
integer |
The backup resource count.
|
5 |
| SourceType |
string |
The backup type. Valid values:
|
ECS_FILE |
| GlobalStatistics |
object |
The backup statistics across all regions. |
|
| ProtectedDataSize |
integer |
The size of backed-up data. Unit: bytes.
|
42949672960 |
| ProtectedResourceCount |
integer |
The backup resource count.
|
5 |
Examples
Success response
JSON format
{
"RequestId": "EB526A5D-1FE2-51C1-B790-1732C1DBA969",
"Code": "200",
"Message": "successful",
"Success": true,
"RegionStatistics": [
{
"RegionId": "cn-shenzhen",
"ProtectedDataSize": 42949672960,
"ProtectedResourceCount": 5
}
],
"SourceType": "ECS_FILE",
"GlobalStatistics": {
"ProtectedDataSize": 42949672960,
"ProtectedResourceCount": 5
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.