diff --git a/src/aks-preview/HISTORY.rst b/src/aks-preview/HISTORY.rst index 0c75abb3846..aa0a5d5b3c8 100644 --- a/src/aks-preview/HISTORY.rst +++ b/src/aks-preview/HISTORY.rst @@ -12,6 +12,10 @@ To release a new version, please select a new version number (usually plus 1 to Pending +++++++ +6.0.0b2 +++++++++ +* Remove support for `az aks get-os-options` command. + 6.0.0b1 ++++++++ * Remove support for `az aks mesh` egress gateway commands. 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 e31fc4bf2db..b5350ee0c8c 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..4e48e14ceca 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 = "6.0.0b2" CLASSIFIERS = [ "Development Status :: 4 - Beta",