DevBoxDefinitionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devcenter. fluent. models. DevBoxDefinitionInner
- com.
- com.
- com.
public final class DevBoxDefinitionInner
extends Resource
Represents a definition for a Developer Machine.
Constructor Summary
| Constructor | Description |
|---|---|
| DevBoxDefinitionInner() |
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 |
|
Hibernate |
hibernateSupport()
Get the hibernate |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Image |
imageReference()
Get the image |
|
Image |
imageValidationErrorDetails()
Get the image |
|
Image |
imageValidationStatus()
Get the image |
| String |
name()
Get the name property: The name of the resource. |
| String |
osStorageType()
Get the os |
|
Provisioning |
provisioningState()
Get the provisioning |
| Sku |
sku()
Get the sku property: The SKU for Dev Boxes created using this definition. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| 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 |
withLocation(String location) |
|
Dev |
withOsStorageType(String osStorageType)
Set the os |
|
Dev |
withSku(Sku sku)
Set the sku property: The SKU for Dev Boxes created using this definition. |
|
Dev |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DevBoxDefinitionInner
public DevBoxDefinitionInner()
Creates an instance of DevBoxDefinitionInner 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 DevBoxDefinitionInner fromJson(JsonReader jsonReader)
Reads an instance of DevBoxDefinitionInner from the JsonReader.
Parameters:
Returns:
Throws:
hibernateSupport
public HibernateSupport 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:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DevBoxDefinitionInner.id()Returns:
imageReference
public ImageReference imageReference()
Get the imageReference property: Image reference information.
Returns:
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:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DevBoxDefinitionInner.name()Returns:
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:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
sku
public Sku sku()
Get the sku property: The SKU for Dev Boxes created using this definition.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DevBoxDefinitionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DevBoxDefinitionInner.type()Returns:
validate
public void validate()
Validates the instance.
validationStatus
public CatalogResourceValidationStatus validationStatus()
Get the validationStatus property: Validation status for the Dev Box Definition.
Returns:
withHibernateSupport
public DevBoxDefinitionInner 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.
Parameters:
Returns:
withImageReference
public DevBoxDefinitionInner withImageReference(ImageReference imageReference)
Set the imageReference property: Image reference information.
Parameters:
Returns:
withLocation
public DevBoxDefinitionInner withLocation(String location)
Overrides:
DevBoxDefinitionInner.withLocation(String location)Parameters:
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:
Returns:
withSku
public DevBoxDefinitionInner withSku(Sku sku)
Set the sku property: The SKU for Dev Boxes created using this definition.
Parameters:
Returns:
withTags
public DevBoxDefinitionInner withTags(Map<String,String> tags)
Overrides:
DevBoxDefinitionInner.withTags(Map<String,String> tags)Parameters: