az servicebus namespace encryption

servicebus 名前空間の暗号化プロパティを管理します。

コマンド

名前 説明 Status
az servicebus namespace encryption add

名前空間に暗号化プロパティを追加します。

コア GA
az servicebus namespace encryption remove

名前空間から 1 つ以上の暗号化プロパティを削除します。

コア GA

az servicebus namespace encryption add

名前空間に暗号化プロパティを追加します。

az servicebus namespace encryption add --encryption-config
                                       --namespace-name
                                       --resource-group
                                       [--infra-encryption {false, true}]

ユーザー割り当て ID が既に有効になっている名前空間に対して 2 つの異なる暗号化プロパティを設定する

az servicebus namespace encryption add --namespace-name mynamespace -g MyResourceGroup --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName2

必須のパラメーター

--encryption-config

KeyVaultProperties オブジェクトの一覧。

--namespace-name

名前空間の名前。

--resource-group -g

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

省略可能のパラメーター

--infra-encryption

Infrastructure Encryption (Double Encryption) かどうかを示すブール値。

承認された値: false, true
グローバル パラメーター
--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 servicebus namespace encryption remove

名前空間から 1 つ以上の暗号化プロパティを削除します。

az servicebus namespace encryption remove --encryption-config
                                          --namespace-name
                                          --resource-group

ユーザー割り当て ID が既に有効になっている名前空間の暗号化プロパティを削除する

az servicebus namespace encryption remove --namespace-name mynamespace -g MyResourceGroup --encryption-config key-name=key1 key-vault-uri=https://mykeyvault.vault.azure.net/ user-assigned-identity=/subscriptions/{subscriptionId}}/resourceGroups/{resourcegroup}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MSIName

必須のパラメーター

--encryption-config

KeyVaultProperties オブジェクトの一覧。

--namespace-name

名前空間の名前。

--resource-group -g

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

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