Modifies the configurations of vulnerability scan for a running container.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| ClusterId | string | No | The cluster ID. Note
You can call the DescribeGroupedContainerInstances operation to query the IDs of clusters.
| cfb7a55a81f7246b5ac18845ea79a**** |
| AppNames | string | No | The name of the container application. | [\"logtail-ds\",\"alicloud-monitor-controller\",\"storage-snapshot-manager\"] |
| Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
Response parameters
Examples
Sample success responses
JSONformat
{
"Data": true,
"RequestId": "BFF355BC-8A40-55F3-8CBC-CC3E9DAC****",
"HttpStatusCode": 200
}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 |
|---|---|---|
| 2023-10-07 | The Error code has changed | View Change Details |
