get_inventory_path

Returns the inventory path for the specified managed entity, for example,
Folder
,
Datacenter
,
HostSystem
,
VirtualMachine
,
ComputeResource
, ClusterComputeResource, or
ResourcePool
. The resulting inventory path can later be passed to the SOAP operation
FindByInventory
path to retrieve the
ManagedObjectReference
for a managed entity (from which a view can be created).

Parameters

Parameter
Description
view
Managed entity view.
vim_instance
Managed object.

Returns

Returns a string that identifies the inventory path of the managed entity.