Compartilhar via


ArmLabServicesModelFactory.LabPlanData Method

Definition

Initializes a new instance of LabPlanData.

public static Azure.ResourceManager.LabServices.LabPlanData LabPlanData (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.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.LabServices.Models.LabConnectionProfile defaultConnectionProfile = default, Azure.ResourceManager.LabServices.Models.LabAutoShutdownProfile defaultAutoShutdownProfile = default, Azure.Core.ResourceIdentifier defaultNetworkSubnetId = default, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> allowedRegions = default, Azure.Core.ResourceIdentifier sharedGalleryId = default, Azure.ResourceManager.LabServices.Models.LabPlanSupportInfo supportInfo = default, Uri linkedLmsInstance = default, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default);
static member LabPlanData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.LabServices.Models.LabConnectionProfile * Azure.ResourceManager.LabServices.Models.LabAutoShutdownProfile * Azure.Core.ResourceIdentifier * seq<Azure.Core.AzureLocation> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.LabServices.Models.LabPlanSupportInfo * Uri * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState> -> Azure.ResourceManager.LabServices.LabPlanData
Public Shared Function LabPlanData (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 identity As ManagedServiceIdentity = Nothing, Optional defaultConnectionProfile As LabConnectionProfile = Nothing, Optional defaultAutoShutdownProfile As LabAutoShutdownProfile = Nothing, Optional defaultNetworkSubnetId As ResourceIdentifier = Nothing, Optional allowedRegions As IEnumerable(Of AzureLocation) = Nothing, Optional sharedGalleryId As ResourceIdentifier = Nothing, Optional supportInfo As LabPlanSupportInfo = Nothing, Optional linkedLmsInstance As Uri = Nothing, Optional provisioningState As Nullable(Of LabServicesProvisioningState) = Nothing) As LabPlanData

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.

identity
ManagedServiceIdentity

Managed Identity Information. Current supported identity types: SystemAssigned.

defaultConnectionProfile
LabConnectionProfile

The default lab connection profile. This can be changed on a lab resource and only provides a default profile.

defaultAutoShutdownProfile
LabAutoShutdownProfile

The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.

defaultNetworkSubnetId
ResourceIdentifier

The lab plan network profile. To enforce lab network policies they must be defined here and cannot be changed when there are existing labs associated with this lab plan.

allowedRegions
IEnumerable<AzureLocation>

The allowed regions for the lab creator to use when creating labs using this lab plan.

sharedGalleryId
ResourceIdentifier

Resource ID of the Shared Image Gallery attached to this lab plan. When saving a lab template virtual machine image it will be persisted in this gallery. Shared images from the gallery can be made available to use when creating new labs.

supportInfo
LabPlanSupportInfo

Support contact information and instructions for users of the lab plan. This information is displayed to lab owners and virtual machine users for all labs in the lab plan.

linkedLmsInstance
Uri

Base Url of the lms instance this lab plan can link lab rosters against.

provisioningState
Nullable<LabServicesProvisioningState>

Current provisioning state of the lab plan.

Returns

A new LabPlanData instance for mocking.

Applies to