Index
Retrieving Nutanix VMs
query {
nutanixVms(filter: [
{field: NAME_EXACT_MATCH texts: "example"}
{field: IS_RELIC texts: "false"}
{field: IS_REPLICATED texts: "false"}
]) {
nodes {
name
id
cdmId
vmUuid
osType
vmDisks {
label
uuid
vmDiskUuid
sizeInBytes
isSnapshottable
storageContainerName
storageContainerId
}
preBackupScript {
scriptPath
}
postSnapScript {
scriptPath
}
postBackupScript {
scriptPath
}
snapshotConsistencyMandate
agentStatus {
connectionStatus
disconnectReason
}
isAgentRegistered
hypervisorType
effectiveSlaDomain {
name
id
}
cluster {
name
id
}
}
}
}
Retrieving Nutanix Clusters
query {
nutanixClusters(filter: [
#{field: NAME_EXACT_MATCH texts: "example"}
{field: IS_RELIC texts: "false"}
{field: IS_REPLICATED texts: "false"}
]) {
nodes {
name
id
cdmId
hostName
naturalId
nosVersion
connectionStatus {
message
status
}
clusterNetworks {
name
uuid
}
storageContainers {
name
uuid
freeBytes
usedBytes
totalBytes
}
effectiveSlaDomain {
name
id
}
cluster {
name
id
}
}
}
}
Retreiving Nutanix Prism Central Servers
query {
nutanixPrismCentrals(filter: [
#{field: NAME_EXACT_MATCH texts: "example"}
{field: IS_RELIC texts: "false"}
{field: IS_REPLICATED texts: "false"}
]) {
nodes {
name
id
cdmId
hostName
naturalId
nosVersion
nutanixClusters {
nodes {
name
id
}
}
isDrEnabled
connectionStatus {
message
status
}
effectiveSlaDomain {
name
id
}
cluster {
name
id
}
}
}
}