tencentcloud_mariadb_instance

Nivis Nix constructor for the tencentcloud_mariadb_instance resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  memory,
  node_count,
  storage,
  zones,
  auto_renew_flag ? null,
  auto_voucher ? null,
  db_version_id ? null,
  dcn_instance_id ? null,
  dcn_region ? null,
  id ? null,
  instance_name ? null,
  ipv6_flag ? null,
  period ? null,
  project_id ? null,
  security_group_ids ? null,
  subnet_id ? null,
  tags ? null,
  vip ? null,
  voucher_ids ? null,
  vpc_id ? null,
  init_params ? null,
  overrides ? {}
}
Required arguments
  • memory
  • node_count
  • storage
  • zones
Optional arguments
  • auto_renew_flag (defaults to null)
  • auto_voucher (defaults to null)
  • db_version_id (defaults to null)
  • dcn_instance_id (defaults to null)
  • dcn_region (defaults to null)
  • id (defaults to null)
  • instance_name (defaults to null)
  • ipv6_flag (defaults to null)
  • period (defaults to null)
  • project_id (defaults to null)
  • security_group_ids (defaults to null)
  • subnet_id (defaults to null)
  • tags (defaults to null)
  • vip (defaults to null)
  • voucher_ids (defaults to null)
  • vpc_id (defaults to null)
  • init_params (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • app_id
  • cpu
  • create_time
  • db_engine
  • dcn_dst_num
  • dcn_flag
  • dcn_status
  • excluster_id
  • instance_id
  • instance_type
  • is_audit_supported
  • is_encrypt_supported
  • is_tmp
  • locker
  • machine
  • paymode
  • period_end_time
  • pid
  • qps
  • region
  • status
  • status_desc
  • tdsql_version
  • uin
  • update_time
  • vipv6
  • vport
  • wan_domain
  • wan_port
  • wan_port_ipv6
  • wan_status
  • wan_status_ipv6
  • wan_vip
  • wan_vipv6
Example
tencentcloud_mariadb_instance {
  name = "mariadb_instance";
  memory = …;  # required
  node_count = …;  # required
  storage = …;  # required
  zones = …;  # required
}

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