Installs the components that are required by at-risk image blocking. The components are policy-template-controller, gatekeeper, and logtail-ds.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClusterIds | array | Yes | The cluster IDs. Note
You can call the DescribeGroupedContainerInstances operation to query the IDs of clusters.
| |
string | Yes | The cluster ID. Note
You can call the DescribeGroupedContainerInstances operation to query the IDs of clusters.
| c60b77fe62093480db6164a3c2fa**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "D65AADFC-1D20-5A6A-8F6A-9FA53C0DC1F8",
"InstallStatus": [
{
"ClusterId": "c60b77fe62093480db6164a3c2fa****\n",
"InstallStatus": true
}
]
}
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.