Azure.ResourceManager.ImageBuilder.Models Namespace

Classes

Name Description
ArmImageBuilderModelFactory

A factory class for creating instances of the models for mocking.

DistributeVersioner

Describes how to generate new x.y.z version number for distribution. Please note this is the abstract base class. The derived classes available for instantiation are: DistributeVersionerLatest and DistributeVersionerSource.

DistributeVersionerLatest

Generates version number that will be latest based on existing version numbers.

DistributeVersionerSource

Generates version number based on version number of source image.

ImageBuilderDataDisk

Data disk properties.

ImageBuilderProvisioningError

Describes the error happened when create or update an image template.

ImageBuilderVirtualNetworkConfig

Virtual Network configuration.

ImageTemplateCustomizer

Describes a unit of image customization Please note this is the abstract base class. The derived classes available for instantiation are: ImageTemplateFileCustomizer, ImageTemplatePowerShellCustomizer, ImageTemplateRestartCustomizer, ImageTemplateShellCustomizer, and ImageTemplateWindowsUpdateCustomizer.

ImageTemplateDistributor

Generic distribution object Please note this is the abstract base class. The derived classes available for instantiation are: ImageTemplateManagedImageDistributor, ImageTemplateSharedImageDistributor, and ImageTemplateVhdDistributor.

ImageTemplateErrorHandling

Error handling options upon a build failure.

ImageTemplateFileCustomizer

Uploads files to VMs (Linux, Windows). Corresponds to Packer file provisioner.

ImageTemplateFileValidator

Uploads files required for validation to VMs (Linux, Windows). Corresponds to Packer file provisioner.

ImageTemplateIdentity

Identity for the image template.

ImageTemplateInVMValidator

Describes a unit of in-VM validation of image Please note this is the abstract base class. The derived classes available for instantiation are: ImageTemplateFileValidator, ImageTemplatePowerShellValidator, and ImageTemplateShellValidator.

ImageTemplateLastRunStatus

Describes the latest status of running an image template.

ImageTemplateManagedImageDistributor

Distribute as a Managed Disk Image.

ImageTemplateManagedImageSource

Describes an image source that is a managed image in customer subscription. This image must reside in the same subscription and region as the Image Builder template.

ImageTemplateOptimizeConfig

Specifies optimization to be performed on image.

ImageTemplatePatch

Parameters for updating an image template.

ImageTemplatePlatformImageSource

Describes an image source from Azure Gallery Images.

ImageTemplatePowerShellCustomizer

Runs the specified PowerShell on the VM (Windows). Corresponds to Packer powershell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.

ImageTemplatePowerShellValidator

Runs the specified PowerShell script during the validation phase (Windows). Corresponds to Packer powershell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.

ImageTemplateRestartCustomizer

Reboots a VM and waits for it to come back online (Windows). Corresponds to Packer windows-restart provisioner.

ImageTemplateSharedImageDistributor

Distribute via Azure Compute Gallery.

ImageTemplateSharedImageVersionSource

Describes an image source that is an image version in an Azure Compute Gallery or a Direct Shared Gallery.

ImageTemplateShellCustomizer

Runs a shell script during the customization phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.

ImageTemplateShellValidator

Runs the specified shell script during the validation phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.

ImageTemplateSource

Describes a virtual machine image source for building, customizing and distributing Please note this is the abstract base class. The derived classes available for instantiation are: ImageTemplateManagedImageSource, ImageTemplatePlatformImageSource, and ImageTemplateSharedImageVersionSource.

ImageTemplateTargetRegion

Describes the target region information.

ImageTemplateTriggerStatus

Describes the status of a trigger.

ImageTemplateValidationConfig

Configuration options and list of validations to be performed on the resulting image.

ImageTemplateVhdDistributor

Distribute via VHD in a storage account.

ImageTemplateVmProfile

Describes the virtual machines used to build and validate images.

ImageTemplateWindowsUpdateCustomizer

Installs Windows Updates. Corresponds to Packer Windows Update Provisioner (https://github.com/rgl/packer-provisioner-windows-update).

ImageTemplateWorkloadOptimization

Optimization is applied on the image for specific workloads.

PlatformImagePurchasePlan

Purchase plan configuration for platform image.

SourceImageTriggerProperties

Properties of SourceImage kind of trigger.

TriggerProperties

Describes the properties of a trigger Please note this is the abstract base class. The derived classes available for instantiation are: SourceImageTriggerProperties.

Structs

Name Description
ImageBuilderOnBuildError

Error handling behavior upon build failure.

ImageBuilderProvisioningErrorCode

Error code of the provisioning failure.

ImageTemplateReplicationMode

Describes replication mode for distribution in Azure Compute Gallery. Omit to use the default (Full).

SharedImageStorageAccountType

Specifies the storage account type to be used to store the Azure Compute Gallery image version in.

Enums

Name Description
ImageBuilderIdentityType

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

ImageBuilderProvisioningState

Provisioning state of the resource.

ImageTemplateAutoRunState

Enabling this field will trigger an automatic build on image template creation or update.

ImageTemplateRunState

State of the last run.

ImageTemplateRunSubState

Sub-state of the last run.

ImageTemplateVMBootOptimizationState

Enabling this field will improve VM boot time by optimizing the final customized image output.

ImageTemplateWorkloadOptimizationState

Enabling this field will optimize vm images for specific workloads.