Udostępnij za pośrednictwem


ScheduleBasedConfig Constructor

Definition

Initializes a new instance of ScheduleBasedConfig.

public ScheduleBasedConfig (string timeZone, int defaultCount, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Containers.Models.AutoscaleSchedule> schedules);
new Azure.ResourceManager.HDInsight.Containers.Models.ScheduleBasedConfig : string * int * seq<Azure.ResourceManager.HDInsight.Containers.Models.AutoscaleSchedule> -> Azure.ResourceManager.HDInsight.Containers.Models.ScheduleBasedConfig
Public Sub New (timeZone As String, defaultCount As Integer, schedules As IEnumerable(Of AutoscaleSchedule))

Parameters

timeZone
String

User has to specify the timezone on which the schedule has to be set for schedule based autoscale configuration.

defaultCount
Int32

Setting default node count of current schedule configuration. Default node count specifies the number of nodes which are default when an specified scaling operation is executed (scale up/scale down).

schedules
IEnumerable<AutoscaleSchedule>

This specifies the schedules where scheduled based Autoscale to be enabled, the user has a choice to set multiple rules within the schedule across days and times (start/end).

Exceptions

timeZone or schedules is null.

Applies to