alicloud_mongodb_instance

Nivis Nix constructor for the alicloud_mongodb_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,
  db_instance_class,
  db_instance_storage,
  engine_version,
  account_password ? null,
  account_password_wo ? null,
  account_password_wo_version ? null,
  auto_renew ? null,
  auto_renew_duration ? null,
  backup_interval ? null,
  backup_period ? null,
  backup_retention_period ? null,
  backup_retention_policy_on_cluster_deletion ? null,
  backup_time ? null,
  cloud_disk_encryption_key ? null,
  db_instance_release_protection ? null,
  effective_time ? null,
  enable_backup_log ? null,
  encrypted ? null,
  encryption_key ? null,
  encryptor_name ? null,
  force_encryption ? null,
  global_security_group_list ? null,
  hidden_zone_id ? null,
  id ? null,
  instance_charge_type ? null,
  kms_encrypted_password ? null,
  kms_encryption_context ? null,
  log_backup_retention_period ? null,
  maintain_end_time ? null,
  maintain_start_time ? null,
  cfg_name ? null,
  network_type ? null,
  order_type ? null,
  period ? null,
  provisioned_iops ? null,
  readonly_replicas ? null,
  replication_factor ? null,
  resource_group_id ? null,
  restore_time ? null,
  role_arn ? null,
  secondary_zone_id ? null,
  security_group_id ? null,
  security_ip_list ? null,
  snapshot_backup_type ? null,
  src_db_instance_id ? null,
  ssl_action ? null,
  storage_engine ? null,
  storage_type ? null,
  tags ? null,
  tde_status ? null,
  vpc_id ? null,
  vswitch_id ? null,
  zone_id ? null,
  parameters ? null,
  security_ip_groups ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • db_instance_class
  • db_instance_storage
  • engine_version
Optional arguments
  • account_password (defaults to null)
  • account_password_wo (defaults to null)
  • account_password_wo_version (defaults to null)
  • auto_renew (defaults to null)
  • auto_renew_duration (defaults to null)
  • backup_interval (defaults to null)
  • backup_period (defaults to null)
  • backup_retention_period (defaults to null)
  • backup_retention_policy_on_cluster_deletion (defaults to null)
  • backup_time (defaults to null)
  • cloud_disk_encryption_key (defaults to null)
  • db_instance_release_protection (defaults to null)
  • effective_time (defaults to null)
  • enable_backup_log (defaults to null)
  • encrypted (defaults to null)
  • encryption_key (defaults to null)
  • encryptor_name (defaults to null)
  • force_encryption (defaults to null)
  • global_security_group_list (defaults to null)
  • hidden_zone_id (defaults to null)
  • id (defaults to null)
  • instance_charge_type (defaults to null)
  • kms_encrypted_password (defaults to null)
  • kms_encryption_context (defaults to null)
  • log_backup_retention_period (defaults to null)
  • maintain_end_time (defaults to null)
  • maintain_start_time (defaults to null)
  • cfg_name (defaults to null)
  • network_type (defaults to null)
  • order_type (defaults to null)
  • period (defaults to null)
  • provisioned_iops (defaults to null)
  • readonly_replicas (defaults to null)
  • replication_factor (defaults to null)
  • resource_group_id (defaults to null)
  • restore_time (defaults to null)
  • role_arn (defaults to null)
  • secondary_zone_id (defaults to null)
  • security_group_id (defaults to null)
  • security_ip_list (defaults to null)
  • snapshot_backup_type (defaults to null)
  • src_db_instance_id (defaults to null)
  • ssl_action (defaults to null)
  • storage_engine (defaults to null)
  • storage_type (defaults to null)
  • tags (defaults to null)
  • tde_status (defaults to null)
  • vpc_id (defaults to null)
  • vswitch_id (defaults to null)
  • zone_id (defaults to null)
  • parameters (defaults to null)
  • security_ip_groups (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • key_ids
  • replica_set_name
  • replica_sets
  • retention_period
  • ssl_status
  • zone_infos
Example
alicloud_mongodb_instance {
  name = "mongodb_instance";
  db_instance_class = …;  # required
  db_instance_storage = …;  # required
  engine_version = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.