云数据库 GEMINIDB-设置Redis禁用命令:请求示例

时间:2025-01-02 15:21:24

请求示例

设置Redis禁用命令。

POST https://{endpoint}/v3/0549b4a43100d4f32f51c01c2fe4acdb/redis/instances/0a9a2be86bdf493981d17626ad2f8668in12/disabled-commands 
 
{ 
  "disabled_type" : "key", 
  "keys" : [ { 
    "db_id" : "0", 
    "key" : "name", 
    "commands" : [ "get" ] 
  }, { 
    "db_id" : "0", 
    "key" : "address", 
    "commands" : [ "get", "set" ] 
  } ] 
}
support.huaweicloud.com/api-nosql/nosql_05_0059.html