mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add template max_ttl (#6114)
Co-authored-by: Bruno Quaresma <bruno@coder.com>
This commit is contained in:
co-authored by
Bruno Quaresma
parent
248c53d68d
commit
66a6b590a1
@@ -39,6 +39,7 @@
|
||||
"reason": "initiator",
|
||||
"resources": [],
|
||||
"deadline": "[timestamp]",
|
||||
"max_deadline": null,
|
||||
"status": "running",
|
||||
"daily_cost": 0
|
||||
},
|
||||
|
||||
+10
-5
@@ -7,12 +7,17 @@ Flags:
|
||||
--allow-user-cancel-workspace-jobs Allow users to cancel in-progress workspace jobs.
|
||||
(default true)
|
||||
--default-ttl duration Edit the template default time before shutdown -
|
||||
workspaces created from this template to this value.
|
||||
--description string Edit the template description
|
||||
--display-name string Edit the template display name
|
||||
workspaces created from this template default to
|
||||
this value.
|
||||
--description string Edit the template description.
|
||||
--display-name string Edit the template display name.
|
||||
-h, --help help for edit
|
||||
--icon string Edit the template icon path
|
||||
--name string Edit the template name
|
||||
--icon string Edit the template icon path.
|
||||
--max-ttl duration Edit the template maximum time before shutdown -
|
||||
workspaces created from this template must shutdown
|
||||
within the given duration after starting. This is
|
||||
an enterprise-only feature.
|
||||
--name string Edit the template name.
|
||||
-y, --yes Bypass prompts
|
||||
|
||||
Global Flags:
|
||||
|
||||
Reference in New Issue
Block a user