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": "CloneID allows copying the value of another parameter.\nThe other param must be related to the same template_id for this to\nsucceed.\nNo other fields are required if using this, as all fields will be copied\nfrom the other parameter.",
281
+
"type": "string"
282
+
},
283
+
"destination_scheme": {
284
+
"type": "string",
285
+
"enum": [
286
+
"environment_variable",
287
+
"provisioner_variable"
288
+
]
289
+
},
290
+
"name": {
291
+
"type": "string"
292
+
},
293
+
"source_scheme": {
294
+
"type": "string",
295
+
"enum": [
296
+
"data"
297
+
]
298
+
},
299
+
"source_value": {
300
+
"type": "string"
301
+
}
302
+
}
303
+
},
304
+
"codersdk.CreateTemplateRequest": {
305
+
"type": "object",
306
+
"required": [
307
+
"name",
308
+
"template_version_id"
309
+
],
310
+
"properties": {
311
+
"allow_user_cancel_workspace_jobs": {
312
+
"description": "Allow users to cancel in-progress workspace jobs.\n*bool as the default value is \"true\".",
313
+
"type": "boolean"
314
+
},
315
+
"default_ttl_ms": {
316
+
"description": "DefaultTTLMillis allows optionally specifying the default TTL\nfor all workspaces created from this template.",
317
+
"type": "integer"
318
+
},
319
+
"description": {
320
+
"description": "Description is a description of what the template contains. It must be\nless than 128 bytes.",
321
+
"type": "string"
322
+
},
323
+
"display_name": {
324
+
"description": "DisplayName is the displayed name of the template.",
325
+
"type": "string"
326
+
},
327
+
"icon": {
328
+
"description": "Icon is a relative path or external URL that specifies\nan icon to be displayed in the dashboard.",
329
+
"type": "string"
330
+
},
331
+
"name": {
332
+
"description": "Name is the name of the template.",
"description": "VersionID is an in-progress or completed job to use as an initial version\nof the template.\n\nThis is required on creation to enable a user-flow of validating a\ntemplate works. There is no reason the data-model cannot support empty\ntemplates, but it doesn't make sense for users.",
343
+
"type": "string"
344
+
}
345
+
}
346
+
},
169
347
"codersdk.DERPRegion": {
170
348
"type": "object",
171
349
"properties": {
@@ -264,6 +442,80 @@ const docTemplate = `{
264
442
}
265
443
}
266
444
},
445
+
"codersdk.Template": {
446
+
"type": "object",
447
+
"properties": {
448
+
"active_user_count": {
449
+
"description": "ActiveUserCount is set to -1 when loading.",
0 commit comments