Files
deb-python-pyvmomi/docs/vim/ResourceConfigSpec.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.6 KiB

vim.ResourceConfigSpec

This data object type is a specification for a set of resources allocated to a virtual machine or a resource pool.

extends

vmodl.DynamicData

Attributes:

entity (vim.ManagedEntity, optional):

Reference to the entity with this resource specification: either a VirtualMachine or a ResourcePool.

changeVersion (str, optional):

The changeVersion is a unique identifier for a given version of the configuration. Each change to the configuration will update 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.If specified when updating the resource config., the changes will only be applied if the current changeVersion matches the specified changeVersion. This field can be used to guard against updates that has happened between the configInfo was read and until it is applied.

lastModified (datetime, optional):

Timestamp when the resources were last modified. This is ignored when the object is used to update a configuration.

cpuAllocation (vim.ResourceAllocationInfo):

Resource allocation for CPU.

memoryAllocation (vim.ResourceAllocationInfo):

Resource allocation for memory.