alicloud_mongodb_serverless_instanceNivis Nix constructor for the alicloud_mongodb_serverless_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,
account_password,
capacity_unit,
db_instance_storage,
engine_version,
vpc_id,
vswitch_id,
zone_id,
auto_renew ? null,
db_instance_description ? null,
engine ? null,
id ? null,
maintain_end_time ? null,
maintain_start_time ? null,
period ? null,
period_price_type ? null,
resource_group_id ? null,
storage_engine ? null,
tags ? null,
security_ip_groups ? null,
timeouts ? null,
overrides ? {}
}Required arguments
account_passwordcapacity_unitdb_instance_storageengine_versionvpc_idvswitch_idzone_id
Optional arguments
auto_renew(defaults tonull)db_instance_description(defaults tonull)engine(defaults tonull)id(defaults tonull)maintain_end_time(defaults tonull)maintain_start_time(defaults tonull)period(defaults tonull)period_price_type(defaults tonull)resource_group_id(defaults tonull)storage_engine(defaults tonull)tags(defaults tonull)security_ip_groups(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
status
Example
alicloud_mongodb_serverless_instance {
name = "mongodb_serverless_instance";
account_password = …; # required
capacity_unit = …; # required
db_instance_storage = …; # required
engine_version = …; # required
vpc_id = …; # required
vswitch_id = …; # required
zone_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.