Adds a folder mapping between a folder on the primary vCenter Server and another folder on the secondary vCenter Server.

Synopsis

void addFolderMapping(vim.Folder primaryFolder, vim.Folder secondaryFolder)

primaryFolder is a read‐only MoRef to the folder on the protection site (must be local).

secondaryFolder is a read‐only MoRef to the folder on the recovery site (must be remote).

Faults

  • ConnectionDownFault
  • InvalidPrimaryFolder
  • InvalidSecondaryFolder
  • NotAuthenticated
  • RuntimeFault
  • UnknownPrimaryFolder
  • UnknownSecondaryFolder

See Faults in Site Recovery Manager API for more details.