You need to enable JavaScript to run this app.
导航

获取应用的已配置节点列表

最近更新时间2023.10.11 10:11:23

首次发布时间2023.08.17 20:13:48

本接口用于获取应用已配置的部署节点。

请求参数

名称

类型

是否必选

示例值

描述

Action

String

ListAppPlacements

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

application_identity

String

veecc-1219342090021549****

边缘应用 ID。

返回数据

名称

类型

示例值

描述

placements

[ ]ApplicationPlacementResp

参见返回示例

已配置的部署节点列表。

请求示例

GET https://veecc.volcengineapi.com/?Action=ListAppPlacements
&application_identity=veecc-1219342090021549****
&<公共请求参数>

返回示例

{
  "ResponseMetadata": {
    "RequestId": "202210251410420101742442080566****",
    "Action": "ListAppPlacements",
    "Version": "2022-10-01",
    "Service": "veecc",
    "Region": "cn-north-1"
  },
  "Result": {
    "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",
      }
    ]
  }
}