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. * Creates a vm group.
* *
* @param name * @param cmd The command specifying domain ID, account name, group name, and project ID
* - name of the group
* @param accountId
* - accountId
*/ */
InstanceGroup createVmGroup(CreateVMGroupCmd cmd); 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. * Migrate the given VM to the destination host provided. The API returns the migrated VM if migration succeeds.
* Only Root * Only Root Admin can migrate a VM.
* Admin can migrate a VM.
* *
* @param destinationStorage * @param vmId The ID of the VM to be migrated
* TODO * @param destinationHost The destination host to where the VM will be migrated
* @param Long
* vmId
* vmId of The VM to migrate
* @param Host
* destinationHost to migrate the VM
* *
* @return VirtualMachine migrated VM * @return VirtualMachine migrated VM
* @throws ManagementServerException * @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. * 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. * Only root admin can migrate a VM.
* *
* @param destinationStorage * @param vmId The ID of the VM to be migrated
* TODO * @param destinationHost The destination host to where the VM will be migrated
* @param Long * @param volumeToPool A map of volume to which pool it should be migrated
* 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
* *
* @return VirtualMachine migrated VM * @return VirtualMachine migrated VM
* @throws ManagementServerException * @throws ManagementServerException
@ -507,7 +493,7 @@ public interface UserVmService {
/** /**
* Finds and returns an encrypted password for a VM. * Finds and returns an encrypted password for a VM.
* *
* @param userVmId * @param vmId
* @return Base64 encoded userdata * @return Base64 encoded userdata
*/ */
String getVmUserData(long vmId); String getVmUserData(long vmId);