AutoscaleSchedule Constructor

Definition

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.

days
IEnumerable<AutoscaleScheduleDay>

User has to set the days where schedule has to be set for autoscale operation.

Exceptions

startOn, endOn or days is null.

Applies to