cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Radhika Puthiyetath <radhika.puthiyet...@citrix.com>
Subject RE: [DOC] assignVirtualMachine API
Date Mon, 07 Jan 2013 10:32:08 GMT
Hi Abhi,

Here is the link:

http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/root_admin/assignVirtualMachine.html

Thanks
-Radhika

-----Original Message-----
From: Abhinandan Prateek [mailto:Abhinandan.Prateek@citrix.com] 
Sent: Monday, January 07, 2013 3:51 PM
To: cloudstack-dev@incubator.apache.org
Subject: [DOC] assignVirtualMachine API

Can we get the attached documentation of  assignVirtualMachine in apache wiki.

-abhi


assignVirtualMachine: To assign a VM from one account to another (admin API).

Example Usage:

http://127.0.0.1:8096/client/api?command=assignVirtualMachine&domainid=2&account=rest&virtualMachineId=15&networkids=204&response=json



The command allows you to assign a VM from one account to another under same domain. Right
now this feature is available for Basic zones with security groups and Advance zones with
guest networks.

The VM is restricted to move between accounts under same domain.



Params:

virtualMachineId: The vm id under consideration

domainId, account: The domina id and account name of the new owner.

networkIds: The network id list of the new networks in which the moved VM will participate.
In case no network ids are provided the VM will be part of the default network for that zone.
In case there is no network yet created for the new account the default network will be created.

securitygroupids: The security group list is required if you are moving a VM in a basic networked
zone. The new security group will be part of VM after the move. In case no security groups
are provided the VM is part of the default security group.


--------------------------------------

Mime
View raw message