HDInsightClient.Connect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Connect(IHDInsightSubscriptionCredentials) |
Connects to an HDInsight subscription. |
Connect(IHDInsightSubscriptionCredentials, TimeSpan, IRetryPolicy) |
Connects the specified credentials. |
Connect(IHDInsightSubscriptionCredentials)
Connects to an HDInsight subscription.
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
Parameters
- credentials
- IHDInsightSubscriptionCredentials
The credential used to connect to the subscription.
Returns
A new HDInsight client.
Applies to
Connect(IHDInsightSubscriptionCredentials, TimeSpan, IRetryPolicy)
Connects the specified credentials.
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
Parameters
- credentials
- IHDInsightSubscriptionCredentials
The credential used to connect to the subscription.
- httpOperationTimeout
- TimeSpan
The HTTP operation timeout.
- policy
- Microsoft.WindowsAzure.Management.HDInsight.Framework.Core.Retries.IRetryPolicy
The retry policy to use for operations on this client.
Returns
A new HDInsight client.
Applies to
Azure SDK for .NET