azurerm_mongo_clusterNivis 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
locationresource_group_name
Optional arguments
administrator_password(defaults tonull)administrator_username(defaults tonull)authentication_methods(defaults tonull)compute_tier(defaults tonull)cosmos_db_network_bypass_enabled(defaults tonull)create_mode(defaults tonull)data_api_mode_enabled(defaults tonull)high_availability_mode(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)preview_features(defaults tonull)public_network_access(defaults tonull)shard_count(defaults tonull)source_location(defaults tonull)source_server_id(defaults tonull)storage_size_in_gb(defaults tonull)storage_type(defaults tonull)tags(defaults tonull)version(defaults tonull)customer_managed_key(defaults tonull)identity(defaults tonull)restore(defaults tonull)timeouts(defaults tonull)
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.