LinuxCommandLibrary

az-redis

Manage Redis caches.

TLDR

Create a new Redis cache instance

$ az redis create --location [location] --name [name] --resource-group [resource_group] --sku [Basic|Premium|Standard] --vm-size [c0|c1|c2|c3|c4|c5|c6|p1|p2|p3|p4|p5]
copy


Update a Redis cache
$ az redis update --name [name] --resource-group [resource_group] --sku [Basic|Premium|Standard] --vm-size [c0|c1|c2|c3|c4|c5|c6|p1|p2|p3|p4|p5]
copy


Export data stored in a Redis cache
$ az redis export --container [container] --file-format [file-format] --name [name] --prefix [prefix] --resource-group [resource_group]
copy


Delete a Redis cache
$ az redis delete --name [name] --resource-group [resource_group] --yes
copy

Copied to clipboard