Host Resources

###API Summary

###Properties

###States

The current state of a host resource can be determined by looking at the Hosts/host_state property.

GET api/v1/clusters/c1/hosts/h1?fields=Hosts/host_state

200 OK
{
  "href" : "your.ambari.server/api/v1/clusters/c1/hosts/h1?fields=Hosts/host_state",
  "Hosts" : {
    "cluster_name" : "c1",
    "host_state" : "HEALTHY",
    "host_name" : "h1"
  } 
}

The following table lists the possible values of the host resource Hosts/host_state.