vmware - Create VM by REST API without vCenter -
is possible create vm (or other tasks) rest api server running esx without vcenter?
or essential install vcenter on server?
i checked these links use vcenter:
https://www.youtube.com/watch?v=14wervv3ndo https://blogs.vmware.com/code/2017/02/02/getting-started-vsphere-automation-sdk-rest/
vms can created through either vsphere client or vsphere management api. there no requirement install vcenter server.
example create vms through vsphere client: https://www.youtube.com/watch?v=ddus5fsczzy
example create vms through open sourced pyvmomi sdk: https://github.com/vmware/pyvmomi-community-samples/blob/master/samples/create_random_marvel_vms.py
example create vm through open sourced rbvmomi sdk: https://code.vmware.com/samples/781/create-vm?h=vm%20create
this can done through several other sdks usage of createvm_task method.
additional information method available here: http://pubs.vmware.com/vsphere-6-5/index.jsp?topic=/com.vmware.wssdk.apiref.doc/index.html&single=true
then select 'all methods' , search 'createvm_task'
Comments
Post a Comment