Delen via


Update-AzLabServicesLabPlan

Bewerking voor het bijwerken van een labplanresource.

Syntaxis

Update-AzLabServicesLabPlan
      -Name <String>
      -ResourceGroupName <String>
      [-SubscriptionId <String>]
      [-AllowedRegion <String[]>]
      [-DefaultAutoShutdownProfileDisconnectDelay <TimeSpan>]
      [-DefaultAutoShutdownProfileIdleDelay <TimeSpan>]
      [-DefaultAutoShutdownProfileNoConnectDelay <TimeSpan>]
      [-DefaultAutoShutdownProfileShutdownOnDisconnect <EnableState>]
      [-DefaultAutoShutdownProfileShutdownOnIdle <ShutdownOnIdleMode>]
      [-DefaultAutoShutdownProfileShutdownWhenNotConnected <EnableState>]
      [-DefaultConnectionProfileClientRdpAccess <ConnectionType>]
      [-DefaultConnectionProfileClientSshAccess <ConnectionType>]
      [-DefaultConnectionProfileWebRdpAccess <ConnectionType>]
      [-DefaultConnectionProfileWebSshAccess <ConnectionType>]
      [-DefaultNetworkProfileSubnetId <String>]
      [-LinkedLmsInstance <String>]
      [-SharedGalleryId <String>]
      [-SupportInfoEmail <String>]
      [-SupportInfoInstruction <String>]
      [-SupportInfoPhone <String>]
      [-SupportInfoUrl <String>]
      [-Tag <String[]>]
      [-DefaultProfile <PSObject>]
      [-AsJob]
      [-NoWait]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzLabServicesLabPlan
      [-SubscriptionId <String>]
      -LabPlan <LabPlan>
      [-AllowedRegion <String[]>]
      [-DefaultAutoShutdownProfileDisconnectDelay <TimeSpan>]
      [-DefaultAutoShutdownProfileIdleDelay <TimeSpan>]
      [-DefaultAutoShutdownProfileNoConnectDelay <TimeSpan>]
      [-DefaultAutoShutdownProfileShutdownOnDisconnect <EnableState>]
      [-DefaultAutoShutdownProfileShutdownOnIdle <ShutdownOnIdleMode>]
      [-DefaultAutoShutdownProfileShutdownWhenNotConnected <EnableState>]
      [-DefaultNetworkProfileSubnetId <String>]
      [-LinkedLmsInstance <String>]
      [-SharedGalleryId <String>]
      [-SupportInfoEmail <String>]
      [-SupportInfoInstruction <String>]
      [-SupportInfoPhone <String>]
      [-SupportInfoUrl <String>]
      [-Tag <String[]>]
      [-DefaultConnectionProfileClientRdpAccessEnabled <ConnectionType>]
      [-DefaultConnectionProfileClientSshAccessEnabled <ConnectionType>]
      [-DefaultProfile <PSObject>]
      [-AsJob]
      [-NoWait]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Bewerking voor het bijwerken van een labplanresource.

Voorbeelden

Voorbeeld 1: Lab-plan bijwerken

Update-AzLabServicesLabPlan -ResourceGroupName "Group Name" -Name "LabPlan Name" -DefaultAutoShutdownProfileShutdownOnDisconnect 'Enabled' -DefaultAutoShutdownProfileDisconnectDelay "00:17:00"

Location Name
-------- ----
westus2  LabPlan Name

In dit voorbeeld wordt het labplan bijgewerkt en wordt de verbinding afsluiten ingeschakeld met een vertraging van 17 minuten.

Parameters

-AllowedRegion

De toegestane regio's die de maker van het lab kan gebruiken bij het maken van labs met behulp van dit labplan.

Type:String[]
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-AsJob

De opdracht uitvoeren als een taak

Type:SwitchParameter
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-Confirm

U wordt gevraagd om bevestiging voordat u de cmdlet uitvoert.

Type:SwitchParameter
Aliassen:cf
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultAutoShutdownProfileDisconnectDelay

De hoeveelheid tijd die een VIRTUELE machine actief blijft nadat een gebruiker de verbinding heeft verbroken als dit gedrag is ingeschakeld.

Type:TimeSpan
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultAutoShutdownProfileIdleDelay

De hoeveelheid tijd die een VIRTUELE machine inactief maakt voordat deze wordt afgesloten als dit gedrag is ingeschakeld.

Type:TimeSpan
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultAutoShutdownProfileNoConnectDelay

De hoeveelheid tijd die een virtuele machine actief blijft voordat deze wordt afgesloten als er geen verbinding wordt gemaakt en dit gedrag is ingeschakeld.

Type:TimeSpan
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultAutoShutdownProfileShutdownOnDisconnect

Of afsluiten bij verbreken is ingeschakeld

Type:EnableState
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultAutoShutdownProfileShutdownOnIdle

Of een VIRTUELE machine wordt afgesloten wanneer deze gedurende een bepaalde periode inactief is.

Type:ShutdownOnIdleMode
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultAutoShutdownProfileShutdownWhenNotConnected

Of een VIRTUELE machine wordt afgesloten wanneer deze na een bepaalde periode niet is verbonden.

Type:EnableState
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultConnectionProfileClientRdpAccess

Het ingeschakelde toegangsniveau voor clienttoegang via RDP.

Type:ConnectionType
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultConnectionProfileClientRdpAccessEnabled

Type:ConnectionType
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultConnectionProfileClientSshAccess

Het ingeschakelde toegangsniveau voor clienttoegang via SSH.

Type:ConnectionType
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultConnectionProfileClientSshAccessEnabled

Type:ConnectionType
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultConnectionProfileWebRdpAccess

Het ingeschakelde toegangsniveau voor Web Access via RDP.

Type:ConnectionType
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultConnectionProfileWebSshAccess

Het ingeschakelde toegangsniveau voor Web Access via SSH.

Type:ConnectionType
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultNetworkProfileSubnetId

De resource-id van het externe subnet

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultProfile

De parameter DefaultProfile is niet functioneel. Gebruik de parameter SubscriptionId indien beschikbaar als u de cmdlet uitvoert voor een ander abonnement.

Type:PSObject
Aliassen:AzureRMContext, AzureCredential
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-LabPlan

Zie de sectie NOTES voor LABPLAN-eigenschappen en maak een hash-tabel om deze samen te stellen.

Type:LabPlan
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:True
Jokertekens accepteren:False

-LinkedLmsInstance

De basis-URL van het lms-exemplaar van dit labplan kan labroosters koppelen aan.

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-Name

De naam van het labplan dat het uniek identificeert binnen de resourcegroep. Wordt gebruikt in resource-URI's en in de gebruikersinterface.

Type:String
Aliassen:LabPlanName
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-NoWait

De opdracht asynchroon uitvoeren

Type:SwitchParameter
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-ResourceGroupName

De naam van de resourcegroep. De naam is niet hoofdlettergevoelig.

Type:String
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-SharedGalleryId

Resource-id van de Shared Image Gallery die is gekoppeld aan dit labplan. Wanneer u een installatiekopieën van een virtuele labsjabloon opslaat, wordt deze in deze galerie bewaard. Gedeelde installatiekopieën uit de galerie kunnen beschikbaar worden gesteld voor gebruik bij het maken van nieuwe labs.

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-SubscriptionId

De id van het doelabonnement.

Type:String
Position:Named
Default value:(Get-AzContext).Subscription.Id
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-SupportInfoEmail

E-mailadres van ondersteuningsmedewerker.

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-SupportInfoInstruction

Ondersteuningsinstructies.

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-SupportInfoPhone

Telefoonnummer van ondersteuningscontactpersoon.

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-SupportInfoUrl

Ondersteuningswebadres.

Type:String
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-Tag

Resourcetags.

Type:String[]
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-WhatIf

Toont wat er zou gebeuren als de cmdlet wordt uitgevoerd. De cmdlet wordt niet uitgevoerd.

Type:SwitchParameter
Aliassen:wi
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

Invoerwaarden

LabPlan

Uitvoerwaarden

ILabPlan