You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: "Indicates scaling mode which creates and terminates instances (classic method), or method first tries to start stopped instances (wake up stopped) to perform scaling operations. Available values: `CLASSIC_SCALING`, `WAKE_UP_STOPPED_SCALING`. Default: `CLASSIC_SCALING`.",
201
+
},
202
+
// Service Settings
203
+
"replace_monitor_unhealthy": {
204
+
Type: schema.TypeBool,
205
+
Optional: true,
206
+
Description: "Enables unhealthy instance replacement. If set to `true`, AS will replace instances that are flagged as unhealthy by Cloud Monitor.",
207
+
},
208
+
"replace_load_balancer_unhealthy": {
209
+
Type: schema.TypeBool,
210
+
Optional: true,
211
+
Description: "Enable unhealthy instance replacement. If set to `true`, AS will replace instances that are found unhealthy in the CLB health check.",
212
+
},
197
213
"tags": {
198
214
Type: schema.TypeMap,
199
215
Optional: true,
@@ -314,6 +330,24 @@ func resourceTencentCloudAsScalingGroupCreate(d *schema.ResourceData, meta inter
Copy file name to clipboardExpand all lines: website/docs/r/as_scaling_group.html.markdown
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,10 @@ The following arguments are supported:
55
55
*`load_balancer_ids` - (Optional) ID list of traditional load balancers.
56
56
*`multi_zone_subnet_policy` - (Optional) Multi zone or subnet strategy, Valid values: PRIORITY and EQUALITY.
57
57
*`project_id` - (Optional) Specifies to which project the scaling group belongs.
58
+
*`replace_load_balancer_unhealthy` - (Optional) Enable unhealthy instance replacement. If set to `true`, AS will replace instances that are found unhealthy in the CLB health check.
59
+
*`replace_monitor_unhealthy` - (Optional) Enables unhealthy instance replacement. If set to `true`, AS will replace instances that are flagged as unhealthy by Cloud Monitor.
58
60
*`retry_policy` - (Optional) Available values for retry policies. Valid values: IMMEDIATE_RETRY and INCREMENTAL_INTERVALS.
61
+
*`scaling_mode` - (Optional) Indicates scaling mode which creates and terminates instances (classic method), or method first tries to start stopped instances (wake up stopped) to perform scaling operations. Available values: `CLASSIC_SCALING`, `WAKE_UP_STOPPED_SCALING`. Default: `CLASSIC_SCALING`.
59
62
*`subnet_ids` - (Optional) ID list of subnet, and for VPC it is required.
60
63
*`tags` - (Optional) Tags of a scaling group.
61
64
*`termination_policies` - (Optional) Available values for termination policies. Valid values: OLDEST_INSTANCE and NEWEST_INSTANCE.
0 commit comments