public class FormulaInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
FormulaInner() |
Modifier and Type | Method and Description |
---|---|
String |
author()
Get the author property: The author of the formula.
|
OffsetDateTime |
creationDate()
Get the creationDate property: The creation date of the formula.
|
String |
description()
Get the description property: The description of the formula.
|
LabVirtualMachineCreationParameter |
formulaContent()
Get the formulaContent property: The content of the formula.
|
String |
osType()
Get the osType property: The OS type of the formula.
|
String |
provisioningState()
Get the provisioningState property: The provisioning status of the resource.
|
String |
uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
void |
validate()
Validates the instance.
|
FormulaPropertiesFromVm |
vm()
Get the vm property: Information about a VM from which a formula is to be created.
|
FormulaInner |
withDescription(String description)
Set the description property: The description of the formula.
|
FormulaInner |
withFormulaContent(LabVirtualMachineCreationParameter formulaContent)
Set the formulaContent property: The content of the formula.
|
FormulaInner |
withLocation(String location) |
FormulaInner |
withOsType(String osType)
Set the osType property: The OS type of the formula.
|
FormulaInner |
withTags(Map<String,String> tags) |
FormulaInner |
withVm(FormulaPropertiesFromVm vm)
Set the vm property: Information about a VM from which a formula is to be created.
|
public String description()
public FormulaInner withDescription(String description)
description
- the description value to set.public String author()
public String osType()
public FormulaInner withOsType(String osType)
osType
- the osType value to set.public OffsetDateTime creationDate()
public LabVirtualMachineCreationParameter formulaContent()
public FormulaInner withFormulaContent(LabVirtualMachineCreationParameter formulaContent)
formulaContent
- the formulaContent value to set.public FormulaPropertiesFromVm vm()
public FormulaInner withVm(FormulaPropertiesFromVm vm)
vm
- the vm value to set.public String provisioningState()
public String uniqueIdentifier()
public FormulaInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public FormulaInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.