Class DevBoxPool

java.lang.Object
com.azure.developer.devcenter.models.DevBoxPool
All Implemented Interfaces:
com.azure.json.JsonSerializable<DevBoxPool>

public final class DevBoxPool extends Object implements com.azure.json.JsonSerializable<DevBoxPool>
A pool of Dev Boxes.
  • Method Details

    • getName

      public String getName()
      Get the name property: Pool name.
      Returns:
      the name value.
    • getLocation

      public String getLocation()
      Get the location property: Azure region where Dev Boxes in the pool are located.
      Returns:
      the location value.
    • getOsType

      public DevBoxOsType getOsType()
      Get the osType property: The operating system type of Dev Boxes in this pool.
      Returns:
      the osType value.
    • getHardwareProfile

      public DevBoxHardwareProfile getHardwareProfile()
      Get the hardwareProfile property: Hardware settings for the Dev Boxes created in this pool.
      Returns:
      the hardwareProfile value.
    • getHibernateSupport

      public HibernateSupport getHibernateSupport()
      Get the hibernateSupport property: Indicates whether hibernate is enabled/disabled or unknown.
      Returns:
      the hibernateSupport value.
    • getStorageProfile

      public DevBoxStorageProfile getStorageProfile()
      Get the storageProfile property: Storage settings for Dev Box created in this pool.
      Returns:
      the storageProfile 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.
    • getStopOnDisconnect

      public StopOnDisconnectConfiguration getStopOnDisconnect()
      Get the stopOnDisconnect property: Stop on disconnect configuration settings for Dev Boxes created in this pool.
      Returns:
      the stopOnDisconnect 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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DevBoxPool>
      Throws:
      IOException
    • fromJson

      public static DevBoxPool fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the DevBoxPool.