Databases
Cache for Redis
Microsoft.Cache
- Resource types
- 10 of 11 supported
- Data plane
- 2 types emulated
- API versions
- 13 newest
2026-09-01 - Ships as
- Plugin 2026.11
- Plan
- Standard and above
Data as of 2026-11-20
Resource types
The Resource Types supported by Locally for the Microsoft.Cache plugin are shown below. You can click into a type to see more information.
No resource types in Microsoft.Cache match .
Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.
API versions
The latest API version that Locally supports for Microsoft.Cache is 2026-09-01. All 13 versions it supports are listed below.
Stable6
2026-09-01
2025-07-01
2025-04-01
2024-11-01
2024-10-01
2024-03-01
Preview7
2026-10-01-preview
2026-06-01-preview
2026-05-01-preview
2026-02-01-preview
2025-08-01-preview
2025-05-01-preview
2024-04-01-preview
Features
- A real Redis server behind each cache (Redis 6) and each Managed Redis database (Redis 8), reached over TLS with any Redis client, including
redis-cliand StackExchange.Redis.locally redis connection-stringprints a connection string for either. - Non-TLS port:
enableNonSslPorton a cache, andclientProtocolPlaintexton a Managed Redis database, open a plaintext listener. - Access keys: both keys work, regenerating one takes effect straight away, and disabling access key authentication refuses key logins.
- Microsoft Entra authentication with access policy assignments. On a cache, the built-in Data Owner, Data Contributor and Data Reader policies and custom policies are enforced as Redis ACL users.
- Restricted commands: commands Azure doesn't let clients run, such as
CONFIG,SAVEandMODULE, are refused. - Redis configuration:
maxmemory-policy,maxclientsandnotify-keyspace-eventsare applied to a running cache, and a Managed Redis database's eviction policy is applied too. - Flush and force reboot
- Managed Redis clustering: OSS Cluster databases run as a single-node Redis Cluster, so cluster-aware clients work.
- Managed Redis modules: RediSearch, RedisJSON, RedisBloom and RedisTimeSeries.
- Migrating to Managed Redis:
migrations/defaultvalidates a cache, copies its data into the database and switches the cache's host name over to it, with rollback and unlink. - Customer-managed keys on a Managed Redis cluster are checked: the key must exist and be enabled in Key Vault, and the cluster's identity must be allowed to use it.
- Chaos Engineering can throttle or fail commands, answer with
LOADING,BUSYorMOVED, refuse connections as too many clients, drop, slow or cut connections, fail over or restart a cache, or simulate an outage. Team
Limitations
Databases
- Every Managed Redis database has all four modules available, whichever ones you pick.
- Geo-replication is tracked, but no data is replicated between the linked databases.
- Import, export and Redis version upgrade on a Managed Redis database return
HTTP 501 Not Implemented.
Linked Servers
- Linked servers are tracked, but no data is replicated between them at this time.
Redis
- A cache only runs Redis 6. Redis 4 is refused, as it's retired in Azure.
- Clustering on a cache (
shardCount) is stored, but the cache runs as one non-clustered Redis server. - Data persistence (RDB and AOF) settings are stored, but not applied at this time.
- Exporting a cache keeps the snapshot with the cache rather than writing it to your storage account, and importing loads the cache's last export rather than reading the files you name at this time.
- Firewall rules and
publicNetworkAccessare stored, but don't restrict connections. The same goes for virtual network settings, private endpoints, zones and patch schedules.