Condividi tramite


SharedGalleryOSDiskImage Class

Definition

This is the OS disk image.

public class SharedGalleryOSDiskImage : Azure.ResourceManager.Compute.Models.SharedGalleryDiskImage, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.SharedGalleryOSDiskImage>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.SharedGalleryOSDiskImage>
type SharedGalleryOSDiskImage = class
    inherit SharedGalleryDiskImage
    interface IJsonModel<SharedGalleryOSDiskImage>
    interface IPersistableModel<SharedGalleryOSDiskImage>
Public Class SharedGalleryOSDiskImage
Inherits SharedGalleryDiskImage
Implements IJsonModel(Of SharedGalleryOSDiskImage), IPersistableModel(Of SharedGalleryOSDiskImage)
Inheritance
SharedGalleryOSDiskImage
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)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from SharedGalleryDiskImage)

Explicit Interface Implementations

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

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

IJsonModel<SharedGalleryOSDiskImage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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

Converts the provided BinaryData into a model.

IPersistableModel<SharedGalleryOSDiskImage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SharedGalleryOSDiskImage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to