Queries the available components based on specific conditions such as the region, cluster type, cluster subtype defined by cluster profile, and cluster version and queries the detailed information about a component. The information includes whether the component is managed, the supported custom parameter schema, and compatible operating system architecture.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:ListAddons |
list |
*All Resource
|
None | None |
Request syntax
GET /addons HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| region_id |
string |
No |
The region of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time. |
cn-hangzhou |
| cluster_type |
string |
No |
The type of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time. |
ManagedKubernetes |
| profile |
string |
No |
The subtype of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time. |
Default |
| cluster_spec |
string |
No |
The specifications of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time. |
ack.pro.small |
| cluster_version |
string |
No |
The version of the cluster. If cluster_id is specified, this parameter is ignored. You must specify the region_id, cluster_type, profile, cluster_spec, and cluster_version parameters at the same time. |
1.32.1-aliyun.1 |
| cluster_id |
string |
No |
The cluster ID. If you specify a cluster ID, only components used in the specified cluster are queried. Other parameters are ignored. |
c02b3e03be10643e8a644a843ffcb**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| addons |
array<object> |
The list of available components. |
|
|
object |
|||
| name |
string |
The component name. |
arms-prometheus |
| version |
string |
The version number. |
1.1.9 |
| managed |
boolean |
Indicates whether the component is fully managed. |
false |
| install_by_default |
boolean |
Indicates whether the component is automatically installed by default. |
false |
| category |
string |
The category of the component. |
monitor |
| config_schema |
string |
The schema of the custom parameters of the component. |
{} |
| supported_actions |
array |
Operations supported by the component. Valid values:
|
|
|
string |
Operations supported by the component. Valid values:
|
Install |
|
| architecture |
array |
Architectures supported by the component. Valid values:
|
|
|
string |
Operations supported by the component. Valid values:
|
amd64 |
Examples
Success response
JSON format
{
"addons": [
{
"name": "arms-prometheus",
"version": "1.1.9",
"managed": false,
"install_by_default": false,
"category": "monitor",
"config_schema": "{}",
"supported_actions": [
"Install"
],
"architecture": [
"amd64"
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.