共用方式為


Lab Class

Definition

The lab resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Lab : Microsoft.Azure.Management.LabServices.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Lab = class
    inherit TrackedResource
Public Class Lab
Inherits TrackedResource
Inheritance
Attributes

Constructors

Lab()

Initializes a new instance of the Lab class.

Lab(String, String, String, String, IDictionary<String,String>, SystemData, AutoShutdownProfile, ConnectionProfile, VirtualMachineProfile, SecurityProfile, RosterProfile, String, String, String, Nullable<ProvisioningState>, LabNetworkProfile, Nullable<LabState>)

Initializes a new instance of the Lab class.

Properties

AutoShutdownProfile

Gets or sets the resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle.

ConnectionProfile

Gets or sets the connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open.

Description

Gets or sets the description of the lab.

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
LabPlanId

Gets or sets the ID of the lab plan. Used during resource creation to provide defaults and acts as a permission container when creating a lab via labs.azure.com. Setting a labPlanId on an existing lab provides organization..

Location

Gets or sets the geo-location where the resource lives

(Inherited from TrackedResource)
Name

Gets the name of the resource

(Inherited from Resource)
NetworkProfile

Gets or sets the network profile for the lab, typically applied via a lab plan. This profile cannot be modified once a lab has been created.

ProvisioningState

Gets current provisioning state of the lab. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Locked'

RosterProfile

Gets or sets the lab user list management profile.

SecurityProfile

Gets or sets the lab security profile.

State

Gets the lab state. Possible values include: 'Draft', 'Publishing', 'Scaling', 'Syncing', 'Published'

SystemData

Gets metadata pertaining to creation and last modification of the lab.

Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
Title

Gets or sets the title of the lab.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)
VirtualMachineProfile

Gets or sets the profile used for creating lab virtual machines.

Methods

Validate()

Validate the object.

Applies to