VMware Site Recovery Manager REST API Gateway Operations Index

VMware Site Recovery Manager REST API Gateway Operations Index

All available VMware Site Recovery Manager REST API Gateway Operations

Authentication
GET
Get Current Session Deprecated

Returns information about the current session, if any.

POST
Login Deprecated

Logs in and returns the session ID. In the subsequent requests, include the 'x-dr-session' header with the value of the returned session ID.

DELETE
Logout Deprecated

Logs out if the session is authenticated.

Inventory Mappings
GET
Get Folder Mappings Deprecated

Get currently configured folder mappings for an SRM in a given pairing.

POST
Create Folder Mapping Deprecated

Add folder mappings for an SRM in a given pairing.

GET
Get Folder Mapping Deprecated

Get details about a configured folder mapping for an SRM in a given pairing.

DELETE
Delete Folder Mapping Deprecated

Delete a configured folder mapping for an SRM in a given pairing.

GET
Get Network Mappings Deprecated

Get currently configured network mappings for an SRM in a given pairing.

POST
Create Network Mapping Deprecated

Add network mappings for an SRM in a given pairing.

GET
Get Network Mapping Deprecated

Get details about a configured network mapping for an SRM in a given pairing.

DELETE
Delete Network Mapping Deprecated

Delete a configured network mapping for an SRM in a given pairing.

GET
Get Network Ip Subnet Mapping Deprecated

Get details about a configured IP subnet mapping for a network mapping.

PUT
Update Network Ip Subnet Mapping Deprecated

Create or update the IP subnet mapping for a network mapping.

DELETE
Remove Network Ip Subnet Mapping Deprecated

Delete the configured IP subnet mapping for a network mapping.

GET
Get Placeholder Datastores Deprecated

Get currently configured placeholder datastores for an SRM in a given pairing.

POST
Create Placeholder Datastores Deprecated

Add placeholder datastores for an SRM in a given pairing.

POST
Query Suitable Datastores Deprecated

A query for suitable datastores to be used as placeholder datastores.

GET
Get Placeholder Datastore Deprecated

Get details about a configured placeholder datastore for an SRM in a given pairing.

DELETE
Delete Placeholder Datastore Deprecated

Delete a configured placeholder datastore for an SRM in a given pairing.

GET
Get Resource Mappings Deprecated

Get currently configured resource mappings for an SRM in a given pairing.

POST
Create Resource Mapping Deprecated

Add resource mappings for an SRM in a given pairing.

GET
Get Resource Mapping Deprecated

Get details about a configured resource mapping for an SRM in a given pairing.

DELETE
Delete Resource Mapping Deprecated

Delete a configured resource mapping for an SRM in a given pairing.

GET
Get Storage Policy Mappings Deprecated

Get currently configured storage policy mappings for an SRM in a given pairing.

POST
Create Storage Policy Mapping Deprecated

Add storage policy mappings for an SRM in a given pairing.

GET
Get Storage Policy Mapping Deprecated

Get details about a configured storage policy mapping for an SRM in a given pairing.

DELETE
Delete Storage Policy Mapping Deprecated

Delete a configured storage policy mapping for an SRM in a given pairing.

GET
Get Test Network Mappings Deprecated

Get currently configured test network mappings for an SRM in a given pairing.

POST
Create Test Network Mappings Deprecated

Add test network mappings for an SRM in a given pairing.

GET
Get Test Network Mapping Deprecated

Get details about a configured test network mappings for an SRM in a given pairing.

DELETE
Delete Test Network Mapping Deprecated

Delete a configured test network mapping for an SRM in a given pairing.

Pairing
GET
Get Pairings Deprecated

Get a list of all existing pairings.

GET
Get Pairing Deprecated

Get information about the pairing.

GET
Get Pairing Issues Deprecated

Get all issues for the pairing.

GET
Get Remote Session Deprecated

Returns information about the current session to the remote Site Recovery Manager server, if any.

POST
Create Remote Session Deprecated

Creates a session to the remote Site Recovery Manager server.

GET
Get Srms Deprecated

Get a list of all Site Recovery Manager servers in the pairing.

GET
Get Srm Deprecated

Get information about a Site Recovery Manager server, which is part of a given pairing.

GET
Get Srm Issues Deprecated

Get a list of all Site Recovery Manager server issues for a given Site Recovery Manager server.

Protection
GET
Get All Groups Deprecated

Get information about all protection groups in a given pairing.

POST
Create Group Deprecated

Create a new protection group in a given pairing.

GET
Get Group Deprecated

Get information about a protection group in a given pairing.

DELETE
Delete Group Deprecated

Delete a protection group in a given pairing.

POST
Configure All Deprecated

Configure protection for all virtual machines that are part of the protection group in a given pairing.

POST
Reconfigure Group Deprecated

Reconfigure settings for this group

POST
Restore All Placeholders Deprecated

Repair placeholder VMs. Called when the placeholder needs to be recreated due to one of these reasons:

  • Placeholder creation failed.
  • Placeholder was deleted.
  • Placeholder inventory was lost or needs to be reentered - one use case for this is when production VM was a template but then gets converted to a VM. This method can be called only on the recovery site. It does not need primary site to be up for successful completion.
  • GET
    Get Datastore Groups Deprecated

    List of replicated datastore groups. Each datastore group represents a minimal set of datastores that must be protected and recovered together. The rules for combining datastores are:

    • datastores are backed by storage devices from the same consistency group;
    • virtual machine spans multiple datastores;
    • two virtual machines on two different datastores share an RDM device.
    For non-Array-Based Replication protection group, this will return an empty response
    POST
    Add Datastore Group Deprecated

    Add a replicated datastore group from an Array-Based Replication protection group. This operation also protects all VMs, including VMs residing on any datastore that is part of the newly added datastore group. For a non-Array-Based Replication protection group, this will return an empty response.

    GET
    Get Datastore Group Deprecated

    A group of replicated datastores. A datastore group represents a minimal set of datastores that must be protected and recovered together. The rules for combining datastores are:

    • Datastores are backed by storage devices from the same consistency group;
    • Virtual machine spans multiple datastores;
    • Two virtual machines on two different datastores share an RDM device.
    For a non-Array-Based Replication protection group, this will return an empty response.
    DELETE
    Remove Datastore Group Deprecated

    Remove a replicated datastore group from an Array-Based Replication protection group. This operation also removes the protection of VMs residing on any datastore that is part of the removed datastore group.

    GET
    Get Group Issues Deprecated

    Get issues about a protection group in a given pairing.

    GET
    Get Group Related Recovery Plans Deprecated

    Get recovery plans in which the protection group is part of.

    GET
    Get Vvol Replication Groups Deprecated

    The source VVOL replication groups for this protection group. Both protection and recovery site report the same replication groups. For non-VVOL protection group, this will return an error response

    GET
    Get Vvol Replication Group Deprecated

    The source vSphere Virtual Volumes replication groups for this protection group. Both protection and recovery site report the same replication groups.

    GET
    Get Group Vms Deprecated

    A list of details for virtual machines that are part of the protection group.

    GET
    Get Group Vm Deprecated

    Details of a protected virtual machine that is part of the protection group.

    POST
    Remove Vm From Protection Group Deprecated

    Remove the virtual machine for a VR protection group

    POST
    Remove Vm Protection Deprecated

    Remove the protection of a given virtual machine for this group. Once the protection of a VM is removed, the VM will not be recovered during recovery. To protect the VM again, run the configure protection operation.

    GET
    Get Vm Protection Settings Deprecated

    Get details about the current protection settings of a virtual machine.

    PUT
    Update Vm Protection Settings Deprecated

    Update the protection settings of a virtual machine. This endpoint must be called after the remove protection operation in order for the VM to be recovered during recovery.

    Recovery
    GET
    Get All Plan History Records Deprecated

    If no start_date and end_date are specified, then the last seven days of data will be returned.

    GET
    Get All Recovery Plans Deprecated

    Recovery plans are used for automating the recovery execution during a migration or a failover.

    POST
    Create Plan Deprecated

    Create a new recovery plan in a given pairing.

    GET
    Get Recovery Plan Deprecated

    Recovery plans are used for automating the recovery execution during a migration or a failover.

    DELETE
    Delete Recovery Plan Deprecated

    Delete a recovery plan from a given pairing.

    POST
    Cancel Recovery Plan Deprecated

    Cancels a running recovery task for this recovery plan.

    POST
    Run Cleanup Test Recovery Deprecated

    Run a cleanup test recovery for this recovery plan.

    POST
    Reconfigure Recovery Plan Deprecated

    Reconfigure settings for this recovery plan.

    POST
    Run Recovery Deprecated

    Run the recovery for this recovery plan.

    POST
    Run Reprotect Deprecated

    Run reprotect for this recovery plan. Complete a recovery, and start protecting the groups so they can be recovered on the peer site. Reprotect involves unregistering the VMs on the peer site, configuring storage, and registering placeholders. The callers must ensure that they have all the required privileges for VM creation, deletion, and reconfiguration.

    POST
    Run Test Recovery Deprecated

    Run a test recovery for this recovery plan, leaving the primary site unaffected.

    GET
    Get Plan History Records Deprecated

    If no start_date and end_date are specified, then the last seven days of data will be returned.

    GET
    Get Plan History Record Deprecated

    Get information about the history report for a recovery run of a recovery plan in a given pairing.

    GET
    Get Recovery Plan Issues Deprecated

    Get issues about a recovery plan in a given pairing.

    GET
    Get Plan Related Protection Groups Deprecated

    Get protection groups that are part of a recovery plan in a given pairing.

    GET
    Get Plan Related Test Networks Deprecated

    Get the test networks configured for a recovery plan in a given pairing.

    GET
    Get Plan Virtual Machines Deprecated

    Get virtual machines that are part of a recovery plan in a given pairing.

    GET
    Get Plan Virtual Machine Deprecated

    Get the protected virtual machine included in a recovery plan in a given pairing.

    GET
    Get Plan Virtual Machine Recovery Settings Deprecated

    Get recovery settings for a protected virtual machine.

    POST
    Update Plan Virtual Machine Recovery Settings Deprecated

    Update recovery settings for a protected virtual machine.

    GET
    Get Plan Virtual Machine Dependent Vms Deprecated

    Get the dependent VMs for a protected virtual machine.

    POST
    Update Plan Virtual Machine Dependent Vms Deprecated

    Update the dependent VMs of a protected virtual machine.

    POST
    Plan Virtual Machine Check Dependent Vms Deprecated

    Checks if a given list of dependent VMs is valid against the current VM.

    GET
    Get Plan Virtual Machine Ip Customization Deprecated

    Get the IP customization for a protected virtual machine.

    POST
    Update Plan Virtual Machine Ip Customization Deprecated

    Update the IP customization for a protected virtual machine.

    GET
    Get Plan Virtual Machine Recovery Priority Deprecated

    Get the protected virtual machine priority during a recovery.

    PUT
    Update Plan Virtual Machine Recovery Priority Deprecated

    Update the recovery priority of a protected virtual machine.

    GET
    Get Plan Virtual Machine Summarized Recovery Settings Deprecated

    Get a summary of the recovery settings for a protected virtual machine.

    Replication
    GET
    Get Replicated Array Pairs Deprecated

    Get information about replicated array pairs that are part of a given pairing.

    GET
    Get Replicated Array Pair Deprecated

    Get information about a replicated array pair that is part of a given pairing.

    POST
    Retrieve Unassigned Datastore Groups Deprecated

    Retrieve the unassigned datastore groups that are part of a replicated array pair. These datastore groups could be included in the Array-Based Replication protection groups.

    GET
    Get All Vvol Fault Domains Deprecated

    Get information about all VMware vSphere Virtual Volumes (vVols) fault domains that are part of a given pairing.

    GET
    Get Vvol Fault Domain Deprecated

    Get details about a VMware vSphere Virtual Volumes (vVols) fault domain that is part of a given pairing.

    GET
    Get All Vvol Fault Domain Replication Groups Deprecated

    Get information about all replication groups that are part of a VMware vSphere Virtual Volumes fault domain.

    GET
    Get Vvol Fault Domain Replication Group Deprecated

    Get information about a replication group that is part of a VMware Virtual Volumes fault domain.

    Server
    GET
    Get Info Deprecated

    Information about the current Site Recovery Manager server.

    Tasks
    GET
    Get Recent Tasks Info Deprecated

    Retrieve all the recent tasks.

    GET
    Get Task Info Deprecated

    Retrieve the task information.

    Vcenters
    GET
    Get Vcenters Deprecated

    Get a list of all vCenter Server instances in the pairing.

    GET
    Get Vcenter Deprecated

    Get information about a vCenter Server that is part of a given pairing.

    GET
    Get Vcenter Compute Inventory Deprecated

    Get information about the vCenter Server's compute inventory.

    GET
    Get Vcenter Compute Item Deprecated

    Get information about the vCenter Server's compute object.

    GET
    Get Vcenter Datastores Deprecated

    Get information about the vCenter Server's datastores.

    GET
    Get Vcenter Datastore Item Deprecated

    Get information about the vCenter Server's datastore object.

    GET
    Get Vcenter Network Inventory Deprecated

    Get information about the vCenter Server's network inventory.

    GET
    Get Vcenter Network Item Deprecated

    Get information about the vCenter Server's network object.

    GET
    Get Vcenter Vm Folder Inventory Deprecated

    Returns a list of children of a given folder by path.

    GET
    Get Vcenter Vm Folder Deprecated

    Get information about the vCenter Server's VM folder object.

    GET
    Get Replicated Vms Deprecated

    Replicated VMs that are not protected by Site Recovery Manager can be used to create a protection group.

    GET
    Get Vc Storage Policies Deprecated

    Retrieve the vCenter Server's storage policies.

    GET
    Get Vc Storage Policy Deprecated

    Get information about the vCenter Server's storage policy object.