Sdílet prostřednictvím


DevBox Class

Definition

A Dev Box.

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

Constructors

DevBox(String, String)

Initializes a new instance of DevBox.

Properties

ActionState

The current action state of the Dev Box. This is state is based on previous action performed by user.

CreatedTime

Creation time of this Dev Box.

Error

Provisioning or action error details. Populated only for error states.

HardwareProfile

Information about the Dev Box's hardware resources.

HibernateSupport

Indicates whether hibernate is enabled/disabled or unknown.

ImageReference

Information about the image used for this Dev Box.

LocalAdministratorStatus

Indicates whether the owner of the Dev Box is a local administrator.

Location

Azure region where this Dev Box is located. This will be the same region as the Virtual Network it is attached to.

Name

Display name for the Dev Box.

OSType

The operating system type of this Dev Box.

PoolName

The name of the Dev Box pool this machine belongs to.

PowerState

The current power state of the Dev Box.

ProjectName

Name of the project this Dev Box belongs to.

ProvisioningState

The current provisioning state of the Dev Box.

StorageProfile

Storage settings for this Dev Box.

UniqueId

A unique identifier for the Dev Box. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

UserId

The AAD object id of the user this Dev Box is assigned to.

Explicit Interface Implementations

IJsonModel<DevBox>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevBox>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevBox>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevBox>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevBox>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to