Queries the details of an anti-ransomware backup policy for databases.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeUniBackupPolicyDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolicyId |
string |
Yes |
The ID of the anti-ransomware backup policy for databases. Note
Call the DescribeUniBackupPolicies operation to obtain this parameter. If DescribeUniBackupPolicies returns an empty list, activate the anti-ransomware feature of Security Center first, make sure that the Security Center agent is installed on the ECS instance and the database has been discovered, and then call CreateUniBackupPolicy to create a backup policy. |
123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
F35F45B0-5D6B-4238-BE02-A62D0760**** |
| UniBackupPolicyDTO |
object |
The details of the anti-ransomware backup policy for databases. |
|
| PolicyStatus |
string |
The status of the anti-ransomware backup policy for databases. Valid values:
|
opening |
| DatabaseType |
string |
The database type. Valid values:
|
ORACLE |
| InstanceName |
string |
The name of the server instance. |
sql-test-01 |
| Retention |
integer |
The number of days for which backup snapshots are retained. |
7 |
| SpeedLimiter |
integer |
The network bandwidth throttling for backup. Unit: bytes. |
5242880 |
| PolicyName |
string |
The name of the anti-ransomware backup policy for databases. |
auto_test_sql |
| InstanceId |
string |
The ID of the server instance. |
i-2zefcy2id5d60m9t**** |
| PolicyId |
integer |
The ID of the anti-ransomware backup policy for databases. |
123 |
| AgentStatus |
string |
The status of the database client agent. Valid values:
|
INSTALLED |
| AccountName |
string |
The database account name. |
admin |
| FullPlan |
object |
The details of the full backup policy. |
|
| StartTime |
string |
The start time of the full backup. Format: hh:mm:ss. |
00:10:00 |
| PlanType |
string |
The unit of the interval cycle. Valid values:
|
daily |
| Interval |
integer |
The interval cycle. |
2 |
| Days |
array |
The days of the week on which the backup is performed. |
|
|
string |
The day of the week on which the backup is performed. Valid values:
|
0 |
|
| IncPlan |
object |
The incremental backup policy. |
|
| StartTime |
string |
The start time of the incremental backup. Format: hh:mm:ss. |
00:10:00 |
| PlanType |
string |
The unit of the interval cycle. Valid values:
|
daily |
| Interval |
integer |
The interval cycle. |
2 |
| Days |
array |
The days of the week on which the backup is performed. |
|
|
string |
The day of the week on which the backup is performed. Valid values:
|
0 |
Examples
Success response
JSON format
{
"RequestId": "F35F45B0-5D6B-4238-BE02-A62D0760****",
"UniBackupPolicyDTO": {
"PolicyStatus": "opening",
"DatabaseType": "ORACLE",
"InstanceName": "sql-test-01",
"Retention": 7,
"SpeedLimiter": 5242880,
"PolicyName": "auto_test_sql",
"InstanceId": "i-2zefcy2id5d60m9t****",
"PolicyId": 123,
"AgentStatus": "INSTALLED",
"AccountName": "admin",
"FullPlan": {
"StartTime": "00:10:00",
"PlanType": "daily",
"Interval": 2,
"Days": [
"0"
]
},
"IncPlan": {
"StartTime": "00:10:00",
"PlanType": "daily",
"Interval": 2,
"Days": [
"0"
]
}
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.