IComputeNodeOperations.AddUserAsync Method (String, String, ComputeNodeAddUserParameters, CancellationToken)
Adds a user account to the specified compute node.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
Task<ComputeNodeAddUserResponse> AddUserAsync(
string poolId,
string nodeId,
ComputeNodeAddUserParameters parameters,
CancellationToken cancellationToken
)
Task<ComputeNodeAddUserResponse^>^ AddUserAsync(
String^ poolId,
String^ nodeId,
ComputeNodeAddUserParameters^ parameters,
CancellationToken cancellationToken
)
abstract AddUserAsync :
poolId:string *
nodeId:string *
parameters:ComputeNodeAddUserParameters *
cancellationToken:CancellationToken -> Task<ComputeNodeAddUserResponse>
Function AddUserAsync (
poolId As String,
nodeId As String,
parameters As ComputeNodeAddUserParameters,
cancellationToken As CancellationToken
) As Task(Of ComputeNodeAddUserResponse)
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 create a user account.
parameters
Type: Microsoft.Azure.Batch.Protocol.Models.ComputeNodeAddUserParametersThe parameters for the request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<ComputeNodeAddUserResponse>
Response to a ComputeNodeOperations.AddUser request.
See Also
IComputeNodeOperations Interface
Microsoft.Azure.Batch.Protocol Namespace
Return to top