File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
src/blueprint/azext_blueprint Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 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+
7+ from azure .cli .core .breaking_change import register_command_group_deprecate , register_other_breaking_change
8+
9+
10+ register_command_group_deprecate ('az blueprint' )
11+
12+ message = """Blueprints and associated commands will be deprecated
13+ ' as early as July 2026. Customers are encouraged to transition to
14+ ' Template Specs and Deployments Stacks to support their scenarios beyond that date.
15+ ' Migration documentation is available at
16+ ' https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/migrate-blueprint."""
17+
18+ register_other_breaking_change ('az blueprint' , message )
Original file line number Diff line number Diff line change @@ -114,8 +114,8 @@ def build_arguments_schema(args_schema):
114114 arg_group = "Resource_scope" ,
115115 help = "Use subscription for the scope of the blueprint. If --management-group is not specified, "
116116 "--subscription value or the default subscription will be used as the scope." )
117- args_schema .resource_scope ._required = False
118- args_schema .resource_scope ._registered = False
117+ args_schema .resource_scope ._required = False # pylint: disable=W0212
118+ args_schema .resource_scope ._registered = False # pylint: disable=W0212
119119 return args_schema
120120
121121
You can’t perform that action at this time.
0 commit comments