VMware

VIX API

Community  |  Technical Papers  |  Knowledge Base  |  Download

The VIX API allows you to write programs and scripts that automate virtual machine operations, as well as the guests within virtual machines. This API is high-level, easy to use, and practical for both script writers and application programmers. It runs on either Windows or Linux and supports management of VMware Workstation, VMware Server, and VMware vSphere including ESX/ESXi and vCenter Server. Bindings are provided for C, Perl, and COM (Visual Basic, VBscript, C#).



VIX API 1.8.1

Released 10 Nov 2009.

This is the standalone VIX release that runs with Workstation 7 and Player 3. This release also bundles earlier VIX libraries, including the libraries delivered for vSphere 4 and Workstation 6.x.

Documentation Resources:

Other Resources:

Sample Code:

    powerOn.c – Shows how to open a virtual machine, power it on, and power it off.
    suspend.c – Demonstrates how to power on, suspend, and resume a virtual machine.
    snapshot.c – Opens a virtual machine, creates a snapshot, and reverts to snapshot state.
    guestOps.c – Demonstrates how to perform operations in a guest virtual machine.
    fhostopen.c – Finds all running virtual machines and opens a handle to each.
    callbackProc.c – Shows how to use callback procedures with asynchronous VIX functions.
    Makefile for Linux make and nMakefile for Windows nmake.

VIX API 1.7

Released 26 Aug 2009. Superseded VIX 1.6.2, released 3 Dec 2008.

Documentation Resources:

Other Resources:


VIX API 1.6

Released 29 Oct 2008 and 21 Nov 2008.

Documentation Resources:

Other Resources:


VIX API 1.1.5

Released 28 Aug 2008 | Build 109488

Documentation Resources:

Other Resources:

Sample Code:

    powerOn.c – A simple program that powers on and off a virtual machine.
    suspend.c – A simple program that suspends a running virtual machine.
    snapshot.c – A simple program that takes a snapshot of a virtual machine.
    callbackProc.c – A program that describes how to use the API asynchronously.
    eventPump.c – A program that describes how to integrate the API in another application that may use a UI event pump.