mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
feat: add template activity_bump property (#11734)
Allows template admins to configure the activity bump duration. Defaults to 1h.
This commit is contained in:
7
coderd/apidoc/docs.go
generated
7
coderd/apidoc/docs.go
generated
@ -8536,6 +8536,10 @@ const docTemplate = `{
|
||||
"template_version_id"
|
||||
],
|
||||
"properties": {
|
||||
"activity_bump_ms": {
|
||||
"description": "ActivityBumpMillis allows optionally specifying the activity bump\nduration for all workspaces created from this template. Defaults to 1h\nbut can be set to 0 to disable activity bumping.",
|
||||
"type": "integer"
|
||||
},
|
||||
"allow_user_autostart": {
|
||||
"description": "AllowUserAutostart allows users to set a schedule for autostarting their\nworkspace. By default this is true. This can only be disabled when using\nan enterprise license.",
|
||||
"type": "boolean"
|
||||
@ -10954,6 +10958,9 @@ const docTemplate = `{
|
||||
"type": "string",
|
||||
"format": "uuid"
|
||||
},
|
||||
"activity_bump_ms": {
|
||||
"type": "integer"
|
||||
},
|
||||
"allow_user_autostart": {
|
||||
"description": "AllowUserAutostart and AllowUserAutostop are enterprise-only. Their\nvalues are only used if your license is entitled to use the advanced\ntemplate scheduling feature.",
|
||||
"type": "boolean"
|
||||
|
7
coderd/apidoc/swagger.json
generated
7
coderd/apidoc/swagger.json
generated
@ -7609,6 +7609,10 @@
|
||||
"type": "object",
|
||||
"required": ["name", "template_version_id"],
|
||||
"properties": {
|
||||
"activity_bump_ms": {
|
||||
"description": "ActivityBumpMillis allows optionally specifying the activity bump\nduration for all workspaces created from this template. Defaults to 1h\nbut can be set to 0 to disable activity bumping.",
|
||||
"type": "integer"
|
||||
},
|
||||
"allow_user_autostart": {
|
||||
"description": "AllowUserAutostart allows users to set a schedule for autostarting their\nworkspace. By default this is true. This can only be disabled when using\nan enterprise license.",
|
||||
"type": "boolean"
|
||||
@ -9896,6 +9900,9 @@
|
||||
"type": "string",
|
||||
"format": "uuid"
|
||||
},
|
||||
"activity_bump_ms": {
|
||||
"type": "integer"
|
||||
},
|
||||
"allow_user_autostart": {
|
||||
"description": "AllowUserAutostart and AllowUserAutostop are enterprise-only. Their\nvalues are only used if your license is entitled to use the advanced\ntemplate scheduling feature.",
|
||||
"type": "boolean"
|
||||
|
Reference in New Issue
Block a user