alicloud_polardb_gatewayNivis Nix constructor for the alicloud_polardb_gateway 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,
pay_type,
vpc_id,
vswitch_id,
auto_renew ? null,
db_cluster_class ? null,
db_type ? null,
id ? null,
period ? null,
security_group_id ? null,
used_time ? null,
zone_id ? null,
timeouts ? null,
overrides ? {}
}Required arguments
pay_typevpc_idvswitch_id
Optional arguments
auto_renew(defaults tonull)db_cluster_class(defaults tonull)db_type(defaults tonull)id(defaults tonull)period(defaults tonull)security_group_id(defaults tonull)used_time(defaults tonull)zone_id(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timecurrent_versiondescriptionendpointsexpire_timeexpiredlatest_versionmodify_timeregion_idrunning_versionsecurity_ip_arraysstatus
Example
alicloud_polardb_gateway {
name = "polardb_gateway";
pay_type = …; # required
vpc_id = …; # required
vswitch_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.