Skip to content

hypervServers

Get summary of all the Hyper-V hosts Supported in v5.0+ Get summary of all the Hyper-V hosts.

Arguments

Argument Type Description
input (required) QueryHypervHostInput! Input for InternalQueryHypervHost.

Returns

HypervHostSummaryListResponse!

Sample

query HypervServers($input: QueryHypervHostInput!) {
  hypervServers(input: $input) {
    hasMore
    nextCursor
    total
  }
}
{
  "input": {
    "clusterUuid": "example-string"
  }
}
{
  "data": {
    "hypervServers": {
      "hasMore": true,
      "nextCursor": "example-string",
      "total": 0,
      "data": [
        {
          "hostname": "example-string",
          "id": "example-string",
          "primaryClusterId": "example-string",
          "serverName": "example-string"
        }
      ]
    }
  }
}