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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the activeImageReference property: Image reference information for the currently active image (only populated during updates).Get the hibernateSupport property: Indicates whether Dev Boxes created with this definition are capable of hibernation.Get the imageReference property: Image reference information.Get the imageValidationErrorDetails property: Details for image validator error.Get the imageValidationStatus property: Validation status of the configured image.Get the osStorageType property: The storage type used for the Operating System disk of Dev Boxes created using this definition.Get the provisioningState property: The provisioning state of the resource.sku()
Get the sku property: The SKU for Dev Boxes created using this definition.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.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.withLocation
(String location) 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.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DevBoxDefinitionInner
public DevBoxDefinitionInner()Creates an instance of DevBoxDefinitionInner class.
-
-
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
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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.
-
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 DevBoxDefinitionInner 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 DevBoxDefinitionInner 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 DevBoxDefinitionInner 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 DevBoxDefinitionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-