Partilhar via


DiffDiskSettings Class

Definition

Specifies the ephemeral Disk Settings for the operating system disk used by the compute node (VM).

public class DiffDiskSettings : System.ClientModel.Primitives.IJsonModel<Azure.Compute.Batch.DiffDiskSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.Compute.Batch.DiffDiskSettings>
type DiffDiskSettings = class
    interface IJsonModel<DiffDiskSettings>
    interface IPersistableModel<DiffDiskSettings>
Public Class DiffDiskSettings
Implements IJsonModel(Of DiffDiskSettings), IPersistableModel(Of DiffDiskSettings)
Inheritance
DiffDiskSettings
Implements

Constructors

DiffDiskSettings()

Initializes a new instance of DiffDiskSettings.

Properties

Placement

Specifies the ephemeral disk placement for operating system disk for all VMs in the pool. This property can be used by user in the request to choose the location e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.

Explicit Interface Implementations

IJsonModel<DiffDiskSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DiffDiskSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DiffDiskSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DiffDiskSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DiffDiskSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to