Share via


PoolOperations.CreateComputeNodeUser(String, String) Method

Definition

Creates a ComputeNodeUser representing a new compute node user account that does not yet exist in the Batch service.

public Microsoft.Azure.Batch.ComputeNodeUser CreateComputeNodeUser (string poolId, string computeNodeId);
member this.CreateComputeNodeUser : string * string -> Microsoft.Azure.Batch.ComputeNodeUser
Public Function CreateComputeNodeUser (poolId As String, computeNodeId As String) As ComputeNodeUser

Parameters

poolId
String

The id of the pool that contains the compute node.

computeNodeId
String

The id of the compute node where the user account will be created.

Returns

An unbound ComputeNodeUser representing a new user account that has not been added to the compute node.

Remarks

To add the new user, call CommitAsync(ComputeNodeUserCommitSemantics, IEnumerable<BatchClientBehavior>, CancellationToken).

Applies to