Share via


IScaleAction Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleActionTypeConverter))]
public interface IScaleAction : Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.Autoscale.Models.Api20221001.ScaleActionTypeConverter))>]
type IScaleAction = interface
    interface IJsonSerializable
Public Interface IScaleAction
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Cooldown

the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format.

Direction

the scale direction. Whether the scaling action increases or decreases the number of instances.

Type

the type of action that should occur when the scale rule fires.

Value

the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to