Aracılığıyla paylaş


ScheduleBasedConfig Class

Definition

Profile of schedule based Autoscale.

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

Constructors

ScheduleBasedConfig(String, Int32, IEnumerable<AutoscaleSchedule>)

Initializes a new instance of ScheduleBasedConfig.

Properties

DefaultCount

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

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).

TimeZone

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

Explicit Interface Implementations

IJsonModel<ScheduleBasedConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScheduleBasedConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScheduleBasedConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScheduleBasedConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScheduleBasedConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to