Share via


DevBox Class

Definition

A Dev Box.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.DevBoxTypeConverter))]
public class DevBox : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IDevBox, Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Runtime.IHeaderSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.DevBoxTypeConverter))>]
type DevBox = class
    interface IDevBox
    interface IJsonSerializable
    interface IHeaderSerializable
Public Class DevBox
Implements IDevBox, IHeaderSerializable
Inheritance
DevBox
Attributes
Implements

Constructors

DevBox()

Creates an new DevBox instance.

Properties

ActionState

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

Code

One of a server-defined set of error codes.

CreatedTime

Creation time of this Dev Box.

Detail

An array of details about specific errors that led to this reported error.

HardwareProfileMemoryGb

The amount of memory available for the Dev Box.

HardwareProfileSkuName

The name of the SKU.

HardwareProfileVCpUs

The number of vCPUs available for the Dev Box.

HibernateSupport

Indicates whether hibernate is enabled/disabled or unknown.

ImageReferenceName

The name of the image used.

ImageReferenceOperatingSystem

The operating system of the image.

ImageReferenceOSBuildNumber

The operating system build number of the image.

ImageReferencePublishedDate

The datetime that the backing image version was published.

ImageReferenceVersion

The version of the image.

Innererror

An object containing more specific information than the current object about the error.

LocalAdministrator

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.

Message

A human-readable representation of the error.

Name

Display name for the Dev Box.

OperationLocation
OSDiskSizeGb

The size of the OS Disk in gigabytes.

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.

Target

The target of the error.

UniqueId

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

Uri

The unique URI of the dev box.

User

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DevBox.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DevBox.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IDevBox.

FromJsonString(String)

Creates a new instance of DevBox, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DevBox into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Explicit Interface Implementations

IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to