FormulaInner Class

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 FormulaInner class.

Method Summary

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.

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:

the author value.

creationDate

public OffsetDateTime creationDate()

Get the creationDate property: The creation date of the formula.

Returns:

the creationDate value.

description

public String description()

Get the description property: The description of the formula.

Returns:

the description value.

formulaContent

public LabVirtualMachineCreationParameter formulaContent()

Get the formulaContent property: The content of the formula.

Returns:

the formulaContent value.

osType

public String osType()

Get the osType property: The OS type of the formula.

Returns:

the osType value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning status of the resource.

Returns:

the provisioningState value.

uniqueIdentifier

public String uniqueIdentifier()

Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

Returns:

the uniqueIdentifier value.

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:

the vm value.

withDescription

public FormulaInner withDescription(String description)

Set the description property: The description of the formula.

Parameters:

description - the description value to set.

Returns:

the FormulaInner object itself.

withFormulaContent

public FormulaInner withFormulaContent(LabVirtualMachineCreationParameter formulaContent)

Set the formulaContent property: The content of the formula.

Parameters:

formulaContent - the formulaContent value to set.

Returns:

the FormulaInner object itself.

withLocation

public FormulaInner withLocation(String location)

Overrides:

FormulaInner.withLocation(String location)

Parameters:

location

withOsType

public FormulaInner withOsType(String osType)

Set the osType property: The OS type of the formula.

Parameters:

osType - the osType value to set.

Returns:

the FormulaInner object itself.

withTags

public FormulaInner withTags(Map tags)

Overrides:

FormulaInner.withTags(Map<String,String> tags)

Parameters:

tags

withVm

public FormulaInner withVm(FormulaPropertiesFromVm vm)

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.

Applies to