Modifies the information about a network object of the container firewall feature.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TargetId | long | Yes | The ID of the network object. Note
You can call the ListInterceptionTargetPage operation to obtain the value of this parameter.
| 400913 |
TargetName | string | Yes | The name. | test001 |
TargetType | string | Yes | The object type. Valid values:
| IMAGE |
Namespace | string | Yes | The namespace. Note
You can call the DescribeContainerTags operation to obtain the value of this parameter.
| demo4 |
AppName | string | No | The name of the application. Note
You can call the DescribeContainerTags operation to obtain the value of this parameter.
| yasintt-daemonst |
ImageList | array | No | An array that consists of images. Note
You can call the DescribeContainerTags operation to obtain the value of this parameter.
| |
string | No | The image. Note
You can call the DescribeContainerTags operation to obtain the value of this parameter.
| arms-prom-operator:v0.1 | |
TagList | array | No | An array that consists of tags. Note
You can call the DescribeContainerTags operation to obtain the value of this parameter.
| |
string | No | The tag. Note
You can call the DescribeContainerTags operation to obtain the value of this parameter.
| app.kubernetes.io/component:query |
Response parameters
Examples
Sample success responses
JSON
format
{
"Result": true,
"RequestId": "16CB4467-56AE-546C-BF19-AD4584C0DD03"
}
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.
Change history
Change time | Summary of changes | Operation |
---|
No change history