Invokes the DescribeAddon operation to perform a parameter query for information about a specified component based on parameters such as region, cluster type, cluster child class (profile), cluster version, and component name. The returned information includes whether the component is managed, the component categorization, the schema of supported custom parameters, compatible operating system architectures, and the minimum cluster version required by the component version.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:DescribeAddon |
get |
*All Resource
|
None | None |
Request syntax
GET /addons/{addon_name} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| addon_name |
string |
No |
The name of the component. |
coredns |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| region_id |
string |
No |
The region ID. If cluster_id is specified, this parameter is ignored. The region_id, cluster_type, profile, cluster_spec, and cluster_version parameters must be specified together. |
cn-hangzhou |
| cluster_type |
string |
No |
The cluster type. If cluster_id is specified, this parameter is ignored. The region_id, cluster_type, profile, cluster_spec, and cluster_version parameters must be specified together. |
ManagedKubernetes |
| profile |
string |
No |
The cluster subtype. If cluster_id is specified, this parameter is ignored. The region_id, cluster_type, profile, cluster_spec, and cluster_version parameters must be specified together. |
Default |
| cluster_spec |
string |
No |
The cluster specifications. If cluster_id is specified, this parameter is ignored. The region_id, cluster_type, profile, cluster_spec, and cluster_version parameters must be specified together. |
ack.pro.small |
| cluster_version |
string |
No |
The cluster version. If cluster_id is specified, this parameter is ignored. The region_id, cluster_type, profile, cluster_spec, and cluster_version parameters must be specified together. |
1.26.3-aliyun.1 |
| cluster_id |
string |
No |
The cluster ID. If you specify a cluster ID, the system queries the list of components available for the cluster, and other parameters are ignored. |
c02b3e03be10643e8a644a843ffcb**** |
| version |
string |
No |
The component version. If this parameter is not specified, the latest available version of the component is queried. |
v1.9.3.10-7dfca203-aliyun |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| name |
string |
The name of the component. |
coredns |
| version |
string |
The component version. |
v1.9.3.6-32932850-aliyun |
| category |
string |
The component category. |
network |
| managed |
boolean |
Indicates whether the component is managed. |
false |
| install_by_default |
boolean |
Indicates whether the component is installed by default. |
true |
| config_schema |
string |
The schema of custom parameters for the component. |
{} |
| supported_actions |
array |
The operations supported by the component. |
|
|
string |
The operations supported by the component. Valid values:
|
Install |
|
| architecture |
array |
The CPU architectures supported by the component. |
|
|
string |
The CPU architectures supported by the component. Valid values:
|
amd64 |
|
| newer_versions |
array<object> |
The information about newer versions of the component. |
|
|
object |
The information about a newer version. |
||
| version |
string |
The latest version number of the component. |
v1.9.3.10-7dfca203-aliyun |
| upgradable |
boolean |
Indicates whether the component can be upgraded to this version.
|
true |
| minimum_cluster_version |
string |
The minimum cluster version required by this component version. |
1.20.4 |
Examples
Success response
JSON format
{
"name": "coredns",
"version": "v1.9.3.6-32932850-aliyun",
"category": "network",
"managed": false,
"install_by_default": true,
"config_schema": "{}",
"supported_actions": [
"Install"
],
"architecture": [
"amd64"
],
"newer_versions": [
{
"version": "v1.9.3.10-7dfca203-aliyun",
"upgradable": true,
"minimum_cluster_version": "1.20.4"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.