
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
1.6 KiB
1.6 KiB
vim.cluster.DrsVmConfigSpec
- Updates the per-virtual-machine DRS configuration.To update the DRS configuration of a virtual machine, a copy of this object is included in the ClusterConfigSpecEx object passed to the method ReconfigureComputeResource_Task .IfreconfigureExis used to incrementally update the cluster configuration (i.e., the parametermodifyis true), then three operations are provided for updating the DRS configuration for a virtual machine. These operations are listed below (see ArrayUpdateSpec for more information on these operations).
- add: add a configuration for the virtual machine, overwritting the existing configuration if one exists
- edit: incrmentally update the existing configuration; an existing configuration must exist
- remove: remove the existing configuration; an existing configuration must exist
- If, instead, this method is used to overwrite the cluster configuration (i.e., the parameter
- modify
- is false) thereby creating a new configuration, only the add operation is allowed. In this case,
- add
- creates a DRS configuration for a virtual machine in the new cluster configuration.
- extends
- Attributes:
-
info (vim.cluster.DrsVmConfigInfo, optional):