Share via


ScaleAction Class

Definition

The parameters for the scaling action.

public class ScaleAction
type ScaleAction = class
Public Class ScaleAction
Inheritance
ScaleAction

Constructors

ScaleAction()

Initializes a new instance of the ScaleAction class.

ScaleAction(ScaleDirection, ScaleType, TimeSpan, String)

Initializes a new instance of the ScaleAction class.

Properties

Cooldown

Gets or sets 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

Gets or sets the scale direction. Whether the scaling action increases or decreases the number of instances. Possible values include: 'None', 'Increase', 'Decrease'

Type

Gets or sets the type of action that should occur when the scale rule fires. Possible values include: 'ChangeCount', 'PercentChangeCount', 'ExactCount', 'ServiceAllowedNextValue'

Value

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

Methods

Validate()

Validate the object.

Applies to