次の方法で共有


az acr config content-trust

コンテンツ信頼は非推奨となり、2028 年 3 月 31 日に完全に削除されます。 詳細と移行のガイダンスについては、 https://aka.ms/acr/dctdeprecation を参照してください

Azure Container Registries のコンテンツ信頼ポリシーを管理します。

コマンド

名前 説明 状態
az acr config content-trust show

Azure Container Registry の構成済みのコンテンツ信頼ポリシーを表示します。

Core Deprecated
az acr config content-trust update

Azure Container Registry のコンテンツ信頼ポリシーを更新します。

Core Deprecated

az acr config content-trust show

非推奨

コマンド グループ 'acr config content-trust' は非推奨となり、今後のリリースで削除されるため、このコマンドは暗黙的に非推奨となります。

Azure Container Registry の構成済みのコンテンツ信頼ポリシーを表示します。

az acr config content-trust show --registry
                                 [--resource-group]

Azure Container Registry の構成済みのコンテンツ信頼ポリシーを表示する

az acr config content-trust show -r myregistry

必須のパラメーター

--registry -r

コンテナー レジストリの名前。 小文字で指定する必要があります。 az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--resource-group -g

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

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

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

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

--only-show-errors

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

プロパティ
規定値: False
--output -o

出力フォーマット。

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--subscription

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

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False

az acr config content-trust update

非推奨

コマンド グループ 'acr config content-trust' は非推奨となり、今後のリリースで削除されるため、このコマンドは暗黙的に非推奨となります。

Azure Container Registry のコンテンツ信頼ポリシーを更新します。

az acr config content-trust update --registry
                                   [--resource-group]
                                   [--status {disabled, enabled}]

Azure Container Registry のコンテンツ信頼ポリシーを更新する

az acr config content-trust update -r myregistry --status Enabled

必須のパラメーター

--registry -r

コンテナー レジストリの名前。 小文字で指定する必要があります。 az configure --defaults acr=<registry name>を使用して、既定のレジストリ名を構成できます。

省略可能のパラメーター

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--resource-group -g

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

--status

コンテンツ信頼が有効かどうかを示します。

プロパティ
指定可能な値: disabled, enabled
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

プロパティ
規定値: False
--help -h

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

--only-show-errors

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

プロパティ
規定値: False
--output -o

出力フォーマット。

プロパティ
規定値: json
指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
--query

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

--subscription

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

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

プロパティ
規定値: False