LabPlan Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LabPlan() |
Initializes a new instance of the LabPlan class. |
LabPlan(String, String, String, String, IDictionary<String,String>, SystemData, ConnectionProfile, AutoShutdownProfile, LabPlanNetworkProfile, IList<String>, String, SupportInfo, String, Nullable<ProvisioningState>) |
Initializes a new instance of the LabPlan class. |
LabPlan()
Initializes a new instance of the LabPlan class.
public LabPlan ();
Public Sub New ()
Applies to
LabPlan(String, String, String, String, IDictionary<String,String>, SystemData, ConnectionProfile, AutoShutdownProfile, LabPlanNetworkProfile, IList<String>, String, SupportInfo, String, Nullable<ProvisioningState>)
Initializes a new instance of the LabPlan class.
public LabPlan (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.ConnectionProfile defaultConnectionProfile = default, Microsoft.Azure.Management.LabServices.Models.AutoShutdownProfile defaultAutoShutdownProfile = default, Microsoft.Azure.Management.LabServices.Models.LabPlanNetworkProfile defaultNetworkProfile = default, System.Collections.Generic.IList<string> allowedRegions = default, string sharedGalleryId = default, Microsoft.Azure.Management.LabServices.Models.SupportInfo supportInfo = default, string linkedLmsInstance = default, Microsoft.Azure.Management.LabServices.Models.ProvisioningState? provisioningState = default);
new Microsoft.Azure.Management.LabServices.Models.LabPlan : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.LabServices.Models.SystemData * Microsoft.Azure.Management.LabServices.Models.ConnectionProfile * Microsoft.Azure.Management.LabServices.Models.AutoShutdownProfile * Microsoft.Azure.Management.LabServices.Models.LabPlanNetworkProfile * System.Collections.Generic.IList<string> * string * Microsoft.Azure.Management.LabServices.Models.SupportInfo * string * Nullable<Microsoft.Azure.Management.LabServices.Models.ProvisioningState> -> Microsoft.Azure.Management.LabServices.Models.LabPlan
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 defaultConnectionProfile As ConnectionProfile = Nothing, Optional defaultAutoShutdownProfile As AutoShutdownProfile = Nothing, Optional defaultNetworkProfile As LabPlanNetworkProfile = Nothing, Optional allowedRegions As IList(Of String) = Nothing, Optional sharedGalleryId As String = Nothing, Optional supportInfo As SupportInfo = Nothing, Optional linkedLmsInstance As String = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = 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 plan.
- defaultConnectionProfile
- ConnectionProfile
The default lab connection profile. This can be changed on a lab resource and only provides a default profile.
- defaultAutoShutdownProfile
- AutoShutdownProfile
The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.
- defaultNetworkProfile
- LabPlanNetworkProfile
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.
The allowed regions for the lab creator to use when creating labs using this lab plan.
- sharedGalleryId
- String
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
- SupportInfo
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
- String
Base Url of the lms instance this lab plan can link lab rosters against.
- provisioningState
- Nullable<ProvisioningState>
Current provisioning state of the lab plan. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Locked'
Applies to
Azure SDK for .NET