This section covers the Site Recovery Manager API methods for protection groups and virtual machine replication.

In SRM 5.8, new APIs appeared to create protection groups, assign them to recovery plans, and protect virtual machines using array‐based or host‐based replication. The new APIs provide three types of functionality for vSphere disaster recovery operations:
  1. Infrastructure
    • workflows to create protection groups
    • workflows to create inventory mappings between matching objects
    • workflows to add protection groups to recovery plans
  2. Virtual machine (VM) protection
    • workflows to protect VMs using a pre‐configured array‐based protection group
    • workflows to protect VMs using a pre‐configured host‐replicated protection group
  3. Virtual machine (VM) recovery settings
    • recovery priority
    • per‐VM callouts
    • final power state