You need to enable JavaScript to run this app.
导航
获取应用的已部署节点列表
最近更新时间:2024.06.25 16:32:14首次发布时间:2023.02.22 17:09:42

本接口用于获取边缘应用的已部署节点列表。

请求说明

  • 请求方式:GET
  • 请求地址:https://veecc.volcengineapi.com/?Action=ListAppClusters&Version=2022-10-01

请求参数

参数

类型

是否必选

示例值

描述

Action

String

ListAppClusters

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

application_identity

String

veecc-4000252292242221****

边缘应用 ID。

返回参数

参数

类型

示例值

描述

app_clusters

[ ] AppClusterResp

请参见返回示例

部署节点列表。

请求示例

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

返回示例

{
  "ResponseMetadata": {
    "RequestId": "202210251410420101742442080566****",
    "Action": "ListAppClusters",
    "Version": "2022-10-01",
    "Service": "veecc",
    "Region": "cn-north-1"
  },
  "Result": {
    "app_clusters": [
      {
        "cluster_name": "cz****-test01",
        "status": "Normal",
        "component_info_list": [
          {
            "kind": "LB7",
            "status": "NotConfigured"
          },
          {
            "kind": "LB4",
            "status": "NotConfigured"
          },
          {
            "kind": "Workload",
            "status": "Normal"
          }
        ],
        "region": "EastChina",
        "city": "320400",
        "isp": "CMCC",
        "workload_info": "1/1",
        "create_time": 1671093669,
        "alias": "常州移动测试01",
        "version": "1.0.4",
        "target_version": "1.0.4"
      },
      {
        "cluster_name": "zj**-test01",
        "status": "Normal",
        "component_info_list": [
          {
            "kind": "LB7",
            "status": "NotConfigured"
          },
          {
            "kind": "LB4",
            "status": "NotConfigured"
          },
          {
            "kind": "Workload",
            "status": "Normal"
          }
        ],
        "region": "EastChina",
        "city": "330400",
        "isp": "CTCC",
        "workload_info": "1/1",
        "create_time": 1671093669,
        "alias": "嘉兴电信测试01",
        "version": "1.0.4",
        "target_version": "1.0.4"
      }
    ]
  }
}

错误码

如果响应正文中包含 Error 字段,则表示 API 请求失败。关于错误码的更多信息,参见公共错误码