az storage account file-service-properties

ストレージ アカウント内のファイル サービスのプロパティを管理します。

コマンド

名前 説明 Status
az storage account file-service-properties show

ストレージ アカウント内のファイル サービスのプロパティを表示します。

コア GA
az storage account file-service-properties update

ストレージ アカウント内のファイル サービスのプロパティを更新します。

コア GA

az storage account file-service-properties show

ストレージ アカウント内のファイル サービスのプロパティを表示します。

az storage account file-service-properties show --account-name
                                                [--resource-group]

ストレージ アカウント内のファイル サービスのプロパティを表示します。

az storage account file-service-properties show -n mystorageaccount -g MyResourceGroup

必須のパラメーター

--account-name -n

ストレージ アカウントの名前。

省略可能のパラメーター

--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 を使います。

az storage account file-service-properties update

ストレージ アカウント内のファイル サービスのプロパティを更新します。

az storage account file-service-properties update --account-name
                                                  [--add]
                                                  [--auth-methods]
                                                  [--channel-encryption]
                                                  [--delete-retention-days]
                                                  [--enable-delete-retention {false, true}]
                                                  [--enable-smb-multichannel {false, true}]
                                                  [--force-string]
                                                  [--kerb-ticket-encryption]
                                                  [--remove]
                                                  [--resource-group]
                                                  [--set]
                                                  [--versions]

論理的な削除ポリシーを有効にし、ストレージ アカウントのファイル サービスの削除の保持日数を 100 に設定します。

az storage account file-service-properties update --enable-delete-retention true --delete-retention-days 100 -n mystorageaccount -g MyResourceGroup

ファイル サービスの論理的な削除ポリシーを無効にします。

az storage account file-service-properties update --enable-delete-retention false -n mystorageaccount -g MyResourceGroup

ファイル サービスの S MB (メガバイト) マルチチャネル設定を有効にします。

az storage account file-service-properties update --enable-smb-multichannel -n mystorageaccount -g MyResourceGroup

ファイル サービスの S MB (メガバイト) マルチチャネル設定を無効にします。

az storage account file-service-properties update --enable-smb-multichannel false -n mystorageaccount -g MyResourceGroup

ファイル サービスのセキュリティで保護された S MB (メガバイト) 設定を設定します。

az storage account file-service-properties update --versions SMB2.1;SMB3.0;SMB3.1.1 --auth-methods NTLMv2;Kerberos --kerb-ticket-encryption RC4-HMAC;AES-256 --channel-encryption AES-128-CCM;AES-128-GCM;AES-256-GCM -n mystorageaccount -g MyResourceGroup

必須のパラメーター

--account-name -n

ストレージ アカウントの名前。

省略可能のパラメーター

--add

パスとキー値のペアを指定して、オブジェクトの一覧にオブジェクトを追加します。 例: --add property.listProperty <key=value, string or JSON string>

既定値: []
--auth-methods

サーバーでサポートされている S MB (メガバイト) 認証方法。 有効な値は NTLMv2、Kerberos です。 区切り記号 ';' を持つ文字列として渡す必要があります。

--channel-encryption

サーバーでサポートされている S MB (メガバイト) チャネル暗号化。 有効な値は、AES-128-CCM、AES-128-GCM、AES-256-GCM です。 区切り記号 ';' を持つ文字列として渡す必要があります。

--delete-retention-days

削除されたアイテムを保持する日数を示します。 指定できる最小値は 1、最大値は 365 です。

--enable-delete-retention

共有の論理的な削除に対してファイル サービスのプロパティを有効にします。

承認された値: false, true
--enable-smb-multichannel --mc

ファイル サービスの S MB (メガバイト) マルチチャネル設定を設定します。 プレミアム FileStorage にのみ適用されます。

承認された値: false, true
--force-string

'set' または 'add' を使用する場合は、JSON に変換するのではなく、文字列リテラルを保持します。

既定値: False
--kerb-ticket-encryption -k

サーバーでサポートされている Kerberos チケット暗号化。 有効な値は RC4-HMAC、AES-256 です。 区切り記号 ';' を持つ文字列として渡す必要があります。

--remove

リストからプロパティまたは要素を削除します。 例: --remove property.list <indexToRemove> OR --remove propertyToRemove.

既定値: []
--resource-group -g

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

--set

設定するプロパティ パスと値を指定して、オブジェクトを更新します。 例: --set property1.property2=<value>

既定値: []
--versions

サーバーでサポートされている S MB (メガバイト) プロトコル のバージョン。 有効な値は、S MB (メガバイト)2.1、S MB (メガバイト)3.0、S MB (メガバイト)3.1.1 です。 区切り記号 ';' を持つ文字列として渡す必要があります。

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