ManagedIdentity Constructors
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
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.ServiceFabric.Models.ManagedIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ServiceFabric.Models.UserAssignedIdentity> userAssignedIdentities = default);
new Microsoft.Azure.Management.ServiceFabric.Models.ManagedIdentity : string * string * Nullable<Microsoft.Azure.Management.ServiceFabric.Models.ManagedIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ServiceFabric.Models.UserAssignedIdentity> -> Microsoft.Azure.Management.ServiceFabric.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>
The type of managed identity for the resource. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'
- userAssignedIdentities
- IDictionary<String,UserAssignedIdentity>
The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
Applies to
Azure SDK for .NET