alicloud_auto_provisioning_group

Nivis Nix constructor for the alicloud_auto_provisioning_group resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  launch_template_id,
  total_target_capacity,
  auto_provisioning_group_name ? null,
  auto_provisioning_group_type ? null,
  default_target_capacity_type ? null,
  description ? null,
  excess_capacity_termination_policy ? null,
  id ? null,
  launch_template_version ? null,
  max_spot_price ? null,
  pay_as_you_go_allocation_strategy ? null,
  pay_as_you_go_target_capacity ? null,
  spot_allocation_strategy ? null,
  spot_instance_interruption_behavior ? null,
  spot_instance_pools_to_use_count ? null,
  spot_target_capacity ? null,
  terminate_instances ? null,
  terminate_instances_with_expiration ? null,
  valid_from ? null,
  valid_until ? null,
  launch_template_config ? null,
  overrides ? {}
}
Required arguments
  • launch_template_id
  • total_target_capacity
Optional arguments
  • auto_provisioning_group_name (defaults to null)
  • auto_provisioning_group_type (defaults to null)
  • default_target_capacity_type (defaults to null)
  • description (defaults to null)
  • excess_capacity_termination_policy (defaults to null)
  • id (defaults to null)
  • launch_template_version (defaults to null)
  • max_spot_price (defaults to null)
  • pay_as_you_go_allocation_strategy (defaults to null)
  • pay_as_you_go_target_capacity (defaults to null)
  • spot_allocation_strategy (defaults to null)
  • spot_instance_interruption_behavior (defaults to null)
  • spot_instance_pools_to_use_count (defaults to null)
  • spot_target_capacity (defaults to null)
  • terminate_instances (defaults to null)
  • terminate_instances_with_expiration (defaults to null)
  • valid_from (defaults to null)
  • valid_until (defaults to null)
  • launch_template_config (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
alicloud_auto_provisioning_group {
  name = "auto_provisioning_group";
  launch_template_id = …;  # required
  total_target_capacity = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.