Share via


HDInsightManagedIdentitySpec Constructor

Definition

Initializes a new instance of HDInsightManagedIdentitySpec.

public HDInsightManagedIdentitySpec (Azure.ResourceManager.HDInsight.Containers.Models.HDInsightManagedIdentityType identityType, Azure.Core.ResourceIdentifier resourceId, string clientId, string objectId);
new Azure.ResourceManager.HDInsight.Containers.Models.HDInsightManagedIdentitySpec : Azure.ResourceManager.HDInsight.Containers.Models.HDInsightManagedIdentityType * Azure.Core.ResourceIdentifier * string * string -> Azure.ResourceManager.HDInsight.Containers.Models.HDInsightManagedIdentitySpec
Public Sub New (identityType As HDInsightManagedIdentityType, resourceId As ResourceIdentifier, clientId As String, objectId As String)

Parameters

identityType
HDInsightManagedIdentityType

The type of managed identity.

resourceId
ResourceIdentifier

ResourceId of the managed identity.

clientId
String

ClientId of the managed identity.

objectId
String

ObjectId of the managed identity.

Exceptions

resourceId, clientId or objectId is null.

Applies to