Delen via


New-AzLabServicesLabPlan

Bewerking om een labplanresource te maken of bij te werken.

Syntaxis

New-AzLabServicesLabPlan
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String>]
   -Location <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 <Hashtable>]
   [-DefaultProfile <PSObject>]
   [-AsJob]
   [-NoWait]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Bewerking om een labplanresource te maken of bij te werken.

Voorbeelden

Voorbeeld 1: Een nieuw Lab-plan maken.

New-AzLabServicesLabPlan `
	-LabPlanName "testplan" `
	-ResourceGroupName "Group Name" `
	-Location "westus2" `
	-AllowedRegion @('westus2', 'eastus2') `
	-DefaultAutoShutdownProfileShutdownOnDisconnect Disabled `
	-DefaultAutoShutdownProfileShutdownOnIdle None `
	-DefaultAutoShutdownProfileShutdownWhenNotConnected Disabled `
	-DefaultConnectionProfileClientRdpAccess Public `
	-DefaultConnectionProfileClientSshAccess None `
	-SupportInfoEmail 'test@contoso.com' `
	-SupportInfoInstruction 'test information' `
	-SupportInfoPhone '123-456-7890' `
	-SupportInfoUrl 'https:\\test.com' `
	-DefaultConnectionProfileWebRdpAccess None `
	-DefaultConnectionProfileWebSshAccess None

Location Name
-------- ----
westus2  testplan

Maak een labplan.

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

-DefaultConnectionProfileClientSshAccess

Het ingeschakelde toegangsniveau voor clienttoegang via SSH.

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

-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

-Location

De geografische locatie waar de resource zich bevindt

Type:String
Position:Named
Default value:None
Vereist:True
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:Hashtable
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

Uitvoerwaarden

ILabPlan