Partilhar via


PredictiveAutoscalePolicy Class

Definition

The parameters for enabling predictive autoscale.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.PredictiveAutoscalePolicyTypeConverter))]
public class PredictiveAutoscalePolicy : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IPredictiveAutoscalePolicy
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.PredictiveAutoscalePolicyTypeConverter))>]
type PredictiveAutoscalePolicy = class
    interface IPredictiveAutoscalePolicy
    interface IJsonSerializable
Public Class PredictiveAutoscalePolicy
Implements IPredictiveAutoscalePolicy
Inheritance
PredictiveAutoscalePolicy
Attributes
Implements

Constructors

PredictiveAutoscalePolicy()

Creates an new PredictiveAutoscalePolicy instance.

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PredictiveAutoscalePolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PredictiveAutoscalePolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.IPredictiveAutoscalePolicy.

FromJsonString(String)

Creates a new instance of PredictiveAutoscalePolicy, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PredictiveAutoscalePolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to