共用方式為


AverageLoadScalingTrigger interface

Describes the average load trigger used for auto scaling.

Extends

Properties

kind

Polymorphic discriminator, which specifies the different types this object can be

lowerLoadThreshold

Lower load threshold (if average load is below this threshold, service will scale down).

metric

Description of the metric that is used for scaling.

scaleIntervalInSeconds

Scale interval that indicates how often will this trigger be checked.

upperLoadThreshold

Upper load threshold (if average load is above this threshold, service will scale up).

Property Details

kind

Polymorphic discriminator, which specifies the different types this object can be

kind: "AverageLoad"

Property Value

"AverageLoad"

lowerLoadThreshold

Lower load threshold (if average load is below this threshold, service will scale down).

lowerLoadThreshold: number

Property Value

number

metric

Description of the metric that is used for scaling.

metric: AutoScalingMetricUnion

Property Value

scaleIntervalInSeconds

Scale interval that indicates how often will this trigger be checked.

scaleIntervalInSeconds: number

Property Value

number

upperLoadThreshold

Upper load threshold (if average load is above this threshold, service will scale up).

upperLoadThreshold: number

Property Value

number