mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 08:55:24 +02:00
az-redis: add page (#8651)
This commit is contained in:
parent
fc993a6f2e
commit
06fee5023b
1 changed files with 21 additions and 0 deletions
21
pages/common/az-redis.md
Normal file
21
pages/common/az-redis.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# az redis
|
||||
|
||||
> Manage Redis caches.
|
||||
> Part of `azure-cli`.
|
||||
> More information: <https://docs.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`
|
Loading…
Add table
Reference in a new issue