Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/blueprint/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Release History
===============
1.0.0b1
+++++
* Deprecate blueprint commands

0.3.2
+++++
* Migrate to atomic commands
Expand Down
18 changes: 18 additions & 0 deletions src/blueprint/azext_blueprint/_breaking_change.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# --------------------------------------------------------------------------------------------
# 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_group_deprecate, register_other_breaking_change


register_command_group_deprecate('az blueprint')

message = """Blueprints and associated commands will be deprecated
as early as July 2026. Customers are encouraged to transition to
Template Specs and Deployments Stacks to support their scenarios beyond that date.
Migration documentation is available at
https://learn.microsoft.com/en-us/azure/azure-resource-manager/bicep/migrate-blueprint."""

register_other_breaking_change('az blueprint', message)
2 changes: 1 addition & 1 deletion src/blueprint/azext_blueprint/azext_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"azext.isExperimental": true,
"azext.isPreview": true,
"azext.minCliCoreVersion": "2.50.0"
}
4 changes: 2 additions & 2 deletions src/blueprint/azext_blueprint/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ def build_arguments_schema(args_schema):
arg_group="Resource_scope",
help="Use subscription for the scope of the blueprint. If --management-group is not specified, "
"--subscription value or the default subscription will be used as the scope.")
args_schema.resource_scope._required = False
args_schema.resource_scope._registered = False
args_schema.resource_scope._required = False # pylint: disable=W0212
args_schema.resource_scope._registered = False # pylint: disable=W0212
return args_schema


Expand Down
2 changes: 1 addition & 1 deletion src/blueprint/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# TODO: Confirm this is the right version number you want and it matches your
# HISTORY.rst entry.
VERSION = '0.3.2'
VERSION = '1.0.0b1'


# The full list of classifiers is available at
Expand Down
Loading