4.2.1

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