Skip to main content

DescribeKubernetesVersionMetadata

Description

invoke details of supported Kubernetes versions of the DescribeKubernetesVersionMetadata query.

Request Method

POST

Request Path

/apsara/route/CS/DescribeKubernetesVersionMetadata

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
KubernetesVersionBODYstringNo1.16.9-aliyun.1Kubernetes version, for example: 1.16.9-aliyun.1.
regionIdBODYstringYesNo sample value for this parameter.region id
RegionBODYstringYescn-beijingregion ID.
ClusterTypeBODYstringYesKubernetestcluster type.
MultiAZBODYbooleanNofalsewhether to query multiple zones.
versionBODYstringNo2016-01-01version of api
ProfileBODYstringNoDefaultedge cluster identification. Default: non-edge cluster. Edge: edge cluster.

Return data

NameTypeSample valueDescription
array of dataNo sample value for this parameter.returns the data body.
OS _versionstring7.7operating system platform type. Valid values: Windows, Linux (default).
imagesarrayNo sample value for this parameter.ECS system image list.
capabilitiesobjectnot involvedKubernetes version characteristics.
multi_azstringfalsewhether it is a multi-available area.
versionstring1.16.9-aliyun.1Kubernetes version.
platformstringCentOSoperating system release. Valid values: CentOS, AliyunLinux, Windows, WindowsCore.
image_namestringCentOS 7.7image name.
OS _typestringLinuxoperating system release number.
runtimesarrayNo sample value for this parameter.container runtime configuration.
meta_dataobjectnot involvedKubernetes version metadata information.
namestringdockerruntime name.
image_idstringcentos_7_7_x64_20G_alibase_20200426.vhdmirror ID.
image_typestringcentos_7_7_2mirror type.

Example

Successful Response example

{
"":"",
"OS _version":"7.7",
"images":"",
"capabilities":"not involved",
"multi_az":"false",
"version":"1.16.9-aliyun.1",
"platform":"CentOS",
"image_name":"CentOS 7.7",
"OS _type":"Linux",
"runtimes":"",
"meta_data":"not involved",
"name":"docker",
"image_id":"centos_7_7_x64_20G_alibase_20200426.vhd",
"image_type":"centos_7_7_2"
}

Failed Response example

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

}