Skip to content

Commit 9fd5a81

Browse files
author
Jessica
committed
CLOUDSTACK-2405. DOC. Changing ownership of a VM from one account to another in any domain.
1 parent 3c00af3 commit 9fd5a81

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

api/src/org/apache/cloudstack/api/command/admin/vm/AssignVMCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import com.cloud.user.Account;
3636
import com.cloud.uservm.UserVm;
3737

38-
@APICommand(name = "assignVirtualMachine", description="Assign a VM from one account to another under the same domain. This API 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.", responseObject=UserVmResponse.class, since="3.0.0")
38+
@APICommand(name = "assignVirtualMachine", description="Change ownership of a VM from one account to another. This API is available for Basic zones with security groups and Advanced zones with guest networks. A root administrator can reassign a VM from any account to any other account in any domain. A domain administrator can reassign a VM to any account in the same domain.", responseObject=UserVmResponse.class, since="3.0.0")
3939
public class AssignVMCmd extends BaseCmd {
4040
public static final Logger s_logger = Logger.getLogger(AssignVMCmd.class.getName());
4141

docs/en-US/accounts-users-domains.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@
4949
<formalpara>
5050
<title>Resource Ownership</title>
5151
<para>Resources belong to the account, not individual users in that account. For example,
52-
billing, resource limits, and so on are maintained by the account, not the users. A user can
53-
operate on any resource in the account provided the user has privileges for that operation.
54-
The privileges are determined by the role.
55-
A root administrator can change the ownership of any virtual machine, network,
56-
data disk, snapshot, template, or ISO from one account to any other account. A domain or
57-
sub-domain administrator can do the same for items within the domain from one account to
58-
any other account in the domain.</para>
52+
billing, resource limits, and so on are maintained by the account, not the users. A user
53+
can operate on any resource in the account provided the user has privileges for that
54+
operation. The privileges are determined by the role. A root administrator can change
55+
the ownership of any virtual machine from one account to any other account by using the
56+
assignVirtualMachine API. A domain or sub-domain administrator can do the same for VMs
57+
within the domain from one account to any other account in the domain or any of its
58+
sub-domains.</para>
5959
</formalpara>
6060
<section id="dedicated-host-cluster-pod">
6161
<title>Dedicating Resources to Accounts and Domains</title>

0 commit comments

Comments
 (0)