智能边缘云 IEC-查询边缘实例列表:响应示例

时间:2024-01-02 15:48:18

响应示例

状态码: 200

OK

{
  "count" : 1,
  "servers" : [ {
    "status" : "ACTIVE",
    "updated" : "2020-12-29T03:46:26Z",
    "hostId" : "11145fe342232beffd5e161599261a4ca047d6b7d138648959fe432b",
    "addresses" : {
      "4a6d9663-475f-11eb-aa7c-fa16406a65c4" : [ {
        "version" : "4",
        "addr" : "172.16.0.204",
        "OS-EXT-IPS-MAC:mac_addr" : "fa:16:3e:4e:dd:c9",
        "OS-EXT-IPS:port_id" : "1b1377d5-f74d-478c-9970-68d8b7b6d894",
        "OS-EXT-IPS:type" : "fixed"
      }, {
        "version" : "4",
        "addr" : "188.181.56.44",
        "OS-EXT-IPS-MAC:mac_addr" : "fa:16:3e:4e:dd:c9",
        "OS-EXT-IPS:port_id" : "1b1377d5-f74d-478c-9970-68d8b7b6d894",
        "OS-EXT-IPS:type" : "floating"
      } ]
    },
    "id" : "d10f846a-d7a4-4ee7-9552-19f656d898e6",
    "name" : "IEC-ZS01-res-ga2n-0001",
    "created" : "2020-12-29T03:45:56Z",
    "tags" : [ "__type_iec=__type_iec", "area=south", "province=guangdong", "city=zhongshan", "operator=chinaunicom", "edgecloud=528cb435-4988-11eb-8603-fa1640aee23e", "resourceID=5403ddae-4988-11eb-8603-fa1640aee23e" ],
    "description" : "",
    "locked" : false,
    "tenant_id" : "",
    "sys_tags" : [ {
      "key" : "_sys_enterprise_project_id",
      "value" : "0"
    } ],
    "flavor" : {
      "disk" : "0",
      "vcpus" : "2",
      "ram" : "4096",
      "id" : "kc1.large.2",
      "name" : "kc1.large.2"
    },
    "metadata" : {
      "charging_mode" : "0",
      "vpc_id" : "4a6d9663-475f-11eb-aa7c-fa16406a65c4",
      "EcmResStatus" : "",
      "image_name" : "CentOS 7.0 64bit",
      "os_bit" : "64",
      "lock_check_endpoint" : "",
      "lock_source" : "",
      "lock_source_id" : "",
      "lock_scene" : "",
      "eip_type" : ""
    },
    "security_groups" : [ {
      "name" : "stock_sg_changsha568"
    } ],
    "key_name" : "",
    "progress" : 0,
    "OS-EXT-STS:power_state" : 1,
    "OS-EXT-STS:vm_state" : "active",
    "OS-EXT-STS:task_state" : "",
    "OS-DCF:diskConfig" : "MANUAL",
    "OS-EXT-AZ:availability_zone" : "edgecloud-site3",
    "OS-SRV-USG:launched_at" : "2020-12-29T03:46:10.000000",
    "OS-SRV-USG:terminated_at" : "",
    "OS-EXT-SRV-ATTR:root_device_name" : "/dev/vda",
    "OS-EXT-SRV-ATTR:ramdisk_id" : "",
    "OS-EXT-SRV-ATTR:kernel_id" : "",
    "OS-EXT-SRV-ATTR:launch_index" : 0,
    "OS-EXT-SRV-ATTR:reservation_id" : "r-cm8o05kr",
    "OS-EXT-SRV-ATTR:hostname" : "iec-zs01-res-ga2n-0001",
    "OS-EXT-SRV-ATTR:user_data" : "IyEvYmluL2Jhc2gKZWNobyAncm9vdDokNiR1RnFESEIkdXV1THhibEIuNjRtMGVWS3lvbzAuUjdhNExuNmYxdDU1dTJZcHViM2ZZVExyUHRhNG5DNUk3RTVtdGtyUFQwMkNMbmtPS1FrTHM4ZmhycUFqcmZISjEnIHwgY2hwYXNzd2QgLWU7",
    "OS-EXT-SRV-ATTR:host" : "11145fe342232beffd5e161599261a4ca047d6b7d138648959fe432b",
    "OS-EXT-SRV-ATTR:instance_name" : "instance-0000afd6",
    "OS-EXT-SRV-ATTR:hypervisor_hostname" : "11145fe342232beffd5e161599261a4ca047d6b7d138648959fe432b",
    "os-extended-volumes:volumes_attached" : [ {
      "id" : "80230eb5-55ef-4d82-aa0a-e0c5bdc1c627",
      "delete_on_termination" : "true",
      "bootIndex" : "0",
      "device" : "/dev/vda"
    } ],
    "edgecloud_id" : "528cb435-4988-11eb-8603-fa1640aee23e",
    "edgecloud_name" : "iec-nazt",
    "geolocation" : {
      "id" : "6813be76-7322-11ea-9ce0-286ed488d287",
      "city" : "zhongshan",
      "i18n_city" : "中山市",
      "province" : "guangdong",
      "i18n_province" : "广东",
      "area" : "south",
      "i18n_area" : "华南地区",
      "country" : "china",
      "i18n_country" : "中国"
    },
    "domain_id" : "2b76febbe5d34eac85d26435c1f15809"
  } ]
}
support.huaweicloud.com/api-iec/ListInstances.html