ComputeNodeOperations.addComputeNodeUser 方法

定义

重载

addComputeNodeUser(String poolId, String nodeId, ComputeNodeUser user)

Adds a user account to the specified compute node.

addComputeNodeUser(String poolId, String nodeId, ComputeNodeUser user, Iterable<BatchClientBehavior> additionalBehaviors)

Adds a user account to the specified compute node.

addComputeNodeUser(String poolId, String nodeId, ComputeNodeUser user)

Adds a user account to the specified compute node.

public void addComputeNodeUser(String poolId, String nodeId, ComputeNodeUser user)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

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

user
ComputeNodeUser

The user account to be created.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

addComputeNodeUser(String poolId, String nodeId, ComputeNodeUser user, Iterable<BatchClientBehavior> additionalBehaviors)

Adds a user account to the specified compute node.

public void addComputeNodeUser(String poolId, String nodeId, ComputeNodeUser user, Iterable<BatchClientBehavior> additionalBehaviors)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

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

user
ComputeNodeUser

The user account to be created.

additionalBehaviors
Iterable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied to the Batch service request.

例外

BatchErrorException

Exception thrown when an error response is received from the Batch service.

IOException

Exception thrown when there is an error in serialization/deserialization of data sent to/received from the Batch service.

适用于