Class DevBoxDefinitionInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devcenter.fluent.models.DevBoxDefinitionInner

public final class DevBoxDefinitionInner extends com.azure.core.management.Resource
Represents a definition for a Developer Machine.
  • Constructor Details

    • DevBoxDefinitionInner

      public DevBoxDefinitionInner()
  • Method Details

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • withLocation

      public DevBoxDefinitionInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public DevBoxDefinitionInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • provisioningState

      public String 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.
    • imageReference

      public ImageReference imageReference()
      Get the imageReference property: Image reference information.
      Returns:
      the imageReference value.
    • withImageReference

      public DevBoxDefinitionInner withImageReference(ImageReference imageReference)
      Set the imageReference property: Image reference information.
      Parameters:
      imageReference - the imageReference value to set.
      Returns:
      the DevBoxDefinitionInner object itself.
    • sku

      public Sku sku()
      Get the sku property: The SKU for Dev Boxes created using this definition.
      Returns:
      the sku value.
    • withSku

      public DevBoxDefinitionInner withSku(Sku sku)
      Set the sku property: The SKU for Dev Boxes created using this definition.
      Parameters:
      sku - the sku value to set.
      Returns:
      the DevBoxDefinitionInner object itself.
    • osStorageType

      public String osStorageType()
      Get the osStorageType property: The storage type used for the Operating System disk of Dev Boxes created using this definition.
      Returns:
      the osStorageType value.
    • withOsStorageType

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

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