部署 CODEARTS DEPLOY-更新应用:请求示例

时间:2024-09-10 10:03:36

请求示例

更新应用

https://{endpoint}/v1/applications

{
  "id" : "e700f15965694253940502911220d76b",
  "name" : "deployenv20230822192953",
  "project_id" : "55837d272adf4eee90319800e2da6961",
  "description" : "更新应用",
  "trigger" : {
    "trigger_source" : 0,
    "artifact_source_system" : "",
    "artifact_type" : ""
  },
  "slave_cluster_id" : "",
  "create_type" : "template",
  "is_draft" : true,
  "arrange_infos" : [ {
    "id" : "e700f15965694253940502911220d76b",
    "deploy_system" : "deployTemplate",
    "template_id" : "ec939bdf63194aca9fad45b3ba05643e",
    "operation_list" : [ ]
  } ]
}
support.huaweicloud.com/api-deployman/UpdateAppInfo.html