微服务引擎 CSE-批量查询微服务实例:响应示例

时间:2023-11-01 16:20:04

响应示例

状态码: 200

查询成功。

{    "services": {        "updated": [            {                "index": 0,                "rev": "0feb784798bca7b2fb4de8351578c4437b516c4b",                "instances": [                    {                        "instanceId": "79cdaf47cacf43a5b2b4185527da2255",                        "serviceId": "8aed80ea052ac04a64dfc79c24f2170224d074f5",                        "endpoints": [                            "rest:127.0.0.1:8080"                        ],                        "hostName": "hostNameTest",                        "status": "UP",                        "properties": {                            "engineID": "30c263e5-2eac-4da1-9c72-5abb9ac94550",                            "engineName": "cse-fkln1-HA"                        },                        "healthCheck": {                            "mode": "push",                            "interval": 30,                            "times": 3                        },                        "timestamp": "1650546183",                        "modTimestamp": "1650546183",                        "version": "1.0.0"                    }                ]            }        ]    }}
support.huaweicloud.com/api-cse/servicecomb_api_0024.html