VMware vSphere Virtual Machines
Description
For information on protection capabilities, see the Rubrik Security Cloud documentation
Retrieving vSphere Virtual Machine Information
To list virtual machines known by Rubrik, you can perform the following. There are various filters to search by name, MOID, cluster, organization, and more.
query {
vSphereVmNewConnection(
filter: [
# {field: NAME_EXACT_MATCH texts: "foo"}
{field: IS_RELIC texts: "false"},
{field: IS_REPLICATED texts: "false"}
]
) {
nodes {
name
id
cdmId
effectiveSlaDomain {
name
id
}
guestCredentialAuthorizationStatus
objectType
powerStatus
slaAssignment
snapshotConsistencyMandate
blueprintId
guestCredentialId
guestOsName
isActive
isArrayIntegrationPossible
isBlueprintChild
isRelic
numWorkloadDescendants
slaPauseStatus
agentStatus {
agentStatus
}
allOrgs {
id
name
}
cluster {
id
name
}
}
pageInfo {
endCursor
hasNextPage
}
}
}
Retrieving VMware vSphere Compute Clusters
Retrieving vCenter Servers
query {
vSphereVCenterConnection {
nodes {
objectType
slaAssignment
effectiveSlaDomain {
... on GlobalSlaReply {
clusterUuid
description
id
isArchived
isDefault
isReadOnly
isRetentionLockedSla
name
stateVersion
version
}
}
id
isHotAddEnabledForOnPremVcenter
isStandaloneHost
isVmc
name
numWorkloadDescendants
slaPauseStatus
username
vcenterId
}
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
}