VirtualMachineImageTemplate

class VirtualMachineImageTemplate : KotlinCustomResource

Image template is an ARM resource managed by Microsoft.VirtualMachineImages provider Uses Azure REST API version 2024-02-01. In version 2.x of the Azure Native provider, it used API version 2022-07-01. Other available API versions: 2022-07-01, 2023-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native virtualmachineimages [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:virtualmachineimages:VirtualMachineImageTemplate myImageTemplate /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VirtualMachineImages/imageTemplates/{imageTemplateName}

Properties

Link copied to clipboard

Indicates whether or not to automatically run the image template build on template creation or update.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

Maximum 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).

Link copied to clipboard
val customize: Output<List<Any>>?

Specifies the properties used to describe the customization steps of the image, like Image source etc

Link copied to clipboard
val distribute: Output<List<Any>>

The distribution targets where the image output needs to go to.

Link copied to clipboard

Error handling options upon a build failure

Link copied to clipboard

The 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.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The identity of the image template, if configured.

Link copied to clipboard

State of 'run' that is currently executing or was last executed.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard

Tags that will be applied to the resource group and/or resources created by the service.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Specifies optimization to be performed on image.

Link copied to clipboard

Provisioning error, if any

Link copied to clipboard

Provisioning state of the resource

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val source: Output<Any>

Specifies the properties used to describe the source image.

Link copied to clipboard

The 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.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

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

Link copied to clipboard

Describes how virtual machine is set up to build images