Class DevBoxDefinitionProperties

java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.DevBoxDefinitionUpdateProperties
com.azure.resourcemanager.devcenter.fluent.models.DevBoxDefinitionProperties

public final class DevBoxDefinitionProperties extends DevBoxDefinitionUpdateProperties
Properties of a Dev Box definition.
  • Constructor Details

    • DevBoxDefinitionProperties

      public DevBoxDefinitionProperties()
      Creates an instance of DevBoxDefinitionProperties class.
  • Method Details

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • imageValidationStatus

      public ImageValidationStatus imageValidationStatus()
      Get the imageValidationStatus property: Validation status of the configured image.
      Returns:
      the imageValidationStatus value.
    • imageValidationErrorDetails

      public ImageValidationErrorDetails imageValidationErrorDetails()
      Get the imageValidationErrorDetails property: Details for image validator error. Populated when the image validation is not successful.
      Returns:
      the imageValidationErrorDetails value.
    • activeImageReference

      public ImageReference activeImageReference()
      Get the activeImageReference property: Image reference information for the currently active image (only populated during updates).
      Returns:
      the activeImageReference value.
    • withImageReference

      public DevBoxDefinitionProperties withImageReference(ImageReference imageReference)
      Set the imageReference property: Image reference information.
      Overrides:
      withImageReference in class DevBoxDefinitionUpdateProperties
      Parameters:
      imageReference - the imageReference value to set.
      Returns:
      the DevBoxDefinitionUpdateProperties object itself.
    • withSku

      public DevBoxDefinitionProperties withSku(Sku sku)
      Set the sku property: The SKU for Dev Boxes created using this definition.
      Overrides:
      withSku in class DevBoxDefinitionUpdateProperties
      Parameters:
      sku - the sku value to set.
      Returns:
      the DevBoxDefinitionUpdateProperties object itself.
    • withOsStorageType

      public DevBoxDefinitionProperties withOsStorageType(String osStorageType)
      Set the osStorageType property: The storage type used for the Operating System disk of Dev Boxes created using this definition.
      Overrides:
      withOsStorageType in class DevBoxDefinitionUpdateProperties
      Parameters:
      osStorageType - the osStorageType value to set.
      Returns:
      the DevBoxDefinitionUpdateProperties object itself.
    • withHibernateSupport

      public DevBoxDefinitionProperties withHibernateSupport(HibernateSupport hibernateSupport)
      Set the hibernateSupport property: Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate.
      Overrides:
      withHibernateSupport in class DevBoxDefinitionUpdateProperties
      Parameters:
      hibernateSupport - the hibernateSupport value to set.
      Returns:
      the DevBoxDefinitionUpdateProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class DevBoxDefinitionUpdateProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.