Sets the risk status of image builds.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:SetImageBuildRiskStatus |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RiskKey |
string |
No |
The risk keyword. |
risk.type |
| ImageUuids |
string |
No |
The image UUIDs. Separate multiple UUIDs with commas (,). Note
Call the DescribeImageInstances operation to obtain this parameter. |
f382fccd88b94c5c8c864def681*****,ac32fccd88b94c5c8c864def681***** |
| Status |
integer |
No |
The status. Valid values:
|
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResult |
||
| Data |
object |
The returned data. |
|
| Id |
integer |
The rule ID. |
273698*** |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
| Code |
string |
The result code. A value of 200 indicates success. Any other value indicates failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The detailed information about the error code. |
successful |
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
52870893-48A7-5A9E-9E05-6253E5B6**** |
Examples
Success response
JSON format
{
"Data": {
"Id": 0
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "52870893-48A7-5A9E-9E05-6253E5B6****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.