alicloud_ecs_elasticity_assurance

Nivis Nix constructor for the alicloud_ecs_elasticity_assurance 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,
  instance_amount,
  instance_type,
  zone_ids,
  assurance_times ? null,
  auto_renew ? null,
  auto_renew_period ? null,
  auto_renew_period_unit ? null,
  description ? null,
  id ? null,
  period ? null,
  period_unit ? null,
  private_pool_options_match_criteria ? null,
  private_pool_options_name ? null,
  resource_group_id ? null,
  start_time ? null,
  tags ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • instance_amount
  • instance_type
  • zone_ids
Optional arguments
  • assurance_times (defaults to null)
  • auto_renew (defaults to null)
  • auto_renew_period (defaults to null)
  • auto_renew_period_unit (defaults to null)
  • description (defaults to null)
  • id (defaults to null)
  • period (defaults to null)
  • period_unit (defaults to null)
  • private_pool_options_match_criteria (defaults to null)
  • private_pool_options_name (defaults to null)
  • resource_group_id (defaults to null)
  • start_time (defaults to null)
  • tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • elasticity_assurance_id
  • end_time
  • instance_charge_type
  • region_id
  • start_time_type
  • status
  • used_assurance_times
Example
alicloud_ecs_elasticity_assurance {
  name = "ecs_elasticity_assurance";
  instance_amount = …;  # required
  instance_type = …;  # required
  zone_ids = …;  # required
}

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