REST Resource: hosts

Resource: HostsGetResponse

JSON representation
{
  "resource": {
    "kind": string,
    "id": string,
    "creationTimestamp": string,
    "name": string,
    "zone": string,
    "selfLink": string,
    "selfLinkWithId": string,
    "aliasLinks": [
      string
    ],
    "description": string,
    "state": enum,
    "status": {
      "physicalTopology": {
        "cluster": string,
        "block": string,
        "subBlock": string,
        "host": string
      },
      "runningInstances": [
        string
      ]
    }
  },
  "etag": string
}
Fields
resource

object

resource.kind

string

Output only. The type of resource. Always compute#host for hosts.

resource.id

string (uint64 format)

Output only. The unique identifier for this resource. This identifier is defined by the server.

resource.creationTimestamp

string

Output only. The creation timestamp, formatted as RFC3339 text.

resource.name

string

Output only. The name of the host.

resource.zone

string

Output only. The zone in which the host resides.

resource.selfLink

string

Output only. The self link of the host.

resource.selfLinkWithId

string

Output only. The self link with id of the host.

resource.aliasLinks[]

string

Output only. All aliases for this resource. e.g. projects/123/zones/us-centra1-a/reservation/r1/reservationBlock/b1/hosts/h1

resource.description

string

An optional description of this resource.

resource.state

enum

Output only. The state of the host.

resource.status

object

Output only. The status of the host

resource.status.physicalTopology

object

Output only. The physical topology of the reservation sub-block, if present

resource.status.physicalTopology.cluster

string

The cluster name of the reservation sub-block.

resource.status.physicalTopology.block

string

The unique identifier of the capacity block within the cluster.

resource.status.physicalTopology.subBlock

string

The unique identifier of the capacity sub-block within the capacity block.

resource.status.physicalTopology.host

string

The unique identifier of the capacity host within the capacity sub-block.

resource.status.runningInstances[]

string

Output only. The URIs of the instances currently running on this host.

etag

string

end_interface: MixerGetResponseWithEtagBuilder

Methods

get

Retrieves information about the specified host.

getVersion

Allows customers to get SBOM versions of a host.

list

Retrieves a list of hosts.