alicloud_ecs_capacity_reservationNivis 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_amountinstance_typezone_ids
Optional arguments
capacity_reservation_name(defaults tonull)description(defaults tonull)dry_run(defaults tonull)end_time(defaults tonull)end_time_type(defaults tonull)id(defaults tonull)match_criteria(defaults tonull)platform(defaults tonull)resource_group_id(defaults tonull)tags(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
payment_typestart_timestart_time_typestatustime_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.