az blueprint version artifact

Note

This reference is part of the blueprint extension for the Azure CLI (version 2.3.0 or higher). The extension will automatically install the first time you run an az blueprint version artifact command. Learn more about extensions.

Commands to manage published blueprint artifacts.

Commands

az blueprint version artifact list

List artifacts for a version of a published blueprint.

az blueprint version artifact show

Show an artifact for a published blueprint.

az blueprint version artifact list

List artifacts for a version of a published blueprint.

az blueprint version artifact list --blueprint-name
                                   --version
                                   [--management-group]
                                   [--subscription]

Examples

List artifacts of a published management group blueprint

az blueprint version artifact list --management-group MyManagementGroup --blueprint-name \
MyBlueprint --version v2

List artifacts of a published subscription blueprint

az blueprint version artifact list --subscription MySubscription \
--blueprint-name MyBlueprint \
--version v2

Required Parameters

--blueprint-name

Name of the blueprint definition.

--version

Version of the published blueprint definition.

Optional Parameters

--management-group -m

Use management group for the scope of the blueprint.

--subscription -s

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.

az blueprint version artifact show

Show an artifact for a published blueprint.

az blueprint version artifact show --artifact-name
                                   --blueprint-name
                                   --version
                                   [--management-group]
                                   [--subscription]

Examples

Show a role assignment artifact

az blueprint version artifact show --subscription MySubscription \
--blueprint-name MyBlueprint \
--version v2 --artifact-name OwnerAssignment

Show a template artifact

az blueprint version artifact show --management-group MyManagementGroup --blueprint-name \
MyBlueprint --version v2 --artifact-name StorageTemplate

Required Parameters

--artifact-name

Name of the blueprint artifact.

--blueprint-name

Name of the blueprint definition.

--version

Version of the published blueprint definition.

Optional Parameters

--management-group -m

Use management group for the scope of the blueprint.

--subscription -s

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.