Skip to content

Commit d8f5740

Browse files
committed
include-classic-administrators
1 parent 4387901 commit d8f5740

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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
7+
8+
register_argument_deprecate('role assignment list', '--include-classic-administrators')

src/azure-cli/azure/cli/command_modules/role/_params.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,7 @@ def load_arguments(self, _):
329329
"use the object id and not the app id.")
330330
c.argument('ids', nargs='+', help='space-separated role assignment ids')
331331
c.argument('include_classic_administrators', arg_type=get_three_state_flag(),
332-
help='list default role assignments for subscription classic administrators, aka co-admins',
333-
deprecate_info=c.deprecate(target='--include-classic-administrators'))
332+
help='list default role assignments for subscription classic administrators, aka co-admins')
334333
c.argument('description', is_preview=True, min_api='2020-04-01-preview', help='Description of role assignment.')
335334
c.argument('condition', is_preview=True, min_api='2020-04-01-preview', help='Condition under which the user can be granted permission.')
336335
c.argument('condition_version', is_preview=True, min_api='2020-04-01-preview', help='Version of the condition syntax. If --condition is specified without --condition-version, default to 2.0.')

0 commit comments

Comments
 (0)