Skip to content

Commit b0d06b0

Browse files
authored
{Batch} Breaking Change Deprecation Warnings (#32070)
1 parent db34d97 commit b0d06b0

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# --------------------------------------------------------------------------------------------
5+
6+
from azure.cli.core.breaking_change import register_argument_deprecate, register_output_breaking_change
7+
8+
# Arguments
9+
register_argument_deprecate(
10+
"az batch pool create",
11+
argument="--target-communication"
12+
)
13+
14+
# fixed with action=None but check with CLI team
15+
register_argument_deprecate(
16+
"az batch pool create",
17+
argument="--resource-tags"
18+
)
19+
20+
register_argument_deprecate(
21+
"az batch pool reset",
22+
argument="--target-communication"
23+
)
24+
register_argument_deprecate(
25+
"az batch pool set",
26+
argument="--target-communication"
27+
)
28+
29+
# Outputs
30+
register_output_breaking_change(
31+
"batch pool show",
32+
description="Remove output fields `targetNodeCommunicationMode`, `currentNodeCommunicationMode`, and `resourceTags`"
33+
)
34+
35+
register_output_breaking_change(
36+
"batch pool list",
37+
description="Remove output fields `targetNodeCommunicationMode`, `currentNodeCommunicationMode`, and `resourceTags`"
38+
)

0 commit comments

Comments
 (0)