Queries the backup status of a sever to which an anti-ransomware policy is applied.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PolicyId | long | Yes | The ID of the anti-ransomware policy. Note
You can call the DescribeBackupPolicies operation to query the IDs of anti-ransomware policies.
| 123 |
Uuid | string | Yes | The UUID of the server. Note
You can call the DescribeBackupPolicy operation to query the UUIDs of servers.
| eb2c782e-64f2-4590-a86c-d90164df**** |
PolicyVersion | string | No | The version of the anti-ransomware policy. Valid values:
| 2.0.0 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "09969D2C-4FAD-429E-BFBF-9A60DEF8****",
"BackupMachineStatus": {
"Status": "ACTIVATED",
"Uuid": "eb2c782e-64f2-4590-a86c-d90164df****",
"VaultId": "v-0005i2qh5fcr6seo****",
"ErrorCode": "CLIENT_CONNECTION_ERROR",
"SavedBackupCount": 7,
"InstanceId": "i-2zeaqkb80vloxjcj****",
"ClientStatus": "ONLINE",
"RegionId": "cn-shenzhen",
"ClientVersion": "2.11.0",
"ClientId": "c-000dbefaw9f7gnbw****",
"ErrorList": [
{
"ErrorCode": "TARGET_NOT_EXIST",
"ErrorStatus": "FAILED"
}
],
"ServiceStatus": "RESTORING"
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-12-06 | The response structure of the API has changed | View Change Details |