Edit

Share via


Manage Azure Cache for Redis with Azure CLI

Important

Azure Cache for Redis announced its retirement timeline for all SKUs. We recommend moving your existing Azure Cache for Redis instances to Azure Managed Redis as soon as you can.

For more details about the retirement:

The following table includes links to bash scripts built using the Azure CLI.

Create cache Description
Create and manage a cache Creates a resource group and a basic tier Azure Cache for Redis. It then gets details of an Azure Cache for Redis instance, including provisioning status, the hostname, ports, and keys for an Azure Cache for Redis instance. Finally, it deletes the cache.
Create and manage a premium cache with clustering Creates a resource group and a premium tier cache with clustering enabled. It then gets details of an Azure Cache for Redis instance, including provisioning status, the hostname, ports, and keys for an Azure Cache for Redis instance. Finally, it deletes the cache.

For more information about the Azure CLI, see Install the Azure CLI and Get started with Azure CLI.