HDInsightAutoScaleSchedule Class

Definition

Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity.

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

Constructors

HDInsightAutoScaleSchedule()

Initializes a new instance of HDInsightAutoScaleSchedule.

Properties

Days

Days of the week for a schedule-based autoscale rule.

TimeAndCapacity

Time and capacity for a schedule-based autoscale rule.

Explicit Interface Implementations

IJsonModel<HDInsightAutoScaleSchedule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HDInsightAutoScaleSchedule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HDInsightAutoScaleSchedule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HDInsightAutoScaleSchedule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HDInsightAutoScaleSchedule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to