云数据库 RDS-查询实例大版本升级检查历史(PostgreSQL):响应消息

时间:2023-11-30 11:50:23

响应消息

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

    名称

    参数类型

    说明

    total_count

    Integer

    总记录数。

    inspection_reports

    Array of objects

    检查报告信息。

    详情请参见表3

    表3 inspection_report字段数据结构说明

    名称

    参数类型

    说明

    id

    String

    检查报告ID。

    check_time

    String

    检查时间,格式为“yyyy-mm-ddThh:mm:ssZ”。

    其中,T指某个时间的开始;Z指时区偏移量,例如偏移1个小时显示为+0100。

    expiration_time

    String

    到期时间,格式为“yyyy-mm-ddThh:mm:ssZ”。

    其中,T指某个时间的开始;Z指时区偏移量,例如偏移1个小时显示为+0100。

    target_version

    String

    目标版本。

    result

    String

    检查结果。

    • success:表示成功。
    • failed:表示失败。
    • running:表示检查中。

    detail

    String

    检查报告详情。

  • 正常响应样例
    {
             "total_count": 1,
             "inspection_reports": [
                      {
                                "id": "289903e1-3006-19e9-e054-5fb7fe376552",
                                "check_time": "2023-03-06T02:33:49+0800",
                                "expiration_time": "2023-03-07T02:33:49+0800",
                                "target_version": "14.4",        
                                "result": "success",
                                "detail": "2023-03-06 18:33:26 --- pg_upgrade check task                              begin\n2023-03-06 18:34:40 --- pg_upgrade check on master:                       [user_check_report]User check success"
                      }
             ]
    }
support.huaweicloud.com/api-rds/rds_19_0004.html