Udostępnij za pośrednictwem


IHDInsightAsyncClient.EnableRdpAsync Method

Definition

Enables Rdp access on the HDInsight cluster.

public System.Threading.Tasks.Task EnableRdpAsync (string dnsName, string location, string rdpUserName, string rdpPassword, DateTime expiry);
abstract member EnableRdpAsync : string * string * string * string * DateTime -> System.Threading.Tasks.Task
Public Function EnableRdpAsync (dnsName As String, location As String, rdpUserName As String, rdpPassword As String, expiry As DateTime) As Task

Parameters

dnsName
String

The Dns name of the cluster

location
String

The location of the cluster

rdpUserName
String

Rdp username of the cluster

rdpPassword
String

Rdp password of the cluseter

expiry
DateTime

The time when the Rdp access on the cluster will expire

Returns

A task that can be used to wait for the request to complete

Applies to