Description
Monitors the latest prices and discounts of subscription Elastic Compute Service (ECS) instances that are created for a scaling group and sends an alert notification if the specified threshold is reached.
Syntax
Action: ACS::ECS::AlarmSpotPriceOrDiscountByScalingGroupInstance
Properties:
regionId: String
threshold: Number
taskType: String
instanceType: String
zoneId: String
Attributes
Attribute | Description | Type | Required | Default value | Limit |
regionId | The region ID. | String | Yes | ||
threshold | The discount threshold. For example, 10 indicates 90% off and 50 indicates 50% off. | Number | Yes | ||
taskType | The type of the threshold monitoring task. | String | Yes | ||
instanceType | The type of the ECS instance. | String | Yes | ||
zoneId | The zone ID. | String | Yes |
Output
Output item | Description | Type |
discountInfo | Json |
References
For more information, see ACS::ECS::AlarmSpotPriceOrDiscountByScalingGroupInstance at GitHub.