Share via


ManagedIdentity Constructors

Definition

Overloads

ManagedIdentity()

Initializes a new instance of the ManagedIdentity class.

ManagedIdentity(String, String, Nullable<ManagedIdentityType>, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the ManagedIdentity class.

ManagedIdentity()

Initializes a new instance of the ManagedIdentity class.

public ManagedIdentity ();
Public Sub New ()

Applies to

ManagedIdentity(String, String, Nullable<ManagedIdentityType>, IDictionary<String,UserAssignedIdentity>)

Initializes a new instance of the ManagedIdentity class.

public ManagedIdentity (string principalId = default, string tenantId = default, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.UserAssignedIdentity> userAssignedIdentities = default);
new Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedIdentity : string * string * Nullable<Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.UserAssignedIdentity> -> Microsoft.Azure.Management.ServiceFabricManagedClusters.Models.ManagedIdentity
Public Sub New (Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional type As Nullable(Of ManagedIdentityType) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentity) = Nothing)

Parameters

principalId
String

The principal id of the managed identity. This property will only be provided for a system assigned identity.

tenantId
String

The tenant id of the managed identity. This property will only be provided for a system assigned identity.

type
Nullable<ManagedIdentityType>

Possible values include: 'None', 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned'

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

Applies to