Creating a Virtual Machine Without a Clone
or Template
You can create a virtual machine by
using the REST API.
When you create a virtual machine without a template or
clone, you can configure the virtual hardware, including processors, hard disc, memory.
To create a virtual machine, you must specify the virtual machine attributes by using
the
VMCreateSpec
data
structure. For example, you can specify a name, boot options, networking, and memory for
the new virtual machine. All attributes are optional except the virtual machine
placement information that you must provide by using the
VMPlacementSpec
data
structure. Use the virtual machine placement specification to set the datastore,
cluster, folder, host, or resource pool of the created virtual machine. You must make
sure that all these vSphere objects are located in the same data center in a
vCenter Server
instance. For more information, refer to the
API Reference
documentation.