Quantcast
Channel: VMware Communities : Discussion List - Learn
Viewing all articles
Browse latest Browse all 115

Creating vm in vsphere server 5.0 using vsphere Api

$
0
0

I dont have san storage,am using local datastore for storage.Unable to create a virtual machine using c# libraries.I followed vsphere web service sdk .net examples.

Am getting error saying that host configuration is failed.Please find the attachment containing code for cration of vm.(CreateVm.cs)

Can i create vm without using "SAN" vsphere API. Am using default data center ManagedObjectReference ha-datacenter instead of datacenter.

Let me know any other vsphere API which allow to create  vm using .net libraries without pain:-)

 

 

Thanks in advance...


Viewing all articles
Browse latest Browse all 115

Trending Articles



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