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.
- Inheritance
-
azure.mgmt.devtestlabs.models._models_py3.ResourceFormula
Constructor
Formula(*, location: str | None = None, tags: Dict[str, str] | None = None, description: str | None = None, author: str | None = None, os_type: str | None = None, formula_content: LabVirtualMachineCreationParameter | None = None, vm: FormulaPropertiesFromVm | None = None, **kwargs)
Parameters
Name | Description |
---|---|
location
Required
|
The location of the resource. |
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 |
---|---|
location
Required
|
|
tags
Required
|
|
description
Required
|
|
author
Required
|
|
os_type
Required
|
|
formula_content
Required
|
|
vm
Required
|
|
Variables
Name | Description |
---|---|
id
|
The identifier of the resource. |
name
|
The name of the resource. |
type
|
The type of the resource. |
creation_date
|
The creation date of the formula. |
provisioning_state
|
The provisioning status of the resource. |
unique_identifier
|
The unique immutable identifier of a resource (Guid). |
Azure SDK for Python