Share via


ArmResourcesModelFactory.ArmApplicationManagedIdentity Method

Definition

Initializes a new instance of ArmApplicationManagedIdentity.

public static Azure.ResourceManager.Resources.Models.ArmApplicationManagedIdentity ArmApplicationManagedIdentity (Guid? principalId = default, Guid? tenantId = default, Azure.ResourceManager.Resources.Models.ArmApplicationManagedIdentityType? identityType = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Resources.Models.ArmApplicationUserAssignedIdentity> userAssignedIdentities = default);
static member ArmApplicationManagedIdentity : Nullable<Guid> * Nullable<Guid> * Nullable<Azure.ResourceManager.Resources.Models.ArmApplicationManagedIdentityType> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Resources.Models.ArmApplicationUserAssignedIdentity> -> Azure.ResourceManager.Resources.Models.ArmApplicationManagedIdentity
Public Shared Function ArmApplicationManagedIdentity (Optional principalId As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional identityType As Nullable(Of ArmApplicationManagedIdentityType) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, ArmApplicationUserAssignedIdentity) = Nothing) As ArmApplicationManagedIdentity

Parameters

principalId
Nullable<Guid>

The principal ID of resource identity.

tenantId
Nullable<Guid>

The tenant ID of resource.

identityType
Nullable<ArmApplicationManagedIdentityType>

The identity type.

userAssignedIdentities
IDictionary<String,ArmApplicationUserAssignedIdentity>

The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

Returns

A new ArmApplicationManagedIdentity instance for mocking.

Applies to