Lab Class
A lab.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.devtestlabs.models._models_py3.ResourceLab
Constructor
Lab(*, location: str | None = None, tags: Dict[str, str] | None = None, lab_storage_type: str | 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 | PremiumDataDisk | None = None, environment_permission: str | EnvironmentPermission | None = None, announcement: LabAnnouncementProperties | None = None, support: LabSupportProperties | None = None, extended_properties: Dict[str, str] | None = None, **kwargs)
Parameters
Name | Description |
---|---|
location
Required
|
The location of the resource. |
tags
Required
|
A set of tags. The tags of the resource. |
lab_storage_type
Required
|
str or
StorageType
Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. Possible values include: "Standard", "Premium", "StandardSSD". |
mandatory_artifacts_resource_ids_linux
Required
|
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
Required
|
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. |
premium_data_disks
Required
|
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. Possible values include: "Disabled", "Enabled". |
environment_permission
Required
|
The access rights to be granted to the user when provisioning an environment. Possible values include: "Reader", "Contributor". |
announcement
Required
|
The properties of any lab announcement associated with this lab. |
support
Required
|
The properties of any lab support message associated with this lab. |
extended_properties
Required
|
Extended properties of the lab used for experimental features. |
Keyword-Only Parameters
Name | Description |
---|---|
location
Required
|
|
tags
Required
|
|
lab_storage_type
Required
|
|
mandatory_artifacts_resource_ids_linux
Required
|
|
mandatory_artifacts_resource_ids_windows
Required
|
|
premium_data_disks
Required
|
|
environment_permission
Required
|
|
announcement
Required
|
|
support
Required
|
|
extended_properties
Required
|
|
Variables
Name | Description |
---|---|
id
|
The identifier of the resource. |
name
|
The name of the resource. |
type
|
The type of the resource. |
default_storage_account
|
The lab's default storage account. |
default_premium_storage_account
|
The lab's default premium storage account. |
artifacts_storage_account
|
The lab's artifact storage account. |
premium_data_disk_storage_account
|
The lab's premium data disk storage account. |
vault_name
|
The lab's Key vault. |
created_date
|
The creation date of the lab. |
vm_creation_resource_group
|
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
|
The public IP address for the lab's load balancer. |
load_balancer_id
|
The load balancer used to for lab VMs that use shared IP address. |
network_security_group_id
|
The Network Security Group attached to the lab VMs Network interfaces to restrict open ports. |
provisioning_state
|
The provisioning status of the resource. |
unique_identifier
|
The unique immutable identifier of a resource (Guid). |
Azure SDK for Python