ScheduleBasedConfig Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET