vSphere SDK for Perl Subroutine Reference
■ The Opts package includes subroutines for handling built-in options and creating custom options. See Subroutines in the Opts Package.
■ The Util package includes subroutines for facilitating routine tasks such as setting up and closing connections to the server. See Subroutines in the Util Package.
■ The Vim package includes subroutines for accessing server-side managed objects, instantiating local view objects, updating properties, and running local methods to run operations on remote servers.
Checks whether an option has been explicitly set by a script or from the command line or whether the option has a default or computed value (that is, the return value of a func). Reads options from the command line, an environment variable, or a configuration file and transforms them into appropriate data structures for validation.
Terminates the current session loaded by the load_session() subroutine. Retrieves a ServiceInstance object, which can be used to query the server time or to retrieve the ServiceContent object.
Establishes a session by using the token provided in a previously-saved session file, or by using the user name and password provided on the command line, in environment variables, or in a configuration file. If used in conjunction with connect (and a session file), does nothing. If used in conjunction with a user name and password, logs out and closes the session. General-purpose logging function used in conjunction with the --verbose command-line option.