ArmDesktopVirtualizationModelFactory.ScalingPlanPooledScheduleData Method

Definition

Initializes a new instance of ScalingPlanPooledScheduleData.

public static Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleData ScalingPlanPooledScheduleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationDayOfWeek> daysOfWeek = default, Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime rampUpStartTime = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHostLoadBalancingAlgorithm? rampUpLoadBalancingAlgorithm = default, int? rampUpMinimumHostsPct = default, int? rampUpCapacityThresholdPct = default, Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime peakStartTime = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHostLoadBalancingAlgorithm? peakLoadBalancingAlgorithm = default, Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime rampDownStartTime = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHostLoadBalancingAlgorithm? rampDownLoadBalancingAlgorithm = default, int? rampDownMinimumHostsPct = default, int? rampDownCapacityThresholdPct = default, bool? rampDownForceLogoffUsers = default, Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationStopHostsWhen? rampDownStopHostsWhen = default, int? rampDownWaitTimeMinutes = default, string rampDownNotificationMessage = default, Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime offPeakStartTime = default, Azure.ResourceManager.DesktopVirtualization.Models.SessionHostLoadBalancingAlgorithm? offPeakLoadBalancingAlgorithm = default);
static member ScalingPlanPooledScheduleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationDayOfWeek> * Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostLoadBalancingAlgorithm> * Nullable<int> * Nullable<int> * Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostLoadBalancingAlgorithm> * Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostLoadBalancingAlgorithm> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationStopHostsWhen> * Nullable<int> * string * Azure.ResourceManager.DesktopVirtualization.Models.ScalingActionTime * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.SessionHostLoadBalancingAlgorithm> -> Azure.ResourceManager.DesktopVirtualization.ScalingPlanPooledScheduleData
Public Shared Function ScalingPlanPooledScheduleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional daysOfWeek As IEnumerable(Of DesktopVirtualizationDayOfWeek) = Nothing, Optional rampUpStartTime As ScalingActionTime = Nothing, Optional rampUpLoadBalancingAlgorithm As Nullable(Of SessionHostLoadBalancingAlgorithm) = Nothing, Optional rampUpMinimumHostsPct As Nullable(Of Integer) = Nothing, Optional rampUpCapacityThresholdPct As Nullable(Of Integer) = Nothing, Optional peakStartTime As ScalingActionTime = Nothing, Optional peakLoadBalancingAlgorithm As Nullable(Of SessionHostLoadBalancingAlgorithm) = Nothing, Optional rampDownStartTime As ScalingActionTime = Nothing, Optional rampDownLoadBalancingAlgorithm As Nullable(Of SessionHostLoadBalancingAlgorithm) = Nothing, Optional rampDownMinimumHostsPct As Nullable(Of Integer) = Nothing, Optional rampDownCapacityThresholdPct As Nullable(Of Integer) = Nothing, Optional rampDownForceLogoffUsers As Nullable(Of Boolean) = Nothing, Optional rampDownStopHostsWhen As Nullable(Of DesktopVirtualizationStopHostsWhen) = Nothing, Optional rampDownWaitTimeMinutes As Nullable(Of Integer) = Nothing, Optional rampDownNotificationMessage As String = Nothing, Optional offPeakStartTime As ScalingActionTime = Nothing, Optional offPeakLoadBalancingAlgorithm As Nullable(Of SessionHostLoadBalancingAlgorithm) = Nothing) As ScalingPlanPooledScheduleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

daysOfWeek
IEnumerable<DesktopVirtualizationDayOfWeek>

Set of days of the week on which this schedule is active.

rampUpStartTime
ScalingActionTime

Starting time for ramp up period.

rampUpLoadBalancingAlgorithm
Nullable<SessionHostLoadBalancingAlgorithm>

Load balancing algorithm for ramp up period.

rampUpMinimumHostsPct
Nullable<Int32>

Minimum host percentage for ramp up period.

rampUpCapacityThresholdPct
Nullable<Int32>

Capacity threshold for ramp up period.

peakStartTime
ScalingActionTime

Starting time for peak period.

peakLoadBalancingAlgorithm
Nullable<SessionHostLoadBalancingAlgorithm>

Load balancing algorithm for peak period.

rampDownStartTime
ScalingActionTime

Starting time for ramp down period.

rampDownLoadBalancingAlgorithm
Nullable<SessionHostLoadBalancingAlgorithm>

Load balancing algorithm for ramp down period.

rampDownMinimumHostsPct
Nullable<Int32>

Minimum host percentage for ramp down period.

rampDownCapacityThresholdPct
Nullable<Int32>

Capacity threshold for ramp down period.

rampDownForceLogoffUsers
Nullable<Boolean>

Should users be logged off forcefully from hosts.

rampDownStopHostsWhen
Nullable<DesktopVirtualizationStopHostsWhen>

Specifies when to stop hosts during ramp down period.

rampDownWaitTimeMinutes
Nullable<Int32>

Number of minutes to wait to stop hosts during ramp down period.

rampDownNotificationMessage
String

Notification message for users during ramp down period.

offPeakStartTime
ScalingActionTime

Starting time for off-peak period.

offPeakLoadBalancingAlgorithm
Nullable<SessionHostLoadBalancingAlgorithm>

Load balancing algorithm for off-peak period.

Returns

A new ScalingPlanPooledScheduleData instance for mocking.

Applies to