应用运维管理 AOM-查询绑定在节点上的资源列表:响应示例

时间:2023-11-24 09:53:30

响应示例

状态码: 200

资源关联返回的信息

{
  "data" : [ {
    "id" : "7015d303a8454f49a289dd47ada4b60c",
    "resource_id" : "aom_7015d303a8454f49a289dd47ada4b60c",
    "resource_name" : "luban121000000333",
    "resource_region" : "xxx",
    "env_ids" : [ "63c2195e9da846258b113205184b2b53" ],
    "topology" : [ {
      "app_id" : "07f6836530e24efdab068aacef933d4b",
      "app_name" : "test91",
      "sub_app_id" : "b554711fb4774bf98cfbdfa955a2d640",
      "sub_app_name" : "sub-888",
      "component_id" : "b218263a62554ad6aa976908e4990cf3",
      "component_name" : "组件99",
      "env_id" : "63c2195e9da846258b113205184b2b53",
      "env_name" : "环境22",
      "env_region" : "xxx",
      "os_type" : "LINUX"
    } ],
    "status" : "ACTIVE",
    "cloud_vendors" : "His",
    "agent_state" : "UNINSTALLED",
    "vpc_id" : " 6681507e-779e-4d0d-9421-5df07b95cca6 ",
    "addresses" : [ {
      "host_ip" : "117.1.0.1",
      "ip_type" : "fixed",
      "ip_version" : 4,
      "mac" : null
    }, {
      "host_ip" : "179.1.0.1",
      "ip_type" : "floating",
      "ip_version" : 4,
      "mac" : null
    } ]
  }, {
    "id" : "2c6fd895c88742559f2fd6c57817cf93",
    "resource_id" : "aom_2c6fd895c88742559f2fd6c57817cf93",
    "env_ids" : [ "63c2195e9da846258b113205184b2b53" ],
    "topology" : [ {
      "app_id" : "07f6836530e24efdab068aacef933d4b",
      "app_name" : "test91",
      "sub_app_id" : "b554711fb4774bf98cfbdfa955a2d640",
      "sub_app_name" : "sub-888",
      "component_id" : "b218263a62554ad6aa976908e4990cf3",
      "component_name" : "组件99",
      "env_id" : "63c2195e9da846258b113205184b2b53",
      "env_name" : "环境22",
      "env_region" : "xxx",
      "os_type" : "LINUX"
    } ],
    "cloud_vendors" : "His",
    "agent_state" : "UNINSTALLED",
    "addresses" : [ {
      "host_ip" : "1.3.4.5",
      "ip_type" : "fixed",
      "ip_version" : 4,
      "mac" : null
    } ]
  } ],
  "page_info" : {
    "next_marker" : null,
    "current_count" : 2
  }
}
support.huaweicloud.com/api-aom/ListResourceUnderNode.html