更新时间:2021-12-17 GMT+08:00
分享

查询备份任务详情

功能介绍

查询备份任务详情。

URI

  • URI格式
    GET /softcomai/datalake/dataplan/v1.0/backup/backtask/detail/{backupId}
  • 参数说明

    参数名

    是否必选

    参数类型

    备注

    backupId

    String

    备份任务ID。

请求

  • 请求样例
    GET https://ipaddr:port/softcomai/datalake/dataplan/v1.0/backup/backtask/detail/20201230190000004
  • 参数说明

    无。

响应

  • 响应样例
       
    {
        "success": true,
        "returnData": {
            "totalCount": 9,
            "successCount": 8,
            "runningCount": 0,
            "failCount": 1,
            "serviceDetail": [
                {
                    "service": "datacatalogexternaladmin",
                    "serviceStatus": "success",
                    "backupId": "20201230190000004"
                },
                {
                    "service": "OBS",
                    "serviceStatus": "success",
                    "backupId": "20201230190000004"
                },
                {
                    "service": "cloudcollection",
                    "serviceStatus": "success",
                    "backupId": "20201230190000004"
                },
                {
                    "service": "dataplanexternal",
                    "serviceStatus": "success",
                    "backupId": "20201230190000004"
                },
                {
                    "service": "dlunion",
                    "serviceStatus": "success",
                    "backupId": "20201230190000004"
                },
                {
                    "service": "dataplan",
                    "serviceStatus": "success",
                    "backupId": "20201230190000004"
                },
                {
                    "service": "datapermission",
                    "serviceStatus": "success",
                    "backupId": "20201230190000004"
                },
                {
                    "service": "localdatatransfer",
                    "serviceStatus": "success",
                    "backupId": "20201230190000004"
                },
                {
                    "service": "datacatalogadmin",
                    "serviceStatus": "failed",
                    "description": "{\"aidomainalpha_wulan3_TrafficPredictdev\":\"not finish until check!\",\"Telcloud-test\":\"not finish until check!\",\"dlunion.universe.wulan3_2\":\"not finish until check!\",\"beta_testDuoTe\":\"not finish until check!\",\"aitrainalpha_wulan3_test\":\"not finish until check!\",\"aitrainalpha_wulan3_test1\":\"not finish until check!\",\"aitrainalpha_wulan3_test4\":\"not finish until check!\",\"Data.Lake.Experience_Center2\":\"not finish until check!\"}",
                    "backupId": "20201230190000004"
                }
            ]
        }
    }
  • 要素说明

    参数名

    参数类型

    备注

    success

    String

    请求是否成功,取值包括true和false。

    returnData

    JSON LIST

    返回值。

    totalCount

    int

    备份服务总个数。

    successCount

    int

    备份成功的服务个数。

    runningCount

    int

    备份失败的服务个数。

    failCount

    int

    运行中的服务个数。

    serviceDetail

    List

    返回数据列表。

    backupId

    String

    备份ID。

    serviceStatus

    String

    任务运行状态。

    service

    String

    执行备份任务的服务。

    description

    String

    服务备份失败时的描述信息。

状态码

具体请参考状态码

分享:

    相关文档

    相关产品

close