你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GalleryDiskImage interface
This is the disk image base class.
Properties
host |
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite' |
size |
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
hostCaching
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'
hostCaching?: HostCaching
Property Value
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
source
The source for the disk image.
source?: GalleryDiskImageSource