Share via


LabPlan Class

Definition

Lab Plans act as a permission container for creating labs via labs.azure.com. Additionally, they can provide a set of default configurations that will apply at the time of creating a lab, but these defaults can still be overwritten.

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

Constructors

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.

Properties

AllowedRegions

Gets or sets the allowed regions for the lab creator to use when creating labs using this lab plan.

DefaultAutoShutdownProfile

Gets or sets the default lab shutdown profile. This can be changed on a lab resource and only provides a default profile.

DefaultConnectionProfile

Gets or sets the default lab connection profile. This can be changed on a lab resource and only provides a default profile.

DefaultNetworkProfile

Gets or sets 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.

Id

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

(Inherited from Resource)
LinkedLmsInstance

Gets or sets base Url of the lms instance this lab plan can link lab rosters against.

Location

Gets or sets the geo-location where the resource lives

(Inherited from TrackedResource)
Name

Gets the name of the resource

(Inherited from Resource)
ProvisioningState

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

SharedGalleryId

Gets or sets 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

Gets or sets 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.

SystemData

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

Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
Type

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

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to