查詢實例的SQL洞察日志保存時長
更新時間 2022-11-28 21:14:33
最近更新時間: 2022-11-28 21:14:33
分享文章
接口描述
查詢RDS實例的SQL洞察日志保存時長。
接口約束
實例需要已開啟SQL洞察
URI
GET /v1/collector/sql-collector-retention
請求參數
請求體Query參數
| 參數 | 是否必填 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|---|
| prodInstId | 是 | Long | 實例id | 10 |
響應參數
| 參數 | 參數類型 | 說明 | 示例 | 下級對象 |
|---|---|---|---|---|
| statusCode | Integer | 狀態碼 | 800 | |
| message | String | 消息提示 | SUCCESS | |
| returnObj | Integer | 返回對象 | 30 |
請求示例
/v1/collector/sql-collector-retention?prodInstId=10
請求體body
響應示例
{
?"message": "SUCCESS",
?"returnObj": 30,
?"statusCode": 800
}
錯誤碼
訪問ErrorCodes說明文檔查看更多錯誤碼。