Performs instance-level verification for a check item.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:VerifyCheckInstanceResult |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CheckId |
integer |
No |
The ID of the check item. Note
You can call the ListCheckResult operation to obtain the check item ID. |
16 |
| InstanceIds |
array |
No |
The list of instance IDs of the affected assets for the check item. Note: This parameter is actually required. If it is not provided, the API returns a 400 error (Code: -101). |
|
|
string |
No |
The instance ID of the affected asset for the check item. |
i-2ze3a5ws0mjvqwqr**** |
|
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. The token is generated by the client and cannot exceed 64 characters in length. |
123e4567-e89b-12d3-a456-42665544**** |
| TaskSource |
string |
No |
The task source. Valid values:
|
YAO_CHI |
| CheckIds |
array |
No |
The list of check item IDs. |
|
|
integer |
No |
The check item ID. |
11 |
|
|
No |
Specifies whether to perform only a dry run of the request. Valid values: true: checks the request without performing the actual operation. false: performs the actual operation after the request passes the check. Default value: false. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Data |
object |
The returned data. |
|
| FailInstances |
array |
The list of instances that failed the check. |
|
|
string |
The instance that failed the check. |
i-2ze3a5ws0mjvqwqr**** |
|
| OperateCode |
string |
The operation code of the cloud service configuration check task. Valid values:
|
ActionTrialUnauthorized |
| TaskId |
string |
The task ID. |
a410bb3-e68c217a-3368bc0-238c668*** |
| RequestId |
string |
The request ID. Alibaba Cloud generates a unique identifier for each request. You can use the request ID to troubleshoot issues. |
B869E3A0-1147-539D-9920-47580700**** |
Examples
Success response
JSON format
{
"Data": {
"FailInstances": [
"i-2ze3a5ws0mjvqwqr****"
],
"OperateCode": "ActionTrialUnauthorized",
"TaskId": "a410bb3-e68c217a-3368bc0-238c668***"
},
"RequestId": "B869E3A0-1147-539D-9920-47580700****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPurchase | The user did not purchase this product. | User has not purchased this product |
| 400 | UnbindInstance | Instance is not bindScope to any scope config. | Instance not bound |
| 400 | IdempotentParameterMismatch | 相同的 ClientToken 被用于不同的请求参数。 | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
| 409 | IdempotentRequestInProgress | 使用相同 ClientToken 的请求正在处理中。 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.