JoaoJandre commented on code in PR #12758:
URL: https://github.com/apache/cloudstack/pull/12758#discussion_r3438132325


##########
api/src/main/java/org/apache/cloudstack/api/command/user/backup/RestoreVolumeFromBackupAndAttachToVMCmd.java:
##########
@@ -78,6 +79,14 @@ public class RestoreVolumeFromBackupAndAttachToVMCmd extends 
BaseAsyncCmd {
             description = "ID of the Instance where to attach the restored 
volume")
     private Long vmId;
 
+    @Parameter(name = ApiConstants.QUICK_RESTORE, type = CommandType.BOOLEAN, 
description = "Whether to use the quick restore process or not. " +
+            "Currently this parameter is only supported by the KBOSS 
provider.", since = "4.23.0")
+    private Boolean quickRestore;
+
+    @Parameter(name = ApiConstants.HOST_ID, type = CommandType.UUID, 
entityType = HostResponse.class, description = "If quickrestore is true, which 
host to start the VM on;" +
+            " otherwise, ignored. Currently this parameter is only supported 
by the KBOSS provider.", since = "4.23.0")
+    private Long hostId;

Review Comment:
   ```suggestion
       @Parameter(name = ApiConstants.HOST_ID, type = CommandType.UUID, 
entityType = HostResponse.class, description = "If quickrestore is true, which 
host to start the VM on;" +
               " otherwise, ignored. Currently this parameter is only supported 
by the KBOSS provider.", since = "4.23.0", authorized = {RoleType.Admin})
       private Long hostId;
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to