@cloudyskysoftware/pulumi-fly-machines 0.0.17 → 0.0.19

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 (262) hide show
  1. package/apps/v1/app.d.ts +34 -0
  2. package/apps/v1/app.d.ts.map +1 -1
  3. package/apps/v1/app.js +9 -0
  4. package/apps/v1/app.js.map +1 -1
  5. package/apps/v1/appCertificatesAcme.d.ts +44 -2
  6. package/apps/v1/appCertificatesAcme.d.ts.map +1 -1
  7. package/apps/v1/appCertificatesAcme.js +9 -0
  8. package/apps/v1/appCertificatesAcme.js.map +1 -1
  9. package/apps/v1/appCertificatesCheck.d.ts +40 -2
  10. package/apps/v1/appCertificatesCheck.d.ts.map +1 -1
  11. package/apps/v1/appCertificatesCheck.js +9 -0
  12. package/apps/v1/appCertificatesCheck.js.map +1 -1
  13. package/apps/v1/appCertificatesCustom.d.ts +55 -2
  14. package/apps/v1/appCertificatesCustom.d.ts.map +1 -1
  15. package/apps/v1/appCertificatesCustom.js +9 -0
  16. package/apps/v1/appCertificatesCustom.js.map +1 -1
  17. package/apps/v1/appDeployToken.d.ts +20 -0
  18. package/apps/v1/appDeployToken.d.ts.map +1 -1
  19. package/apps/v1/appDeployToken.js +9 -0
  20. package/apps/v1/appDeployToken.js.map +1 -1
  21. package/apps/v1/appIPAssignment.d.ts +51 -3
  22. package/apps/v1/appIPAssignment.d.ts.map +1 -1
  23. package/apps/v1/appIPAssignment.js +9 -0
  24. package/apps/v1/appIPAssignment.js.map +1 -1
  25. package/apps/v1/getApp.d.ts +34 -2
  26. package/apps/v1/getApp.d.ts.map +1 -1
  27. package/apps/v1/getApp.js.map +1 -1
  28. package/apps/v1/getAppCertificate.d.ts +33 -2
  29. package/apps/v1/getAppCertificate.d.ts.map +1 -1
  30. package/apps/v1/getAppCertificate.js.map +1 -1
  31. package/apps/v1/getMachine.d.ts +76 -10
  32. package/apps/v1/getMachine.d.ts.map +1 -1
  33. package/apps/v1/getMachine.js.map +1 -1
  34. package/apps/v1/getMachinesLease.d.ts +6 -16
  35. package/apps/v1/getMachinesLease.d.ts.map +1 -1
  36. package/apps/v1/getMachinesLease.js.map +1 -1
  37. package/apps/v1/getMachinesMemory.d.ts +8 -0
  38. package/apps/v1/getMachinesMemory.d.ts.map +1 -1
  39. package/apps/v1/getMachinesMemory.js.map +1 -1
  40. package/apps/v1/getMachinesMetadataKey.d.ts +3 -0
  41. package/apps/v1/getMachinesMetadataKey.d.ts.map +1 -1
  42. package/apps/v1/getMachinesMetadataKey.js.map +1 -1
  43. package/apps/v1/getMachinesWait.d.ts +13 -0
  44. package/apps/v1/getMachinesWait.d.ts.map +1 -1
  45. package/apps/v1/getMachinesWait.js.map +1 -1
  46. package/apps/v1/getSecret.d.ts +16 -0
  47. package/apps/v1/getSecret.d.ts.map +1 -1
  48. package/apps/v1/getSecret.js.map +1 -1
  49. package/apps/v1/getSecretkey.d.ts +16 -1
  50. package/apps/v1/getSecretkey.d.ts.map +1 -1
  51. package/apps/v1/getSecretkey.js.map +1 -1
  52. package/apps/v1/getVolume.d.ts +85 -0
  53. package/apps/v1/getVolume.d.ts.map +1 -1
  54. package/apps/v1/getVolume.js.map +1 -1
  55. package/apps/v1/listAppCertificates.d.ts +9 -0
  56. package/apps/v1/listAppCertificates.d.ts.map +1 -1
  57. package/apps/v1/listAppCertificates.js.map +1 -1
  58. package/apps/v1/listAppIPAssignments.d.ts +3 -0
  59. package/apps/v1/listAppIPAssignments.d.ts.map +1 -1
  60. package/apps/v1/listAppIPAssignments.js.map +1 -1
  61. package/apps/v1/listApps.d.ts +7 -6
  62. package/apps/v1/listApps.d.ts.map +1 -1
  63. package/apps/v1/listApps.js.map +1 -1
  64. package/apps/v1/listSecretkeys.d.ts +3 -0
  65. package/apps/v1/listSecretkeys.d.ts.map +1 -1
  66. package/apps/v1/listSecretkeys.js.map +1 -1
  67. package/apps/v1/listSecrets.d.ts +3 -0
  68. package/apps/v1/listSecrets.d.ts.map +1 -1
  69. package/apps/v1/listSecrets.js.map +1 -1
  70. package/apps/v1/machine.d.ts +122 -12
  71. package/apps/v1/machine.d.ts.map +1 -1
  72. package/apps/v1/machine.js +9 -0
  73. package/apps/v1/machine.js.map +1 -1
  74. package/apps/v1/machinesCordon.d.ts +10 -0
  75. package/apps/v1/machinesCordon.d.ts.map +1 -1
  76. package/apps/v1/machinesCordon.js +9 -0
  77. package/apps/v1/machinesCordon.js.map +1 -1
  78. package/apps/v1/machinesExec.d.ts +57 -6
  79. package/apps/v1/machinesExec.d.ts.map +1 -1
  80. package/apps/v1/machinesExec.js +9 -0
  81. package/apps/v1/machinesExec.js.map +1 -1
  82. package/apps/v1/machinesLease.d.ts +20 -17
  83. package/apps/v1/machinesLease.d.ts.map +1 -1
  84. package/apps/v1/machinesLease.js +13 -8
  85. package/apps/v1/machinesLease.js.map +1 -1
  86. package/apps/v1/machinesMemoryLimit.d.ts +19 -0
  87. package/apps/v1/machinesMemoryLimit.d.ts.map +1 -1
  88. package/apps/v1/machinesMemoryLimit.js +9 -0
  89. package/apps/v1/machinesMemoryLimit.js.map +1 -1
  90. package/apps/v1/machinesMetadata.d.ts +21 -0
  91. package/apps/v1/machinesMetadata.d.ts.map +1 -1
  92. package/apps/v1/machinesMetadata.js +9 -0
  93. package/apps/v1/machinesMetadata.js.map +1 -1
  94. package/apps/v1/machinesMetadataKey.d.ts +19 -0
  95. package/apps/v1/machinesMetadataKey.d.ts.map +1 -1
  96. package/apps/v1/machinesMetadataKey.js +9 -0
  97. package/apps/v1/machinesMetadataKey.js.map +1 -1
  98. package/apps/v1/machinesReclaimMemory.d.ts +18 -0
  99. package/apps/v1/machinesReclaimMemory.d.ts.map +1 -1
  100. package/apps/v1/machinesReclaimMemory.js +9 -0
  101. package/apps/v1/machinesReclaimMemory.js.map +1 -1
  102. package/apps/v1/machinesRestart.d.ts +10 -0
  103. package/apps/v1/machinesRestart.d.ts.map +1 -1
  104. package/apps/v1/machinesRestart.js +9 -0
  105. package/apps/v1/machinesRestart.js.map +1 -1
  106. package/apps/v1/machinesSignal.d.ts +16 -0
  107. package/apps/v1/machinesSignal.d.ts.map +1 -1
  108. package/apps/v1/machinesSignal.js +9 -0
  109. package/apps/v1/machinesSignal.js.map +1 -1
  110. package/apps/v1/machinesStart.d.ts +7 -0
  111. package/apps/v1/machinesStart.d.ts.map +1 -1
  112. package/apps/v1/machinesStart.js +9 -0
  113. package/apps/v1/machinesStart.js.map +1 -1
  114. package/apps/v1/machinesStop.d.ts +26 -0
  115. package/apps/v1/machinesStop.d.ts.map +1 -1
  116. package/apps/v1/machinesStop.js +9 -0
  117. package/apps/v1/machinesStop.js.map +1 -1
  118. package/apps/v1/machinesSuspend.d.ts +10 -0
  119. package/apps/v1/machinesSuspend.d.ts.map +1 -1
  120. package/apps/v1/machinesSuspend.js +9 -0
  121. package/apps/v1/machinesSuspend.js.map +1 -1
  122. package/apps/v1/machinesUncordon.d.ts +10 -0
  123. package/apps/v1/machinesUncordon.d.ts.map +1 -1
  124. package/apps/v1/machinesUncordon.js +9 -0
  125. package/apps/v1/machinesUncordon.js.map +1 -1
  126. package/apps/v1/secret.d.ts +26 -0
  127. package/apps/v1/secret.d.ts.map +1 -1
  128. package/apps/v1/secret.js +9 -0
  129. package/apps/v1/secret.js.map +1 -1
  130. package/apps/v1/secretkey.d.ts +38 -3
  131. package/apps/v1/secretkey.d.ts.map +1 -1
  132. package/apps/v1/secretkey.js +9 -0
  133. package/apps/v1/secretkey.js.map +1 -1
  134. package/apps/v1/secretkeyDecrypt.d.ts +27 -5
  135. package/apps/v1/secretkeyDecrypt.d.ts.map +1 -1
  136. package/apps/v1/secretkeyDecrypt.js +9 -0
  137. package/apps/v1/secretkeyDecrypt.js.map +1 -1
  138. package/apps/v1/secretkeyEncrypt.d.ts +29 -5
  139. package/apps/v1/secretkeyEncrypt.d.ts.map +1 -1
  140. package/apps/v1/secretkeyEncrypt.js +9 -0
  141. package/apps/v1/secretkeyEncrypt.js.map +1 -1
  142. package/apps/v1/secretkeyGenerate.d.ts +38 -3
  143. package/apps/v1/secretkeyGenerate.d.ts.map +1 -1
  144. package/apps/v1/secretkeyGenerate.js +9 -0
  145. package/apps/v1/secretkeyGenerate.js.map +1 -1
  146. package/apps/v1/secretkeySign.d.ts +19 -3
  147. package/apps/v1/secretkeySign.d.ts.map +1 -1
  148. package/apps/v1/secretkeySign.js +9 -0
  149. package/apps/v1/secretkeySign.js.map +1 -1
  150. package/apps/v1/secretkeyVerify.d.ts +23 -4
  151. package/apps/v1/secretkeyVerify.d.ts.map +1 -1
  152. package/apps/v1/secretkeyVerify.js +9 -0
  153. package/apps/v1/secretkeyVerify.js.map +1 -1
  154. package/apps/v1/secrets.d.ts +11 -0
  155. package/apps/v1/secrets.d.ts.map +1 -1
  156. package/apps/v1/secrets.js +9 -0
  157. package/apps/v1/secrets.js.map +1 -1
  158. package/apps/v1/volume.d.ts +158 -8
  159. package/apps/v1/volume.d.ts.map +1 -1
  160. package/apps/v1/volume.js +9 -0
  161. package/apps/v1/volume.js.map +1 -1
  162. package/apps/v1/volumeSnapshot.d.ts +7 -0
  163. package/apps/v1/volumeSnapshot.d.ts.map +1 -1
  164. package/apps/v1/volumeSnapshot.js +9 -0
  165. package/apps/v1/volumeSnapshot.js.map +1 -1
  166. package/apps/v1/volumesExtend.d.ts +23 -1
  167. package/apps/v1/volumesExtend.d.ts.map +1 -1
  168. package/apps/v1/volumesExtend.js +9 -0
  169. package/apps/v1/volumesExtend.js.map +1 -1
  170. package/orgs/v1/listMachinesOrg.d.ts +16 -0
  171. package/orgs/v1/listMachinesOrg.d.ts.map +1 -1
  172. package/orgs/v1/listMachinesOrg.js.map +1 -1
  173. package/orgs/v1/listVolumesOrg.d.ts +12 -0
  174. package/orgs/v1/listVolumesOrg.d.ts.map +1 -1
  175. package/orgs/v1/listVolumesOrg.js.map +1 -1
  176. package/package.json +2 -2
  177. package/platform/v1/getPlatformRegion.d.ts +8 -1
  178. package/platform/v1/getPlatformRegion.d.ts.map +1 -1
  179. package/platform/v1/getPlatformRegion.js.map +1 -1
  180. package/platform/v1/platformPlacement.d.ts +36 -3
  181. package/platform/v1/platformPlacement.d.ts.map +1 -1
  182. package/platform/v1/platformPlacement.js +11 -2
  183. package/platform/v1/platformPlacement.js.map +1 -1
  184. package/postgres/v1/index.d.ts +3 -0
  185. package/postgres/v1/index.d.ts.map +1 -1
  186. package/postgres/v1/index.js +5 -1
  187. package/postgres/v1/index.js.map +1 -1
  188. package/postgres/v1/postgres.d.ts +7 -0
  189. package/postgres/v1/postgres.d.ts.map +1 -1
  190. package/postgres/v1/postgres.js +9 -0
  191. package/postgres/v1/postgres.js.map +1 -1
  192. package/postgres/v1/postgresAttachment.d.ts +7 -0
  193. package/postgres/v1/postgresAttachment.d.ts.map +1 -1
  194. package/postgres/v1/postgresAttachment.js +9 -0
  195. package/postgres/v1/postgresAttachment.js.map +1 -1
  196. package/postgres/v1/postgresBackup.d.ts +7 -0
  197. package/postgres/v1/postgresBackup.d.ts.map +1 -1
  198. package/postgres/v1/postgresBackup.js +9 -0
  199. package/postgres/v1/postgresBackup.js.map +1 -1
  200. package/postgres/v1/postgresDatabase.d.ts +7 -0
  201. package/postgres/v1/postgresDatabase.d.ts.map +1 -1
  202. package/postgres/v1/postgresDatabase.js +9 -0
  203. package/postgres/v1/postgresDatabase.js.map +1 -1
  204. package/postgres/v1/postgresDatabasesQuery.d.ts +76 -0
  205. package/postgres/v1/postgresDatabasesQuery.d.ts.map +1 -0
  206. package/postgres/v1/postgresDatabasesQuery.js +98 -0
  207. package/postgres/v1/postgresDatabasesQuery.js.map +1 -0
  208. package/postgres/v1/postgresExtension.d.ts +7 -0
  209. package/postgres/v1/postgresExtension.d.ts.map +1 -1
  210. package/postgres/v1/postgresExtension.js +9 -0
  211. package/postgres/v1/postgresExtension.js.map +1 -1
  212. package/postgres/v1/postgresFork.d.ts +7 -0
  213. package/postgres/v1/postgresFork.d.ts.map +1 -1
  214. package/postgres/v1/postgresFork.js +9 -0
  215. package/postgres/v1/postgresFork.js.map +1 -1
  216. package/postgres/v1/postgresRestore.d.ts +7 -0
  217. package/postgres/v1/postgresRestore.d.ts.map +1 -1
  218. package/postgres/v1/postgresRestore.js +9 -0
  219. package/postgres/v1/postgresRestore.js.map +1 -1
  220. package/postgres/v1/postgresUser.d.ts +7 -0
  221. package/postgres/v1/postgresUser.d.ts.map +1 -1
  222. package/postgres/v1/postgresUser.js +9 -0
  223. package/postgres/v1/postgresUser.js.map +1 -1
  224. package/postgres/v1/postgresUsersRotatePassword.d.ts +7 -0
  225. package/postgres/v1/postgresUsersRotatePassword.d.ts.map +1 -1
  226. package/postgres/v1/postgresUsersRotatePassword.js +9 -0
  227. package/postgres/v1/postgresUsersRotatePassword.js.map +1 -1
  228. package/tokens/v1/getCurrentToken.d.ts +5 -0
  229. package/tokens/v1/getCurrentToken.d.ts.map +1 -1
  230. package/tokens/v1/getCurrentToken.js.map +1 -1
  231. package/tokens/v1/tokensAuthenticate.d.ts +13 -0
  232. package/tokens/v1/tokensAuthenticate.d.ts.map +1 -1
  233. package/tokens/v1/tokensAuthenticate.js +9 -0
  234. package/tokens/v1/tokensAuthenticate.js.map +1 -1
  235. package/tokens/v1/tokensAuthorize.d.ts +25 -3
  236. package/tokens/v1/tokensAuthorize.d.ts.map +1 -1
  237. package/tokens/v1/tokensAuthorize.js +9 -0
  238. package/tokens/v1/tokensAuthorize.js.map +1 -1
  239. package/tokens/v1/tokensRequestKm.d.ts +7 -0
  240. package/tokens/v1/tokensRequestKm.d.ts.map +1 -1
  241. package/tokens/v1/tokensRequestKm.js +9 -0
  242. package/tokens/v1/tokensRequestKm.js.map +1 -1
  243. package/tokens/v1/tokensRequestOidc.d.ts +21 -0
  244. package/tokens/v1/tokensRequestOidc.d.ts.map +1 -1
  245. package/tokens/v1/tokensRequestOidc.js +9 -0
  246. package/tokens/v1/tokensRequestOidc.js.map +1 -1
  247. package/types/enums/apps/v1/index.d.ts +106 -1
  248. package/types/enums/apps/v1/index.d.ts.map +1 -1
  249. package/types/enums/apps/v1/index.js +32 -1
  250. package/types/enums/apps/v1/index.js.map +1 -1
  251. package/types/enums/orgs/v1/index.d.ts +8 -0
  252. package/types/enums/orgs/v1/index.d.ts.map +1 -1
  253. package/types/enums/orgs/v1/index.js.map +1 -1
  254. package/types/enums/platform/v1/index.d.ts +11 -0
  255. package/types/enums/platform/v1/index.d.ts.map +1 -1
  256. package/types/enums/platform/v1/index.js +8 -1
  257. package/types/enums/platform/v1/index.js.map +1 -1
  258. package/types/input.d.ts +597 -195
  259. package/types/input.d.ts.map +1 -1
  260. package/types/input.js.map +1 -1
  261. package/types/output.d.ts +2605 -678
  262. package/types/output.d.ts.map +1 -1
package/types/input.d.ts CHANGED
@@ -199,7 +199,66 @@ export declare namespace apps {
199
199
  } | undefined>;
200
200
  }
201
201
  /**
202
- * An object defining the Machine configuration
202
+ * Requirements of the Machine that will use the volume, so that the volume is placed on a
203
+ * host that can run it. Uses `cpus`, `memory_mb`, `cpu_kind`, `host_dedication_id`, and
204
+ * `required_host_features`.
205
+ */
206
+ interface ComputeArgs {
207
+ /**
208
+ * Kind of CPU: shared or performance. Performance CPUs must be enabled for the organization.
209
+ * Defaults to shared when `guest` is omitted
210
+ */
211
+ cpuKind?: pulumi.Input<string | undefined>;
212
+ /**
213
+ * Number of CPUs: 1, 2, 4, 6, 8, 10, 12, 14, 16, 32, 64 or 128, up to 8 for shared and 16 for
214
+ * performance CPUs unless the organization's limit is higher. Defaults to 1 when `guest` is
215
+ * omitted
216
+ */
217
+ cpus?: pulumi.Input<number | undefined>;
218
+ /**
219
+ * No longer supported. Requests that set it are rejected
220
+ */
221
+ gpuKind?: pulumi.Input<string | undefined>;
222
+ /**
223
+ * No longer supported. Requests that set it are rejected
224
+ */
225
+ gpus?: pulumi.Input<number | undefined>;
226
+ /**
227
+ * Place the Machine on hosts dedicated to the organization under this ID. Only available to
228
+ * organizations with dedicated hosts
229
+ */
230
+ hostDedicationId?: pulumi.Input<string | undefined>;
231
+ /**
232
+ * Extra arguments appended to the guest kernel command line
233
+ */
234
+ kernelArgs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
235
+ /**
236
+ * Memory in MiB that the Machine's memory limit can later be raised to without a restart, using
237
+ * the memory endpoints. Must be at least memory_mb and at most the per-CPU maximum. The Machine
238
+ * starts with a limit of memory_mb
239
+ */
240
+ maxMemoryMb?: pulumi.Input<number | undefined>;
241
+ /**
242
+ * Memory in MiB. Must be a multiple of 256 for shared and 1024 for performance CPUs, and
243
+ * between 256 and 2048 (shared) or 2048 and 8192 (performance) per CPU. Defaults to 256 when
244
+ * `guest` is omitted
245
+ */
246
+ memoryMb?: pulumi.Input<number | undefined>;
247
+ /**
248
+ * Deprecated: use MachineConfig.Rootfs instead
249
+ */
250
+ persistRootfs?: pulumi.Input<enums.apps.v1.FlyMachineGuestPersistRootfs | undefined>;
251
+ /**
252
+ * Host features the Machine's host must have, such as `storage-tier-1`. At most 16, each made
253
+ * of lowercase letters, digits and dashes. Each feature must be enabled for the organization
254
+ */
255
+ requiredHostFeatures?: pulumi.Input<pulumi.Input<string>[] | undefined>;
256
+ }
257
+ /**
258
+ * The Machine's configuration, as provided when it was created or last updated, with
259
+ * `metadata` and `mounts` reflecting their current values. Null when the host is not
260
+ * reachable (`host_status` is not `ok`) or `summary=true` was requested; see
261
+ * `incomplete_config`.
203
262
  */
204
263
  interface ConfigArgs {
205
264
  /**
@@ -207,7 +266,7 @@ export declare namespace apps {
207
266
  */
208
267
  autoDestroy?: pulumi.Input<boolean | undefined>;
209
268
  /**
210
- * A cache drive attached to the Machine
269
+ * Beta: a cache drive attached to the Machine. This field may be removed in the future
211
270
  */
212
271
  cacheDrive?: pulumi.Input<inputs.apps.v1.FlyMachineConfigCacheDriveArgs | undefined>;
213
272
  /**
@@ -276,7 +335,8 @@ export declare namespace apps {
276
335
  */
277
336
  restart?: pulumi.Input<inputs.apps.v1.FlyMachineConfigRestartArgs | undefined>;
278
337
  /**
279
- * The size of the Machine's root filesystem and whether it persists
338
+ * Beta: the size of the Machine's root filesystem and whether it persists. This field may be
339
+ * removed in the future
280
340
  */
281
341
  rootfs?: pulumi.Input<inputs.apps.v1.FlyMachineConfigRootfsArgs | undefined>;
282
342
  /**
@@ -396,15 +456,32 @@ export declare namespace apps {
396
456
  * Stop is used to define the signal and timeout for stopping the container.
397
457
  */
398
458
  interface FlyContainerConfigStopArgs {
459
+ /**
460
+ * Signal to send to the Machine's processes. Defaults to SIGINT
461
+ */
399
462
  signal?: pulumi.Input<enums.apps.v1.FlyStopConfigSignal | undefined>;
463
+ /**
464
+ * How long to wait for the Machine to exit after sending the signal, before killing it. At most
465
+ * 5 minutes (1 minute for spot Machines). Defaults to 5s (60s for spot Machines)
466
+ */
400
467
  timeout?: pulumi.Input<string | undefined>;
401
468
  }
402
469
  interface FlyContainerDependencyArgs {
470
+ /**
471
+ * When the container can start: once the dependency has `started`, is `healthy`, or has
472
+ * `exited_successfully`
473
+ */
403
474
  condition?: pulumi.Input<enums.apps.v1.FlyContainerDependencyCondition | undefined>;
475
+ /**
476
+ * Name of the container this one depends on
477
+ */
404
478
  name?: pulumi.Input<string | undefined>;
405
479
  }
406
480
  interface FlyContainerHealthcheckArgs {
407
- exec?: pulumi.Input<inputs.apps.v1.FlyExecHealthcheckArgs | undefined>;
481
+ /**
482
+ * Check that a command run in the container exits with status 0
483
+ */
484
+ exec?: pulumi.Input<inputs.apps.v1.FlyContainerHealthcheckExecArgs | undefined>;
408
485
  /**
409
486
  * The number of times the check must fail before considering the container unhealthy.
410
487
  */
@@ -413,7 +490,10 @@ export declare namespace apps {
413
490
  * The time in seconds to wait after a container starts before checking its health.
414
491
  */
415
492
  gracePeriod?: pulumi.Input<number | undefined>;
416
- http?: pulumi.Input<inputs.apps.v1.FlyHTTPHealthcheckArgs | undefined>;
493
+ /**
494
+ * Check that an HTTP request succeeds
495
+ */
496
+ http?: pulumi.Input<inputs.apps.v1.FlyContainerHealthcheckHttpArgs | undefined>;
417
497
  /**
418
498
  * The time in seconds between executing the defined check.
419
499
  */
@@ -430,7 +510,10 @@ export declare namespace apps {
430
510
  * The number of times the check must succeeed before considering the container healthy.
431
511
  */
432
512
  successThreshold?: pulumi.Input<number | undefined>;
433
- tcp?: pulumi.Input<inputs.apps.v1.FlyTCPHealthcheckArgs | undefined>;
513
+ /**
514
+ * Check that a TCP connection can be opened
515
+ */
516
+ tcp?: pulumi.Input<inputs.apps.v1.FlyContainerHealthcheckTcpArgs | undefined>;
434
517
  /**
435
518
  * The time in seconds to wait for the check to complete.
436
519
  */
@@ -440,12 +523,75 @@ export declare namespace apps {
440
523
  */
441
524
  unhealthy?: pulumi.Input<enums.apps.v1.FlyContainerHealthcheckUnhealthy | undefined>;
442
525
  }
526
+ /**
527
+ * Check that a command run in the container exits with status 0
528
+ */
529
+ interface FlyContainerHealthcheckExecArgs {
530
+ /**
531
+ * The command to run to check the health of the container (e.g. ["cat", "/tmp/healthy"])
532
+ */
533
+ command?: pulumi.Input<pulumi.Input<string>[] | undefined>;
534
+ }
535
+ /**
536
+ * Check that an HTTP request succeeds
537
+ */
538
+ interface FlyContainerHealthcheckHttpArgs {
539
+ /**
540
+ * Additional headers to send with the request
541
+ */
542
+ headers?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineHTTPHeaderArgs>[] | undefined>;
543
+ /**
544
+ * The HTTP method to use to when making the request
545
+ */
546
+ method?: pulumi.Input<string | undefined>;
547
+ /**
548
+ * The path to send the request to
549
+ */
550
+ path?: pulumi.Input<string | undefined>;
551
+ /**
552
+ * The port to connect to, often the same as internal_port
553
+ */
554
+ port?: pulumi.Input<number | undefined>;
555
+ /**
556
+ * Whether to use http or https
557
+ */
558
+ scheme?: pulumi.Input<enums.apps.v1.FlyHTTPHealthcheckScheme | undefined>;
559
+ /**
560
+ * If the protocol is https, the hostname to use for TLS certificate validation
561
+ */
562
+ tlsServerName?: pulumi.Input<string | undefined>;
563
+ /**
564
+ * If the protocol is https, whether or not to verify the TLS certificate
565
+ */
566
+ tlsSkipVerify?: pulumi.Input<boolean | undefined>;
567
+ }
568
+ /**
569
+ * Check that a TCP connection can be opened
570
+ */
571
+ interface FlyContainerHealthcheckTcpArgs {
572
+ /**
573
+ * The port to connect to, often the same as internal_port
574
+ */
575
+ port?: pulumi.Input<number | undefined>;
576
+ }
443
577
  interface FlyDnsForwardRuleArgs {
578
+ /**
579
+ * Address and port of the DNS server to forward queries to over TCP, e.g. `10.0.0.1:53`
580
+ */
444
581
  addr?: pulumi.Input<string | undefined>;
582
+ /**
583
+ * Domain to forward queries for, including subdomains. Must end in a dot, e.g. `example.com.`
584
+ */
445
585
  basename?: pulumi.Input<string | undefined>;
446
586
  }
447
587
  interface FlyDnsOptionArgs {
588
+ /**
589
+ * Option name, e.g. `ndots`
590
+ */
448
591
  name?: pulumi.Input<string | undefined>;
592
+ /**
593
+ * Option value, e.g. `5`
594
+ */
449
595
  value?: pulumi.Input<string | undefined>;
450
596
  }
451
597
  /**
@@ -462,12 +608,6 @@ export declare namespace apps {
462
608
  */
463
609
  fieldRef?: pulumi.Input<enums.apps.v1.FlyEnvFromFieldRef | undefined>;
464
610
  }
465
- interface FlyExecHealthcheckArgs {
466
- /**
467
- * The command to run to check the health of the container (e.g. ["cat", "/tmp/healthy"])
468
- */
469
- command?: pulumi.Input<pulumi.Input<string>[] | undefined>;
470
- }
471
611
  /**
472
612
  * A file that will be written to the Machine. One of RawValue or SecretName must be set.
473
613
  */
@@ -494,54 +634,37 @@ export declare namespace apps {
494
634
  */
495
635
  secretName?: pulumi.Input<string | undefined>;
496
636
  }
497
- interface FlyHTTPHealthcheckArgs {
498
- /**
499
- * Additional headers to send with the request
500
- */
501
- headers?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineHTTPHeaderArgs>[] | undefined>;
502
- /**
503
- * The HTTP method to use to when making the request
504
- */
505
- method?: pulumi.Input<string | undefined>;
506
- /**
507
- * The path to send the request to
508
- */
509
- path?: pulumi.Input<string | undefined>;
510
- /**
511
- * The port to connect to, often the same as internal_port
512
- */
513
- port?: pulumi.Input<number | undefined>;
514
- /**
515
- * Whether to use http or https
516
- */
517
- scheme?: pulumi.Input<enums.apps.v1.FlyHTTPHealthcheckScheme | undefined>;
518
- /**
519
- * If the protocol is https, the hostname to use for TLS certificate validation
520
- */
521
- tlsServerName?: pulumi.Input<string | undefined>;
637
+ /**
638
+ * Changes Fly Proxy makes to responses
639
+ */
640
+ interface FlyHTTPOptionsResponseArgs {
522
641
  /**
523
- * If the protocol is https, whether or not to verify the TLS certificate
642
+ * Response headers to set. A string sets the header, a list of strings sets it to multiple
643
+ * values, and false removes it
524
644
  */
525
- tlsSkipVerify?: pulumi.Input<boolean | undefined>;
526
- }
527
- interface FlyHTTPOptionsArgs {
528
- compress?: pulumi.Input<boolean | undefined>;
529
- h2Backend?: pulumi.Input<boolean | undefined>;
530
- headersReadTimeout?: pulumi.Input<number | undefined>;
531
- idleTimeout?: pulumi.Input<number | undefined>;
532
- replayCache?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyReplayCacheArgs>[] | undefined>;
533
- response?: pulumi.Input<inputs.apps.v1.FlyHTTPResponseOptionsArgs | undefined>;
534
- }
535
- interface FlyHTTPResponseOptionsArgs {
536
645
  headers?: pulumi.Input<{
537
646
  [key: string]: any;
538
647
  } | undefined>;
648
+ /**
649
+ * Don't let Fly Proxy add or change any response headers
650
+ */
539
651
  pristine?: pulumi.Input<boolean | undefined>;
540
652
  }
541
653
  /**
542
- * A cache drive attached to the Machine
654
+ * Beta: a cache drive attached to the Machine. This field may be removed in the future
543
655
  */
544
656
  interface FlyMachineConfigCacheDriveArgs {
657
+ /**
658
+ * Optional absolute guest mount path. When set, the device is formatted as ext4.
659
+ * Without a path, the device retains legacy raw block behavior. Contents survive
660
+ * same-host restarts and path changes, but are discarded on size or mode changes,
661
+ * relocation, recovery on another host, and cloning.
662
+ */
663
+ path?: pulumi.Input<string | undefined>;
664
+ /**
665
+ * Fixed size of the Machine-owned cache drive in MiB. At most 51200.
666
+ * With a path, at least 16 MiB is required; without a path, 0 disables the device.
667
+ */
545
668
  sizeMb?: pulumi.Input<number | undefined>;
546
669
  }
547
670
  /**
@@ -552,6 +675,9 @@ export declare namespace apps {
552
675
  * The time to wait after a VM starts before checking its health
553
676
  */
554
677
  gracePeriod?: pulumi.Input<string | undefined>;
678
+ /**
679
+ * For http checks, headers to send with the request
680
+ */
555
681
  headers?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineHTTPHeaderArgs>[] | undefined>;
556
682
  /**
557
683
  * The time between connectivity checks
@@ -598,49 +724,135 @@ export declare namespace apps {
598
724
  * DNS settings for the Machine
599
725
  */
600
726
  interface FlyMachineConfigDnsArgs {
727
+ /**
728
+ * Forward DNS queries for some domains to other DNS servers
729
+ */
601
730
  dnsForwardRules?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyDnsForwardRuleArgs>[] | undefined>;
731
+ /**
732
+ * Hostname of the Machine. Defaults to the Machine ID. Also added to /etc/hosts with the
733
+ * Machine's 6PN address
734
+ */
602
735
  hostname?: pulumi.Input<string | undefined>;
736
+ /**
737
+ * Fully qualified domain name added to /etc/hosts for `hostname`
738
+ */
603
739
  hostnameFqdn?: pulumi.Input<string | undefined>;
740
+ /**
741
+ * Nameservers to use instead of the default, Fly.io's private DNS server `fdaa::3`
742
+ */
604
743
  nameservers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
744
+ /**
745
+ * Options for /etc/resolv.conf
746
+ */
605
747
  options?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyDnsOptionArgs>[] | undefined>;
748
+ /**
749
+ * Search domains for /etc/resolv.conf
750
+ */
606
751
  searches?: pulumi.Input<pulumi.Input<string>[] | undefined>;
752
+ /**
753
+ * Currently has no effect
754
+ */
607
755
  skipRegistration?: pulumi.Input<boolean | undefined>;
608
756
  }
609
757
  /**
610
758
  * The resources (CPUs, memory, etc.) allocated to the Machine
611
759
  */
612
760
  interface FlyMachineConfigGuestArgs {
761
+ /**
762
+ * Kind of CPU: shared or performance. Performance CPUs must be enabled for the organization.
763
+ * Defaults to shared when `guest` is omitted
764
+ */
613
765
  cpuKind?: pulumi.Input<string | undefined>;
766
+ /**
767
+ * Number of CPUs: 1, 2, 4, 6, 8, 10, 12, 14, 16, 32, 64 or 128, up to 8 for shared and 16 for
768
+ * performance CPUs unless the organization's limit is higher. Defaults to 1 when `guest` is
769
+ * omitted
770
+ */
614
771
  cpus?: pulumi.Input<number | undefined>;
772
+ /**
773
+ * No longer supported. Requests that set it are rejected
774
+ */
615
775
  gpuKind?: pulumi.Input<string | undefined>;
776
+ /**
777
+ * No longer supported. Requests that set it are rejected
778
+ */
616
779
  gpus?: pulumi.Input<number | undefined>;
780
+ /**
781
+ * Place the Machine on hosts dedicated to the organization under this ID. Only available to
782
+ * organizations with dedicated hosts
783
+ */
617
784
  hostDedicationId?: pulumi.Input<string | undefined>;
785
+ /**
786
+ * Extra arguments appended to the guest kernel command line
787
+ */
618
788
  kernelArgs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
789
+ /**
790
+ * Memory in MiB that the Machine's memory limit can later be raised to without a restart, using
791
+ * the memory endpoints. Must be at least memory_mb and at most the per-CPU maximum. The Machine
792
+ * starts with a limit of memory_mb
793
+ */
619
794
  maxMemoryMb?: pulumi.Input<number | undefined>;
795
+ /**
796
+ * Memory in MiB. Must be a multiple of 256 for shared and 1024 for performance CPUs, and
797
+ * between 256 and 2048 (shared) or 2048 and 8192 (performance) per CPU. Defaults to 256 when
798
+ * `guest` is omitted
799
+ */
620
800
  memoryMb?: pulumi.Input<number | undefined>;
621
801
  /**
622
802
  * Deprecated: use MachineConfig.Rootfs instead
623
803
  */
624
804
  persistRootfs?: pulumi.Input<enums.apps.v1.FlyMachineGuestPersistRootfs | undefined>;
805
+ /**
806
+ * Host features the Machine's host must have, such as `storage-tier-1`. At most 16, each made
807
+ * of lowercase letters, digits and dashes. Each feature must be enabled for the organization
808
+ */
625
809
  requiredHostFeatures?: pulumi.Input<pulumi.Input<string>[] | undefined>;
626
810
  }
627
811
  /**
628
812
  * Arguments for init, Fly.io's footprint inside the Machine, which controls how your own code is run
629
813
  */
630
814
  interface FlyMachineConfigInitArgs {
815
+ /**
816
+ * Replaces the image's CMD. It's appended to the entrypoint
817
+ */
631
818
  cmd?: pulumi.Input<pulumi.Input<string>[] | undefined>;
819
+ /**
820
+ * Replaces the image's ENTRYPOINT
821
+ */
632
822
  entrypoint?: pulumi.Input<pulumi.Input<string>[] | undefined>;
823
+ /**
824
+ * Command to run instead of the image's ENTRYPOINT and CMD. Takes precedence over entrypoint
825
+ * and cmd
826
+ */
633
827
  exec?: pulumi.Input<pulumi.Input<string>[] | undefined>;
828
+ /**
829
+ * Currently has no effect. Use `guest.kernel_args` instead
830
+ */
634
831
  kernelArgs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
832
+ /**
833
+ * Size in MiB of a swap device to give the Machine. Machines with swap cannot be suspended
834
+ */
635
835
  swapSizeMb?: pulumi.Input<number | undefined>;
836
+ /**
837
+ * Currently has no effect
838
+ */
636
839
  tty?: pulumi.Input<boolean | undefined>;
637
840
  }
638
841
  /**
639
842
  * An optional metrics endpoint for Prometheus on Fly.io to scrape
640
843
  */
641
844
  interface FlyMachineConfigMetricsArgs {
845
+ /**
846
+ * Scrape over HTTPS instead of HTTP
847
+ */
642
848
  https?: pulumi.Input<boolean | undefined>;
849
+ /**
850
+ * HTTP path to scrape. Defaults to `/`
851
+ */
643
852
  path?: pulumi.Input<string | undefined>;
853
+ /**
854
+ * Port in the Machine to scrape metrics from
855
+ */
644
856
  port?: pulumi.Input<number | undefined>;
645
857
  }
646
858
  /**
@@ -659,10 +871,19 @@ export declare namespace apps {
659
871
  policy?: pulumi.Input<enums.apps.v1.FlyMachineRestartPolicy | undefined>;
660
872
  }
661
873
  /**
662
- * The size of the Machine's root filesystem and whether it persists
874
+ * Beta: the size of the Machine's root filesystem and whether it persists. This field may be
875
+ * removed in the future
663
876
  */
664
877
  interface FlyMachineConfigRootfsArgs {
878
+ /**
879
+ * Whether changes to the root filesystem are kept. `never` (default): reset on every start.
880
+ * `restart`: kept across stops and restarts, reset when the Machine is updated. `always`: also
881
+ * kept across updates
882
+ */
665
883
  persist?: pulumi.Input<enums.apps.v1.FlyMachineRootfsPersist | undefined>;
884
+ /**
885
+ * Size of the root filesystem in GB. At most 50; 0 uses the default
886
+ */
666
887
  sizeGb?: pulumi.Input<number | undefined>;
667
888
  }
668
889
  /**
@@ -678,23 +899,15 @@ export declare namespace apps {
678
899
  * How the Machine is shut down gracefully: the signal sent to it and how long to wait before a hard shutdown
679
900
  */
680
901
  interface FlyMachineConfigStopConfigArgs {
902
+ /**
903
+ * Signal to send to the Machine's processes. Defaults to SIGINT
904
+ */
681
905
  signal?: pulumi.Input<enums.apps.v1.FlyStopConfigSignal | undefined>;
682
- timeout?: pulumi.Input<string | undefined>;
683
- }
684
- interface FlyMachineGuestArgs {
685
- cpuKind?: pulumi.Input<string | undefined>;
686
- cpus?: pulumi.Input<number | undefined>;
687
- gpuKind?: pulumi.Input<string | undefined>;
688
- gpus?: pulumi.Input<number | undefined>;
689
- hostDedicationId?: pulumi.Input<string | undefined>;
690
- kernelArgs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
691
- maxMemoryMb?: pulumi.Input<number | undefined>;
692
- memoryMb?: pulumi.Input<number | undefined>;
693
906
  /**
694
- * Deprecated: use MachineConfig.Rootfs instead
907
+ * How long to wait for the Machine to exit after sending the signal, before killing it. At most
908
+ * 5 minutes (1 minute for spot Machines). Defaults to 5s (60s for spot Machines)
695
909
  */
696
- persistRootfs?: pulumi.Input<enums.apps.v1.FlyMachineGuestPersistRootfs | undefined>;
697
- requiredHostFeatures?: pulumi.Input<pulumi.Input<string>[] | undefined>;
910
+ timeout?: pulumi.Input<string | undefined>;
698
911
  }
699
912
  /**
700
913
  * For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call.
@@ -710,37 +923,160 @@ export declare namespace apps {
710
923
  values?: pulumi.Input<pulumi.Input<string>[] | undefined>;
711
924
  }
712
925
  interface FlyMachineMountArgs {
926
+ /**
927
+ * With automatic extension, grow the volume by this many GB at a time. Between 1 and 100.
928
+ * Mutually exclusive with add_size_percent
929
+ */
713
930
  addSizeGb?: pulumi.Input<number | undefined>;
714
931
  /**
715
932
  * AddSizePercent grows by a percentage of the current size, rounded up to GiB.
716
933
  * It is mutually exclusive with AddSizeGb.
717
934
  */
718
935
  addSizePercent?: pulumi.Input<number | undefined>;
936
+ /**
937
+ * Whether the volume is encrypted. Set by Fly.io; ignored in requests
938
+ */
719
939
  encrypted?: pulumi.Input<boolean | undefined>;
940
+ /**
941
+ * Enable automatic volume extension: grow the volume when its usage exceeds this percentage.
942
+ * Between 50 and 99; 0 disables it
943
+ */
720
944
  extendThresholdPercent?: pulumi.Input<number | undefined>;
721
945
  /**
722
946
  * MinAddSizeGb is the minimum proportional growth in GiB (default 1).
723
947
  */
724
948
  minAddSizeGb?: pulumi.Input<number | undefined>;
949
+ /**
950
+ * Name of the volume. Set by Fly.io; ignored in requests
951
+ */
725
952
  name?: pulumi.Input<string | undefined>;
953
+ /**
954
+ * Absolute path in the Machine to mount the volume at. Required
955
+ */
726
956
  path?: pulumi.Input<string | undefined>;
957
+ /**
958
+ * Size of the volume in GB. Set by Fly.io; ignored in requests
959
+ */
727
960
  sizeGb?: pulumi.Input<number | undefined>;
961
+ /**
962
+ * With automatic extension, never grow the volume beyond this size in GB. At most the
963
+ * organization's maximum volume size
964
+ */
728
965
  sizeGbLimit?: pulumi.Input<number | undefined>;
966
+ /**
967
+ * ID (`vol_...`) or name of the volume to mount. Required. With a name, any unattached volume
968
+ * of the app with that name in the Machine's region is used
969
+ */
729
970
  volume?: pulumi.Input<string | undefined>;
730
971
  }
731
972
  interface FlyMachinePortArgs {
973
+ /**
974
+ * Last public port of a range
975
+ */
732
976
  endPort?: pulumi.Input<number | undefined>;
977
+ /**
978
+ * Redirect plain HTTP requests to HTTPS
979
+ */
733
980
  forceHttps?: pulumi.Input<boolean | undefined>;
981
+ /**
982
+ * How Fly Proxy handles connections before forwarding them: `tls` terminates TLS, `pg_tls`
983
+ * terminates PostgreSQL TLS, `http` handles HTTP, `proxy_proto` adds a PROXY protocol header.
984
+ * Without handlers, raw TCP is forwarded
985
+ */
734
986
  handlers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
735
- httpOptions?: pulumi.Input<inputs.apps.v1.FlyHTTPOptionsArgs | undefined>;
987
+ /**
988
+ * Options for the `http` handler
989
+ */
990
+ httpOptions?: pulumi.Input<inputs.apps.v1.FlyMachinePortHttpOptionsArgs | undefined>;
991
+ /**
992
+ * Public port. Use either port, or start_port and end_port
993
+ */
736
994
  port?: pulumi.Input<number | undefined>;
737
- proxyProtoOptions?: pulumi.Input<inputs.apps.v1.FlyProxyProtoOptionsArgs | undefined>;
995
+ /**
996
+ * Options for the `proxy_proto` handler
997
+ */
998
+ proxyProtoOptions?: pulumi.Input<inputs.apps.v1.FlyMachinePortProxyProtoOptionsArgs | undefined>;
999
+ /**
1000
+ * First public port of a range
1001
+ */
738
1002
  startPort?: pulumi.Input<number | undefined>;
739
- tlsOptions?: pulumi.Input<inputs.apps.v1.FlyTLSOptionsArgs | undefined>;
1003
+ /**
1004
+ * Options for the `tls` handler
1005
+ */
1006
+ tlsOptions?: pulumi.Input<inputs.apps.v1.FlyMachinePortTlsOptionsArgs | undefined>;
1007
+ }
1008
+ /**
1009
+ * Options for the `http` handler
1010
+ */
1011
+ interface FlyMachinePortHttpOptionsArgs {
1012
+ /**
1013
+ * Compress response bodies. Defaults to true
1014
+ */
1015
+ compress?: pulumi.Input<boolean | undefined>;
1016
+ /**
1017
+ * Use HTTP/2 to talk to the Machine
1018
+ */
1019
+ h2Backend?: pulumi.Input<boolean | undefined>;
1020
+ /**
1021
+ * Seconds Fly Proxy waits for a client to send request headers. Defaults to 5
1022
+ */
1023
+ headersReadTimeout?: pulumi.Input<number | undefined>;
1024
+ /**
1025
+ * Seconds a client connection can be idle between requests before it's closed. Defaults to 300
1026
+ */
1027
+ idleTimeout?: pulumi.Input<number | undefined>;
1028
+ /**
1029
+ * Cache `fly-replay` responses from the Machine: once a client is replayed, its further
1030
+ * requests are replayed directly, keyed on a cookie or header, without asking the Machine again
1031
+ */
1032
+ replayCache?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyReplayCacheArgs>[] | undefined>;
1033
+ /**
1034
+ * Changes Fly Proxy makes to responses
1035
+ */
1036
+ response?: pulumi.Input<inputs.apps.v1.FlyHTTPOptionsResponseArgs | undefined>;
1037
+ }
1038
+ /**
1039
+ * Options for the `proxy_proto` handler
1040
+ */
1041
+ interface FlyMachinePortProxyProtoOptionsArgs {
1042
+ /**
1043
+ * With version v2, add the Fly-Src header and its signature to the PROXY protocol header
1044
+ */
1045
+ flySrc?: pulumi.Input<boolean | undefined>;
1046
+ /**
1047
+ * PROXY protocol version: v1 (default) or v2
1048
+ */
1049
+ version?: pulumi.Input<string | undefined>;
1050
+ }
1051
+ /**
1052
+ * Options for the `tls` handler
1053
+ */
1054
+ interface FlyMachinePortTlsOptionsArgs {
1055
+ /**
1056
+ * ALPN protocols to offer, e.g. `h2`, `http/1.1`. Defaults to `h2` and `http/1.1`
1057
+ */
1058
+ alpn?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1059
+ /**
1060
+ * Use a self-signed certificate when there is no certificate for the requested hostname
1061
+ */
1062
+ defaultSelfSigned?: pulumi.Input<boolean | undefined>;
1063
+ /**
1064
+ * TLS versions to accept: `TLSv1.2`, `TLSv1.3`. Defaults to both
1065
+ */
1066
+ versions?: pulumi.Input<pulumi.Input<string>[] | undefined>;
740
1067
  }
741
1068
  interface FlyMachineProcessArgs {
1069
+ /**
1070
+ * Replaces the image's CMD for this process. It's appended to the entrypoint
1071
+ */
742
1072
  cmd?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1073
+ /**
1074
+ * Replaces the image's ENTRYPOINT for this process
1075
+ */
743
1076
  entrypoint?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1077
+ /**
1078
+ * Environment variables for this process, in addition to the Machine's `env`
1079
+ */
744
1080
  env?: pulumi.Input<{
745
1081
  [key: string]: pulumi.Input<string>;
746
1082
  } | undefined>;
@@ -748,6 +1084,10 @@ export declare namespace apps {
748
1084
  * EnvFrom can be provided to set environment variables from machine fields.
749
1085
  */
750
1086
  envFrom?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyEnvFromArgs>[] | undefined>;
1087
+ /**
1088
+ * Command to run instead of the image's ENTRYPOINT and CMD. Takes precedence over entrypoint
1089
+ * and cmd
1090
+ */
751
1091
  exec?: pulumi.Input<pulumi.Input<string>[] | undefined>;
752
1092
  /**
753
1093
  * IgnoreAppSecrets can be set to true to ignore the secrets for the App the Machine belongs to
@@ -760,6 +1100,9 @@ export declare namespace apps {
760
1100
  * used for the process. If not provided, the secrets provided at the machine level will be used.
761
1101
  */
762
1102
  secrets?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineSecretArgs>[] | undefined>;
1103
+ /**
1104
+ * User to run the process as, instead of the image's USER
1105
+ */
763
1106
  user?: pulumi.Input<string | undefined>;
764
1107
  }
765
1108
  /**
@@ -778,6 +1121,9 @@ export declare namespace apps {
778
1121
  name?: pulumi.Input<string | undefined>;
779
1122
  }
780
1123
  interface FlyMachineServiceArgs {
1124
+ /**
1125
+ * Whether Fly Proxy starts stopped or suspended Machines when requests arrive. Defaults to true
1126
+ */
781
1127
  autostart?: pulumi.Input<boolean | undefined>;
782
1128
  /**
783
1129
  * Accepts a string (new format) or a boolean (old format). For backward compatibility with older clients, the API continues to use booleans for "off" and "stop" in responses.
@@ -790,12 +1136,34 @@ export declare namespace apps {
790
1136
  * An optional list of service checks
791
1137
  */
792
1138
  checks?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineServiceCheckArgs>[] | undefined>;
793
- concurrency?: pulumi.Input<inputs.apps.v1.FlyMachineServiceConcurrencyArgs | undefined>;
1139
+ /**
1140
+ * Load limits Fly Proxy uses to balance traffic across Machines
1141
+ */
1142
+ concurrency?: pulumi.Input<inputs.apps.v1.MachinesFlyMachineServiceConcurrencyArgs | undefined>;
1143
+ /**
1144
+ * Currently has no effect
1145
+ */
794
1146
  forceInstanceDescription?: pulumi.Input<string | undefined>;
1147
+ /**
1148
+ * Currently has no effect
1149
+ */
795
1150
  forceInstanceKey?: pulumi.Input<string | undefined>;
1151
+ /**
1152
+ * Port in the Machine that Fly Proxy forwards traffic to. Defaults to 8080
1153
+ */
796
1154
  internalPort?: pulumi.Input<number | undefined>;
1155
+ /**
1156
+ * When autostop is on, the number of Machines Fly Proxy keeps running in the app's primary
1157
+ * region (`PRIMARY_REGION` env var). Machines in other regions can all be stopped
1158
+ */
797
1159
  minMachinesRunning?: pulumi.Input<number | undefined>;
1160
+ /**
1161
+ * Public ports that Fly Proxy accepts traffic on
1162
+ */
798
1163
  ports?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachinePortArgs>[] | undefined>;
1164
+ /**
1165
+ * Protocol: tcp or udp. Defaults to tcp
1166
+ */
799
1167
  protocol?: pulumi.Input<string | undefined>;
800
1168
  }
801
1169
  interface FlyMachineServiceCheckArgs {
@@ -803,6 +1171,9 @@ export declare namespace apps {
803
1171
  * The time to wait after a VM starts before checking its health
804
1172
  */
805
1173
  gracePeriod?: pulumi.Input<string | undefined>;
1174
+ /**
1175
+ * For http checks, headers to send with the request
1176
+ */
806
1177
  headers?: pulumi.Input<pulumi.Input<inputs.apps.v1.FlyMachineHTTPHeaderArgs>[] | undefined>;
807
1178
  /**
808
1179
  * The time between connectivity checks
@@ -841,22 +1212,23 @@ export declare namespace apps {
841
1212
  */
842
1213
  type?: pulumi.Input<string | undefined>;
843
1214
  }
844
- interface FlyMachineServiceConcurrencyArgs {
845
- hardLimit?: pulumi.Input<number | undefined>;
846
- softLimit?: pulumi.Input<number | undefined>;
847
- type?: pulumi.Input<string | undefined>;
848
- }
849
- interface FlyProxyProtoOptionsArgs {
850
- flySrc?: pulumi.Input<boolean | undefined>;
851
- version?: pulumi.Input<string | undefined>;
852
- }
853
1215
  interface FlyReplayCacheArgs {
1216
+ /**
1217
+ * Let clients skip the cache by sending the `fly-replay-cache-control: skip` header
1218
+ */
854
1219
  allowBypass?: pulumi.Input<boolean | undefined>;
855
1220
  /**
856
1221
  * Name of the cookie or header to key the cache on
857
1222
  */
858
1223
  name?: pulumi.Input<string | undefined>;
1224
+ /**
1225
+ * Requests whose path starts with this prefix use the rule. May start with a hostname, e.g.
1226
+ * `example.com/api/*`
1227
+ */
859
1228
  pathPrefix?: pulumi.Input<string | undefined>;
1229
+ /**
1230
+ * How long a cached replay is used, in seconds
1231
+ */
860
1232
  ttlSeconds?: pulumi.Input<number | undefined>;
861
1233
  /**
862
1234
  * Currently either "cookie" or "header"
@@ -882,17 +1254,6 @@ export declare namespace apps {
882
1254
  */
883
1255
  urlPrefix: pulumi.Input<string>;
884
1256
  }
885
- interface FlyTCPHealthcheckArgs {
886
- /**
887
- * The port to connect to, often the same as internal_port
888
- */
889
- port?: pulumi.Input<number | undefined>;
890
- }
891
- interface FlyTLSOptionsArgs {
892
- alpn?: pulumi.Input<pulumi.Input<string>[] | undefined>;
893
- defaultSelfSigned?: pulumi.Input<boolean | undefined>;
894
- versions?: pulumi.Input<pulumi.Input<string>[] | undefined>;
895
- }
896
1257
  /**
897
1258
  * Query params for the API request.
898
1259
  */
@@ -1082,11 +1443,11 @@ export declare namespace apps {
1082
1443
  */
1083
1444
  instanceId?: string;
1084
1445
  /**
1085
- * desired state(s), supports repeated or comma-separated values
1446
+ * Desired state(s). Supports repeated or comma-separated values. settled matches any of started, stopped, suspended, failed, destroyed, or archived. Defaults to started.
1086
1447
  */
1087
1448
  state?: enums.apps.v1.GetMachinesWaitQueryParamsState;
1088
1449
  /**
1089
- * wait timeout. default 60s
1450
+ * Wait timeout in seconds. Defaults to 60.
1090
1451
  */
1091
1452
  timeout?: number;
1092
1453
  /**
@@ -1113,11 +1474,11 @@ export declare namespace apps {
1113
1474
  */
1114
1475
  instanceId?: pulumi.Input<string | undefined>;
1115
1476
  /**
1116
- * desired state(s), supports repeated or comma-separated values
1477
+ * Desired state(s). Supports repeated or comma-separated values. settled matches any of started, stopped, suspended, failed, destroyed, or archived. Defaults to started.
1117
1478
  */
1118
1479
  state?: pulumi.Input<enums.apps.v1.GetMachinesWaitQueryParamsState | undefined>;
1119
1480
  /**
1120
- * wait timeout. default 60s
1481
+ * Wait timeout in seconds. Defaults to 60.
1121
1482
  */
1122
1483
  timeout?: pulumi.Input<number | undefined>;
1123
1484
  /**
@@ -1136,11 +1497,11 @@ export declare namespace apps {
1136
1497
  [key: string]: string;
1137
1498
  };
1138
1499
  /**
1139
- * Minimum secrets version to return. Returned when setting a new secret
1500
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
1140
1501
  */
1141
1502
  minVersion?: string;
1142
1503
  /**
1143
- * Show the secret value.
1504
+ * Include the secret value. Only allowed when the request comes from a Machine of the app; otherwise the request fails with 403.
1144
1505
  */
1145
1506
  showSecrets?: boolean;
1146
1507
  }
@@ -1155,11 +1516,11 @@ export declare namespace apps {
1155
1516
  [key: string]: pulumi.Input<string>;
1156
1517
  } | undefined>;
1157
1518
  /**
1158
- * Minimum secrets version to return. Returned when setting a new secret
1519
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
1159
1520
  */
1160
1521
  minVersion?: pulumi.Input<string | undefined>;
1161
1522
  /**
1162
- * Show the secret value.
1523
+ * Include the secret value. Only allowed when the request comes from a Machine of the app; otherwise the request fails with 403.
1163
1524
  */
1164
1525
  showSecrets?: pulumi.Input<boolean | undefined>;
1165
1526
  }
@@ -1174,7 +1535,7 @@ export declare namespace apps {
1174
1535
  [key: string]: string;
1175
1536
  };
1176
1537
  /**
1177
- * Minimum secrets version to return. Returned when setting a new secret
1538
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
1178
1539
  */
1179
1540
  minVersion?: string;
1180
1541
  }
@@ -1189,7 +1550,7 @@ export declare namespace apps {
1189
1550
  [key: string]: pulumi.Input<string>;
1190
1551
  } | undefined>;
1191
1552
  /**
1192
- * Minimum secrets version to return. Returned when setting a new secret
1553
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
1193
1554
  */
1194
1555
  minVersion?: pulumi.Input<string | undefined>;
1195
1556
  }
@@ -1378,13 +1739,13 @@ export declare namespace apps {
1378
1739
  [key: string]: string;
1379
1740
  };
1380
1741
  /**
1381
- * Order
1742
+ * Sort order. Requires sort_by. Defaults to asc.
1382
1743
  */
1383
- order?: string;
1744
+ order?: enums.apps.v1.ListMachinesProcessesQueryParamsOrder;
1384
1745
  /**
1385
- * Sort by
1746
+ * Field to sort processes by
1386
1747
  */
1387
- sortBy?: string;
1748
+ sortBy?: enums.apps.v1.ListMachinesProcessesQueryParamsSortBy;
1388
1749
  }
1389
1750
  /**
1390
1751
  * Query params for the API request.
@@ -1397,13 +1758,13 @@ export declare namespace apps {
1397
1758
  [key: string]: pulumi.Input<string>;
1398
1759
  } | undefined>;
1399
1760
  /**
1400
- * Order
1761
+ * Sort order. Requires sort_by. Defaults to asc.
1401
1762
  */
1402
- order?: pulumi.Input<string | undefined>;
1763
+ order?: pulumi.Input<enums.apps.v1.ListMachinesProcessesQueryParamsOrder | undefined>;
1403
1764
  /**
1404
- * Sort by
1765
+ * Field to sort processes by
1405
1766
  */
1406
- sortBy?: pulumi.Input<string | undefined>;
1767
+ sortBy?: pulumi.Input<enums.apps.v1.ListMachinesProcessesQueryParamsSortBy | undefined>;
1407
1768
  }
1408
1769
  /**
1409
1770
  * Query params for the API request.
@@ -1524,11 +1885,11 @@ export declare namespace apps {
1524
1885
  [key: string]: string;
1525
1886
  };
1526
1887
  /**
1527
- * Minimum secrets version to return. Returned when setting a new secret
1888
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
1528
1889
  */
1529
1890
  minVersion?: string;
1530
1891
  /**
1531
- * Comma-seperated list of secret keys to list
1892
+ * Comma-separated list of key types to list, such as hs256,es256. Defaults to all types.
1532
1893
  */
1533
1894
  types?: string;
1534
1895
  }
@@ -1543,11 +1904,11 @@ export declare namespace apps {
1543
1904
  [key: string]: pulumi.Input<string>;
1544
1905
  } | undefined>;
1545
1906
  /**
1546
- * Minimum secrets version to return. Returned when setting a new secret
1907
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
1547
1908
  */
1548
1909
  minVersion?: pulumi.Input<string | undefined>;
1549
1910
  /**
1550
- * Comma-seperated list of secret keys to list
1911
+ * Comma-separated list of key types to list, such as hs256,es256. Defaults to all types.
1551
1912
  */
1552
1913
  types?: pulumi.Input<string | undefined>;
1553
1914
  }
@@ -1562,11 +1923,11 @@ export declare namespace apps {
1562
1923
  [key: string]: string;
1563
1924
  };
1564
1925
  /**
1565
- * Minimum secrets version to return. Returned when setting a new secret
1926
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
1566
1927
  */
1567
1928
  minVersion?: string;
1568
1929
  /**
1569
- * Show the secret values.
1930
+ * Include secret values. Only allowed when the request comes from a Machine of the app; otherwise the request fails with 403.
1570
1931
  */
1571
1932
  showSecrets?: boolean;
1572
1933
  }
@@ -1581,11 +1942,11 @@ export declare namespace apps {
1581
1942
  [key: string]: pulumi.Input<string>;
1582
1943
  } | undefined>;
1583
1944
  /**
1584
- * Minimum secrets version to return. Returned when setting a new secret
1945
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
1585
1946
  */
1586
1947
  minVersion?: pulumi.Input<string | undefined>;
1587
1948
  /**
1588
- * Show the secret values.
1949
+ * Include secret values. Only allowed when the request comes from a Machine of the app; otherwise the request fails with 403.
1589
1950
  */
1590
1951
  showSecrets?: pulumi.Input<boolean | undefined>;
1591
1952
  }
@@ -1774,6 +2135,25 @@ export declare namespace apps {
1774
2135
  */
1775
2136
  create?: pulumi.Input<inputs.apps.v1.MachinesExecCreateQueryParamsArgs | undefined>;
1776
2137
  }
2138
+ /**
2139
+ * Load limits Fly Proxy uses to balance traffic across Machines
2140
+ */
2141
+ interface MachinesFlyMachineServiceConcurrencyArgs {
2142
+ /**
2143
+ * Fly Proxy sends no more than this many connections or requests to a Machine at once. 0 means
2144
+ * no hard limit
2145
+ */
2146
+ hardLimit?: pulumi.Input<number | undefined>;
2147
+ /**
2148
+ * Above this many connections or requests, Fly Proxy prefers other Machines. Defaults to 20,
2149
+ * and is lowered to hard_limit if higher
2150
+ */
2151
+ softLimit?: pulumi.Input<number | undefined>;
2152
+ /**
2153
+ * What to count: `connections` (default) or `requests`
2154
+ */
2155
+ type?: pulumi.Input<string | undefined>;
2156
+ }
1777
2157
  /**
1778
2158
  * Query params for the API request.
1779
2159
  */
@@ -1784,6 +2164,10 @@ export declare namespace apps {
1784
2164
  additionalParams?: pulumi.Input<{
1785
2165
  [key: string]: pulumi.Input<string>;
1786
2166
  } | undefined>;
2167
+ /**
2168
+ * How long the lease is valid, in seconds. Overridden by ttl in the request body.
2169
+ */
2170
+ ttl?: pulumi.Input<number | undefined>;
1787
2171
  }
1788
2172
  /**
1789
2173
  * Query params for each of the operations of the resource.
@@ -2142,11 +2526,11 @@ export declare namespace apps {
2142
2526
  [key: string]: pulumi.Input<string>;
2143
2527
  } | undefined>;
2144
2528
  /**
2145
- * Minimum secrets version to return. Returned when setting a new secret
2529
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
2146
2530
  */
2147
2531
  minVersion?: pulumi.Input<string | undefined>;
2148
2532
  /**
2149
- * Show the secret value.
2533
+ * Include the secret value. Only allowed when the request comes from a Machine of the app; otherwise the request fails with 403.
2150
2534
  */
2151
2535
  showSecrets?: pulumi.Input<boolean | undefined>;
2152
2536
  }
@@ -2172,7 +2556,7 @@ export declare namespace apps {
2172
2556
  [key: string]: pulumi.Input<string>;
2173
2557
  } | undefined>;
2174
2558
  /**
2175
- * Minimum secrets version to return. Returned when setting a new secret
2559
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
2176
2560
  */
2177
2561
  minVersion?: pulumi.Input<string | undefined>;
2178
2562
  }
@@ -2207,7 +2591,7 @@ export declare namespace apps {
2207
2591
  [key: string]: pulumi.Input<string>;
2208
2592
  } | undefined>;
2209
2593
  /**
2210
- * Minimum secrets version to return. Returned when setting a new secret
2594
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
2211
2595
  */
2212
2596
  minVersion?: pulumi.Input<string | undefined>;
2213
2597
  }
@@ -2268,7 +2652,7 @@ export declare namespace apps {
2268
2652
  [key: string]: pulumi.Input<string>;
2269
2653
  } | undefined>;
2270
2654
  /**
2271
- * Minimum secrets version to return. Returned when setting a new secret
2655
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
2272
2656
  */
2273
2657
  minVersion?: pulumi.Input<string | undefined>;
2274
2658
  }
@@ -2283,7 +2667,7 @@ export declare namespace apps {
2283
2667
  [key: string]: pulumi.Input<string>;
2284
2668
  } | undefined>;
2285
2669
  /**
2286
- * Minimum secrets version to return. Returned when setting a new secret
2670
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
2287
2671
  */
2288
2672
  minVersion?: pulumi.Input<string | undefined>;
2289
2673
  }
@@ -2307,7 +2691,7 @@ export declare namespace apps {
2307
2691
  [key: string]: pulumi.Input<string>;
2308
2692
  } | undefined>;
2309
2693
  /**
2310
- * Minimum secrets version to return. Returned when setting a new secret
2694
+ * Minimum secrets version to read, as returned by the endpoints that set or delete secrets. Use it to read your own writes.
2311
2695
  */
2312
2696
  minVersion?: pulumi.Input<string | undefined>;
2313
2697
  }
@@ -2339,6 +2723,21 @@ export declare namespace apps {
2339
2723
  * Query params for the create operation.
2340
2724
  */
2341
2725
  create?: pulumi.Input<inputs.apps.v1.SecretsCreateQueryParamsArgs | undefined>;
2726
+ /**
2727
+ * Query params for the update operation.
2728
+ */
2729
+ update?: pulumi.Input<inputs.apps.v1.SecretsUpdateQueryParamsArgs | undefined>;
2730
+ }
2731
+ /**
2732
+ * Query params for the API request.
2733
+ */
2734
+ interface SecretsUpdateQueryParamsArgs {
2735
+ /**
2736
+ * Additional query params to send with the request that are not defined in the API spec.
2737
+ */
2738
+ additionalParams?: pulumi.Input<{
2739
+ [key: string]: pulumi.Input<string>;
2740
+ } | undefined>;
2342
2741
  }
2343
2742
  /**
2344
2743
  * Query params for the API request.
@@ -2628,18 +3027,54 @@ export declare namespace platform {
2628
3027
  * Resource requirements for the Machine to simulate. Defaults to a performance-1x machine
2629
3028
  */
2630
3029
  interface ComputeArgs {
3030
+ /**
3031
+ * Kind of CPU: shared or performance. Performance CPUs must be enabled for the organization.
3032
+ * Defaults to shared when `guest` is omitted
3033
+ */
2631
3034
  cpuKind?: pulumi.Input<string | undefined>;
3035
+ /**
3036
+ * Number of CPUs: 1, 2, 4, 6, 8, 10, 12, 14, 16, 32, 64 or 128, up to 8 for shared and 16 for
3037
+ * performance CPUs unless the organization's limit is higher. Defaults to 1 when `guest` is
3038
+ * omitted
3039
+ */
2632
3040
  cpus?: pulumi.Input<number | undefined>;
3041
+ /**
3042
+ * No longer supported. Requests that set it are rejected
3043
+ */
2633
3044
  gpuKind?: pulumi.Input<string | undefined>;
3045
+ /**
3046
+ * No longer supported. Requests that set it are rejected
3047
+ */
2634
3048
  gpus?: pulumi.Input<number | undefined>;
3049
+ /**
3050
+ * Place the Machine on hosts dedicated to the organization under this ID. Only available to
3051
+ * organizations with dedicated hosts
3052
+ */
2635
3053
  hostDedicationId?: pulumi.Input<string | undefined>;
3054
+ /**
3055
+ * Extra arguments appended to the guest kernel command line
3056
+ */
2636
3057
  kernelArgs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
3058
+ /**
3059
+ * Memory in MiB that the Machine's memory limit can later be raised to without a restart, using
3060
+ * the memory endpoints. Must be at least memory_mb and at most the per-CPU maximum. The Machine
3061
+ * starts with a limit of memory_mb
3062
+ */
2637
3063
  maxMemoryMb?: pulumi.Input<number | undefined>;
3064
+ /**
3065
+ * Memory in MiB. Must be a multiple of 256 for shared and 1024 for performance CPUs, and
3066
+ * between 256 and 2048 (shared) or 2048 and 8192 (performance) per CPU. Defaults to 256 when
3067
+ * `guest` is omitted
3068
+ */
2638
3069
  memoryMb?: pulumi.Input<number | undefined>;
2639
3070
  /**
2640
3071
  * Deprecated: use MachineConfig.Rootfs instead
2641
3072
  */
2642
3073
  persistRootfs?: pulumi.Input<enums.platform.v1.FlyMachineGuestPersistRootfs | undefined>;
3074
+ /**
3075
+ * Host features the Machine's host must have, such as `storage-tier-1`. At most 16, each made
3076
+ * of lowercase letters, digits and dashes. Each feature must be enabled for the organization
3077
+ */
2643
3078
  requiredHostFeatures?: pulumi.Input<pulumi.Input<string>[] | undefined>;
2644
3079
  }
2645
3080
  /**
@@ -3062,6 +3497,26 @@ export declare namespace postgres {
3062
3497
  */
3063
3498
  delete?: pulumi.Input<inputs.postgres.v1.PostgresDatabaseDeleteQueryParamsArgs | undefined>;
3064
3499
  }
3500
+ /**
3501
+ * Query params for the API request.
3502
+ */
3503
+ interface PostgresDatabasesQueryCreateQueryParamsArgs {
3504
+ /**
3505
+ * Additional query params to send with the request that are not defined in the API spec.
3506
+ */
3507
+ additionalParams?: pulumi.Input<{
3508
+ [key: string]: pulumi.Input<string>;
3509
+ } | undefined>;
3510
+ }
3511
+ /**
3512
+ * Query params for each of the operations of the resource.
3513
+ */
3514
+ interface PostgresDatabasesQueryQueryParamsArgs {
3515
+ /**
3516
+ * Query params for the create operation.
3517
+ */
3518
+ create?: pulumi.Input<inputs.postgres.v1.PostgresDatabasesQueryCreateQueryParamsArgs | undefined>;
3519
+ }
3065
3520
  /**
3066
3521
  * Query params for the API request.
3067
3522
  */
@@ -3239,6 +3694,26 @@ export declare namespace postgres {
3239
3694
  }
3240
3695
  export declare namespace tokens {
3241
3696
  namespace v1 {
3697
+ /**
3698
+ * The requested access, with names resolved to IDs.
3699
+ */
3700
+ interface AccessArgs {
3701
+ action?: pulumi.Input<enums.tokens.v1.FlyioAccessAction | undefined>;
3702
+ appFeature?: pulumi.Input<string | undefined>;
3703
+ appid?: pulumi.Input<number | undefined>;
3704
+ cluster?: pulumi.Input<string | undefined>;
3705
+ command?: pulumi.Input<pulumi.Input<string>[] | undefined>;
3706
+ feature?: pulumi.Input<string | undefined>;
3707
+ machine?: pulumi.Input<string | undefined>;
3708
+ machineFeature?: pulumi.Input<string | undefined>;
3709
+ mutation?: pulumi.Input<string | undefined>;
3710
+ orgid?: pulumi.Input<number | undefined>;
3711
+ sourceApp?: pulumi.Input<string | undefined>;
3712
+ sourceMachine?: pulumi.Input<string | undefined>;
3713
+ sourceOrganization?: pulumi.Input<string | undefined>;
3714
+ storageObject?: pulumi.Input<string | undefined>;
3715
+ volume?: pulumi.Input<string | undefined>;
3716
+ }
3242
3717
  /**
3243
3718
  * Query params for the API request.
3244
3719
  */
@@ -3261,79 +3736,6 @@ export declare namespace tokens {
3261
3736
  [key: string]: pulumi.Input<string>;
3262
3737
  } | undefined>;
3263
3738
  }
3264
- interface MainTokenAccessArgs {
3265
- /**
3266
- * Action is the action being taken on the specified resource. This is the
3267
- * combination of individual action characters (e.g "rw")
3268
- * - r: read
3269
- * - w: write
3270
- * - c: create
3271
- * - d: delete
3272
- * - C: control
3273
- */
3274
- action?: pulumi.Input<enums.tokens.v1.MainTokenAccessAction | undefined>;
3275
- /**
3276
- * AppFeature is a named set of functionality associated with the app. If
3277
- * this is specified, the AppName field must be set.
3278
- * - images: images in the fly.io registry
3279
- */
3280
- appFeature?: pulumi.Input<string | undefined>;
3281
- /**
3282
- * AppName is the name of the app being accessed.
3283
- */
3284
- appName?: pulumi.Input<string | undefined>;
3285
- /**
3286
- * Command is the command being executed on a machine. If this is specified,
3287
- * the Machine must be set.
3288
- */
3289
- command?: pulumi.Input<pulumi.Input<string>[] | undefined>;
3290
- /**
3291
- * MachineFeature is a named set of functionality associated with the
3292
- * machine. If this is specified, the Machine field must be set.
3293
- * - metadata: machine metadata service
3294
- * - oidc: OIDC tokens
3295
- * - kmstoken: Petsem tokens for KMS access
3296
- */
3297
- machineFeature?: pulumi.Input<string | undefined>;
3298
- /**
3299
- * MachineID is the ID of the machine being accessed (e.g. 7811701f564258).
3300
- */
3301
- machineId?: pulumi.Input<string | undefined>;
3302
- /**
3303
- * Mutation is the GraphQL mutation being performed.
3304
- */
3305
- mutation?: pulumi.Input<string | undefined>;
3306
- /**
3307
- * OrgFeature is a named set of functionality associated with the
3308
- * organization. If this is specified, the OrgSlug field must be set.
3309
- * - wg: WireGuard peers
3310
- * - builder: remote builders
3311
- * - addon: addons
3312
- * - membership: organization membership
3313
- * - billing: billing
3314
- * - litefs-cloud: LiteFS Cloud
3315
- * - authentication: authentication settings
3316
- */
3317
- orgFeature?: pulumi.Input<string | undefined>;
3318
- /**
3319
- * OrgSlug is the slug of the organization being accessed.
3320
- */
3321
- orgSlug?: pulumi.Input<string | undefined>;
3322
- /**
3323
- * SourceMachine is the machine ID of the actor attempting access.
3324
- */
3325
- sourceMachine?: pulumi.Input<string | undefined>;
3326
- /**
3327
- * StorageObject is the storage object being accessed. If this is specified,
3328
- * the OrgSlug must be set.
3329
- */
3330
- storageObject?: pulumi.Input<string | undefined>;
3331
- /**
3332
- * VolumeID is the encoded ID of the volume being accessed (e.g.
3333
- * vol_r1p6pln1k9m9j7zr).
3334
- */
3335
- volumeId?: pulumi.Input<string | undefined>;
3336
- }
3337
3739
  /**
3338
3740
  * Query params for the API request.
3339
3741
  */