Scheduled Task
Provides a ESS schedule resource. For information about ess schedule task, see Scheduled Tasks.
NOTE: Available since v1.60.0.
Module Support
You can use to the existing autoscaling-rule module to create scheduled task, different type rules and alarm task one-click.
Import
ESS schedule task can be imported using the id, e.g.
$ pulumi import alicloud:ess/scheduledTask:ScheduledTask example abc123456
Properties
The time at which the scheduled task is triggered. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mmZ format. The time must be in UTC. You cannot enter a time point later than 90 days from the date of scheduled task creation. If the recurrence_type
parameter is specified, the task is executed repeatedly at the time specified by LaunchTime. Otherwise, the task is only executed once at the date and time specified by LaunchTime.
Specifies the end time after which the scheduled task is no longer repeated. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC. You cannot enter a time point later than 365 days from the date of scheduled task creation. NOTE: You must specify RecurrenceType
, RecurrenceValue
, and RecurrenceEndTime
at the same time.
The ID of the scaling group where the number of instances is modified when the scheduled task is triggered. After the ScalingGroupId
parameter is specified, the scaling method of the scheduled task is to specify the number of instances in a scaling group. You must specify at least one of the following parameters: MinValue
, MaxValue
, and DesiredCapacity
. NOTE: You cannot specify scheduled_action
and scaling_group_id
at the same time.