Share via


PredictiveAutoscalePolicy Class

Definition

The parameters for enabling predictive autoscale.

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

Constructors

PredictiveAutoscalePolicy(PredictiveAutoscalePolicyScaleMode)

Initializes a new instance of PredictiveAutoscalePolicy.

Properties

ScaleLookAheadTime

the amount of time to specify by which instances are launched in advance. It must be between 1 minute and 60 minutes in ISO 8601 format.

ScaleMode

the predictive autoscale mode.

Explicit Interface Implementations

IJsonModel<PredictiveAutoscalePolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PredictiveAutoscalePolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PredictiveAutoscalePolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PredictiveAutoscalePolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PredictiveAutoscalePolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to