Partager via


SharedGalleryDataDiskImage Class

Definition

This is the data disk image.

public class SharedGalleryDataDiskImage : Azure.ResourceManager.Compute.Models.SharedGalleryDiskImage, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.SharedGalleryDataDiskImage>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.SharedGalleryDataDiskImage>
type SharedGalleryDataDiskImage = class
    inherit SharedGalleryDiskImage
    interface IJsonModel<SharedGalleryDataDiskImage>
    interface IPersistableModel<SharedGalleryDataDiskImage>
Public Class SharedGalleryDataDiskImage
Inherits SharedGalleryDiskImage
Implements IJsonModel(Of SharedGalleryDataDiskImage), IPersistableModel(Of SharedGalleryDataDiskImage)
Inheritance
SharedGalleryDataDiskImage
Implements

Properties

DiskSizeGB

This property indicates the size of the VHD to be created.

(Inherited from SharedGalleryDiskImage)
HostCaching

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

(Inherited from SharedGalleryDiskImage)
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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SharedGalleryDataDiskImage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SharedGalleryDataDiskImage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SharedGalleryDiskImage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from SharedGalleryDiskImage)
IPersistableModel<SharedGalleryDataDiskImage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SharedGalleryDataDiskImage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SharedGalleryDataDiskImage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SharedGalleryDiskImage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from SharedGalleryDiskImage)

Applies to