
This external documentation for pyVmomi was generated using Googly Docs (aka Google Standard Documentation) which renders very cleanly in GitHub. Internal documentation for a class should be done in Sphinx format because tools like pyCharm and Eclipse can use that documentation as a hint for code completion. Note: External docs as Googly Docs, internal docs as Sphinx. Closes bug#15
5.5 KiB
vim.vm.ConfigTarget
The ConfigTarget class contains information about "physical" devices that can be used to back virtual devices.
- extends
- Attributes:
-
numCpus (int):
Number of logical CPUs that can be used to run virtual machines.
numCpuCores (int):
Number of physical CPU cores that are available to run virtual machines.
numNumaNodes (int):
Number of NUMA nodes.
smcPresent (bool):
Presence of System Management Controller, indicates the host is Apple hardware, and thus capable of running Mac OS guest as VM.
datastore (vim.vm.DatastoreInfo, optional):
List of datastores available for virtual disks and associated storage.
network (vim.vm.NetworkInfo, optional):
List of networks available for virtual network adapters.
opaqueNetwork (vim.vm.OpaqueNetworkInfo, optional):
List of opaque networks available for virtual network adapters.
distributedVirtualPortgroup (vim.dvs.DistributedVirtualPortgroupInfo, optional):
List of networks available from DistributedVirtualSwitch for virtual network adapters.
distributedVirtualSwitch (vim.dvs.DistributedVirtualSwitchInfo, optional):
List of distributed virtual switch available for virtual network adapters.
cdRom (vim.vm.CdromInfo, optional):
List of CD-ROM devices available for use by virtual CD-ROMs. Used for VirtualCdromAtapiBackingInfo .
serial (vim.vm.SerialInfo, optional):
List of serial devices available to support virtualization. Used for VirtualSerialPortDeviceBackingInfo .
parallel (vim.vm.ParallelInfo, optional):
List of parallel devices available to support virtualization. Used for VirtualParallelPortDeviceBackingInfo .
sound (vim.vm.SoundInfo, optional):
List of sound devices available to support virtualization. Used for VirtualSoundCardDeviceBackingInfo .
usb (vim.vm.UsbInfo, optional):
List of USB devices on the host that are available to support virtualization. Used for VirtualUSBUSBBackingInfo .
floppy (vim.vm.FloppyInfo, optional):
List of floppy devices available for use by virtual floppies. Used for VirtualFloppyDeviceBackingInfo .
legacyNetworkInfo (vim.vm.LegacyNetworkSwitchInfo, optional):
Legacy switch names when using the LegacyNetworkBacking types.
scsiPassthrough (vim.vm.ScsiPassthroughInfo, optional):
List of generic SCSI devices.
scsiDisk (vim.vm.ScsiDiskDeviceInfo, optional):
List of physical SCSI disks that can be used as targets for raw disk mapping backings.
ideDisk (vim.vm.IdeDiskDeviceInfo, optional):
List of physical IDE disks that can be used as targets for raw disk backings.
maxMemMBOptimalPerf (int):
Maximum recommended memory size, in MB, for creating a new virtual machine.
resourcePool (vim.ResourcePool.RuntimeInfo, optional):
Information about the current available resources on the current resource pool for a virtual machine. This field is only populated from an Environment browser obtained from a virtual machine.
autoVmotion (bool, optional):
Information whether a virtual machine with this ConfigTarget can auto vmotion. This field is only populated from an Environment browser obtained from a virtual machine.
pciPassthrough (vim.vm.PciPassthroughInfo, optional):
List of generic PCI devices.
sriov (vim.vm.SriovInfo, optional):
List of SRIOV devices.
vFlashModule (vim.vm.VFlashModuleInfo, optional):
List of vFlash modules.