diff --git a/src/command_modules/azure-cli-acs/HISTORY.rst b/src/command_modules/azure-cli-acs/HISTORY.rst index 0c1f58e8575..d31637c4820 100644 --- a/src/command_modules/azure-cli-acs/HISTORY.rst +++ b/src/command_modules/azure-cli-acs/HISTORY.rst @@ -2,6 +2,10 @@ Release History =============== +2.4.1 +++++++ +* Using Azure Red Hat Openshift GA API Version + 2.4.0 ++++++ * BREAKING CHANGE: Removing `--fqdn` flag on az openshift commands diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_client_factory.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_client_factory.py index 9d0330d625d..2f9a8927bb0 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_client_factory.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_client_factory.py @@ -53,7 +53,7 @@ def get_container_service_client(cli_ctx, **_): def get_osa_container_service_client(cli_ctx, **_): from azure.mgmt.containerservice import ContainerServiceClient - return get_mgmt_service_client(cli_ctx, ContainerServiceClient) + return get_mgmt_service_client(cli_ctx, ContainerServiceClient, api_version='2019-04-30') def get_graph_rbac_management_client(cli_ctx, **_): diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py index 72ebbd1eedc..4c85d872796 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/_help.py @@ -628,12 +628,12 @@ helps['openshift'] = """ type: group -short-summary: (PREVIEW) Manage Azure OpenShift Services. +short-summary: Manage Azure Red Hat OpenShift Services. """ helps['openshift create'] = """ type: command -short-summary: (PREVIEW) Create a new managed OpenShift cluster. +short-summary: Create a new managed OpenShift cluster. parameters: - name: --compute-vm-size -s type: string @@ -677,7 +677,7 @@ helps['openshift delete'] = """ type: command -short-summary: (PREVIEW) Delete a managed OpenShift cluster. +short-summary: Delete a managed OpenShift cluster. examples: - name: Delete a managed OpenShift cluster. (autogenerated) text: az openshift delete --name MyManagedOpenShiftCluster --resource-group MyResourceGroup @@ -686,12 +686,12 @@ helps['openshift list'] = """ type: command -short-summary: (PREVIEW) List managed OpenShift clusters. +short-summary: List managed OpenShift clusters. """ helps['openshift scale'] = """ type: command -short-summary: (PREVIEW) Scale the compute pool in a managed OpenShift cluster. +short-summary: Scale the compute pool in a managed OpenShift cluster. parameters: - name: --compute-count -c type: int @@ -704,7 +704,7 @@ helps['openshift show'] = """ type: command -short-summary: (PREVIEW) Show the details for a managed OpenShift cluster. +short-summary: Show the details for a managed OpenShift cluster. examples: - name: Show the details for a managed OpenShift cluster. (autogenerated) text: az openshift show --name MyManagedOpenShiftCluster --resource-group MyResourceGroup @@ -713,7 +713,7 @@ helps['openshift wait'] = """ type: command -short-summary: (PREVIEW) Wait for a managed OpenShift cluster to reach a desired state. +short-summary: Wait for a managed OpenShift cluster to reach a desired state. long-summary: If an operation on a cluster was interrupted or was started with `--no-wait`, use this command to wait for it to complete. examples: - name: Wait for a cluster to be upgraded, polling every minute for up to thirty minutes. diff --git a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py index ffba583b644..b14dde02984 100644 --- a/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py +++ b/src/command_modules/azure-cli-acs/azure/cli/command_modules/acs/custom.py @@ -60,14 +60,14 @@ from azure.mgmt.containerservice.v2018_03_31.models import ManagedClusterAADProfile from azure.mgmt.containerservice.v2018_03_31.models import ManagedClusterAddonProfile from azure.mgmt.containerservice.v2018_03_31.models import ManagedClusterAgentPoolProfile -from azure.mgmt.containerservice.models import OpenShiftManagedClusterAgentPoolProfile -from azure.mgmt.containerservice.models import OpenShiftAgentPoolProfileRole -from azure.mgmt.containerservice.models import OpenShiftManagedClusterIdentityProvider -from azure.mgmt.containerservice.models import OpenShiftManagedClusterAADIdentityProvider -from azure.mgmt.containerservice.models import OpenShiftManagedCluster -from azure.mgmt.containerservice.models import OpenShiftRouterProfile -from azure.mgmt.containerservice.models import OpenShiftManagedClusterAuthProfile -from azure.mgmt.containerservice.models import NetworkProfile +from azure.mgmt.containerservice.v2019_04_30.models import OpenShiftManagedClusterAgentPoolProfile +from azure.mgmt.containerservice.v2019_04_30.models import OpenShiftAgentPoolProfileRole +from azure.mgmt.containerservice.v2019_04_30.models import OpenShiftManagedClusterIdentityProvider +from azure.mgmt.containerservice.v2019_04_30.models import OpenShiftManagedClusterAADIdentityProvider +from azure.mgmt.containerservice.v2019_04_30.models import OpenShiftManagedCluster +from azure.mgmt.containerservice.v2019_04_30.models import OpenShiftRouterProfile +from azure.mgmt.containerservice.v2019_04_30.models import OpenShiftManagedClusterAuthProfile +from azure.mgmt.containerservice.v2019_04_30.models import NetworkProfile from ._client_factory import cf_container_services from ._client_factory import cf_resource_groups from ._client_factory import get_auth_management_client diff --git a/src/command_modules/azure-cli-acs/setup.py b/src/command_modules/azure-cli-acs/setup.py index 96b774620fb..9ea6ae155fe 100644 --- a/src/command_modules/azure-cli-acs/setup.py +++ b/src/command_modules/azure-cli-acs/setup.py @@ -14,7 +14,7 @@ logger.warn("Wheel is not available, disabling bdist_wheel hook") cmdclass = {} -VERSION = "2.4.0" +VERSION = "2.4.1" CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', @@ -31,7 +31,7 @@ DEPENDENCIES = [ 'azure-mgmt-authorization==0.50.0', - 'azure-mgmt-containerservice==5.1.0', + 'azure-mgmt-containerservice==5.2.0', 'azure-mgmt-compute==5.0.0', 'azure-graphrbac==0.60.0', 'azure-cli-core',