azurerm_redis_cache

Nivis 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
  • capacity
  • family
  • location
  • resource_group_name
  • sku_name
Optional arguments
  • access_keys_authentication_enabled (defaults to null)
  • id (defaults to null)
  • minimum_tls_version (defaults to null)
  • cfg_name (defaults to null)
  • non_ssl_port_enabled (defaults to null)
  • private_static_ip_address (defaults to null)
  • public_network_access_enabled (defaults to null)
  • redis_version (defaults to null)
  • replicas_per_master (defaults to null)
  • replicas_per_primary (defaults to null)
  • shard_count (defaults to null)
  • subnet_id (defaults to null)
  • tags (defaults to null)
  • tenant_settings (defaults to null)
  • zones (defaults to null)
  • identity (defaults to null)
  • patch_schedule (defaults to null)
  • redis_configuration (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • hostname
  • port
  • primary_access_key
  • primary_connection_string
  • secondary_access_key
  • secondary_connection_string
  • ssl_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.