Call the GetClusterAddonInstance operation to query the details of a component in a cluster, including the version, parameter settings, and status of the component instance.
Operation description
You can delete an instance group only if it 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 ID of the cluster. |
eck-xxxxxxxx |
| InstanceName |
string |
Yes |
The name of the component. |
edge-csi-lite |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| Name |
string |
The name of the component. |
edge-csi-lite |
| Version |
string |
The version number. |
v1 |
| CleanupCloudResources |
boolean |
Indicates whether associated cloud resources are automatically cleaned up. |
|
| Status |
string |
The status of the component instance. Valid values:
|
enabled |
| ConfigSchema |
array<object> |
The schema of the custom parameters for the component. |
|
|
object |
The schema of the custom parameters for the component. |
||
| AppVersion |
string |
The application version. |
d0ead1f4e28de0f9e3c86588409a88a4 |
| ConfigVersion |
string |
The configuration version. |
d0ead1f4e28de0f9e3c86588409a88a4 |
| Name |
string |
The name of the component. |
edge-csi-lite |
| Params |
string |
The custom parameters for the component. |
{"k1":"v1"} |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"Name": "edge-csi-lite",
"Version": "v1",
"CleanupCloudResources": false,
"Status": "enabled",
"ConfigSchema": [
{
"AppVersion": "d0ead1f4e28de0f9e3c86588409a88a4",
"ConfigVersion": "d0ead1f4e28de0f9e3c86588409a88a4",
"Name": "edge-csi-lite",
"Params": "{\"k1\":\"v1\"}"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.