Print the Virtual machine network details(Nic name,IPv4,Mac,Nic Key,Portgroup) using vSphere java API. Network Adatpter IP4Address Mac Key Portgroup -- -- -- ...
PrintVMNetworkDetails.java
How To Run In order to run this sample code you must provide four arguments: [1] The server name or IP address [2] The user name to log in as [3] The password to use [4] The virtual machine IP address
Retrieve-a-list-of-virtual-disk-for-a-given-VM-master.zip
Regarding VMs: 1- VM Name. 2- OS IP. 3- Total CPU Capacity. 4- CPU Usage(GHz). 5- CPU usage(%). 6- CPU Recommended Size. 7- Memory total Capacity. 8- Memory utilization(GB). 10- Memory Usage (%). 11- Memory Recommended Size
dashboard.json
3 Comments - no search term matches found in comments.
This sample code retrieves a list of clusters ordered by the number of CPUs How To Run In order to run this sample code you must provide four arguments: [1] The server name or IP address [2] The user name to log in as [3] The password to use [4] The name of the VM You will need to get the vim25.jar library from the VMware vSphere JDK
Shows-the-name-of-a-cluster-containing-a-given-VM-master.zip
How To Run In order to run this sample code you must provide four arguments: [1] The server name or IP address [2] The user name to log in as [3] The password to use [4] The name of the VM You will need to get the vim25.jar library from the VMware vSphere JDK
Get-the-UUID-for-a-Virtual-Machine-master.zip
How To Run In order to run this sample code you must provide 6 arguments: [1] The server name or IP address [2] The user name to log in as [3] The password to use [4] The name of the virtual machine to clone [5] The number of clones to make [6] The base name of each new clone You will need to get the vim25.jar library from the VMware vSphere JDK
Clone-a-VM-update-settings-on-the-new-clones-and-power-them-up-master.zip