LabFragment Class
A lab.
- Inheritance
-
azure.mgmt.devtestlabs.models._models_py3.UpdateResourceLabFragment
Constructor
LabFragment(*, 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: LabAnnouncementPropertiesFragment | None = None, support: LabSupportPropertiesFragment | None = None, extended_properties: Dict[str, str] | None = None, **kwargs)
Parameters
Name | Description |
---|---|
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 |
---|---|
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
|
|
Azure SDK for Python