云数据库 RDS-查询实例参数修改历史:响应消息

时间:2024-07-02 17:28:41

响应消息

  • 正常响应要素说明
    表2 要素说明

    参数

    参数类型

    描述

    total_count

    Integer

    历史记录总数。

    histories

    Array of objects

    参数修改历史。

    详情请参见表3

    表3 histories字段数据结构说明

    名称

    参数类型

    说明

    parameter_name

    String

    参数名称。

    old_value

    String

    旧参数值。

    new_value

    String

    新参数值。

    update_result

    String

    更新结果。

    • SUC CES S:成功。
    • FAILED:失败。

    applied

    Boolean

    是否已应用。

    • true:已应用。
    • false:未应用。

    update_time

    String

    参数修改时间。

    apply_time

    String

    参数应用时间。

  • 正常响应样例
    {
       "total_count" : 3, 
       "histories" : [ { 
         "parameter_name" : "fill factor (%)", 
         "old_value" : "0", 
         "new_value" : "2", 
         "update_result" : "SUCCESS", 
         "applied" : true, 
         "update_time" : "2022-10-29T09:39:21+0000", 
         "apply_time" : "2022-10-31T01:46:29+0000" 
       }, { 
         "parameter_name" : "remote login timeout (s)", 
         "old_value" : "10", 
         "new_value" : "20", 
         "update_result" : "SUCCESS", 
         "applied" : true, 
         "update_time" : "2022-10-29T09:38:36+0000", 
         "apply_time" : "2022-10-29T09:38:36+0000" 
       }, { 
         "parameter_name" : "remote query timeout (s)", 
         "old_value" : "600", 
         "new_value" : "601", 
         "update_result" : "SUCCESS", 
         "applied" : true, 
         "update_time" : "2022-10-29T09:40:30+0000", 
         "apply_time" : "2022-10-29T09:40:30+0000" 
       } ] 
     }
  • 异常响应

    请参见异常请求结果

support.huaweicloud.com/api-rds/rds_09_0311.html