ImageOSDisk interface

Describes an Operating System disk.

Properties

blobUri

The Virtual Hard Disk.

caching

Specifies the caching requirements.

Possible values are:

None

ReadOnly

ReadWrite

Default: None for Standard storage. ReadOnly for Premium storage. Possible values include: 'None', 'ReadOnly', 'ReadWrite'

diskSizeGB

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

This value cannot be larger than 1023 GB

managedDisk

The managedDisk.

osState

The OS State. Possible values include: 'Generalized', 'Specialized'

osType

This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.

Possible values are:

Windows

Linux. Possible values include: 'Windows', 'Linux'

snapshot

The snapshot.

storageAccountType

Specifies the storage account type for the managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'

Property Details

blobUri

The Virtual Hard Disk.

blobUri?: string

Property Value

string

caching

Specifies the caching requirements.

Possible values are:

None

ReadOnly

ReadWrite

Default: None for Standard storage. ReadOnly for Premium storage. Possible values include: 'None', 'ReadOnly', 'ReadWrite'

caching?: string

Property Value

string

diskSizeGB

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

This value cannot be larger than 1023 GB

diskSizeGB?: number

Property Value

number

managedDisk

The managedDisk.

managedDisk?: SubResource

Property Value

osState

The OS State. Possible values include: 'Generalized', 'Specialized'

osState: string

Property Value

string

osType

This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image.

Possible values are:

Windows

Linux. Possible values include: 'Windows', 'Linux'

osType: string

Property Value

string

snapshot

The snapshot.

snapshot?: SubResource

Property Value

storageAccountType

Specifies the storage account type for the managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'

storageAccountType?: string

Property Value

string