ComputeNodeOperations.rebootComputeNode 方法

定义

重载

rebootComputeNode(String poolId, String nodeId)

Reboots the specified compute node.

You can reboot a compute node only when it is in the IDLE or RUNNING state.

rebootComputeNode(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption)

Reboots the specified compute node.

You can reboot a compute node only when it is in the IDLE or RUNNING state.

rebootComputeNode(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, Iterable<BatchClientBehavior> additionalBehaviors)

Reboots the specified compute node.

You can reboot a compute node only when it is in the IDLE or RUNNING state.

rebootComputeNode(String poolId, String nodeId)

Reboots the specified compute node.

You can reboot a compute node only when it is in the IDLE or RUNNING state.

public void rebootComputeNode(String poolId, String nodeId)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node to reboot.

例外

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.

rebootComputeNode(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption)

Reboots the specified compute node.

You can reboot a compute node only when it is in the IDLE or RUNNING state.

public void rebootComputeNode(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node to reboot.

nodeRebootOption
ComputeNodeRebootOption

Specifies when to reboot the node and what to do with currently running tasks.

例外

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.

rebootComputeNode(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, Iterable<BatchClientBehavior> additionalBehaviors)

Reboots the specified compute node.

You can reboot a compute node only when it is in the IDLE or RUNNING state.

public void rebootComputeNode(String poolId, String nodeId, ComputeNodeRebootOption nodeRebootOption, Iterable<BatchClientBehavior> additionalBehaviors)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node to reboot.

nodeRebootOption
ComputeNodeRebootOption

Specifies when to reboot the node and what to do with currently running tasks.

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.

适用于