You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/src/main/java/org/apache/cloudstack/api/command/user/vm/UpdateVMCmd.java
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,14 @@ public class UpdateVMCmd extends BaseCustomIdCmd implements SecurityGroupAction,
146
146
@Parameter(name = ApiConstants.EXTRA_CONFIG, type = CommandType.STRING, since = "4.12", description = "an optional URL encoded string that can be passed to the virtual machine upon successful deployment", length = 5120)
147
147
privateStringextraConfig;
148
148
149
+
@Parameter(name = ApiConstants.DELETE_PROTECTION,
150
+
type = CommandType.BOOLEAN, since = "4.20.0",
151
+
description = "Set delete protection for the virtual machine. If " +
152
+
"true, the instance will be protected from deletion. " +
153
+
"Note: If the instance is managed by another service like" +
154
+
" autoscaling groups or CKS, delete protection will be ignored.")
0 commit comments