Delen via


AutoscaleSchedule Class

Definition

Schedule definition.

public class AutoscaleSchedule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.HDInsight.Containers.Models.AutoscaleSchedule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.HDInsight.Containers.Models.AutoscaleSchedule>
type AutoscaleSchedule = class
    interface IJsonModel<AutoscaleSchedule>
    interface IPersistableModel<AutoscaleSchedule>
Public Class AutoscaleSchedule
Implements IJsonModel(Of AutoscaleSchedule), IPersistableModel(Of AutoscaleSchedule)
Inheritance
AutoscaleSchedule
Implements

Constructors

AutoscaleSchedule(String, String, Int32, IEnumerable<AutoscaleScheduleDay>)

Initializes a new instance of AutoscaleSchedule.

Properties

Count

User has to set the node count anticipated at end of the scaling operation of the set current schedule configuration, format is integer.

Days

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

EndOn

User has to set the end time of current schedule configuration, format like 10:30 (HH:MM).

StartOn

User has to set the start time of current schedule configuration, format like 10:30 (HH:MM).

Explicit Interface Implementations

IJsonModel<AutoscaleSchedule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AutoscaleSchedule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutoscaleSchedule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutoscaleSchedule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AutoscaleSchedule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to