Share via


LabPlanProperties Class

Definition

Lab plan resource properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.LabPlanPropertiesTypeConverter))]
public class LabPlanProperties : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ILabPlanProperties, Microsoft.Azure.PowerShell.Cmdlets.LabServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.LabPlanPropertiesTypeConverter))>]
type LabPlanProperties = class
    interface ILabPlanProperties
    interface IJsonSerializable
    interface ILabPlanUpdateProperties
    interface IValidates
Public Class LabPlanProperties
Implements ILabPlanProperties, IValidates
Inheritance
LabPlanProperties
Attributes
Implements

Constructors

LabPlanProperties()

Creates an new LabPlanProperties instance.

Properties

AllowedRegion

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

DefaultAutoShutdownProfile

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

DefaultAutoShutdownProfileDisconnectDelay

The amount of time a VM will stay running after a user disconnects if this behavior is enabled.

DefaultAutoShutdownProfileIdleDelay

The amount of time a VM will idle before it is shutdown if this behavior is enabled.

DefaultAutoShutdownProfileNoConnectDelay

The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.

DefaultAutoShutdownProfileShutdownOnDisconnect

Whether shutdown on disconnect is enabled

DefaultAutoShutdownProfileShutdownOnIdle

Whether a VM will get shutdown when it has idled for a period of time.

DefaultAutoShutdownProfileShutdownWhenNotConnected

Whether a VM will get shutdown when it hasn't been connected to after a period of time.

DefaultConnectionProfile

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

DefaultConnectionProfileClientRdpAccess

The enabled access level for Client Access over RDP.

DefaultConnectionProfileClientSshAccess

The enabled access level for Client Access over SSH.

DefaultConnectionProfileWebRdpAccess

The enabled access level for Web Access over RDP.

DefaultConnectionProfileWebSshAccess

The enabled access level for Web Access over SSH.

DefaultNetworkProfile

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.

DefaultNetworkProfileSubnetId

The external subnet resource id

LinkedLmsInstance

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

ProvisioningState

Current provisioning state of the lab plan.

SharedGalleryId

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

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.

SupportInfoEmail

Support contact email address.

SupportInfoInstruction

Support instructions.

SupportInfoPhone

Support contact phone number.

SupportInfoUrl

Support web address.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LabPlanProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LabPlanProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.ILabPlanProperties.

FromJsonString(String)

Creates a new instance of LabPlanProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of LabPlanProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to