It is allowed to start with numbers, letters, _, and - characters. It is allowed to include numbers, letters, _, and - characters, and the string length is 1 to 64.
scaling_group_id
Autoscaling group ID.
String value expected.
Updates cause replacement.
scaling_policy_type
The type of autoscaling policy.
String value expected.
Can be updated without replacement.
Allowed values: ALARM, SCHEDULED, RECURRENCE
ALARM: AS automatically increases or decreases the number of instances in an AS group or sets the number of instances to a specified value if Cloud Eye (CES) generates an alarm for a configured metric, such as CPU usage.
SCHEDULED: AS automatically increases or decreases the number of instances in an AS group or sets the number of instances to a specified value at a specified time.
RECURRENCE: AS increases or decreases the number of instances in an AS group or sets the number of instances to a specified value at a configured interval, such as one day, one week, or month.
CES alarm rule ID, which must be selected when scaling_policy_type is ALARM.
String value expected.
Can be updated without replacement.
scheduled_policy
The scheduled policy, which must be set when scaling_policy_type is SCHEDULED or RECURRENCE.
Map value expected.
Can be updated without replacement.
Map properties:
launch_time
The launch time of scheduled policy. If scaling_policy_type is SCHEDULED, the format is: YYYY-MM-DDThh: mmZ, else if scaling_policy_type is RECURRENCE, the format is: hh: mm.
String value expected.
Can be updated without replacement.
recurrence_type
The recurrence type of scheduled policy, must be specified when scaling_policy_type is RECURRENCE.
String value expected.
Can be updated without replacement.
Allowed values: Daily, Weekly and Monthly.
recurrence_value
The recurrence value of scheduled policy. When the recurrence type is Daily, the recurrence value is null, indicating that it is executed every day. When the recurrence type is Weekly, the recurrence value is in the range 1-7 (1 for Sunday). When the recurrence type is Monthly, the recurrence value is in the range of 1-31.
String value expected.
Can be updated without replacement.
start_time
The start time of scheduled policy, the format is: YYYY-MM-DDThh: mmZ.
String value expected.
Can be updated without replacement.
end_time
The end time of scheduled policy, the format is: YYYY-MM-DDThh: mmZ, must be specified when scaling_policy_type is RECURRENCE.