1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 19:02:09 +02:00
tldr/pages/common/az-redis.md
Sebastiaan Speck 3e53d171bd
az-*: update links and page description (#10963)
* az-*: update links and page description

* az-aks: update link and page description

* az-*: fix typos in Spanish translation

* az-*: update links and description in Spanish translation
2023-10-15 13:12:29 +05:30

21 lines
830 B
Markdown

# az redis
> Manage Redis caches.
> Part of `azure-cli` (also known as `az`).
> More information: <https://learn.microsoft.com/cli/azure/redis>.
- 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}}`
- 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}}`
- Export data stored in a Redis cache:
`az redis export --container {{container}} --file-format {{file-format}} --name {{name}} --prefix {{prefix}} --resource-group {{resource_group}}`
- Delete a Redis cache:
`az redis delete --name {{name}} --resource-group {{resource_group}} --yes`