DevBoxPool Class

  • java.lang.Object
    • com.azure.developer.devcenter.models.DevBoxPool

Implements

public final class DevBoxPool
implements JsonSerializable<DevBoxPool>

A pool of Dev Boxes.

Method Summary

Modifier and Type Method and Description
static DevBoxPool fromJson(JsonReader jsonReader)

Reads an instance of DevBoxPool from the JsonReader.

DevBoxHardwareProfile getHardwareProfile()

Get the hardwareProfile property: Hardware settings for the Dev Boxes created in this pool.

PoolHealthStatus getHealthStatus()

Get the healthStatus property: Overall health status of the Pool.

HibernateSupport getHibernateSupport()

Get the hibernateSupport property: Indicates whether hibernate is enabled/disabled or unknown.

DevBoxImageReference getImageReference()

Get the imageReference property: Image settings for Dev Boxes create in this pool.

LocalAdministratorStatus getLocalAdministratorStatus()

Get the localAdministratorStatus property: Indicates whether owners of Dev Boxes in this pool are local administrators on the Dev Boxes.

String getLocation()

Get the location property: Azure region where Dev Boxes in the pool are located.

String getName()

Get the name property: Pool name.

DevBoxOsType getOsType()

Get the osType property: The operating system type of Dev Boxes in this pool.

StopOnDisconnectConfiguration getStopOnDisconnect()

Get the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.

DevBoxStorageProfile getStorageProfile()

Get the storageProfile property: Storage settings for Dev Box created in this pool.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static DevBoxPool fromJson(JsonReader jsonReader)

Reads an instance of DevBoxPool from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DevBoxPool if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getHardwareProfile

public DevBoxHardwareProfile getHardwareProfile()

Get the hardwareProfile property: Hardware settings for the Dev Boxes created in this pool.

Returns:

the hardwareProfile value.

getHealthStatus

public PoolHealthStatus getHealthStatus()

Get the healthStatus property: Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes.

Returns:

the healthStatus value.

getHibernateSupport

public HibernateSupport getHibernateSupport()

Get the hibernateSupport property: Indicates whether hibernate is enabled/disabled or unknown.

Returns:

the hibernateSupport value.

getImageReference

public DevBoxImageReference getImageReference()

Get the imageReference property: Image settings for Dev Boxes create in this pool.

Returns:

the imageReference value.

getLocalAdministratorStatus

public LocalAdministratorStatus getLocalAdministratorStatus()

Get the localAdministratorStatus property: Indicates whether owners of Dev Boxes in this pool are local administrators on the Dev Boxes.

Returns:

the localAdministratorStatus value.

getLocation

public String getLocation()

Get the location property: Azure region where Dev Boxes in the pool are located.

Returns:

the location value.

getName

public String getName()

Get the name property: Pool name.

Returns:

the name value.

getOsType

public DevBoxOsType getOsType()

Get the osType property: The operating system type of Dev Boxes in this pool.

Returns:

the osType value.

getStopOnDisconnect

public StopOnDisconnectConfiguration getStopOnDisconnect()

Get the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.

Returns:

the stopOnDisconnect value.

getStorageProfile

public DevBoxStorageProfile getStorageProfile()

Get the storageProfile property: Storage settings for Dev Box created in this pool.

Returns:

the storageProfile value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to