本接口用于获取负载均衡实例所关联的边缘应用的部署节点。
使用限制:
本接口仅适用于以下场景:后端服务器为边缘容器。
下表列出了接口特定的请求参数以及公共请求参数 Action 和 Version。 其他公共参数,请参见公共参数。
| 参数 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| Action | String | 是 | ListLB7Clusters | 接口名称。当前 API 的名称为 ListLB7Clusters。 |
| Version | String | 是 | 2021-04-30 | 接口版本。当前 API 的版本为 2021-04-30。 |
| 参数 | 类型 | 是否必选 | 示例值 | 描述 |
|---|---|---|---|---|
| lb7_identity | String | 是 | veew-lb7242224220010440**** | 负载均衡实例的 ID。您可以调用 ListLB7Instances 接口查询负载均衡实例的 ID。 |
| 参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| lb_cluster_list | []LbClusterList | 见下文说明 | 边缘应用的部署节点。 |
| 参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| cluster_name | String | **cu01 | 节点名称。 |
| cluster_alias | String | **联通01 | 节点的中文名称。 |
status | String |
| 节点状态:
|
| region | String | CentralChina | 区域。 |
| city | String | 330200 | 城市。 |
| isp | String | CUCC | 运营商。 |
POST https://veenedge.volcengineapi.com/?Action=ListLB7Clusters&Version=2021-04-30 { "lb7_identity": "veew-lb76265442116406600****" }
{ "ResponseMetadata": { "RequestId": "20240617103058FF2B32261B791149****", "Action": "ListLB7Clusters", "Version": "2021-04-30", "Service": "veenedge", "Region": "cn-north-1" }, "Result": { "lb_cluster_list": [ { "cluster_name": "**ct05", "cluster_alias": "**电信05", "status": "Deployed", "region": "EastChina", "city": "330200", "isp": "CTCC" } ] } }
如果响应正文中包含 Error 字段,则表示 API 请求失败。关于错误码的更多信息,参见错误码。