应用性能管理 APM-获取应用树:响应示例

时间:2024-04-30 09:29:56

响应示例

状态码: 200

OK,请求响应成功。

{
  "topology_tree" : {
    "tree" : [ {
      "id" : "162-55-11",
      "parent" : "162-55",
      "real_id" : 11,
      "name" : "apm-pu-task",
      "display_name" : "apm-pu-task",
      "app_name" : null,
      "app_id" : null,
      "is_admin" : false,
      "is_root" : false,
      "business_id" : 162,
      "node_type" : "APPLICATION",
      "is_default" : false,
      "region" : null
    }, {
      "id" : "162-55",
      "parent" : "162",
      "real_id" : 55,
      "name" : "App",
      "display_name" : "App",
      "app_name" : null,
      "app_id" : null,
      "is_admin" : false,
      "is_root" : false,
      "business_id" : 162,
      "node_type" : "SUB_BUSINESS",
      "is_default" : false,
      "region" : null
    }, {
      "id" : "162",
      "parent" : null,
      "real_id" : 162,
      "name" : "LubanApm",
      "display_name" : "LubanApm",
      "app_name" : null,
      "app_id" : null,
      "is_admin" : false,
      "is_root" : true,
      "business_id" : 162,
      "node_type" : "BUSINESS",
      "is_default" : false,
      "region" : null
    }, {
      "id" : "162-55-11-11",
      "parent" : "162-55-11",
      "real_id" : 11,
      "name" : "xxx-roma-2",
      "display_name" : "xxx-roma-2",
      "app_name" : "apm-pu-task",
      "app_id" : 11,
      "is_admin" : false,
      "is_root" : false,
      "business_id" : 162,
      "node_type" : "ENVIRONMENT",
      "is_default" : false,
      "region" : "xxx-roma-2"
    } ]
  }
}
support.huaweicloud.com/api-apm/ShowTopologyTree.html