Share via


BatchDiffDiskSettings Class

Definition

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

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

Constructors

BatchDiffDiskSettings()

Initializes a new instance of BatchDiffDiskSettings.

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://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BatchDiffDiskSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BatchDiffDiskSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BatchDiffDiskSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BatchDiffDiskSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BatchDiffDiskSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to