Compartilhar via


ArmManagedServiceIdentitiesModelFactory.UserAssignedIdentityData Method

Definition

Initializes a new instance of UserAssignedIdentityData.

public static Azure.ResourceManager.ManagedServiceIdentities.UserAssignedIdentityData UserAssignedIdentityData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Guid? tenantId = default, Guid? principalId = default, Guid? clientId = default);
static member UserAssignedIdentityData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Guid> * Nullable<Guid> * Nullable<Guid> -> Azure.ResourceManager.ManagedServiceIdentities.UserAssignedIdentityData
Public Shared Function UserAssignedIdentityData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional principalId As Nullable(Of Guid) = Nothing, Optional clientId As Nullable(Of Guid) = Nothing) As UserAssignedIdentityData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

tenantId
Nullable<Guid>

The id of the tenant which the identity belongs to.

principalId
Nullable<Guid>

The id of the service principal object associated with the created identity.

clientId
Nullable<Guid>

The id of the app associated with the identity. This is a random generated UUID by MSI.

Returns

A new UserAssignedIdentityData instance for mocking.

Applies to