Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ImageOSDisk

Package version

Describes an Operating System disk.

Hierarchy

  • ImageOSDisk

Index

Properties

Optional blobUri

blobUri: undefined | string

The Virtual Hard Disk.

Optional caching

caching: CachingTypes

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'

Optional diskSizeGB

diskSizeGB: undefined | number

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

Optional managedDisk

managedDisk: SubResource

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'

Optional snapshot

snapshot: SubResource

The snapshot.

Optional storageAccountType

storageAccountType: StorageAccountTypes

Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS'

Generated using TypeDoc