Share via


LabUpdate Class

Definition

The lab resource for updates.

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

Constructors

LabUpdate()

Creates an new LabUpdate instance.

Properties

AdditionalCapabilityInstallGpuDriver

Flag to pre-install dedicated GPU drivers.

AdminUserPassword

The password for the user. This is required for the TemplateVM createOption.

AdminUserUsername

The username to use when signing in to lab VMs.

AutoShutdownProfileDisconnectDelay

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

AutoShutdownProfileIdleDelay

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

AutoShutdownProfileNoConnectDelay

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

AutoShutdownProfileShutdownOnDisconnect

Whether shutdown on disconnect is enabled

AutoShutdownProfileShutdownOnIdle

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

AutoShutdownProfileShutdownWhenNotConnected

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

ConnectionProfileClientRdpAccess

The enabled access level for Client Access over RDP.

ConnectionProfileClientSshAccess

The enabled access level for Client Access over SSH.

ConnectionProfileWebRdpAccess

The enabled access level for Web Access over RDP.

ConnectionProfileWebSshAccess

The enabled access level for Web Access over SSH.

Description

The description of the lab.

ImageReferenceExactVersion

The actual version of the image after use.

ImageReferenceId

Image resource ID

ImageReferenceOffer

The image offer if applicable.

ImageReferencePublisher

The image publisher

ImageReferenceSku

The image SKU

ImageReferenceVersion

The image version specified on creation.

LabPlanId

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

NonAdminUserPassword

The password for the user. This is required for the TemplateVM createOption.

NonAdminUserUsername

The username to use when signing in to lab VMs.

RosterProfileActiveDirectoryGroupId

The AAD group ID which this lab roster is populated from. Having this set enables AAD sync mode.

RosterProfileLmsInstance

The base URI identifying the lms instance.

RosterProfileLtiClientId

The unique id of the azure lab services tool in the lms.

RosterProfileLtiContextId

The unique context identifier for the lab in the lms.

RosterProfileLtiRosterEndpoint

The uri of the names and roles service endpoint on the lms for the class attached to this lab.

SecurityProfileOpenAccess

Whether any user or only specified users can register to a lab.

SecurityProfileRegistrationCode

The registration code for the lab.

SkuCapacity

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

SkuFamily

If the service has different generations of hardware, for the same SKU, then that can be captured here.

SkuName

The name of the SKU. Ex - P3. It is typically a letter+number code

SkuSize

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

SkuTier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

Tag

Resource tags.

Title

The title of the lab.

VirtualMachineProfileCreateOption

Indicates what lab virtual machines are created from.

VirtualMachineProfileOSType

The OS type of the image

VirtualMachineProfileUsageQuota

The initial quota alloted to each lab user. Must be a time span between 0 and 9999 hours.

VirtualMachineProfileUseSharedPassword

Enabling this option will use the same password for all user VMs.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LabUpdate.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LabUpdate.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of LabUpdate into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to