GalleryDataDiskImage Class

Definition

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
GalleryDataDiskImage
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)

Explicit Interface Implementations

IJsonModel<GalleryDataDiskImage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<GalleryDataDiskImage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<GalleryDiskImage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from GalleryDiskImage)
IJsonModel<GalleryDiskImage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from GalleryDiskImage)
IPersistableModel<GalleryDataDiskImage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryDataDiskImage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<GalleryDataDiskImage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<GalleryDiskImage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from GalleryDiskImage)
IPersistableModel<GalleryDiskImage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from GalleryDiskImage)
IPersistableModel<GalleryDiskImage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from GalleryDiskImage)

Applies to