Files
deb-python-pyvmomi/docs/vim/vApp/CloneSpec/ResourceMap.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.5 KiB

vim.vApp.CloneSpec.ResourceMap

Maps source child entities to destination resource pools and resource settings. If a mapping is not specified, a child is copied as a direct child of the parent.

extends

vmodl.DynamicData

since

vSphere API 4.1

Attributes:

source (vim.ManagedEntity):

Source entity

parent (vim.ResourcePool, privilege: Resource.AssignVAppToPool, optional):

Resource pool to use for the cloned entity of source. This must specify a resource pool that is not part of the vApp. If this is specified, a linked child (as opposed to a direct child) is created for the vApp.

resourceSpec (vim.ResourceConfigSpec, optional):

An optional resource configuration for the cloned entity of the source. If not specified, the same resource configuration as the source is used.

location (vim.Datastore, privilege: Datastore.AllocateSpace, optional):

A client can optionally specify a datastore in the resource map to override the default datastore location set in location field. This enables cloning to different compute resources that do not have shared datastores.