mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-2405. DOC. Changing ownership of a VM from one account to another in any domain.
This commit is contained in:
parent
b9325cd334
commit
0d8ce418c5
|
|
@ -35,7 +35,7 @@ import org.apache.log4j.Logger;
|
|||
import com.cloud.user.Account;
|
||||
import com.cloud.uservm.UserVm;
|
||||
|
||||
@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")
|
||||
@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")
|
||||
public class AssignVMCmd extends BaseCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(AssignVMCmd.class.getName());
|
||||
|
||||
|
|
|
|||
|
|
@ -49,13 +49,13 @@
|
|||
<formalpara>
|
||||
<title>Resource Ownership</title>
|
||||
<para>Resources belong to the account, not individual users in that account. For example,
|
||||
billing, resource limits, and so on are maintained by the account, not the users. A user can
|
||||
operate on any resource in the account provided the user has privileges for that operation.
|
||||
The privileges are determined by the role.
|
||||
A root administrator can change the ownership of any virtual machine, network,
|
||||
data disk, snapshot, template, or ISO from one account to any other account. A domain or
|
||||
sub-domain administrator can do the same for items within the domain from one account to
|
||||
any other account in the domain.</para>
|
||||
billing, resource limits, and so on are maintained by the account, not the users. A user
|
||||
can operate on any resource in the account provided the user has privileges for that
|
||||
operation. The privileges are determined by the role. A root administrator can change
|
||||
the ownership of any virtual machine from one account to any other account by using the
|
||||
assignVirtualMachine API. A domain or sub-domain administrator can do the same for VMs
|
||||
within the domain from one account to any other account in the domain or any of its
|
||||
sub-domains.</para>
|
||||
</formalpara>
|
||||
<section id="dedicated-host-cluster-pod">
|
||||
<title>Dedicating Resources to Accounts and Domains</title>
|
||||
|
|
|
|||
Loading…
Reference in New Issue