sureshanaparti commented on code in PR #10560:
URL: https://github.com/apache/cloudstack/pull/10560#discussion_r1998114809


##########
api/src/main/java/org/apache/cloudstack/api/command/user/vm/UpdateVMCmd.java:
##########
@@ -154,6 +154,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.LONG, since = "4.21.0",
+            description = "Number of days instance is leased for.")
+    private Long leaseDuration;
+
+    @Parameter(name = ApiConstants.INSTANCE_LEASE_EXPIRY_ACTION, type = 
CommandType.STRING, since = "4.21.0",
+            description = "Lease expiry action")

Review Comment:
   ```suggestion
               description = "Lease expiry action, valid values are STOP and 
DESTROY")
   ```



-- 
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