Virtual Machine Images Image Template

This table represents the virtual_machine_images_image_template resource from Microsoft Azure.

azure.virtual_machine_images_image_template

Fields

TitleIDTypeData TypeDescription
_keycorestring
auto_runcorejsonIndicates whether or not to automatically run the image template build on template creation or update.
build_timeout_in_minutescoreint64Maximum duration to wait while building the image template (includes all customizations, optimization, validations, and distributions). Omit or specify 0 to use the default (4 hours).
customizecorejsonSpecifies the properties used to describe the customization steps of the image, like Image source etc
distributecorejsonThe distribution targets where the image output needs to go to.
error_handlingcorejsonError handling options upon a build failure
exact_staging_resource_groupcorestringThe staging resource group id in the same subscription as the image template that will be used to build the image. This read-only field differs from 'stagingResourceGroup' only if the value specified in the 'stagingResourceGroup' field is empty.
idcorestringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
identitycorejsonThe identity of the image template, if configured.
last_run_statuscorejsonState of 'run' that is currently executing or was last executed.
locationcorestringThe geo-location where the resource lives
namecorestringThe name of the resource
optimizecorejsonSpecifies optimization to be performed on image.
provisioning_errorcorejsonProvisioning error, if any
provisioning_statecorestringProvisioning state of the resource
resource_groupcorestring
staging_resource_groupcorestringThe staging resource group id in the same subscription as the image template that will be used to build the image. If this field is empty, a resource group with a random name will be created. If the resource group specified in this field doesn't exist, it will be created with the same name. If the resource group specified exists, it must be empty and in the same region as the image template. The resource group created will be deleted during template deletion if this field is empty or the resource group specified doesn't exist, but if the resource group specified exists the resources created in the resource group will be deleted during template deletion and the resource group itself will remain.
subscription_idcorestring
subscription_namecorestring
system_datacorejsonAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagscorehstore_csv
typecorestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
validatecorejsonConfiguration options and list of validations to be performed on the resulting image.
vm_profilecorejsonDescribes how virtual machine is set up to build images