Adds or removes container applications for container tamper proofing.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:OperateApplication |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RuleId |
integer |
Yes |
The ID of the rule. |
300566 |
| ContainerWebDefenseApplicationDTOS |
array<object> |
Yes |
The container applications protected by tamper proofing. |
|
|
object |
No |
|||
| ClusterId |
string |
Yes |
The ID of the cluster to which the container belongs. Note
You can call the DescribeGroupedContainerInstances operation to query the cluster ID. |
ceb68cc58234141828677e383bd21ff0c |
| Tag |
string |
Yes |
The value of the application tag. |
app:app-003 |
| Flag |
string |
Yes |
Whether to apply the configuration to the asset. Valid values:
|
add |
| Id |
integer |
No |
The application ID. If the application is newly added, you do not need to specify this parameter. |
196 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
79B067A4-54EB-5560-B5C8-425ABEDC2784 |
Examples
Success response
JSON format
{
"RequestId": "79B067A4-54EB-5560-B5C8-425ABEDC2784"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.