Queries the information about Kubernetes clusters that are added to Security Center.
Operation description
You can use this operation to query the access information about Kubernetes clusters.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AliyunYundunGatewayProjectName | string | No | This parameter is deprecated. | None |
AliyunYundunGatewayApiName | string | No | This parameter is deprecated. | None |
AliyunYundunGatewayPopName | string | No | This parameter is deprecated. | None |
Lang | string | No | The language of the content within the request and response. Valid values:
| en |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF46038",
"K8sAccessInfos": [
{
"ClusterName": "test",
"AliUid": 0,
"InstallKey": "xxx",
"Id": 67070,
"ClusterId": "c0da5e4cb82a848c4a57c4dc9f49a****",
"GroupId": "11088522",
"ExpireDate": 1690596321613,
"GroupName": "test",
"Vendor": "ALIYUN",
"AuditRegionId": "cn-hangzhou",
"AuditProject": "k8s-log-custom-your-project-sd89eh****",
"AuditLogStore": "audit-cf6baf6afa106eca665296fdf68b****"
}
]
}
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.