GetRecoverySettings

Gets the recovery settings for the specified virtual machine.

Synopsis

RecoverySettings GetRecoverySettings(VirtualMachinevm )

vm is the Virtual Machine whose Recovery Settings are to be retrieved.

RecoverySettings – the VM recovery settings for presentation in the user interface, including:
  • changeVersion – change version control.
  • status – recovery status.
  • recoveryPriority – the recovery priority for this VM.
  • skipGuestShutdown – configure the shutdown behavior for this workload during real failover to not attempt a guest shutdown, even if VMware Tools are enabled.
  • powerOffTimeoutSeconds – configure the timeout for guest shutdown operations for this VM.
  • finalPowerState – final power state for this VM after recovery.
  • localFaultToleranceState – configure FT override setting for this VM when it will be failed back.
  • remoteFaultToleranceState – configure an FT override setting for this VM after recovery.
  • powerOnTimeoutSeconds – configure the timeout for VMware Tools to respond with a heartbeat.
  • powerOnDelaySeconds – configure the fixed time delay after power‐on operations for this workload.
  • prePowerOnCallouts – before power‐on Callouts (commands or prompts).
  • postPowerOnCallouts – after power‐on Callouts.
  • VmIpCustomization vmIpCustomizationData - IP customization information.

Faults

  • RuntimeFault
  • RecoveryPlanNotFound
  • VmNotFoundInRecoveryPlan

See Faults in Site Recovery Manager for more details.