你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SharedGalleryDataDiskImage 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

diskSizeGB

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.

hostCaching

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

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

diskSizeGB

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.

diskSizeGB?: number

Property Value

number

Inherited From SharedGalleryDiskImage.diskSizeGB

hostCaching

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

hostCaching?: string

Property Value

string

Inherited From SharedGalleryDiskImage.hostCaching