Monitors spot prices or discounts of preemptible ECS instances and sends an alert when the specified threshold is reached.
Description
Monitors the spot prices or discounts of preemptible Elastic Compute Service (ECS) instances and sends an alert when 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.
该文章对您有帮助吗?