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.Resource
Formula

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
str

The location of the resource.

tags
Required

A set of tags. The tags of the resource.

description
Required
str

The description of the formula.

author
Required
str

The author of the formula.

os_type
Required
str

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
str

The identifier of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

creation_date

The creation date of the formula.

provisioning_state
str

The provisioning status of the resource.

unique_identifier
str

The unique immutable identifier of a resource (Guid).