Skip to content

fusionComputeVirtualMachines

Summary of all FusionCompute virtual machines.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String Returns the elements in the list that occur after the specified cursor.
sortBy HierarchySortByField Sort hierarchy objects according to the hierarchy field.
sortOrder SortOrder Sorts the order of results.
filter [Filter!] Hierarchy object filter.

Returns

FusionComputeVirtualMachineConnection!

Sample

query {
  fusionComputeVirtualMachines(first: 10) {
    nodes {
      agentStatus
      authorizedOperations
      cdmId
      cdmLink
      cdmPendingObjectPauseAssignment
      clusterId
      clusterUuid
      disks
      fcVmId
      guestOsName
      hostId
      id
      ipAddresses
      isRelic
      name
      numWorkloadDescendants
      objectType
      onDemandSnapshotCount
      primaryClusterUuid
      replicatedObjectCount
      resourceSpec
      siteId
      slaAssignment
      slaPauseStatus
      snapshotConsistencyMandate
      vmName
      vrmId
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "fusionComputeVirtualMachines": {
      "nodes": [
        [
          {
            "agentStatus": "example-string",
            "authorizedOperations": [
              "ACCESS_CDM_CLUSTER"
            ],
            "cdmId": "example-string",
            "cdmLink": "example-string",
            "cdmPendingObjectPauseAssignment": "NO_PENDING_PAUSE_ASSIGNMENT",
            "clusterId": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}