ListInventoryMappings
This method returns the configured inventory mappings. You establish placeholder datastores as described in the VMware Site Recovery Manager Documentation. You establish inventory mappings using the AddFolderMapping, AddNetworkMapping, and AddResourcePoolMapping methods documented in this manual, or using procedures described in the VMware Site Recovery Manager Documentation.
Synopsis
Protection.InventoryMappingInfo listInventoryMappings( )
inventoryMappingInfo is a list of inventory mappings from the protected site to the recovery site:
- folders is a list of mapped VirtualMachine Folders
- networks is a list of mapped virtual machine Networks and dvPortgroups
- pools is a list of mapped Resource Pools
- testNetworks is a list of mapped networks to test networks.
Faults
- RuntimeFault
Method to list inventory mappings
inventoryMappingInfo = _service.ListInventoryMappings(_svcRef);