Retrieves a list of add-on instances installed in a destination cluster and returns information such as their 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 ID of the cluster. |
eck-xxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
125B04C7-3D0D-4245-AF96-14E3758E3F06 |
| Addons |
array<object> |
The list of add-on information. |
|
|
array<object> |
The information about the add-on. |
||
| Name |
string |
The name of the add-on. |
test1 |
| Version |
string |
The version number. |
v1 |
| CleanupCloudResources |
boolean |
Specifies whether to automatically clean up associated cloud resources. |
true |
| Status |
string |
The current status of the component. Valid values:
|
enabled |
| ConfigSchema |
array<object> |
The list of schemas for the custom parameters of the component. |
|
|
object |
The schema for the custom parameters of the component. |
||
| AppVersion |
string |
The application version. |
7380581386597434629002 |
| ConfigVersion |
string |
The configuration version. |
4572581386436834662215 |
| Name |
string |
The name of the component. |
edge-csi-lite |
| Params |
string |
The custom parameters of the component. |
{"key1": "val1"} |
Examples
Success response
JSON format
{
"RequestId": "125B04C7-3D0D-4245-AF96-14E3758E3F06",
"Addons": [
{
"Name": "test1",
"Version": "v1",
"CleanupCloudResources": true,
"Status": "enabled",
"ConfigSchema": [
{
"AppVersion": "7380581386597434629002",
"ConfigVersion": "4572581386436834662215",
"Name": "edge-csi-lite",
"Params": "{\"key1\": \"val1\"}"
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | BadRequest | Request param error. | Request parameter error |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.