ImageArgs

data class ImageArgs(val dataDisks: Output<List<ImageDataDiskArgs>>? = null, val hyperVGeneration: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val osDisk: Output<ImageOsDiskArgs>? = null, val resourceGroupName: Output<String>? = null, val sourceVirtualMachineId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val zoneResilient: Output<Boolean>? = null) : ConvertibleToJava<ImageArgs>

Import

Images can be imported using the resource id, e.g.

$ pulumi import azure:compute/image:Image example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Compute/images/image1

Constructors

Link copied to clipboard
fun ImageArgs(dataDisks: Output<List<ImageDataDiskArgs>>? = null, hyperVGeneration: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, osDisk: Output<ImageOsDiskArgs>? = null, resourceGroupName: Output<String>? = null, sourceVirtualMachineId: Output<String>? = null, tags: Output<Map<String, String>>? = null, zoneResilient: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ImageArgs

Properties

Link copied to clipboard
val dataDisks: Output<List<ImageDataDiskArgs>>? = null

One or more data_disk elements as defined below.

Link copied to clipboard
val hyperVGeneration: Output<String>? = null

The HyperVGenerationType of the VirtualMachine created from the image as V1, V2. The default is V1. Changing this forces a new resource to be created.

Link copied to clipboard
val location: Output<String>? = null

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of the image. Changing this forces a new resource to be created.

Link copied to clipboard
val osDisk: Output<ImageOsDiskArgs>? = null

One or more os_disk elements as defined below. Changing this forces a new resource to be created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group in which to create. Changing this forces a new resource to be created. the image. Changing this forces a new resource to be created.

Link copied to clipboard
val sourceVirtualMachineId: Output<String>? = null

The Virtual Machine ID from which to create the image.

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

A mapping of tags to assign to the resource.

Link copied to clipboard
val zoneResilient: Output<Boolean>? = null

Is zone resiliency enabled? Defaults to false. Changing this forces a new resource to be created.