次の方法で共有


ILocalUsersOperations.CreateOrUpdateWithHttpMessagesAsync メソッド

定義

ストレージ アカウントに関連付けられているローカル ユーザーのプロパティを作成または更新する

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Storage.Models.LocalUser>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string accountName, string username, Microsoft.Azure.Management.Storage.Models.LocalUser properties, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Storage.Models.LocalUser * 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.LocalUser>>
Public Function CreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, accountName As String, username As String, properties As LocalUser, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of LocalUser))

パラメーター

resourceGroupName
String

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

accountName
String

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

username
String

ローカル ユーザーの名前。 ユーザー名には小文字と数字のみを含む必要があります。 ストレージ アカウント内でのみ一意である必要があります。

properties
LocalUser

ストレージ アカウントに関連付けられているローカル ユーザー。

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

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

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

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

適用対象