Skip to main content

DescribeAddons

Description

call DescribeAddons to query the details of components installed in the cluster.

Request Method

POST

Request Path

/apsara/route/CS/DescribeAddons

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
cluster_typeBODYstringNoKubernetescluster type, value: Kubernetes:Kubernetes proprietary version ManagedKubernetes: edge managed cluster
regionBODYstringYescn-beijingthe region ID of the cluster.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
StandardComponentsmapNo sample value for this parameter.standard component.
group_namestringstoragecomponent group name.
namestringack-arenacomponent name.
ComponentGroupsarray of componentgroupNo sample value for this parameter.component grouping list.
descriptionstringtestcomponent function description.
disabledbooleanfalsewhether the default installation is prohibited. in addition to the components required by the cluster, some additional components related to logs or routing (for example, Ingress) will be installed when the cluster is created. if you do not want to install the default installation, you can disable the default installation by setting this field. Value: true: the default installation is prohibited. false: default installation.
itemsarray of itemNo sample value for this parameter.the name of the component contained in this group.
versionstring0.5.0component version.
requiredstringfalsewhether it is a necessary component for the cluster. Value: true: required components, components that must be installed when the cluster is created. false: non-essential components, after the cluster is created, it can be installed through component management.

Example

Successful Response example

{
"StandardComponents":"",
"group_name":"storage",
"name":"ack-arena",
"ComponentGroups":"",
"description":"test",
"disabled":"false",
"items":"",
"version":"0.5.0",
"required":"false"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}