diff --git a/src/blueprint/HISTORY.rst b/src/blueprint/HISTORY.rst index ae49811461f..f4bde44066f 100644 --- a/src/blueprint/HISTORY.rst +++ b/src/blueprint/HISTORY.rst @@ -2,6 +2,10 @@ Release History =============== +1.0.0b1 ++++++ +* Deprecate blueprint commands + 0.3.2 +++++ * Migrate to atomic commands diff --git a/src/blueprint/azext_blueprint/_breaking_change.py b/src/blueprint/azext_blueprint/_breaking_change.py new file mode 100644 index 00000000000..dc4cfae870b --- /dev/null +++ b/src/blueprint/azext_blueprint/_breaking_change.py @@ -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) diff --git a/src/blueprint/azext_blueprint/azext_metadata.json b/src/blueprint/azext_blueprint/azext_metadata.json index 3f82093c78b..7e5dc9636ac 100644 --- a/src/blueprint/azext_blueprint/azext_metadata.json +++ b/src/blueprint/azext_blueprint/azext_metadata.json @@ -1,4 +1,4 @@ { - "azext.isExperimental": true, + "azext.isPreview": true, "azext.minCliCoreVersion": "2.50.0" } \ No newline at end of file diff --git a/src/blueprint/azext_blueprint/custom.py b/src/blueprint/azext_blueprint/custom.py index 637b96b3c8e..f7fadc76449 100644 --- a/src/blueprint/azext_blueprint/custom.py +++ b/src/blueprint/azext_blueprint/custom.py @@ -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 diff --git a/src/blueprint/setup.py b/src/blueprint/setup.py index 9eca552b598..2264a5e387b 100644 --- a/src/blueprint/setup.py +++ b/src/blueprint/setup.py @@ -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