AutoscaleSchedule 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 AutoscaleSchedule.
public AutoscaleSchedule (string startOn, string endOn, int count, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HDInsight.Containers.Models.AutoscaleScheduleDay> days);
new Azure.ResourceManager.HDInsight.Containers.Models.AutoscaleSchedule : string * string * int * seq<Azure.ResourceManager.HDInsight.Containers.Models.AutoscaleScheduleDay> -> Azure.ResourceManager.HDInsight.Containers.Models.AutoscaleSchedule
Public Sub New (startOn As String, endOn As String, count As Integer, days As IEnumerable(Of AutoscaleScheduleDay))
Parameters
- startOn
- String
User has to set the start time of current schedule configuration, format like 10:30 (HH:MM).
- endOn
- String
User has to set the end time of current schedule configuration, format like 10:30 (HH:MM).
- count
- Int32
User has to set the node count anticipated at end of the scaling operation of the set current schedule configuration, format is integer.
User has to set the days where schedule has to be set for autoscale operation.
Exceptions
startOn
, endOn
or days
is null.