WeeklyRecurrenceScheduledTask This sample demonstrates creation of weekly recurring ScheduledTask using the ScheduledTaskManager Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the...
WeeklyRecurrenceScheduledTask.java
VIUsage This sample creates a GUI for graphical representation of the counters Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication host [required] : Name of the host...
VIUsage.java
VMPowerOps Demonstrates VirtualMachine Power operations on multiple Virtual Machines. Works with groups of Virtual Machines all at one time. Parameters: url [required] : url of the web service username [required] : username for the authentication password ...
VMPowerOps.java
VITop This sample is an ESX-Top-like application that lets administrators specify the CPU and memory counters by name to obtain metrics for a specified host Parameters: url [required] : url of the web service username [required] : username for the authentication password ...
VITop.java
TaskList This sample prints out a list of tasks if any are running The sample display the tasks in the following format: Operation: Name: Type: State: Error: Parameters: url [required] : url of the web service username [required] : username for the authentication password ...
TaskList.java
VMSnapshot This sample demonstrates VM snapshot operations Parameters: url [required] : url of the web service. username [required] : username for the authentication password [required] : password for the authentication vmname [required] : Name of the virtual...
VMSnapshot.java
DeleteOneTimeScheduledTask This sample demonstrates deleting a scheduled task Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication taskname [required] :...
DeleteOneTimeScheduledTask.java
ConnectedVimServiceBase @Sample(name = "connect") public class Connect extends ConnectedVimServiceBase ( @Action public void action() ( System.out.println("currently connected: " + this.isConnected()); ) ) VMware vSphere Web Services Java Samples This sample was originally released as...
ConnectedVimServiceBase.java
VMPowerStateAlarm This sample which creates an Alarm to monitor the virtual machine's power state Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication vmname ...
VMPowerStateAlarm.java
AddVirtualNic This sample is used to add a Virtual Nic to a PortGroup Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication portgroupname [required] :...
AddVirtualNic.java