OsDiskArgs

data class OsDiskArgs(val diskSizeGB: Output<Int>? = null, val name: Output<String>? = null, val osType: Output<Either<String, OperatingSystemTypes>>? = null, val vhd: Output<VirtualHardDiskArgs>? = null) : ConvertibleToJava<OsDiskArgs>

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(diskSizeGB: Output<Int>? = null, name: Output<String>? = null, osType: Output<Either<String, OperatingSystemTypes>>? = null, vhd: Output<VirtualHardDiskArgs>? = null)

Properties

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

Specifies the size of os disk in gigabytes. This is the fully expanded disk size needed of the VHD image on the ASE. This disk size should be greater than the size of the VHD provided in vhdUri.

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

The VHD name.

Link copied to clipboard
val osType: Output<Either<String, OperatingSystemTypes>>? = null

The OS type.

Link copied to clipboard
val vhd: Output<VirtualHardDiskArgs>? = null

The virtual hard disk.

Functions

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