ComputeNodes.getRemoteDesktop 方法

定义

重载

getRemoteDesktop(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions, OutputStream outputStream)

Gets the Remote Desktop Protocol file for the specified compute node.

getRemoteDesktop(String poolId, String nodeId, OutputStream outputStream)

getRemoteDesktop(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions, OutputStream outputStream)

Gets the Remote Desktop Protocol file for the specified compute node.

public void getRemoteDesktop(String poolId, String nodeId, ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions, OutputStream outputStream)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node for which you want to get the Remote Desktop Protocol file.

computeNodeGetRemoteDesktopOptions
ComputeNodeGetRemoteDesktopOptions

Additional parameters for the operation

outputStream
OutputStream

The OutputStream object which data will be written to 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

getRemoteDesktop(String poolId, String nodeId, OutputStream outputStream)

public void getRemoteDesktop(String poolId, String nodeId, OutputStream outputStream)

参数

poolId
String

The ID of the pool that contains the compute node.

nodeId
String

The ID of the compute node for which you want to get the Remote Desktop Protocol file.

outputStream
OutputStream

The OutputStream object which data will be written to 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

适用于