5.1

Table Of Contents
Table 1-22. Bindings of the VM Snapshots Scriptable Task Element
Parameter Name Binding Type
Bind to Existing
or Create
Parameter? Binding Values
vm
IN Bind
n
Local parameter: vm
n
Source parameter: vm[attribute]
n
Type: VC:VirtualMachine
n
Description:
An active virtual machine of
which to take a snapshot.
snapshotVmArray
IN Bind
n
Local parameter:
snapshotVmArray
n
Source parameter:
snapshotVmArray[attribute]
n
Type: Array/VC:VirtualMachine
n
Description:
The Array of virtual
machines of which snapshots
have been taken
snapshotVmArray
OUT Bind
n
Local parameter:
snapshotVmArray
n
Source parameter:
snapshotVmArray[attribute]
n
Type: Array/VC:VirtualMachine
n
Description:
The Array of virtual
machines of which snapshots
have been taken
The VM Snapshots scriptable task element performs the following scripted function.
//Writes the following event in the vCO database
Server.log("Successfully took snapshot of the VM '"+vm.name);
//Inserts the VM snapshot in an array
snapshotVmArray.push(vm);
Increment Scriptable Task Element
The Increment scriptable task element increments the counter that counts the number of virtual machines in
the array. The following table shows the bindings that the Increment scriptable task element requires.
Developing with VMware vCenter Orchestrator
110 VMware, Inc.