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

查询网图任务详情

功能介绍

查询网图任务详情。

URI

  • URI格式
    GET /softcomai/datalake/collection/v1.0/netmap/task/{dataType}
  • 参数说明

    无。

请求

  • 请求样例
    GET https://ip:port/softcomai/datalake/collection/v1.0/netmap/task/performance
  • 参数说明

    参数名

    是否必选

    参数类型

    备注

    dataType

    String

    数据类型。

响应

  • 响应样例
    {
    "success": true,
    "returnData": {
    "taskStatus": "init",
    "collectionMode": "AGENT",
    "protocolType": "sftp",
    "progressId": "20210208105918_1733425554",
    "strategy": "interval",
    "interval": {
    "acquisitionUnit": "min",
    "acquisitionCycle": "30"
    },
    "protocolList": [
    {
    "host": "xx.xx.xx.xx",
    "port": "22",
    "userName": "root",
    "path": "/yy"
    }
    ],
    "taskId": "853cc636c0874527a77d91808aeb7c6f",
    "dataType": "performance"
    }
    }
  • 要素说明

    参数名

    参数类型

    备注

    success

    Boolean

    请求是否成功。

    returnData

    object

    返回值。

状态码

具体请参考状态码

分享:

    相关文档

    相关产品