Updated wrong doc parameters in UserVmService. (#7321)

Co-authored-by: dahn <daan.hoogland@gmail.com>
Co-authored-by: Stephan Krug <stekrug@icloud.com>
This commit is contained in:
Sina Kashipazha 2023-04-04 09:13:24 +02:00 committed by GitHub
parent 1e253401b0
commit 4116323de3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);