diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/examples/ManagedClustersCreate_Update.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/examples/ManagedClustersCreate_Update.json index 240ece782e58..121882c75088 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/examples/ManagedClustersCreate_Update.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/examples/ManagedClustersCreate_Update.json @@ -55,9 +55,7 @@ }, "upgradeSettings": { "overrideSettings": { - "controlPlaneOverrides": [ - "IgnoreKubernetesDeprecations" - ], + "forceUpgrade": true, "until": "2022-11-01T13:00:00Z" } }, @@ -184,9 +182,7 @@ }, "upgradeSettings": { "overrideSettings": { - "controlPlaneOverrides": [ - "IgnoreKubernetesDeprecations" - ], + "forceUpgrade": false, "until": "2022-11-01T13:00:00Z" } }, diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/examples/ManagedClustersGet.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/examples/ManagedClustersGet.json index 44df26989ffa..3e7c2a4e7fe8 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/examples/ManagedClustersGet.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/examples/ManagedClustersGet.json @@ -101,9 +101,7 @@ }, "upgradeSettings": { "overrideSettings": { - "controlPlaneOverrides": [ - "IgnoreKubernetesDeprecations" - ], + "forceUpgrade": true, "until": "2022-11-01T13:00:00Z" } } diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/managedClusters.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/managedClusters.json index cfcc57f21d89..c6a0aa456277 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/managedClusters.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2023-07-02-preview/managedClusters.json @@ -5504,33 +5504,12 @@ }, "description": "Auto upgrade profile for a managed cluster." }, - "ControlPlaneUpgradeOverride": { - "type": "string", - "enum": [ - "IgnoreKubernetesDeprecations" - ], - "x-ms-enum": { - "name": "ControlPlaneUpgradeOverride", - "modelAsString": true, - "values": [ - { - "value": "IgnoreKubernetesDeprecations", - "description": "Upgrade the cluster control plane version without checking for recent Kubernetes deprecations usage." - } - ] - }, - "description": "The list of control plane upgrade override settings." - }, "UpgradeOverrideSettings": { "type": "object", "properties": { - "controlPlaneOverrides": { - "type": "array", - "items": { - "$ref": "#/definitions/ControlPlaneUpgradeOverride" - }, - "x-ms-identifiers": [], - "description": "List of upgrade overrides when upgrading a cluster's control plane." + "forceUpgrade": { + "type": "boolean", + "description": "Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution." }, "until": { "type": "string",