你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

UsersOperationsExtensions.BeginCreateOrUpdateAsync 方法

定义

在 Data Box Edge/Data Box Gateway 设备上创建新用户或更新现有用户的信息。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.User> BeginCreateOrUpdateAsync(this Microsoft.Azure.Management.DataBoxEdge.IUsersOperations operations, string deviceName, string name, Microsoft.Azure.Management.DataBoxEdge.Models.User user, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.DataBoxEdge.IUsersOperations * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.User * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.User>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IUsersOperations, deviceName As String, name As String, user As User, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of User)

参数

operations
IUsersOperations

此扩展方法的操作组。

deviceName
String

设备名称。

name
String

用户名。

user
User

用户详细信息。

resourceGroupName
String

资源组名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于