Manage Azure Cache for Redis with Azure CLI

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.