Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A586EC42 for ; Mon, 7 Jan 2013 10:21:06 +0000 (UTC) Received: (qmail 27510 invoked by uid 500); 7 Jan 2013 10:21:06 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 27179 invoked by uid 500); 7 Jan 2013 10:21:05 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 27148 invoked by uid 99); 7 Jan 2013 10:21:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 10:21:05 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Abhinandan.Prateek@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jan 2013 10:20:58 +0000 X-IronPort-AV: E=Sophos;i="4.84,423,1355097600"; d="scan'208,217";a="292585" Received: from banpmailmx02.citrite.net ([10.103.128.74]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 07 Jan 2013 10:20:35 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.72]) by BANPMAILMX02.citrite.net ([10.103.128.74]) with mapi; Mon, 7 Jan 2013 15:50:33 +0530 From: Abhinandan Prateek To: "cloudstack-dev@incubator.apache.org" Date: Mon, 7 Jan 2013 15:50:38 +0530 Subject: [DOC] assignVirtualMachine API Thread-Topic: [DOC] assignVirtualMachine API Thread-Index: Ac3swKAM1MUaewj3QQCBkLISu5xqXA== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.5.121010 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CD109F4E1718Cabhinandanprateekcitrixcom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CD109F4E1718Cabhinandanprateekcitrixcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Can we get the attached documentation of assignVirtualMachine in apache wi= ki. -abhi assignVirtualMachine: To assign a VM from one account to another (admin API= ). Example Usage: http://127.0.0.1:8096/client/api?command=3DassignVirtualMachine&domainid=3D= 2&account=3Drest&virtualMachineId=3D15&networkids=3D204&response=3Djson The command allows you to assign a VM from one account to another under sam= e 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 w= ill 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 V= M in a basic networked zone. The new security group will be part of VM afte= r the move. In case no security groups are provided the VM is part of the d= efault security group. -------------------------------------- --_000_CD109F4E1718Cabhinandanprateekcitrixcom_--