5.1

Table Of Contents
Power Management Workflows 31
Snapshot Workflows 31
VMware Tools Workflows 32
3
Using the vCO Library Plug-In 33
vCO Library Plug-In Workflows 33
4
Using the SQL Plug-In 35
SQL Plug-In Scripting API 35
Connection Class 35
JDBCConnection Class 35
PreparedStatement Class 36
ResultSet Class 36
Running the SQL Sample Workflows 37
Generate a JDBC URL 37
Test a JDBC Connection 38
Create a Table by Using JDBC 38
Insert a Row into a JDBC Table 39
Select Rows from a JDBC Table 39
Delete an Entry from a JDBC Table 40
Delete All Entries from a JDBC Table 40
Drop a JDBC Table 41
Run a Complete JDBC Cycle 41
SQL Plug-In Workflow Library 42
5
Using the SSH Plug-In 43
Configure the SSH Plug-In 43
SSH Plug-In Scripting API 44
SSH:File Type 44
SSH:Folder Type 44
SSH:RootFolder Type 44
SSH:SshConnection Type 44
KeyPairManager Class 44
SSHCommand Class 45
SSHFile Class 46
SSHFolder Class 46
SSHSession Class 47
Running the SSH Plug-In Sample Workflows 48
Generate a Key Pair 48
Change the Key Pair Passphrase 49
Register an Orchestrator Public Key on an SSH Host 49
Run an SSH Command 50
Copy a File from an SSH Host 50
Copy a File to an SSH Host 51
6
Using the XML Plug-In 53
XML Plug-In Scripting API 53
XMLDocument Class 53
Using VMware vCenter Orchestrator Plug-Ins
4 VMware, Inc.