Data Object - VirtualMachineConfigInfo(vim.vm.ConfigInfo)

Property of
VirtualMachine, VirtualMachineSnapshot
Parameter to
See also
CryptoKeyId, FaultToleranceConfigInfo, HostCpuIdInfo, LatencySensitivity, ManagedByInfo, OptionValue, ReplicationConfigSpec, ResourceAllocationInfo, ScheduledHardwareUpgradeInfo, ToolsConfigInfo, VirtualHardware, VirtualMachineAffinityInfo, VirtualMachineBootOptions, VirtualMachineConfigInfoDatastoreUrlPair, VirtualMachineConfigInfoOverheadInfo, VirtualMachineConsolePreferences, VirtualMachineDefaultPowerOpInfo, VirtualMachineFileInfo, VirtualMachineFlagInfo, VirtualMachineForkConfigInfo, VirtualMachineGuestIntegrityInfo, VirtualMachineNetworkShaperInfo, VmConfigInfo

Data Object Description

The ConfigInfo data object type encapsulates the configuration settings and virtual hardware for a virtual machine. This type holds all the information that is present in the .vmx configuration file for the virtual machine.


Name Type Description

Used as display name for the operating system if guestId is other or other-64.

See guestFullName

Since VI API 2.5

Description for the virtual machine.

Configuration options for the boot behavior of the virtual machine.

Since VI API 2.5

Indicates whether changed block tracking for this VM's disks is active.

Since vSphere API 4.0

The changeVersion is a unique identifier for a given version of the configuration. Each change to the configuration updates this value. This is typically implemented as an ever increasing count or a time-stamp. However, a client should always treat this as an opaque string.

Legacy console viewer preferences when doing power operations.

Affinity settings for CPU.

Resource limits for CPU.

Specifies CPU feature compatibility masks that override the defaults from the GuestOsDescriptor of the virtual machine's guest OS. As of vSphere API 6.5 FeatureMask is the recommended method for masking virtual machines with hardware version 9 and above (newer). They can be viewed via featureMask.

Whether virtual processors can be added while this virtual machine is running.

Since vSphere API 4.0

Whether virtual processors can be removed while this virtual machine is running.

Since vSphere API 4.0

Time the virtual machine's configuration was created.

Since vSphere API 6.7

Enumerates the set of datastores that this virtual machine is stored on, as well as the URL identification for each of these.

Changes to datastores do not generate property updates on this property. However, when this property is retrieved it returns the current datastore information.


Configuration of default power operations.

Additional configuration information for the virtual machine.

Information about the files associated with a virtual machine. This information does not include files for specific virtual disks or snapshots.

Information about firmware type for this Virtual Machine. Possible values are described in GuestOsDescriptorFirmwareType When creating a new VM: - If vim.vm.FlagInfo.vbsEnabled is set to true and this property is set to bios, error is returned. - If this property is unset and vim.vm.FlagInfo.vbsEnabled is set to true, this property is set to efi.

Since vSphere API 5.0

Additional flags for a virtual machine.

Fork configuration of this virtual machines. If unset, this virtual machine is not configured for fork.
See VirtualMachineForkConfigInfo

Since vSphere API 6.0

Fault Tolerance settings for this virtual machine.

Since vSphere API 4.0

Indicates whether the guest operating system will logout any active sessions whenever there are no remote display connections open to the virtual machine.

Since vSphere API 5.0

This is the full name of the guest operating system for the virtual machine. For example: Windows 2000 Professional.

See alternateGuestName


Guest operating system configured on a virtual machine. This is a guest identifier that can be used to access the GuestOsDescriptor list for information about default configuration. For more information on possible values, see VirtualMachineGuestOsIdentifier.

Guest integrity platform configuration

Since vSphere API 6.5

Processor, memory, and virtual devices for a virtual machine.

Memory, in MB that can be added to a running virtual machine must be in increments of this value and needs be a multiple of this value. This value is determined by the virtual machine and is specified only if memoryHotAddEnabled has been set to true.

Since vSphere API 4.0

The maximum amount of memory, in MB, than can be added to a running virtual machine. This value is determined by the virtual machine and is specified only if memoryHotAddEnabled is set to true.

Since vSphere API 4.0

Set of values to be used only to perform admission control when determining if a host has sufficient resources for the virtual machine to power on.

Since vSphere API 5.0

VirtualCenter-specific 128-bit UUID of a virtual machine, represented as a hexademical string. This identifier is used by VirtualCenter to uniquely identify all virtual machine instances, including those that may share the same SMBIOS UUID.

Since vSphere API 4.0

Virtual Machine cryptographic options.

Since vSphere API 6.5

The latency-sensitivity of the virtual machine.

Since vSphere API 5.1

Hash incorporating the virtual machine's config file location and the UUID of the host assigned to run the virtual machine.

Specifies that this VM is managed by a VC Extension. See the managedBy property in the ConfigSpec for more details.

Since vSphere API 5.0

Indicates the maximum number of active remote display connections that the virtual machine will support.

Since vSphere API 5.0
memoryAffinity*VirtualMachineAffinityInfoDeprecated. since vSphere 6.0.

Affinity settings for memory.

Resource limits for memory.

Whether memory can be added while this virtual machine is running.

Since vSphere API 4.0

If set true, memory resource reservation for this virtual machine will always be equal to the virtual machine's memory size; increases in memory size will be rejected when a corresponding reservation increase is not possible.

Since vSphere API 5.0

Whether to allow tunneling of clients from the guest VM into the common message bus on the host network.

Since vSphere API 6.0

An enum describing whether encrypted vMotion is required for this VM. See VirtualMachineConfigSpecEncryptedVMotionModes for allowed values. This defaults to opportunistic for a regular VM, and will be set to required for an encrypted VM.

Since vSphere API 6.5

Last time a virtual machine's configuration was modified.

Display name of the virtual machine.

Any / (slash), \ (backslash), character used in this name element is escaped. Similarly, any % (percent) character used in this name element is escaped, unless it is used to start an escape sequence. A slash is escaped as %2F or %2f. A backslash is escaped as %5C or %5c, and a percent is escaped as %25.


Indicates whether this VM is configured to use nested hardware-assisted virtualization.

Since vSphere API 5.1
networkShaper*VirtualMachineNetworkShaperInfoDeprecated. from vSphere 5.5, shaping policy on VM is not supported.

Resource limits for network.

The NPIV node WWNs to be extended from the original list of WWN nummbers. This property should be set to desired number which is an aggregate of existing plus new numbers. Desired Node WWNs should always be greater than the existing number of node WWNs

Since vSphere API 4.0

The NPIV port WWNs to be extended from the original list of WWN nummbers. This property should be set to desired number which is an aggregate of existing plus new numbers. Desired Node WWNs should always be greater than the existing number of port WWNs

Since vSphere API 4.0

A 64-bit node WWN (World Wide Name). These WWNs are paired with the npivPortWorldWideName to be used by the NPIV VPORTs instantiated for the virtual machine on the physical HBAs of the host. A pair of node and port WWNs serves as a unique identifier in accessing a LUN, so that it can be monitored or controlled by the storage administrator.

If this property contains a single node WWN, the same node WWN is used to pair with all port WWNs listed in npivPortWorldWideName. If this property or npivPortWorldWideName is empty or unset, NPIV WWN is disabled for the virtual machine.

Since VI API 2.5

This property is used to check whether the NPIV can be enabled on the Virtual machine with non-rdm disks in the configuration, so this is potentially not enabling npiv on vmfs disks. Also this property is used to check whether RDM is required to generate WWNs for a virtual machine.

Since vSphere API 4.0

A 64-bit port WWN (World Wide Name). For detail description on WWN, see npivNodeWorldWideName.

Since VI API 2.5

This property is used to enable or disable the NPIV capability on a desired virtual machine on a temporary basis. When this property is set NPIV Vport will not be instantiated by the VMX process of the Virtual Machine. When this property is set port WWNs and node WWNs in the VM configuration are preserved.

Since vSphere API 4.0

The source that provides/generates the assigned WWNs.

See VirtualMachineConfigInfoNpivWwnType

Since VI API 2.5

vSphere Replication settings for this virtual machine. Note this may become deprecated in the future releases. We discourage any unnecessary dependency on this field.

Since vSphere API 6.0

Configuration of scheduled hardware upgrades and result from last attempt to run scheduled hardware upgrade.
See ScheduledHardwareUpgradeInfo

Since vSphere API 5.1

Virtual machine swapfile placement policy. This will be unset if the virtual machine's swapPlacementSupported capability is false. If swapPlacementSupported is true, the default policy is "inherit".

See VirtualMachineConfigInfoSwapPlacementType

Since VI API 2.5

Virtual Machine Swap Object Identifier. With Object-based Storage systems, VM's Swap is backed by an object. This identifier will be set only if VM swap resided on object-based storage systems.

Since vSphere API 6.0

Flag indicating whether or not a virtual machine is a template.

Configuration of VMware Tools running in the guest operating system.

128-bit SMBIOS UUID of a virtual machine represented as a hexadecimal string in "12345678-abcd-1234-cdef-123456789abc" format.

vApp meta-data for the virtual machine

Since vSphere API 4.0

Indicates whether user-configured virtual asserts will be triggered during virtual machine replay.

Since vSphere API 4.0

The version string for this virtual machine.

Specifies the total vFlash resource reservation for the vFlash caches associated with this VM's virtual disks, in bytes. This reservation must be allocated to power on the VM. See vFlashCacheAllocation for allocated reservation when VM is powered on.

Since vSphere API 5.5

Virtual Machine Object Identifier. With Object-based Storage systems, Virtual Machine home directory is backed by an object. This identifier will be set only if VM directory resided on object-based storage systems.

Since vSphere API 6.0

A checksum of vmx config file.

Since vSphere API 6.0

Indicates whether this VM have vurtual CPU performance counters enabled.

Since vSphere API 5.1
Properties inherited from DynamicData
*Need not be set
Show WSDL type definition