次の方法で共有


LocalUsersOperationsExtensions.CreateOrUpdateAsync メソッド

定義

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.LocalUser> CreateOrUpdateAsync(this Microsoft.Azure.Management.Storage.ILocalUsersOperations operations, string resourceGroupName, string accountName, string username, Microsoft.Azure.Management.Storage.Models.LocalUser properties, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Storage.ILocalUsersOperations * string * string * string * Microsoft.Azure.Management.Storage.Models.LocalUser * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Storage.Models.LocalUser>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ILocalUsersOperations, resourceGroupName As String, accountName As String, username As String, properties As LocalUser, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LocalUser)

パラメーター

operations
ILocalUsersOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

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

accountName
String

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

username
String

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

properties
LocalUser

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象