Class ImageTemplateIdentity


  • public class ImageTemplateIdentity
    extends Object
    Identity for the image template.
    • Constructor Detail

      • ImageTemplateIdentity

        public ImageTemplateIdentity()
    • Method Detail

      • type

        public ResourceIdentityType type()
        Get the type property: The type of identity used for the image template. The type 'None' will remove any identities from the image template.
        Returns:
        the type value.
      • withType

        public ImageTemplateIdentity withType​(ResourceIdentityType type)
        Set the type property: The type of identity used for the image template. The type 'None' will remove any identities from the image template.
        Parameters:
        type - the type value to set.
        Returns:
        the ImageTemplateIdentity object itself.
      • userAssignedIdentities

        public Map<String,​ImageTemplateIdentityUserAssignedIdentities> userAssignedIdentities()
        Get the userAssignedIdentities property: The list of user identities associated with the image template. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
        Returns:
        the userAssignedIdentities value.
      • withUserAssignedIdentities

        public ImageTemplateIdentity withUserAssignedIdentities​(Map<String,​ImageTemplateIdentityUserAssignedIdentities> userAssignedIdentities)
        Set the userAssignedIdentities property: The list of user identities associated with the image template. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
        Parameters:
        userAssignedIdentities - the userAssignedIdentities value to set.
        Returns:
        the ImageTemplateIdentity object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.