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] spcs service: support auto-suspend-secs (#2487)
* 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.
* feat: [SNOW-2155083] add support for auto-suspend-secs in spcs services
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
@@ -20,6 +20,7 @@
20
20
21
21
## New additions
22
22
* Added global option `--decimal-precision` allowing setting arbitrary precision for Python's `Decimal` type.
23
+
* 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