@n8n-dev/n8n-nodes-hcloud 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 (81) hide show
  1. package/README.md +26 -0
  2. package/dist/credentials/HcloudApi.credentials.d.ts +10 -0
  3. package/dist/credentials/HcloudApi.credentials.js +47 -0
  4. package/dist/credentials/HcloudApi.credentials.js.map +1 -0
  5. package/dist/icons/hcloud.dark.svg +4 -0
  6. package/dist/icons/hcloud.svg +4 -0
  7. package/dist/nodes/Hcloud/Hcloud.node.d.ts +4 -0
  8. package/dist/nodes/Hcloud/Hcloud.node.js +194 -0
  9. package/dist/nodes/Hcloud/Hcloud.node.js.map +1 -0
  10. package/dist/nodes/Hcloud/Hcloud.node.json +20 -0
  11. package/dist/nodes/Hcloud/hcloud.dark.svg +4 -0
  12. package/dist/nodes/Hcloud/hcloud.svg +4 -0
  13. package/dist/nodes/Hcloud/resources/actions/index.d.ts +2 -0
  14. package/dist/nodes/Hcloud/resources/actions/index.js +128 -0
  15. package/dist/nodes/Hcloud/resources/actions/index.js.map +1 -0
  16. package/dist/nodes/Hcloud/resources/certificates/index.d.ts +2 -0
  17. package/dist/nodes/Hcloud/resources/certificates/index.js +1062 -0
  18. package/dist/nodes/Hcloud/resources/certificates/index.js.map +1 -0
  19. package/dist/nodes/Hcloud/resources/datacenters/index.d.ts +2 -0
  20. package/dist/nodes/Hcloud/resources/datacenters/index.js +202 -0
  21. package/dist/nodes/Hcloud/resources/datacenters/index.js.map +1 -0
  22. package/dist/nodes/Hcloud/resources/firewalls/index.d.ts +2 -0
  23. package/dist/nodes/Hcloud/resources/firewalls/index.js +1153 -0
  24. package/dist/nodes/Hcloud/resources/firewalls/index.js.map +1 -0
  25. package/dist/nodes/Hcloud/resources/floating-ips/index.d.ts +2 -0
  26. package/dist/nodes/Hcloud/resources/floating-ips/index.js +1313 -0
  27. package/dist/nodes/Hcloud/resources/floating-ips/index.js.map +1 -0
  28. package/dist/nodes/Hcloud/resources/images/index.d.ts +2 -0
  29. package/dist/nodes/Hcloud/resources/images/index.js +1036 -0
  30. package/dist/nodes/Hcloud/resources/images/index.js.map +1 -0
  31. package/dist/nodes/Hcloud/resources/index.d.ts +21 -0
  32. package/dist/nodes/Hcloud/resources/index.js +46 -0
  33. package/dist/nodes/Hcloud/resources/index.js.map +1 -0
  34. package/dist/nodes/Hcloud/resources/isos/index.d.ts +2 -0
  35. package/dist/nodes/Hcloud/resources/isos/index.js +237 -0
  36. package/dist/nodes/Hcloud/resources/isos/index.js.map +1 -0
  37. package/dist/nodes/Hcloud/resources/load-balancer-types/index.d.ts +2 -0
  38. package/dist/nodes/Hcloud/resources/load-balancer-types/index.js +177 -0
  39. package/dist/nodes/Hcloud/resources/load-balancer-types/index.js.map +1 -0
  40. package/dist/nodes/Hcloud/resources/load-balancers/index.d.ts +2 -0
  41. package/dist/nodes/Hcloud/resources/load-balancers/index.js +2724 -0
  42. package/dist/nodes/Hcloud/resources/load-balancers/index.js.map +1 -0
  43. package/dist/nodes/Hcloud/resources/locations/index.d.ts +2 -0
  44. package/dist/nodes/Hcloud/resources/locations/index.js +202 -0
  45. package/dist/nodes/Hcloud/resources/locations/index.js.map +1 -0
  46. package/dist/nodes/Hcloud/resources/networks/index.d.ts +2 -0
  47. package/dist/nodes/Hcloud/resources/networks/index.js +1595 -0
  48. package/dist/nodes/Hcloud/resources/networks/index.js.map +1 -0
  49. package/dist/nodes/Hcloud/resources/placement-groups/index.d.ts +2 -0
  50. package/dist/nodes/Hcloud/resources/placement-groups/index.js +514 -0
  51. package/dist/nodes/Hcloud/resources/placement-groups/index.js.map +1 -0
  52. package/dist/nodes/Hcloud/resources/pricing/index.d.ts +2 -0
  53. package/dist/nodes/Hcloud/resources/pricing/index.js +53 -0
  54. package/dist/nodes/Hcloud/resources/pricing/index.js.map +1 -0
  55. package/dist/nodes/Hcloud/resources/primary-ips/index.d.ts +2 -0
  56. package/dist/nodes/Hcloud/resources/primary-ips/index.js +1428 -0
  57. package/dist/nodes/Hcloud/resources/primary-ips/index.js.map +1 -0
  58. package/dist/nodes/Hcloud/resources/server-types/index.d.ts +2 -0
  59. package/dist/nodes/Hcloud/resources/server-types/index.js +177 -0
  60. package/dist/nodes/Hcloud/resources/server-types/index.js.map +1 -0
  61. package/dist/nodes/Hcloud/resources/servers/index.d.ts +2 -0
  62. package/dist/nodes/Hcloud/resources/servers/index.js +3086 -0
  63. package/dist/nodes/Hcloud/resources/servers/index.js.map +1 -0
  64. package/dist/nodes/Hcloud/resources/ssh-keys/index.d.ts +2 -0
  65. package/dist/nodes/Hcloud/resources/ssh-keys/index.js +508 -0
  66. package/dist/nodes/Hcloud/resources/ssh-keys/index.js.map +1 -0
  67. package/dist/nodes/Hcloud/resources/storage-box-types/index.d.ts +2 -0
  68. package/dist/nodes/Hcloud/resources/storage-box-types/index.js +177 -0
  69. package/dist/nodes/Hcloud/resources/storage-box-types/index.js.map +1 -0
  70. package/dist/nodes/Hcloud/resources/storage-boxes/index.d.ts +2 -0
  71. package/dist/nodes/Hcloud/resources/storage-boxes/index.js +3281 -0
  72. package/dist/nodes/Hcloud/resources/storage-boxes/index.js.map +1 -0
  73. package/dist/nodes/Hcloud/resources/volumes/index.d.ts +2 -0
  74. package/dist/nodes/Hcloud/resources/volumes/index.js +1327 -0
  75. package/dist/nodes/Hcloud/resources/volumes/index.js.map +1 -0
  76. package/dist/nodes/Hcloud/resources/zones/index.d.ts +2 -0
  77. package/dist/nodes/Hcloud/resources/zones/index.js +3379 -0
  78. package/dist/nodes/Hcloud/resources/zones/index.js.map +1 -0
  79. package/dist/package.json +53 -0
  80. package/dist/tsconfig.tsbuildinfo +1 -0
  81. package/package.json +53 -0
@@ -0,0 +1,1327 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.volumesDescription = void 0;
4
+ exports.volumesDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Volumes"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "List Volumes",
20
+ "value": "List Volumes",
21
+ "action": "List Volumes",
22
+ "description": "Gets all existing Volumes that you have available.\n",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/volumes"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Create Volume",
32
+ "value": "Create Volume",
33
+ "action": "Create a Volume",
34
+ "description": "Creates a new Volume attached to a Server. If you want to create a Volume that is not attached to a Server, you need to provide the `location` key instead of `server`. This can be either the ID or the name of the Location this Volume will be created in. Note that a Volume can be attached to a Server only in the same Location as the Volume itself.\n\nSpecifying the Server during Volume creation will automatically attach the Volume to that Server after it has been initialized. In that case, the `next_actions` key in the response is an array which contains a single `attach_volume` action.\n\nThe minimum Volume size is 10GB and the maximum size is 10TB (10240GB).\n\nA volume’s name can consist of alphanumeric characters, dashes, underscores, and dots, but has to start and end with an alphanumeric character. The total length is limited to 64 characters. Volume names must be unique per Project.\n\n#### Operation specific errors\n\n| Status | Code | Description |\n| --- | --- | --- |\n| | `no_space_left_in_location` | There is no volume space left in the given location |\n",
35
+ "routing": {
36
+ "request": {
37
+ "method": "POST",
38
+ "url": "=/volumes"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Delete Volume",
44
+ "value": "Delete Volume",
45
+ "action": "Delete a Volume",
46
+ "description": "Deletes a volume. All Volume data is irreversibly destroyed. The Volume must not be attached to a Server and it must not have delete protection enabled.\n",
47
+ "routing": {
48
+ "request": {
49
+ "method": "DELETE",
50
+ "url": "=/volumes/{{$parameter[\"id\"]}}"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "Get Volume",
56
+ "value": "Get Volume",
57
+ "action": "Get a Volume",
58
+ "description": "Gets a specific Volume object.\n",
59
+ "routing": {
60
+ "request": {
61
+ "method": "GET",
62
+ "url": "=/volumes/{{$parameter[\"id\"]}}"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "Replace Volume",
68
+ "value": "Replace Volume",
69
+ "action": "Update a Volume",
70
+ "description": "Updates the Volume properties.\n",
71
+ "routing": {
72
+ "request": {
73
+ "method": "PUT",
74
+ "url": "=/volumes/{{$parameter[\"id\"]}}"
75
+ }
76
+ }
77
+ },
78
+ {
79
+ "name": "List Actions For Volume",
80
+ "value": "List Actions For Volume",
81
+ "action": "List Actions for a Volume",
82
+ "description": "Returns all Action objects for a Volume. You can `sort` the results by using the sort URI parameter, and filter them with the `status` parameter.\n",
83
+ "routing": {
84
+ "request": {
85
+ "method": "GET",
86
+ "url": "=/volumes/{{$parameter[\"id\"]}}/actions"
87
+ }
88
+ }
89
+ },
90
+ {
91
+ "name": "Get Action For Volume",
92
+ "value": "Get Action For Volume",
93
+ "action": "Get an Action for a Volume",
94
+ "description": "Returns a specific Action for a Volume.\n",
95
+ "routing": {
96
+ "request": {
97
+ "method": "GET",
98
+ "url": "=/volumes/{{$parameter[\"id\"]}}/actions/{{$parameter[\"action_id\"]}}"
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "name": "Attach Volume To Server",
104
+ "value": "Attach Volume To Server",
105
+ "action": "Attach Volume to a Server",
106
+ "description": "Attaches a Volume to a Server. Works only if the Server is in the same Location as the Volume.\n",
107
+ "routing": {
108
+ "request": {
109
+ "method": "POST",
110
+ "url": "=/volumes/{{$parameter[\"id\"]}}/actions/attach"
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "name": "Change Volume Protection",
116
+ "value": "Change Volume Protection",
117
+ "action": "Change Volume Protection",
118
+ "description": "Changes the protection configuration of a Volume.\n",
119
+ "routing": {
120
+ "request": {
121
+ "method": "POST",
122
+ "url": "=/volumes/{{$parameter[\"id\"]}}/actions/change_protection"
123
+ }
124
+ }
125
+ },
126
+ {
127
+ "name": "Detach Volume",
128
+ "value": "Detach Volume",
129
+ "action": "Detach Volume",
130
+ "description": "Detaches a Volume from the Server it’s attached to. You may attach it to a Server again at a later time.\n",
131
+ "routing": {
132
+ "request": {
133
+ "method": "POST",
134
+ "url": "=/volumes/{{$parameter[\"id\"]}}/actions/detach"
135
+ }
136
+ }
137
+ },
138
+ {
139
+ "name": "Resize Volume",
140
+ "value": "Resize Volume",
141
+ "action": "Resize Volume",
142
+ "description": "Changes the size of a Volume. Note that downsizing a Volume is not possible.\n",
143
+ "routing": {
144
+ "request": {
145
+ "method": "POST",
146
+ "url": "=/volumes/{{$parameter[\"id\"]}}/actions/resize"
147
+ }
148
+ }
149
+ },
150
+ {
151
+ "name": "List Volume Actions",
152
+ "value": "List Volume Actions",
153
+ "action": "List Actions",
154
+ "description": "Returns all Action objects. You can `sort` the results by using the sort URI parameter, and filter them with the `status` and `id` parameter.\n",
155
+ "routing": {
156
+ "request": {
157
+ "method": "GET",
158
+ "url": "=/volumes/actions"
159
+ }
160
+ }
161
+ },
162
+ {
163
+ "name": "Get Volume Action",
164
+ "value": "Get Volume Action",
165
+ "action": "Get an Action",
166
+ "description": "Returns a specific Action object.\n",
167
+ "routing": {
168
+ "request": {
169
+ "method": "GET",
170
+ "url": "=/volumes/actions/{{$parameter[\"id\"]}}"
171
+ }
172
+ }
173
+ }
174
+ ],
175
+ "default": ""
176
+ },
177
+ {
178
+ "displayName": "GET /volumes",
179
+ "name": "operation",
180
+ "type": "notice",
181
+ "typeOptions": {
182
+ "theme": "info"
183
+ },
184
+ "default": "",
185
+ "displayOptions": {
186
+ "show": {
187
+ "resource": [
188
+ "Volumes"
189
+ ],
190
+ "operation": [
191
+ "List Volumes"
192
+ ]
193
+ }
194
+ }
195
+ },
196
+ {
197
+ "displayName": "Status",
198
+ "name": "status",
199
+ "description": "Filter resources by status. Can be used multiple times. The response will only\ncontain the resources with the specified status.\n",
200
+ "default": "[\n \"available\"\n]",
201
+ "type": "json",
202
+ "routing": {
203
+ "send": {
204
+ "type": "query",
205
+ "property": "status",
206
+ "value": "={{ $value }}",
207
+ "propertyInDotNotation": false
208
+ }
209
+ },
210
+ "displayOptions": {
211
+ "show": {
212
+ "resource": [
213
+ "Volumes"
214
+ ],
215
+ "operation": [
216
+ "List Volumes"
217
+ ]
218
+ }
219
+ }
220
+ },
221
+ {
222
+ "displayName": "Sort",
223
+ "name": "sort",
224
+ "description": "Sort resources by field and direction. Can be used multiple times. For more\ninformation, see \"Sorting\".\n",
225
+ "default": "[\n null\n]",
226
+ "type": "json",
227
+ "routing": {
228
+ "send": {
229
+ "type": "query",
230
+ "property": "sort",
231
+ "value": "={{ $value }}",
232
+ "propertyInDotNotation": false
233
+ }
234
+ },
235
+ "displayOptions": {
236
+ "show": {
237
+ "resource": [
238
+ "Volumes"
239
+ ],
240
+ "operation": [
241
+ "List Volumes"
242
+ ]
243
+ }
244
+ }
245
+ },
246
+ {
247
+ "displayName": "Name",
248
+ "name": "name",
249
+ "description": "Filter resources by their name. The response will only contain the resources\nmatching exactly the specified name.\n",
250
+ "default": "",
251
+ "type": "string",
252
+ "routing": {
253
+ "send": {
254
+ "type": "query",
255
+ "property": "name",
256
+ "value": "={{ $value }}",
257
+ "propertyInDotNotation": false
258
+ }
259
+ },
260
+ "displayOptions": {
261
+ "show": {
262
+ "resource": [
263
+ "Volumes"
264
+ ],
265
+ "operation": [
266
+ "List Volumes"
267
+ ]
268
+ }
269
+ }
270
+ },
271
+ {
272
+ "displayName": "Label Selector",
273
+ "name": "label_selector",
274
+ "description": "Filter resources by labels. The response will only contain resources matching the\nlabel selector. For more information, see \"Label Selector\".\n",
275
+ "default": "",
276
+ "type": "string",
277
+ "routing": {
278
+ "send": {
279
+ "type": "query",
280
+ "property": "label_selector",
281
+ "value": "={{ $value }}",
282
+ "propertyInDotNotation": false
283
+ }
284
+ },
285
+ "displayOptions": {
286
+ "show": {
287
+ "resource": [
288
+ "Volumes"
289
+ ],
290
+ "operation": [
291
+ "List Volumes"
292
+ ]
293
+ }
294
+ }
295
+ },
296
+ {
297
+ "displayName": "Page",
298
+ "name": "page",
299
+ "description": "Page number to return. For more information, see \"Pagination\".",
300
+ "default": 1,
301
+ "type": "number",
302
+ "routing": {
303
+ "send": {
304
+ "type": "query",
305
+ "property": "page",
306
+ "value": "={{ $value }}",
307
+ "propertyInDotNotation": false
308
+ }
309
+ },
310
+ "displayOptions": {
311
+ "show": {
312
+ "resource": [
313
+ "Volumes"
314
+ ],
315
+ "operation": [
316
+ "List Volumes"
317
+ ]
318
+ }
319
+ }
320
+ },
321
+ {
322
+ "displayName": "Per Page",
323
+ "name": "per_page",
324
+ "description": "Maximum number of entries returned per page. For more information, see \"Pagination\".",
325
+ "default": 25,
326
+ "type": "number",
327
+ "routing": {
328
+ "send": {
329
+ "type": "query",
330
+ "property": "per_page",
331
+ "value": "={{ $value }}",
332
+ "propertyInDotNotation": false
333
+ }
334
+ },
335
+ "displayOptions": {
336
+ "show": {
337
+ "resource": [
338
+ "Volumes"
339
+ ],
340
+ "operation": [
341
+ "List Volumes"
342
+ ]
343
+ }
344
+ }
345
+ },
346
+ {
347
+ "displayName": "POST /volumes",
348
+ "name": "operation",
349
+ "type": "notice",
350
+ "typeOptions": {
351
+ "theme": "info"
352
+ },
353
+ "default": "",
354
+ "displayOptions": {
355
+ "show": {
356
+ "resource": [
357
+ "Volumes"
358
+ ],
359
+ "operation": [
360
+ "Create Volume"
361
+ ]
362
+ }
363
+ }
364
+ },
365
+ {
366
+ "displayName": "Automount",
367
+ "name": "automount",
368
+ "type": "boolean",
369
+ "default": false,
370
+ "description": "Auto-mount Volume after attach. `server` must be provided.",
371
+ "routing": {
372
+ "send": {
373
+ "property": "automount",
374
+ "propertyInDotNotation": false,
375
+ "type": "body",
376
+ "value": "={{ $value }}"
377
+ }
378
+ },
379
+ "displayOptions": {
380
+ "show": {
381
+ "resource": [
382
+ "Volumes"
383
+ ],
384
+ "operation": [
385
+ "Create Volume"
386
+ ]
387
+ }
388
+ }
389
+ },
390
+ {
391
+ "displayName": "Format",
392
+ "name": "format",
393
+ "type": "string",
394
+ "default": "xfs",
395
+ "description": "Format Volume after creation. One of: `xfs`, `ext4`.",
396
+ "routing": {
397
+ "send": {
398
+ "property": "format",
399
+ "propertyInDotNotation": false,
400
+ "type": "body",
401
+ "value": "={{ $value }}"
402
+ }
403
+ },
404
+ "displayOptions": {
405
+ "show": {
406
+ "resource": [
407
+ "Volumes"
408
+ ],
409
+ "operation": [
410
+ "Create Volume"
411
+ ]
412
+ }
413
+ }
414
+ },
415
+ {
416
+ "displayName": "Labels",
417
+ "name": "labels",
418
+ "type": "json",
419
+ "default": "{\n \"environment\": \"prod\",\n \"example.com/my\": \"label\",\n \"just-a-key\": \"\"\n}",
420
+ "description": "User-defined labels (`key/value` pairs) for the Resource.\nFor more information, see \"Labels\".\n | User-defined labels (`key/value` pairs) for the Resource.\n\nNote that the set of Labels provided in the request will overwrite the\nexisting one.\n\nFor more information, see \"Labels\".\n",
421
+ "routing": {
422
+ "send": {
423
+ "property": "labels",
424
+ "propertyInDotNotation": false,
425
+ "type": "body",
426
+ "value": "={{ JSON.parse($value) }}"
427
+ }
428
+ },
429
+ "displayOptions": {
430
+ "show": {
431
+ "resource": [
432
+ "Volumes"
433
+ ],
434
+ "operation": [
435
+ "Create Volume"
436
+ ]
437
+ }
438
+ }
439
+ },
440
+ {
441
+ "displayName": "Location",
442
+ "name": "location",
443
+ "type": "string",
444
+ "default": "nbg1",
445
+ "description": "Location to create the Volume in (can be omitted if Server is specified).",
446
+ "routing": {
447
+ "send": {
448
+ "property": "location",
449
+ "propertyInDotNotation": false,
450
+ "type": "body",
451
+ "value": "={{ $value }}"
452
+ }
453
+ },
454
+ "displayOptions": {
455
+ "show": {
456
+ "resource": [
457
+ "Volumes"
458
+ ],
459
+ "operation": [
460
+ "Create Volume"
461
+ ]
462
+ }
463
+ }
464
+ },
465
+ {
466
+ "required": true,
467
+ "displayName": "Name",
468
+ "name": "name",
469
+ "type": "string",
470
+ "default": "databases-storage",
471
+ "description": "Name of the volume.",
472
+ "routing": {
473
+ "send": {
474
+ "property": "name",
475
+ "propertyInDotNotation": false,
476
+ "type": "body",
477
+ "value": "={{ $value }}"
478
+ }
479
+ },
480
+ "displayOptions": {
481
+ "show": {
482
+ "resource": [
483
+ "Volumes"
484
+ ],
485
+ "operation": [
486
+ "Create Volume"
487
+ ]
488
+ }
489
+ }
490
+ },
491
+ {
492
+ "displayName": "Server",
493
+ "name": "server",
494
+ "type": "number",
495
+ "default": 0,
496
+ "description": "Server to which to attach the Volume once it's created (Volume will be created in the same Location as the server).",
497
+ "routing": {
498
+ "send": {
499
+ "property": "server",
500
+ "propertyInDotNotation": false,
501
+ "type": "body",
502
+ "value": "={{ $value }}"
503
+ }
504
+ },
505
+ "displayOptions": {
506
+ "show": {
507
+ "resource": [
508
+ "Volumes"
509
+ ],
510
+ "operation": [
511
+ "Create Volume"
512
+ ]
513
+ }
514
+ }
515
+ },
516
+ {
517
+ "required": true,
518
+ "displayName": "Size",
519
+ "name": "size",
520
+ "type": "number",
521
+ "default": 42,
522
+ "description": "Size of the Volume in GB.",
523
+ "routing": {
524
+ "send": {
525
+ "property": "size",
526
+ "propertyInDotNotation": false,
527
+ "type": "body",
528
+ "value": "={{ $value }}"
529
+ }
530
+ },
531
+ "displayOptions": {
532
+ "show": {
533
+ "resource": [
534
+ "Volumes"
535
+ ],
536
+ "operation": [
537
+ "Create Volume"
538
+ ]
539
+ }
540
+ }
541
+ },
542
+ {
543
+ "displayName": "DELETE /volumes/{id}",
544
+ "name": "operation",
545
+ "type": "notice",
546
+ "typeOptions": {
547
+ "theme": "info"
548
+ },
549
+ "default": "",
550
+ "displayOptions": {
551
+ "show": {
552
+ "resource": [
553
+ "Volumes"
554
+ ],
555
+ "operation": [
556
+ "Delete Volume"
557
+ ]
558
+ }
559
+ }
560
+ },
561
+ {
562
+ "displayName": "Id",
563
+ "name": "id",
564
+ "required": true,
565
+ "description": "ID of the Volume.",
566
+ "default": 42,
567
+ "type": "number",
568
+ "displayOptions": {
569
+ "show": {
570
+ "resource": [
571
+ "Volumes"
572
+ ],
573
+ "operation": [
574
+ "Delete Volume"
575
+ ]
576
+ }
577
+ }
578
+ },
579
+ {
580
+ "displayName": "GET /volumes/{id}",
581
+ "name": "operation",
582
+ "type": "notice",
583
+ "typeOptions": {
584
+ "theme": "info"
585
+ },
586
+ "default": "",
587
+ "displayOptions": {
588
+ "show": {
589
+ "resource": [
590
+ "Volumes"
591
+ ],
592
+ "operation": [
593
+ "Get Volume"
594
+ ]
595
+ }
596
+ }
597
+ },
598
+ {
599
+ "displayName": "Id",
600
+ "name": "id",
601
+ "required": true,
602
+ "description": "ID of the Volume.",
603
+ "default": 42,
604
+ "type": "number",
605
+ "displayOptions": {
606
+ "show": {
607
+ "resource": [
608
+ "Volumes"
609
+ ],
610
+ "operation": [
611
+ "Get Volume"
612
+ ]
613
+ }
614
+ }
615
+ },
616
+ {
617
+ "displayName": "PUT /volumes/{id}",
618
+ "name": "operation",
619
+ "type": "notice",
620
+ "typeOptions": {
621
+ "theme": "info"
622
+ },
623
+ "default": "",
624
+ "displayOptions": {
625
+ "show": {
626
+ "resource": [
627
+ "Volumes"
628
+ ],
629
+ "operation": [
630
+ "Replace Volume"
631
+ ]
632
+ }
633
+ }
634
+ },
635
+ {
636
+ "displayName": "Id",
637
+ "name": "id",
638
+ "required": true,
639
+ "description": "ID of the Volume.",
640
+ "default": 42,
641
+ "type": "number",
642
+ "displayOptions": {
643
+ "show": {
644
+ "resource": [
645
+ "Volumes"
646
+ ],
647
+ "operation": [
648
+ "Replace Volume"
649
+ ]
650
+ }
651
+ }
652
+ },
653
+ {
654
+ "displayName": "Labels",
655
+ "name": "labels",
656
+ "type": "json",
657
+ "default": "{\n \"environment\": \"prod\",\n \"example.com/my\": \"label\",\n \"just-a-key\": \"\"\n}",
658
+ "description": "User-defined labels (`key/value` pairs) for the Resource.\nFor more information, see \"Labels\".\n | User-defined labels (`key/value` pairs) for the Resource.\n\nNote that the set of Labels provided in the request will overwrite the\nexisting one.\n\nFor more information, see \"Labels\".\n",
659
+ "routing": {
660
+ "send": {
661
+ "property": "labels",
662
+ "propertyInDotNotation": false,
663
+ "type": "body",
664
+ "value": "={{ JSON.parse($value) }}"
665
+ }
666
+ },
667
+ "displayOptions": {
668
+ "show": {
669
+ "resource": [
670
+ "Volumes"
671
+ ],
672
+ "operation": [
673
+ "Replace Volume"
674
+ ]
675
+ }
676
+ }
677
+ },
678
+ {
679
+ "displayName": "Name",
680
+ "name": "name",
681
+ "type": "string",
682
+ "default": "database-storage",
683
+ "description": "New Volume name.",
684
+ "routing": {
685
+ "send": {
686
+ "property": "name",
687
+ "propertyInDotNotation": false,
688
+ "type": "body",
689
+ "value": "={{ $value }}"
690
+ }
691
+ },
692
+ "displayOptions": {
693
+ "show": {
694
+ "resource": [
695
+ "Volumes"
696
+ ],
697
+ "operation": [
698
+ "Replace Volume"
699
+ ]
700
+ }
701
+ }
702
+ },
703
+ {
704
+ "displayName": "GET /volumes/{id}/actions",
705
+ "name": "operation",
706
+ "type": "notice",
707
+ "typeOptions": {
708
+ "theme": "info"
709
+ },
710
+ "default": "",
711
+ "displayOptions": {
712
+ "show": {
713
+ "resource": [
714
+ "Volumes"
715
+ ],
716
+ "operation": [
717
+ "List Actions For Volume"
718
+ ]
719
+ }
720
+ }
721
+ },
722
+ {
723
+ "displayName": "Id",
724
+ "name": "id",
725
+ "required": true,
726
+ "description": "ID of the Volume.",
727
+ "default": 42,
728
+ "type": "number",
729
+ "displayOptions": {
730
+ "show": {
731
+ "resource": [
732
+ "Volumes"
733
+ ],
734
+ "operation": [
735
+ "List Actions For Volume"
736
+ ]
737
+ }
738
+ }
739
+ },
740
+ {
741
+ "displayName": "Sort",
742
+ "name": "sort",
743
+ "description": "Sort actions by field and direction. Can be used multiple times. For more\ninformation, see \"Sorting\".\n",
744
+ "default": "[\n null\n]",
745
+ "type": "json",
746
+ "routing": {
747
+ "send": {
748
+ "type": "query",
749
+ "property": "sort",
750
+ "value": "={{ $value }}",
751
+ "propertyInDotNotation": false
752
+ }
753
+ },
754
+ "displayOptions": {
755
+ "show": {
756
+ "resource": [
757
+ "Volumes"
758
+ ],
759
+ "operation": [
760
+ "List Actions For Volume"
761
+ ]
762
+ }
763
+ }
764
+ },
765
+ {
766
+ "displayName": "Status",
767
+ "name": "status",
768
+ "description": "Filter the actions by status. Can be used multiple times. The response will only\ncontain actions matching the specified statuses.\n",
769
+ "default": "[\n null\n]",
770
+ "type": "json",
771
+ "routing": {
772
+ "send": {
773
+ "type": "query",
774
+ "property": "status",
775
+ "value": "={{ $value }}",
776
+ "propertyInDotNotation": false
777
+ }
778
+ },
779
+ "displayOptions": {
780
+ "show": {
781
+ "resource": [
782
+ "Volumes"
783
+ ],
784
+ "operation": [
785
+ "List Actions For Volume"
786
+ ]
787
+ }
788
+ }
789
+ },
790
+ {
791
+ "displayName": "Page",
792
+ "name": "page",
793
+ "description": "Page number to return. For more information, see \"Pagination\".",
794
+ "default": 1,
795
+ "type": "number",
796
+ "routing": {
797
+ "send": {
798
+ "type": "query",
799
+ "property": "page",
800
+ "value": "={{ $value }}",
801
+ "propertyInDotNotation": false
802
+ }
803
+ },
804
+ "displayOptions": {
805
+ "show": {
806
+ "resource": [
807
+ "Volumes"
808
+ ],
809
+ "operation": [
810
+ "List Actions For Volume"
811
+ ]
812
+ }
813
+ }
814
+ },
815
+ {
816
+ "displayName": "Per Page",
817
+ "name": "per_page",
818
+ "description": "Maximum number of entries returned per page. For more information, see \"Pagination\".",
819
+ "default": 25,
820
+ "type": "number",
821
+ "routing": {
822
+ "send": {
823
+ "type": "query",
824
+ "property": "per_page",
825
+ "value": "={{ $value }}",
826
+ "propertyInDotNotation": false
827
+ }
828
+ },
829
+ "displayOptions": {
830
+ "show": {
831
+ "resource": [
832
+ "Volumes"
833
+ ],
834
+ "operation": [
835
+ "List Actions For Volume"
836
+ ]
837
+ }
838
+ }
839
+ },
840
+ {
841
+ "displayName": "GET /volumes/{id}/actions/{action_id}",
842
+ "name": "operation",
843
+ "type": "notice",
844
+ "typeOptions": {
845
+ "theme": "info"
846
+ },
847
+ "default": "",
848
+ "displayOptions": {
849
+ "show": {
850
+ "resource": [
851
+ "Volumes"
852
+ ],
853
+ "operation": [
854
+ "Get Action For Volume"
855
+ ]
856
+ }
857
+ }
858
+ },
859
+ {
860
+ "displayName": "Id",
861
+ "name": "id",
862
+ "required": true,
863
+ "description": "ID of the Volume.",
864
+ "default": 42,
865
+ "type": "number",
866
+ "displayOptions": {
867
+ "show": {
868
+ "resource": [
869
+ "Volumes"
870
+ ],
871
+ "operation": [
872
+ "Get Action For Volume"
873
+ ]
874
+ }
875
+ }
876
+ },
877
+ {
878
+ "displayName": "Action Id",
879
+ "name": "action_id",
880
+ "required": true,
881
+ "description": "ID of the Action.",
882
+ "default": 42,
883
+ "type": "number",
884
+ "displayOptions": {
885
+ "show": {
886
+ "resource": [
887
+ "Volumes"
888
+ ],
889
+ "operation": [
890
+ "Get Action For Volume"
891
+ ]
892
+ }
893
+ }
894
+ },
895
+ {
896
+ "displayName": "POST /volumes/{id}/actions/attach",
897
+ "name": "operation",
898
+ "type": "notice",
899
+ "typeOptions": {
900
+ "theme": "info"
901
+ },
902
+ "default": "",
903
+ "displayOptions": {
904
+ "show": {
905
+ "resource": [
906
+ "Volumes"
907
+ ],
908
+ "operation": [
909
+ "Attach Volume To Server"
910
+ ]
911
+ }
912
+ }
913
+ },
914
+ {
915
+ "displayName": "Id",
916
+ "name": "id",
917
+ "required": true,
918
+ "description": "ID of the Volume.",
919
+ "default": 42,
920
+ "type": "number",
921
+ "displayOptions": {
922
+ "show": {
923
+ "resource": [
924
+ "Volumes"
925
+ ],
926
+ "operation": [
927
+ "Attach Volume To Server"
928
+ ]
929
+ }
930
+ }
931
+ },
932
+ {
933
+ "displayName": "Automount",
934
+ "name": "automount",
935
+ "type": "boolean",
936
+ "default": false,
937
+ "description": "Auto-mount the Volume after attaching it.",
938
+ "routing": {
939
+ "send": {
940
+ "property": "automount",
941
+ "propertyInDotNotation": false,
942
+ "type": "body",
943
+ "value": "={{ $value }}"
944
+ }
945
+ },
946
+ "displayOptions": {
947
+ "show": {
948
+ "resource": [
949
+ "Volumes"
950
+ ],
951
+ "operation": [
952
+ "Attach Volume To Server"
953
+ ]
954
+ }
955
+ }
956
+ },
957
+ {
958
+ "required": true,
959
+ "displayName": "Server",
960
+ "name": "server",
961
+ "type": "number",
962
+ "default": 43,
963
+ "description": "ID of the Server the Volume will be attached to.",
964
+ "routing": {
965
+ "send": {
966
+ "property": "server",
967
+ "propertyInDotNotation": false,
968
+ "type": "body",
969
+ "value": "={{ $value }}"
970
+ }
971
+ },
972
+ "displayOptions": {
973
+ "show": {
974
+ "resource": [
975
+ "Volumes"
976
+ ],
977
+ "operation": [
978
+ "Attach Volume To Server"
979
+ ]
980
+ }
981
+ }
982
+ },
983
+ {
984
+ "displayName": "POST /volumes/{id}/actions/change_protection",
985
+ "name": "operation",
986
+ "type": "notice",
987
+ "typeOptions": {
988
+ "theme": "info"
989
+ },
990
+ "default": "",
991
+ "displayOptions": {
992
+ "show": {
993
+ "resource": [
994
+ "Volumes"
995
+ ],
996
+ "operation": [
997
+ "Change Volume Protection"
998
+ ]
999
+ }
1000
+ }
1001
+ },
1002
+ {
1003
+ "displayName": "Id",
1004
+ "name": "id",
1005
+ "required": true,
1006
+ "description": "ID of the Volume.",
1007
+ "default": 42,
1008
+ "type": "number",
1009
+ "displayOptions": {
1010
+ "show": {
1011
+ "resource": [
1012
+ "Volumes"
1013
+ ],
1014
+ "operation": [
1015
+ "Change Volume Protection"
1016
+ ]
1017
+ }
1018
+ }
1019
+ },
1020
+ {
1021
+ "displayName": "Delete",
1022
+ "name": "delete",
1023
+ "type": "boolean",
1024
+ "default": true,
1025
+ "description": "If true, prevents the Volume from being deleted.",
1026
+ "routing": {
1027
+ "send": {
1028
+ "property": "delete",
1029
+ "propertyInDotNotation": false,
1030
+ "type": "body",
1031
+ "value": "={{ $value }}"
1032
+ }
1033
+ },
1034
+ "displayOptions": {
1035
+ "show": {
1036
+ "resource": [
1037
+ "Volumes"
1038
+ ],
1039
+ "operation": [
1040
+ "Change Volume Protection"
1041
+ ]
1042
+ }
1043
+ }
1044
+ },
1045
+ {
1046
+ "displayName": "POST /volumes/{id}/actions/detach",
1047
+ "name": "operation",
1048
+ "type": "notice",
1049
+ "typeOptions": {
1050
+ "theme": "info"
1051
+ },
1052
+ "default": "",
1053
+ "displayOptions": {
1054
+ "show": {
1055
+ "resource": [
1056
+ "Volumes"
1057
+ ],
1058
+ "operation": [
1059
+ "Detach Volume"
1060
+ ]
1061
+ }
1062
+ }
1063
+ },
1064
+ {
1065
+ "displayName": "Id",
1066
+ "name": "id",
1067
+ "required": true,
1068
+ "description": "ID of the Volume.",
1069
+ "default": 42,
1070
+ "type": "number",
1071
+ "displayOptions": {
1072
+ "show": {
1073
+ "resource": [
1074
+ "Volumes"
1075
+ ],
1076
+ "operation": [
1077
+ "Detach Volume"
1078
+ ]
1079
+ }
1080
+ }
1081
+ },
1082
+ {
1083
+ "displayName": "POST /volumes/{id}/actions/resize",
1084
+ "name": "operation",
1085
+ "type": "notice",
1086
+ "typeOptions": {
1087
+ "theme": "info"
1088
+ },
1089
+ "default": "",
1090
+ "displayOptions": {
1091
+ "show": {
1092
+ "resource": [
1093
+ "Volumes"
1094
+ ],
1095
+ "operation": [
1096
+ "Resize Volume"
1097
+ ]
1098
+ }
1099
+ }
1100
+ },
1101
+ {
1102
+ "displayName": "Id",
1103
+ "name": "id",
1104
+ "required": true,
1105
+ "description": "ID of the Volume.",
1106
+ "default": 42,
1107
+ "type": "number",
1108
+ "displayOptions": {
1109
+ "show": {
1110
+ "resource": [
1111
+ "Volumes"
1112
+ ],
1113
+ "operation": [
1114
+ "Resize Volume"
1115
+ ]
1116
+ }
1117
+ }
1118
+ },
1119
+ {
1120
+ "required": true,
1121
+ "displayName": "Size",
1122
+ "name": "size",
1123
+ "type": "number",
1124
+ "default": 50,
1125
+ "description": "New Volume size in GB (must be greater than current size).",
1126
+ "routing": {
1127
+ "send": {
1128
+ "property": "size",
1129
+ "propertyInDotNotation": false,
1130
+ "type": "body",
1131
+ "value": "={{ $value }}"
1132
+ }
1133
+ },
1134
+ "displayOptions": {
1135
+ "show": {
1136
+ "resource": [
1137
+ "Volumes"
1138
+ ],
1139
+ "operation": [
1140
+ "Resize Volume"
1141
+ ]
1142
+ }
1143
+ }
1144
+ },
1145
+ {
1146
+ "displayName": "GET /volumes/actions",
1147
+ "name": "operation",
1148
+ "type": "notice",
1149
+ "typeOptions": {
1150
+ "theme": "info"
1151
+ },
1152
+ "default": "",
1153
+ "displayOptions": {
1154
+ "show": {
1155
+ "resource": [
1156
+ "Volumes"
1157
+ ],
1158
+ "operation": [
1159
+ "List Volume Actions"
1160
+ ]
1161
+ }
1162
+ }
1163
+ },
1164
+ {
1165
+ "displayName": "Id",
1166
+ "name": "id",
1167
+ "description": "Filter the actions by ID. Can be used multiple times. The response will only contain\nactions matching the specified IDs.\n",
1168
+ "default": "[\n 42\n]",
1169
+ "type": "json",
1170
+ "routing": {
1171
+ "send": {
1172
+ "type": "query",
1173
+ "property": "id",
1174
+ "value": "={{ $value }}",
1175
+ "propertyInDotNotation": false
1176
+ }
1177
+ },
1178
+ "displayOptions": {
1179
+ "show": {
1180
+ "resource": [
1181
+ "Volumes"
1182
+ ],
1183
+ "operation": [
1184
+ "List Volume Actions"
1185
+ ]
1186
+ }
1187
+ }
1188
+ },
1189
+ {
1190
+ "displayName": "Sort",
1191
+ "name": "sort",
1192
+ "description": "Sort actions by field and direction. Can be used multiple times. For more\ninformation, see \"Sorting\".\n",
1193
+ "default": "[\n null\n]",
1194
+ "type": "json",
1195
+ "routing": {
1196
+ "send": {
1197
+ "type": "query",
1198
+ "property": "sort",
1199
+ "value": "={{ $value }}",
1200
+ "propertyInDotNotation": false
1201
+ }
1202
+ },
1203
+ "displayOptions": {
1204
+ "show": {
1205
+ "resource": [
1206
+ "Volumes"
1207
+ ],
1208
+ "operation": [
1209
+ "List Volume Actions"
1210
+ ]
1211
+ }
1212
+ }
1213
+ },
1214
+ {
1215
+ "displayName": "Status",
1216
+ "name": "status",
1217
+ "description": "Filter the actions by status. Can be used multiple times. The response will only\ncontain actions matching the specified statuses.\n",
1218
+ "default": "[\n null\n]",
1219
+ "type": "json",
1220
+ "routing": {
1221
+ "send": {
1222
+ "type": "query",
1223
+ "property": "status",
1224
+ "value": "={{ $value }}",
1225
+ "propertyInDotNotation": false
1226
+ }
1227
+ },
1228
+ "displayOptions": {
1229
+ "show": {
1230
+ "resource": [
1231
+ "Volumes"
1232
+ ],
1233
+ "operation": [
1234
+ "List Volume Actions"
1235
+ ]
1236
+ }
1237
+ }
1238
+ },
1239
+ {
1240
+ "displayName": "Page",
1241
+ "name": "page",
1242
+ "description": "Page number to return. For more information, see \"Pagination\".",
1243
+ "default": 1,
1244
+ "type": "number",
1245
+ "routing": {
1246
+ "send": {
1247
+ "type": "query",
1248
+ "property": "page",
1249
+ "value": "={{ $value }}",
1250
+ "propertyInDotNotation": false
1251
+ }
1252
+ },
1253
+ "displayOptions": {
1254
+ "show": {
1255
+ "resource": [
1256
+ "Volumes"
1257
+ ],
1258
+ "operation": [
1259
+ "List Volume Actions"
1260
+ ]
1261
+ }
1262
+ }
1263
+ },
1264
+ {
1265
+ "displayName": "Per Page",
1266
+ "name": "per_page",
1267
+ "description": "Maximum number of entries returned per page. For more information, see \"Pagination\".",
1268
+ "default": 25,
1269
+ "type": "number",
1270
+ "routing": {
1271
+ "send": {
1272
+ "type": "query",
1273
+ "property": "per_page",
1274
+ "value": "={{ $value }}",
1275
+ "propertyInDotNotation": false
1276
+ }
1277
+ },
1278
+ "displayOptions": {
1279
+ "show": {
1280
+ "resource": [
1281
+ "Volumes"
1282
+ ],
1283
+ "operation": [
1284
+ "List Volume Actions"
1285
+ ]
1286
+ }
1287
+ }
1288
+ },
1289
+ {
1290
+ "displayName": "GET /volumes/actions/{id}",
1291
+ "name": "operation",
1292
+ "type": "notice",
1293
+ "typeOptions": {
1294
+ "theme": "info"
1295
+ },
1296
+ "default": "",
1297
+ "displayOptions": {
1298
+ "show": {
1299
+ "resource": [
1300
+ "Volumes"
1301
+ ],
1302
+ "operation": [
1303
+ "Get Volume Action"
1304
+ ]
1305
+ }
1306
+ }
1307
+ },
1308
+ {
1309
+ "displayName": "Id",
1310
+ "name": "id",
1311
+ "required": true,
1312
+ "description": "ID of the Action.",
1313
+ "default": 42,
1314
+ "type": "number",
1315
+ "displayOptions": {
1316
+ "show": {
1317
+ "resource": [
1318
+ "Volumes"
1319
+ ],
1320
+ "operation": [
1321
+ "Get Volume Action"
1322
+ ]
1323
+ }
1324
+ }
1325
+ },
1326
+ ];
1327
+ //# sourceMappingURL=index.js.map