alicloud_ecs_capacity_reservation

Nivis Nix constructor for the alicloud_ecs_capacity_reservation 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,
  capacity_reservation_name ? null,
  description ? null,
  dry_run ? null,
  end_time ? null,
  end_time_type ? null,
  id ? null,
  match_criteria ? null,
  platform ? null,
  resource_group_id ? null,
  tags ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • instance_amount
  • instance_type
  • zone_ids
Optional arguments
  • capacity_reservation_name (defaults to null)
  • description (defaults to null)
  • dry_run (defaults to null)
  • end_time (defaults to null)
  • end_time_type (defaults to null)
  • id (defaults to null)
  • match_criteria (defaults to null)
  • platform (defaults to null)
  • resource_group_id (defaults to null)
  • tags (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • payment_type
  • start_time
  • start_time_type
  • status
  • time_slot
Example
alicloud_ecs_capacity_reservation {
  name = "ecs_capacity_reservation";
  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.