Files
deb-python-pyvmomi/docs/vim/storageDrs/PodSelectionSpec/VmPodConfig.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
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
2014-06-17 14:07:42 -04:00

1.7 KiB

vim.storageDrs.PodSelectionSpec.VmPodConfig

Initial VM configuration for the specified pod. This configuration will be saved to the pod config StorageDrsConfigInfo when the placement recommendations are applied.

extends

vmodl.DynamicData

since

vSphere API 5.0

Attributes:

storagePod (vim.StoragePod):

The pod that this initial configuration applies to. Since there could be multiple pods in a single placement request, we may need to specify multiple initial VM configurations, one per pod.

disk (vim.storageDrs.PodSelectionSpec.DiskLocator, optional):

Array of PodDiskLocator objects.

vmConfig (vim.storageDrs.VmConfigInfo, optional):

The VM configuration for the VM that is being placed.

interVmRule (vim.cluster.RuleInfo, optional):

The initial interVmRules that should during placement of this virtual machine. It may not always be possible to specify that the virtual machine being placed is part of the rule because the virtual machine may not have been created yet. So for simplicity, we assume the virtual machine being placed is always implicitly part of any rule specified. It will be explicitly added to the rule before it is saved to the pod config.