Share via


ComputeNodeOperationsExtensions.GetRemoteDesktop Method

Definition

Gets the Remote Desktop Protocol file for the specified Compute Node.

public static System.IO.Stream GetRemoteDesktop (this Microsoft.Azure.Batch.Protocol.IComputeNodeOperations operations, string poolId, string nodeId, Microsoft.Azure.Batch.Protocol.Models.ComputeNodeGetRemoteDesktopOptions computeNodeGetRemoteDesktopOptions = default);
static member GetRemoteDesktop : Microsoft.Azure.Batch.Protocol.IComputeNodeOperations * string * string * Microsoft.Azure.Batch.Protocol.Models.ComputeNodeGetRemoteDesktopOptions -> System.IO.Stream
<Extension()>
Public Function GetRemoteDesktop (operations As IComputeNodeOperations, poolId As String, nodeId As String, Optional computeNodeGetRemoteDesktopOptions As ComputeNodeGetRemoteDesktopOptions = Nothing) As Stream

Parameters

operations
IComputeNodeOperations

The operations group for this extension method.

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

Returns

Remarks

Before you can access a Compute Node by using the RDP file, you must create a user Account on the Compute Node. This API can only be invoked on Pools created with a cloud service configuration. For Pools created with a virtual machine configuration, see the GetRemoteLoginSettings API.

Applies to