Identity 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
Identity() |
Initializes a new instance of the Identity class. |
Identity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,IdentityUserAssignedIdentitiesValue>) |
Initializes a new instance of the Identity class. |
Identity()
Initializes a new instance of the Identity class.
public Identity ();
Public Sub New ()
Applies to
Identity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,IdentityUserAssignedIdentitiesValue>)
Initializes a new instance of the Identity class.
public Identity (string principalId = default, string tenantId = default, Microsoft.Azure.Management.ResourceManager.Fluent.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ResourceManager.Fluent.Models.IdentityUserAssignedIdentitiesValue> userAssignedIdentities = default);
new Microsoft.Azure.Management.ResourceManager.Fluent.Models.Identity : string * string * Nullable<Microsoft.Azure.Management.ResourceManager.Fluent.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ResourceManager.Fluent.Models.IdentityUserAssignedIdentitiesValue> -> Microsoft.Azure.Management.ResourceManager.Fluent.Models.Identity
Public Sub New (Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional type As Nullable(Of ResourceIdentityType) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, IdentityUserAssignedIdentitiesValue) = Nothing)
Parameters
- principalId
- String
The principal ID of resource identity.
- tenantId
- String
The tenant ID of resource.
- type
- Nullable<ResourceIdentityType>
The identity type. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'
- userAssignedIdentities
- IDictionary<String,IdentityUserAssignedIdentitiesValue>
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}'.