alicloud_ens_instanceNivis Nix constructor for the alicloud_ens_instance 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_type,
payment_type,
schedule_area_level,
amount ? null,
auto_release_time ? null,
auto_renew ? null,
auto_use_coupon ? null,
billing_cycle ? null,
carrier ? null,
ens_region_id ? null,
force_stop ? null,
host_name ? null,
id ? null,
image_id ? null,
include_data_disks ? null,
instance_charge_strategy ? null,
instance_name ? null,
internet_charge_type ? null,
internet_max_bandwidth_out ? null,
ip_type ? null,
key_pair_name ? null,
net_district_code ? null,
net_work_id ? null,
password ? null,
password_inherit ? null,
period ? null,
period_unit ? null,
private_ip_address ? null,
public_ip_identification ? null,
scheduling_price_strategy ? null,
scheduling_strategy ? null,
security_id ? null,
spot_strategy ? null,
status ? null,
tags ? null,
unique_suffix ? null,
user_data ? null,
vswitch_id ? null,
data_disk ? null,
system_disk ? null,
timeouts ? null,
overrides ? {}
}Required arguments
instance_typepayment_typeschedule_area_level
Optional arguments
amount(defaults tonull)auto_release_time(defaults tonull)auto_renew(defaults tonull)auto_use_coupon(defaults tonull)billing_cycle(defaults tonull)carrier(defaults tonull)ens_region_id(defaults tonull)force_stop(defaults tonull)host_name(defaults tonull)id(defaults tonull)image_id(defaults tonull)include_data_disks(defaults tonull)instance_charge_strategy(defaults tonull)instance_name(defaults tonull)internet_charge_type(defaults tonull)internet_max_bandwidth_out(defaults tonull)ip_type(defaults tonull)key_pair_name(defaults tonull)net_district_code(defaults tonull)net_work_id(defaults tonull)password(defaults tonull)password_inherit(defaults tonull)period(defaults tonull)period_unit(defaults tonull)private_ip_address(defaults tonull)public_ip_identification(defaults tonull)scheduling_price_strategy(defaults tonull)scheduling_strategy(defaults tonull)security_id(defaults tonull)spot_strategy(defaults tonull)status(defaults tonull)tags(defaults tonull)unique_suffix(defaults tonull)user_data(defaults tonull)vswitch_id(defaults tonull)data_disk(defaults tonull)system_disk(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
alicloud_ens_instance {
name = "ens_instance";
instance_type = …; # required
payment_type = …; # required
schedule_area_level = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.