alicloud_auto_provisioning_groupNivis 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_idtotal_target_capacity
Optional arguments
auto_provisioning_group_name(defaults tonull)auto_provisioning_group_type(defaults tonull)default_target_capacity_type(defaults tonull)description(defaults tonull)excess_capacity_termination_policy(defaults tonull)id(defaults tonull)launch_template_version(defaults tonull)max_spot_price(defaults tonull)pay_as_you_go_allocation_strategy(defaults tonull)pay_as_you_go_target_capacity(defaults tonull)spot_allocation_strategy(defaults tonull)spot_instance_interruption_behavior(defaults tonull)spot_instance_pools_to_use_count(defaults tonull)spot_target_capacity(defaults tonull)terminate_instances(defaults tonull)terminate_instances_with_expiration(defaults tonull)valid_from(defaults tonull)valid_until(defaults tonull)launch_template_config(defaults tonull)
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.