Retrieves a list of installed add-on instances in a specified cluster and queries related information about the add-on instances, such as the add-on version and status.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:ListClusterAddonInstances |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The cluster ID. The target cluster must be in the running state. You can verify the state by checking the State field in the response of DescribeClustersV1 or DescribeClusterDetail. |
eck-xxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| Addons |
array<object> |
The list of add-on information. |
|
|
array<object> |
The add-on information. |
||
| CleanupCloudResources |
boolean |
Specifies whether to automatically clean up associated cloud resources. |
true |
| ConfigSchema |
array<object> |
The list of schemas for custom add-on parameters. |
|
|
object |
The schema for custom add-on parameters. |
||
| AppVersion |
string |
The application version. |
7380581386597434629002 |
| ConfigVersion |
string |
The configuration version. |
4572581386436834662215 |
| Name |
string |
The add-on name. |
edge-csi-lite |
| Params |
string |
The custom add-on parameters. |
{"key1": "val1"} |
| Name |
string |
The plug-in name. |
test1 |
| Status |
string |
The current add-on status. Valid values:
|
enabled |
| Version |
string |
The version number. |
v1 |
| RequestId |
string |
Id of the request |
125B04C7-3D0D-4245-AF96-14E3758E3F06 |
Examples
Success response
JSON format
{
"Addons": [
{
"CleanupCloudResources": true,
"ConfigSchema": [
{
"AppVersion": "7380581386597434629002",
"ConfigVersion": "4572581386436834662215",
"Name": "edge-csi-lite",
"Params": "{\"key1\": \"val1\"}"
}
],
"Name": "test1",
"Status": "enabled",
"Version": "v1"
}
],
"RequestId": "125B04C7-3D0D-4245-AF96-14E3758E3F06"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.