You need to enable JavaScript to run this app.
导航
编辑部署节点
最近更新时间:2023.10.11 10:11:23首次发布时间:2023.08.17 20:13:49

本接口用于编辑应用的部署节点。

请求参数

名称

类型

是否必选

示例值

描述

Action

String

EditAppPlacements

要执行的操作。取值:EditAppPlacements。

application_identity

String

veecc-2218310225222318****

边缘应用 ID。

placements

[ ]ApplicationPlacement

参考ApplicationPlacement

部署节点信息。

返回参数


请求示例

POST https://veecc.volcengineapi.com/?Action=EditAppPlacements
&<公共请求参数>
{
  "application_identity": "veecc-1219342090021549****",
  "placements": [
    {
      "region": "SouthChina",
      "city": "460100",
      "isp": "CUCC",
      "replicas": 1,
      "cluster_name": "hkun-test",
    },
    {
      "region": "NorthChina",
      "city": "120000",
      "isp": "CMCC_CTCC_CUCC",
      "replicas": 1,
      "cluster_name": "tjmp02-nastest01",
    }
  ]
}

返回示例

{
  "ResponseMetadata": {
    "RequestId": "2023072420464707C7974030D48046****",
    "Action": "EditAppPlacements",
    "Version": "2022-10-01",
    "Service": "veecc",
    "Region": "cn-north-1"
  }
}