Renaming Commands
Redis instances support command renaming. Currently, you can only rename the COMMAND, KEYS, FLUSHDB, FLUSHALL, HGETALL, SCAN, HSCAN, SSCAN, and ZSCAN commands. For Proxy Cluster instances, you can also rename the DBSIZE and DBSTATS commands.
Redis 3.0 is no longer available and does not support command renaming.
Procedure
- Log in to the management console, and choose Application > Distributed Cache Service in the service list.
- Click in the upper left corner of the management console and select the region where your instance is located.
- In the navigation pane, choose Cache Manager.
- In the Operation column of an instance, choose More > Command Renaming.
- Select a command, enter a new name, and click OK.
In the Command Renaming dialog box, click Add Command to rename multiple commands at the same time. After renaming commands, you can view the renaming operation record on the Background Tasks page.
Figure 1 Renaming commands
- An instance will restart when its commands are renamed.
- Remember the new command names because they will not be displayed on the console for security purposes.
- A command can be renamed multiple times. Each new name overwrites the previous name.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.