vishesh92 commented on code in PR #10560:
URL: https://github.com/apache/cloudstack/pull/10560#discussion_r1992805077
##########
api/src/main/java/org/apache/cloudstack/api/command/admin/offering/CreateServiceOfferingCmd.java:
##########
@@ -251,7 +251,14 @@ public class CreateServiceOfferingCmd extends BaseCmd {
since="4.20")
private Boolean purgeResources;
+ @Parameter(name = ApiConstants.INSTANCE_LEASE_DURATION, type =
CommandType.LONG,
+ description = "Number of days instance is leased for.",
+ since = "4.21.0")
+ private Long leaseDuration;
+ @Parameter(name = ApiConstants.INSTANCE_LEASE_EXPIRY_ACTION, type =
CommandType.STRING, since = "4.21.0",
+ description = "Lease expiry action")
Review Comment:
Add posible choices in the description.
--
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]