azurerm_mongo_cluster

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

Constructor
{
  name,
  location,
  resource_group_name,
  administrator_password ? null,
  administrator_username ? null,
  authentication_methods ? null,
  compute_tier ? null,
  cosmos_db_network_bypass_enabled ? null,
  create_mode ? null,
  data_api_mode_enabled ? null,
  high_availability_mode ? null,
  id ? null,
  cfg_name ? null,
  preview_features ? null,
  public_network_access ? null,
  shard_count ? null,
  source_location ? null,
  source_server_id ? null,
  storage_size_in_gb ? null,
  storage_type ? null,
  tags ? null,
  version ? null,
  customer_managed_key ? null,
  identity ? null,
  restore ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • location
  • resource_group_name
Optional arguments
  • administrator_password (defaults to null)
  • administrator_username (defaults to null)
  • authentication_methods (defaults to null)
  • compute_tier (defaults to null)
  • cosmos_db_network_bypass_enabled (defaults to null)
  • create_mode (defaults to null)
  • data_api_mode_enabled (defaults to null)
  • high_availability_mode (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • preview_features (defaults to null)
  • public_network_access (defaults to null)
  • shard_count (defaults to null)
  • source_location (defaults to null)
  • source_server_id (defaults to null)
  • storage_size_in_gb (defaults to null)
  • storage_type (defaults to null)
  • tags (defaults to null)
  • version (defaults to null)
  • customer_managed_key (defaults to null)
  • identity (defaults to null)
  • restore (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • connection_strings
Example
azurerm_mongo_cluster {
  name = "mongo_cluster";
  location = …;  # required
  resource_group_name = …;  # required
}

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