Queries the details of a specified add-on in a cluster, including the version, parameter settings, and status of the add-on instance.
Operation description
It can be deleted only when the instance group information is empty.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:GetClusterAddonInstance |
create |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The cluster ID. |
eck-xxxxxxxx |
| InstanceName |
string |
Yes |
The add-on name. |
edge-csi-lite |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| CleanupCloudResources |
boolean |
Indicates whether associated cloud resources are automatically cleaned up. |
|
| ConfigSchema |
array<object> |
The schema of custom parameters for the add-on. |
|
|
object |
The schema of custom parameters for the add-on. |
||
| AppVersion |
string |
The application version. |
d0ead1f4e28de0f9e3c86588409a88a4 |
| ConfigVersion |
string |
The configuration version. |
d0ead1f4e28de0f9e3c86588409a88a4 |
| Name |
string |
The add-on name. |
edge-csi-lite |
| Params |
string |
The custom parameters of the add-on. |
{"k1":"v1"} |
| Name |
string |
The add-on name. |
edge-csi-lite |
| RequestId |
string |
Id of the request |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| Status |
string |
The current component instance status. Valid values:
|
enabled |
| Version |
string |
The version number. |
v1 |
Examples
Success response
JSON format
{
"CleanupCloudResources": false,
"ConfigSchema": [
{
"AppVersion": "d0ead1f4e28de0f9e3c86588409a88a4",
"ConfigVersion": "d0ead1f4e28de0f9e3c86588409a88a4",
"Name": "edge-csi-lite",
"Params": "{\"k1\":\"v1\"}"
}
],
"Name": "edge-csi-lite",
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"Status": "enabled",
"Version": "v1"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.