Skip to content

Commit c3bdf1f

Browse files
seligj95nddq
authored andcommitted
[App Service] az webapp list-runtimes: Pre-announce breaking changes (Azure#32905)
1 parent 3002027 commit c3bdf1f

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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_output_breaking_change,
7+
register_argument_deprecate)
8+
9+
# az webapp list-runtimes output format change
10+
register_output_breaking_change(
11+
'webapp list-runtimes',
12+
description='The output will change from a flat list of strings to a structured list of objects '
13+
'with keys: os, runtime, version, config, support, end_of_life.',
14+
guide='Update scripts that parse the current string-list output. The new output is a list of '
15+
'dicts with keys: os, runtime, version, config, support, end_of_life. '
16+
'New --runtime and --support filter parameters will be added. '
17+
'Use -o table for a human-readable view, or -o json and parse the new structured format.')
18+
19+
# az webapp list-runtimes --linux removal
20+
register_argument_deprecate('webapp list-runtimes', '--linux', redirect='--os-type')
21+
22+
# az webapp list-runtimes --show-runtime-details removal
23+
register_argument_deprecate('webapp list-runtimes', '--show-runtime-details')

0 commit comments

Comments
 (0)