tencentcloud_as_scaling_policyNivis Nix constructor for the tencentcloud_as_scaling_policy 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,
policy_name,
scaling_group_id,
adjustment_type ? null,
adjustment_value ? null,
comparison_operator ? null,
continuous_time ? null,
cooldown ? null,
disable_scale_in ? null,
estimated_instance_warmup ? null,
id ? null,
metric_name ? null,
notification_user_group_ids ? null,
period ? null,
policy_type ? null,
predefined_metric_type ? null,
statistic ? null,
target_value ? null,
threshold ? null,
overrides ? {}
}Required arguments
policy_namescaling_group_id
Optional arguments
adjustment_type(defaults tonull)adjustment_value(defaults tonull)comparison_operator(defaults tonull)continuous_time(defaults tonull)cooldown(defaults tonull)disable_scale_in(defaults tonull)estimated_instance_warmup(defaults tonull)id(defaults tonull)metric_name(defaults tonull)notification_user_group_ids(defaults tonull)period(defaults tonull)policy_type(defaults tonull)predefined_metric_type(defaults tonull)statistic(defaults tonull)target_value(defaults tonull)threshold(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
tencentcloud_as_scaling_policy {
name = "as_scaling_policy";
policy_name = …; # required
scaling_group_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.