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
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| KubernetesVersion | BODY | string | No | 1.16.9-aliyun.1 | Kubernetes version, for example: 1.16.9-aliyun.1. |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| Region | BODY | string | Yes | cn-beijing | region ID. |
| ClusterType | BODY | string | Yes | Kubernetest | cluster type. |
| MultiAZ | BODY | boolean | No | false | whether to query multiple zones. |
| version | BODY | string | No | 2016-01-01 | version of api |
| Profile | BODY | string | No | Default | edge cluster identification. Default: non-edge cluster. Edge: edge cluster. |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| array of data | No sample value for this parameter. | returns the data body. | |
| OS _version | string | 7.7 | operating system platform type. Valid values: Windows, Linux (default). |
| images | array | No sample value for this parameter. | ECS system image list. |
| capabilities | object | not involved | Kubernetes version characteristics. |
| multi_az | string | false | whether it is a multi-available area. |
| version | string | 1.16.9-aliyun.1 | Kubernetes version. |
| platform | string | CentOS | operating system release. Valid values: CentOS, AliyunLinux, Windows, WindowsCore. |
| image_name | string | CentOS 7.7 | image name. |
| OS _type | string | Linux | operating system release number. |
| runtimes | array | No sample value for this parameter. | container runtime configuration. |
| meta_data | object | not involved | Kubernetes version metadata information. |
| name | string | docker | runtime name. |
| image_id | string | centos_7_7_x64_20G_alibase_20200426.vhd | mirror ID. |
| image_type | string | centos_7_7_2 | mirror 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
}
}