Partager via


AdditionalCapabilities Class

Definition

AdditionalCapabilities for VM.

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

Constructors

AdditionalCapabilities()

Initializes a new instance of AdditionalCapabilities.

Properties

IsHibernationEnabled

The flag that enables or disables hibernation capability on the VM.

IsUltraSSDEnabled

The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AdditionalCapabilities>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AdditionalCapabilities>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AdditionalCapabilities>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AdditionalCapabilities>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AdditionalCapabilities>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to