tencentcloud_as_scaling_groupNivis Nix constructor for the tencentcloud_as_scaling_group resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
configuration_id,
max_size,
min_size,
scaling_group_name,
vpc_id,
concurrent_scale_out_for_desired_capacity ? null,
default_cooldown ? null,
desired_capacity ? null,
desired_capacity_sync_with_max_min_size ? null,
health_check_type ? null,
id ? null,
instance_allocation_policy ? null,
lb_health_check_grace_period ? null,
load_balancer_ids ? null,
multi_zone_subnet_policy ? null,
priority_scale_in_unhealthy ? null,
project_id ? null,
replace_load_balancer_unhealthy ? null,
replace_mode ? null,
replace_monitor_unhealthy ? null,
retry_policy ? null,
scaling_mode ? null,
subnet_ids ? null,
tags ? null,
termination_policies ? null,
zones ? null,
forward_balancer_ids ? null,
overrides ? {}
}Required arguments
configuration_idmax_sizemin_sizescaling_group_namevpc_id
Optional arguments
concurrent_scale_out_for_desired_capacity(defaults tonull)default_cooldown(defaults tonull)desired_capacity(defaults tonull)desired_capacity_sync_with_max_min_size(defaults tonull)health_check_type(defaults tonull)id(defaults tonull)instance_allocation_policy(defaults tonull)lb_health_check_grace_period(defaults tonull)load_balancer_ids(defaults tonull)multi_zone_subnet_policy(defaults tonull)priority_scale_in_unhealthy(defaults tonull)project_id(defaults tonull)replace_load_balancer_unhealthy(defaults tonull)replace_mode(defaults tonull)replace_monitor_unhealthy(defaults tonull)retry_policy(defaults tonull)scaling_mode(defaults tonull)subnet_ids(defaults tonull)tags(defaults tonull)termination_policies(defaults tonull)zones(defaults tonull)forward_balancer_ids(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
auto_scaling_group_idcreate_timeinstance_countstatus
Example
tencentcloud_as_scaling_group {
name = "as_scaling_group";
configuration_id = …; # required
max_size = …; # required
min_size = …; # required
scaling_group_name = …; # required
vpc_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.