Class DevBoxDefinitionUpdate
java.lang.Object
com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
com.azure.resourcemanager.devcenter.models.DevBoxDefinitionUpdate
Partial update of a Dev Box definition resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet 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.withImageReference
(ImageReference imageReference) Set the imageReference property: Image reference information.withLocation
(String location) Set the location property: The geo-location where the resource lives.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.Set the tags property: Resource tags.Methods inherited from class com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
location, tags
-
Constructor Details
-
DevBoxDefinitionUpdate
public DevBoxDefinitionUpdate()
-
-
Method Details
-
withTags
Set the tags property: Resource tags.- Overrides:
withTags
in classTrackedResourceUpdate
- Parameters:
tags
- the tags value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
withLocation
Set the location property: The geo-location where the resource lives.- Overrides:
withLocation
in classTrackedResourceUpdate
- Parameters:
location
- the location value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
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 DevBoxDefinitionUpdate 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 DevBoxDefinitionUpdate 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 DevBoxDefinitionUpdate object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classTrackedResourceUpdate
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-