az container container-group-profile
Azure Container Instance Container Group Profile を管理します。
コマンド
| 名前 | 説明 | 型 | 状態 |
|---|---|---|---|
| az container container-group-profile create |
コンテナー グループ プロファイルを作成します。 |
Core | GA |
| az container container-group-profile delete |
コンテナー グループ プロファイルを削除します。 |
Core | GA |
| az container container-group-profile list |
リソース グループ内のすべてのコンテナー グループ プロファイルを一覧表示します。 |
Core | GA |
| az container container-group-profile list-revisions |
コンテナー グループ プロファイルのすべてのリビジョンを一覧表示します。 |
Core | GA |
| az container container-group-profile show |
コンテナー グループ プロファイルを取得します。 |
Core | GA |
| az container container-group-profile show-revision |
コンテナー グループ プロファイルのリビジョンを表示します。 |
Core | GA |
az container container-group-profile create
コンテナー グループ プロファイルを作成します。
az container container-group-profile create --resource-group
[--acr-identity]
[--add-capabilities]
[--allow-escalation]
[--azure-file-volume-account-key]
[--azure-file-volume-account-name]
[--azure-file-volume-mount-path]
[--azure-file-volume-share-name]
[--cce-policy]
[--command-line]
[--config-map]
[--cpu]
[--drop-capabilities]
[--environment-variables]
[--file]
[--gitrepo-dir]
[--gitrepo-mount-path]
[--gitrepo-revision]
[--gitrepo-url]
[--image]
[--ip-address {Private, Public}]
[--___location]
[--log-analytics-workspace]
[--log-analytics-workspace-key]
[--memory]
[--name]
[--no-wait]
[--os-type {Linux, Windows}]
[--ports]
[--priority]
[--privileged]
[--protocol {TCP, UDP}]
[--registry-login-server]
[--registry-password]
[--registry-username]
[--restart-policy {Always, Never, OnFailure}]
[--run-as-group]
[--run-as-user]
[--seccomp-profile]
[--secrets]
[--secrets-mount-path]
[--secure-environment-variables]
[--sku]
[--zone]
例
コンテナー グループ プロファイルを作成します。
az container container-group-profile create --resource-group MyResourceGroup --name myapp --image myimage:latest --cpu 1 --memory 1
必須のパラメーター
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
コンテナー レジストリにアクセスできる ID。
| プロパティ | 値 |
|---|---|
| Parameter group: | Image Registry Arguments |
追加するセキュリティ コンテキスト機能の一覧。
| プロパティ | 値 |
|---|---|
| Parameter group: | Confidential Container Group Arguments |
プロセスが親プロセスよりも多くの特権を取得できるかどうかを許可します。
| プロパティ | 値 |
|---|---|
| Parameter group: | Confidential Container Group Arguments |
| 規定値: | False |
Azure ファイル共有へのアクセスに使用されるストレージ アカウント アクセス キー。
| プロパティ | 値 |
|---|---|
| Parameter group: | Azure File Volume Arguments |
Azure ファイル共有を含むストレージ アカウントの名前。
| プロパティ | 値 |
|---|---|
| Parameter group: | Azure File Volume Arguments |
Azure ファイル ボリュームをマウントするコンテナー内のパス。 コロン ':' を含めてはなりません。
| プロパティ | 値 |
|---|---|
| Parameter group: | Azure File Volume Arguments |
ボリュームとしてマウントする Azure ファイル共有の名前。
| プロパティ | 値 |
|---|---|
| Parameter group: | Azure File Volume Arguments |
機密コンテナー グループの CCE ポリシー。
| プロパティ | 値 |
|---|---|
| Parameter group: | Confidential Container Group Arguments |
コンテナーの起動時に実行するコマンド ライン (例: '/bin/bash -c myscript.sh')。
コンテナーの構成マップのキーと値のペアの一覧。 'key=value' 形式のスペース区切り値。
コンテナーの必要な CPU コア数。小数点以下 1 桁まで正確です。
| プロパティ | 値 |
|---|---|
| 規定値: | 1 |
削除するセキュリティ コンテキスト機能の一覧。
| プロパティ | 値 |
|---|---|
| Parameter group: | Confidential Container Group Arguments |
コンテナーの環境変数の一覧。 'key=value' 形式のスペース区切り値。
入力ファイルへのパス。
Git リポジトリ内のターゲット ディレクトリ パス。 '..' を含めてはなりません。
| プロパティ | 値 |
|---|---|
| Parameter group: | Git Repo Volume Arguments |
| 規定値: | . |
Git リポジトリ ボリュームをマウントするコンテナー内のパス。 コロン ':' を含めてはなりません。
| プロパティ | 値 |
|---|---|
| Parameter group: | Git Repo Volume Arguments |
指定したリビジョンのコミット ハッシュ。
| プロパティ | 値 |
|---|---|
| Parameter group: | Git Repo Volume Arguments |
ボリュームとしてマウントする Git リポジトリの URL。
| プロパティ | 値 |
|---|---|
| Parameter group: | Git Repo Volume Arguments |
コンテナー イメージ名。
コンテナー グループの IP アドレスの種類。
| プロパティ | 値 |
|---|---|
| 指定可能な値: | Private, Public |
Location. 値のソース: az account list-locations
az configure --defaults ___location=<___location>を使用して、既定の場所を構成できます。
Log Analytics ワークスペースの名前または ID。現在のサブスクリプションを使用するか、--subscription フラグを使用して目的のサブスクリプションを設定します。
| プロパティ | 値 |
|---|---|
| Parameter group: | Log Analytics Arguments |
Log Analytics ワークスペース キー。
| プロパティ | 値 |
|---|---|
| Parameter group: | Log Analytics Arguments |
コンテナーの必要なメモリ (GB 単位)。小数点以下 1 桁まで正確です。
| プロパティ | 値 |
|---|---|
| 規定値: | 1.5 |
コンテナー グループの名前。
実行時間の長い操作が完了するまで待つ必要はありません。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
コンテナーの OS の種類。
| プロパティ | 値 |
|---|---|
| 規定値: | Linux |
| 指定可能な値: | Linux, Windows |
開くポートの一覧。 ポートのスペース区切りの一覧。
| プロパティ | 値 |
|---|---|
| 規定値: | [80] |
コンテナー グループの優先順位。
コンテナーのアクセス許可が Privileged に昇格されているかどうかを判断するフラグ。
| プロパティ | 値 |
|---|---|
| Parameter group: | Confidential Container Group Arguments |
| 規定値: | False |
使用するネットワーク プロトコル。
| プロパティ | 値 |
|---|---|
| 指定可能な値: | TCP, UDP |
コンテナー イメージ レジストリ ログイン サーバー。
| プロパティ | 値 |
|---|---|
| Parameter group: | Image Registry Arguments |
コンテナー イメージ レジストリ サーバーにログインするためのパスワード。
| プロパティ | 値 |
|---|---|
| Parameter group: | Image Registry Arguments |
コンテナー イメージ レジストリ サーバーにログインするユーザー名。
| プロパティ | 値 |
|---|---|
| Parameter group: | Image Registry Arguments |
コンテナー グループ内のすべてのコンテナーのポリシーを再起動します。
| プロパティ | 値 |
|---|---|
| 指定可能な値: | Always, Never, OnFailure |
コンテナーのユーザー UID を設定します。
| プロパティ | 値 |
|---|---|
| Parameter group: | Confidential Container Group Arguments |
コンテナーのユーザー GID を設定します。
| プロパティ | 値 |
|---|---|
| Parameter group: | Confidential Container Group Arguments |
seccomp プロファイル内の JSON の内容を含む base64 でエンコードされた文字列。
| プロパティ | 値 |
|---|---|
| Parameter group: | Confidential Container Group Arguments |
'key=value' 形式のスペース区切りシークレット。
シークレット ボリュームをマウントするコンテナー内のパス。 コロン ':' を含めてはなりません。
コンテナーのセキュリティで保護された環境変数の一覧。 'key=value' 形式のスペース区切り値。
コンテナー グループの SKU。
コンテナー グループを配置するゾーン。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
az container container-group-profile delete
コンテナー グループ プロファイルを削除します。
az container container-group-profile delete [--ids]
[--name]
[--resource-group]
[--subscription]
[--yes]
例
コンテナー グループ プロファイルを削除します。
az container container-group-profile delete --resource-group MyResourceGroup --name mycgprofile
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
コンテナー グループの名前。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
確認を求めないでください。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
az container container-group-profile list
リソース グループ内のすべてのコンテナー グループ プロファイルを一覧表示します。
az container container-group-profile list [--resource-group]
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
az container container-group-profile list-revisions
コンテナー グループ プロファイルのすべてのリビジョンを一覧表示します。
az container container-group-profile list-revisions [--ids]
[--name]
[--resource-group]
[--subscription]
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
コンテナー グループの名前。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
az container container-group-profile show
コンテナー グループ プロファイルを取得します。
az container container-group-profile show [--ids]
[--name]
[--resource-group]
[--subscription]
例
コンテナー グループ プロファイルを取得します。
az container container-group-profile show --resource-group MyResourceGroup --name mycgprofile
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
コンテナー グループの名前。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
az container container-group-profile show-revision
コンテナー グループ プロファイルのリビジョンを表示します。
az container container-group-profile show-revision
[--ids]
[--name]
[--resource-group]
[--subscription]
例
コンテナー グループ プロファイルを表示します。
az container container-group-profile show-revision --resource-group MyResourceGroup --name mycgprofile -r 1
必須のパラメーター
コンテナー グループ プロファイルのリビジョン。
省略可能のパラメーター
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
コンテナー グループの名前。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
| プロパティ | 値 |
|---|---|
| Parameter group: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |