Share via


DevBoxDefinitionPatch Class

Definition

Partial update of a Dev Box definition resource.

public class DevBoxDefinitionPatch : Azure.ResourceManager.DevCenter.Models.DevCenterTrackedResourceUpdate, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevCenter.Models.DevBoxDefinitionPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevCenter.Models.DevBoxDefinitionPatch>
type DevBoxDefinitionPatch = class
    inherit DevCenterTrackedResourceUpdate
    interface IJsonModel<DevBoxDefinitionPatch>
    interface IPersistableModel<DevBoxDefinitionPatch>
Public Class DevBoxDefinitionPatch
Inherits DevCenterTrackedResourceUpdate
Implements IJsonModel(Of DevBoxDefinitionPatch), IPersistableModel(Of DevBoxDefinitionPatch)
Inheritance
DevBoxDefinitionPatch
Implements

Constructors

DevBoxDefinitionPatch()

Initializes a new instance of DevBoxDefinitionPatch.

Properties

HibernateSupport

Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate.

ImageReference

Image reference information.

Location

The geo-location where the resource lives.

(Inherited from DevCenterTrackedResourceUpdate)
OSStorageType

The storage type used for the Operating System disk of Dev Boxes created using this definition.

Sku

The SKU for Dev Boxes created using this definition.

Tags

Resource tags.

(Inherited from DevCenterTrackedResourceUpdate)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevBoxDefinitionPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevBoxDefinitionPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<DevCenterTrackedResourceUpdate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from DevCenterTrackedResourceUpdate)
IJsonModel<DevCenterTrackedResourceUpdate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DevCenterTrackedResourceUpdate)
IPersistableModel<DevBoxDefinitionPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevBoxDefinitionPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevBoxDefinitionPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<DevCenterTrackedResourceUpdate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DevCenterTrackedResourceUpdate)
IPersistableModel<DevCenterTrackedResourceUpdate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from DevCenterTrackedResourceUpdate)
IPersistableModel<DevCenterTrackedResourceUpdate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DevCenterTrackedResourceUpdate)

Applies to