alicloud_ecp_instanceNivis Nix constructor for the alicloud_ecp_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,
image_id,
instance_type,
security_group_id,
vswitch_id,
auto_pay ? null,
auto_renew ? null,
description ? null,
eip_bandwidth ? null,
force ? null,
id ? null,
instance_name ? null,
key_pair_name ? null,
payment_type ? null,
period ? null,
period_unit ? null,
resolution ? null,
status ? null,
vnc_password ? null,
timeouts ? null,
overrides ? {}
}Required arguments
image_idinstance_typesecurity_group_idvswitch_id
Optional arguments
auto_pay(defaults tonull)auto_renew(defaults tonull)description(defaults tonull)eip_bandwidth(defaults tonull)force(defaults tonull)id(defaults tonull)instance_name(defaults tonull)key_pair_name(defaults tonull)payment_type(defaults tonull)period(defaults tonull)period_unit(defaults tonull)resolution(defaults tonull)status(defaults tonull)vnc_password(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
alicloud_ecp_instance {
name = "ecp_instance";
image_id = …; # required
instance_type = …; # required
security_group_id = …; # required
vswitch_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.