Checks data protection scoring rules. Calling this operation triggers an asynchronous task to check whether your resources meet the data protection scoring requirements.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bdrc:CheckRules |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/rules/check 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 ID of the rule to update. If you do not specify this parameter, all rules are updated. |
rule-000***dav |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
BaseResponse |
||
| Data |
object |
The returned data. |
|
| TaskId |
string |
The unique ID of the asynchronous task. |
t-0000e4w0u1v592zdf6s7 |
| RequestId |
string |
The unique ID of the request. |
700683DE-0154-56D4-8D76-3B7A2C2C7DF9 |
Examples
Success response
JSON format
{
"Data": {
"TaskId": "t-0000e4w0u1v592zdf6s7"
},
"RequestId": "700683DE-0154-56D4-8D76-3B7A2C2C7DF9"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.