DescribeAckClusterPodLabels
Queries the tags of an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeAckClusterPodLabels |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConnectorId |
string |
Yes |
The ID of the ACK cluster connector. You can obtain the value from the following operation:
|
ac-7c1bad6c3cc84c33baab |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AckLabels |
array<object> |
The list of ACK tags. |
|
|
object |
The ACK tag. |
||
| Key |
string |
The tag key. |
app |
| Value |
string |
The tag value. |
storage-operator |
| RequestId |
string |
The request ID. |
6169C0A4-B91A-5D48-AE4D-B9432D15**** |
Examples
Success response
JSON format
{
"AckLabels": [
{
"Key": "app",
"Value": "storage-operator"
}
],
"RequestId": "6169C0A4-B91A-5D48-AE4D-B9432D15****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
| 400 | ErrorParameters | Parameters error. | Parameter error. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorNotBuyUser | Not buy user. | Your account has not activated the Cloud Firewall and cannot call the API. |
| 404 | ErrorAckClusterConnectorNotFound | The specified resource ACK cluster connector is not found. | The specified resource ACK cluster connector is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.