All Products
Search
Document Center

Security Center:CreateOpaClusterPlugin

Last Updated:Feb 20, 2024

Installs the components that are required by at-risk image blocking. The components are policy-template-controller, gatekeeper, and logtail-ds.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdsarrayYes

The cluster IDs.

Note You can call the DescribeGroupedContainerInstances operation to query the IDs of clusters.
stringYes

The cluster ID.

Note You can call the DescribeGroupedContainerInstances operation to query the IDs of clusters.
c60b77fe62093480db6164a3c2fa****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

D65AADFC-1D20-5A6A-8F6A-9FA53C0DC1F8
InstallStatusobject []

The installation status of the components.

ClusterIdstring

The cluster ID.

c60b77fe62093480db6164a3c2fa****
InstallStatusboolean

Indicates whether the component is installed. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "D65AADFC-1D20-5A6A-8F6A-9FA53C0DC1F8",
  "InstallStatus": [
    {
      "ClusterId": "c60b77fe62093480db6164a3c2fa****\n",
      "InstallStatus": true
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.