HDInsightAccessTokenCredential Class

 

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.

Represents a class that provides the credentials to talk to an RDFE with a token.

Namespace:   Microsoft.WindowsAzure.Management.HDInsight
Assembly:  Microsoft.WindowsAzure.Management.HDInsight (in Microsoft.WindowsAzure.Management.HDInsight.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Management.HDInsight.HDInsightAccessTokenCredential
    Microsoft.WindowsAzure.Management.HDInsight.JobSubmissionAccessTokenCredential

Syntax

public class HDInsightAccessTokenCredential : IHDInsightAccessTokenCredential, 
    IHDInsightSubscriptionCredentials, IJobSubmissionClientCredential
public ref class HDInsightAccessTokenCredential : IHDInsightAccessTokenCredential, 
    IHDInsightSubscriptionCredentials, IJobSubmissionClientCredential
type HDInsightAccessTokenCredential = 
    class
        interface IHDInsightAccessTokenCredential
        interface IHDInsightSubscriptionCredentials
        interface IJobSubmissionClientCredential
    end
Public Class HDInsightAccessTokenCredential
    Implements IHDInsightAccessTokenCredential, IHDInsightSubscriptionCredentials,
    IJobSubmissionClientCredential

Constructors

Name Description
System_CAPS_pubmethod HDInsightAccessTokenCredential()

Initializes a new instance of the HDInsightAccessTokenCredential class.

System_CAPS_pubmethod HDInsightAccessTokenCredential(Guid, String)

Initializes a new instance of the HDInsightAccessTokenCredential class.

System_CAPS_pubmethod HDInsightAccessTokenCredential(Guid, String, Uri)

Initializes a new instance of the HDInsightAccessTokenCredential class.

System_CAPS_pubmethod HDInsightAccessTokenCredential(Guid, String, Uri, String)

Initializes a new instance of the HDInsightAccessTokenCredential class..

System_CAPS_pubmethod HDInsightAccessTokenCredential(HDInsightAccessTokenCredential)

Initializes a new instance of the HDInsightAccessTokenCredential class.

Properties

Name Description
System_CAPS_pubproperty AccessToken

Gets or sets the access token for communication with the remote procedure.

System_CAPS_pubproperty DeploymentNamespace

Gets or sets the HDInsight namespace for Azure if not default.

System_CAPS_pubproperty Endpoint

Gets of sets the Azure deployment endpoint to talk to if not the default.

System_CAPS_pubproperty SubscriptionId

Gets or sets the subscription ID to be used.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsAzure.Management.HDInsight Namespace

Return to top