Formula Class
A formula for creating a VM, specifying an image base and other parameters.
Variables are only populated by the server, and will be ignored when sending a request.
Constructor
Formula(*, location: str | None = None, tags: dict[str, str] | None = None, description: str | None = None, os_type: str | None = None, formula_content: _models.LabVirtualMachineCreationParameter | None = None, vm: _models.FormulaPropertiesFromVm | None = None, **kwargs: Any)
Keyword-Only Parameters
| Name | Description |
|---|---|
|
location
|
The location of the resource. Default value: None
|
|
tags
|
The tags of the resource. Default value: None
|
|
description
|
The description of the formula. Default value: None
|
|
os_type
|
The OS type of the formula. Default value: None
|
|
formula_content
|
The content of the formula. Default value: None
|
|
vm
|
Information about a VM from which a formula is to be created. Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
The identifier of the resource. |
|
name
|
The name of the resource. |
|
type
|
The type of the resource. |
|
location
|
The location of the resource. |
|
tags
|
The tags of the resource. |
|
description
|
The description of the formula. |
|
author
|
The author of the formula. |
|
os_type
|
The OS type of the formula. |
|
creation_date
|
The creation date of the formula. |
|
formula_content
|
The content of the formula. |
|
vm
|
Information about a VM from which a formula is to be created. |
|
provisioning_state
|
The provisioning status of the resource. |
|
unique_identifier
|
The unique immutable identifier of a resource (Guid). |