ComputeNodes.get 方法

定义

重载

get(String poolId, String nodeId)

Gets information about the specified compute node.

get(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions)

Gets information about the specified compute node.

get(String poolId, String nodeId)

Gets information about the specified compute node.

public ComputeNode get(String poolId, String nodeId)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node that you want to get information about.

返回

the ComputeNode object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

BatchErrorException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

get(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions)

Gets information about the specified compute node.

public ComputeNode get(String poolId, String nodeId, ComputeNodeGetOptions computeNodeGetOptions)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node that you want to get information about.

computeNodeGetOptions
ComputeNodeGetOptions

Additional parameters for the operation

返回

the ComputeNode object if successful.

例外

IllegalArgumentException

thrown if parameters fail the validation

BatchErrorException

thrown if the request is rejected by server

RuntimeException

all other wrapped checked exceptions if the request fails to be sent

适用于