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
Description: "Edit the template maximum time before shutdown - workspaces created from this template must shutdown within the given duration after starting, regardless of user activity. This is an enterprise-only feature. Maps to \"Max lifetime\" in the UI.",
141
153
Value: clibase.DurationOf(&maxTTL),
142
154
},
155
+
{
156
+
Flag: "autostart-requirement-weekdays",
157
+
// workspaces created from this template must be restarted on the given weekdays. To unset this value for the template (and disable the autostop requirement for the template), pass 'none'.
158
+
Description: "Edit the template autostart requirement weekdays - workspaces created from this template can only autostart on the given weekdays. To unset this value for the template (and allow autostart on all days), pass 'all'.",
returnxerrors.Errorf("invalid autostart requirement days of week %q: %w", strings.Join(v, ","), err)
167
+
}
168
+
returnnil
169
+
}),
170
+
},
143
171
{
144
172
Flag: "autostop-requirement-weekdays",
145
173
Description: "Edit the template autostop requirement weekdays - workspaces created from this template must be restarted on the given weekdays. To unset this value for the template (and disable the autostop requirement for the template), pass 'none'.",
0 commit comments