共用方式為


UsersOperationsExtensions.UpdateAsync Method

Definition

Update a lab user.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.User> UpdateAsync (this Microsoft.Azure.Management.LabServices.IUsersOperations operations, Microsoft.Azure.Management.LabServices.Models.UserUpdate body, string resourceGroupName, string labName, string userName, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.LabServices.IUsersOperations * Microsoft.Azure.Management.LabServices.Models.UserUpdate * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.LabServices.Models.User>
<Extension()>
Public Function UpdateAsync (operations As IUsersOperations, body As UserUpdate, resourceGroupName As String, labName As String, userName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of User)

Parameters

operations
IUsersOperations

The operations group for this extension method.

body
UserUpdate

The request body.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

labName
String

The name of the lab that uniquely identifies it within containing lab account. Used in resource URIs.

userName
String

The name of the user that uniquely identifies it within containing lab. Used in resource URIs.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Operation to update a lab user.

Applies to