Renames the specified Folder. This method requires VcDr.ProtectionProfile.com.vmware.vcDr.Edit privilege for protection group folders and VcDr.RecoveryProfile.com.vmware.vcDr.Edit for recovery plan folders.

Synopsis

@task void renameFolder(String newName)
renameFolder returns a task instance to monitor the asynchronous operation of this method. renameFolder has the following parameters:
Field Description
newName The new folder name.
If a task fails, its error field may contain the following:
  • drextapi.fault.ConnectionDownFault - if the sites are not connected.

Faults

  • vim.fault.InvalidArgument
  • RuntimeFault
  • StringArgumentTooLong

See Faults in Site Recovery Manager API for more details.