你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GalleryDataDiskImage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This is the data disk image.
public class GalleryDataDiskImage : Azure.ResourceManager.Compute.Models.GalleryDiskImage, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.GalleryDataDiskImage>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.GalleryDataDiskImage>
type GalleryDataDiskImage = class
inherit GalleryDiskImage
interface IJsonModel<GalleryDataDiskImage>
interface IPersistableModel<GalleryDataDiskImage>
Public Class GalleryDataDiskImage
Inherits GalleryDiskImage
Implements IJsonModel(Of GalleryDataDiskImage), IPersistableModel(Of GalleryDataDiskImage)
- Inheritance
- Implements
Constructors
GalleryDataDiskImage(Int32) |
Initializes a new instance of GalleryDataDiskImage. |
Properties
GallerySource |
The source for the disk image. (Inherited from GalleryDiskImage) |
HostCaching |
The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. (Inherited from GalleryDiskImage) |
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. |
SizeInGB |
This property indicates the size of the VHD to be created. (Inherited from GalleryDiskImage) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |