Dela via


GalleryDataDiskImage interface

This is the data disk image.

Extends

Properties

lun

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

Inherited Properties

hostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

sizeInGB

This property indicates the size of the VHD to be created. NOTE: This property will not be serialized. It can only be populated by the server.

source

The source for the disk image.

Property Details

lun

This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.

lun: number

Property Value

number

Inherited Property Details

hostCaching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'

hostCaching?: HostCaching

Property Value

Inherited From GalleryDiskImage.hostCaching

sizeInGB

This property indicates the size of the VHD to be created. NOTE: This property will not be serialized. It can only be populated by the server.

sizeInGB?: number

Property Value

number

Inherited From GalleryDiskImage.sizeInGB

source

The source for the disk image.

source?: GalleryDiskImageSource

Property Value

Inherited From GalleryDiskImage.source