FormulaFragment Class
A formula for creating a VM, specifying an image base and other parameters.
Constructor
FormulaFragment(*, tags: Dict[str, str] | None = None, description: str | None = None, author: str | None = None, os_type: str | None = None, formula_content: LabVirtualMachineCreationParameterFragment | None = None, vm: FormulaPropertiesFromVmFragment | None = None, **kwargs)
Parameters
| Name | Description |
|---|---|
|
tags
Required
|
A set of tags. The tags of the resource. |
|
description
Required
|
The description of the formula. |
|
author
Required
|
The author of the formula. |
|
os_type
Required
|
The OS type of the formula. |
|
formula_content
Required
|
The content of the formula. |
|
vm
Required
|
Information about a VM from which a formula is to be created. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
tags
|
Default value: None
|
|
description
|
Default value: None
|
|
author
|
Default value: None
|
|
os_type
|
Default value: None
|
|
formula_content
|
Default value: None
|
|
vm
|
Default value: None
|