Partager via


DevBox Class

Definition

A Dev Box

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.DevBoxTypeConverter))]
public class DevBox : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.IDevBox
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20231001Preview.DevBoxTypeConverter))>]
type DevBox = class
    interface IDevBox
    interface IJsonSerializable
Public Class DevBox
Implements IDevBox
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

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

CreatedTime

Creation time of this Dev Box

Detail

A list of additional details about the 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.

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 message describing the error, intended to be suitable for display in a user interface.

Name

Display name for the Dev Box

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 particular error. For example, the name of the property in 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.Api20231001Preview.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.

Applies to