VMware {code} Community
avshein
Contributor
Contributor

plugin for snapshot

Hi 

I'm developing plugin to integrate storage to vSphere. I would like to prepare the storage for VM Snapshot (CreateSnapshot_Task) execution. In instance there should be some API called on storage before VM Snapshot starts work on VMDK. 

Is there some API to register to event of CreatSnapshot_Task and block it until my call is finished?

Can you reference me to some documentation about integrating storage solutions with Snapshots? 

Reply
0 Kudos
1 Reply
Peter_Ivanov
VMware Employee
VMware Employee

You should ask this question on the vSphere Web SDK forum.

You will not block on CreateSnapshot_Task. Once the task is started, the call will return. Then use the TaskManager API to track for the task progress.

Reply
0 Kudos