From d94e6c59d7699400684b11f6bcad560c11b39757 Mon Sep 17 00:00:00 2001 From: Jianping Zeng Date: Tue, 30 Nov 2021 15:57:36 -0800 Subject: [PATCH] feat: define currentKubernetesVersion (#16878) Add property currentKubernetesVersion for feature AliasMinorVersion --- .../preview/2021-11-01-preview/managedClusters.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2021-11-01-preview/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2021-11-01-preview/managedClusters.json index a6cefe8ef5f1..a28d33f8ef9f 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2021-11-01-preview/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/preview/2021-11-01-preview/managedClusters.json @@ -3684,9 +3684,14 @@ }, "kubernetesVersion": { "type": "string", - "title": "The version of Kubernetes the Managed Cluster is running.", + "title": "The version of Kubernetes the Managed Cluster is requested to run.", "description": "When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details." }, + "currentKubernetesVersion": { + "readOnly": true, + "type": "string", + "description": "The version of Kubernetes the Managed Cluster is running." + }, "dnsPrefix": { "type": "string", "title": "The DNS prefix of the Managed Cluster.",