FormulaInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devtestlabs. fluent. models. FormulaInner
- com.
- com.
- com.
public final class FormulaInner
extends Resource
A formula for creating a VM, specifying an image base and other parameters.
Constructor Summary
Constructor | Description |
---|---|
FormulaInner() |
Creates an instance of Formula |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
author()
Get the author property: The author of the formula. |
Offset |
creationDate()
Get the creation |
String |
description()
Get the description property: The description of the formula. |
Lab |
formulaContent()
Get the formula |
String |
osType()
Get the os |
String |
provisioningState()
Get the provisioning |
String |
uniqueIdentifier()
Get the unique |
void |
validate()
Validates the instance. |
Formula |
vm()
Get the vm property: Information about a VM from which a formula is to be created. |
Formula |
withDescription(String description)
Set the description property: The description of the formula. |
Formula |
withFormulaContent(LabVirtualMachineCreationParameter formulaContent)
Set the formula |
Formula |
withLocation(String location) |
Formula |
withOsType(String osType)
Set the os |
Formula |
withTags(Map<String,String> tags) |
Formula |
withVm(FormulaPropertiesFromVm vm)
Set the vm property: Information about a VM from which a formula is to be created. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
FormulaInner
public FormulaInner()
Creates an instance of FormulaInner class.
Method Details
author
public String author()
Get the author property: The author of the formula.
Returns:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The creation date of the formula.
Returns:
description
public String description()
Get the description property: The description of the formula.
Returns:
formulaContent
public LabVirtualMachineCreationParameter formulaContent()
Get the formulaContent property: The content of the formula.
Returns:
osType
public String osType()
Get the osType property: The OS type of the formula.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning status of the resource.
Returns:
uniqueIdentifier
public String uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
validate
public void validate()
Validates the instance.
vm
public FormulaPropertiesFromVm vm()
Get the vm property: Information about a VM from which a formula is to be created.
Returns:
withDescription
public FormulaInner withDescription(String description)
Set the description property: The description of the formula.
Parameters:
Returns:
withFormulaContent
public FormulaInner withFormulaContent(LabVirtualMachineCreationParameter formulaContent)
Set the formulaContent property: The content of the formula.
Parameters:
Returns:
withLocation
public FormulaInner withLocation(String location)
Overrides:
FormulaInner.withLocation(String location)Parameters:
withOsType
public FormulaInner withOsType(String osType)
Set the osType property: The OS type of the formula.
Parameters:
Returns:
withTags
public FormulaInner withTags(Map
Overrides:
FormulaInner.withTags(Map<String,String> tags)Parameters:
withVm
public FormulaInner withVm(FormulaPropertiesFromVm vm)
Set the vm property: Information about a VM from which a formula is to be created.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for