Lab Constructors

Definition

Overloads

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.

Lab()

Initializes a new instance of the Lab class.

public Lab ();
Public Sub New ()

Applies to

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.

public Lab (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.LabServices.Models.SystemData systemData = default, Microsoft.Azure.Management.LabServices.Models.AutoShutdownProfile autoShutdownProfile = default, Microsoft.Azure.Management.LabServices.Models.ConnectionProfile connectionProfile = default, Microsoft.Azure.Management.LabServices.Models.VirtualMachineProfile virtualMachineProfile = default, Microsoft.Azure.Management.LabServices.Models.SecurityProfile securityProfile = default, Microsoft.Azure.Management.LabServices.Models.RosterProfile rosterProfile = default, string labPlanId = default, string title = default, string description = default, Microsoft.Azure.Management.LabServices.Models.ProvisioningState? provisioningState = default, Microsoft.Azure.Management.LabServices.Models.LabNetworkProfile networkProfile = default, Microsoft.Azure.Management.LabServices.Models.LabState? state = default);
new Microsoft.Azure.Management.LabServices.Models.Lab : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.LabServices.Models.SystemData * Microsoft.Azure.Management.LabServices.Models.AutoShutdownProfile * Microsoft.Azure.Management.LabServices.Models.ConnectionProfile * Microsoft.Azure.Management.LabServices.Models.VirtualMachineProfile * Microsoft.Azure.Management.LabServices.Models.SecurityProfile * Microsoft.Azure.Management.LabServices.Models.RosterProfile * string * string * string * Nullable<Microsoft.Azure.Management.LabServices.Models.ProvisioningState> * Microsoft.Azure.Management.LabServices.Models.LabNetworkProfile * Nullable<Microsoft.Azure.Management.LabServices.Models.LabState> -> Microsoft.Azure.Management.LabServices.Models.Lab
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional systemData As SystemData = Nothing, Optional autoShutdownProfile As AutoShutdownProfile = Nothing, Optional connectionProfile As ConnectionProfile = Nothing, Optional virtualMachineProfile As VirtualMachineProfile = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional rosterProfile As RosterProfile = Nothing, Optional labPlanId As String = Nothing, Optional title As String = Nothing, Optional description As String = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional networkProfile As LabNetworkProfile = Nothing, Optional state As Nullable(Of LabState) = Nothing)

Parameters

location
String

The geo-location where the resource lives

id
String

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

name
String

The name of the resource

type
String

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

tags
IDictionary<String,String>

Resource tags.

systemData
SystemData

Metadata pertaining to creation and last modification of the lab.

autoShutdownProfile
AutoShutdownProfile

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

connectionProfile
ConnectionProfile

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

virtualMachineProfile
VirtualMachineProfile

The profile used for creating lab virtual machines.

securityProfile
SecurityProfile

The lab security profile.

rosterProfile
RosterProfile

The lab user list management profile.

labPlanId
String

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..

title
String

The title of the lab.

description
String

The description of the lab.

provisioningState
Nullable<ProvisioningState>

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

networkProfile
LabNetworkProfile

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

state
Nullable<LabState>

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

Applies to