Language

ArmImageBuilderModelFactory.ImageTemplateIdentity Method

Definition

Identity for the image template.

public static Azure.ResourceManager.ImageBuilder.Models.ImageTemplateIdentity ImageTemplateIdentity(Azure.ResourceManager.ImageBuilder.Models.ImageBuilderIdentityType? type = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Models.UserAssignedIdentity> userAssignedIdentities = default);
static member ImageTemplateIdentity : Nullable<Azure.ResourceManager.ImageBuilder.Models.ImageBuilderIdentityType> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Models.UserAssignedIdentity> -> Azure.ResourceManager.ImageBuilder.Models.ImageTemplateIdentity
Public Shared Function ImageTemplateIdentity (Optional type As Nullable(Of ImageBuilderIdentityType) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentity) = Nothing) As ImageTemplateIdentity

Parameters

type
Nullable<ImageBuilderIdentityType>

The type of identity used for the image template. The type 'None' will remove any identities from the image template.

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

Returns

A new ImageTemplateIdentity instance for mocking.

Applies to