@distilled.cloud/fly-io 0.9.0 → 0.10.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.
- package/lib/operations/AppCertificatesAcmeCreate.d.ts +3 -0
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +3 -0
- package/lib/operations/AppCertificatesAcmeCreate.js.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts +7 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +7 -1
- package/lib/operations/AppCertificatesAcmeDelete.js.map +1 -1
- package/lib/operations/AppCertificatesCheck.d.ts +7 -1
- package/lib/operations/AppCertificatesCheck.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCheck.js +7 -1
- package/lib/operations/AppCertificatesCheck.js.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts +3 -0
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.js +3 -0
- package/lib/operations/AppCertificatesCustomCreate.js.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts +7 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.js +7 -1
- package/lib/operations/AppCertificatesCustomDelete.js.map +1 -1
- package/lib/operations/AppCertificatesDelete.d.ts +7 -1
- package/lib/operations/AppCertificatesDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesDelete.js +7 -1
- package/lib/operations/AppCertificatesDelete.js.map +1 -1
- package/lib/operations/AppCertificatesList.d.ts +2 -0
- package/lib/operations/AppCertificatesList.d.ts.map +1 -1
- package/lib/operations/AppCertificatesList.js +2 -0
- package/lib/operations/AppCertificatesList.js.map +1 -1
- package/lib/operations/AppCertificatesShow.d.ts +7 -1
- package/lib/operations/AppCertificatesShow.d.ts.map +1 -1
- package/lib/operations/AppCertificatesShow.js +7 -1
- package/lib/operations/AppCertificatesShow.js.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts +3 -0
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.js +3 -0
- package/lib/operations/AppIPAssignmentsCreate.js.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts +7 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.js +7 -1
- package/lib/operations/AppIPAssignmentsDelete.js.map +1 -1
- package/lib/operations/AppIPAssignmentsList.d.ts +5 -1
- package/lib/operations/AppIPAssignmentsList.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsList.js +5 -1
- package/lib/operations/AppIPAssignmentsList.js.map +1 -1
- package/lib/operations/MachinesCreate.d.ts +42 -81
- package/lib/operations/MachinesCreate.d.ts.map +1 -1
- package/lib/operations/MachinesCreate.js +90 -81
- package/lib/operations/MachinesCreate.js.map +1 -1
- package/lib/operations/MachinesList.d.ts +28 -54
- package/lib/operations/MachinesList.d.ts.map +1 -1
- package/lib/operations/MachinesList.js +60 -54
- package/lib/operations/MachinesList.js.map +1 -1
- package/lib/operations/MachinesListVersions.d.ts +14 -27
- package/lib/operations/MachinesListVersions.d.ts.map +1 -1
- package/lib/operations/MachinesListVersions.js +30 -27
- package/lib/operations/MachinesListVersions.js.map +1 -1
- package/lib/operations/MachinesOrgList.d.ts +19 -2
- package/lib/operations/MachinesOrgList.d.ts.map +1 -1
- package/lib/operations/MachinesOrgList.js +19 -2
- package/lib/operations/MachinesOrgList.js.map +1 -1
- package/lib/operations/MachinesRestart.d.ts +1 -1
- package/lib/operations/MachinesRestart.d.ts.map +1 -1
- package/lib/operations/MachinesRestart.js +9 -1
- package/lib/operations/MachinesRestart.js.map +1 -1
- package/lib/operations/MachinesShow.d.ts +28 -54
- package/lib/operations/MachinesShow.d.ts.map +1 -1
- package/lib/operations/MachinesShow.js +60 -54
- package/lib/operations/MachinesShow.js.map +1 -1
- package/lib/operations/MachinesSignal.d.ts +1 -1
- package/lib/operations/MachinesSignal.d.ts.map +1 -1
- package/lib/operations/MachinesSignal.js +1 -0
- package/lib/operations/MachinesSignal.js.map +1 -1
- package/lib/operations/MachinesStop.d.ts +2 -4
- package/lib/operations/MachinesStop.d.ts.map +1 -1
- package/lib/operations/MachinesStop.js +10 -4
- package/lib/operations/MachinesStop.js.map +1 -1
- package/lib/operations/MachinesUpdate.d.ts +42 -81
- package/lib/operations/MachinesUpdate.d.ts.map +1 -1
- package/lib/operations/MachinesUpdate.js +90 -81
- package/lib/operations/MachinesUpdate.js.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts +6 -4
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.js +8 -6
- package/lib/operations/MachinesUpdateMetadata.js.map +1 -1
- package/lib/operations/MachinesWait.d.ts +9 -3
- package/lib/operations/MachinesWait.d.ts.map +1 -1
- package/lib/operations/MachinesWait.js +9 -2
- package/lib/operations/MachinesWait.js.map +1 -1
- package/lib/operations/PlatformPlacementsPost.d.ts +1 -0
- package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -1
- package/lib/operations/PlatformPlacementsPost.js +1 -0
- package/lib/operations/PlatformPlacementsPost.js.map +1 -1
- package/lib/operations/PlatformRegionsGet.d.ts +2 -17
- package/lib/operations/PlatformRegionsGet.d.ts.map +1 -1
- package/lib/operations/PlatformRegionsGet.js +2 -17
- package/lib/operations/PlatformRegionsGet.js.map +1 -1
- package/lib/operations/VolumeDelete.d.ts +1 -0
- package/lib/operations/VolumeDelete.d.ts.map +1 -1
- package/lib/operations/VolumeDelete.js +1 -0
- package/lib/operations/VolumeDelete.js.map +1 -1
- package/lib/operations/VolumesCreate.d.ts +2 -0
- package/lib/operations/VolumesCreate.d.ts.map +1 -1
- package/lib/operations/VolumesCreate.js +2 -0
- package/lib/operations/VolumesCreate.js.map +1 -1
- package/lib/operations/VolumesExtend.d.ts +1 -0
- package/lib/operations/VolumesExtend.d.ts.map +1 -1
- package/lib/operations/VolumesExtend.js +1 -0
- package/lib/operations/VolumesExtend.js.map +1 -1
- package/lib/operations/VolumesGetById.d.ts +1 -0
- package/lib/operations/VolumesGetById.d.ts.map +1 -1
- package/lib/operations/VolumesGetById.js +1 -0
- package/lib/operations/VolumesGetById.js.map +1 -1
- package/lib/operations/VolumesList.d.ts +1 -0
- package/lib/operations/VolumesList.d.ts.map +1 -1
- package/lib/operations/VolumesList.js +1 -0
- package/lib/operations/VolumesList.js.map +1 -1
- package/lib/operations/VolumesOrgList.d.ts +59 -0
- package/lib/operations/VolumesOrgList.d.ts.map +1 -0
- package/lib/operations/VolumesOrgList.js +65 -0
- package/lib/operations/VolumesOrgList.js.map +1 -0
- package/lib/operations/VolumesUpdate.d.ts +1 -0
- package/lib/operations/VolumesUpdate.d.ts.map +1 -1
- package/lib/operations/VolumesUpdate.js +1 -0
- package/lib/operations/VolumesUpdate.js.map +1 -1
- package/lib/operations/index.d.ts +3 -1
- package/lib/operations/index.d.ts.map +1 -1
- package/lib/operations/index.js +3 -1
- package/lib/operations/index.js.map +1 -1
- package/package.json +4 -4
- package/src/operations/AppCertificatesAcmeCreate.ts +3 -0
- package/src/operations/AppCertificatesAcmeDelete.ts +7 -1
- package/src/operations/AppCertificatesCheck.ts +7 -1
- package/src/operations/AppCertificatesCustomCreate.ts +3 -0
- package/src/operations/AppCertificatesCustomDelete.ts +7 -1
- package/src/operations/AppCertificatesDelete.ts +7 -1
- package/src/operations/AppCertificatesList.ts +2 -0
- package/src/operations/AppCertificatesShow.ts +7 -1
- package/src/operations/AppIPAssignmentsCreate.ts +3 -0
- package/src/operations/AppIPAssignmentsDelete.ts +7 -1
- package/src/operations/AppIPAssignmentsList.ts +5 -3
- package/src/operations/MachinesCreate.ts +102 -123
- package/src/operations/MachinesList.ts +68 -82
- package/src/operations/MachinesListVersions.ts +34 -41
- package/src/operations/MachinesOrgList.ts +27 -2
- package/src/operations/MachinesRestart.ts +11 -1
- package/src/operations/MachinesShow.ts +68 -82
- package/src/operations/MachinesSignal.ts +1 -0
- package/src/operations/MachinesStop.ts +11 -5
- package/src/operations/MachinesUpdate.ts +102 -123
- package/src/operations/MachinesUpdateMetadata.ts +8 -6
- package/src/operations/MachinesWait.ts +9 -2
- package/src/operations/PlatformPlacementsPost.ts +1 -0
- package/src/operations/PlatformRegionsGet.ts +4 -17
- package/src/operations/VolumeDelete.ts +1 -0
- package/src/operations/VolumesCreate.ts +2 -0
- package/src/operations/VolumesExtend.ts +1 -0
- package/src/operations/VolumesGetById.ts +1 -0
- package/src/operations/VolumesList.ts +1 -0
- package/src/operations/VolumesOrgList.ts +75 -0
- package/src/operations/VolumesUpdate.ts +1 -0
- package/src/operations/index.ts +3 -1
|
@@ -9,15 +9,16 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
9
9
|
config: Schema.optional(
|
|
10
10
|
Schema.Struct({
|
|
11
11
|
auto_destroy: Schema.optional(Schema.Boolean),
|
|
12
|
+
cache_drive: Schema.optional(
|
|
13
|
+
Schema.Struct({
|
|
14
|
+
size_mb: Schema.optional(Schema.Number),
|
|
15
|
+
}),
|
|
16
|
+
),
|
|
12
17
|
checks: Schema.optional(
|
|
13
18
|
Schema.Record(
|
|
14
19
|
Schema.String,
|
|
15
20
|
Schema.Struct({
|
|
16
|
-
grace_period: Schema.optional(
|
|
17
|
-
Schema.Struct({
|
|
18
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
19
|
-
}),
|
|
20
|
-
),
|
|
21
|
+
grace_period: Schema.optional(Schema.String),
|
|
21
22
|
headers: Schema.optional(
|
|
22
23
|
Schema.Array(
|
|
23
24
|
Schema.Struct({
|
|
@@ -26,11 +27,7 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
26
27
|
}),
|
|
27
28
|
),
|
|
28
29
|
),
|
|
29
|
-
interval: Schema.optional(
|
|
30
|
-
Schema.Struct({
|
|
31
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
32
|
-
}),
|
|
33
|
-
),
|
|
30
|
+
interval: Schema.optional(Schema.String),
|
|
34
31
|
kind: Schema.optional(
|
|
35
32
|
Schema.Literals(["informational", "readiness"]),
|
|
36
33
|
),
|
|
@@ -38,11 +35,7 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
38
35
|
path: Schema.optional(Schema.String),
|
|
39
36
|
port: Schema.optional(Schema.Number),
|
|
40
37
|
protocol: Schema.optional(Schema.String),
|
|
41
|
-
timeout: Schema.optional(
|
|
42
|
-
Schema.Struct({
|
|
43
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
44
|
-
}),
|
|
45
|
-
),
|
|
38
|
+
timeout: Schema.optional(Schema.String),
|
|
46
39
|
tls_server_name: Schema.optional(Schema.String),
|
|
47
40
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
48
41
|
type: Schema.optional(Schema.String),
|
|
@@ -157,12 +150,18 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
157
150
|
),
|
|
158
151
|
stop: Schema.optional(
|
|
159
152
|
Schema.Struct({
|
|
160
|
-
signal: Schema.optional(
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
"
|
|
164
|
-
|
|
153
|
+
signal: Schema.optional(
|
|
154
|
+
Schema.Literals([
|
|
155
|
+
"SIGHUP",
|
|
156
|
+
"SIGINT",
|
|
157
|
+
"SIGQUIT",
|
|
158
|
+
"SIGKILL",
|
|
159
|
+
"SIGUSR1",
|
|
160
|
+
"SIGUSR2",
|
|
161
|
+
"SIGTERM",
|
|
162
|
+
]),
|
|
165
163
|
),
|
|
164
|
+
timeout: Schema.optional(Schema.String),
|
|
166
165
|
}),
|
|
167
166
|
),
|
|
168
167
|
user: Schema.optional(Schema.String),
|
|
@@ -215,6 +214,7 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
215
214
|
gpus: Schema.optional(Schema.Number),
|
|
216
215
|
host_dedication_id: Schema.optional(Schema.String),
|
|
217
216
|
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
217
|
+
max_memory_mb: Schema.optional(Schema.Number),
|
|
218
218
|
memory_mb: Schema.optional(Schema.Number),
|
|
219
219
|
persist_rootfs: Schema.optional(
|
|
220
220
|
Schema.Literals(["never", "always", "restart"]),
|
|
@@ -302,7 +302,6 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
302
302
|
),
|
|
303
303
|
rootfs: Schema.optional(
|
|
304
304
|
Schema.Struct({
|
|
305
|
-
fs_size_gb: Schema.optional(Schema.Number),
|
|
306
305
|
persist: Schema.optional(
|
|
307
306
|
Schema.Literals(["never", "always", "restart"]),
|
|
308
307
|
),
|
|
@@ -320,11 +319,7 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
320
319
|
checks: Schema.optional(
|
|
321
320
|
Schema.Array(
|
|
322
321
|
Schema.Struct({
|
|
323
|
-
grace_period: Schema.optional(
|
|
324
|
-
Schema.Struct({
|
|
325
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
326
|
-
}),
|
|
327
|
-
),
|
|
322
|
+
grace_period: Schema.optional(Schema.String),
|
|
328
323
|
headers: Schema.optional(
|
|
329
324
|
Schema.Array(
|
|
330
325
|
Schema.Struct({
|
|
@@ -333,20 +328,12 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
333
328
|
}),
|
|
334
329
|
),
|
|
335
330
|
),
|
|
336
|
-
interval: Schema.optional(
|
|
337
|
-
Schema.Struct({
|
|
338
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
339
|
-
}),
|
|
340
|
-
),
|
|
331
|
+
interval: Schema.optional(Schema.String),
|
|
341
332
|
method: Schema.optional(Schema.String),
|
|
342
333
|
path: Schema.optional(Schema.String),
|
|
343
334
|
port: Schema.optional(Schema.Number),
|
|
344
335
|
protocol: Schema.optional(Schema.String),
|
|
345
|
-
timeout: Schema.optional(
|
|
346
|
-
Schema.Struct({
|
|
347
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
348
|
-
}),
|
|
349
|
-
),
|
|
336
|
+
timeout: Schema.optional(Schema.String),
|
|
350
337
|
tls_server_name: Schema.optional(Schema.String),
|
|
351
338
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
352
339
|
type: Schema.optional(Schema.String),
|
|
@@ -434,12 +421,18 @@ export const MachinesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
434
421
|
),
|
|
435
422
|
stop_config: Schema.optional(
|
|
436
423
|
Schema.Struct({
|
|
437
|
-
signal: Schema.optional(
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
"
|
|
441
|
-
|
|
424
|
+
signal: Schema.optional(
|
|
425
|
+
Schema.Literals([
|
|
426
|
+
"SIGHUP",
|
|
427
|
+
"SIGINT",
|
|
428
|
+
"SIGQUIT",
|
|
429
|
+
"SIGKILL",
|
|
430
|
+
"SIGUSR1",
|
|
431
|
+
"SIGUSR2",
|
|
432
|
+
"SIGTERM",
|
|
433
|
+
]),
|
|
442
434
|
),
|
|
435
|
+
timeout: Schema.optional(Schema.String),
|
|
443
436
|
}),
|
|
444
437
|
),
|
|
445
438
|
}),
|
|
@@ -473,15 +466,16 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
473
466
|
config: Schema.optional(
|
|
474
467
|
Schema.Struct({
|
|
475
468
|
auto_destroy: Schema.optional(Schema.Boolean),
|
|
469
|
+
cache_drive: Schema.optional(
|
|
470
|
+
Schema.Struct({
|
|
471
|
+
size_mb: Schema.optional(Schema.Number),
|
|
472
|
+
}),
|
|
473
|
+
),
|
|
476
474
|
checks: Schema.optional(
|
|
477
475
|
Schema.Record(
|
|
478
476
|
Schema.String,
|
|
479
477
|
Schema.Struct({
|
|
480
|
-
grace_period: Schema.optional(
|
|
481
|
-
Schema.Struct({
|
|
482
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
483
|
-
}),
|
|
484
|
-
),
|
|
478
|
+
grace_period: Schema.optional(Schema.String),
|
|
485
479
|
headers: Schema.optional(
|
|
486
480
|
Schema.Array(
|
|
487
481
|
Schema.Struct({
|
|
@@ -490,11 +484,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
490
484
|
}),
|
|
491
485
|
),
|
|
492
486
|
),
|
|
493
|
-
interval: Schema.optional(
|
|
494
|
-
Schema.Struct({
|
|
495
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
496
|
-
}),
|
|
497
|
-
),
|
|
487
|
+
interval: Schema.optional(Schema.String),
|
|
498
488
|
kind: Schema.optional(
|
|
499
489
|
Schema.Literals(["informational", "readiness"]),
|
|
500
490
|
),
|
|
@@ -502,11 +492,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
502
492
|
path: Schema.optional(Schema.String),
|
|
503
493
|
port: Schema.optional(Schema.Number),
|
|
504
494
|
protocol: Schema.optional(Schema.String),
|
|
505
|
-
timeout: Schema.optional(
|
|
506
|
-
Schema.Struct({
|
|
507
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
508
|
-
}),
|
|
509
|
-
),
|
|
495
|
+
timeout: Schema.optional(Schema.String),
|
|
510
496
|
tls_server_name: Schema.optional(Schema.String),
|
|
511
497
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
512
498
|
type: Schema.optional(Schema.String),
|
|
@@ -621,12 +607,18 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
621
607
|
),
|
|
622
608
|
stop: Schema.optional(
|
|
623
609
|
Schema.Struct({
|
|
624
|
-
signal: Schema.optional(
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
"
|
|
628
|
-
|
|
610
|
+
signal: Schema.optional(
|
|
611
|
+
Schema.Literals([
|
|
612
|
+
"SIGHUP",
|
|
613
|
+
"SIGINT",
|
|
614
|
+
"SIGQUIT",
|
|
615
|
+
"SIGKILL",
|
|
616
|
+
"SIGUSR1",
|
|
617
|
+
"SIGUSR2",
|
|
618
|
+
"SIGTERM",
|
|
619
|
+
]),
|
|
629
620
|
),
|
|
621
|
+
timeout: Schema.optional(Schema.String),
|
|
630
622
|
}),
|
|
631
623
|
),
|
|
632
624
|
user: Schema.optional(Schema.String),
|
|
@@ -679,6 +671,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
679
671
|
gpus: Schema.optional(Schema.Number),
|
|
680
672
|
host_dedication_id: Schema.optional(Schema.String),
|
|
681
673
|
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
674
|
+
max_memory_mb: Schema.optional(Schema.Number),
|
|
682
675
|
memory_mb: Schema.optional(Schema.Number),
|
|
683
676
|
persist_rootfs: Schema.optional(
|
|
684
677
|
Schema.Literals(["never", "always", "restart"]),
|
|
@@ -766,7 +759,6 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
766
759
|
),
|
|
767
760
|
rootfs: Schema.optional(
|
|
768
761
|
Schema.Struct({
|
|
769
|
-
fs_size_gb: Schema.optional(Schema.Number),
|
|
770
762
|
persist: Schema.optional(
|
|
771
763
|
Schema.Literals(["never", "always", "restart"]),
|
|
772
764
|
),
|
|
@@ -784,11 +776,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
784
776
|
checks: Schema.optional(
|
|
785
777
|
Schema.Array(
|
|
786
778
|
Schema.Struct({
|
|
787
|
-
grace_period: Schema.optional(
|
|
788
|
-
Schema.Struct({
|
|
789
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
790
|
-
}),
|
|
791
|
-
),
|
|
779
|
+
grace_period: Schema.optional(Schema.String),
|
|
792
780
|
headers: Schema.optional(
|
|
793
781
|
Schema.Array(
|
|
794
782
|
Schema.Struct({
|
|
@@ -797,20 +785,12 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
797
785
|
}),
|
|
798
786
|
),
|
|
799
787
|
),
|
|
800
|
-
interval: Schema.optional(
|
|
801
|
-
Schema.Struct({
|
|
802
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
803
|
-
}),
|
|
804
|
-
),
|
|
788
|
+
interval: Schema.optional(Schema.String),
|
|
805
789
|
method: Schema.optional(Schema.String),
|
|
806
790
|
path: Schema.optional(Schema.String),
|
|
807
791
|
port: Schema.optional(Schema.Number),
|
|
808
792
|
protocol: Schema.optional(Schema.String),
|
|
809
|
-
timeout: Schema.optional(
|
|
810
|
-
Schema.Struct({
|
|
811
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
812
|
-
}),
|
|
813
|
-
),
|
|
793
|
+
timeout: Schema.optional(Schema.String),
|
|
814
794
|
tls_server_name: Schema.optional(Schema.String),
|
|
815
795
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
816
796
|
type: Schema.optional(Schema.String),
|
|
@@ -898,12 +878,18 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
898
878
|
),
|
|
899
879
|
stop_config: Schema.optional(
|
|
900
880
|
Schema.Struct({
|
|
901
|
-
signal: Schema.optional(
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
"
|
|
905
|
-
|
|
881
|
+
signal: Schema.optional(
|
|
882
|
+
Schema.Literals([
|
|
883
|
+
"SIGHUP",
|
|
884
|
+
"SIGINT",
|
|
885
|
+
"SIGQUIT",
|
|
886
|
+
"SIGKILL",
|
|
887
|
+
"SIGUSR1",
|
|
888
|
+
"SIGUSR2",
|
|
889
|
+
"SIGTERM",
|
|
890
|
+
]),
|
|
906
891
|
),
|
|
892
|
+
timeout: Schema.optional(Schema.String),
|
|
907
893
|
}),
|
|
908
894
|
),
|
|
909
895
|
}),
|
|
@@ -937,15 +923,16 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
937
923
|
incomplete_config: Schema.optional(
|
|
938
924
|
Schema.Struct({
|
|
939
925
|
auto_destroy: Schema.optional(Schema.Boolean),
|
|
926
|
+
cache_drive: Schema.optional(
|
|
927
|
+
Schema.Struct({
|
|
928
|
+
size_mb: Schema.optional(Schema.Number),
|
|
929
|
+
}),
|
|
930
|
+
),
|
|
940
931
|
checks: Schema.optional(
|
|
941
932
|
Schema.Record(
|
|
942
933
|
Schema.String,
|
|
943
934
|
Schema.Struct({
|
|
944
|
-
grace_period: Schema.optional(
|
|
945
|
-
Schema.Struct({
|
|
946
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
947
|
-
}),
|
|
948
|
-
),
|
|
935
|
+
grace_period: Schema.optional(Schema.String),
|
|
949
936
|
headers: Schema.optional(
|
|
950
937
|
Schema.Array(
|
|
951
938
|
Schema.Struct({
|
|
@@ -954,11 +941,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
954
941
|
}),
|
|
955
942
|
),
|
|
956
943
|
),
|
|
957
|
-
interval: Schema.optional(
|
|
958
|
-
Schema.Struct({
|
|
959
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
960
|
-
}),
|
|
961
|
-
),
|
|
944
|
+
interval: Schema.optional(Schema.String),
|
|
962
945
|
kind: Schema.optional(
|
|
963
946
|
Schema.Literals(["informational", "readiness"]),
|
|
964
947
|
),
|
|
@@ -966,11 +949,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
966
949
|
path: Schema.optional(Schema.String),
|
|
967
950
|
port: Schema.optional(Schema.Number),
|
|
968
951
|
protocol: Schema.optional(Schema.String),
|
|
969
|
-
timeout: Schema.optional(
|
|
970
|
-
Schema.Struct({
|
|
971
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
972
|
-
}),
|
|
973
|
-
),
|
|
952
|
+
timeout: Schema.optional(Schema.String),
|
|
974
953
|
tls_server_name: Schema.optional(Schema.String),
|
|
975
954
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
976
955
|
type: Schema.optional(Schema.String),
|
|
@@ -1085,12 +1064,18 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1085
1064
|
),
|
|
1086
1065
|
stop: Schema.optional(
|
|
1087
1066
|
Schema.Struct({
|
|
1088
|
-
signal: Schema.optional(
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
"
|
|
1092
|
-
|
|
1067
|
+
signal: Schema.optional(
|
|
1068
|
+
Schema.Literals([
|
|
1069
|
+
"SIGHUP",
|
|
1070
|
+
"SIGINT",
|
|
1071
|
+
"SIGQUIT",
|
|
1072
|
+
"SIGKILL",
|
|
1073
|
+
"SIGUSR1",
|
|
1074
|
+
"SIGUSR2",
|
|
1075
|
+
"SIGTERM",
|
|
1076
|
+
]),
|
|
1093
1077
|
),
|
|
1078
|
+
timeout: Schema.optional(Schema.String),
|
|
1094
1079
|
}),
|
|
1095
1080
|
),
|
|
1096
1081
|
user: Schema.optional(Schema.String),
|
|
@@ -1143,6 +1128,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1143
1128
|
gpus: Schema.optional(Schema.Number),
|
|
1144
1129
|
host_dedication_id: Schema.optional(Schema.String),
|
|
1145
1130
|
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
1131
|
+
max_memory_mb: Schema.optional(Schema.Number),
|
|
1146
1132
|
memory_mb: Schema.optional(Schema.Number),
|
|
1147
1133
|
persist_rootfs: Schema.optional(
|
|
1148
1134
|
Schema.Literals(["never", "always", "restart"]),
|
|
@@ -1230,7 +1216,6 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1230
1216
|
),
|
|
1231
1217
|
rootfs: Schema.optional(
|
|
1232
1218
|
Schema.Struct({
|
|
1233
|
-
fs_size_gb: Schema.optional(Schema.Number),
|
|
1234
1219
|
persist: Schema.optional(
|
|
1235
1220
|
Schema.Literals(["never", "always", "restart"]),
|
|
1236
1221
|
),
|
|
@@ -1248,11 +1233,7 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1248
1233
|
checks: Schema.optional(
|
|
1249
1234
|
Schema.Array(
|
|
1250
1235
|
Schema.Struct({
|
|
1251
|
-
grace_period: Schema.optional(
|
|
1252
|
-
Schema.Struct({
|
|
1253
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
1254
|
-
}),
|
|
1255
|
-
),
|
|
1236
|
+
grace_period: Schema.optional(Schema.String),
|
|
1256
1237
|
headers: Schema.optional(
|
|
1257
1238
|
Schema.Array(
|
|
1258
1239
|
Schema.Struct({
|
|
@@ -1261,20 +1242,12 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1261
1242
|
}),
|
|
1262
1243
|
),
|
|
1263
1244
|
),
|
|
1264
|
-
interval: Schema.optional(
|
|
1265
|
-
Schema.Struct({
|
|
1266
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
1267
|
-
}),
|
|
1268
|
-
),
|
|
1245
|
+
interval: Schema.optional(Schema.String),
|
|
1269
1246
|
method: Schema.optional(Schema.String),
|
|
1270
1247
|
path: Schema.optional(Schema.String),
|
|
1271
1248
|
port: Schema.optional(Schema.Number),
|
|
1272
1249
|
protocol: Schema.optional(Schema.String),
|
|
1273
|
-
timeout: Schema.optional(
|
|
1274
|
-
Schema.Struct({
|
|
1275
|
-
"time.Duration": Schema.optional(Schema.Number),
|
|
1276
|
-
}),
|
|
1277
|
-
),
|
|
1250
|
+
timeout: Schema.optional(Schema.String),
|
|
1278
1251
|
tls_server_name: Schema.optional(Schema.String),
|
|
1279
1252
|
tls_skip_verify: Schema.optional(Schema.Boolean),
|
|
1280
1253
|
type: Schema.optional(Schema.String),
|
|
@@ -1362,12 +1335,18 @@ export const MachinesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1362
1335
|
),
|
|
1363
1336
|
stop_config: Schema.optional(
|
|
1364
1337
|
Schema.Struct({
|
|
1365
|
-
signal: Schema.optional(
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
"
|
|
1369
|
-
|
|
1338
|
+
signal: Schema.optional(
|
|
1339
|
+
Schema.Literals([
|
|
1340
|
+
"SIGHUP",
|
|
1341
|
+
"SIGINT",
|
|
1342
|
+
"SIGQUIT",
|
|
1343
|
+
"SIGKILL",
|
|
1344
|
+
"SIGUSR1",
|
|
1345
|
+
"SIGUSR2",
|
|
1346
|
+
"SIGTERM",
|
|
1347
|
+
]),
|
|
1370
1348
|
),
|
|
1349
|
+
timeout: Schema.optional(Schema.String),
|
|
1371
1350
|
}),
|
|
1372
1351
|
),
|
|
1373
1352
|
}),
|
|
@@ -7,11 +7,13 @@ export const MachinesUpdateMetadataInput =
|
|
|
7
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
8
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
9
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
10
|
-
|
|
10
|
+
machine_version: Schema.optional(Schema.String),
|
|
11
|
+
metadata: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
12
|
+
updated_at: Schema.optional(Schema.String),
|
|
11
13
|
}).pipe(
|
|
12
14
|
T.Http({
|
|
13
|
-
method: "
|
|
14
|
-
path: "/apps/{app_name}/machines/{machine_id}/metadata
|
|
15
|
+
method: "PUT",
|
|
16
|
+
path: "/apps/{app_name}/machines/{machine_id}/metadata",
|
|
15
17
|
}),
|
|
16
18
|
);
|
|
17
19
|
export type MachinesUpdateMetadataInput =
|
|
@@ -25,13 +27,13 @@ export type MachinesUpdateMetadataOutput =
|
|
|
25
27
|
|
|
26
28
|
// The operation
|
|
27
29
|
/**
|
|
28
|
-
* Update Metadata
|
|
30
|
+
* Update Metadata (set/remove multiple keys)
|
|
29
31
|
*
|
|
30
|
-
* Update metadata
|
|
32
|
+
* Update multiple metadata keys at once. Null values and empty strings remove keys.
|
|
33
|
+
* + If `machine_version` is provided and no longer matches the current machine version, returns 412 Precondition Failed.
|
|
31
34
|
*
|
|
32
35
|
* @param app_name - Fly App Name
|
|
33
36
|
* @param machine_id - Machine ID
|
|
34
|
-
* @param key - Metadata Key
|
|
35
37
|
*/
|
|
36
38
|
export const MachinesUpdateMetadata = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
37
39
|
() => ({
|
|
@@ -6,7 +6,9 @@ import * as T from "../traits";
|
|
|
6
6
|
export const MachinesWaitInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
7
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
8
8
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
9
|
+
version: Schema.optional(Schema.String),
|
|
9
10
|
instance_id: Schema.optional(Schema.String),
|
|
11
|
+
from_event_id: Schema.optional(Schema.String),
|
|
10
12
|
timeout: Schema.optional(Schema.Number),
|
|
11
13
|
state: Schema.optional(
|
|
12
14
|
Schema.Literals([
|
|
@@ -14,6 +16,7 @@ export const MachinesWaitInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14
16
|
"stopped",
|
|
15
17
|
"suspended",
|
|
16
18
|
"destroyed",
|
|
19
|
+
"failed",
|
|
17
20
|
"settled",
|
|
18
21
|
]),
|
|
19
22
|
),
|
|
@@ -27,8 +30,10 @@ export type MachinesWaitInput = typeof MachinesWaitInput.Type;
|
|
|
27
30
|
|
|
28
31
|
// Output Schema
|
|
29
32
|
export const MachinesWaitOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
33
|
+
event_id: Schema.optional(Schema.String),
|
|
30
34
|
ok: Schema.optional(Schema.Boolean),
|
|
31
35
|
state: Schema.optional(Schema.String),
|
|
36
|
+
version: Schema.optional(Schema.String),
|
|
32
37
|
});
|
|
33
38
|
export type MachinesWaitOutput = typeof MachinesWaitOutput.Type;
|
|
34
39
|
|
|
@@ -41,9 +46,11 @@ export type MachinesWaitOutput = typeof MachinesWaitOutput.Type;
|
|
|
41
46
|
*
|
|
42
47
|
* @param app_name - Fly App Name
|
|
43
48
|
* @param machine_id - Machine ID
|
|
44
|
-
* @param
|
|
49
|
+
* @param version - 26-character Machine version ID
|
|
50
|
+
* @param instance_id - 26-character Machine version ID (deprecated; use version)
|
|
51
|
+
* @param from_event_id - 26-character Machine event ID to start waiting after
|
|
45
52
|
* @param timeout - wait timeout. default 60s
|
|
46
|
-
* @param state - desired state
|
|
53
|
+
* @param state - desired state(s), supports repeated or comma-separated values
|
|
47
54
|
*/
|
|
48
55
|
export const MachinesWait = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
49
56
|
inputSchema: MachinesWaitInput,
|
|
@@ -13,6 +13,7 @@ export const PlatformPlacementsPostInput =
|
|
|
13
13
|
gpus: Schema.optional(Schema.Number),
|
|
14
14
|
host_dedication_id: Schema.optional(Schema.String),
|
|
15
15
|
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
16
|
+
max_memory_mb: Schema.optional(Schema.Number),
|
|
16
17
|
memory_mb: Schema.optional(Schema.Number),
|
|
17
18
|
persist_rootfs: Schema.optional(
|
|
18
19
|
Schema.Literals(["never", "always", "restart"]),
|
|
@@ -4,14 +4,9 @@ import * as T from "../traits";
|
|
|
4
4
|
|
|
5
5
|
// Input Schema
|
|
6
6
|
export const PlatformRegionsGetInput =
|
|
7
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
memory_mb: Schema.optional(Schema.Number),
|
|
11
|
-
cpus: Schema.optional(Schema.Number),
|
|
12
|
-
gpus: Schema.optional(Schema.Number),
|
|
13
|
-
gpu_kind: Schema.optional(Schema.String),
|
|
14
|
-
}).pipe(T.Http({ method: "GET", path: "/platform/regions" }));
|
|
7
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
|
|
8
|
+
T.Http({ method: "GET", path: "/platform/regions" }),
|
|
9
|
+
);
|
|
15
10
|
export type PlatformRegionsGetInput = typeof PlatformRegionsGetInput.Type;
|
|
16
11
|
|
|
17
12
|
// Output Schema
|
|
@@ -21,7 +16,6 @@ export const PlatformRegionsGetOutput =
|
|
|
21
16
|
regions: Schema.optional(
|
|
22
17
|
Schema.Array(
|
|
23
18
|
Schema.Struct({
|
|
24
|
-
capacity: Schema.optional(Schema.Number),
|
|
25
19
|
code: Schema.optional(Schema.String),
|
|
26
20
|
deprecated: Schema.optional(Schema.Boolean),
|
|
27
21
|
gateway_available: Schema.optional(Schema.Boolean),
|
|
@@ -40,14 +34,7 @@ export type PlatformRegionsGetOutput = typeof PlatformRegionsGetOutput.Type;
|
|
|
40
34
|
/**
|
|
41
35
|
* Get Regions
|
|
42
36
|
*
|
|
43
|
-
* List all regions on the platform with their
|
|
44
|
-
*
|
|
45
|
-
* @param size - guest machine size preset. default performance-1x
|
|
46
|
-
* @param cpu_kind - guest CPU kind
|
|
47
|
-
* @param memory_mb - guest memory in megabytes
|
|
48
|
-
* @param cpus - guest CPU count
|
|
49
|
-
* @param gpus - guest GPU count
|
|
50
|
-
* @param gpu_kind - guest GPU kind
|
|
37
|
+
* List all regions on the platform with their details.
|
|
51
38
|
*/
|
|
52
39
|
export const PlatformRegionsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
53
40
|
inputSchema: PlatformRegionsGetInput,
|
|
@@ -34,6 +34,7 @@ export const VolumeDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
34
34
|
size_gb: Schema.optional(Schema.Number),
|
|
35
35
|
snapshot_retention: Schema.optional(Schema.Number),
|
|
36
36
|
state: Schema.optional(Schema.String),
|
|
37
|
+
type: Schema.optional(Schema.Literals(["local", "cache"])),
|
|
37
38
|
zone: Schema.optional(Schema.String),
|
|
38
39
|
});
|
|
39
40
|
export type VolumeDeleteOutput = typeof VolumeDeleteOutput.Type;
|
|
@@ -14,6 +14,7 @@ export const VolumesCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
14
14
|
gpus: Schema.optional(Schema.Number),
|
|
15
15
|
host_dedication_id: Schema.optional(Schema.String),
|
|
16
16
|
kernel_args: Schema.optional(Schema.Array(Schema.String)),
|
|
17
|
+
max_memory_mb: Schema.optional(Schema.Number),
|
|
17
18
|
memory_mb: Schema.optional(Schema.Number),
|
|
18
19
|
persist_rootfs: Schema.optional(
|
|
19
20
|
Schema.Literals(["never", "always", "restart"]),
|
|
@@ -57,6 +58,7 @@ export const VolumesCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
57
58
|
size_gb: Schema.optional(Schema.Number),
|
|
58
59
|
snapshot_retention: Schema.optional(Schema.Number),
|
|
59
60
|
state: Schema.optional(Schema.String),
|
|
61
|
+
type: Schema.optional(Schema.Literals(["local", "cache"])),
|
|
60
62
|
zone: Schema.optional(Schema.String),
|
|
61
63
|
});
|
|
62
64
|
export type VolumesCreateOutput = typeof VolumesCreateOutput.Type;
|
|
@@ -41,6 +41,7 @@ export const VolumesExtendOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
41
41
|
size_gb: Schema.optional(Schema.Number),
|
|
42
42
|
snapshot_retention: Schema.optional(Schema.Number),
|
|
43
43
|
state: Schema.optional(Schema.String),
|
|
44
|
+
type: Schema.optional(Schema.Literals(["local", "cache"])),
|
|
44
45
|
zone: Schema.optional(Schema.String),
|
|
45
46
|
}),
|
|
46
47
|
),
|
|
@@ -34,6 +34,7 @@ export const VolumesGetByIdOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
34
34
|
size_gb: Schema.optional(Schema.Number),
|
|
35
35
|
snapshot_retention: Schema.optional(Schema.Number),
|
|
36
36
|
state: Schema.optional(Schema.String),
|
|
37
|
+
type: Schema.optional(Schema.Literals(["local", "cache"])),
|
|
37
38
|
zone: Schema.optional(Schema.String),
|
|
38
39
|
});
|
|
39
40
|
export type VolumesGetByIdOutput = typeof VolumesGetByIdOutput.Type;
|
|
@@ -33,6 +33,7 @@ export const VolumesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
|
33
33
|
size_gb: Schema.optional(Schema.Number),
|
|
34
34
|
snapshot_retention: Schema.optional(Schema.Number),
|
|
35
35
|
state: Schema.optional(Schema.String),
|
|
36
|
+
type: Schema.optional(Schema.Literals(["local", "cache"])),
|
|
36
37
|
zone: Schema.optional(Schema.String),
|
|
37
38
|
}),
|
|
38
39
|
);
|