You can call the DescribeClusterAddonInstance operation to query the information about a cluster component, including the version, status, and configuration of the component.
This API has been deprecated. We recommend migrating to CS(2015-12-15) - GetClusterAddonInstance for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:DescribeClusterAddonInstance |
get |
*Cluster
|
None | None |
Request syntax
GET /clusters/{ClusterID}/components/{AddonName}/instance HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterID |
string |
Yes |
The ID of the cluster. |
cd06bbf8a86764a31bcac76136691**** |
| AddonName |
string |
Yes |
The name of the component. |
terway-eniip |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| name |
string |
The name of the component. |
terway-eniip |
| version |
string |
The version of the component. |
v1.4.3 |
| state |
string |
The status of the component. Valid values:
|
active |
| config |
string |
The configuration of the component. |
{"NetworkPolicy":"true"} |
Examples
Success response
JSON format
{
"name": "terway-eniip",
"version": "v1.4.3",
"state": "active",
"config": "{\"NetworkPolicy\":\"true\"}"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.