Lab Class

Represents a lab.

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

Inheritance
azure.mgmt.labservices.models._models_py3.Resource
Lab

Constructor

Lab(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, max_users_in_lab: Optional[int] = None, usage_quota: Optional[datetime.timedelta] = None, user_access_mode: Optional[Union[str, azure.mgmt.labservices.models._managed_labs_client_enums.LabUserAccessMode]] = None, provisioning_state: Optional[str] = None, unique_identifier: Optional[str] = None, **kwargs)

Parameters

location
str
Required

The location of the resource.

tags
dict[str, str]
Required

A set of tags. The tags of the resource.

max_users_in_lab
int
Required

Maximum number of users allowed in the lab.

usage_quota
timedelta
Required

Maximum duration a user can use an environment for in the lab.

user_access_mode
str or LabUserAccessMode
Required

Lab user access mode (open to all vs. restricted to those listed on the lab). Possible values include: "Restricted", "Open".

provisioning_state
str
Required

The provisioning status of the resource.

unique_identifier
str
Required

The unique immutable identifier of a resource (Guid).

Variables

id
str

The identifier of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

user_quota
int

Maximum value MaxUsersInLab can be set to, as specified by the service.

invitation_code
str

Invitation code that users can use to join a lab.

created_by_object_id
str

Object id of the user that created the lab.

created_by_user_principal_name
str

Lab creator name.

created_date
datetime

Creation date for the lab.

latest_operation_result
LatestOperationResult

The details of the latest operation. ex: status, error.