tencentcloud_as_scaling_policy

Nivis 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_name
  • scaling_group_id
Optional arguments
  • adjustment_type (defaults to null)
  • adjustment_value (defaults to null)
  • comparison_operator (defaults to null)
  • continuous_time (defaults to null)
  • cooldown (defaults to null)
  • disable_scale_in (defaults to null)
  • estimated_instance_warmup (defaults to null)
  • id (defaults to null)
  • metric_name (defaults to null)
  • notification_user_group_ids (defaults to null)
  • period (defaults to null)
  • policy_type (defaults to null)
  • predefined_metric_type (defaults to null)
  • statistic (defaults to null)
  • target_value (defaults to null)
  • threshold (defaults to null)
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.