vSAN Management API


Enum - CheckTestType(vim.vm.check.TestType)

Since
vSphere API Release 4.0


Enum Description

The types of tests which can requested by any of the methods in either VirtualMachineCompatibilityChecker or VirtualMachineProvisioningChecker.

Only #extensionTests evaluates extension-registered compatibility constraints, even if a constraint conceptually belongs to another test type. For example, a constraint whose VirtualMachineExtensionCompatibilityConstraintType is {@code POOL} is not evaluated as part of #resourcePoolTests; it is only evaluated when #extensionTests is included.

#extensionTests, in turn, is not scoped to a single domain: requesting it evaluates every constraint registered on the virtual machine, regardless of VirtualMachineExtensionCompatibilityConstraintType. So there is no way to request "the complete, resource-pool-only picture" for a virtual machine with both a {@code POOL} constraint and, say, a {@code DEVICE} constraint: requesting only #resourcePoolTests omits the {@code POOL} constraint, while adding #extensionTests to also cover it pulls in the unrelated {@code DEVICE} constraint as well. The same applies to any other test type.

Enum Constants

NameDescription
datastoreTests Tests that check that the destination host or cluster can see the datastores where the virtual machine's virtual disks are going to be located. The destination resource pool is irrelevant.
extensionTests Tests that evaluate extension-registered compatibility constraints (see VirtualMachineExtensionCompatibilityConstraint) on virtual machines managed by an extension.

Since vSphere API Release 9.1.2.0
hostTests Tests that examine both the virtual machine and the destination host or cluster; the destination resource pool is irrelevant. This set excludes tests that fall into the datastoreTests group.
networkTests Tests that check that the destination host or cluster can see the networks that the virtual machine's virtual nic devices are going to be connected.

Since vSphere API Release 5.5
resourcePoolTests Tests that check that the destination resource pool can support the virtual machine if it is powered on. The destination host or cluster is relevant because it will affect the amount of overhead memory required to run the virtual machine.
sourceTests Tests that examine only the configuration of the virtual machine and its current host; the destination resource pool and host or cluster are irrelevant.

Show WSDL type definition