Partilhar via


ComputeFleetDiffDiskSettings Class

Definition

Describes the parameters of ephemeral disk settings that can be specified for operating system disk. Note: The ephemeral disk settings can only be specified for managed disk.

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

Constructors

ComputeFleetDiffDiskSettings()

Initializes a new instance of ComputeFleetDiffDiskSettings.

Properties

Option

Specifies the ephemeral disk settings for operating system disk.

Placement

Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk is used. Refer to the VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeFleetDiffDiskSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeFleetDiffDiskSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeFleetDiffDiskSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeFleetDiffDiskSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeFleetDiffDiskSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to