Skip to content

Commit

Permalink
Remove support for az aks get-os-options command
Browse files Browse the repository at this point in the history
  • Loading branch information
charlili1234 committed Jul 16, 2024
1 parent 1bde184 commit 8bf3283
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
4 changes: 4 additions & 0 deletions src/aks-preview/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
9 changes: 0 additions & 9 deletions src/aks-preview/azext_aks_preview/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion src/aks-preview/azext_aks_preview/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
4 changes: 0 additions & 4 deletions src/aks-preview/azext_aks_preview/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/aks-preview/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from setuptools import setup, find_packages

VERSION = "6.0.0b1"
VERSION = "6.0.0b2"

CLASSIFIERS = [
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit 8bf3283

Please sign in to comment.