On 6 March 2013 17:03, tawfiq zidi <tawfiq.z...@gmail.com> wrote: > Hi, > > I recently decided to start using CloudStack API , I want to use API to > deploy virtual machine. > My current configuration is : > * I have two Clusters KVM and each cluster have one host. > *One management server. > > I wonder how I can choose the Cluster when I deploy VM , beause I looked > into API deployVrtualMachine : ( > http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/user/deployVirtualMachine.html > ) > and I didn't found something that specify the Cluster. > > I would be thankful for any help. > > Best regards.
Users are not allowed to target clusters for deployingVMs because they have no visibility of it. It is possible through the Root admin api to target a host http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/root_admin/deployVirtualMachine.html -- Prasanna.,