Java |
|
|---|---|
| CreateVmfsDatastore.java | Example script to create VmfsDatastore |
| StorageEventsMonitor.java | Example script to monitor the storage related events(Datastore related) on a Virtual Center. |
| VMEventsMonitor.java | Example script to Monitoring VM related events. |
| VMReconfig.java | Example script to configures a virtual machine which includes reconfiguring the disk size,disk mode etc. |
| CreateVMStaticMACAddress.java | Creates a VM with static MAC address |
| CreateVMWithMultipleDisk.java | Create a VM with multiple Disks |
| CreateVMWithThinProvisionedDisk.java | Create a VM with Thin Provisioned disk |
| DatastoreInfo.java | Retrieves the basic Datastore Information. |
| GetLicenseInfo.java | Display the License information related to features whose keys are esxfull, esxExpress, drs, vmotion |
| HideNxFlag.java | Hide the NX flag from Guest |
| QueryEvent.java | Demonstrates how to use CreateCollectorForEvents and EventFilterSpec in the API to get filtered events |
Perl |
|
|---|---|
| Sample scripts (zip file) | As described in the Virtual Machine Reconfiguration webinar. |
| Sample scripts (zip file) | As described in the Using the VI API for Enhanced Performance Management webinar. |
| exaddnetwork.pl | Example script to add a network card to a virtual machine |
| exaddvirtualdisk.pl | Example script to add a virtual disk to a virtual machine |
| exclonewithcpushare.pl | Clones a VM while setting the CPU Shares while cloning |
| exconnect.pl | Example script to connect a CD Drive to a virtual machine |
| exdsfilesize.pl | Browse a datastore and display the file size |
| exlistconfig.pl | Example script that lists the Config options for a virtual machine |
| exlistcpucntperf.pl | Retrieve all cpu counters for all instances of CPU in VMware ESX |
| exlisthw.pl | Example script that lists the virtual hardware of a virtual machine |
| exmemory.pl | Example script that modifies the memory of a virtual machine |
| exmultipathinfo.pl | Multipath Information for Storage Devices |
| exrename.pl | Example script that renames a virtual machine |
| exsnpfilename.pl | Filename information of a VM snapshot for VMware ESX |
| printcounter.pl | Example script to print the available counters. |
| printintervals.pl | Example script to print the intervals for an entity. |
| VMBootOrder.pl | This script allows users to set the boot preference for a virtual machine. |
| vmprovision.perl | Create/Clones/Relocates a VM |
C & C# |
|
|---|---|
| callbackProc.c | A program that describes how to use the API asynchronously. |
| cloneVM.cs | Clone a VM from VM/Template |
| eventPump.c | A program that describes how to integrate the API in another application that may use a UI event pump. |
| powerOn | A simple program that powers on and off a virtual machine. |
| snapshot.c | A simple program that takes a snapshot of a virtual machine. |
| suspend.c | A simple program that suspends a running virtual machine. |
