Udostępnij za pośrednictwem


DevBoxHardwareProfile Class

Definition

Hardware specifications for the Dev Box.

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

Properties

MemoryGB

The amount of memory available for the Dev Box.

SkuName

The name of the SKU.

VCPUs

The number of vCPUs available for the Dev Box.

Explicit Interface Implementations

IJsonModel<DevBoxHardwareProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevBoxHardwareProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevBoxHardwareProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevBoxHardwareProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevBoxHardwareProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to