ArmImageBuilderModelFactory.ImageTemplateIdentity Method
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.
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
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.