Class DevBoxDefinitionProperties
java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.DevBoxDefinitionUpdateProperties
com.azure.resourcemanager.devcenter.fluent.models.DevBoxDefinitionProperties
Properties of a Dev Box definition.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DevBoxDefinitionProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the activeImageReference property: Image reference information for the currently active image (only populated during updates).Get the imageValidationErrorDetails property: Details for image validator error.Get the imageValidationStatus property: Validation status of the configured image.Get the provisioningState property: The provisioning state of the resource.void
validate()
Validates the instance.withHibernateSupport
(HibernateSupport hibernateSupport) Set the hibernateSupport property: Indicates whether Dev Boxes created with this definition are capable of hibernation.withImageReference
(ImageReference imageReference) Set the imageReference property: Image reference information.withOsStorageType
(String osStorageType) Set the osStorageType property: The storage type used for the Operating System disk of Dev Boxes created using this definition.Set the sku property: The SKU for Dev Boxes created using this definition.Methods inherited from class com.azure.resourcemanager.devcenter.fluent.models.DevBoxDefinitionUpdateProperties
hibernateSupport, imageReference, osStorageType, sku
-
Constructor Details
-
DevBoxDefinitionProperties
public DevBoxDefinitionProperties()Creates an instance of DevBoxDefinitionProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
imageValidationStatus
Get the imageValidationStatus property: Validation status of the configured image.- Returns:
- the imageValidationStatus value.
-
imageValidationErrorDetails
Get the imageValidationErrorDetails property: Details for image validator error. Populated when the image validation is not successful.- Returns:
- the imageValidationErrorDetails value.
-
activeImageReference
Get the activeImageReference property: Image reference information for the currently active image (only populated during updates).- Returns:
- the activeImageReference value.
-
withImageReference
Set the imageReference property: Image reference information.- Overrides:
withImageReference
in classDevBoxDefinitionUpdateProperties
- Parameters:
imageReference
- the imageReference value to set.- Returns:
- the DevBoxDefinitionUpdateProperties object itself.
-
withSku
Set the sku property: The SKU for Dev Boxes created using this definition.- Overrides:
withSku
in classDevBoxDefinitionUpdateProperties
- Parameters:
sku
- the sku value to set.- Returns:
- the DevBoxDefinitionUpdateProperties object itself.
-
withOsStorageType
Set the osStorageType property: The storage type used for the Operating System disk of Dev Boxes created using this definition.- Overrides:
withOsStorageType
in classDevBoxDefinitionUpdateProperties
- Parameters:
osStorageType
- the osStorageType value to set.- Returns:
- the DevBoxDefinitionUpdateProperties object itself.
-
withHibernateSupport
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 classDevBoxDefinitionUpdateProperties
- Parameters:
hibernateSupport
- the hibernateSupport value to set.- Returns:
- the DevBoxDefinitionUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDevBoxDefinitionUpdateProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-