rms__ListPolicyStatesByResourceId
Retrieve all compliance evaluation results for a specified Huawei Cloud resource ID, with optional filtering by compliance state and pagination for large result sets.
Instructions
[RMS] 根据资源ID查询所有合规结果
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain_id": "<domain_id>",
"resource_id": "<resource_id>"
},
"name": "rms__ListPolicyStatesByResourceId"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 最大的返回数量 | |
| marker | No | 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页 | |
| domain_id | Yes | 帐号ID | |
| resource_id | Yes | 资源ID | |
| compliance_state | No | 合规状态 |