ImageOSDisk interface
Describes an Operating System disk.
- Extends
Properties
os |
The OS State. |
os |
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. |
Inherited Properties
blob |
The Virtual Hard Disk. |
caching | Specifies the caching requirements. |
disk |
Specifies the customer managed disk encryption set resource id for the managed image disk. |
disk |
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. |
managed |
The managedDisk. |
snapshot | The snapshot. |
storage |
Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. |
Property Details
osState
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
osType: OperatingSystemTypes
Property Value
Inherited Property Details
blobUri
caching
Specifies the caching requirements.
Possible values are:
None
ReadOnly
ReadWrite
Default: None for Standard storage. ReadOnly for Premium storage
caching?: CachingTypes
Property Value
Inherited From ImageDisk.caching
diskEncryptionSet
Specifies the customer managed disk encryption set resource id for the managed image disk.
diskEncryptionSet?: DiskEncryptionSetParameters
Property Value
Inherited From ImageDisk.diskEncryptionSet
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
Inherited From ImageDisk.diskSizeGB
managedDisk
snapshot
storageAccountType
Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.
storageAccountType?: string
Property Value
string
Inherited From ImageDisk.storageAccountType