Managed Object Hierarchy

The following table shows the managed object hierarchy of the Site Recovery Manager API with the methods of each managed object in an alphabetical order.

Table 1. Managed Object Hierarchy
Managed Object Remarks Local Methods
ArrayManager Query information about array managers

ReadInfo

QueryReplicatedArrayPairs

AutoprotectManager External API for automatic protection

GetAutoprotectUser

IsActive

SetAutoprotectUser

SetDefaultAutoprotectUser

CreateRecoveryPlanTask Contains the status of the operation

GetCreateRecovryPlanFailure

GetNewRecoveryPlan

IsCreateRecoveryPlanComplete

CreateProtectionGroupTask Handle an ABR or HBR protection group

GetCreateProtectionGroupResult

GetNewProtectionGroup

IsCreateProtectionGroupComplete

DeleteRecoveryPlanTask Contains the status of the operation

GetDeleteRecovryPlanFailure

IsDeleteRecoveryPlanComplete

DisasterRecoveryApi

Old version 1.0 API, deprecated but still provided for backward compatibility

GetApiVersion

GetFinalStatus

ListRecoveryPlans

RecoveryPlanAnswerPrompt

RecoveryPlanCancel

RecoveryPlanPause

RecoveryPlanResume

RecoveryPlanSettings

RecoveryPlanStart

SrmLogin

SrmLoginByToken

SrmLogout

DiscoverDevicesTask Contains the status of the operation

GetDiscoverDevicesTaskFailures

IsDiscoverDevicesTaskComplete

Folder Site Recovery Manager folder class

GetName

GetParentFolder

InventoryMapping Map items from the local to the remote site

AddFolderMapping

AddNetworkMapping

AddResourcePoolMapping

AddTestNetworkMapping

GetFolderMappings

GetNetworkMappings

GetResourcePoolMappings

GetTestNetworkMappings

RemoveFolderMapping

RemoveNetworkMapping

RemoveResourcePoolMapping

RemoveTestNetworkMapping

IpSubnetMapper Component that resides on the Recovery site. It manages the IP Subnet Mapping between Protection and Recovery site networks.

AddIpMapping

GetIpSubnetMappings

IpSubnetMappings

RemoveIpMappings

ProtectionGroupFolder

Site Recovery Manager folder for protection groups

GetProtectionGroup

ListChildProtectionGroupFolders

ListChildProtectionGroups

ProtectionTask Handle VM protection

GetProtectionStatus

GetResult

GetTasks

IsComplete

RecoveryPlanFolder Site Recovery Manager folder for recovery plans

GetRecoveryPlan

ListChildRecoveryPlanFolders

ListChildRecoveryPlans

RemoveProtectionGroupTask Handle protection group removal

GetRemoveProtectionGroupResult

IsRemoveProtectionGroupComplete

ReplicatedArrayPair Query info about RDM devices

QueryReplicatedRdms

SrmExtApiTask Base external API task

IsSrmExtApiTaskComplete

GetSrmExtApiTaskInfo

SrmRecovery Query recovery plans

CreateRecoveryPlan

DeleteRecoveryPlan

GetHistory

GetRecoveryPlanRootFolder

ListPlans

SrmRecoveryPlan Run a recovery plan

AddProtectionGroup

AddTestNetworkMappingToRecoveryPlan

AnswerPrompt

Cancel

GetRecoverySettings

ListPrompts

RecoveryPlanGetInfo

RecoveryPlanGetPeer

RecoveryPlanGetParentFolder

RecoveryPlanGetLocation

RemoveProtectionGroupFromRecoveryPlan

RecoveryPlanHasRunningTask

RemoveTestNetworkMappingFromRecoveryPlan

SetRecoverySettings

Start

SrmStorage Access the storage

DiscoverDevices

QueryArrayManagers

SrmRecoveryHistory Recovery plan status

GetRecoveryResult

GetResultCount

GetResultLength

RetrieveStatus

ServiceInstance

Open or close session, get information about local and remote sites

GetPairedSite

GetSiteName (deprecated in 6.5)

RetrieveContent

SrmLoginLocale

SrmLoginRemoteSite

SrmLoginSites

SrmLogoutLocale

GetLocalSiteInfo

New in 6.0:

GetSolutionUserInfo

GetPairedSiteSolutionUserInfo

SrmLoginByTokenLocale

SrmLoginRemoteSiteByToken

SrmLoginSitesByToken

SrmProtection

Create an ABR or HBR protection group, list inventory mappings, query datastores and VMs, and list protection groups

CreateAbrProtectionGroup

CreateHbrProtectionGroup

CreateVvolProtectionGroup

GetProtectionGroupRootFolder

ListInventoryMappings

ListProtectionGroups

ListReplicatedDatastores (deprecated in 6.0)

ListUnassignedReplicatedDatastores

ListUnassignedReplicatedVms

ProtectionListProtectedDatastores

ProtectionListProtectedVms

RemoveProtectionGroup

SrmProtectionGroup

Add virtual machines to a protection group, get peer, query protected datastores, add datastore, and remove datastore

AddDatastores

AssociateVms

CheckConfigured

GetInfoGetPeer

GetPeer

GetProtectionState

GetVvolGroupDetails

ListAssociatedVms

ListProtectedDatastores

ListProtectedVms

ProtectionGroupGetOperationalLocation

ProtectionGroupGetParentFolder

ProtectionGroupListRecoveryPlans

ProtectionGroupQueryVmProtection

ProtectVms

ReconfigureVvolProtectionGroup

RemoveDatastores

UnassociateVms

UnprotectVms

VvolReplication

Provide information about the local vVol topology replicated to the SRM peer site

GetDomains

GetUnprotectedVms

Rescan

The SRM Object Classes graphic shows the Site Recovery Manager managed object class hierarchy with the methods of each managed object.
Figure 1. Site Recovery Manager API Object Classes
SRM Object Classes