Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

Creating a VM on Esxi Using Java

$
0
0

Hi To All

I don't want to be weird , but this question depends on my career life and everything ,and also i don't know how to beg to solve this for me

please i am in need

the question it's this

Make a VM on Esxi using java code and perhaps with eclipse (i mean not gui program just the code)

first of all check it and see we have a connection or not perhaps it would be like this


//////////////////////////////////////////////////

     public class CreateVm{

          public static void main(String[] args){

               if(!wehaveconnection)

                    System.out.print("we cant find the esxi server or any connection");

               }

               else{

                    create a vm;

               }

          }

     }

//////////////////////////////////////////////////


and if we have connection

create a vm on esxi

considering getting this information

1.name (for vm name)

2.how much ram

3.how much cpu

4.address of iso file (iso file like windows server iso file to setup)


i just want the code with the a little bet explain ,no gui

for the love of god help me as soon as possible

Tank you all


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>