Adds or deletes container applications for tamper proofing.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RuleId | long | Yes | The ID of the rule. | 300566 |
ContainerWebDefenseApplicationDTOS | object [] | Yes | The container application that is protected from being tampered with. | |
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 | Specifies whether to apply the configuration to the asset. Valid values:
| add |
Id | long | No | The application ID. If the application is newly added, you do not need to specify this parameter. | 196 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "79B067A4-54EB-5560-B5C8-425ABEDC2784"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.