Lab Class

A lab.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

Lab(*, location: str | None = None, tags: dict[str, str] | None = None, lab_storage_type: str | _models.StorageType | None = None, mandatory_artifacts_resource_ids_linux: list[str] | None = None, mandatory_artifacts_resource_ids_windows: list[str] | None = None, premium_data_disks: str | _models.PremiumDataDisk | None = None, environment_permission: str | _models.EnvironmentPermission | None = None, announcement: _models.LabAnnouncementProperties | None = None, support: _models.LabSupportProperties | None = None, extended_properties: dict[str, str] | 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
lab_storage_type

Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. Known values are: "Standard", "Premium", and "StandardSSD".

Default value: None
mandatory_artifacts_resource_ids_linux

The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.

Default value: None
mandatory_artifacts_resource_ids_windows

The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.

Default value: None
premium_data_disks

The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed. Known values are: "Disabled" and "Enabled".

Default value: None
environment_permission

The access rights to be granted to the user when provisioning an environment. Known values are: "Reader" and "Contributor".

Default value: None
announcement

The properties of any lab announcement associated with this lab.

Default value: None
support

The properties of any lab support message associated with this lab.

Default value: None
extended_properties

Extended properties of the lab used for experimental features.

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.

default_storage_account
str

The lab's default storage account.

default_premium_storage_account
str

The lab's default premium storage account.

artifacts_storage_account
str

The lab's artifact storage account.

premium_data_disk_storage_account
str

The lab's premium data disk storage account.

vault_name
str

The lab's Key vault.

lab_storage_type

Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. Known values are: "Standard", "Premium", and "StandardSSD".

mandatory_artifacts_resource_ids_linux

The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.

mandatory_artifacts_resource_ids_windows

The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.

created_date

The creation date of the lab.

premium_data_disks

The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed. Known values are: "Disabled" and "Enabled".

environment_permission

The access rights to be granted to the user when provisioning an environment. Known values are: "Reader" and "Contributor".

announcement

The properties of any lab announcement associated with this lab.

support

The properties of any lab support message associated with this lab.

vm_creation_resource_group
str

The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.

public_ip_id
str

The public IP address for the lab's load balancer.

load_balancer_id
str

The load balancer used to for lab VMs that use shared IP address.

network_security_group_id
str

The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.

extended_properties

Extended properties of the lab used for experimental features.

provisioning_state
str

The provisioning status of the resource.

unique_identifier
str

The unique immutable identifier of a resource (Guid).