az blueprint artifact template

Note

このリファレンスは、Azure CLI (バージョン 2.50.0 以降) のブループリント拡張機能の一部です。 拡張機能は、az blueprint artifact template コマンドを初めて実行するときに自動的にインストールされます。 拡張機能の詳細をご覧ください。

ブループリント ARM テンプレート成果物を管理するコマンド。

コマンド

名前 説明 Status
az blueprint artifact template create

ブループリント アームアーティファクトを作成します。

拡張 GA
az blueprint artifact template update

ブループリント アームアーティファクトを更新します。

拡張 GA

az blueprint artifact template create

ブループリント アームアーティファクトを作成します。

az blueprint artifact template create --artifact-name
                                      --blueprint-name
                                      --template
                                      [--depends-on]
                                      [--description]
                                      [--display-name]
                                      [--management-group]
                                      [--parameters]
                                      [--resource-group-art]
                                      [--subscription]

arm アーティファクトを作成する

az blueprint artifact template create \
--blueprint-name MyBlueprint --artifact-name MyTemplate \
--parameters path/to/parameter/file --template path/to/template

必須のパラメーター

--artifact-name

ブループリント アーティファクトの名前。

--blueprint-name

ブループリント定義の名前。

--template -t

JSON 文字列または JSON ファイルへのパスの ARM テンプレート。

省略可能のパラメーター

--depends-on

指定した成果物の前にデプロイする必要がある成果物。

--description

ブループリント アーティファクトの説明。

--display-name

この成果物の DisplayName。

--management-group -m

ブループリントのスコープには管理グループを使用します。

--parameters -p

ARM テンプレート成果物のパラメーター。 JSON 文字列または JSON ファイル パスを指定できます。

--resource-group-art

ポリシーが割り当てられるリソース グループ成果物の名前。

--subscription -s

ブループリントのスコープにはサブスクリプションを使用します。 --management-group が指定されていない場合、--subscription 値または既定のサブスクリプションがスコープとして使用されます。

グローバル パラメーター
--debug

すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告は抑制します。

--output -o

出力形式。

承認された値: json, jsonc, none, table, tsv, yaml, yamlc
既定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_ID を使用して、既定のサブスクリプションを構成できます。

--verbose

ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。

az blueprint artifact template update

ブループリント アームアーティファクトを更新します。

az blueprint artifact template update --artifact-name
                                      --blueprint-name
                                      [--depends-on]
                                      [--description]
                                      [--display-name]
                                      [--management-group]
                                      [--parameters]
                                      [--resource-group-art]
                                      [--subscription]
                                      [--template]

arm アーティファクトを更新する

az blueprint artifact template update \
--blueprint-name MyBlueprint --artifact-name MyTemplate --display-name "My Template"

必須のパラメーター

--artifact-name

ブループリント アーティファクトの名前。

--blueprint-name

ブループリント定義の名前。

省略可能のパラメーター

--depends-on

指定した成果物の前にデプロイする必要がある成果物。 依存関係を削除するには、値なしで '--depends-on' を使用します。

--description

ブループリント アーティファクトの説明。

--display-name

この成果物の DisplayName。

--management-group -m

ブループリントのスコープには管理グループを使用します。

--parameters -p

ARM テンプレート成果物のパラメーター。 JSON 文字列または JSON ファイル パスを指定できます。

--resource-group-art

ポリシーが割り当てられるリソース グループ成果物の名前。

--subscription -s

ブループリントのスコープにはサブスクリプションを使用します。 --management-group が指定されていない場合、--subscription 値または既定のサブスクリプションがスコープとして使用されます。

--template -t

JSON 文字列または JSON ファイルへのパスの ARM テンプレート。

グローバル パラメーター
--debug

すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告は抑制します。

--output -o

出力形式。

承認された値: json, jsonc, none, table, tsv, yaml, yamlc
既定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_ID を使用して、既定のサブスクリプションを構成できます。

--verbose

ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。