查询修改历史
更新时间:2023-11-27
说明
修改参数历史。
请求结构
                Plain Text
                
            
            1GET /v{version}/instance/{instanceId}/parameter/history HTTP/1.1
2HOST: rds.bj.baidubce.com
3Authorization: authorization string请求头域
除公共头域外,无其它特殊头域。
请求参数
| 参数名称 | 类型 | 是否必须 | 参数位置 | 示例值 | 描述 | 
|---|---|---|---|---|---|
| version | Integer | 是 | URL参数 | 1 | API 版本号 | 
| instanceId | String | 是 | URL参数 | rds-87Tx7SwY | 实例 ID | 
返回头域
除公共头域,无其它特殊头域。
返回参数
| 参数名称 | 类型 | 描述 | 
|---|---|---|
| name | String | 参数名 | 
| beforeValue | String | 修改前的值 | 
| afterValue | String | 修改后的值 | 
| status | String | 修改状态:success:成功:pendingReboot:待重启 | 
| updateTime | String | 修改时间 | 
请求示例
                Plain Text
                
            
            1GET /v1/instance/rds-87Tx7SwY/parameter/history HTTP/1.1
2HOST: rds.bj.baidubce.com
3Content-Type: application/json
4Authorization: bce-auth-v1/f81d3b34e48048fbb2634dc7882d7e21/2023-07-29T04:17:29Z/3600/host/74c506f68c65e26c633bfa104c863fffac5190fdec1ec24b7c03eb5d67d2e1de返回示例
                Plain Text
                
            
            1HTTP/1.1 200 OK
2x-bce-request-id: 7869616F-7A68-6977-656E-406261696475
3Content-Type: application/json
4{
5    "parameters": [
6        {
7          "name": "wait_timeout",
8          "beforeValue" : "86300",
9          "afterValue" : "86400",
10          "status" : "success",
11          "updateTime" : "2023-07-27T15:56:01Z"
12        },
13        {
14          "name" : "wait_timeout",
15          "beforeValue" : "86400",
16          "afterValue" : "86300",
17          "status" : "success",
18          "updateTime" : "2023-07-27T15:51:40Z"
19        }
20    ]
21}