New-AzWvdScalingPlanPooledSchedule
een ScalingPlanPooledSchedule maken.
Syntaxis
New-AzWvdScalingPlanPooledSchedule
-ResourceGroupName <String>
-ScalingPlanName <String>
-ScalingPlanScheduleName <String>
[-SubscriptionId <String>]
[-DaysOfWeek <String[]>]
[-OffPeakLoadBalancingAlgorithm <String>]
[-OffPeakStartTimeHour <Int32>]
[-OffPeakStartTimeMinute <Int32>]
[-PeakLoadBalancingAlgorithm <String>]
[-PeakStartTimeHour <Int32>]
[-PeakStartTimeMinute <Int32>]
[-RampDownCapacityThresholdPct <Int32>]
[-RampDownForceLogoffUser]
[-RampDownLoadBalancingAlgorithm <String>]
[-RampDownMinimumHostsPct <Int32>]
[-RampDownNotificationMessage <String>]
[-RampDownStartTimeHour <Int32>]
[-RampDownStartTimeMinute <Int32>]
[-RampDownStopHostsWhen <String>]
[-RampDownWaitTimeMinute <Int32>]
[-RampUpCapacityThresholdPct <Int32>]
[-RampUpLoadBalancingAlgorithm <String>]
[-RampUpMinimumHostsPct <Int32>]
[-RampUpStartTimeHour <Int32>]
[-RampUpStartTimeMinute <Int32>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzWvdScalingPlanPooledSchedule
-ResourceGroupName <String>
-ScalingPlanName <String>
-ScalingPlanScheduleName <String>
[-SubscriptionId <String>]
-JsonFilePath <String>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-AzWvdScalingPlanPooledSchedule
-ResourceGroupName <String>
-ScalingPlanName <String>
-ScalingPlanScheduleName <String>
[-SubscriptionId <String>]
-JsonString <String>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
een ScalingPlanPooledSchedule maken.
Voorbeelden
Voorbeeld 1: Een poolschema voor schaalaanpassing maken
New-AzWvdScalingPlanPooledSchedule -ResourceGroupName rgName `
-ScalingPlanName spName `
-ScalingPlanScheduleName scheduleName `
-DaysOfWeek @('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday') `
-RampUpStartTimeHour 6 `
-RampUpStartTimeMinute 30 `
-RampUpLoadBalancingAlgorithm BreadthFirst `
-RampUpMinimumHostsPct 20 `
-RampUpCapacityThresholdPct 20 `
-PeakStartTimeHour 8 `
-PeakStartTimeMinute 30 `
-PeakLoadBalancingAlgorithm DepthFirst `
-RampDownStartTimeHour 16 `
-RampDownStartTimeMinute 0 `
-RampDownLoadBalancingAlgorithm BreadthFirst `
-RampDownMinimumHostsPct 20 `
-RampDownCapacityThresholdPct 20 `
-RampDownForceLogoffUser:$true `
-RampDownWaitTimeMinute 30 `
-RampDownNotificationMessage "Log out now, please." `
-RampDownStopHostsWhen ZeroSessions `
-OffPeakStartTimeHour 22 `
-OffPeakStartTimeMinute 45 `
-OffPeakLoadBalancingAlgorithm DepthFirst
Name
----
scalingplan1/PooledSchedule1
Voeg een poolschema voor schalen toe aan een bestaand schaalplan.
Parameters
-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 |
-DaysOfWeek
Set dagen van de week waarop deze planning actief is.
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 |
-JsonFilePath
Pad van het Json-bestand dat is opgegeven bij de bewerking Maken
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-JsonString
Json-tekenreeks die is opgegeven bij de bewerking Maken
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-OffPeakLoadBalancingAlgorithm
Taakverdelingsalgoritmen voor daluren.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-OffPeakStartTimeHour
Het uur.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-OffPeakStartTimeMinute
De minuut.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-PeakLoadBalancingAlgorithm
Taakverdelingsalgoritmen voor piekperiode.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-PeakStartTimeHour
Het uur.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-PeakStartTimeMinute
De minuut.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampDownCapacityThresholdPct
Capaciteitsdrempel voor uitloopperiode.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampDownForceLogoffUser
Als gebruikers geforceerd worden afgemeld bij hosts.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampDownLoadBalancingAlgorithm
Taakverdelingsalgoritmen voor uitloopperiode.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampDownMinimumHostsPct
Minimaal hostpercentage voor uitloopperiode.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampDownNotificationMessage
Meldingsbericht voor gebruikers tijdens uitloopperiode.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampDownStartTimeHour
Het uur.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampDownStartTimeMinute
De minuut.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampDownStopHostsWhen
Hiermee geeft u op wanneer hosts moeten worden gestopt tijdens uitloopperiode.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampDownWaitTimeMinute
Het aantal minuten dat moet worden gewacht om hosts te stoppen tijdens de uitloopperiode.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampUpCapacityThresholdPct
Capaciteitsdrempel voor oprijperiode.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampUpLoadBalancingAlgorithm
Taakverdelingsalgoritmen voor een oplaadperiode.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampUpMinimumHostsPct
Minimaal hostpercentage voor opstartperiode.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampUpStartTimeHour
Het uur.
Type: | Int32 |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RampUpStartTimeMinute
De minuut.
Type: | Int32 |
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 |
-ScalingPlanName
De naam van het schaalplan.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ScalingPlanScheduleName
De naam van de ScalingPlanSchedule
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-SubscriptionId
De id van het doelabonnement. De waarde moet een UUID zijn.
Type: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
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
Azure PowerShell