Queries the labels within an Alibaba Cloud Container Service for Kubernetes (ACK) cluster.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConnectorId |
string |
Yes |
The ID of the ACK cluster connector. You can obtain the ID by calling the following operation:
|
ac-7c1bad6c3cc84c33baab |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AckLabels |
array<object> |
A list of ACK labels. |
|
|
object |
An ACK label. |
||
| 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. |
| 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.