From e3fdf59edbd12e1faa7d586f7478d4d2f3ded35f Mon Sep 17 00:00:00 2001 From: Zhiyi Huang <17182306+calvinhzy@users.noreply.github.com> Date: Wed, 22 Apr 2026 16:10:28 +0800 Subject: [PATCH] update description for tls 1.3 not yet available, also remove breaking change warning as it has been postponed. --- .../cli/command_modules/storage/_breaking_change.py | 10 ---------- .../azure/cli/command_modules/storage/_params.py | 6 ++---- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/storage/_breaking_change.py b/src/azure-cli/azure/cli/command_modules/storage/_breaking_change.py index 2d5ddb35293..34913fb394d 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_breaking_change.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_breaking_change.py @@ -2,13 +2,3 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- - -from azure.cli.core.breaking_change import register_other_breaking_change - -# --min-tls-version removing version 1.0 1.1 -register_other_breaking_change('storage account create', - message='The --min-tls-version argument values TLS1_0 and TLS1_1 have been retired on' - ' 2026/02/03 and will be removed on 2026/03/03.') -register_other_breaking_change('storage account update', - message='The --min-tls-version argument values TLS1_0 and TLS1_1 have been retired on' - ' 2026/02/03 and will be removed on 2026/03/03.') diff --git a/src/azure-cli/azure/cli/command_modules/storage/_params.py b/src/azure-cli/azure/cli/command_modules/storage/_params.py index 6ba022c14ff..0995df33cf7 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_params.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_params.py @@ -390,8 +390,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem 'public access setting for a container is required to enable anonymous access.') c.argument('min_tls_version', arg_type=get_enum_type(t_tls_version), help='The minimum TLS version to be permitted on requests to storage. ' - ' Values TLS1_0 and TLS1_1 have been retired on 2026/02/03 and will be removed on 2026/03/03.' - ' Microsoft recommends setting MinimumTlsVersion to TLS1_2') + 'TLS1_3 is not yet supported. Microsoft recommends setting MinimumTlsVersion to TLS1_2.') c.argument('allow_shared_key_access', allow_shared_key_access_type) c.argument('edge_zone', edge_zone_type) c.argument('identity_type', arg_type=get_enum_type(t_identity_type), arg_group='Identity', @@ -509,8 +508,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem 'public access setting for a container is required to enable anonymous access.') c.argument('min_tls_version', arg_type=get_enum_type(t_tls_version), help='The minimum TLS version to be permitted on requests to storage. ' - ' Values TLS1_0 and TLS1_1 have been retired on 2026/02/03 and will be removed on 2026/03/03.' - ' Microsoft recommends setting MinimumTlsVersion to TLS1_2') + 'TLS1_3 is not yet supported. Microsoft recommends setting MinimumTlsVersion to TLS1_2.') c.argument('allow_shared_key_access', allow_shared_key_access_type) c.argument('identity_type', arg_type=get_enum_type(t_identity_type), arg_group='Identity', help='The identity type.')