CmdID

CmdID / Commands

az-redis

Manage Redis caches. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Manage Redis caches. Part of azure-cli (also known as az).

Create a new Redis cache instance

az redis create --location location --name name --resource-group resource_group --sku Basic --vm-size c0Identify
--locationLocation. Azure CLI reference
--nameName of the Redis cache. Azure CLI reference
--resource-groupName of resource group. Azure CLI reference
--skuType of Redis cache. Azure CLI reference
--vm-sizeSize of Redis cache to deploy. Azure CLI reference

Update a Redis cache

az redis update --name name --resource-group resource_group --sku Basic --vm-size c0Identify
--nameName of the Redis cache. Azure CLI reference
--resource-groupName of resource group. Azure CLI reference
--skuType of Redis cache. Azure CLI reference
--vm-sizeSize of Redis cache to deploy. Azure CLI reference

Export data stored in a Redis cache

az redis export --container container --file-format file_format --name name --prefix prefix --resource-group resource_groupIdentify
--containerSAS url for container where data needs to be exported to Azure CLI reference
--file-formatFormat of the blob (Currently rdb is the only supported format, with other formats expected in the future) Azure CLI reference
--nameName of the Redis cache. Azure CLI reference
--prefixPrefix to use for exported files Azure CLI reference
--resource-groupName of resource group. Azure CLI reference

Delete a Redis cache

az redis delete --name name --resource-group resource_group --yesIdentify
--nameName of the Redis cache. Azure CLI reference
--resource-groupName of resource group. Azure CLI reference