Share via


ArmLabServicesModelFactory.LabData Method

Definition

Initializes a new instance of LabData.

public static Azure.ResourceManager.LabServices.LabData LabData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.LabServices.Models.LabAutoShutdownProfile autoShutdownProfile = default, Azure.ResourceManager.LabServices.Models.LabConnectionProfile connectionProfile = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineProfile virtualMachineProfile = default, Azure.ResourceManager.LabServices.Models.LabSecurityProfile securityProfile = default, Azure.ResourceManager.LabServices.Models.LabRosterProfile rosterProfile = default, Azure.Core.ResourceIdentifier labPlanId = default, string title = default, string description = default, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default, Azure.ResourceManager.LabServices.Models.LabNetworkProfile networkProfile = default, Azure.ResourceManager.LabServices.Models.LabState? state = default);
static member LabData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.LabServices.Models.LabAutoShutdownProfile * Azure.ResourceManager.LabServices.Models.LabConnectionProfile * Azure.ResourceManager.LabServices.Models.LabVirtualMachineProfile * Azure.ResourceManager.LabServices.Models.LabSecurityProfile * Azure.ResourceManager.LabServices.Models.LabRosterProfile * Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState> * Azure.ResourceManager.LabServices.Models.LabNetworkProfile * Nullable<Azure.ResourceManager.LabServices.Models.LabState> -> Azure.ResourceManager.LabServices.LabData
Public Shared Function LabData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional autoShutdownProfile As LabAutoShutdownProfile = Nothing, Optional connectionProfile As LabConnectionProfile = Nothing, Optional virtualMachineProfile As LabVirtualMachineProfile = Nothing, Optional securityProfile As LabSecurityProfile = Nothing, Optional rosterProfile As LabRosterProfile = Nothing, Optional labPlanId As ResourceIdentifier = Nothing, Optional title As String = Nothing, Optional description As String = Nothing, Optional provisioningState As Nullable(Of LabServicesProvisioningState) = Nothing, Optional networkProfile As LabNetworkProfile = Nothing, Optional state As Nullable(Of LabState) = Nothing) As LabData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

autoShutdownProfile
LabAutoShutdownProfile

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

connectionProfile
LabConnectionProfile

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
LabVirtualMachineProfile

The profile used for creating lab virtual machines.

securityProfile
LabSecurityProfile

The lab security profile.

rosterProfile
LabRosterProfile

The lab user list management profile.

labPlanId
ResourceIdentifier

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

Current provisioning state of the lab.

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.

Returns

A new LabData instance for mocking.

Applies to