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


##########
api/src/main/java/org/apache/cloudstack/api/command/user/backup/RestoreBackupCmd.java:
##########
@@ -59,6 +61,14 @@ public class RestoreBackupCmd extends BaseAsyncCmd {
             description = "ID of the backup")
     private Long backupId;
 
+    @Parameter(name = ApiConstants.QUICK_RESTORE, type = CommandType.BOOLEAN, 
entityType = BackupResponse.class, 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