Compartilhar via


HDInsightClient.Connect Método

Definição

Sobrecargas

Connect(IHDInsightSubscriptionCredentials)

Conecta-se a uma assinatura do HDInsight.

Connect(IHDInsightSubscriptionCredentials, TimeSpan, IRetryPolicy)

Conecta as credenciais especificadas.

Connect(IHDInsightSubscriptionCredentials)

Conecta-se a uma assinatura do HDInsight.

public static Microsoft.WindowsAzure.Management.HDInsight.IHDInsightClient Connect (Microsoft.WindowsAzure.Management.HDInsight.IHDInsightSubscriptionCredentials credentials);
static member Connect : Microsoft.WindowsAzure.Management.HDInsight.IHDInsightSubscriptionCredentials -> Microsoft.WindowsAzure.Management.HDInsight.IHDInsightClient
Public Shared Function Connect (credentials As IHDInsightSubscriptionCredentials) As IHDInsightClient

Parâmetros

credentials
IHDInsightSubscriptionCredentials

A credencial usada para se conectar à assinatura.

Retornos

Um novo cliente HDInsight.

Aplica-se a

Connect(IHDInsightSubscriptionCredentials, TimeSpan, IRetryPolicy)

Conecta as credenciais especificadas.

public static Microsoft.WindowsAzure.Management.HDInsight.IHDInsightClient Connect (Microsoft.WindowsAzure.Management.HDInsight.IHDInsightSubscriptionCredentials credentials, TimeSpan httpOperationTimeout, Microsoft.WindowsAzure.Management.HDInsight.Framework.Core.Retries.IRetryPolicy policy);
static member Connect : Microsoft.WindowsAzure.Management.HDInsight.IHDInsightSubscriptionCredentials * TimeSpan * Microsoft.WindowsAzure.Management.HDInsight.Framework.Core.Retries.IRetryPolicy -> Microsoft.WindowsAzure.Management.HDInsight.IHDInsightClient
Public Shared Function Connect (credentials As IHDInsightSubscriptionCredentials, httpOperationTimeout As TimeSpan, policy As IRetryPolicy) As IHDInsightClient

Parâmetros

credentials
IHDInsightSubscriptionCredentials

A credencial usada para se conectar à assinatura.

httpOperationTimeout
TimeSpan

O tempo limite da operação HTTP.

policy
Microsoft.WindowsAzure.Management.HDInsight.Framework.Core.Retries.IRetryPolicy

A política de repetição a ser usada para operações neste cliente.

Retornos

Um novo cliente HDInsight.

Aplica-se a