HDInsightClient.Connect Method (IHDInsightSubscriptionCredentials, TimeSpan, IRetryPolicy)
Note |
|---|
This version of the HDInsight .NET SDK is deprecated and will be removed by January 1, 2017. You are encouraged to use the newer ARM-based version of HDInsight .NET SDK going forward. For instructions on how to use the new HDInsight .NET SDK to create a cluster, see Create HDInsight Linux clusters using .NET SDK. For instructions on how to submit jobs using the new .NET SDK and other approaches, see Submit jobs to an HDInsight cluster. The HDInsight SDK reference for the newer version is available at HDInsight .NET SDK Reference. |
Connects the specified credentials.
Assembly: Microsoft.WindowsAzure.Management.HDInsight (in Microsoft.WindowsAzure.Management.HDInsight.dll)
Public Shared Function Connect ( credentials As IHDInsightSubscriptionCredentials, httpOperationTimeout As TimeSpan, policy As IRetryPolicy ) As IHDInsightClient
Parameters
- credentials
-
Type:
Microsoft.WindowsAzure.Management.HDInsight.IHDInsightSubscriptionCredentials
The credential used to connect to the subscription.
- httpOperationTimeout
-
Type:
System.TimeSpan
The HTTP operation timeout.
- policy
-
Type:
Microsoft.WindowsAzure.Management.HDInsight.Framework.Core.Retries.IRetryPolicy
The retry policy to use for operations on this client.
Return Value
Type: Microsoft.WindowsAzure.Management.HDInsight.IHDInsightClientA new HDInsight client.
Show:
