Site Recovery Manager API Developer's Guide
Table
1‐2 shows the same managed object hierarchy with each managed object's methods, in alphabetic order.
Table 1-2. Managed object hierarchy
Managed Object
SrmApi
SrmProtection
SrmProtectionGroup
SrmProtectionTask
SrmRecovery
SrmRecoveryHistory
SrmRecoveryPlan
SrmServiceInstance
WSDL Programming Environments
You can program Web services and read WSDL files using the C# language with Visual Studio .NET, or using
the Java language with the Axis framework or the JAX‐WS framework. You can program Web services using
many other languages and frameworks, but they are beyond the scope of this manual.
Figure 1-2. WSDL programming components
WSDL
files
client application
method
invocation
SRM Objects as WSDL
Figure
1‐3, "SRM managed objects," on page 11 shows SRM managed entities and class relationships as they
fit into the VMware WSDL scheme. Classes with dashed lines are vSphere managed objects; for information
about them, see the vSphere API Reference manual.
10
Remarks
Local Methods
Old version 1.0 API,
GetApiVersion, GetFinalStatus, ListRecoveryPlans,
still provided for
RecoveryPlanAnswerPrompt, RecoveryPlanCancel,
backward
RecoveryPlanPause, RecoveryPlanResume, RecoveryPlanSettings,
compatibility
RecoveryPlanStart, SrmLogin, SrmLogout
List inventory
ListInventoryMappings, ListProtectionGroups,
mappings, query
ListReplicatedDatastores
protection groups
Add virtual machines
AssociateVms, GetInfo, GetPeer, GetProtectionState,
to a protection group,
ListAssociatedVms, ListProtectedDatastores, ListProtectedVms,
get peer, query
ProtectionGroupListRecoveryPlans,
protected datastores
ProtectionGroupQueryVmProtection, ProtectVms, UnassociateVms,
UnprotectVms
Get task status for
GetProtectionStatus, GetResult, GetTasks, IsComplete
protection groups
Query recovery plans
GetHistory, ListPlans
Recovery plan status
GetRecoveryResult, GetResultCount, GetResultLength,
RetrieveStatus
Run a recovery plan
AnswerPrompt, Cancel, ListPrompts, RecoveryPlanGetInfo,
RecoveryPlanGetPeer, Start
Open and close session
RetrieveContent, SrmLoginLocale, SrmLoginSites, SrmLogoutLocale
WSDL2Java,
wsdl.exe, or
other tool
client
proxy
interface
SOAP-encoded WSDL
(Java, C#,
or other)
SRM server
method
network
execution
connection
VMware, Inc.
Need help?
Do you have a question about the VC-SRM4-A - vCenter Site Recovery Manager and is the answer not in the manual?
Questions and answers