Share via


az spring application-configuration-service git repo

Note

このリファレンスは、Azure CLI (バージョン 2.56.0 以降) の Spring 拡張機能の一部です。 拡張機能は、az spring application-configuration-service git repo コマンドを初めて実行するときに自動的にインストールされます。 拡張機能の詳細をご覧ください。

Azure Spring Apps で Application Configuration Service Git リポジトリを管理するコマンド。

コマンド

名前 説明 Status
az spring application-configuration-service git repo add

Git プロパティを Application Configuration Service の設定に追加します。

拡張子 GA
az spring application-configuration-service git repo list

Application Configuration Service のすべての Git 設定を一覧表示します。

拡張子 GA
az spring application-configuration-service git repo remove

Application Configuration Service の設定から既存の Git プロパティを削除します。

拡張子 GA
az spring application-configuration-service git repo update

Application Configuration Service の設定で既存の Git プロパティを更新します。

拡張子 GA

az spring application-configuration-service git repo add

Git プロパティを Application Configuration Service の設定に追加します。

az spring application-configuration-service git repo add --label
                                                         --name
                                                         --patterns
                                                         --resource-group
                                                         --service
                                                         --uri
                                                         [--ca-cert-name]
                                                         [--host-key]
                                                         [--host-key-algorithm]
                                                         [--host-key-check]
                                                         [--password]
                                                         [--private-key]
                                                         [--search-paths]
                                                         [--username]

Git プロパティを追加します。

az spring application-configuration-service git repo add -s MyService -g MyResourceGroup --name MyName --patterns MyPattern --uri https://MyURI --label master

必須のパラメーター

--label

Git リポジトリで検索するために必要なブランチ名。

--name -n

Git 構成の各項目にラベルを付けるために必要な一意の名前。

--patterns

Git リポジトリで検索するために使用する必要なパターン。 パターンごとに、{application}-{profile}.ymlの代わりに {application} や {application}/{profile} などの形式を使用し、コンマで区切ります。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name> を使用して、既定のグループを構成できます。

--service -s

Azure Spring Apps インスタンスの名前。az configure --defaults spring= を使用して既定のサービスを構成できます。

--uri

必要な Git URI。

省略可能のパラメーター

--ca-cert-name

CA 証明書名。

--host-key

追加された構成のホスト キー。

--host-key-algorithm

追加された構成のホスト キー アルゴリズム。

--host-key-check

SSH 認証で使用される追加された構成の厳密なホスト キーのチェック。 false の場合は、ホスト キーのエラーを無視します。

--password

追加される構成のパスワード。

--private-key

追加された構成のPrivate_key。

--search-paths

追加された構成のSearch_pathsは、複数のパスの区切り記号として使用します。

--username

追加される構成のユーザー名。

グローバル パラメーター
--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 spring application-configuration-service git repo list

Application Configuration Service のすべての Git 設定を一覧表示します。

az spring application-configuration-service git repo list --resource-group
                                                          --service

必須のパラメーター

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name> を使用して、既定のグループを構成できます。

--service -s

Azure Spring Apps インスタンスの名前。az configure --defaults spring= を使用して既定のサービスを構成できます。

グローバル パラメーター
--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 spring application-configuration-service git repo remove

Application Configuration Service の設定から既存の Git プロパティを削除します。

az spring application-configuration-service git repo remove --name
                                                            --resource-group
                                                            --service

Git プロパティを削除します。

az spring application-configuration-service git repo remove -s MyService -g MyResourceGroup --name MyName

必須のパラメーター

--name -n

Git 構成の各項目にラベルを付けるために必要な一意の名前。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name> を使用して、既定のグループを構成できます。

--service -s

Azure Spring Apps インスタンスの名前。az configure --defaults spring= を使用して既定のサービスを構成できます。

グローバル パラメーター
--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 spring application-configuration-service git repo update

Application Configuration Service の設定で既存の Git プロパティを更新します。

az spring application-configuration-service git repo update --name
                                                            --resource-group
                                                            --service
                                                            [--ca-cert-name]
                                                            [--host-key]
                                                            [--host-key-algorithm]
                                                            [--host-key-check]
                                                            [--label]
                                                            [--password]
                                                            [--patterns]
                                                            [--private-key]
                                                            [--search-paths]
                                                            [--uri]
                                                            [--username]

Git プロパティを更新します。

az spring application-configuration-service git repo update -s MyService -g MyResourceGroup --name MyName --patterns MyPattern

必須のパラメーター

--name -n

Git 構成の各項目にラベルを付けるために必要な一意の名前。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name> を使用して、既定のグループを構成できます。

--service -s

Azure Spring Apps インスタンスの名前。az configure --defaults spring= を使用して既定のサービスを構成できます。

省略可能のパラメーター

--ca-cert-name

CA 証明書名。

--host-key

追加された構成のホスト キー。

--host-key-algorithm

追加された構成のホスト キー アルゴリズム。

--host-key-check

SSH 認証で使用される追加された構成の厳密なホスト キーのチェック。 false の場合は、ホスト キーのエラーを無視します。

--label

Git リポジトリで検索するために必要なブランチ名。

--password

追加される構成のパスワード。

--patterns

Git リポジトリで検索するために使用する必要なパターン。 パターンごとに、{application}-{profile}.ymlの代わりに {application} や {application}/{profile} などの形式を使用し、コンマで区切ります。

--private-key

追加された構成のPrivate_key。

--search-paths

追加された構成のSearch_pathsは、複数のパスの区切り記号として使用します。

--uri

必要な Git URI。

--username

追加される構成のユーザー名。

グローバル パラメーター
--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 を使います。