File: ResourceMap.rst

package info (click to toggle)
python-pyvmomi 6.7.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,984 kB
  • sloc: python: 9,206; xml: 77; makefile: 9
file content (36 lines) | stat: -rw-r--r-- 1,781 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.. _str: https://docs.python.org/2/library/stdtypes.html

.. _vim.Datastore: ../../vim/Datastore.rst

.. _vSphere API 4.1: ../../vim/version.rst#vimversionversion6

.. _CreateImportSpec: ../../vim/OvfManager.rst#createImportSpec

.. _vim.ResourcePool: ../../vim/ResourcePool.rst

.. _vmodl.DynamicData: ../../vmodl/DynamicData.rst

.. _vim.ResourceConfigSpec: ../../vim/ResourceConfigSpec.rst


vim.OvfManager.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`_
**deprecated**


Attributes:
    source (`str`_):

       Identifies a source VirtualSystem or VirtualSystemCollection in an OVF descriptor. The source cannot be the root VirtualSystem or VirtualSystemCollection of the OVF. This is a path created by concatenating the OVF ids for each entity, e.g., "vm1", "WebTier/vm2", etc.
    parent (`vim.ResourcePool`_, optional):

       The parent resource pool to use for the entity. 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 created entity. If not specified, the resource configuration given in the OVF descriptor is used.
    datastore (`vim.Datastore`_, privilege: Datastore.AllocateSpace, optional):

       A client can optionally specify a datastore location in the resource map to override the default datastore passed into `CreateImportSpec`_ field. This enables importing to different compute resources that do not have shared datastores.