diff --git a/api/src/main/java/com/cloud/vm/UserVmService.java b/api/src/main/java/com/cloud/vm/UserVmService.java index 258e87002da..3ec365f48e4 100644 --- a/api/src/main/java/com/cloud/vm/UserVmService.java +++ b/api/src/main/java/com/cloud/vm/UserVmService.java @@ -404,10 +404,7 @@ public interface UserVmService { /** * Creates a vm group. * - * @param name - * - name of the group - * @param accountId - * - accountId + * @param cmd The command specifying domain ID, account name, group name, and project ID */ InstanceGroup createVmGroup(CreateVMGroupCmd cmd); @@ -438,16 +435,10 @@ public interface UserVmService { /** * Migrate the given VM to the destination host provided. The API returns the migrated VM if migration succeeds. - * Only Root - * Admin can migrate a VM. + * Only Root Admin can migrate a VM. * - * @param destinationStorage - * TODO - * @param Long - * vmId - * vmId of The VM to migrate - * @param Host - * destinationHost to migrate the VM + * @param vmId The ID of the VM to be migrated + * @param destinationHost The destination host to where the VM will be migrated * * @return VirtualMachine migrated VM * @throws ManagementServerException @@ -466,14 +457,9 @@ public interface UserVmService { * Migrate the given VM with its volumes to the destination host. The API returns the migrated VM if it succeeds. * Only root admin can migrate a VM. * - * @param destinationStorage - * TODO - * @param Long - * vmId of The VM to migrate - * @param Host - * destinationHost to migrate the VM - * @param Map - * A map of volume to which pool it should be migrated + * @param vmId The ID of the VM to be migrated + * @param destinationHost The destination host to where the VM will be migrated + * @param volumeToPool A map of volume to which pool it should be migrated * * @return VirtualMachine migrated VM * @throws ManagementServerException @@ -507,7 +493,7 @@ public interface UserVmService { /** * Finds and returns an encrypted password for a VM. * - * @param userVmId + * @param vmId * @return Base64 encoded userdata */ String getVmUserData(long vmId);