Modifies the network object information of a container firewall.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyInterceptionTarget |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TargetId |
integer |
Yes |
The ID of the network object. Note
You can call the ListInterceptionTargetPage operation to obtain this parameter. |
400913 |
| TargetName |
string |
Yes |
The name. |
test001 |
| TargetType |
string |
Yes |
The target type. Valid values:
|
IMAGE |
| Namespace |
string |
Yes |
The namespace. Note
You can call the DescribeContainerTags operation to obtain this parameter. |
demo4 |
| AppName |
string |
No |
The application name. Note
You can call the DescribeContainerTags operation to obtain this parameter. |
yasintt-daemonst |
| ImageList |
array |
No |
The list of images. Note
You can call the DescribeContainerTags operation to obtain this parameter. |
|
|
string |
No |
The image. Note
You can call the DescribeContainerTags operation to obtain this parameter. |
arms-prom-operator:v0.1 |
|
| TagList |
array |
No |
The list of labels. Note
You can call the DescribeContainerTags operation to obtain this parameter. |
|
|
string |
No |
The label. Note
You can call the DescribeContainerTags operation to obtain this parameter. |
app.kubernetes.io/component:query |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Result |
boolean |
The result of the request. Valid values:
|
true |
| 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. |
16CB4467-56AE-546C-BF19-AD4584C0DD03 |
Examples
Success response
JSON format
{
"Result": true,
"RequestId": "16CB4467-56AE-546C-BF19-AD4584C0DD03"
}
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.