From f2a2298a527bd1e65541e92aa4452a153ec34d2b Mon Sep 17 00:00:00 2001 From: AllyW Date: Fri, 14 Mar 2025 11:46:25 +0800 Subject: [PATCH 1/2] prenounce cmd deprecate --- .../cli/command_modules/security/_breaking_change.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/azure-cli/azure/cli/command_modules/security/_breaking_change.py diff --git a/src/azure-cli/azure/cli/command_modules/security/_breaking_change.py b/src/azure-cli/azure/cli/command_modules/security/_breaking_change.py new file mode 100644 index 00000000000..6975a36e292 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/security/_breaking_change.py @@ -0,0 +1,11 @@ +# -------------------------------------------------------------------------------------------- +# 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_command_deprecate + +register_command_deprecate('security automation create_or_update') +register_command_deprecate('security automation validate') + +# This command has been deprecated and will be removed in next breaking change release(2.73.0). \ No newline at end of file From 3c82383576483589f011d7e3aafb81a77623ebdc Mon Sep 17 00:00:00 2001 From: AllyW Date: Fri, 14 Mar 2025 11:49:37 +0800 Subject: [PATCH 2/2] adjust style --- .../azure/cli/command_modules/security/_breaking_change.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/security/_breaking_change.py b/src/azure-cli/azure/cli/command_modules/security/_breaking_change.py index 6975a36e292..02860319063 100644 --- a/src/azure-cli/azure/cli/command_modules/security/_breaking_change.py +++ b/src/azure-cli/azure/cli/command_modules/security/_breaking_change.py @@ -8,4 +8,4 @@ register_command_deprecate('security automation create_or_update') register_command_deprecate('security automation validate') -# This command has been deprecated and will be removed in next breaking change release(2.73.0). \ No newline at end of file +# This command has been deprecated and will be removed in next breaking change release(2.73.0).