azurerm_redis_cacheNivis Nix constructor for the azurerm_redis_cache 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,
capacity,
family,
location,
resource_group_name,
sku_name,
access_keys_authentication_enabled ? null,
id ? null,
minimum_tls_version ? null,
cfg_name ? null,
non_ssl_port_enabled ? null,
private_static_ip_address ? null,
public_network_access_enabled ? null,
redis_version ? null,
replicas_per_master ? null,
replicas_per_primary ? null,
shard_count ? null,
subnet_id ? null,
tags ? null,
tenant_settings ? null,
zones ? null,
identity ? null,
patch_schedule ? null,
redis_configuration ? null,
timeouts ? null,
overrides ? {}
}Required arguments
capacityfamilylocationresource_group_namesku_name
Optional arguments
access_keys_authentication_enabled(defaults tonull)id(defaults tonull)minimum_tls_version(defaults tonull)cfg_name(defaults tonull)non_ssl_port_enabled(defaults tonull)private_static_ip_address(defaults tonull)public_network_access_enabled(defaults tonull)redis_version(defaults tonull)replicas_per_master(defaults tonull)replicas_per_primary(defaults tonull)shard_count(defaults tonull)subnet_id(defaults tonull)tags(defaults tonull)tenant_settings(defaults tonull)zones(defaults tonull)identity(defaults tonull)patch_schedule(defaults tonull)redis_configuration(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
hostnameportprimary_access_keyprimary_connection_stringsecondary_access_keysecondary_connection_stringssl_port
Example
azurerm_redis_cache {
name = "redis_cache";
capacity = …; # required
family = …; # required
location = …; # required
resource_group_name = …; # required
sku_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.