GalleryOSDiskImage Class

Definition

This is the OS disk image.

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

Constructors

GalleryOSDiskImage()

Initializes a new instance of GalleryOSDiskImage.

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

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

(Inherited from GalleryDiskImage)

Explicit Interface Implementations

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)
IJsonModel<GalleryOSDiskImage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<GalleryOSDiskImage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<GalleryOSDiskImage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GalleryOSDiskImage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<GalleryOSDiskImage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to