ComputeNodeOperations.getComputeNode 方法

定义

重载

getComputeNode(String poolId, String nodeId)

Gets the specified compute node.

getComputeNode(String poolId, String nodeId, DetailLevel detailLevel)

Gets the specified compute node.

getComputeNode(String poolId, String nodeId, DetailLevel detailLevel, Iterable<BatchClientBehavior> additionalBehaviors)

Gets the specified compute node.

getComputeNode(String poolId, String nodeId)

Gets the specified compute node.

public ComputeNode getComputeNode(String poolId, String nodeId)

参数

poolId
String

The ID of the pool.

nodeId
String

the ID of the compute node to get from the pool.

返回

A ComputeNode containing information about the specified compute node.

例外

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.

getComputeNode(String poolId, String nodeId, DetailLevel detailLevel)

Gets the specified compute node.

public ComputeNode getComputeNode(String poolId, String nodeId, DetailLevel detailLevel)

参数

poolId
String

The ID of the pool.

nodeId
String

The ID of the compute node to get from the pool.

detailLevel
DetailLevel

A DetailLevel used for controlling which properties are retrieved from the service.

返回

A ComputeNode containing information about the specified compute node.

例外

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.

getComputeNode(String poolId, String nodeId, DetailLevel detailLevel, Iterable<BatchClientBehavior> additionalBehaviors)

Gets the specified compute node.

public ComputeNode getComputeNode(String poolId, String nodeId, DetailLevel detailLevel, Iterable<BatchClientBehavior> additionalBehaviors)

参数

poolId
String

The ID of the pool.

nodeId
String

The ID of the compute node to get from the pool.

detailLevel
DetailLevel

A DetailLevel used for controlling which properties are retrieved from the service.

additionalBehaviors
Iterable<BatchClientBehavior>

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

返回

A ComputeNode containing information about the specified compute node.

例外

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.

适用于