Skip to content

vSphereVmWithProvisionOnInfrastructure

Returns compute resources information for a single vsphere virtual machine to be used as a recovery source. Permission checks are performed against the ProvisionOnInfrastructure operation, not the ViewInventory operation. This is a short-term approach for solving RBAC issues where an org-user with view permission that is lower than hosts cannot have the same datastore auto-selected.

Arguments

Argument Type Description
fid (required) UUID! Rubrik UUID for the object.

Returns

VsphereVm!

Sample

query VSphereVmWithProvisionOnInfrastructure($fid: UUID!) {
  vSphereVmWithProvisionOnInfrastructure(fid: $fid) {
    arrayIntegrationEnabled
    authorizedOperations
    blueprintId
    blueprintName
    cdmId
    cdmLink
    cdmPendingObjectPauseAssignment
    guestCredentialAuthorizationStatus
    guestCredentialId
    guestOsName
    guestOsType
    id
    isActive
    isArrayIntegrationPossible
    isBlueprintChild
    isRelic
    name
    numWorkloadDescendants
    objectType
    onDemandSnapshotCount
    parentResourcePoolId
    parentWorkloadIdOpt
    parentWorkloadTypeOpt
    powerStatus
    protectionDate
    replicatedObjectCount
    slaAssignment
    slaPauseStatus
    snapshotConsistencyMandate
    snapshotConsistencySource
    templateType
    vmwareToolsInstalled
  }
}
{
  "fid": "00000000-0000-0000-0000-000000000000"
}
{
  "data": {
    "vSphereVmWithProvisionOnInfrastructure": {
      "arrayIntegrationEnabled": true,
      "authorizedOperations": [
        "ACCESS_CDM_CLUSTER"
      ],
      "blueprintId": "example-string",
      "blueprintName": "example-string",
      "cdmId": "example-string",
      "cdmLink": "example-string",
      "agentStatus": {
        "agentStatus": "CONNECTED",
        "disconnectReason": "example-string"
      },
      "allOrgs": [
        {
          "allUrls": [
            "example-string"
          ],
          "allowedClusters": [
            "example-string"
          ],
          "authDomainConfig": "ALLOW_AUTH_DOMAIN_CONTROL",
          "crossAccountCapabilities": [
            "CROSS_ACCOUNT_CAPABILITY_UNSPECIFIED"
          ],
          "description": "example-string",
          "fullName": "example-string"
        }
      ]
    }
  }
}