你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DevBoxDefinitionData Class

Definition

A class representing the DevBoxDefinition data model. Represents a definition for a Developer Machine.

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

Constructors

DevBoxDefinitionData(AzureLocation)

Initializes a new instance of DevBoxDefinitionData.

Properties

ActiveImageReference

Image reference information for the currently active image (only populated during updates).

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.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
ImageReference

Image reference information.

ImageValidationErrorDetails

Details for image validator error. Populated when the image validation is not successful.

ImageValidationStatus

Validation status of the configured image.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
OSStorageType

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

ProvisioningState

The provisioning state of the resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Sku

The SKU for Dev Boxes created using this definition.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevBoxDefinitionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevBoxDefinitionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevBoxDefinitionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevBoxDefinitionData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevBoxDefinitionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to