DataDiskArgs

data class DataDiskArgs(val createOption: Output<Either<String, DiskCreateOptionTypes>>? = null, val diskSizeGB: Output<Int>? = null, val name: Output<String>? = null) : ConvertibleToJava<DataDiskArgs>

Specifies information about the operating system disk used by the virtual machine.

For more information about disks, see About disks and VHDs for Azure virtual machines.

Constructors

Link copied to clipboard
constructor(createOption: Output<Either<String, DiskCreateOptionTypes>>? = null, diskSizeGB: Output<Int>? = null, name: Output<String>? = null)

Properties

Link copied to clipboard
val createOption: Output<Either<String, DiskCreateOptionTypes>>? = null

Specifies how the virtual machine should be created.

Link copied to clipboard
val diskSizeGB: Output<Int>? = null

Specifies the size of an empty disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

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

The name of data disk.

Functions

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