alicloud_polardb_clusterNivis Nix constructor for the alicloud_polardb_cluster 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_type,
db_version,
allow_shut_down ? null,
auto_renew_period ? null,
backup_retention_policy_on_cluster_deletion ? null,
clone_data_point ? null,
cn_node_class ? null,
cn_node_num ? null,
collector_status ? null,
compress_storage ? null,
creation_category ? null,
creation_option ? null,
db_minor_version ? null,
db_node_class ? null,
db_node_count ? null,
db_node_id ? null,
db_node_num ? null,
default_time_zone ? null,
deletion_lock ? null,
description ? null,
dn_node_class ? null,
dn_node_num ? null,
enable_automatic_rotation ? null,
enable_dynamodb ? null,
encrypt_new_tables ? null,
encryption_key ? null,
from_time_service ? null,
gdn_id ? null,
global_security_group_list ? null,
hot_replica_mode ? null,
hot_standby_cluster ? null,
id ? null,
imci_switch ? null,
loose_polar_log_bin ? null,
loose_xengine ? null,
loose_xengine_use_memory_pct ? null,
lower_case_table_names ? null,
maintain_time ? null,
modify_type ? null,
parameter_group_id ? null,
pay_type ? null,
period ? null,
planned_end_time ? null,
planned_start_time ? null,
provisioned_iops ? null,
proxy_class ? null,
proxy_type ? null,
renewal_status ? null,
resource_group_id ? null,
role_arn ? null,
scale_ap_ro_num_max ? null,
scale_ap_ro_num_min ? null,
scale_max ? null,
scale_min ? null,
scale_ro_num_max ? null,
scale_ro_num_min ? null,
seconds_until_auto_pause ? null,
security_group_ids ? null,
security_ips ? null,
serverless_rule_cpu_enlarge_threshold ? null,
serverless_rule_cpu_shrink_threshold ? null,
serverless_rule_mode ? null,
serverless_steady_switch ? null,
serverless_type ? null,
source_resource_id ? null,
standby_az ? null,
storage_pay_type ? null,
storage_space ? null,
storage_type ? null,
strict_consistency ? null,
sub_category ? null,
tags ? null,
target_db_revision_version_code ? null,
target_minor_version ? null,
tde_status ? null,
upgrade_type ? null,
vpc_id ? null,
vswitch_id ? null,
zone_id ? null,
db_cluster_ip_array ? null,
parameters ? null,
timeouts ? null,
overrides ? {}
}Required arguments
db_typedb_version
Optional arguments
allow_shut_down(defaults tonull)auto_renew_period(defaults tonull)backup_retention_policy_on_cluster_deletion(defaults tonull)clone_data_point(defaults tonull)cn_node_class(defaults tonull)cn_node_num(defaults tonull)collector_status(defaults tonull)compress_storage(defaults tonull)creation_category(defaults tonull)creation_option(defaults tonull)db_minor_version(defaults tonull)db_node_class(defaults tonull)db_node_count(defaults tonull)db_node_id(defaults tonull)db_node_num(defaults tonull)default_time_zone(defaults tonull)deletion_lock(defaults tonull)description(defaults tonull)dn_node_class(defaults tonull)dn_node_num(defaults tonull)enable_automatic_rotation(defaults tonull)enable_dynamodb(defaults tonull)encrypt_new_tables(defaults tonull)encryption_key(defaults tonull)from_time_service(defaults tonull)gdn_id(defaults tonull)global_security_group_list(defaults tonull)hot_replica_mode(defaults tonull)hot_standby_cluster(defaults tonull)id(defaults tonull)imci_switch(defaults tonull)loose_polar_log_bin(defaults tonull)loose_xengine(defaults tonull)loose_xengine_use_memory_pct(defaults tonull)lower_case_table_names(defaults tonull)maintain_time(defaults tonull)modify_type(defaults tonull)parameter_group_id(defaults tonull)pay_type(defaults tonull)period(defaults tonull)planned_end_time(defaults tonull)planned_start_time(defaults tonull)provisioned_iops(defaults tonull)proxy_class(defaults tonull)proxy_type(defaults tonull)renewal_status(defaults tonull)resource_group_id(defaults tonull)role_arn(defaults tonull)scale_ap_ro_num_max(defaults tonull)scale_ap_ro_num_min(defaults tonull)scale_max(defaults tonull)scale_min(defaults tonull)scale_ro_num_max(defaults tonull)scale_ro_num_min(defaults tonull)seconds_until_auto_pause(defaults tonull)security_group_ids(defaults tonull)security_ips(defaults tonull)serverless_rule_cpu_enlarge_threshold(defaults tonull)serverless_rule_cpu_shrink_threshold(defaults tonull)serverless_rule_mode(defaults tonull)serverless_steady_switch(defaults tonull)serverless_type(defaults tonull)source_resource_id(defaults tonull)standby_az(defaults tonull)storage_pay_type(defaults tonull)storage_space(defaults tonull)storage_type(defaults tonull)strict_consistency(defaults tonull)sub_category(defaults tonull)tags(defaults tonull)target_db_revision_version_code(defaults tonull)target_minor_version(defaults tonull)tde_status(defaults tonull)upgrade_type(defaults tonull)vpc_id(defaults tonull)vswitch_id(defaults tonull)zone_id(defaults tonull)db_cluster_ip_array(defaults tonull)parameters(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
automatic_rotationcn_node_idsconnection_stringcreate_timedb_revision_version_listdn_node_idsportrotation_intervalstatustde_region
Example
alicloud_polardb_cluster {
name = "polardb_cluster";
db_type = …; # required
db_version = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.