DescribeCheckDetails
Queries the check results of data protection rules.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bdrc:DescribeCheckDetails |
list |
*All Resource
|
None | None |
Request syntax
GET /api/v1/check-details HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceArn |
string |
Yes |
The unique identifier of the resource. |
acs:ecs:123***890:cn-shanghai:instance/i-001***90 |
| RuleId |
string |
No |
The unique identifier of the data protection rule. This parameter is optional. If you do not specify this parameter, the results are not filtered by rule. |
rule-000***dav |
| NextToken |
string |
No |
The query token. The value is the NextToken parameter value returned by the previous API call. For more information about how to configure the returned data for this operation, see the operation description above. |
cae**********699 |
| MaxResults |
integer |
No |
The maximum number of entries to return on each page in a paged query. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
BaseResponse<ListResult |
||
| Data |
object |
The returned data. |
|
| Content |
array<object> |
The collection of records returned by the current request. |
|
|
object |
|||
| ResourceArn |
string |
The ARN of the resource, which is globally unique. |
acs:ecs:123***890:cn-shanghai:instance/i-001***90 |
| RuleId |
string |
The unique identifier of the rule. |
rule-xxxxxxxx |
| ProductType |
string |
The type of the cloud service. |
ecs |
| ResourceType |
string |
The type of the resource. |
ACS::ECS::Instance |
| ResourceId |
string |
The unique identifier of the resource. |
i-xxxxxxxx |
| ResourceName |
string |
The name of the resource. |
test server |
| RuleTemplate |
string |
The rule template. |
ecs-backup |
| CheckStatus |
string |
The check status. Valid values:
|
PASSED |
| CheckTime |
integer |
The check time, in the format of a UNIX timestamp in seconds. |
1701725715 |
| Detail |
string |
The check details. |
{"ecsAutoSnapshotPolicyIds":[],"hbrBackupPlans":[{"planId":"po-xxxxxxxx","sourceType":"UDM_ECS"}]} |
| ResourceOwnerId |
integer |
The ID of the resource owner. |
123***7890 |
| NextToken |
string |
The token that indicates the position from which the current call returns data. An empty value indicates that all data has been read. |
CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY= |
| MaxResults |
integer |
The maximum number of records returned by the current request. |
10 |
| TotalCount |
integer |
The total number of records that meet the request conditions. This parameter is optional and is not returned by default. |
100 |
| RequestId |
string |
The unique identifier of the request. |
92793A50-0B97-59F1-BAEA-EAED83BA1998 |
Examples
Success response
JSON format
{
"Data": {
"Content": [
{
"ResourceArn": "acs:ecs:123***890:cn-shanghai:instance/i-001***90\n",
"RuleId": "rule-xxxxxxxx",
"ProductType": "ecs",
"ResourceType": "ACS::ECS::Instance",
"ResourceId": "i-xxxxxxxx",
"ResourceName": "test server",
"RuleTemplate": "ecs-backup",
"CheckStatus": "PASSED",
"CheckTime": 1701725715,
"Detail": "{\"ecsAutoSnapshotPolicyIds\":[],\"hbrBackupPlans\":[{\"planId\":\"po-xxxxxxxx\",\"sourceType\":\"UDM_ECS\"}]}",
"ResourceOwnerId": 0
}
],
"NextToken": "CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAOTzWWYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3NTcwMzY2MjMwNzY2ODcyMzAzMTY2Nzg3ODY5MzY=",
"MaxResults": 10,
"TotalCount": 100
},
"RequestId": "92793A50-0B97-59F1-BAEA-EAED83BA1998"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.