CheckRules
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
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
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.1Request 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 elements
Parameter | Type | Description | Example |
object | |||
| 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 for a complete list.
Release notes
See 变更详情 for a complete list.