Debugging
Authorization information
Request syntax
GET /addons/{addon_name}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
addon_name | string | No | The name of the component. | coredns |
region_id | string | No | The region ID. 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.26.3-aliyun.1 |
cluster_id | string | No | The ID of the cluster. If you specify a cluster ID, only components used in the cluster are queried. Other parameters are ignored. | c02b3e03be10643e8a644a843ffcb**** |
version | string | No | The version of the component. If you do not specify this parameter, the latest version of the component is queried. | v1.9.3.10-7dfca203-aliyun |
Response parameters
Examples
Sample success responses
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
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|