diff --git a/src/aks-preview/HISTORY.rst b/src/aks-preview/HISTORY.rst index 0c75abb3846..b8d168f5976 100644 --- a/src/aks-preview/HISTORY.rst +++ b/src/aks-preview/HISTORY.rst @@ -12,9 +12,13 @@ To release a new version, please select a new version number (usually plus 1 to Pending +++++++ +7.0.0b1 +++++++++ +* [BREAKING CHANGE]: Remove support for `az aks get-os-options` command. + 6.0.0b1 ++++++++ -* Remove support for `az aks mesh` egress gateway commands. +* [BREAKING CHANGE]: Remove support for `az aks mesh` egress gateway commands. * Add validation to `az aks create` and `az aks update` while modifying the `--ephemeral-disk-volume-type` and `--ephemeral-disk-nvme-perf-tier` values. 5.0.0b4 diff --git a/src/aks-preview/azext_aks_preview/_help.py b/src/aks-preview/azext_aks_preview/_help.py index 4d9bc20ad32..b314622a35e 100644 --- a/src/aks-preview/azext_aks_preview/_help.py +++ b/src/aks-preview/azext_aks_preview/_help.py @@ -2519,15 +2519,6 @@ crafted: true """ -helps['aks get-os-options'] = """ -type: command -short-summary: Get the OS options available for creating a managed Kubernetes cluster. -examples: - - name: Get the OS options available for creating a managed Kubernetes cluster - text: az aks get-os-options --location westus2 - crafted: true -""" - helps['aks get-credentials'] = """ type: command short-summary: Get access credentials for a managed Kubernetes cluster. diff --git a/src/aks-preview/azext_aks_preview/commands.py b/src/aks-preview/azext_aks_preview/commands.py index d7f396c9950..2ff18cea0fe 100644 --- a/src/aks-preview/azext_aks_preview/commands.py +++ b/src/aks-preview/azext_aks_preview/commands.py @@ -180,7 +180,6 @@ def load_command_table(self, _): # aks-preview only g.custom_command("kollect", "aks_kollect") g.custom_command("kanalyze", "aks_kanalyze") - g.custom_command("get-os-options", "aks_get_os_options") g.custom_command( "operation-abort", "aks_operation_abort", supports_no_wait=True ) diff --git a/src/aks-preview/azext_aks_preview/custom.py b/src/aks-preview/azext_aks_preview/custom.py index 0f362a0e2ff..7804705ab74 100644 --- a/src/aks-preview/azext_aks_preview/custom.py +++ b/src/aks-preview/azext_aks_preview/custom.py @@ -2524,10 +2524,6 @@ def aks_get_versions(cmd, client, location): # pylint: disable=unused-argumen return client.list_kubernetes_versions(location) -def aks_get_os_options(cmd, client, location): # pylint: disable=unused-argument - return client.get_os_options(location, resource_type='managedClusters') - - def get_aks_custom_headers(aks_custom_headers=None): headers = {} if aks_custom_headers is not None: diff --git a/src/aks-preview/setup.py b/src/aks-preview/setup.py index 7657c29d321..9ff8c480cb7 100644 --- a/src/aks-preview/setup.py +++ b/src/aks-preview/setup.py @@ -9,7 +9,7 @@ from setuptools import setup, find_packages -VERSION = "6.0.0b1" +VERSION = "7.0.0b1" CLASSIFIERS = [ "Development Status :: 4 - Beta",