IComputeNodeOperations.UpdateUserAsync Method (String, String, String, ComputeNodeUpdateUserParameters, CancellationToken)
Updates the password or expiration time of a user account on the specified compute node.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
Task<ComputeNodeUpdateUserResponse> UpdateUserAsync(
string poolId,
string nodeId,
string userName,
ComputeNodeUpdateUserParameters parameters,
CancellationToken cancellationToken
)
Task<ComputeNodeUpdateUserResponse^>^ UpdateUserAsync(
String^ poolId,
String^ nodeId,
String^ userName,
ComputeNodeUpdateUserParameters^ parameters,
CancellationToken cancellationToken
)
abstract UpdateUserAsync :
poolId:string *
nodeId:string *
userName:string *
parameters:ComputeNodeUpdateUserParameters *
cancellationToken:CancellationToken -> Task<ComputeNodeUpdateUserResponse>
Function UpdateUserAsync (
poolId As String,
nodeId As String,
userName As String,
parameters As ComputeNodeUpdateUserParameters,
cancellationToken As CancellationToken
) As Task(Of ComputeNodeUpdateUserResponse)
Parameters
poolId
Type: System.StringThe id of the pool that contains the compute node.
nodeId
Type: System.StringThe id of the machine on which you want to update a user account.
userName
Type: System.StringThe name of the user account to update.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.ComputeNodeUpdateUserParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<ComputeNodeUpdateUserResponse>
Response to a ComputeNodeOperations.UpdateUser request.
See Also
IComputeNodeOperations Interface
Microsoft.Azure.Batch.Protocol Namespace
Return to top