Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231085

Re: SnapShot Workflow

$
0
0

Hi,

 

'Create a snapshot' workflow has an output parameter snapshot (of type VC:VirtualMachineSnapshot) containing the created snapshot object. And the snapshot scripting type has a method removeSnapshot_Task() which you can use to remove the snapshot, using a code like:

 

snapshot.removeSnapshot_Task(false);

 

One small issue is that the output parameter snapshot cannot be accessed directly as an input in your scriptable task, but you can fix this by moving the snapshot output parameter as attribute.


Viewing all articles
Browse latest Browse all 231085

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>