alicloud_gpdb_elastic_instanceNivis Nix constructor for the alicloud_gpdb_elastic_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,
engine,
engine_version,
instance_spec,
seg_node_num,
seg_storage_type,
storage_size,
vswitch_id,
db_instance_category ? null,
db_instance_description ? null,
encryption_key ? null,
encryption_type ? null,
id ? null,
instance_network_type ? null,
payment_duration ? null,
payment_duration_unit ? null,
payment_type ? null,
security_ip_list ? null,
tags ? null,
zone_id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
engineengine_versioninstance_specseg_node_numseg_storage_typestorage_sizevswitch_id
Optional arguments
db_instance_category(defaults tonull)db_instance_description(defaults tonull)encryption_key(defaults tonull)encryption_type(defaults tonull)id(defaults tonull)instance_network_type(defaults tonull)payment_duration(defaults tonull)payment_duration_unit(defaults tonull)payment_type(defaults tonull)security_ip_list(defaults tonull)tags(defaults tonull)zone_id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
connection_stringportstatus
Example
alicloud_gpdb_elastic_instance {
name = "gpdb_elastic_instance";
engine = …; # required
engine_version = …; # required
instance_spec = …; # required
seg_node_num = …; # required
seg_storage_type = …; # required
storage_size = …; # required
vswitch_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.