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
str

The location of the resource.

Default value: None
tags

The tags of the resource.

Default value: None
description
str

The description of the formula.

Default value: None
os_type
str

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
str

The identifier of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

location
str

The location of the resource.

tags

The tags of the resource.

description
str

The description of the formula.

author
str

The author of the formula.

os_type
str

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
str

The provisioning status of the resource.

unique_identifier
str

The unique immutable identifier of a resource (Guid).