弹性负载均衡 ELB-查询负载均衡详情:响应示例

时间:2023-12-14 10:47:19

响应示例

  • 响应样例1
    {
        "loadbalancer": {
            "description": "",
            "admin_state_up": true,
            "tenant_id": "1867112d054b427e808cc6096d8193a1",
            "project_id": "1867112d054b427e808cc6096d8193a1",
            "provisioning_status": "ACTIVE",
            "vip_subnet_id": "4f5e8efe-fbbe-405e-b48c-a41202ef697c",
            "listeners": [
                {
                    "id": "09e64049-2ab0-4763-a8c5-f4207875dc3e"
                }
            ],
            "vip_address": "192.168.2.4",
            "vip_port_id": "c7157e7a-036a-42ca-8474-100be22e3727",
            "provider": "vlb",
            "pools": [
                {
                    "id": "b7e53dbd-62ab-4505-a280-5c066078a5c9"
                }
            ],
            "id": "3d77894d-2ffe-4411-ac0a-0d57689779b8",
            "operating_status": "ONLINE",
            "tags": [],
            "name": "lb-2",
            "created_at": "2018-07-25T01:54:13", 
            "updated_at": "2018-07-25T01:54:14"
        }
    }
  • 响应样例2
    {
        "publicips": [
            {
                "id": "6285e7be-fd9f-497c-bc2d-dd0bdea6efe0",
                "status": "DOWN",
                "profile": {
                  "user_id": "35f2b308f5d64441a6fa7999fbcd4321",
                  "product_id": "00301-48027-0--0",
                  "region_id": "xxx",
                  "order_id": "xxxxxxxxx"
                },
                "type": "5_bgp",
                "public_ip_address": "161.xx.xx.9",
                "private_ip_address": "192.168.2.4",
                "tenant_id": "8b7e35ad379141fc9df3e178bd64f55c",
                "create_time": "2015-07-16 04:22:32",
                "bandwidth_id": "3fa5b383-5a73-4dcb-a314-c6128546d855",
                "bandwidth_share_type": "PER",
                "bandwidth_size": 5,
                "bandwidth_name": "bandwidth-test",
                "enterprise_project_id":"b261ac1f-2489-4bc7-b31b-c33c3346a439",
                "ip_version": 4,
                "port_id": "c7157e7a-036a-42ca-8474-100be22e3727"
            }
        ]
    }

    其中public_ip_address就是弹性负载均衡绑定的弹性公网IP地址。

support.huaweicloud.com/api-elb/zh-cn_topic_0141008271.html