次の方法で共有


IEncryptionScopesOperations.PatchWithHttpMessagesAsync メソッド

定義

要求本文で指定されているように、暗号化スコープのプロパティを更新します。 指定した暗号化スコープがまだ存在しない場合、更新は失敗します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Storage.Models.EncryptionScope>> PatchWithHttpMessagesAsync (string resourceGroupName, string accountName, string encryptionScopeName, Microsoft.Azure.Management.Storage.Models.EncryptionScope encryptionScope, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member PatchWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Storage.Models.EncryptionScope * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Storage.Models.EncryptionScope>>
Public Function PatchWithHttpMessagesAsync (resourceGroupName As String, accountName As String, encryptionScopeName As String, encryptionScope As EncryptionScope, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of EncryptionScope))

パラメーター

resourceGroupName
String

ユーザーのサブスクリプション内のリソース グループの名前。 名前の大文字と小文字は区別されます。

accountName
String

指定したリソース グループ内のストレージ アカウントの名前。 ストレージ アカウント名の長さは 3 ~ 24 文字で、数字と小文字のみを使用する必要があります。

encryptionScopeName
String

指定したストレージ アカウント内の暗号化スコープの名前。 暗号化スコープ名の長さは 3 ~ 63 文字にする必要があり、数字、小文字、ダッシュ (-) のみを使用します。 すべてのダッシュ (-) 文字は、その直前および直後に文字または数字が使用されている必要があります。

encryptionScope
EncryptionScope

更新に使用する暗号化スコープのプロパティ。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

適用対象