数据复制服务 DRS-批量结束任务或删除任务:请求示例

时间:2024-10-18 19:41:51

请求示例

  • 结束指定的两个任务
    https://{endpoint}/v3/054ba152d480d55b2f5dc0069e7ddef0/jobs/batch-jobs
    
    {
      "jobs" : [ {
        "delete_type" : "terminate",
        "job_id" : "4c6ac8c0-2f51-426a-97b2-cb2c668jb201"
      }, {
        "delete_type" : "terminate",
        "job_id" : "6211d20d-0006-41da-836e-db3301ajb20b"
      } ]
    }
  • 删除指定任务
    https://{endpoint}/v3/054ba152d480d55b2f5dc0069e7ddef0/jobs/batch-jobs
    
    {
      "jobs" : [ {
        "delete_type" : "delete",
        "job_id" : "140b5236-88ad-43c8-811c-1268453jb101"
      } ]
    }
support.huaweicloud.com/api-drs/drs_03_0113.html