AI开发平台MODELARTS-创建训练作业标签:请求示例

时间:2024-11-22 17:40:56

请求示例

创建训练作业标签。设置TMS标签的key/value为“111”和“k3”,TMS标签的key/value为"k3"和“v2”。

POST    https://endpoint/v2/{project_id }/trainJob/{training_job_id}/tags/create

{
  "tags" : [ {
    "key" : "111",
    "value" : "v2"
  }, {
    "key" : "k3",
    "value" : "v2"
  } ]
}
support.huaweicloud.com/api-modelarts/CreateTrainJobTags.html