All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::AlarmScalingThreshold

Last Updated:Jun 12, 2024

Description

Monitors the spot prices or discounts of preemptible Elastic Compute Service (ECS) instances and sends an alert notification if the specified threshold is reached.

Syntax

Action: ACS::ECS::AlarmScalingThreshold
Properties:
 regionId: String
 zoneId: String
 discountJsonInfo: Json
 threshold: Number
 scalingGroupId: String
 taskType: String

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

Yes

zoneId

The zone ID.

String

Yes

discountJsonInfo

The discount information.

Json

Yes

threshold

The discount or price threshold.

Number

Yes

scalingGroupId

The scaling group ID.

String

Yes

taskType

The type of the threshold monitoring task.

String

Yes

Output

Output item

Description

Type

discountInfo

Json

References

For more information, see ACS::ECS::AlarmScalingThreshold.yml at GitHub.