Skip to content

allVsphereVmsByFids

All vSphere virtual machines, based on the FIDs passed.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results.
last Int Returns the last n elements from the list.
before String An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results.
fids (required) [UUID!]! The Rubrik UUIDs for the objects.
sortBy HierarchySortByField Sort hierarchy objects according to the hierarchy field.
sortOrder SortOrder Sorts the order of results.

Returns

VsphereVmConnection!

Sample

query AllVsphereVmsByFids($fids: [UUID!]!) {
  allVsphereVmsByFids(
    fids: $fids
    first: 10
  ) {
    nodes {
      arrayIntegrationEnabled
      authorizedOperations
      blueprintId
      blueprintName
      cdmId
      cdmLink
      cdmPendingObjectPauseAssignment
      guestCredentialAuthorizationStatus
      guestCredentialId
      guestOsName
      guestOsType
      id
      isActive
      isArrayIntegrationPossible
      isBlueprintChild
      isRelic
      isReplica
      legallyHeldSnapshotCount
      name
      numWorkloadDescendants
      objectType
      onDemandSnapshotCount
      parentResourcePoolId
      parentWorkloadIdOpt
      parentWorkloadTypeOpt
      powerStatus
      protectionDate
      replicatedObjectCount
      slaAssignment
      slaPauseStatus
      snapshotConsistencyMandate
      snapshotConsistencySource
      templateType
      vmwareToolsInstalled
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "fids": [
    "00000000-0000-0000-0000-000000000000"
  ]
}
{
  "data": {
    "allVsphereVmsByFids": {
      "nodes": [
        [
          {
            "arrayIntegrationEnabled": true,
            "authorizedOperations": [
              "ACCESS_CDM_CLUSTER"
            ],
            "blueprintId": "example-string",
            "blueprintName": "example-string",
            "cdmId": "example-string",
            "cdmLink": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}