@n8n-dev/n8n-nodes-linode 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +589 -0
  2. package/dist/banner.svg +91 -0
  3. package/dist/credentials/LinodeApi.credentials.d.ts +9 -0
  4. package/dist/credentials/LinodeApi.credentials.js +40 -0
  5. package/dist/credentials/LinodeApi.credentials.js.map +1 -0
  6. package/dist/icons/linode.dark.svg +18 -0
  7. package/dist/icons/linode.svg +18 -0
  8. package/dist/nodes/Linode/Linode.node.d.ts +4 -0
  9. package/dist/nodes/Linode/Linode.node.js +178 -0
  10. package/dist/nodes/Linode/Linode.node.js.map +1 -0
  11. package/dist/nodes/Linode/Linode.node.json +20 -0
  12. package/dist/nodes/Linode/linode.dark.svg +18 -0
  13. package/dist/nodes/Linode/linode.svg +18 -0
  14. package/dist/nodes/Linode/resources/account/index.d.ts +2 -0
  15. package/dist/nodes/Linode/resources/account/index.js +4783 -0
  16. package/dist/nodes/Linode/resources/account/index.js.map +1 -0
  17. package/dist/nodes/Linode/resources/databases/index.d.ts +2 -0
  18. package/dist/nodes/Linode/resources/databases/index.js +4009 -0
  19. package/dist/nodes/Linode/resources/databases/index.js.map +1 -0
  20. package/dist/nodes/Linode/resources/domains/index.d.ts +2 -0
  21. package/dist/nodes/Linode/resources/domains/index.js +2284 -0
  22. package/dist/nodes/Linode/resources/domains/index.js.map +1 -0
  23. package/dist/nodes/Linode/resources/images/index.d.ts +2 -0
  24. package/dist/nodes/Linode/resources/images/index.js +935 -0
  25. package/dist/nodes/Linode/resources/images/index.js.map +1 -0
  26. package/dist/nodes/Linode/resources/index.d.ts +18 -0
  27. package/dist/nodes/Linode/resources/index.js +40 -0
  28. package/dist/nodes/Linode/resources/index.js.map +1 -0
  29. package/dist/nodes/Linode/resources/linode-instances/index.d.ts +2 -0
  30. package/dist/nodes/Linode/resources/linode-instances/index.js +5610 -0
  31. package/dist/nodes/Linode/resources/linode-instances/index.js.map +1 -0
  32. package/dist/nodes/Linode/resources/linode-kubernetes-engine-lke/index.d.ts +2 -0
  33. package/dist/nodes/Linode/resources/linode-kubernetes-engine-lke/index.js +1788 -0
  34. package/dist/nodes/Linode/resources/linode-kubernetes-engine-lke/index.js.map +1 -0
  35. package/dist/nodes/Linode/resources/linode-types/index.d.ts +2 -0
  36. package/dist/nodes/Linode/resources/linode-types/index.js +84 -0
  37. package/dist/nodes/Linode/resources/linode-types/index.js.map +1 -0
  38. package/dist/nodes/Linode/resources/longview/index.d.ts +2 -0
  39. package/dist/nodes/Linode/resources/longview/index.js +969 -0
  40. package/dist/nodes/Linode/resources/longview/index.js.map +1 -0
  41. package/dist/nodes/Linode/resources/managed/index.d.ts +2 -0
  42. package/dist/nodes/Linode/resources/managed/index.js +2904 -0
  43. package/dist/nodes/Linode/resources/managed/index.js.map +1 -0
  44. package/dist/nodes/Linode/resources/networking/index.d.ts +2 -0
  45. package/dist/nodes/Linode/resources/networking/index.js +2365 -0
  46. package/dist/nodes/Linode/resources/networking/index.js.map +1 -0
  47. package/dist/nodes/Linode/resources/node-balancers/index.d.ts +2 -0
  48. package/dist/nodes/Linode/resources/node-balancers/index.js +3158 -0
  49. package/dist/nodes/Linode/resources/node-balancers/index.js.map +1 -0
  50. package/dist/nodes/Linode/resources/object-storage/index.d.ts +2 -0
  51. package/dist/nodes/Linode/resources/object-storage/index.js +2053 -0
  52. package/dist/nodes/Linode/resources/object-storage/index.js.map +1 -0
  53. package/dist/nodes/Linode/resources/profile/index.d.ts +2 -0
  54. package/dist/nodes/Linode/resources/profile/index.js +2684 -0
  55. package/dist/nodes/Linode/resources/profile/index.js.map +1 -0
  56. package/dist/nodes/Linode/resources/regions/index.d.ts +2 -0
  57. package/dist/nodes/Linode/resources/regions/index.js +84 -0
  58. package/dist/nodes/Linode/resources/regions/index.js.map +1 -0
  59. package/dist/nodes/Linode/resources/stack-scripts/index.d.ts +2 -0
  60. package/dist/nodes/Linode/resources/stack-scripts/index.js +1102 -0
  61. package/dist/nodes/Linode/resources/stack-scripts/index.js.map +1 -0
  62. package/dist/nodes/Linode/resources/support/index.d.ts +2 -0
  63. package/dist/nodes/Linode/resources/support/index.js +883 -0
  64. package/dist/nodes/Linode/resources/support/index.js.map +1 -0
  65. package/dist/nodes/Linode/resources/tags/index.d.ts +2 -0
  66. package/dist/nodes/Linode/resources/tags/index.js +472 -0
  67. package/dist/nodes/Linode/resources/tags/index.js.map +1 -0
  68. package/dist/nodes/Linode/resources/volumes/index.d.ts +2 -0
  69. package/dist/nodes/Linode/resources/volumes/index.js +953 -0
  70. package/dist/nodes/Linode/resources/volumes/index.js.map +1 -0
  71. package/dist/package.json +62 -0
  72. package/dist/tsconfig.tsbuildinfo +1 -0
  73. package/package.json +62 -0
@@ -0,0 +1,1102 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.stackScriptsDescription = void 0;
4
+ exports.stackScriptsDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Stack Scripts"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Get Stack Scripts",
20
+ "value": "Get Stack Scripts",
21
+ "action": "StackScripts List",
22
+ "description": "If the request is not authenticated, only public StackScripts are returned.\n\nFor more information on StackScripts, please read our [StackScripts documentation](/docs/products/tools/stackscripts/).\n",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/linode/stackscripts"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Add Stack Script",
32
+ "value": "Add Stack Script",
33
+ "action": "StackScript Create",
34
+ "description": "Creates a StackScript in your Account.\n",
35
+ "routing": {
36
+ "request": {
37
+ "method": "POST",
38
+ "url": "=/linode/stackscripts"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Delete Stack Script",
44
+ "value": "Delete Stack Script",
45
+ "action": "StackScript Delete",
46
+ "description": "Deletes a private StackScript you have permission to `read_write`. You cannot delete a public StackScript.\n",
47
+ "routing": {
48
+ "request": {
49
+ "method": "DELETE",
50
+ "url": "=/linode/stackscripts/{{$parameter[\"stackscriptId\"]}}"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "Get Stack Script",
56
+ "value": "Get Stack Script",
57
+ "action": "StackScript View",
58
+ "description": "Returns all of the information about a specified StackScript, including the contents of the script.\n",
59
+ "routing": {
60
+ "request": {
61
+ "method": "GET",
62
+ "url": "=/linode/stackscripts/{{$parameter[\"stackscriptId\"]}}"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "Update Stack Script",
68
+ "value": "Update Stack Script",
69
+ "action": "StackScript Update",
70
+ "description": "Updates a StackScript.\n\n**Once a StackScript is made public, it cannot be made private.**\n",
71
+ "routing": {
72
+ "request": {
73
+ "method": "PUT",
74
+ "url": "=/linode/stackscripts/{{$parameter[\"stackscriptId\"]}}"
75
+ }
76
+ }
77
+ }
78
+ ],
79
+ "default": ""
80
+ },
81
+ {
82
+ "displayName": "GET /linode/stackscripts",
83
+ "name": "operation",
84
+ "type": "notice",
85
+ "typeOptions": {
86
+ "theme": "info"
87
+ },
88
+ "default": "",
89
+ "displayOptions": {
90
+ "show": {
91
+ "resource": [
92
+ "Stack Scripts"
93
+ ],
94
+ "operation": [
95
+ "Get Stack Scripts"
96
+ ]
97
+ }
98
+ }
99
+ },
100
+ {
101
+ "displayName": "Page",
102
+ "name": "page",
103
+ "description": "The page of a collection to return.",
104
+ "default": 1,
105
+ "type": "number",
106
+ "routing": {
107
+ "send": {
108
+ "type": "query",
109
+ "property": "page",
110
+ "value": "={{ $value }}",
111
+ "propertyInDotNotation": false
112
+ }
113
+ },
114
+ "displayOptions": {
115
+ "show": {
116
+ "resource": [
117
+ "Stack Scripts"
118
+ ],
119
+ "operation": [
120
+ "Get Stack Scripts"
121
+ ]
122
+ }
123
+ }
124
+ },
125
+ {
126
+ "displayName": "Page Size",
127
+ "name": "page_size",
128
+ "description": "The number of items to return per page.",
129
+ "default": 100,
130
+ "type": "number",
131
+ "routing": {
132
+ "send": {
133
+ "type": "query",
134
+ "property": "page_size",
135
+ "value": "={{ $value }}",
136
+ "propertyInDotNotation": false
137
+ }
138
+ },
139
+ "displayOptions": {
140
+ "show": {
141
+ "resource": [
142
+ "Stack Scripts"
143
+ ],
144
+ "operation": [
145
+ "Get Stack Scripts"
146
+ ]
147
+ }
148
+ }
149
+ },
150
+ {
151
+ "displayName": "Bearer Token",
152
+ "name": "security_personalaccesstoken",
153
+ "type": "string",
154
+ "default": "",
155
+ "description": "HTTP bearer authentication for personalAccessToken",
156
+ "required": false,
157
+ "routing": {
158
+ "request": {
159
+ "headers": {
160
+ "Authorization": "={{ 'Bearer ' + $value }}"
161
+ }
162
+ }
163
+ },
164
+ "displayOptions": {
165
+ "show": {
166
+ "resource": [
167
+ "Stack Scripts"
168
+ ],
169
+ "operation": [
170
+ "Get Stack Scripts"
171
+ ]
172
+ }
173
+ }
174
+ },
175
+ {
176
+ "displayName": "POST /linode/stackscripts",
177
+ "name": "operation",
178
+ "type": "notice",
179
+ "typeOptions": {
180
+ "theme": "info"
181
+ },
182
+ "default": "",
183
+ "displayOptions": {
184
+ "show": {
185
+ "resource": [
186
+ "Stack Scripts"
187
+ ],
188
+ "operation": [
189
+ "Add Stack Script"
190
+ ]
191
+ }
192
+ }
193
+ },
194
+ {
195
+ "displayName": "Created",
196
+ "name": "created",
197
+ "type": "string",
198
+ "default": "2018-01-01T00:01:01",
199
+ "description": "The date this StackScript was created.\n",
200
+ "routing": {
201
+ "send": {
202
+ "property": "created",
203
+ "propertyInDotNotation": false,
204
+ "type": "body",
205
+ "value": "={{ $value }}"
206
+ }
207
+ },
208
+ "displayOptions": {
209
+ "show": {
210
+ "resource": [
211
+ "Stack Scripts"
212
+ ],
213
+ "operation": [
214
+ "Add Stack Script"
215
+ ]
216
+ }
217
+ }
218
+ },
219
+ {
220
+ "displayName": "Deployments Active",
221
+ "name": "deployments_active",
222
+ "type": "number",
223
+ "default": 1,
224
+ "description": "Count of currently active, deployed Linodes created from this StackScript.\n",
225
+ "routing": {
226
+ "send": {
227
+ "property": "deployments_active",
228
+ "propertyInDotNotation": false,
229
+ "type": "body",
230
+ "value": "={{ $value }}"
231
+ }
232
+ },
233
+ "displayOptions": {
234
+ "show": {
235
+ "resource": [
236
+ "Stack Scripts"
237
+ ],
238
+ "operation": [
239
+ "Add Stack Script"
240
+ ]
241
+ }
242
+ }
243
+ },
244
+ {
245
+ "displayName": "Deployments Total",
246
+ "name": "deployments_total",
247
+ "type": "number",
248
+ "default": 12,
249
+ "description": "The total number of times this StackScript has been deployed.\n",
250
+ "routing": {
251
+ "send": {
252
+ "property": "deployments_total",
253
+ "propertyInDotNotation": false,
254
+ "type": "body",
255
+ "value": "={{ $value }}"
256
+ }
257
+ },
258
+ "displayOptions": {
259
+ "show": {
260
+ "resource": [
261
+ "Stack Scripts"
262
+ ],
263
+ "operation": [
264
+ "Add Stack Script"
265
+ ]
266
+ }
267
+ }
268
+ },
269
+ {
270
+ "displayName": "Description",
271
+ "name": "description",
272
+ "type": "string",
273
+ "default": "This StackScript installs and configures MySQL\n",
274
+ "description": "A description for the StackScript.\n",
275
+ "routing": {
276
+ "send": {
277
+ "property": "description",
278
+ "propertyInDotNotation": false,
279
+ "type": "body",
280
+ "value": "={{ $value }}"
281
+ }
282
+ },
283
+ "displayOptions": {
284
+ "show": {
285
+ "resource": [
286
+ "Stack Scripts"
287
+ ],
288
+ "operation": [
289
+ "Add Stack Script"
290
+ ]
291
+ }
292
+ }
293
+ },
294
+ {
295
+ "displayName": "ID",
296
+ "name": "id",
297
+ "type": "number",
298
+ "default": 10079,
299
+ "description": "The unique ID of this StackScript.",
300
+ "routing": {
301
+ "send": {
302
+ "property": "id",
303
+ "propertyInDotNotation": false,
304
+ "type": "body",
305
+ "value": "={{ $value }}"
306
+ }
307
+ },
308
+ "displayOptions": {
309
+ "show": {
310
+ "resource": [
311
+ "Stack Scripts"
312
+ ],
313
+ "operation": [
314
+ "Add Stack Script"
315
+ ]
316
+ }
317
+ }
318
+ },
319
+ {
320
+ "displayName": "Images",
321
+ "name": "images",
322
+ "type": "json",
323
+ "default": "[\n \"linode/debian9\",\n \"linode/debian8\"\n]",
324
+ "description": "An array of Image IDs. These are the Images that can be deployed with this StackScript.\n\n`any/all` indicates that all available Images, including private Images, are accepted.\n",
325
+ "routing": {
326
+ "send": {
327
+ "property": "images",
328
+ "propertyInDotNotation": false,
329
+ "type": "body",
330
+ "value": "={{ JSON.parse($value) }}"
331
+ }
332
+ },
333
+ "displayOptions": {
334
+ "show": {
335
+ "resource": [
336
+ "Stack Scripts"
337
+ ],
338
+ "operation": [
339
+ "Add Stack Script"
340
+ ]
341
+ }
342
+ }
343
+ },
344
+ {
345
+ "displayName": "Is Public",
346
+ "name": "is_public",
347
+ "type": "boolean",
348
+ "default": true,
349
+ "description": "This determines whether other users can use your StackScript. **Once a StackScript is made public, it cannot be made private.**\n",
350
+ "routing": {
351
+ "send": {
352
+ "property": "is_public",
353
+ "propertyInDotNotation": false,
354
+ "type": "body",
355
+ "value": "={{ $value }}"
356
+ }
357
+ },
358
+ "displayOptions": {
359
+ "show": {
360
+ "resource": [
361
+ "Stack Scripts"
362
+ ],
363
+ "operation": [
364
+ "Add Stack Script"
365
+ ]
366
+ }
367
+ }
368
+ },
369
+ {
370
+ "displayName": "Label",
371
+ "name": "label",
372
+ "type": "string",
373
+ "default": "a-stackscript",
374
+ "description": "The StackScript's label is for display purposes only.\n",
375
+ "routing": {
376
+ "send": {
377
+ "property": "label",
378
+ "propertyInDotNotation": false,
379
+ "type": "body",
380
+ "value": "={{ $value }}"
381
+ }
382
+ },
383
+ "displayOptions": {
384
+ "show": {
385
+ "resource": [
386
+ "Stack Scripts"
387
+ ],
388
+ "operation": [
389
+ "Add Stack Script"
390
+ ]
391
+ }
392
+ }
393
+ },
394
+ {
395
+ "displayName": "Mine",
396
+ "name": "mine",
397
+ "type": "boolean",
398
+ "default": true,
399
+ "description": "Returns `true` if this StackScript is owned by the account of the user making the request, and the user\nmaking the request is unrestricted or has access to this StackScript.\n",
400
+ "routing": {
401
+ "send": {
402
+ "property": "mine",
403
+ "propertyInDotNotation": false,
404
+ "type": "body",
405
+ "value": "={{ $value }}"
406
+ }
407
+ },
408
+ "displayOptions": {
409
+ "show": {
410
+ "resource": [
411
+ "Stack Scripts"
412
+ ],
413
+ "operation": [
414
+ "Add Stack Script"
415
+ ]
416
+ }
417
+ }
418
+ },
419
+ {
420
+ "displayName": "Rev Note",
421
+ "name": "rev_note",
422
+ "type": "string",
423
+ "default": "Set up MySQL",
424
+ "description": "This field allows you to add notes for the set of revisions made to this StackScript.\n",
425
+ "routing": {
426
+ "send": {
427
+ "property": "rev_note",
428
+ "propertyInDotNotation": false,
429
+ "type": "body",
430
+ "value": "={{ $value }}"
431
+ }
432
+ },
433
+ "displayOptions": {
434
+ "show": {
435
+ "resource": [
436
+ "Stack Scripts"
437
+ ],
438
+ "operation": [
439
+ "Add Stack Script"
440
+ ]
441
+ }
442
+ }
443
+ },
444
+ {
445
+ "displayName": "Script",
446
+ "name": "script",
447
+ "type": "string",
448
+ "default": "\"#!/bin/bash\"\n",
449
+ "description": "The script to execute when provisioning a new Linode with this StackScript.\n",
450
+ "routing": {
451
+ "send": {
452
+ "property": "script",
453
+ "propertyInDotNotation": false,
454
+ "type": "body",
455
+ "value": "={{ $value }}"
456
+ }
457
+ },
458
+ "displayOptions": {
459
+ "show": {
460
+ "resource": [
461
+ "Stack Scripts"
462
+ ],
463
+ "operation": [
464
+ "Add Stack Script"
465
+ ]
466
+ }
467
+ }
468
+ },
469
+ {
470
+ "displayName": "Updated",
471
+ "name": "updated",
472
+ "type": "string",
473
+ "default": "2018-01-01T00:01:01",
474
+ "description": "The date this StackScript was last updated.\n",
475
+ "routing": {
476
+ "send": {
477
+ "property": "updated",
478
+ "propertyInDotNotation": false,
479
+ "type": "body",
480
+ "value": "={{ $value }}"
481
+ }
482
+ },
483
+ "displayOptions": {
484
+ "show": {
485
+ "resource": [
486
+ "Stack Scripts"
487
+ ],
488
+ "operation": [
489
+ "Add Stack Script"
490
+ ]
491
+ }
492
+ }
493
+ },
494
+ {
495
+ "displayName": "User Defined Fields",
496
+ "name": "user_defined_fields",
497
+ "type": "json",
498
+ "default": "{\n \"example\": \"hunter2\",\n \"label\": \"Enter the DB password\",\n \"name\": \"DB_PASSWORD\"\n}",
499
+ "description": "This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment. See [Declare User-Defined Fields (UDFs)](/docs/products/tools/stackscripts/guides/write-a-custom-script/#declare-user-defined-fields-udfs) for more information.\n",
500
+ "routing": {
501
+ "send": {
502
+ "property": "user_defined_fields",
503
+ "propertyInDotNotation": false,
504
+ "type": "body",
505
+ "value": "={{ JSON.parse($value) }}"
506
+ }
507
+ },
508
+ "displayOptions": {
509
+ "show": {
510
+ "resource": [
511
+ "Stack Scripts"
512
+ ],
513
+ "operation": [
514
+ "Add Stack Script"
515
+ ]
516
+ }
517
+ }
518
+ },
519
+ {
520
+ "displayName": "User Gravatar ID",
521
+ "name": "user_gravatar_id",
522
+ "type": "string",
523
+ "default": "a445b305abda30ebc766bc7fda037c37",
524
+ "description": "The Gravatar ID for the User who created the StackScript.\n",
525
+ "routing": {
526
+ "send": {
527
+ "property": "user_gravatar_id",
528
+ "propertyInDotNotation": false,
529
+ "type": "body",
530
+ "value": "={{ $value }}"
531
+ }
532
+ },
533
+ "displayOptions": {
534
+ "show": {
535
+ "resource": [
536
+ "Stack Scripts"
537
+ ],
538
+ "operation": [
539
+ "Add Stack Script"
540
+ ]
541
+ }
542
+ }
543
+ },
544
+ {
545
+ "displayName": "Username",
546
+ "name": "username",
547
+ "type": "string",
548
+ "default": "myuser",
549
+ "description": "The User who created the StackScript.\n",
550
+ "routing": {
551
+ "send": {
552
+ "property": "username",
553
+ "propertyInDotNotation": false,
554
+ "type": "body",
555
+ "value": "={{ $value }}"
556
+ }
557
+ },
558
+ "displayOptions": {
559
+ "show": {
560
+ "resource": [
561
+ "Stack Scripts"
562
+ ],
563
+ "operation": [
564
+ "Add Stack Script"
565
+ ]
566
+ }
567
+ }
568
+ },
569
+ {
570
+ "displayName": "Bearer Token",
571
+ "name": "security_personalaccesstoken",
572
+ "type": "string",
573
+ "default": "",
574
+ "description": "HTTP bearer authentication for personalAccessToken",
575
+ "required": false,
576
+ "routing": {
577
+ "request": {
578
+ "headers": {
579
+ "Authorization": "={{ 'Bearer ' + $value }}"
580
+ }
581
+ }
582
+ },
583
+ "displayOptions": {
584
+ "show": {
585
+ "resource": [
586
+ "Stack Scripts"
587
+ ],
588
+ "operation": [
589
+ "Add Stack Script"
590
+ ]
591
+ }
592
+ }
593
+ },
594
+ {
595
+ "displayName": "DELETE /linode/stackscripts/{stackscriptId}",
596
+ "name": "operation",
597
+ "type": "notice",
598
+ "typeOptions": {
599
+ "theme": "info"
600
+ },
601
+ "default": "",
602
+ "displayOptions": {
603
+ "show": {
604
+ "resource": [
605
+ "Stack Scripts"
606
+ ],
607
+ "operation": [
608
+ "Delete Stack Script"
609
+ ]
610
+ }
611
+ }
612
+ },
613
+ {
614
+ "displayName": "Bearer Token",
615
+ "name": "security_personalaccesstoken",
616
+ "type": "string",
617
+ "default": "",
618
+ "description": "HTTP bearer authentication for personalAccessToken",
619
+ "required": false,
620
+ "routing": {
621
+ "request": {
622
+ "headers": {
623
+ "Authorization": "={{ 'Bearer ' + $value }}"
624
+ }
625
+ }
626
+ },
627
+ "displayOptions": {
628
+ "show": {
629
+ "resource": [
630
+ "Stack Scripts"
631
+ ],
632
+ "operation": [
633
+ "Delete Stack Script"
634
+ ]
635
+ }
636
+ }
637
+ },
638
+ {
639
+ "displayName": "GET /linode/stackscripts/{stackscriptId}",
640
+ "name": "operation",
641
+ "type": "notice",
642
+ "typeOptions": {
643
+ "theme": "info"
644
+ },
645
+ "default": "",
646
+ "displayOptions": {
647
+ "show": {
648
+ "resource": [
649
+ "Stack Scripts"
650
+ ],
651
+ "operation": [
652
+ "Get Stack Script"
653
+ ]
654
+ }
655
+ }
656
+ },
657
+ {
658
+ "displayName": "Bearer Token",
659
+ "name": "security_personalaccesstoken",
660
+ "type": "string",
661
+ "default": "",
662
+ "description": "HTTP bearer authentication for personalAccessToken",
663
+ "required": false,
664
+ "routing": {
665
+ "request": {
666
+ "headers": {
667
+ "Authorization": "={{ 'Bearer ' + $value }}"
668
+ }
669
+ }
670
+ },
671
+ "displayOptions": {
672
+ "show": {
673
+ "resource": [
674
+ "Stack Scripts"
675
+ ],
676
+ "operation": [
677
+ "Get Stack Script"
678
+ ]
679
+ }
680
+ }
681
+ },
682
+ {
683
+ "displayName": "PUT /linode/stackscripts/{stackscriptId}",
684
+ "name": "operation",
685
+ "type": "notice",
686
+ "typeOptions": {
687
+ "theme": "info"
688
+ },
689
+ "default": "",
690
+ "displayOptions": {
691
+ "show": {
692
+ "resource": [
693
+ "Stack Scripts"
694
+ ],
695
+ "operation": [
696
+ "Update Stack Script"
697
+ ]
698
+ }
699
+ }
700
+ },
701
+ {
702
+ "displayName": "Created",
703
+ "name": "created",
704
+ "type": "string",
705
+ "default": "2018-01-01T00:01:01",
706
+ "description": "The date this StackScript was created.\n",
707
+ "routing": {
708
+ "send": {
709
+ "property": "created",
710
+ "propertyInDotNotation": false,
711
+ "type": "body",
712
+ "value": "={{ $value }}"
713
+ }
714
+ },
715
+ "displayOptions": {
716
+ "show": {
717
+ "resource": [
718
+ "Stack Scripts"
719
+ ],
720
+ "operation": [
721
+ "Update Stack Script"
722
+ ]
723
+ }
724
+ }
725
+ },
726
+ {
727
+ "displayName": "Deployments Active",
728
+ "name": "deployments_active",
729
+ "type": "number",
730
+ "default": 1,
731
+ "description": "Count of currently active, deployed Linodes created from this StackScript.\n",
732
+ "routing": {
733
+ "send": {
734
+ "property": "deployments_active",
735
+ "propertyInDotNotation": false,
736
+ "type": "body",
737
+ "value": "={{ $value }}"
738
+ }
739
+ },
740
+ "displayOptions": {
741
+ "show": {
742
+ "resource": [
743
+ "Stack Scripts"
744
+ ],
745
+ "operation": [
746
+ "Update Stack Script"
747
+ ]
748
+ }
749
+ }
750
+ },
751
+ {
752
+ "displayName": "Deployments Total",
753
+ "name": "deployments_total",
754
+ "type": "number",
755
+ "default": 12,
756
+ "description": "The total number of times this StackScript has been deployed.\n",
757
+ "routing": {
758
+ "send": {
759
+ "property": "deployments_total",
760
+ "propertyInDotNotation": false,
761
+ "type": "body",
762
+ "value": "={{ $value }}"
763
+ }
764
+ },
765
+ "displayOptions": {
766
+ "show": {
767
+ "resource": [
768
+ "Stack Scripts"
769
+ ],
770
+ "operation": [
771
+ "Update Stack Script"
772
+ ]
773
+ }
774
+ }
775
+ },
776
+ {
777
+ "displayName": "Description",
778
+ "name": "description",
779
+ "type": "string",
780
+ "default": "This StackScript installs and configures MySQL\n",
781
+ "description": "A description for the StackScript.\n",
782
+ "routing": {
783
+ "send": {
784
+ "property": "description",
785
+ "propertyInDotNotation": false,
786
+ "type": "body",
787
+ "value": "={{ $value }}"
788
+ }
789
+ },
790
+ "displayOptions": {
791
+ "show": {
792
+ "resource": [
793
+ "Stack Scripts"
794
+ ],
795
+ "operation": [
796
+ "Update Stack Script"
797
+ ]
798
+ }
799
+ }
800
+ },
801
+ {
802
+ "displayName": "ID",
803
+ "name": "id",
804
+ "type": "number",
805
+ "default": 10079,
806
+ "description": "The unique ID of this StackScript.",
807
+ "routing": {
808
+ "send": {
809
+ "property": "id",
810
+ "propertyInDotNotation": false,
811
+ "type": "body",
812
+ "value": "={{ $value }}"
813
+ }
814
+ },
815
+ "displayOptions": {
816
+ "show": {
817
+ "resource": [
818
+ "Stack Scripts"
819
+ ],
820
+ "operation": [
821
+ "Update Stack Script"
822
+ ]
823
+ }
824
+ }
825
+ },
826
+ {
827
+ "displayName": "Images",
828
+ "name": "images",
829
+ "type": "json",
830
+ "default": "[\n \"linode/debian9\",\n \"linode/debian8\"\n]",
831
+ "description": "An array of Image IDs. These are the Images that can be deployed with this StackScript.\n\n`any/all` indicates that all available Images, including private Images, are accepted.\n",
832
+ "routing": {
833
+ "send": {
834
+ "property": "images",
835
+ "propertyInDotNotation": false,
836
+ "type": "body",
837
+ "value": "={{ JSON.parse($value) }}"
838
+ }
839
+ },
840
+ "displayOptions": {
841
+ "show": {
842
+ "resource": [
843
+ "Stack Scripts"
844
+ ],
845
+ "operation": [
846
+ "Update Stack Script"
847
+ ]
848
+ }
849
+ }
850
+ },
851
+ {
852
+ "displayName": "Is Public",
853
+ "name": "is_public",
854
+ "type": "boolean",
855
+ "default": true,
856
+ "description": "This determines whether other users can use your StackScript. **Once a StackScript is made public, it cannot be made private.**\n",
857
+ "routing": {
858
+ "send": {
859
+ "property": "is_public",
860
+ "propertyInDotNotation": false,
861
+ "type": "body",
862
+ "value": "={{ $value }}"
863
+ }
864
+ },
865
+ "displayOptions": {
866
+ "show": {
867
+ "resource": [
868
+ "Stack Scripts"
869
+ ],
870
+ "operation": [
871
+ "Update Stack Script"
872
+ ]
873
+ }
874
+ }
875
+ },
876
+ {
877
+ "displayName": "Label",
878
+ "name": "label",
879
+ "type": "string",
880
+ "default": "a-stackscript",
881
+ "description": "The StackScript's label is for display purposes only.\n",
882
+ "routing": {
883
+ "send": {
884
+ "property": "label",
885
+ "propertyInDotNotation": false,
886
+ "type": "body",
887
+ "value": "={{ $value }}"
888
+ }
889
+ },
890
+ "displayOptions": {
891
+ "show": {
892
+ "resource": [
893
+ "Stack Scripts"
894
+ ],
895
+ "operation": [
896
+ "Update Stack Script"
897
+ ]
898
+ }
899
+ }
900
+ },
901
+ {
902
+ "displayName": "Mine",
903
+ "name": "mine",
904
+ "type": "boolean",
905
+ "default": true,
906
+ "description": "Returns `true` if this StackScript is owned by the account of the user making the request, and the user\nmaking the request is unrestricted or has access to this StackScript.\n",
907
+ "routing": {
908
+ "send": {
909
+ "property": "mine",
910
+ "propertyInDotNotation": false,
911
+ "type": "body",
912
+ "value": "={{ $value }}"
913
+ }
914
+ },
915
+ "displayOptions": {
916
+ "show": {
917
+ "resource": [
918
+ "Stack Scripts"
919
+ ],
920
+ "operation": [
921
+ "Update Stack Script"
922
+ ]
923
+ }
924
+ }
925
+ },
926
+ {
927
+ "displayName": "Rev Note",
928
+ "name": "rev_note",
929
+ "type": "string",
930
+ "default": "Set up MySQL",
931
+ "description": "This field allows you to add notes for the set of revisions made to this StackScript.\n",
932
+ "routing": {
933
+ "send": {
934
+ "property": "rev_note",
935
+ "propertyInDotNotation": false,
936
+ "type": "body",
937
+ "value": "={{ $value }}"
938
+ }
939
+ },
940
+ "displayOptions": {
941
+ "show": {
942
+ "resource": [
943
+ "Stack Scripts"
944
+ ],
945
+ "operation": [
946
+ "Update Stack Script"
947
+ ]
948
+ }
949
+ }
950
+ },
951
+ {
952
+ "displayName": "Script",
953
+ "name": "script",
954
+ "type": "string",
955
+ "default": "\"#!/bin/bash\"\n",
956
+ "description": "The script to execute when provisioning a new Linode with this StackScript.\n",
957
+ "routing": {
958
+ "send": {
959
+ "property": "script",
960
+ "propertyInDotNotation": false,
961
+ "type": "body",
962
+ "value": "={{ $value }}"
963
+ }
964
+ },
965
+ "displayOptions": {
966
+ "show": {
967
+ "resource": [
968
+ "Stack Scripts"
969
+ ],
970
+ "operation": [
971
+ "Update Stack Script"
972
+ ]
973
+ }
974
+ }
975
+ },
976
+ {
977
+ "displayName": "Updated",
978
+ "name": "updated",
979
+ "type": "string",
980
+ "default": "2018-01-01T00:01:01",
981
+ "description": "The date this StackScript was last updated.\n",
982
+ "routing": {
983
+ "send": {
984
+ "property": "updated",
985
+ "propertyInDotNotation": false,
986
+ "type": "body",
987
+ "value": "={{ $value }}"
988
+ }
989
+ },
990
+ "displayOptions": {
991
+ "show": {
992
+ "resource": [
993
+ "Stack Scripts"
994
+ ],
995
+ "operation": [
996
+ "Update Stack Script"
997
+ ]
998
+ }
999
+ }
1000
+ },
1001
+ {
1002
+ "displayName": "User Defined Fields",
1003
+ "name": "user_defined_fields",
1004
+ "type": "json",
1005
+ "default": "{\n \"example\": \"hunter2\",\n \"label\": \"Enter the DB password\",\n \"name\": \"DB_PASSWORD\"\n}",
1006
+ "description": "This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment. See [Declare User-Defined Fields (UDFs)](/docs/products/tools/stackscripts/guides/write-a-custom-script/#declare-user-defined-fields-udfs) for more information.\n",
1007
+ "routing": {
1008
+ "send": {
1009
+ "property": "user_defined_fields",
1010
+ "propertyInDotNotation": false,
1011
+ "type": "body",
1012
+ "value": "={{ JSON.parse($value) }}"
1013
+ }
1014
+ },
1015
+ "displayOptions": {
1016
+ "show": {
1017
+ "resource": [
1018
+ "Stack Scripts"
1019
+ ],
1020
+ "operation": [
1021
+ "Update Stack Script"
1022
+ ]
1023
+ }
1024
+ }
1025
+ },
1026
+ {
1027
+ "displayName": "User Gravatar ID",
1028
+ "name": "user_gravatar_id",
1029
+ "type": "string",
1030
+ "default": "a445b305abda30ebc766bc7fda037c37",
1031
+ "description": "The Gravatar ID for the User who created the StackScript.\n",
1032
+ "routing": {
1033
+ "send": {
1034
+ "property": "user_gravatar_id",
1035
+ "propertyInDotNotation": false,
1036
+ "type": "body",
1037
+ "value": "={{ $value }}"
1038
+ }
1039
+ },
1040
+ "displayOptions": {
1041
+ "show": {
1042
+ "resource": [
1043
+ "Stack Scripts"
1044
+ ],
1045
+ "operation": [
1046
+ "Update Stack Script"
1047
+ ]
1048
+ }
1049
+ }
1050
+ },
1051
+ {
1052
+ "displayName": "Username",
1053
+ "name": "username",
1054
+ "type": "string",
1055
+ "default": "myuser",
1056
+ "description": "The User who created the StackScript.\n",
1057
+ "routing": {
1058
+ "send": {
1059
+ "property": "username",
1060
+ "propertyInDotNotation": false,
1061
+ "type": "body",
1062
+ "value": "={{ $value }}"
1063
+ }
1064
+ },
1065
+ "displayOptions": {
1066
+ "show": {
1067
+ "resource": [
1068
+ "Stack Scripts"
1069
+ ],
1070
+ "operation": [
1071
+ "Update Stack Script"
1072
+ ]
1073
+ }
1074
+ }
1075
+ },
1076
+ {
1077
+ "displayName": "Bearer Token",
1078
+ "name": "security_personalaccesstoken",
1079
+ "type": "string",
1080
+ "default": "",
1081
+ "description": "HTTP bearer authentication for personalAccessToken",
1082
+ "required": false,
1083
+ "routing": {
1084
+ "request": {
1085
+ "headers": {
1086
+ "Authorization": "={{ 'Bearer ' + $value }}"
1087
+ }
1088
+ }
1089
+ },
1090
+ "displayOptions": {
1091
+ "show": {
1092
+ "resource": [
1093
+ "Stack Scripts"
1094
+ ],
1095
+ "operation": [
1096
+ "Update Stack Script"
1097
+ ]
1098
+ }
1099
+ }
1100
+ },
1101
+ ];
1102
+ //# sourceMappingURL=index.js.map