你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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