sureshanaparti commented on code in PR #10560:
URL: https://github.com/apache/cloudstack/pull/10560#discussion_r2053529520
##########
api/src/main/java/org/apache/cloudstack/api/command/user/vm/UpdateVMCmd.java:
##########
@@ -154,6 +151,14 @@ public class UpdateVMCmd extends BaseCustomIdCmd
implements SecurityGroupAction,
" autoscaling groups or CKS, delete protection will be
ignored.")
private Boolean deleteProtection;
+ @Parameter(name = ApiConstants.INSTANCE_LEASE_DURATION, type =
CommandType.INTEGER, since = "4.21.0",
+ description = "Number of days instance is leased for.")
Review Comment:
```suggestion
description = "Number of days instance lease is extended for, -1
to remove the existing lease")
```
Is the lease updated is the days extension or for the total lease?
--
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]