Partilhar via


OSDisk Class

Definition

Settings for the operating system disk.

public class OSDisk : System.ClientModel.Primitives.IJsonModel<Azure.Developer.DevCenter.Models.OSDisk>, System.ClientModel.Primitives.IPersistableModel<Azure.Developer.DevCenter.Models.OSDisk>
type OSDisk = class
    interface IJsonModel<OSDisk>
    interface IPersistableModel<OSDisk>
Public Class OSDisk
Implements IJsonModel(Of OSDisk), IPersistableModel(Of OSDisk)
Inheritance
OSDisk
Implements

Properties

DiskSizeGB

The size of the OS Disk in gigabytes.

Explicit Interface Implementations

IJsonModel<OSDisk>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OSDisk>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<OSDisk>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OSDisk>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OSDisk>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to