Class DevBoxDefinitionUpdateProperties
java.lang.Object
com.azure.resourcemanager.devcenter.fluent.models.DevBoxDefinitionUpdateProperties
- Direct Known Subclasses:
DevBoxDefinitionProperties
Properties of a Dev Box definition. These properties can be updated after the resource has been created.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DevBoxDefinitionUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the hibernateSupport property: Indicates whether Dev Boxes created with this definition are capable of hibernation.Get the imageReference property: Image reference information.Get the osStorageType property: The storage type used for the Operating System disk of Dev Boxes created using this definition.sku()
Get the sku property: The SKU for Dev Boxes created using this definition.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.
-
Constructor Details
-
DevBoxDefinitionUpdateProperties
public DevBoxDefinitionUpdateProperties()Creates an instance of DevBoxDefinitionUpdateProperties class.
-
-
Method Details
-
imageReference
Get the imageReference property: Image reference information.- Returns:
- the imageReference value.
-
withImageReference
Set the imageReference property: Image reference information.- Parameters:
imageReference
- the imageReference value to set.- Returns:
- the DevBoxDefinitionUpdateProperties object itself.
-
sku
Get the sku property: The SKU for Dev Boxes created using this definition.- Returns:
- the sku value.
-
withSku
Set the sku property: The SKU for Dev Boxes created using this definition.- Parameters:
sku
- the sku value to set.- Returns:
- the DevBoxDefinitionUpdateProperties object itself.
-
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
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 DevBoxDefinitionUpdateProperties object itself.
-
hibernateSupport
Get 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.- Returns:
- the hibernateSupport value.
-
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.- Parameters:
hibernateSupport
- the hibernateSupport value to set.- Returns:
- the DevBoxDefinitionUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-