DevBoxDefinitionProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. fluent. models. DevBoxDefinitionUpdateProperties - com.
azure. resourcemanager. devcenter. fluent. models. DevBoxDefinitionProperties
- com.
- com.
public final class DevBoxDefinitionProperties
extends DevBoxDefinitionUpdateProperties
Properties of a Dev Box definition.
Constructor Summary
| Constructor | Description |
|---|---|
| DevBoxDefinitionProperties() |
Creates an instance of Dev |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Image |
activeImageReference()
Get the active |
|
static
Dev |
fromJson(JsonReader jsonReader)
Reads an instance of Dev |
|
Image |
imageValidationErrorDetails()
Get the image |
|
Image |
imageValidationStatus()
Get the image |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Catalog |
validationStatus()
Get the validation |
|
Dev |
withHibernateSupport(HibernateSupport hibernateSupport)
Set the hibernate |
|
Dev |
withImageReference(ImageReference imageReference)
Set the image |
|
Dev |
withOsStorageType(String osStorageType)
Set the os |
|
Dev |
withSku(Sku sku)
Set the sku property: The SKU for Dev Boxes created using this definition. |
Methods inherited from DevBoxDefinitionUpdateProperties
Methods inherited from java.lang.Object
Constructor Details
DevBoxDefinitionProperties
public DevBoxDefinitionProperties()
Creates an instance of DevBoxDefinitionProperties class.
Method Details
activeImageReference
public ImageReference activeImageReference()
Get the activeImageReference property: Image reference information for the currently active image (only populated during updates).
Returns:
fromJson
public static DevBoxDefinitionProperties fromJson(JsonReader jsonReader)
Reads an instance of DevBoxDefinitionProperties from the JsonReader.
Parameters:
Returns:
Throws:
imageValidationErrorDetails
public ImageValidationErrorDetails imageValidationErrorDetails()
Get the imageValidationErrorDetails property: Details for image validator error. Populated when the image validation is not successful.
Returns:
imageValidationStatus
public ImageValidationStatus imageValidationStatus()
Get the imageValidationStatus property: Validation status of the configured image.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DevBoxDefinitionProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DevBoxDefinitionProperties.validate()validationStatus
public CatalogResourceValidationStatus validationStatus()
Get the validationStatus property: Validation status for the Dev Box Definition.
Returns:
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:
DevBoxDefinitionProperties.withHibernateSupport(HibernateSupport hibernateSupport)Parameters:
withImageReference
public DevBoxDefinitionProperties withImageReference(ImageReference imageReference)
Set the imageReference property: Image reference information.
Overrides:
DevBoxDefinitionProperties.withImageReference(ImageReference imageReference)Parameters:
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:
DevBoxDefinitionProperties.withOsStorageType(String osStorageType)Parameters:
withSku
public DevBoxDefinitionProperties withSku(Sku sku)
Set the sku property: The SKU for Dev Boxes created using this definition.
Overrides:
DevBoxDefinitionProperties.withSku(Sku sku)Parameters: