Queries information about the namespaces of clusters for which the rules of the at-risk image blocking type are configured in proactive defense for containers.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
NameSpaceName | string | No | The name of the namespace. | sit |
ClusterId | string | No | The ID of the cluster that you want to query. Note
You can call the DescribeGroupedContainerInstances operation to query the IDs of clusters.
| ca0faf43e33904ecbb6c695df7906**** |
PageSize | integer | No | The number of entries per page. Default value: 20. | 20 |
CurrentPage | integer | No | The page number. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Data": [
{
"NameSpaceName": "testNameSpace"
}
],
"Count": 0,
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "384BFAF1-FC41-58DD-97DD-9D361ADF377D"
}
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.