Skip to end of metadata
Go to start of metadata

Load Balancer Health State Resource

Main URI of the Resource

This class operates mainly over the Resource URI: /cloud/locations/{location}/loadbalancers/{loadbalancer}/healthstates

List the HealthCheck state of all the VirtualMachines registered in the LoadBalancer

SYNOPSIS : GET /cloud/locations/{location}/loadbalancers/{loadbalancer}/healthstates
Roles required: ROLE_MANAGE_LOADBALANCERS
Request headers: Accept: application/vnd.abiquo.healthstates
Request parameters:

curl --verbose -XGET http://admin:xabiquo@10.60.1.223:80/api/cloud/locations/1/loadbalancers/1/healthstates

Response

 Click here to show/hide example
{
  "collection": [
    {
      "outOfService": true,
      "virtualMachineUuid": "ABQ_71726514-daf6-42d3-ab62-3d2739556b8d",
      "links": [
        {
          "href": "http://10.60.1.223:80/api/cloud/locations/1/loadbalancers/1",
          "type": "application/vnd.abiquo.loadbalancer+json",
          "rel": "loadbalancer",
          "title": "a"
        },
        {
          "href": "http://10.60.1.223:80/api/cloud/virtualdatacenters/2/virtualappliances/1/virtualmachines/1",
          "type": "application/vnd.abiquo.virtualmachine+json",
          "rel": "self",
          "title": "ABQ_71726514-daf6-42d3-ab62-3d2739556b8d"
        }
      ]
    }
  ],
  "links": []
}

 
 

  • No labels