alicloud_rds_db_proxyNivis Nix constructor for the alicloud_rds_db_proxy 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,
db_proxy_instance_num,
instance_id,
instance_network_type,
vpc_id,
vswitch_id,
db_proxy_connect_string_port ? null,
db_proxy_connection_prefix ? null,
db_proxy_endpoint_read_write_mode ? null,
db_proxy_features ? null,
db_proxy_instance_type ? null,
db_proxy_ssl_enabled ? null,
effective_specific_time ? null,
effective_time ? null,
id ? null,
read_only_instance_distribution_type ? null,
read_only_instance_max_delay_time ? null,
resource_group_id ? null,
switch_time ? null,
upgrade_time ? null,
read_only_instance_weight ? null,
timeouts ? null,
overrides ? {}
}Required arguments
db_proxy_instance_numinstance_idinstance_network_typevpc_idvswitch_id
Optional arguments
db_proxy_connect_string_port(defaults tonull)db_proxy_connection_prefix(defaults tonull)db_proxy_endpoint_read_write_mode(defaults tonull)db_proxy_features(defaults tonull)db_proxy_instance_type(defaults tonull)db_proxy_ssl_enabled(defaults tonull)effective_specific_time(defaults tonull)effective_time(defaults tonull)id(defaults tonull)read_only_instance_distribution_type(defaults tonull)read_only_instance_max_delay_time(defaults tonull)resource_group_id(defaults tonull)switch_time(defaults tonull)upgrade_time(defaults tonull)read_only_instance_weight(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
db_proxy_connection_stringdb_proxy_endpoint_aliasesdb_proxy_endpoint_idnet_typessl_expired_time
Example
alicloud_rds_db_proxy {
name = "rds_db_proxy";
db_proxy_instance_num = …; # required
instance_id = …; # required
instance_network_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.