Class FormulaInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devtestlabs.fluent.models.FormulaInner
public final class FormulaInner
extends com.azure.core.management.Resource
A formula for creating a VM, specifying an image base and other parameters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthor()
Get the author property: The author of the formula.Get the creationDate property: The creation date of the formula.Get the description property: The description of the formula.Get the formulaContent property: The content of the formula.osType()
Get the osType property: The OS type of the formula.Get the provisioningState property: The provisioning status of the resource.Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).void
validate()
Validates the instance.vm()
Get the vm property: Information about a VM from which a formula is to be created.withDescription
(String description) Set the description property: The description of the formula.withFormulaContent
(LabVirtualMachineCreationParameter formulaContent) Set the formulaContent property: The content of the formula.withLocation
(String location) withOsType
(String osType) Set the osType property: The OS type of the formula.Set the vm property: Information about a VM from which a formula is to be created.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
-
FormulaInner
public FormulaInner()Creates an instance of FormulaInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
description
Get the description property: The description of the formula.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the formula.- Parameters:
description
- the description value to set.- Returns:
- the FormulaInner object itself.
-
author
Get the author property: The author of the formula.- Returns:
- the author value.
-
osType
Get the osType property: The OS type of the formula.- Returns:
- the osType value.
-
withOsType
Set the osType property: The OS type of the formula.- Parameters:
osType
- the osType value to set.- Returns:
- the FormulaInner object itself.
-
creationDate
Get the creationDate property: The creation date of the formula.- Returns:
- the creationDate value.
-
formulaContent
Get the formulaContent property: The content of the formula.- Returns:
- the formulaContent value.
-
withFormulaContent
Set the formulaContent property: The content of the formula.- Parameters:
formulaContent
- the formulaContent value to set.- Returns:
- the FormulaInner object itself.
-
vm
Get the vm property: Information about a VM from which a formula is to be created.- Returns:
- the vm value.
-
withVm
Set the vm property: Information about a VM from which a formula is to be created.- Parameters:
vm
- the vm value to set.- Returns:
- the FormulaInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning status of the resource.- Returns:
- the provisioningState value.
-
uniqueIdentifier
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).- Returns:
- the uniqueIdentifier value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-