部署 CODEARTS DEPLOY-应用下创建环境:请求示例

时间:2024-11-21 15:38:08

请求示例

https://{endpoint}/v1/applications/43943381f7764c52baae8e697720873f/environments

{
  "project_id" : "55837d272adf4eee90319800e2da6961",
  "name" : "Environment name",
  "deploy_type" : 0,
  "description" : "Environment Description",
  "os" : "linux"
}
support.huaweicloud.com/api-deployman/CreateEnvironment.html