PoolOperations.CreateComputeNodeUser(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for