weizhouapache commented on code in PR #7221:
URL: https://github.com/apache/cloudstack/pull/7221#discussion_r1423886680
##########
api/src/main/java/org/apache/cloudstack/api/command/user/backup/RestoreVolumeFromBackupAndAttachToVMCmd.java:
##########
@@ -73,6 +74,12 @@ public class RestoreVolumeFromBackupAndAttachToVMCmd extends
BaseAsyncCmd {
description = "id of the VM where to attach the restored volume")
private Long vmId;
+ @Parameter(name = ApiConstants.START_VM,
+ type = CommandType.BOOLEAN,
+ required = false,
+ description = "start VM after the restore is finished")
Review Comment:
this will power on the vm from veeam, looks like a out-of-band operation
(the power state, host_id, etc are not managed by cloudstack).
@SadiJr
I think we should avoid it. cc @DaanHoogland
--
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]