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
feat: [SNOW-2155083] add auto_suspend_secs parameter support
Added entry for new auto_suspend_secs parameter functionality in SPCS service commands (deploy, set, unset) that allows configuring automatic service suspension after inactivity period.
Copy file name to clipboardExpand all lines: RELEASE-NOTES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
## Deprecations
20
20
21
21
## New additions
22
+
* Added support for `auto_suspend_secs` parameter in SPCS service commands (`deploy`, `set`, `unset`) to configure automatic service suspension after inactivity period.
_AUTO_SUSPEND_SECS_HELP="Number of seconds of inactivity after which the service will be automatically suspended."
155
+
AutoSuspendSecsOption=OverrideableOption(
156
+
None,
157
+
"--auto-suspend-secs",
158
+
help=_AUTO_SUSPEND_SECS_HELP,
159
+
min=0,
160
+
)
161
+
154
162
_COMMENT_HELP="Comment for the service."
155
163
156
164
add_object_command_aliases(
@@ -217,7 +225,7 @@ def deploy(
217
225
upgrade: bool=typer.Option(
218
226
False,
219
227
"--upgrade",
220
-
help="Updates the existing service. Can update min_instances, max_instances, query_warehouse, auto_resume, external_access_integrations and comment.",
228
+
help="Updates the existing service. Can update min_instances, max_instances, query_warehouse, auto_resume, auto_suspend_secs, external_access_integrations and comment.",
0 commit comments