Share via


ArmManagedServiceIdentitiesModelFactory.UserAssignedIdentityPatch Method

Definition

Initializes a new instance of UserAssignedIdentityPatch.

public static Azure.ResourceManager.ManagedServiceIdentities.Models.UserAssignedIdentityPatch UserAssignedIdentityPatch (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 UserAssignedIdentityPatch : 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.Models.UserAssignedIdentityPatch
Public Shared Function UserAssignedIdentityPatch (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 UserAssignedIdentityPatch

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 UserAssignedIdentityPatch instance for mocking.

Applies to