DevBox Class
- java.
lang. Object - com.
azure. developer. devcenter. models. DevBox
- com.
Implements
public final class DevBox
implements JsonSerializable<DevBox>
A Dev Box.
Constructor Summary
| Constructor | Description |
|---|---|
| DevBox(String devBoxName, String poolName) |
Creates an instance of Dev |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Dev |
fromJson(JsonReader jsonReader)
Reads an instance of Dev |
| String |
getActionState()
Get the action |
|
Offset |
getCreatedTime()
Get the created |
|
Response |
getError()
Get the error property: Provisioning or action error details. |
|
Dev |
getHardwareProfile()
Get the hardware |
|
Hibernate |
getHibernateSupport()
Get the hibernate |
|
Dev |
getImageReference()
Get the image |
|
Local |
getLocalAdministratorStatus()
Get the local |
| String |
getLocation()
Get the location property: Azure region where this Dev Box is located. |
| String |
getName()
Get the name property: Display name for the Dev Box. |
|
Dev |
getOsType()
Get the os |
| String |
getPoolName()
Get the pool |
|
Power |
getPowerState()
Get the power |
| String |
getProjectName()
Get the project |
|
Dev |
getProvisioningState()
Get the provisioning |
|
Dev |
getStorageProfile()
Get the storage |
| String |
getUniqueId()
Get the unique |
| String |
getUserId()
Get the user |
|
Dev |
setLocalAdministratorStatus(LocalAdministratorStatus localAdministratorStatus)
Set the local |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
DevBox
public DevBox(String devBoxName, String poolName)
Creates an instance of DevBox class.
Parameters:
Method Details
fromJson
public static DevBox fromJson(JsonReader jsonReader)
Reads an instance of DevBox from the JsonReader.
Parameters:
Returns:
Throws:
getActionState
public String getActionState()
Get the actionState property: The current action state of the Dev Box. This is state is based on previous action performed by user.
Returns:
getCreatedTime
public OffsetDateTime getCreatedTime()
Get the createdTime property: Creation time of this Dev Box, in RFC3339 format.
Returns:
getError
public ResponseError getError()
Get the error property: Provisioning or action error details. Populated only for error states.
Returns:
getHardwareProfile
public DevBoxHardwareProfile getHardwareProfile()
Get the hardwareProfile property: Information about the Dev Box's hardware resources.
Returns:
getHibernateSupport
public HibernateSupport getHibernateSupport()
Get the hibernateSupport property: Indicates whether hibernate is enabled/disabled or unknown.
Returns:
getImageReference
public DevBoxImageReference getImageReference()
Get the imageReference property: Information about the image used for this Dev Box.
Returns:
getLocalAdministratorStatus
public LocalAdministratorStatus getLocalAdministratorStatus()
Get the localAdministratorStatus property: Indicates whether the owner of the Dev Box is a local administrator.
Returns:
getLocation
public String getLocation()
Get the location property: Azure region where this Dev Box is located. This will be the same region as the Virtual Network it is attached to.
Returns:
getName
public String getName()
Get the name property: Display name for the Dev Box.
Returns:
getOsType
public DevBoxOsType getOsType()
Get the osType property: The operating system type of this Dev Box.
Returns:
getPoolName
public String getPoolName()
Get the poolName property: The name of the Dev Box pool this machine belongs to.
Returns:
getPowerState
public PowerState getPowerState()
Get the powerState property: The current power state of the Dev Box.
Returns:
getProjectName
public String getProjectName()
Get the projectName property: Name of the project this Dev Box belongs to.
Returns:
getProvisioningState
public DevBoxProvisioningState getProvisioningState()
Get the provisioningState property: The current provisioning state of the Dev Box.
Returns:
getStorageProfile
public DevBoxStorageProfile getStorageProfile()
Get the storageProfile property: Storage settings for this Dev Box.
Returns:
getUniqueId
public String getUniqueId()
Get the uniqueId property: A unique identifier for the Dev Box. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
Returns:
getUserId
public String getUserId()
Get the userId property: The AAD object id of the user this Dev Box is assigned to.
Returns:
setLocalAdministratorStatus
public DevBox setLocalAdministratorStatus(LocalAdministratorStatus localAdministratorStatus)
Set the localAdministratorStatus property: Indicates whether the owner of the Dev Box is a local administrator.
Parameters:
Returns: