Forrest logo
back to the az tool

az-redis:tldr:150a3

az-redis: Update a Redis cache.
$ az redis update --name ${name} --resource-group ${resource_group} --sku ${select} --vm-size ${select1}
try on your machine

This command updates the configuration of an Azure Redis Cache instance. Let's break down the command:

  • az redis update is the Azure CLI command to update a Redis Cache instance.
  • --name ${name} specifies the name of the Redis Cache instance to update. ${name} is a placeholder for the actual value that you need to provide. If you use a variable named name, it will substitute the value of that variable.
  • --resource-group ${resource_group} specifies the resource group to which the Redis Cache instance belongs. Similarly, ${resource_group} is a placeholder for the actual resource group name.
  • --sku ${select} sets the SKU (Service Level) for the Redis Cache. ${select} is another placeholder, and you need to provide the desired SKU value.
  • --vm-size ${select1} specifies the size of the virtual machine associated with the Redis Cache instance. Again, ${select1} is a placeholder that should be replaced with the desired VM size.

To utilize this command, you need to replace the placeholders ${name}, ${resource_group}, ${select}, and ${select1} with the actual values that match your Redis Cache setup.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the az tool