@cloudyskysoftware/pulumi-fly-machines 0.0.0-stage → 0.0.6

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 (439) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +117 -2
  3. package/apps/index.d.ts +3 -0
  4. package/apps/index.d.ts.map +1 -0
  5. package/apps/index.js +32 -0
  6. package/apps/index.js.map +1 -0
  7. package/apps/v1/app.d.ts +68 -0
  8. package/apps/v1/app.d.ts.map +1 -0
  9. package/apps/v1/app.js +88 -0
  10. package/apps/v1/app.js.map +1 -0
  11. package/apps/v1/appCertificatesAcme.d.ts +56 -0
  12. package/apps/v1/appCertificatesAcme.d.ts.map +1 -0
  13. package/apps/v1/appCertificatesAcme.js +97 -0
  14. package/apps/v1/appCertificatesAcme.js.map +1 -0
  15. package/apps/v1/appCertificatesCheck.d.ts +60 -0
  16. package/apps/v1/appCertificatesCheck.d.ts.map +1 -0
  17. package/apps/v1/appCertificatesCheck.js +99 -0
  18. package/apps/v1/appCertificatesCheck.js.map +1 -0
  19. package/apps/v1/appCertificatesCustom.d.ts +60 -0
  20. package/apps/v1/appCertificatesCustom.d.ts.map +1 -0
  21. package/apps/v1/appCertificatesCustom.js +101 -0
  22. package/apps/v1/appCertificatesCustom.js.map +1 -0
  23. package/apps/v1/appDeployToken.d.ts +48 -0
  24. package/apps/v1/appDeployToken.d.ts.map +1 -0
  25. package/apps/v1/appDeployToken.js +81 -0
  26. package/apps/v1/appDeployToken.js.map +1 -0
  27. package/apps/v1/appIPAssignment.d.ts +73 -0
  28. package/apps/v1/appIPAssignment.d.ts.map +1 -0
  29. package/apps/v1/appIPAssignment.js +97 -0
  30. package/apps/v1/appIPAssignment.js.map +1 -0
  31. package/apps/v1/getApp.d.ts +37 -0
  32. package/apps/v1/getApp.d.ts.map +1 -0
  33. package/apps/v1/getApp.js +47 -0
  34. package/apps/v1/getApp.js.map +1 -0
  35. package/apps/v1/getAppCertificate.d.ts +46 -0
  36. package/apps/v1/getAppCertificate.d.ts.map +1 -0
  37. package/apps/v1/getAppCertificate.js +49 -0
  38. package/apps/v1/getAppCertificate.js.map +1 -0
  39. package/apps/v1/getMachine.d.ts +72 -0
  40. package/apps/v1/getMachine.d.ts.map +1 -0
  41. package/apps/v1/getMachine.js +49 -0
  42. package/apps/v1/getMachine.js.map +1 -0
  43. package/apps/v1/getMachinesLease.d.ts +55 -0
  44. package/apps/v1/getMachinesLease.d.ts.map +1 -0
  45. package/apps/v1/getMachinesLease.js +49 -0
  46. package/apps/v1/getMachinesLease.js.map +1 -0
  47. package/apps/v1/getMachinesMemory.d.ts +37 -0
  48. package/apps/v1/getMachinesMemory.d.ts.map +1 -0
  49. package/apps/v1/getMachinesMemory.js +49 -0
  50. package/apps/v1/getMachinesMemory.js.map +1 -0
  51. package/apps/v1/getMachinesMetadata.d.ts +33 -0
  52. package/apps/v1/getMachinesMetadata.d.ts.map +1 -0
  53. package/apps/v1/getMachinesMetadata.js +49 -0
  54. package/apps/v1/getMachinesMetadata.js.map +1 -0
  55. package/apps/v1/getMachinesMetadataKey.d.ts +44 -0
  56. package/apps/v1/getMachinesMetadataKey.d.ts.map +1 -0
  57. package/apps/v1/getMachinesMetadataKey.js +51 -0
  58. package/apps/v1/getMachinesMetadataKey.js.map +1 -0
  59. package/apps/v1/getMachinesWait.d.ts +39 -0
  60. package/apps/v1/getMachinesWait.d.ts.map +1 -0
  61. package/apps/v1/getMachinesWait.js +49 -0
  62. package/apps/v1/getMachinesWait.js.map +1 -0
  63. package/apps/v1/getSecret.d.ts +40 -0
  64. package/apps/v1/getSecret.d.ts.map +1 -0
  65. package/apps/v1/getSecret.js +49 -0
  66. package/apps/v1/getSecret.js.map +1 -0
  67. package/apps/v1/getSecretkey.d.ts +40 -0
  68. package/apps/v1/getSecretkey.d.ts.map +1 -0
  69. package/apps/v1/getSecretkey.js +49 -0
  70. package/apps/v1/getSecretkey.js.map +1 -0
  71. package/apps/v1/getVolume.d.ts +59 -0
  72. package/apps/v1/getVolume.d.ts.map +1 -0
  73. package/apps/v1/getVolume.js +49 -0
  74. package/apps/v1/getVolume.js.map +1 -0
  75. package/apps/v1/index.d.ts +161 -0
  76. package/apps/v1/index.d.ts.map +1 -0
  77. package/apps/v1/index.js +237 -0
  78. package/apps/v1/index.js.map +1 -0
  79. package/apps/v1/listAppCertificates.d.ts +31 -0
  80. package/apps/v1/listAppCertificates.d.ts.map +1 -0
  81. package/apps/v1/listAppCertificates.js +47 -0
  82. package/apps/v1/listAppCertificates.js.map +1 -0
  83. package/apps/v1/listAppIPAssignments.d.ts +29 -0
  84. package/apps/v1/listAppIPAssignments.d.ts.map +1 -0
  85. package/apps/v1/listAppIPAssignments.js +47 -0
  86. package/apps/v1/listAppIPAssignments.js.map +1 -0
  87. package/apps/v1/listApps.d.ts +35 -0
  88. package/apps/v1/listApps.d.ts.map +1 -0
  89. package/apps/v1/listApps.js +45 -0
  90. package/apps/v1/listApps.js.map +1 -0
  91. package/apps/v1/listMachines.d.ts +29 -0
  92. package/apps/v1/listMachines.d.ts.map +1 -0
  93. package/apps/v1/listMachines.js +47 -0
  94. package/apps/v1/listMachines.js.map +1 -0
  95. package/apps/v1/listMachinesEvents.d.ts +37 -0
  96. package/apps/v1/listMachinesEvents.d.ts.map +1 -0
  97. package/apps/v1/listMachinesEvents.js +49 -0
  98. package/apps/v1/listMachinesEvents.js.map +1 -0
  99. package/apps/v1/listMachinesProcesses.d.ts +37 -0
  100. package/apps/v1/listMachinesProcesses.d.ts.map +1 -0
  101. package/apps/v1/listMachinesProcesses.js +49 -0
  102. package/apps/v1/listMachinesProcesses.js.map +1 -0
  103. package/apps/v1/listMachinesVersions.d.ts +37 -0
  104. package/apps/v1/listMachinesVersions.d.ts.map +1 -0
  105. package/apps/v1/listMachinesVersions.js +49 -0
  106. package/apps/v1/listMachinesVersions.js.map +1 -0
  107. package/apps/v1/listSecretkeys.d.ts +29 -0
  108. package/apps/v1/listSecretkeys.d.ts.map +1 -0
  109. package/apps/v1/listSecretkeys.js +47 -0
  110. package/apps/v1/listSecretkeys.js.map +1 -0
  111. package/apps/v1/listSecrets.d.ts +29 -0
  112. package/apps/v1/listSecrets.d.ts.map +1 -0
  113. package/apps/v1/listSecrets.js +47 -0
  114. package/apps/v1/listSecrets.js.map +1 -0
  115. package/apps/v1/listVolumes.d.ts +29 -0
  116. package/apps/v1/listVolumes.d.ts.map +1 -0
  117. package/apps/v1/listVolumes.js +47 -0
  118. package/apps/v1/listVolumes.js.map +1 -0
  119. package/apps/v1/listVolumesSnapshots.d.ts +37 -0
  120. package/apps/v1/listVolumesSnapshots.d.ts.map +1 -0
  121. package/apps/v1/listVolumesSnapshots.js +49 -0
  122. package/apps/v1/listVolumesSnapshots.js.map +1 -0
  123. package/apps/v1/machine.d.ts +102 -0
  124. package/apps/v1/machine.d.ts.map +1 -0
  125. package/apps/v1/machine.js +123 -0
  126. package/apps/v1/machine.js.map +1 -0
  127. package/apps/v1/machinesCordon.d.ts +49 -0
  128. package/apps/v1/machinesCordon.d.ts.map +1 -0
  129. package/apps/v1/machinesCordon.js +78 -0
  130. package/apps/v1/machinesCordon.js.map +1 -0
  131. package/apps/v1/machinesExec.d.ts +79 -0
  132. package/apps/v1/machinesExec.d.ts.map +1 -0
  133. package/apps/v1/machinesExec.js +98 -0
  134. package/apps/v1/machinesExec.js.map +1 -0
  135. package/apps/v1/machinesLease.d.ts +78 -0
  136. package/apps/v1/machinesLease.d.ts.map +1 -0
  137. package/apps/v1/machinesLease.js +90 -0
  138. package/apps/v1/machinesLease.js.map +1 -0
  139. package/apps/v1/machinesMemoryLimit.d.ts +52 -0
  140. package/apps/v1/machinesMemoryLimit.d.ts.map +1 -0
  141. package/apps/v1/machinesMemoryLimit.js +82 -0
  142. package/apps/v1/machinesMemoryLimit.js.map +1 -0
  143. package/apps/v1/machinesMetadata.d.ts +55 -0
  144. package/apps/v1/machinesMetadata.d.ts.map +1 -0
  145. package/apps/v1/machinesMetadata.js +84 -0
  146. package/apps/v1/machinesMetadata.js.map +1 -0
  147. package/apps/v1/machinesMetadataKey.d.ts +57 -0
  148. package/apps/v1/machinesMetadataKey.d.ts.map +1 -0
  149. package/apps/v1/machinesMetadataKey.js +83 -0
  150. package/apps/v1/machinesMetadataKey.js.map +1 -0
  151. package/apps/v1/machinesReclaimMemory.d.ts +52 -0
  152. package/apps/v1/machinesReclaimMemory.d.ts.map +1 -0
  153. package/apps/v1/machinesReclaimMemory.js +82 -0
  154. package/apps/v1/machinesReclaimMemory.js.map +1 -0
  155. package/apps/v1/machinesRestart.d.ts +49 -0
  156. package/apps/v1/machinesRestart.d.ts.map +1 -0
  157. package/apps/v1/machinesRestart.js +78 -0
  158. package/apps/v1/machinesRestart.js.map +1 -0
  159. package/apps/v1/machinesSignal.d.ts +52 -0
  160. package/apps/v1/machinesSignal.d.ts.map +1 -0
  161. package/apps/v1/machinesSignal.js +80 -0
  162. package/apps/v1/machinesSignal.js.map +1 -0
  163. package/apps/v1/machinesStart.d.ts +49 -0
  164. package/apps/v1/machinesStart.d.ts.map +1 -0
  165. package/apps/v1/machinesStart.js +78 -0
  166. package/apps/v1/machinesStart.js.map +1 -0
  167. package/apps/v1/machinesStop.d.ts +54 -0
  168. package/apps/v1/machinesStop.d.ts.map +1 -0
  169. package/apps/v1/machinesStop.js +82 -0
  170. package/apps/v1/machinesStop.js.map +1 -0
  171. package/apps/v1/machinesSuspend.d.ts +49 -0
  172. package/apps/v1/machinesSuspend.d.ts.map +1 -0
  173. package/apps/v1/machinesSuspend.js +78 -0
  174. package/apps/v1/machinesSuspend.js.map +1 -0
  175. package/apps/v1/machinesUncordon.d.ts +49 -0
  176. package/apps/v1/machinesUncordon.d.ts.map +1 -0
  177. package/apps/v1/machinesUncordon.js +78 -0
  178. package/apps/v1/machinesUncordon.js.map +1 -0
  179. package/apps/v1/secret.d.ts +56 -0
  180. package/apps/v1/secret.d.ts.map +1 -0
  181. package/apps/v1/secret.js +90 -0
  182. package/apps/v1/secret.js.map +1 -0
  183. package/apps/v1/secretkey.d.ts +58 -0
  184. package/apps/v1/secretkey.d.ts.map +1 -0
  185. package/apps/v1/secretkey.js +92 -0
  186. package/apps/v1/secretkey.js.map +1 -0
  187. package/apps/v1/secretkeyDecrypt.d.ts +54 -0
  188. package/apps/v1/secretkeyDecrypt.d.ts.map +1 -0
  189. package/apps/v1/secretkeyDecrypt.js +84 -0
  190. package/apps/v1/secretkeyDecrypt.js.map +1 -0
  191. package/apps/v1/secretkeyEncrypt.d.ts +54 -0
  192. package/apps/v1/secretkeyEncrypt.d.ts.map +1 -0
  193. package/apps/v1/secretkeyEncrypt.js +84 -0
  194. package/apps/v1/secretkeyEncrypt.js.map +1 -0
  195. package/apps/v1/secretkeyGenerate.d.ts +58 -0
  196. package/apps/v1/secretkeyGenerate.d.ts.map +1 -0
  197. package/apps/v1/secretkeyGenerate.js +92 -0
  198. package/apps/v1/secretkeyGenerate.js.map +1 -0
  199. package/apps/v1/secretkeySign.d.ts +52 -0
  200. package/apps/v1/secretkeySign.d.ts.map +1 -0
  201. package/apps/v1/secretkeySign.js +82 -0
  202. package/apps/v1/secretkeySign.js.map +1 -0
  203. package/apps/v1/secretkeyVerify.d.ts +53 -0
  204. package/apps/v1/secretkeyVerify.d.ts.map +1 -0
  205. package/apps/v1/secretkeyVerify.js +82 -0
  206. package/apps/v1/secretkeyVerify.js.map +1 -0
  207. package/apps/v1/secretsUpdate.d.ts +49 -0
  208. package/apps/v1/secretsUpdate.d.ts.map +1 -0
  209. package/apps/v1/secretsUpdate.js +83 -0
  210. package/apps/v1/secretsUpdate.js.map +1 -0
  211. package/apps/v1/volume.d.ts +102 -0
  212. package/apps/v1/volume.d.ts.map +1 -0
  213. package/apps/v1/volume.js +133 -0
  214. package/apps/v1/volume.js.map +1 -0
  215. package/apps/v1/volumeSnapshot.d.ts +49 -0
  216. package/apps/v1/volumeSnapshot.d.ts.map +1 -0
  217. package/apps/v1/volumeSnapshot.js +78 -0
  218. package/apps/v1/volumeSnapshot.js.map +1 -0
  219. package/apps/v1/volumesExtend.d.ts +53 -0
  220. package/apps/v1/volumesExtend.d.ts.map +1 -0
  221. package/apps/v1/volumesExtend.js +84 -0
  222. package/apps/v1/volumesExtend.js.map +1 -0
  223. package/config/index.d.ts +2 -0
  224. package/config/index.d.ts.map +1 -0
  225. package/config/index.js +21 -0
  226. package/config/index.js.map +1 -0
  227. package/config/vars.d.ts +5 -0
  228. package/config/vars.d.ts.map +1 -0
  229. package/config/vars.js +36 -0
  230. package/config/vars.js.map +1 -0
  231. package/index.d.ts +12 -0
  232. package/index.d.ts.map +1 -0
  233. package/index.js +57 -0
  234. package/index.js.map +1 -0
  235. package/orgs/index.d.ts +3 -0
  236. package/orgs/index.d.ts.map +1 -0
  237. package/orgs/index.js +32 -0
  238. package/orgs/index.js.map +1 -0
  239. package/orgs/v1/index.d.ts +8 -0
  240. package/orgs/v1/index.d.ts.map +1 -0
  241. package/orgs/v1/index.js +41 -0
  242. package/orgs/v1/index.js.map +1 -0
  243. package/orgs/v1/listMachinesOrg.d.ts +33 -0
  244. package/orgs/v1/listMachinesOrg.d.ts.map +1 -0
  245. package/orgs/v1/listMachinesOrg.js +47 -0
  246. package/orgs/v1/listMachinesOrg.js.map +1 -0
  247. package/orgs/v1/listVolumesOrg.d.ts +32 -0
  248. package/orgs/v1/listVolumesOrg.d.ts.map +1 -0
  249. package/orgs/v1/listVolumesOrg.js +47 -0
  250. package/orgs/v1/listVolumesOrg.js.map +1 -0
  251. package/package.json +27 -5
  252. package/platform/index.d.ts +3 -0
  253. package/platform/index.d.ts.map +1 -0
  254. package/platform/index.js +32 -0
  255. package/platform/index.js.map +1 -0
  256. package/platform/v1/getPlatformRegion.d.ts +22 -0
  257. package/platform/v1/getPlatformRegion.d.ts.map +1 -0
  258. package/platform/v1/getPlatformRegion.js +47 -0
  259. package/platform/v1/getPlatformRegion.js.map +1 -0
  260. package/platform/v1/index.d.ts +8 -0
  261. package/platform/v1/index.d.ts.map +1 -0
  262. package/platform/v1/index.js +53 -0
  263. package/platform/v1/index.js.map +1 -0
  264. package/platform/v1/platformPlacement.d.ts +84 -0
  265. package/platform/v1/platformPlacement.d.ts.map +1 -0
  266. package/platform/v1/platformPlacement.js +95 -0
  267. package/platform/v1/platformPlacement.js.map +1 -0
  268. package/postgres/index.d.ts +3 -0
  269. package/postgres/index.d.ts.map +1 -0
  270. package/postgres/index.js +32 -0
  271. package/postgres/index.js.map +1 -0
  272. package/postgres/v1/getPostgres.d.ts +29 -0
  273. package/postgres/v1/getPostgres.d.ts.map +1 -0
  274. package/postgres/v1/getPostgres.js +47 -0
  275. package/postgres/v1/getPostgres.js.map +1 -0
  276. package/postgres/v1/getPostgresQueriesActive.d.ts +29 -0
  277. package/postgres/v1/getPostgresQueriesActive.d.ts.map +1 -0
  278. package/postgres/v1/getPostgresQueriesActive.js +47 -0
  279. package/postgres/v1/getPostgresQueriesActive.js.map +1 -0
  280. package/postgres/v1/getPostgresQueriesSlow.d.ts +29 -0
  281. package/postgres/v1/getPostgresQueriesSlow.d.ts.map +1 -0
  282. package/postgres/v1/getPostgresQueriesSlow.js +48 -0
  283. package/postgres/v1/getPostgresQueriesSlow.js.map +1 -0
  284. package/postgres/v1/getPostgresUsersCredential.d.ts +37 -0
  285. package/postgres/v1/getPostgresUsersCredential.d.ts.map +1 -0
  286. package/postgres/v1/getPostgresUsersCredential.js +49 -0
  287. package/postgres/v1/getPostgresUsersCredential.js.map +1 -0
  288. package/postgres/v1/index.d.ts +56 -0
  289. package/postgres/v1/index.d.ts.map +1 -0
  290. package/postgres/v1/index.js +109 -0
  291. package/postgres/v1/index.js.map +1 -0
  292. package/postgres/v1/listPostgres.d.ts +21 -0
  293. package/postgres/v1/listPostgres.d.ts.map +1 -0
  294. package/postgres/v1/listPostgres.js +45 -0
  295. package/postgres/v1/listPostgres.js.map +1 -0
  296. package/postgres/v1/listPostgresBackups.d.ts +29 -0
  297. package/postgres/v1/listPostgresBackups.d.ts.map +1 -0
  298. package/postgres/v1/listPostgresBackups.js +47 -0
  299. package/postgres/v1/listPostgresBackups.js.map +1 -0
  300. package/postgres/v1/listPostgresDatabases.d.ts +29 -0
  301. package/postgres/v1/listPostgresDatabases.d.ts.map +1 -0
  302. package/postgres/v1/listPostgresDatabases.js +47 -0
  303. package/postgres/v1/listPostgresDatabases.js.map +1 -0
  304. package/postgres/v1/listPostgresExtensions.d.ts +37 -0
  305. package/postgres/v1/listPostgresExtensions.d.ts.map +1 -0
  306. package/postgres/v1/listPostgresExtensions.js +49 -0
  307. package/postgres/v1/listPostgresExtensions.js.map +1 -0
  308. package/postgres/v1/listPostgresUsers.d.ts +29 -0
  309. package/postgres/v1/listPostgresUsers.d.ts.map +1 -0
  310. package/postgres/v1/listPostgresUsers.js +47 -0
  311. package/postgres/v1/listPostgresUsers.js.map +1 -0
  312. package/postgres/v1/postgres.d.ts +107 -0
  313. package/postgres/v1/postgres.d.ts.map +1 -0
  314. package/postgres/v1/postgres.js +103 -0
  315. package/postgres/v1/postgres.js.map +1 -0
  316. package/postgres/v1/postgresAttachment.d.ts +54 -0
  317. package/postgres/v1/postgresAttachment.d.ts.map +1 -0
  318. package/postgres/v1/postgresAttachment.js +84 -0
  319. package/postgres/v1/postgresAttachment.js.map +1 -0
  320. package/postgres/v1/postgresBackup.d.ts +54 -0
  321. package/postgres/v1/postgresBackup.d.ts.map +1 -0
  322. package/postgres/v1/postgresBackup.js +82 -0
  323. package/postgres/v1/postgresBackup.js.map +1 -0
  324. package/postgres/v1/postgresDatabase.d.ts +56 -0
  325. package/postgres/v1/postgresDatabase.d.ts.map +1 -0
  326. package/postgres/v1/postgresDatabase.js +81 -0
  327. package/postgres/v1/postgresDatabase.js.map +1 -0
  328. package/postgres/v1/postgresExtension.d.ts +73 -0
  329. package/postgres/v1/postgresExtension.d.ts.map +1 -0
  330. package/postgres/v1/postgresExtension.js +84 -0
  331. package/postgres/v1/postgresExtension.js.map +1 -0
  332. package/postgres/v1/postgresFork.d.ts +54 -0
  333. package/postgres/v1/postgresFork.d.ts.map +1 -0
  334. package/postgres/v1/postgresFork.js +81 -0
  335. package/postgres/v1/postgresFork.js.map +1 -0
  336. package/postgres/v1/postgresRestore.d.ts +70 -0
  337. package/postgres/v1/postgresRestore.d.ts.map +1 -0
  338. package/postgres/v1/postgresRestore.js +85 -0
  339. package/postgres/v1/postgresRestore.js.map +1 -0
  340. package/postgres/v1/postgresUser.d.ts +65 -0
  341. package/postgres/v1/postgresUser.d.ts.map +1 -0
  342. package/postgres/v1/postgresUser.js +89 -0
  343. package/postgres/v1/postgresUser.js.map +1 -0
  344. package/postgres/v1/postgresUsersRotatePassword.d.ts +58 -0
  345. package/postgres/v1/postgresUsersRotatePassword.d.ts.map +1 -0
  346. package/postgres/v1/postgresUsersRotatePassword.js +82 -0
  347. package/postgres/v1/postgresUsersRotatePassword.js.map +1 -0
  348. package/provider.d.ts +29 -0
  349. package/provider.d.ts.map +1 -0
  350. package/provider.js +65 -0
  351. package/provider.js.map +1 -0
  352. package/tokens/index.d.ts +3 -0
  353. package/tokens/index.d.ts.map +1 -0
  354. package/tokens/index.js +32 -0
  355. package/tokens/index.js.map +1 -0
  356. package/tokens/v1/getCurrentToken.d.ts +21 -0
  357. package/tokens/v1/getCurrentToken.d.ts.map +1 -0
  358. package/tokens/v1/getCurrentToken.js +47 -0
  359. package/tokens/v1/getCurrentToken.js.map +1 -0
  360. package/tokens/v1/index.d.ts +17 -0
  361. package/tokens/v1/index.d.ts.map +1 -0
  362. package/tokens/v1/index.js +65 -0
  363. package/tokens/v1/index.js.map +1 -0
  364. package/tokens/v1/tokensAuthenticate.d.ts +43 -0
  365. package/tokens/v1/tokensAuthenticate.d.ts.map +1 -0
  366. package/tokens/v1/tokensAuthenticate.js +78 -0
  367. package/tokens/v1/tokensAuthenticate.js.map +1 -0
  368. package/tokens/v1/tokensAuthorize.d.ts +46 -0
  369. package/tokens/v1/tokensAuthorize.d.ts.map +1 -0
  370. package/tokens/v1/tokensAuthorize.js +82 -0
  371. package/tokens/v1/tokensAuthorize.js.map +1 -0
  372. package/tokens/v1/tokensRequestKm.d.ts +41 -0
  373. package/tokens/v1/tokensRequestKm.d.ts.map +1 -0
  374. package/tokens/v1/tokensRequestKm.js +76 -0
  375. package/tokens/v1/tokensRequestKm.js.map +1 -0
  376. package/tokens/v1/tokensRequestOidc.d.ts +48 -0
  377. package/tokens/v1/tokensRequestOidc.d.ts.map +1 -0
  378. package/tokens/v1/tokensRequestOidc.js +83 -0
  379. package/tokens/v1/tokensRequestOidc.js.map +1 -0
  380. package/types/enums/apps/index.d.ts +3 -0
  381. package/types/enums/apps/index.d.ts.map +1 -0
  382. package/types/enums/apps/index.js +32 -0
  383. package/types/enums/apps/index.js.map +1 -0
  384. package/types/enums/apps/v1/index.d.ts +172 -0
  385. package/types/enums/apps/v1/index.d.ts.map +1 -0
  386. package/types/enums/apps/v1/index.js +134 -0
  387. package/types/enums/apps/v1/index.js.map +1 -0
  388. package/types/enums/index.d.ts +7 -0
  389. package/types/enums/index.d.ts.map +1 -0
  390. package/types/enums/index.js +40 -0
  391. package/types/enums/index.js.map +1 -0
  392. package/types/enums/orgs/index.d.ts +3 -0
  393. package/types/enums/orgs/index.d.ts.map +1 -0
  394. package/types/enums/orgs/index.js +32 -0
  395. package/types/enums/orgs/index.js.map +1 -0
  396. package/types/enums/orgs/v1/index.d.ts +21 -0
  397. package/types/enums/orgs/v1/index.d.ts.map +1 -0
  398. package/types/enums/orgs/v1/index.js +20 -0
  399. package/types/enums/orgs/v1/index.js.map +1 -0
  400. package/types/enums/platform/index.d.ts +3 -0
  401. package/types/enums/platform/index.d.ts.map +1 -0
  402. package/types/enums/platform/index.js +32 -0
  403. package/types/enums/platform/index.js.map +1 -0
  404. package/types/enums/platform/v1/index.d.ts +10 -0
  405. package/types/enums/platform/v1/index.d.ts.map +1 -0
  406. package/types/enums/platform/v1/index.js +11 -0
  407. package/types/enums/platform/v1/index.js.map +1 -0
  408. package/types/enums/postgres/index.d.ts +3 -0
  409. package/types/enums/postgres/index.d.ts.map +1 -0
  410. package/types/enums/postgres/index.js +32 -0
  411. package/types/enums/postgres/index.js.map +1 -0
  412. package/types/enums/postgres/v1/index.d.ts +126 -0
  413. package/types/enums/postgres/v1/index.d.ts.map +1 -0
  414. package/types/enums/postgres/v1/index.js +79 -0
  415. package/types/enums/postgres/v1/index.js.map +1 -0
  416. package/types/enums/tokens/index.d.ts +3 -0
  417. package/types/enums/tokens/index.d.ts.map +1 -0
  418. package/types/enums/tokens/index.js +32 -0
  419. package/types/enums/tokens/index.js.map +1 -0
  420. package/types/enums/tokens/v1/index.d.ts +11 -0
  421. package/types/enums/tokens/v1/index.d.ts.map +1 -0
  422. package/types/enums/tokens/v1/index.js +15 -0
  423. package/types/enums/tokens/v1/index.js.map +1 -0
  424. package/types/index.d.ts +5 -0
  425. package/types/index.d.ts.map +1 -0
  426. package/types/index.js +36 -0
  427. package/types/index.js.map +1 -0
  428. package/types/input.d.ts +3252 -0
  429. package/types/input.d.ts.map +1 -0
  430. package/types/input.js +32 -0
  431. package/types/input.js.map +1 -0
  432. package/types/output.d.ts +2677 -0
  433. package/types/output.d.ts.map +1 -0
  434. package/types/output.js +5 -0
  435. package/types/output.js.map +1 -0
  436. package/utilities.d.ts +5 -0
  437. package/utilities.d.ts.map +1 -0
  438. package/utilities.js +114 -0
  439. package/utilities.js.map +1 -0
@@ -0,0 +1,2677 @@
1
+ import * as outputs from "../types/output";
2
+ import * as enums from "../types/enums";
3
+ export declare namespace apps {
4
+ namespace v1 {
5
+ interface AcmeChallenge {
6
+ name?: string;
7
+ target?: string;
8
+ }
9
+ interface App {
10
+ id?: string;
11
+ internalNumericId?: number;
12
+ machineCount?: number;
13
+ name?: string;
14
+ network?: string;
15
+ networkCidr?: string;
16
+ organization?: outputs.apps.v1.AppOrganizationInfo;
17
+ status?: string;
18
+ volumeCount?: number;
19
+ }
20
+ /**
21
+ * Query params for the API request.
22
+ */
23
+ interface AppCertificatesAcmeCreateQueryParams {
24
+ /**
25
+ * Additional query params to send with the request that are not defined in the API spec.
26
+ */
27
+ additionalParams?: {
28
+ [key: string]: string;
29
+ };
30
+ }
31
+ /**
32
+ * Query params for the API request.
33
+ */
34
+ interface AppCertificatesAcmeDeleteQueryParams {
35
+ /**
36
+ * Additional query params to send with the request that are not defined in the API spec.
37
+ */
38
+ additionalParams?: {
39
+ [key: string]: string;
40
+ };
41
+ }
42
+ /**
43
+ * Query params for each of the operations of the resource.
44
+ */
45
+ interface AppCertificatesAcmeQueryParams {
46
+ /**
47
+ * Query params for the create operation.
48
+ */
49
+ create?: outputs.apps.v1.AppCertificatesAcmeCreateQueryParams;
50
+ /**
51
+ * Query params for the delete operation.
52
+ */
53
+ delete?: outputs.apps.v1.AppCertificatesAcmeDeleteQueryParams;
54
+ }
55
+ /**
56
+ * Query params for the API request.
57
+ */
58
+ interface AppCertificatesCheckCreateQueryParams {
59
+ /**
60
+ * Additional query params to send with the request that are not defined in the API spec.
61
+ */
62
+ additionalParams?: {
63
+ [key: string]: string;
64
+ };
65
+ }
66
+ /**
67
+ * Query params for each of the operations of the resource.
68
+ */
69
+ interface AppCertificatesCheckQueryParams {
70
+ /**
71
+ * Query params for the create operation.
72
+ */
73
+ create?: outputs.apps.v1.AppCertificatesCheckCreateQueryParams;
74
+ }
75
+ /**
76
+ * Query params for the API request.
77
+ */
78
+ interface AppCertificatesCustomCreateQueryParams {
79
+ /**
80
+ * Additional query params to send with the request that are not defined in the API spec.
81
+ */
82
+ additionalParams?: {
83
+ [key: string]: string;
84
+ };
85
+ }
86
+ /**
87
+ * Query params for the API request.
88
+ */
89
+ interface AppCertificatesCustomDeleteQueryParams {
90
+ /**
91
+ * Additional query params to send with the request that are not defined in the API spec.
92
+ */
93
+ additionalParams?: {
94
+ [key: string]: string;
95
+ };
96
+ }
97
+ /**
98
+ * Query params for each of the operations of the resource.
99
+ */
100
+ interface AppCertificatesCustomQueryParams {
101
+ /**
102
+ * Query params for the create operation.
103
+ */
104
+ create?: outputs.apps.v1.AppCertificatesCustomCreateQueryParams;
105
+ /**
106
+ * Query params for the delete operation.
107
+ */
108
+ delete?: outputs.apps.v1.AppCertificatesCustomDeleteQueryParams;
109
+ }
110
+ /**
111
+ * Query params for the API request.
112
+ */
113
+ interface AppCreateQueryParams {
114
+ /**
115
+ * Additional query params to send with the request that are not defined in the API spec.
116
+ */
117
+ additionalParams?: {
118
+ [key: string]: string;
119
+ };
120
+ }
121
+ /**
122
+ * Query params for the API request.
123
+ */
124
+ interface AppDeleteQueryParams {
125
+ /**
126
+ * Additional query params to send with the request that are not defined in the API spec.
127
+ */
128
+ additionalParams?: {
129
+ [key: string]: string;
130
+ };
131
+ }
132
+ /**
133
+ * Query params for the API request.
134
+ */
135
+ interface AppDeployTokenCreateQueryParams {
136
+ /**
137
+ * Additional query params to send with the request that are not defined in the API spec.
138
+ */
139
+ additionalParams?: {
140
+ [key: string]: string;
141
+ };
142
+ }
143
+ /**
144
+ * Query params for each of the operations of the resource.
145
+ */
146
+ interface AppDeployTokenQueryParams {
147
+ /**
148
+ * Query params for the create operation.
149
+ */
150
+ create?: outputs.apps.v1.AppDeployTokenCreateQueryParams;
151
+ }
152
+ /**
153
+ * Query params for the API request.
154
+ */
155
+ interface AppIPAssignmentCreateQueryParams {
156
+ /**
157
+ * Additional query params to send with the request that are not defined in the API spec.
158
+ */
159
+ additionalParams?: {
160
+ [key: string]: string;
161
+ };
162
+ }
163
+ /**
164
+ * Query params for the API request.
165
+ */
166
+ interface AppIPAssignmentDeleteQueryParams {
167
+ /**
168
+ * Additional query params to send with the request that are not defined in the API spec.
169
+ */
170
+ additionalParams?: {
171
+ [key: string]: string;
172
+ };
173
+ }
174
+ /**
175
+ * Query params for each of the operations of the resource.
176
+ */
177
+ interface AppIPAssignmentQueryParams {
178
+ /**
179
+ * Query params for the create operation.
180
+ */
181
+ create?: outputs.apps.v1.AppIPAssignmentCreateQueryParams;
182
+ /**
183
+ * Query params for the delete operation.
184
+ */
185
+ delete?: outputs.apps.v1.AppIPAssignmentDeleteQueryParams;
186
+ }
187
+ interface AppOrganizationInfo {
188
+ internalNumericId?: number;
189
+ name?: string;
190
+ slug?: string;
191
+ }
192
+ /**
193
+ * Query params for each of the operations of the resource.
194
+ */
195
+ interface AppQueryParams {
196
+ /**
197
+ * Query params for the create operation.
198
+ */
199
+ create?: outputs.apps.v1.AppCreateQueryParams;
200
+ /**
201
+ * Query params for the delete operation.
202
+ */
203
+ delete?: outputs.apps.v1.AppDeleteQueryParams;
204
+ /**
205
+ * Query params for the read operation.
206
+ */
207
+ read?: outputs.apps.v1.AppReadQueryParams;
208
+ }
209
+ /**
210
+ * Query params for the API request.
211
+ */
212
+ interface AppReadQueryParams {
213
+ /**
214
+ * Additional query params to send with the request that are not defined in the API spec.
215
+ */
216
+ additionalParams?: {
217
+ [key: string]: string;
218
+ };
219
+ }
220
+ interface AppSecret {
221
+ createdAt?: string;
222
+ digest?: string;
223
+ name?: string;
224
+ updatedAt?: string;
225
+ value?: string;
226
+ }
227
+ interface CertificateEntry {
228
+ createdAt?: string;
229
+ expiresAt?: string;
230
+ issued?: outputs.apps.v1.IssuedCertificate[];
231
+ issuer?: string;
232
+ source?: enums.apps.v1.CertificateEntrySource;
233
+ status?: enums.apps.v1.CertificateEntryStatus;
234
+ }
235
+ interface CertificateSummary {
236
+ acmeAlpnConfigured?: boolean;
237
+ acmeDnsConfigured?: boolean;
238
+ acmeHttpConfigured?: boolean;
239
+ acmeRequested?: boolean;
240
+ configured?: boolean;
241
+ createdAt?: string;
242
+ dnsProvider?: string;
243
+ hasCustomCertificate?: boolean;
244
+ hasFlyCertificate?: boolean;
245
+ hostname?: string;
246
+ ownershipTxtConfigured?: boolean;
247
+ status?: string;
248
+ updatedAt?: string;
249
+ }
250
+ interface CertificateValidation {
251
+ alpnConfigured?: boolean;
252
+ dnsConfigured?: boolean;
253
+ httpConfigured?: boolean;
254
+ ownershipTxtConfigured?: boolean;
255
+ }
256
+ interface CertificateValidationError {
257
+ code?: string;
258
+ message?: string;
259
+ remediation?: string;
260
+ timestamp?: string;
261
+ }
262
+ interface CheckStatus {
263
+ name?: string;
264
+ output?: string;
265
+ status?: string;
266
+ updatedAt?: string;
267
+ }
268
+ interface DNSRecords {
269
+ a?: string[];
270
+ aaaa?: string[];
271
+ acmeChallengeCname?: string;
272
+ cname?: string[];
273
+ ownershipTxt?: string;
274
+ resolvedAddresses?: string[];
275
+ soa?: string;
276
+ }
277
+ interface DNSRequirements {
278
+ a?: string[];
279
+ aaaa?: string[];
280
+ acmeChallenge?: outputs.apps.v1.AcmeChallenge;
281
+ cname?: string;
282
+ ownership?: outputs.apps.v1.OwnershipVerification;
283
+ }
284
+ interface FlyContainerConfig {
285
+ /**
286
+ * CmdOverride is used to override the default command of the image.
287
+ */
288
+ cmd?: string[];
289
+ /**
290
+ * DependsOn can be used to define dependencies between containers. The container will only be
291
+ * started after all of its dependent conditions have been satisfied.
292
+ */
293
+ dependsOn?: outputs.apps.v1.FlyContainerDependency[];
294
+ /**
295
+ * EntrypointOverride is used to override the default entrypoint of the image.
296
+ */
297
+ entrypoint?: string[];
298
+ /**
299
+ * ExtraEnv is used to add additional environment variables to the container.
300
+ */
301
+ env?: any;
302
+ /**
303
+ * EnvFrom can be provided to set environment variables from machine fields.
304
+ */
305
+ envFrom?: outputs.apps.v1.FlyEnvFrom[];
306
+ /**
307
+ * Image Config overrides - these fields are used to override the image configuration.
308
+ * If not provided, the image configuration will be used.
309
+ * ExecOverride is used to override the default command of the image.
310
+ */
311
+ exec?: string[];
312
+ /**
313
+ * Files are files that will be written to the container file system.
314
+ */
315
+ files?: outputs.apps.v1.FlyFile[];
316
+ /**
317
+ * Healthchecks determine the health of your containers. Healthchecks can use HTTP, TCP or an Exec command.
318
+ */
319
+ healthchecks?: outputs.apps.v1.FlyContainerHealthcheck[];
320
+ /**
321
+ * Image is the docker image to run.
322
+ */
323
+ image?: string;
324
+ /**
325
+ * Name is used to identify the container in the machine.
326
+ */
327
+ name?: string;
328
+ /**
329
+ * Restart is used to define the restart policy for the container.
330
+ */
331
+ restart?: outputs.apps.v1.FlyContainerConfigRestart;
332
+ /**
333
+ * Secrets can be provided at the process level to explicitly indicate which secrets should be
334
+ * used for the process. If not provided, the secrets provided at the machine level will be used.
335
+ */
336
+ secrets?: outputs.apps.v1.FlyMachineSecret[];
337
+ /**
338
+ * Stop is used to define the signal and timeout for stopping the container.
339
+ */
340
+ stop?: outputs.apps.v1.FlyContainerConfigStop;
341
+ /**
342
+ * UserOverride is used to override the default user of the image.
343
+ */
344
+ user?: string;
345
+ }
346
+ /**
347
+ * Restart is used to define the restart policy for the container.
348
+ */
349
+ interface FlyContainerConfigRestart {
350
+ /**
351
+ * When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop.
352
+ */
353
+ maxRetries?: number;
354
+ /**
355
+ * * no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash.
356
+ * * always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly.
357
+ * * on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.
358
+ */
359
+ policy?: enums.apps.v1.FlyMachineRestartPolicy;
360
+ }
361
+ /**
362
+ * Stop is used to define the signal and timeout for stopping the container.
363
+ */
364
+ interface FlyContainerConfigStop {
365
+ signal?: enums.apps.v1.FlyStopConfigSignal;
366
+ timeout?: string;
367
+ }
368
+ interface FlyContainerDependency {
369
+ condition?: outputs.apps.v1.FlyContainerDependencyCondition;
370
+ name?: string;
371
+ }
372
+ interface FlyContainerDependencyCondition {
373
+ }
374
+ interface FlyContainerHealthcheck {
375
+ exec?: outputs.apps.v1.FlyExecHealthcheck;
376
+ /**
377
+ * The number of times the check must fail before considering the container unhealthy.
378
+ */
379
+ failureThreshold?: number;
380
+ /**
381
+ * The time in seconds to wait after a container starts before checking its health.
382
+ */
383
+ gracePeriod?: number;
384
+ http?: outputs.apps.v1.FlyHTTPHealthcheck;
385
+ /**
386
+ * The time in seconds between executing the defined check.
387
+ */
388
+ interval?: number;
389
+ /**
390
+ * Kind of healthcheck (readiness, liveness)
391
+ */
392
+ kind?: outputs.apps.v1.FlyContainerHealthcheckKind;
393
+ /**
394
+ * The name of the check. Must be unique within the container.
395
+ */
396
+ name?: string;
397
+ /**
398
+ * The number of times the check must succeeed before considering the container healthy.
399
+ */
400
+ successThreshold?: number;
401
+ tcp?: outputs.apps.v1.FlyTCPHealthcheck;
402
+ /**
403
+ * The time in seconds to wait for the check to complete.
404
+ */
405
+ timeout?: number;
406
+ /**
407
+ * Unhealthy policy that determines what action to take if a container is deemed unhealthy
408
+ */
409
+ unhealthy?: outputs.apps.v1.FlyContainerHealthcheckUnhealthy;
410
+ }
411
+ /**
412
+ * Kind of healthcheck (readiness, liveness)
413
+ */
414
+ interface FlyContainerHealthcheckKind {
415
+ }
416
+ /**
417
+ * Unhealthy policy that determines what action to take if a container is deemed unhealthy
418
+ */
419
+ interface FlyContainerHealthcheckUnhealthy {
420
+ }
421
+ interface FlyDNSConfig {
422
+ dnsForwardRules?: outputs.apps.v1.FlyDnsForwardRule[];
423
+ hostname?: string;
424
+ hostnameFqdn?: string;
425
+ nameservers?: string[];
426
+ options?: outputs.apps.v1.FlyDnsOption[];
427
+ searches?: string[];
428
+ skipRegistration?: boolean;
429
+ }
430
+ interface FlyDnsForwardRule {
431
+ addr?: string;
432
+ basename?: string;
433
+ }
434
+ interface FlyDnsOption {
435
+ name?: string;
436
+ value?: string;
437
+ }
438
+ /**
439
+ * EnvVar defines an environment variable to be populated from a machine field, env_var
440
+ */
441
+ interface FlyEnvFrom {
442
+ /**
443
+ * EnvVar is required and is the name of the environment variable that will be set from the
444
+ * secret. It must be a valid environment variable name.
445
+ */
446
+ envVar?: string;
447
+ /**
448
+ * FieldRef selects a field of the Machine: supports id, version, app_name, private_ip, region, image.
449
+ */
450
+ fieldRef?: enums.apps.v1.FlyEnvFromFieldRef;
451
+ }
452
+ interface FlyExecHealthcheck {
453
+ /**
454
+ * The command to run to check the health of the container (e.g. ["cat", "/tmp/healthy"])
455
+ */
456
+ command?: string[];
457
+ }
458
+ /**
459
+ * A file that will be written to the Machine. One of RawValue or SecretName must be set.
460
+ */
461
+ interface FlyFile {
462
+ /**
463
+ * GuestPath is the path on the machine where the file will be written and must be an absolute path.
464
+ * For example: /full/path/to/file.json
465
+ */
466
+ guestPath?: string;
467
+ /**
468
+ * The name of an image to use the OCI image config as the file contents.
469
+ */
470
+ imageConfig?: string;
471
+ /**
472
+ * Mode bits used to set permissions on this file as accepted by chmod(2).
473
+ */
474
+ mode?: number;
475
+ /**
476
+ * The base64 encoded string of the file contents.
477
+ */
478
+ rawValue?: string;
479
+ /**
480
+ * The name of the secret that contains the base64 encoded file contents.
481
+ */
482
+ secretName?: string;
483
+ }
484
+ interface FlyHTTPHealthcheck {
485
+ /**
486
+ * Additional headers to send with the request
487
+ */
488
+ headers?: outputs.apps.v1.FlyMachineHTTPHeader[];
489
+ /**
490
+ * The HTTP method to use to when making the request
491
+ */
492
+ method?: string;
493
+ /**
494
+ * The path to send the request to
495
+ */
496
+ path?: string;
497
+ /**
498
+ * The port to connect to, often the same as internal_port
499
+ */
500
+ port?: number;
501
+ /**
502
+ * Whether to use http or https
503
+ */
504
+ scheme?: outputs.apps.v1.FlyHTTPHealthcheckScheme;
505
+ /**
506
+ * If the protocol is https, the hostname to use for TLS certificate validation
507
+ */
508
+ tlsServerName?: string;
509
+ /**
510
+ * If the protocol is https, whether or not to verify the TLS certificate
511
+ */
512
+ tlsSkipVerify?: boolean;
513
+ }
514
+ /**
515
+ * Whether to use http or https
516
+ */
517
+ interface FlyHTTPHealthcheckScheme {
518
+ }
519
+ interface FlyHTTPOptions {
520
+ compress?: boolean;
521
+ h2Backend?: boolean;
522
+ headersReadTimeout?: number;
523
+ idleTimeout?: number;
524
+ replayCache?: outputs.apps.v1.FlyReplayCache[];
525
+ response?: outputs.apps.v1.FlyHTTPResponseOptions;
526
+ }
527
+ interface FlyHTTPResponseOptions {
528
+ headers?: any;
529
+ pristine?: boolean;
530
+ }
531
+ interface FlyMachineCacheDrive {
532
+ sizeMb?: number;
533
+ }
534
+ interface FlyMachineConfig {
535
+ /**
536
+ * Optional boolean telling the Machine to destroy itself once it’s complete (default false)
537
+ */
538
+ autoDestroy?: boolean;
539
+ cacheDrive?: outputs.apps.v1.FlyMachineCacheDrive;
540
+ /**
541
+ * An optional object that defines one or more named top-level checks. The key for each check is the check name.
542
+ */
543
+ checks?: any;
544
+ /**
545
+ * Containers are a list of containers that will run in the machine. Currently restricted to
546
+ * only specific organizations.
547
+ */
548
+ containers?: outputs.apps.v1.FlyContainerConfig[];
549
+ /**
550
+ * Deprecated: use Service.Autostart instead
551
+ */
552
+ disableMachineAutostart?: boolean;
553
+ dns?: outputs.apps.v1.FlyDNSConfig;
554
+ /**
555
+ * An object filled with key/value pairs to be set as environment variables
556
+ */
557
+ env?: any;
558
+ files?: outputs.apps.v1.FlyFile[];
559
+ guest?: outputs.apps.v1.FlyMachineGuest;
560
+ /**
561
+ * The docker image to run
562
+ */
563
+ image?: string;
564
+ init?: outputs.apps.v1.FlyMachineInit;
565
+ metadata?: any;
566
+ metrics?: outputs.apps.v1.FlyMachineMetrics;
567
+ mounts?: outputs.apps.v1.FlyMachineMount[];
568
+ processes?: outputs.apps.v1.FlyMachineProcess[];
569
+ /**
570
+ * The Machine restart policy defines whether and how flyd restarts a Machine after its main process exits. See https://fly.io/docs/machines/guides-examples/machine-restart-policy/.
571
+ */
572
+ restart?: outputs.apps.v1.FlyMachineRestart;
573
+ rootfs?: outputs.apps.v1.FlyMachineRootfs;
574
+ schedule?: string;
575
+ services?: outputs.apps.v1.FlyMachineService[];
576
+ /**
577
+ * Deprecated: use Guest instead
578
+ */
579
+ size?: string;
580
+ spot?: outputs.apps.v1.FlyMachineSpot;
581
+ /**
582
+ * Standbys enable a machine to be a standby for another. In the event of a hardware failure,
583
+ * the standby machine will be started.
584
+ */
585
+ standbys?: string[];
586
+ statics?: outputs.apps.v1.FlyStatic[];
587
+ stopConfig?: outputs.apps.v1.FlyStopConfig;
588
+ }
589
+ interface FlyMachineGuest {
590
+ cpuKind?: string;
591
+ cpus?: number;
592
+ gpuKind?: string;
593
+ gpus?: number;
594
+ hostDedicationId?: string;
595
+ kernelArgs?: string[];
596
+ maxMemoryMb?: number;
597
+ memoryMb?: number;
598
+ /**
599
+ * Deprecated: use MachineConfig.Rootfs instead
600
+ */
601
+ persistRootfs?: enums.apps.v1.FlyMachineGuestPersistRootfs;
602
+ requiredHostFeatures?: string[];
603
+ }
604
+ /**
605
+ * 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.
606
+ */
607
+ interface FlyMachineHTTPHeader {
608
+ /**
609
+ * The header name
610
+ */
611
+ name?: string;
612
+ /**
613
+ * The header value
614
+ */
615
+ values?: string[];
616
+ }
617
+ interface FlyMachineInit {
618
+ cmd?: string[];
619
+ entrypoint?: string[];
620
+ exec?: string[];
621
+ kernelArgs?: string[];
622
+ swapSizeMb?: number;
623
+ tty?: boolean;
624
+ }
625
+ interface FlyMachineMetrics {
626
+ https?: boolean;
627
+ path?: string;
628
+ port?: number;
629
+ }
630
+ interface FlyMachineMount {
631
+ addSizeGb?: number;
632
+ /**
633
+ * AddSizePercent grows by a percentage of the current size, rounded up to GiB.
634
+ * It is mutually exclusive with AddSizeGb.
635
+ */
636
+ addSizePercent?: number;
637
+ encrypted?: boolean;
638
+ extendThresholdPercent?: number;
639
+ /**
640
+ * MinAddSizeGb is the minimum proportional growth in GiB (default 1).
641
+ */
642
+ minAddSizeGb?: number;
643
+ name?: string;
644
+ path?: string;
645
+ sizeGb?: number;
646
+ sizeGbLimit?: number;
647
+ volume?: string;
648
+ }
649
+ interface FlyMachinePort {
650
+ endPort?: number;
651
+ forceHttps?: boolean;
652
+ handlers?: string[];
653
+ httpOptions?: outputs.apps.v1.FlyHTTPOptions;
654
+ port?: number;
655
+ proxyProtoOptions?: outputs.apps.v1.FlyProxyProtoOptions;
656
+ startPort?: number;
657
+ tlsOptions?: outputs.apps.v1.FlyTLSOptions;
658
+ }
659
+ interface FlyMachineProcess {
660
+ cmd?: string[];
661
+ entrypoint?: string[];
662
+ env?: any;
663
+ /**
664
+ * EnvFrom can be provided to set environment variables from machine fields.
665
+ */
666
+ envFrom?: outputs.apps.v1.FlyEnvFrom[];
667
+ exec?: string[];
668
+ /**
669
+ * IgnoreAppSecrets can be set to true to ignore the secrets for the App the Machine belongs to
670
+ * and only use the secrets provided at the process level. The default/legacy behavior is to use
671
+ * the secrets provided at the App level.
672
+ */
673
+ ignoreAppSecrets?: boolean;
674
+ /**
675
+ * Secrets can be provided at the process level to explicitly indicate which secrets should be
676
+ * used for the process. If not provided, the secrets provided at the machine level will be used.
677
+ */
678
+ secrets?: outputs.apps.v1.FlyMachineSecret[];
679
+ user?: string;
680
+ }
681
+ /**
682
+ * The Machine restart policy defines whether and how flyd restarts a Machine after its main process exits. See https://fly.io/docs/machines/guides-examples/machine-restart-policy/.
683
+ */
684
+ interface FlyMachineRestart {
685
+ /**
686
+ * When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop.
687
+ */
688
+ maxRetries?: number;
689
+ /**
690
+ * * no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash.
691
+ * * always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly.
692
+ * * on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules.
693
+ */
694
+ policy?: enums.apps.v1.FlyMachineRestartPolicy;
695
+ }
696
+ interface FlyMachineRootfs {
697
+ persist?: enums.apps.v1.FlyMachineRootfsPersist;
698
+ sizeGb?: number;
699
+ }
700
+ /**
701
+ * A Secret needing to be set in the environment of the Machine. env_var is required
702
+ */
703
+ interface FlyMachineSecret {
704
+ /**
705
+ * EnvVar is required and is the name of the environment variable that will be set from the
706
+ * secret. It must be a valid environment variable name.
707
+ */
708
+ envVar?: string;
709
+ /**
710
+ * Name is optional and when provided is used to reference a secret name where the EnvVar is
711
+ * different from what was set as the secret name.
712
+ */
713
+ name?: string;
714
+ }
715
+ interface FlyMachineService {
716
+ autostart?: boolean;
717
+ /**
718
+ * 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.
719
+ * * "off" or false - Do not autostop the Machine.
720
+ * * "stop" or true - Automatically stop the Machine.
721
+ * * "suspend" - Automatically suspend the Machine, falling back to a full stop if this is not possible.
722
+ */
723
+ autostop?: enums.apps.v1.FlyMachineServiceAutostop;
724
+ /**
725
+ * An optional list of service checks
726
+ */
727
+ checks?: outputs.apps.v1.FlyMachineServiceCheck[];
728
+ concurrency?: outputs.apps.v1.FlyMachineServiceConcurrency;
729
+ forceInstanceDescription?: string;
730
+ forceInstanceKey?: string;
731
+ internalPort?: number;
732
+ minMachinesRunning?: number;
733
+ ports?: outputs.apps.v1.FlyMachinePort[];
734
+ protocol?: string;
735
+ }
736
+ interface FlyMachineServiceCheck {
737
+ /**
738
+ * The time to wait after a VM starts before checking its health
739
+ */
740
+ gracePeriod?: string;
741
+ headers?: outputs.apps.v1.FlyMachineHTTPHeader[];
742
+ /**
743
+ * The time between connectivity checks
744
+ */
745
+ interval?: string;
746
+ /**
747
+ * For http checks, the HTTP method to use to when making the request
748
+ */
749
+ method?: string;
750
+ /**
751
+ * For http checks, the path to send the request to
752
+ */
753
+ path?: string;
754
+ /**
755
+ * The port to connect to, often the same as internal_port
756
+ */
757
+ port?: number;
758
+ /**
759
+ * For http checks, whether to use http or https
760
+ */
761
+ protocol?: string;
762
+ /**
763
+ * The maximum time a connection can take before being reported as failing its health check
764
+ */
765
+ timeout?: string;
766
+ /**
767
+ * If the protocol is https, the hostname to use for TLS certificate validation
768
+ */
769
+ tlsServerName?: string;
770
+ /**
771
+ * For http checks with https protocol, whether or not to verify the TLS certificate
772
+ */
773
+ tlsSkipVerify?: boolean;
774
+ /**
775
+ * tcp or http
776
+ */
777
+ type?: string;
778
+ }
779
+ interface FlyMachineServiceConcurrency {
780
+ hardLimit?: number;
781
+ softLimit?: number;
782
+ type?: string;
783
+ }
784
+ interface FlyMachineSpot {
785
+ /**
786
+ * MaxPriceFraction is the maximum fraction of the full Machine price you will pay for this Machine. Range: (0, 1.0]
787
+ */
788
+ maxPriceFraction?: number;
789
+ }
790
+ interface FlyProxyProtoOptions {
791
+ flySrc?: boolean;
792
+ version?: string;
793
+ }
794
+ interface FlyReplayCache {
795
+ allowBypass?: boolean;
796
+ /**
797
+ * Name of the cookie or header to key the cache on
798
+ */
799
+ name?: string;
800
+ pathPrefix?: string;
801
+ ttlSeconds?: number;
802
+ /**
803
+ * Currently either "cookie" or "header"
804
+ */
805
+ type?: enums.apps.v1.FlyReplayCacheType;
806
+ }
807
+ interface FlyStatic {
808
+ guestPath: string;
809
+ indexDocument?: string;
810
+ tigrisBucket?: string;
811
+ urlPrefix: string;
812
+ }
813
+ interface FlyStopConfig {
814
+ signal?: enums.apps.v1.FlyStopConfigSignal;
815
+ timeout?: string;
816
+ }
817
+ interface FlyTCPHealthcheck {
818
+ /**
819
+ * The port to connect to, often the same as internal_port
820
+ */
821
+ port?: number;
822
+ }
823
+ interface FlyTLSOptions {
824
+ alpn?: string[];
825
+ defaultSelfSigned?: boolean;
826
+ versions?: string[];
827
+ }
828
+ interface IPAssignment {
829
+ createdAt?: string;
830
+ egress?: boolean;
831
+ ip?: string;
832
+ /**
833
+ * The 6PN network a Flycast (private_v6) address belongs to. Null for all other IP types.
834
+ */
835
+ network?: outputs.apps.v1.IPAssignmentNetwork;
836
+ region?: string;
837
+ serviceName?: string;
838
+ shared?: boolean;
839
+ }
840
+ /**
841
+ * The 6PN network a Flycast (private_v6) address belongs to. Null for all other IP types.
842
+ */
843
+ interface IPAssignmentNetwork {
844
+ /**
845
+ * Network name; empty for the organization's default network.
846
+ */
847
+ name?: string;
848
+ orgSlug?: string;
849
+ }
850
+ interface ImageRef {
851
+ digest?: string;
852
+ labels?: any;
853
+ registry?: string;
854
+ repository?: string;
855
+ tag?: string;
856
+ }
857
+ /**
858
+ * ip_pair is returned when "egress-pair" IP type is requested; in this case, ip is null.
859
+ */
860
+ interface IpPair {
861
+ v4?: string;
862
+ v6?: string;
863
+ }
864
+ interface IssuedCertificate {
865
+ certificateAuthority?: string;
866
+ expiresAt?: string;
867
+ type?: enums.apps.v1.IssuedCertificateType;
868
+ }
869
+ interface ListenSocket {
870
+ address?: string;
871
+ proto?: string;
872
+ }
873
+ interface Machine {
874
+ checks?: outputs.apps.v1.CheckStatus[];
875
+ config?: outputs.apps.v1.FlyMachineConfig;
876
+ cordoned?: boolean;
877
+ createdAt?: string;
878
+ events?: outputs.apps.v1.MachineEvent[];
879
+ hostFeatures?: string[];
880
+ hostStatus?: enums.apps.v1.MachineHostStatus;
881
+ id?: string;
882
+ imageRef?: outputs.apps.v1.ImageRef;
883
+ incompleteConfig?: outputs.apps.v1.FlyMachineConfig;
884
+ /**
885
+ * InstanceID is the same value as `version`.
886
+ *
887
+ * Deprecated: use `version`.
888
+ */
889
+ instanceId?: string;
890
+ lease?: outputs.apps.v1.StrippedLease;
891
+ name?: string;
892
+ /**
893
+ * Nonce is only every returned on machine creation if a lease_duration was provided.
894
+ */
895
+ nonce?: string;
896
+ /**
897
+ * PrivateIP is the internal 6PN address of the machine.
898
+ */
899
+ privateIp?: string;
900
+ region?: string;
901
+ state?: string;
902
+ updatedAt?: string;
903
+ /**
904
+ * Version is unique for each version of the machine. Pass it as
905
+ * `current_version` when updating the Machine to reject the update if the
906
+ * Machine has changed since this version.
907
+ */
908
+ version?: string;
909
+ }
910
+ /**
911
+ * Query params for the API request.
912
+ */
913
+ interface MachineCreateQueryParams {
914
+ /**
915
+ * Additional query params to send with the request that are not defined in the API spec.
916
+ */
917
+ additionalParams?: {
918
+ [key: string]: string;
919
+ };
920
+ }
921
+ /**
922
+ * Query params for the API request.
923
+ */
924
+ interface MachineDeleteQueryParams {
925
+ /**
926
+ * Additional query params to send with the request that are not defined in the API spec.
927
+ */
928
+ additionalParams?: {
929
+ [key: string]: string;
930
+ };
931
+ /**
932
+ * Force kill the machine if it's running
933
+ */
934
+ force?: boolean;
935
+ }
936
+ interface MachineEvent {
937
+ id?: string;
938
+ request?: any;
939
+ source?: string;
940
+ status?: string;
941
+ timestamp?: number;
942
+ type?: string;
943
+ }
944
+ /**
945
+ * Query params for the API request.
946
+ */
947
+ interface MachinePutQueryParams {
948
+ /**
949
+ * Additional query params to send with the request that are not defined in the API spec.
950
+ */
951
+ additionalParams?: {
952
+ [key: string]: string;
953
+ };
954
+ }
955
+ /**
956
+ * Query params for each of the operations of the resource.
957
+ */
958
+ interface MachineQueryParams {
959
+ /**
960
+ * Query params for the create operation.
961
+ */
962
+ create?: outputs.apps.v1.MachineCreateQueryParams;
963
+ /**
964
+ * Query params for the delete operation.
965
+ */
966
+ delete?: outputs.apps.v1.MachineDeleteQueryParams;
967
+ /**
968
+ * Query params for the put operation.
969
+ */
970
+ put?: outputs.apps.v1.MachinePutQueryParams;
971
+ /**
972
+ * Query params for the read operation.
973
+ */
974
+ read?: outputs.apps.v1.MachineReadQueryParams;
975
+ }
976
+ /**
977
+ * Query params for the API request.
978
+ */
979
+ interface MachineReadQueryParams {
980
+ /**
981
+ * Additional query params to send with the request that are not defined in the API spec.
982
+ */
983
+ additionalParams?: {
984
+ [key: string]: string;
985
+ };
986
+ /**
987
+ * Include machine lease
988
+ */
989
+ includeLeases?: boolean;
990
+ /**
991
+ * 26-character Machine version ID; returns that version of the Machine instead of the current one
992
+ */
993
+ version?: string;
994
+ }
995
+ interface MachineVersion {
996
+ userConfig?: outputs.apps.v1.FlyMachineConfig;
997
+ version?: string;
998
+ }
999
+ /**
1000
+ * Query params for the API request.
1001
+ */
1002
+ interface MachinesCordonCreateQueryParams {
1003
+ /**
1004
+ * Additional query params to send with the request that are not defined in the API spec.
1005
+ */
1006
+ additionalParams?: {
1007
+ [key: string]: string;
1008
+ };
1009
+ }
1010
+ /**
1011
+ * Query params for each of the operations of the resource.
1012
+ */
1013
+ interface MachinesCordonQueryParams {
1014
+ /**
1015
+ * Query params for the create operation.
1016
+ */
1017
+ create?: outputs.apps.v1.MachinesCordonCreateQueryParams;
1018
+ }
1019
+ /**
1020
+ * Query params for the API request.
1021
+ */
1022
+ interface MachinesExecCreateQueryParams {
1023
+ /**
1024
+ * Additional query params to send with the request that are not defined in the API spec.
1025
+ */
1026
+ additionalParams?: {
1027
+ [key: string]: string;
1028
+ };
1029
+ }
1030
+ /**
1031
+ * Query params for each of the operations of the resource.
1032
+ */
1033
+ interface MachinesExecQueryParams {
1034
+ /**
1035
+ * Query params for the create operation.
1036
+ */
1037
+ create?: outputs.apps.v1.MachinesExecCreateQueryParams;
1038
+ }
1039
+ /**
1040
+ * Query params for the API request.
1041
+ */
1042
+ interface MachinesLeaseCreateQueryParams {
1043
+ /**
1044
+ * Additional query params to send with the request that are not defined in the API spec.
1045
+ */
1046
+ additionalParams?: {
1047
+ [key: string]: string;
1048
+ };
1049
+ }
1050
+ /**
1051
+ * Query params for each of the operations of the resource.
1052
+ */
1053
+ interface MachinesLeaseQueryParams {
1054
+ /**
1055
+ * Query params for the create operation.
1056
+ */
1057
+ create?: outputs.apps.v1.MachinesLeaseCreateQueryParams;
1058
+ /**
1059
+ * Query params for the read operation.
1060
+ */
1061
+ read?: outputs.apps.v1.MachinesLeaseReadQueryParams;
1062
+ }
1063
+ /**
1064
+ * Query params for the API request.
1065
+ */
1066
+ interface MachinesLeaseReadQueryParams {
1067
+ /**
1068
+ * Additional query params to send with the request that are not defined in the API spec.
1069
+ */
1070
+ additionalParams?: {
1071
+ [key: string]: string;
1072
+ };
1073
+ }
1074
+ /**
1075
+ * Query params for the API request.
1076
+ */
1077
+ interface MachinesMemoryLimitCreateQueryParams {
1078
+ /**
1079
+ * Additional query params to send with the request that are not defined in the API spec.
1080
+ */
1081
+ additionalParams?: {
1082
+ [key: string]: string;
1083
+ };
1084
+ }
1085
+ /**
1086
+ * Query params for the API request.
1087
+ */
1088
+ interface MachinesMemoryLimitPutQueryParams {
1089
+ /**
1090
+ * Additional query params to send with the request that are not defined in the API spec.
1091
+ */
1092
+ additionalParams?: {
1093
+ [key: string]: string;
1094
+ };
1095
+ }
1096
+ /**
1097
+ * Query params for each of the operations of the resource.
1098
+ */
1099
+ interface MachinesMemoryLimitQueryParams {
1100
+ /**
1101
+ * Query params for the create operation.
1102
+ */
1103
+ create?: outputs.apps.v1.MachinesMemoryLimitCreateQueryParams;
1104
+ /**
1105
+ * Query params for the put operation.
1106
+ */
1107
+ put?: outputs.apps.v1.MachinesMemoryLimitPutQueryParams;
1108
+ }
1109
+ /**
1110
+ * Query params for the API request.
1111
+ */
1112
+ interface MachinesMetadataCreateQueryParams {
1113
+ /**
1114
+ * Additional query params to send with the request that are not defined in the API spec.
1115
+ */
1116
+ additionalParams?: {
1117
+ [key: string]: string;
1118
+ };
1119
+ }
1120
+ /**
1121
+ * Query params for the API request.
1122
+ */
1123
+ interface MachinesMetadataKeyCreateQueryParams {
1124
+ /**
1125
+ * Additional query params to send with the request that are not defined in the API spec.
1126
+ */
1127
+ additionalParams?: {
1128
+ [key: string]: string;
1129
+ };
1130
+ }
1131
+ /**
1132
+ * Query params for the API request.
1133
+ */
1134
+ interface MachinesMetadataKeyDeleteQueryParams {
1135
+ /**
1136
+ * Additional query params to send with the request that are not defined in the API spec.
1137
+ */
1138
+ additionalParams?: {
1139
+ [key: string]: string;
1140
+ };
1141
+ }
1142
+ /**
1143
+ * Query params for each of the operations of the resource.
1144
+ */
1145
+ interface MachinesMetadataKeyQueryParams {
1146
+ /**
1147
+ * Query params for the create operation.
1148
+ */
1149
+ create?: outputs.apps.v1.MachinesMetadataKeyCreateQueryParams;
1150
+ /**
1151
+ * Query params for the delete operation.
1152
+ */
1153
+ delete?: outputs.apps.v1.MachinesMetadataKeyDeleteQueryParams;
1154
+ /**
1155
+ * Query params for the read operation.
1156
+ */
1157
+ read?: outputs.apps.v1.MachinesMetadataKeyReadQueryParams;
1158
+ }
1159
+ /**
1160
+ * Query params for the API request.
1161
+ */
1162
+ interface MachinesMetadataKeyReadQueryParams {
1163
+ /**
1164
+ * Additional query params to send with the request that are not defined in the API spec.
1165
+ */
1166
+ additionalParams?: {
1167
+ [key: string]: string;
1168
+ };
1169
+ }
1170
+ /**
1171
+ * Query params for each of the operations of the resource.
1172
+ */
1173
+ interface MachinesMetadataQueryParams {
1174
+ /**
1175
+ * Query params for the create operation.
1176
+ */
1177
+ create?: outputs.apps.v1.MachinesMetadataCreateQueryParams;
1178
+ /**
1179
+ * Query params for the read operation.
1180
+ */
1181
+ read?: outputs.apps.v1.MachinesMetadataReadQueryParams;
1182
+ /**
1183
+ * Query params for the update operation.
1184
+ */
1185
+ update?: outputs.apps.v1.MachinesMetadataUpdateQueryParams;
1186
+ }
1187
+ /**
1188
+ * Query params for the API request.
1189
+ */
1190
+ interface MachinesMetadataReadQueryParams {
1191
+ /**
1192
+ * Additional query params to send with the request that are not defined in the API spec.
1193
+ */
1194
+ additionalParams?: {
1195
+ [key: string]: string;
1196
+ };
1197
+ }
1198
+ /**
1199
+ * Query params for the API request.
1200
+ */
1201
+ interface MachinesMetadataUpdateQueryParams {
1202
+ /**
1203
+ * Additional query params to send with the request that are not defined in the API spec.
1204
+ */
1205
+ additionalParams?: {
1206
+ [key: string]: string;
1207
+ };
1208
+ }
1209
+ /**
1210
+ * Query params for the API request.
1211
+ */
1212
+ interface MachinesReclaimMemoryCreateQueryParams {
1213
+ /**
1214
+ * Additional query params to send with the request that are not defined in the API spec.
1215
+ */
1216
+ additionalParams?: {
1217
+ [key: string]: string;
1218
+ };
1219
+ }
1220
+ /**
1221
+ * Query params for each of the operations of the resource.
1222
+ */
1223
+ interface MachinesReclaimMemoryQueryParams {
1224
+ /**
1225
+ * Query params for the create operation.
1226
+ */
1227
+ create?: outputs.apps.v1.MachinesReclaimMemoryCreateQueryParams;
1228
+ }
1229
+ /**
1230
+ * Query params for the API request.
1231
+ */
1232
+ interface MachinesRestartCreateQueryParams {
1233
+ /**
1234
+ * Additional query params to send with the request that are not defined in the API spec.
1235
+ */
1236
+ additionalParams?: {
1237
+ [key: string]: string;
1238
+ };
1239
+ /**
1240
+ * Unix signal name
1241
+ */
1242
+ signal?: enums.apps.v1.MachinesRestartCreateQueryParamsSignal;
1243
+ /**
1244
+ * Restart timeout as a Go duration string or number of seconds
1245
+ */
1246
+ timeout?: string;
1247
+ }
1248
+ /**
1249
+ * Query params for each of the operations of the resource.
1250
+ */
1251
+ interface MachinesRestartQueryParams {
1252
+ /**
1253
+ * Query params for the create operation.
1254
+ */
1255
+ create?: outputs.apps.v1.MachinesRestartCreateQueryParams;
1256
+ }
1257
+ /**
1258
+ * Query params for the API request.
1259
+ */
1260
+ interface MachinesSignalCreateQueryParams {
1261
+ /**
1262
+ * Additional query params to send with the request that are not defined in the API spec.
1263
+ */
1264
+ additionalParams?: {
1265
+ [key: string]: string;
1266
+ };
1267
+ }
1268
+ /**
1269
+ * Query params for each of the operations of the resource.
1270
+ */
1271
+ interface MachinesSignalQueryParams {
1272
+ /**
1273
+ * Query params for the create operation.
1274
+ */
1275
+ create?: outputs.apps.v1.MachinesSignalCreateQueryParams;
1276
+ }
1277
+ /**
1278
+ * Query params for the API request.
1279
+ */
1280
+ interface MachinesStartCreateQueryParams {
1281
+ /**
1282
+ * Additional query params to send with the request that are not defined in the API spec.
1283
+ */
1284
+ additionalParams?: {
1285
+ [key: string]: string;
1286
+ };
1287
+ }
1288
+ /**
1289
+ * Query params for each of the operations of the resource.
1290
+ */
1291
+ interface MachinesStartQueryParams {
1292
+ /**
1293
+ * Query params for the create operation.
1294
+ */
1295
+ create?: outputs.apps.v1.MachinesStartCreateQueryParams;
1296
+ }
1297
+ /**
1298
+ * Query params for the API request.
1299
+ */
1300
+ interface MachinesStopCreateQueryParams {
1301
+ /**
1302
+ * Additional query params to send with the request that are not defined in the API spec.
1303
+ */
1304
+ additionalParams?: {
1305
+ [key: string]: string;
1306
+ };
1307
+ }
1308
+ /**
1309
+ * Query params for each of the operations of the resource.
1310
+ */
1311
+ interface MachinesStopQueryParams {
1312
+ /**
1313
+ * Query params for the create operation.
1314
+ */
1315
+ create?: outputs.apps.v1.MachinesStopCreateQueryParams;
1316
+ }
1317
+ /**
1318
+ * Query params for the API request.
1319
+ */
1320
+ interface MachinesSuspendCreateQueryParams {
1321
+ /**
1322
+ * Additional query params to send with the request that are not defined in the API spec.
1323
+ */
1324
+ additionalParams?: {
1325
+ [key: string]: string;
1326
+ };
1327
+ }
1328
+ /**
1329
+ * Query params for each of the operations of the resource.
1330
+ */
1331
+ interface MachinesSuspendQueryParams {
1332
+ /**
1333
+ * Query params for the create operation.
1334
+ */
1335
+ create?: outputs.apps.v1.MachinesSuspendCreateQueryParams;
1336
+ }
1337
+ /**
1338
+ * Query params for the API request.
1339
+ */
1340
+ interface MachinesUncordonCreateQueryParams {
1341
+ /**
1342
+ * Additional query params to send with the request that are not defined in the API spec.
1343
+ */
1344
+ additionalParams?: {
1345
+ [key: string]: string;
1346
+ };
1347
+ }
1348
+ /**
1349
+ * Query params for each of the operations of the resource.
1350
+ */
1351
+ interface MachinesUncordonQueryParams {
1352
+ /**
1353
+ * Query params for the create operation.
1354
+ */
1355
+ create?: outputs.apps.v1.MachinesUncordonCreateQueryParams;
1356
+ }
1357
+ interface OwnershipVerification {
1358
+ appValue?: string;
1359
+ name?: string;
1360
+ orgValue?: string;
1361
+ }
1362
+ interface ProcessStat {
1363
+ command?: string;
1364
+ cpu?: number;
1365
+ directory?: string;
1366
+ listenSockets?: outputs.apps.v1.ListenSocket[];
1367
+ pid?: number;
1368
+ rss?: number;
1369
+ rtime?: number;
1370
+ stime?: number;
1371
+ }
1372
+ /**
1373
+ * Query params for the API request.
1374
+ */
1375
+ interface SecretCreateQueryParams {
1376
+ /**
1377
+ * Additional query params to send with the request that are not defined in the API spec.
1378
+ */
1379
+ additionalParams?: {
1380
+ [key: string]: string;
1381
+ };
1382
+ }
1383
+ /**
1384
+ * Query params for the API request.
1385
+ */
1386
+ interface SecretDeleteQueryParams {
1387
+ /**
1388
+ * Additional query params to send with the request that are not defined in the API spec.
1389
+ */
1390
+ additionalParams?: {
1391
+ [key: string]: string;
1392
+ };
1393
+ }
1394
+ interface SecretKey {
1395
+ createdAt?: string;
1396
+ name?: string;
1397
+ publicKey?: number[];
1398
+ type?: string;
1399
+ updatedAt?: string;
1400
+ }
1401
+ /**
1402
+ * Query params for each of the operations of the resource.
1403
+ */
1404
+ interface SecretQueryParams {
1405
+ /**
1406
+ * Query params for the create operation.
1407
+ */
1408
+ create?: outputs.apps.v1.SecretCreateQueryParams;
1409
+ /**
1410
+ * Query params for the delete operation.
1411
+ */
1412
+ delete?: outputs.apps.v1.SecretDeleteQueryParams;
1413
+ /**
1414
+ * Query params for the read operation.
1415
+ */
1416
+ read?: outputs.apps.v1.SecretReadQueryParams;
1417
+ }
1418
+ /**
1419
+ * Query params for the API request.
1420
+ */
1421
+ interface SecretReadQueryParams {
1422
+ /**
1423
+ * Additional query params to send with the request that are not defined in the API spec.
1424
+ */
1425
+ additionalParams?: {
1426
+ [key: string]: string;
1427
+ };
1428
+ /**
1429
+ * Minimum secrets version to return. Returned when setting a new secret
1430
+ */
1431
+ minVersion?: string;
1432
+ /**
1433
+ * Show the secret value.
1434
+ */
1435
+ showSecrets?: boolean;
1436
+ }
1437
+ /**
1438
+ * Query params for the API request.
1439
+ */
1440
+ interface SecretkeyCreateQueryParams {
1441
+ /**
1442
+ * Additional query params to send with the request that are not defined in the API spec.
1443
+ */
1444
+ additionalParams?: {
1445
+ [key: string]: string;
1446
+ };
1447
+ }
1448
+ /**
1449
+ * Query params for the API request.
1450
+ */
1451
+ interface SecretkeyDecryptCreateQueryParams {
1452
+ /**
1453
+ * Additional query params to send with the request that are not defined in the API spec.
1454
+ */
1455
+ additionalParams?: {
1456
+ [key: string]: string;
1457
+ };
1458
+ /**
1459
+ * Minimum secrets version to return. Returned when setting a new secret
1460
+ */
1461
+ minVersion?: string;
1462
+ }
1463
+ /**
1464
+ * Query params for each of the operations of the resource.
1465
+ */
1466
+ interface SecretkeyDecryptQueryParams {
1467
+ /**
1468
+ * Query params for the create operation.
1469
+ */
1470
+ create?: outputs.apps.v1.SecretkeyDecryptCreateQueryParams;
1471
+ }
1472
+ /**
1473
+ * Query params for the API request.
1474
+ */
1475
+ interface SecretkeyDeleteQueryParams {
1476
+ /**
1477
+ * Additional query params to send with the request that are not defined in the API spec.
1478
+ */
1479
+ additionalParams?: {
1480
+ [key: string]: string;
1481
+ };
1482
+ }
1483
+ /**
1484
+ * Query params for the API request.
1485
+ */
1486
+ interface SecretkeyEncryptCreateQueryParams {
1487
+ /**
1488
+ * Additional query params to send with the request that are not defined in the API spec.
1489
+ */
1490
+ additionalParams?: {
1491
+ [key: string]: string;
1492
+ };
1493
+ /**
1494
+ * Minimum secrets version to return. Returned when setting a new secret
1495
+ */
1496
+ minVersion?: string;
1497
+ }
1498
+ /**
1499
+ * Query params for each of the operations of the resource.
1500
+ */
1501
+ interface SecretkeyEncryptQueryParams {
1502
+ /**
1503
+ * Query params for the create operation.
1504
+ */
1505
+ create?: outputs.apps.v1.SecretkeyEncryptCreateQueryParams;
1506
+ }
1507
+ /**
1508
+ * Query params for the API request.
1509
+ */
1510
+ interface SecretkeyGenerateCreateQueryParams {
1511
+ /**
1512
+ * Additional query params to send with the request that are not defined in the API spec.
1513
+ */
1514
+ additionalParams?: {
1515
+ [key: string]: string;
1516
+ };
1517
+ }
1518
+ /**
1519
+ * Query params for each of the operations of the resource.
1520
+ */
1521
+ interface SecretkeyGenerateQueryParams {
1522
+ /**
1523
+ * Query params for the create operation.
1524
+ */
1525
+ create?: outputs.apps.v1.SecretkeyGenerateCreateQueryParams;
1526
+ }
1527
+ /**
1528
+ * Query params for each of the operations of the resource.
1529
+ */
1530
+ interface SecretkeyQueryParams {
1531
+ /**
1532
+ * Query params for the create operation.
1533
+ */
1534
+ create?: outputs.apps.v1.SecretkeyCreateQueryParams;
1535
+ /**
1536
+ * Query params for the delete operation.
1537
+ */
1538
+ delete?: outputs.apps.v1.SecretkeyDeleteQueryParams;
1539
+ /**
1540
+ * Query params for the read operation.
1541
+ */
1542
+ read?: outputs.apps.v1.SecretkeyReadQueryParams;
1543
+ }
1544
+ /**
1545
+ * Query params for the API request.
1546
+ */
1547
+ interface SecretkeyReadQueryParams {
1548
+ /**
1549
+ * Additional query params to send with the request that are not defined in the API spec.
1550
+ */
1551
+ additionalParams?: {
1552
+ [key: string]: string;
1553
+ };
1554
+ /**
1555
+ * Minimum secrets version to return. Returned when setting a new secret
1556
+ */
1557
+ minVersion?: string;
1558
+ }
1559
+ /**
1560
+ * Query params for the API request.
1561
+ */
1562
+ interface SecretkeySignCreateQueryParams {
1563
+ /**
1564
+ * Additional query params to send with the request that are not defined in the API spec.
1565
+ */
1566
+ additionalParams?: {
1567
+ [key: string]: string;
1568
+ };
1569
+ /**
1570
+ * Minimum secrets version to return. Returned when setting a new secret
1571
+ */
1572
+ minVersion?: string;
1573
+ }
1574
+ /**
1575
+ * Query params for each of the operations of the resource.
1576
+ */
1577
+ interface SecretkeySignQueryParams {
1578
+ /**
1579
+ * Query params for the create operation.
1580
+ */
1581
+ create?: outputs.apps.v1.SecretkeySignCreateQueryParams;
1582
+ }
1583
+ /**
1584
+ * Query params for the API request.
1585
+ */
1586
+ interface SecretkeyVerifyCreateQueryParams {
1587
+ /**
1588
+ * Additional query params to send with the request that are not defined in the API spec.
1589
+ */
1590
+ additionalParams?: {
1591
+ [key: string]: string;
1592
+ };
1593
+ /**
1594
+ * Minimum secrets version to return. Returned when setting a new secret
1595
+ */
1596
+ minVersion?: string;
1597
+ }
1598
+ /**
1599
+ * Query params for each of the operations of the resource.
1600
+ */
1601
+ interface SecretkeyVerifyQueryParams {
1602
+ /**
1603
+ * Query params for the create operation.
1604
+ */
1605
+ create?: outputs.apps.v1.SecretkeyVerifyCreateQueryParams;
1606
+ }
1607
+ /**
1608
+ * Query params for the API request.
1609
+ */
1610
+ interface SecretsUpdateCreateQueryParams {
1611
+ /**
1612
+ * Additional query params to send with the request that are not defined in the API spec.
1613
+ */
1614
+ additionalParams?: {
1615
+ [key: string]: string;
1616
+ };
1617
+ }
1618
+ /**
1619
+ * Query params for each of the operations of the resource.
1620
+ */
1621
+ interface SecretsUpdateQueryParams {
1622
+ /**
1623
+ * Query params for the create operation.
1624
+ */
1625
+ create?: outputs.apps.v1.SecretsUpdateCreateQueryParams;
1626
+ }
1627
+ interface StrippedLease {
1628
+ description?: string;
1629
+ expiresAt?: number;
1630
+ owner?: string;
1631
+ }
1632
+ interface Volume {
1633
+ attachedAllocId?: string;
1634
+ attachedMachineId?: string;
1635
+ autoBackupEnabled?: boolean;
1636
+ blockSize?: number;
1637
+ blocks?: number;
1638
+ blocksAvail?: number;
1639
+ blocksFree?: number;
1640
+ bytesTotal?: number;
1641
+ bytesUsed?: number;
1642
+ createdAt?: string;
1643
+ encrypted?: boolean;
1644
+ fstype?: string;
1645
+ hostFeatures?: string[];
1646
+ hostStatus?: enums.apps.v1.VolumeHostStatus;
1647
+ id?: string;
1648
+ name?: string;
1649
+ region?: string;
1650
+ requiredHostFeatures?: string[];
1651
+ sizeGb?: number;
1652
+ snapshotRetention?: number;
1653
+ state?: string;
1654
+ type?: enums.apps.v1.VolumeType;
1655
+ zone?: string;
1656
+ }
1657
+ /**
1658
+ * Query params for the API request.
1659
+ */
1660
+ interface VolumeCreateQueryParams {
1661
+ /**
1662
+ * Additional query params to send with the request that are not defined in the API spec.
1663
+ */
1664
+ additionalParams?: {
1665
+ [key: string]: string;
1666
+ };
1667
+ }
1668
+ /**
1669
+ * Query params for the API request.
1670
+ */
1671
+ interface VolumeDeleteQueryParams {
1672
+ /**
1673
+ * Additional query params to send with the request that are not defined in the API spec.
1674
+ */
1675
+ additionalParams?: {
1676
+ [key: string]: string;
1677
+ };
1678
+ }
1679
+ /**
1680
+ * Query params for the API request.
1681
+ */
1682
+ interface VolumePutQueryParams {
1683
+ /**
1684
+ * Additional query params to send with the request that are not defined in the API spec.
1685
+ */
1686
+ additionalParams?: {
1687
+ [key: string]: string;
1688
+ };
1689
+ }
1690
+ /**
1691
+ * Query params for each of the operations of the resource.
1692
+ */
1693
+ interface VolumeQueryParams {
1694
+ /**
1695
+ * Query params for the create operation.
1696
+ */
1697
+ create?: outputs.apps.v1.VolumeCreateQueryParams;
1698
+ /**
1699
+ * Query params for the delete operation.
1700
+ */
1701
+ delete?: outputs.apps.v1.VolumeDeleteQueryParams;
1702
+ /**
1703
+ * Query params for the put operation.
1704
+ */
1705
+ put?: outputs.apps.v1.VolumePutQueryParams;
1706
+ /**
1707
+ * Query params for the read operation.
1708
+ */
1709
+ read?: outputs.apps.v1.VolumeReadQueryParams;
1710
+ }
1711
+ /**
1712
+ * Query params for the API request.
1713
+ */
1714
+ interface VolumeReadQueryParams {
1715
+ /**
1716
+ * Additional query params to send with the request that are not defined in the API spec.
1717
+ */
1718
+ additionalParams?: {
1719
+ [key: string]: string;
1720
+ };
1721
+ }
1722
+ interface VolumeSnapshot {
1723
+ createdAt?: string;
1724
+ digest?: string;
1725
+ id?: string;
1726
+ retentionDays?: number;
1727
+ size?: number;
1728
+ status?: string;
1729
+ volumeSize?: number;
1730
+ }
1731
+ /**
1732
+ * Query params for the API request.
1733
+ */
1734
+ interface VolumeSnapshotCreateQueryParams {
1735
+ /**
1736
+ * Additional query params to send with the request that are not defined in the API spec.
1737
+ */
1738
+ additionalParams?: {
1739
+ [key: string]: string;
1740
+ };
1741
+ }
1742
+ /**
1743
+ * Query params for each of the operations of the resource.
1744
+ */
1745
+ interface VolumeSnapshotQueryParams {
1746
+ /**
1747
+ * Query params for the create operation.
1748
+ */
1749
+ create?: outputs.apps.v1.VolumeSnapshotCreateQueryParams;
1750
+ }
1751
+ /**
1752
+ * Query params for the API request.
1753
+ */
1754
+ interface VolumesExtendCreateQueryParams {
1755
+ /**
1756
+ * Additional query params to send with the request that are not defined in the API spec.
1757
+ */
1758
+ additionalParams?: {
1759
+ [key: string]: string;
1760
+ };
1761
+ }
1762
+ /**
1763
+ * Query params for the API request.
1764
+ */
1765
+ interface VolumesExtendPutQueryParams {
1766
+ /**
1767
+ * Additional query params to send with the request that are not defined in the API spec.
1768
+ */
1769
+ additionalParams?: {
1770
+ [key: string]: string;
1771
+ };
1772
+ }
1773
+ /**
1774
+ * Query params for each of the operations of the resource.
1775
+ */
1776
+ interface VolumesExtendQueryParams {
1777
+ /**
1778
+ * Query params for the create operation.
1779
+ */
1780
+ create?: outputs.apps.v1.VolumesExtendCreateQueryParams;
1781
+ /**
1782
+ * Query params for the put operation.
1783
+ */
1784
+ put?: outputs.apps.v1.VolumesExtendPutQueryParams;
1785
+ }
1786
+ }
1787
+ }
1788
+ export declare namespace orgs {
1789
+ namespace v1 {
1790
+ interface FlyMachineGuest {
1791
+ cpuKind?: string;
1792
+ cpus?: number;
1793
+ gpuKind?: string;
1794
+ gpus?: number;
1795
+ hostDedicationId?: string;
1796
+ kernelArgs?: string[];
1797
+ maxMemoryMb?: number;
1798
+ memoryMb?: number;
1799
+ /**
1800
+ * Deprecated: use MachineConfig.Rootfs instead
1801
+ */
1802
+ persistRootfs?: enums.orgs.v1.FlyMachineGuestPersistRootfs;
1803
+ requiredHostFeatures?: string[];
1804
+ }
1805
+ interface MachineOverviewConfig {
1806
+ guest?: outputs.orgs.v1.FlyMachineGuest;
1807
+ image?: string;
1808
+ metadata?: any;
1809
+ }
1810
+ interface OrgMachine {
1811
+ appName?: string;
1812
+ config?: outputs.orgs.v1.MachineOverviewConfig;
1813
+ createdAt?: string;
1814
+ id?: string;
1815
+ name?: string;
1816
+ privateIp?: string;
1817
+ region?: string;
1818
+ state?: string;
1819
+ updatedAt?: string;
1820
+ version?: string;
1821
+ }
1822
+ interface OrgVolume {
1823
+ appName?: string;
1824
+ attachedAllocId?: string;
1825
+ attachedMachineId?: string;
1826
+ autoBackupEnabled?: boolean;
1827
+ blockSize?: number;
1828
+ blocks?: number;
1829
+ blocksAvail?: number;
1830
+ blocksFree?: number;
1831
+ bytesTotal?: number;
1832
+ bytesUsed?: number;
1833
+ createdAt?: string;
1834
+ encrypted?: boolean;
1835
+ fstype?: string;
1836
+ hostFeatures?: string[];
1837
+ hostStatus?: enums.orgs.v1.OrgVolumeHostStatus;
1838
+ id?: string;
1839
+ name?: string;
1840
+ region?: string;
1841
+ requiredHostFeatures?: string[];
1842
+ sizeGb?: number;
1843
+ snapshotRetention?: number;
1844
+ state?: string;
1845
+ type?: enums.orgs.v1.OrgVolumeType;
1846
+ updatedAt?: string;
1847
+ zone?: string;
1848
+ }
1849
+ }
1850
+ }
1851
+ export declare namespace platform {
1852
+ namespace v1 {
1853
+ /**
1854
+ * Resource requirements for the Machine to simulate. Defaults to a performance-1x machine
1855
+ */
1856
+ interface Compute {
1857
+ cpuKind?: string;
1858
+ cpus?: number;
1859
+ gpuKind?: string;
1860
+ gpus?: number;
1861
+ hostDedicationId?: string;
1862
+ kernelArgs?: string[];
1863
+ maxMemoryMb?: number;
1864
+ memoryMb?: number;
1865
+ /**
1866
+ * Deprecated: use MachineConfig.Rootfs instead
1867
+ */
1868
+ persistRootfs?: enums.platform.v1.FlyMachineGuestPersistRootfs;
1869
+ requiredHostFeatures?: string[];
1870
+ }
1871
+ interface MainRegionRow {
1872
+ code?: string;
1873
+ deprecated?: boolean;
1874
+ gatewayAvailable?: boolean;
1875
+ geoRegion?: string;
1876
+ latitude?: number;
1877
+ longitude?: number;
1878
+ mpgAvailable?: boolean;
1879
+ name?: string;
1880
+ requiresPaidPlan?: boolean;
1881
+ }
1882
+ interface PlacementRegionPlacement {
1883
+ concurrency?: number;
1884
+ count?: number;
1885
+ region?: string;
1886
+ }
1887
+ /**
1888
+ * Query params for the API request.
1889
+ */
1890
+ interface PlatformPlacementCreateQueryParams {
1891
+ /**
1892
+ * Additional query params to send with the request that are not defined in the API spec.
1893
+ */
1894
+ additionalParams?: {
1895
+ [key: string]: string;
1896
+ };
1897
+ }
1898
+ /**
1899
+ * Query params for each of the operations of the resource.
1900
+ */
1901
+ interface PlatformPlacementQueryParams {
1902
+ /**
1903
+ * Query params for the create operation.
1904
+ */
1905
+ create?: outputs.platform.v1.PlatformPlacementCreateQueryParams;
1906
+ }
1907
+ /**
1908
+ * Optional weights to override default placement preferences.
1909
+ */
1910
+ interface Weights {
1911
+ }
1912
+ }
1913
+ }
1914
+ export declare namespace postgres {
1915
+ namespace v1 {
1916
+ interface OrganizationRef {
1917
+ /**
1918
+ * Organization name.
1919
+ */
1920
+ name?: string;
1921
+ /**
1922
+ * Organization slug.
1923
+ */
1924
+ slug?: string;
1925
+ }
1926
+ interface PostgresActiveQuery {
1927
+ /**
1928
+ * Application connected to the backend.
1929
+ */
1930
+ applicationName?: string;
1931
+ /**
1932
+ * Client address.
1933
+ */
1934
+ client?: string;
1935
+ /**
1936
+ * Database name.
1937
+ */
1938
+ database?: string;
1939
+ /**
1940
+ * Query duration in seconds.
1941
+ */
1942
+ durationSeconds?: number;
1943
+ /**
1944
+ * Process ID of the backend running the query.
1945
+ */
1946
+ pid?: number;
1947
+ /**
1948
+ * Full query text.
1949
+ */
1950
+ query?: string;
1951
+ /**
1952
+ * Current backend state.
1953
+ */
1954
+ state?: string;
1955
+ /**
1956
+ * Time spent in the current state, in seconds.
1957
+ */
1958
+ stateDurationSeconds?: number;
1959
+ /**
1960
+ * User running the query.
1961
+ */
1962
+ user?: string;
1963
+ /**
1964
+ * Event the backend is waiting for.
1965
+ */
1966
+ waitEvent?: string;
1967
+ /**
1968
+ * Type of event the backend is waiting for.
1969
+ */
1970
+ waitEventType?: string;
1971
+ }
1972
+ interface PostgresAttachedApp {
1973
+ /**
1974
+ * Attached Fly app name.
1975
+ */
1976
+ name?: string;
1977
+ }
1978
+ interface PostgresAttachment {
1979
+ /**
1980
+ * Attached Fly app name.
1981
+ */
1982
+ appName?: string;
1983
+ /**
1984
+ * RFC 3339 timestamp when the attachment was created.
1985
+ */
1986
+ attachedAt?: string;
1987
+ /**
1988
+ * Cluster ID the app is attached to.
1989
+ */
1990
+ postgresClusterId?: string;
1991
+ }
1992
+ /**
1993
+ * Query params for the API request.
1994
+ */
1995
+ interface PostgresAttachmentCreateQueryParams {
1996
+ /**
1997
+ * Additional query params to send with the request that are not defined in the API spec.
1998
+ */
1999
+ additionalParams?: {
2000
+ [key: string]: string;
2001
+ };
2002
+ }
2003
+ /**
2004
+ * Query params for the API request.
2005
+ */
2006
+ interface PostgresAttachmentDeleteQueryParams {
2007
+ /**
2008
+ * Additional query params to send with the request that are not defined in the API spec.
2009
+ */
2010
+ additionalParams?: {
2011
+ [key: string]: string;
2012
+ };
2013
+ }
2014
+ /**
2015
+ * Query params for each of the operations of the resource.
2016
+ */
2017
+ interface PostgresAttachmentQueryParams {
2018
+ /**
2019
+ * Query params for the create operation.
2020
+ */
2021
+ create?: outputs.postgres.v1.PostgresAttachmentCreateQueryParams;
2022
+ /**
2023
+ * Query params for the delete operation.
2024
+ */
2025
+ delete?: outputs.postgres.v1.PostgresAttachmentDeleteQueryParams;
2026
+ }
2027
+ interface PostgresBackup {
2028
+ /**
2029
+ * RFC 3339 stop timestamp.
2030
+ */
2031
+ finishedAt?: string;
2032
+ /**
2033
+ * Backup ID.
2034
+ */
2035
+ id?: string;
2036
+ /**
2037
+ * Backup size in bytes.
2038
+ */
2039
+ sizeBytes?: number;
2040
+ /**
2041
+ * RFC 3339 start timestamp.
2042
+ */
2043
+ startedAt?: string;
2044
+ /**
2045
+ * Backup status.
2046
+ */
2047
+ status?: string;
2048
+ /**
2049
+ * Backup type.
2050
+ */
2051
+ type?: enums.postgres.v1.PostgresBackupType;
2052
+ }
2053
+ /**
2054
+ * Query params for the API request.
2055
+ */
2056
+ interface PostgresBackupCreateQueryParams {
2057
+ /**
2058
+ * Additional query params to send with the request that are not defined in the API spec.
2059
+ */
2060
+ additionalParams?: {
2061
+ [key: string]: string;
2062
+ };
2063
+ }
2064
+ /**
2065
+ * Query params for each of the operations of the resource.
2066
+ */
2067
+ interface PostgresBackupQueryParams {
2068
+ /**
2069
+ * Query params for the create operation.
2070
+ */
2071
+ create?: outputs.postgres.v1.PostgresBackupCreateQueryParams;
2072
+ }
2073
+ interface PostgresCluster {
2074
+ /**
2075
+ * Apps attached to the cluster.
2076
+ */
2077
+ attachedApps?: outputs.postgres.v1.PostgresAttachedApp[];
2078
+ /**
2079
+ * CPU class.
2080
+ */
2081
+ cpuKind?: enums.postgres.v1.PostgresClusterCpuKind;
2082
+ /**
2083
+ * vCPUs per node.
2084
+ */
2085
+ cpus?: number;
2086
+ /**
2087
+ * RFC 3339 creation timestamp.
2088
+ */
2089
+ createdAt?: string;
2090
+ /**
2091
+ * Disk size in gigabytes, for one replica.
2092
+ */
2093
+ diskSizeGb?: number;
2094
+ /**
2095
+ * Connection endpoints. Populated once the cluster is ready.
2096
+ */
2097
+ endpoints?: outputs.postgres.v1.PostgresClusterEndpoints;
2098
+ /**
2099
+ * Cluster ID.
2100
+ */
2101
+ id?: string;
2102
+ /**
2103
+ * Memory per node in megabytes.
2104
+ */
2105
+ memoryMb?: number;
2106
+ /**
2107
+ * Cluster name.
2108
+ */
2109
+ name?: string;
2110
+ organization?: outputs.postgres.v1.OrganizationRef;
2111
+ /**
2112
+ * Postgres major version.
2113
+ */
2114
+ pgMajorVersion?: enums.postgres.v1.PostgresClusterPgMajorVersion;
2115
+ /**
2116
+ * Plan slug.
2117
+ */
2118
+ plan?: enums.postgres.v1.PostgresClusterPlan;
2119
+ /**
2120
+ * Whether PostGIS support is enabled.
2121
+ */
2122
+ postgisEnabled?: boolean;
2123
+ /**
2124
+ * Fly region code.
2125
+ */
2126
+ region?: string;
2127
+ /**
2128
+ * Number of replicas.
2129
+ */
2130
+ replicas?: number;
2131
+ /**
2132
+ * Current lifecycle status.
2133
+ */
2134
+ status?: enums.postgres.v1.PostgresClusterStatus;
2135
+ /**
2136
+ * Storage provisioned, summed across the cluster's volumes and measured hourly.
2137
+ * Null until first measured.
2138
+ */
2139
+ storageProvisionedBytes?: number;
2140
+ /**
2141
+ * Storage used, summed across the cluster's volumes and measured hourly. Null
2142
+ * until first measured.
2143
+ */
2144
+ storageUsedBytes?: number;
2145
+ }
2146
+ /**
2147
+ * Connection endpoints. Populated once the cluster is ready.
2148
+ */
2149
+ interface PostgresClusterEndpoints {
2150
+ /**
2151
+ * Endpoints for connecting to the primary node.
2152
+ */
2153
+ primary?: outputs.postgres.v1.PostgresClusterEndpointsPrimary;
2154
+ }
2155
+ /**
2156
+ * Endpoints for connecting to the primary node.
2157
+ */
2158
+ interface PostgresClusterEndpointsPrimary {
2159
+ /**
2160
+ * Unpooled connection to the cluster node.
2161
+ */
2162
+ direct?: outputs.postgres.v1.PostgresNodeEndpointsDirect;
2163
+ /**
2164
+ * Pooled connection to the cluster node (through PgBouncer).
2165
+ */
2166
+ pooler?: outputs.postgres.v1.PostgresNodeEndpointsPooler;
2167
+ }
2168
+ interface PostgresClusterSummary {
2169
+ /**
2170
+ * Apps attached to the cluster.
2171
+ */
2172
+ attachedApps?: outputs.postgres.v1.PostgresAttachedApp[];
2173
+ /**
2174
+ * RFC 3339 creation timestamp.
2175
+ */
2176
+ createdAt?: string;
2177
+ /**
2178
+ * RFC 3339 deletion timestamp; present for deleted clusters.
2179
+ */
2180
+ deletedAt?: string;
2181
+ /**
2182
+ * Cluster ID.
2183
+ */
2184
+ id?: string;
2185
+ /**
2186
+ * Cluster name.
2187
+ */
2188
+ name?: string;
2189
+ /**
2190
+ * Plan slug.
2191
+ */
2192
+ plan?: enums.postgres.v1.PostgresClusterSummaryPlan;
2193
+ /**
2194
+ * Fly region code.
2195
+ */
2196
+ region?: string;
2197
+ /**
2198
+ * Current lifecycle status.
2199
+ */
2200
+ status?: enums.postgres.v1.PostgresClusterSummaryStatus;
2201
+ }
2202
+ /**
2203
+ * Query params for the API request.
2204
+ */
2205
+ interface PostgresCreateQueryParams {
2206
+ /**
2207
+ * Additional query params to send with the request that are not defined in the API spec.
2208
+ */
2209
+ additionalParams?: {
2210
+ [key: string]: string;
2211
+ };
2212
+ }
2213
+ interface PostgresDatabase {
2214
+ /**
2215
+ * Database name.
2216
+ */
2217
+ name?: string;
2218
+ }
2219
+ /**
2220
+ * Query params for the API request.
2221
+ */
2222
+ interface PostgresDatabaseCreateQueryParams {
2223
+ /**
2224
+ * Additional query params to send with the request that are not defined in the API spec.
2225
+ */
2226
+ additionalParams?: {
2227
+ [key: string]: string;
2228
+ };
2229
+ }
2230
+ /**
2231
+ * Query params for the API request.
2232
+ */
2233
+ interface PostgresDatabaseDeleteQueryParams {
2234
+ /**
2235
+ * Additional query params to send with the request that are not defined in the API spec.
2236
+ */
2237
+ additionalParams?: {
2238
+ [key: string]: string;
2239
+ };
2240
+ }
2241
+ /**
2242
+ * Query params for each of the operations of the resource.
2243
+ */
2244
+ interface PostgresDatabaseQueryParams {
2245
+ /**
2246
+ * Query params for the create operation.
2247
+ */
2248
+ create?: outputs.postgres.v1.PostgresDatabaseCreateQueryParams;
2249
+ /**
2250
+ * Query params for the delete operation.
2251
+ */
2252
+ delete?: outputs.postgres.v1.PostgresDatabaseDeleteQueryParams;
2253
+ }
2254
+ /**
2255
+ * Query params for the API request.
2256
+ */
2257
+ interface PostgresDeleteQueryParams {
2258
+ /**
2259
+ * Additional query params to send with the request that are not defined in the API spec.
2260
+ */
2261
+ additionalParams?: {
2262
+ [key: string]: string;
2263
+ };
2264
+ }
2265
+ interface PostgresExtension {
2266
+ /**
2267
+ * Default version installed when enabled.
2268
+ */
2269
+ defaultVersion?: string;
2270
+ /**
2271
+ * Human-readable description.
2272
+ */
2273
+ description?: string;
2274
+ /**
2275
+ * Installation details, or null when the extension is not installed.
2276
+ */
2277
+ installed?: outputs.postgres.v1.PostgresExtensionInstalledProperties;
2278
+ /**
2279
+ * Extension name.
2280
+ */
2281
+ name?: string;
2282
+ /**
2283
+ * Whether this is a system extension that cannot be disabled.
2284
+ */
2285
+ system?: boolean;
2286
+ }
2287
+ /**
2288
+ * Query params for the API request.
2289
+ */
2290
+ interface PostgresExtensionCreateQueryParams {
2291
+ /**
2292
+ * Additional query params to send with the request that are not defined in the API spec.
2293
+ */
2294
+ additionalParams?: {
2295
+ [key: string]: string;
2296
+ };
2297
+ }
2298
+ /**
2299
+ * Query params for the API request.
2300
+ */
2301
+ interface PostgresExtensionDeleteQueryParams {
2302
+ /**
2303
+ * Additional query params to send with the request that are not defined in the API spec.
2304
+ */
2305
+ additionalParams?: {
2306
+ [key: string]: string;
2307
+ };
2308
+ /**
2309
+ * Also drop objects that depend on the extension
2310
+ */
2311
+ force?: boolean;
2312
+ }
2313
+ /**
2314
+ * Installation details, or null when the extension is not installed.
2315
+ */
2316
+ interface PostgresExtensionInstalledProperties {
2317
+ /**
2318
+ * Schema the extension is installed into.
2319
+ */
2320
+ schema?: string;
2321
+ /**
2322
+ * Installed version.
2323
+ */
2324
+ version?: string;
2325
+ }
2326
+ /**
2327
+ * Query params for each of the operations of the resource.
2328
+ */
2329
+ interface PostgresExtensionQueryParams {
2330
+ /**
2331
+ * Query params for the create operation.
2332
+ */
2333
+ create?: outputs.postgres.v1.PostgresExtensionCreateQueryParams;
2334
+ /**
2335
+ * Query params for the delete operation.
2336
+ */
2337
+ delete?: outputs.postgres.v1.PostgresExtensionDeleteQueryParams;
2338
+ }
2339
+ /**
2340
+ * Query params for the API request.
2341
+ */
2342
+ interface PostgresForkCreateQueryParams {
2343
+ /**
2344
+ * Additional query params to send with the request that are not defined in the API spec.
2345
+ */
2346
+ additionalParams?: {
2347
+ [key: string]: string;
2348
+ };
2349
+ }
2350
+ /**
2351
+ * Query params for each of the operations of the resource.
2352
+ */
2353
+ interface PostgresForkQueryParams {
2354
+ /**
2355
+ * Query params for the create operation.
2356
+ */
2357
+ create?: outputs.postgres.v1.PostgresForkCreateQueryParams;
2358
+ }
2359
+ /**
2360
+ * Unpooled connection to the cluster node.
2361
+ */
2362
+ interface PostgresNodeEndpointsDirect {
2363
+ /**
2364
+ * Hostname to connect to.
2365
+ */
2366
+ host?: string;
2367
+ /**
2368
+ * TCP port.
2369
+ */
2370
+ port?: number;
2371
+ }
2372
+ /**
2373
+ * Pooled connection to the cluster node (through PgBouncer).
2374
+ */
2375
+ interface PostgresNodeEndpointsPooler {
2376
+ /**
2377
+ * Hostname to connect to.
2378
+ */
2379
+ host?: string;
2380
+ /**
2381
+ * TCP port.
2382
+ */
2383
+ port?: number;
2384
+ }
2385
+ /**
2386
+ * Query params for each of the operations of the resource.
2387
+ */
2388
+ interface PostgresQueryParams {
2389
+ /**
2390
+ * Query params for the create operation.
2391
+ */
2392
+ create?: outputs.postgres.v1.PostgresCreateQueryParams;
2393
+ /**
2394
+ * Query params for the delete operation.
2395
+ */
2396
+ delete?: outputs.postgres.v1.PostgresDeleteQueryParams;
2397
+ /**
2398
+ * Query params for the read operation.
2399
+ */
2400
+ read?: outputs.postgres.v1.PostgresReadQueryParams;
2401
+ }
2402
+ /**
2403
+ * Query params for the API request.
2404
+ */
2405
+ interface PostgresReadQueryParams {
2406
+ /**
2407
+ * Additional query params to send with the request that are not defined in the API spec.
2408
+ */
2409
+ additionalParams?: {
2410
+ [key: string]: string;
2411
+ };
2412
+ }
2413
+ /**
2414
+ * Query params for the API request.
2415
+ */
2416
+ interface PostgresRestoreCreateQueryParams {
2417
+ /**
2418
+ * Additional query params to send with the request that are not defined in the API spec.
2419
+ */
2420
+ additionalParams?: {
2421
+ [key: string]: string;
2422
+ };
2423
+ }
2424
+ /**
2425
+ * Query params for each of the operations of the resource.
2426
+ */
2427
+ interface PostgresRestoreQueryParams {
2428
+ /**
2429
+ * Query params for the create operation.
2430
+ */
2431
+ create?: outputs.postgres.v1.PostgresRestoreCreateQueryParams;
2432
+ }
2433
+ interface PostgresSlowQuery {
2434
+ /**
2435
+ * Cumulative number of executions.
2436
+ */
2437
+ calls?: number;
2438
+ /**
2439
+ * Database name.
2440
+ */
2441
+ database?: string;
2442
+ /**
2443
+ * Maximum execution time in seconds.
2444
+ */
2445
+ maxExecTimeSeconds?: number;
2446
+ /**
2447
+ * Mean execution time in seconds.
2448
+ */
2449
+ meanExecTimeSeconds?: number;
2450
+ /**
2451
+ * Full query pattern.
2452
+ */
2453
+ query?: string;
2454
+ /**
2455
+ * Query identifier.
2456
+ */
2457
+ queryId?: string;
2458
+ /**
2459
+ * Cumulative total execution time in seconds.
2460
+ */
2461
+ totalExecTimeSeconds?: number;
2462
+ /**
2463
+ * User running the query.
2464
+ */
2465
+ user?: string;
2466
+ }
2467
+ interface PostgresUser {
2468
+ /**
2469
+ * User role.
2470
+ */
2471
+ role?: enums.postgres.v1.PostgresUserRole;
2472
+ /**
2473
+ * User name.
2474
+ */
2475
+ username?: string;
2476
+ }
2477
+ /**
2478
+ * Query params for the API request.
2479
+ */
2480
+ interface PostgresUserCreateQueryParams {
2481
+ /**
2482
+ * Additional query params to send with the request that are not defined in the API spec.
2483
+ */
2484
+ additionalParams?: {
2485
+ [key: string]: string;
2486
+ };
2487
+ }
2488
+ interface PostgresUserCredentials {
2489
+ /**
2490
+ * User password.
2491
+ */
2492
+ password?: string;
2493
+ /**
2494
+ * User name.
2495
+ */
2496
+ username?: string;
2497
+ }
2498
+ /**
2499
+ * Query params for the API request.
2500
+ */
2501
+ interface PostgresUserDeleteQueryParams {
2502
+ /**
2503
+ * Additional query params to send with the request that are not defined in the API spec.
2504
+ */
2505
+ additionalParams?: {
2506
+ [key: string]: string;
2507
+ };
2508
+ }
2509
+ /**
2510
+ * Query params for each of the operations of the resource.
2511
+ */
2512
+ interface PostgresUserQueryParams {
2513
+ /**
2514
+ * Query params for the create operation.
2515
+ */
2516
+ create?: outputs.postgres.v1.PostgresUserCreateQueryParams;
2517
+ /**
2518
+ * Query params for the delete operation.
2519
+ */
2520
+ delete?: outputs.postgres.v1.PostgresUserDeleteQueryParams;
2521
+ }
2522
+ /**
2523
+ * Query params for the API request.
2524
+ */
2525
+ interface PostgresUsersRotatePasswordCreateQueryParams {
2526
+ /**
2527
+ * Additional query params to send with the request that are not defined in the API spec.
2528
+ */
2529
+ additionalParams?: {
2530
+ [key: string]: string;
2531
+ };
2532
+ }
2533
+ /**
2534
+ * Query params for each of the operations of the resource.
2535
+ */
2536
+ interface PostgresUsersRotatePasswordQueryParams {
2537
+ /**
2538
+ * Query params for the create operation.
2539
+ */
2540
+ create?: outputs.postgres.v1.PostgresUsersRotatePasswordCreateQueryParams;
2541
+ }
2542
+ }
2543
+ }
2544
+ export declare namespace tokens {
2545
+ namespace v1 {
2546
+ interface FlyioAccess {
2547
+ action?: enums.tokens.v1.FlyioAccessAction;
2548
+ appFeature?: string;
2549
+ appid?: number;
2550
+ cluster?: string;
2551
+ command?: string[];
2552
+ feature?: string;
2553
+ machine?: string;
2554
+ machineFeature?: string;
2555
+ mutation?: string;
2556
+ orgid?: number;
2557
+ sourceApp?: string;
2558
+ sourceMachine?: string;
2559
+ sourceOrganization?: string;
2560
+ storageObject?: string;
2561
+ volume?: string;
2562
+ }
2563
+ interface MacaroonCaveatSet {
2564
+ caveats?: any[];
2565
+ }
2566
+ interface MacaroonNonce {
2567
+ kid?: number[];
2568
+ proof?: boolean;
2569
+ rnd?: number[];
2570
+ }
2571
+ interface MainTokenInfo {
2572
+ apps?: string[];
2573
+ orgSlug?: string;
2574
+ organization?: string;
2575
+ /**
2576
+ * Machine the token is restricted to (FromMachine caveat)
2577
+ */
2578
+ restrictedToMachine?: string;
2579
+ /**
2580
+ * Machine making the request
2581
+ */
2582
+ sourceMachineId?: string;
2583
+ tokenId?: string;
2584
+ /**
2585
+ * User identifier if token is for a user
2586
+ */
2587
+ user?: string;
2588
+ }
2589
+ interface RootVerifiedToken {
2590
+ caveats?: outputs.tokens.v1.MacaroonCaveatSet;
2591
+ header?: string;
2592
+ nonce?: outputs.tokens.v1.MacaroonNonce;
2593
+ permissionToken?: number[];
2594
+ }
2595
+ /**
2596
+ * Query params for the API request.
2597
+ */
2598
+ interface TokensAuthenticateCreateQueryParams {
2599
+ /**
2600
+ * Additional query params to send with the request that are not defined in the API spec.
2601
+ */
2602
+ additionalParams?: {
2603
+ [key: string]: string;
2604
+ };
2605
+ }
2606
+ /**
2607
+ * Query params for each of the operations of the resource.
2608
+ */
2609
+ interface TokensAuthenticateQueryParams {
2610
+ /**
2611
+ * Query params for the create operation.
2612
+ */
2613
+ create?: outputs.tokens.v1.TokensAuthenticateCreateQueryParams;
2614
+ }
2615
+ /**
2616
+ * Query params for the API request.
2617
+ */
2618
+ interface TokensAuthorizeCreateQueryParams {
2619
+ /**
2620
+ * Additional query params to send with the request that are not defined in the API spec.
2621
+ */
2622
+ additionalParams?: {
2623
+ [key: string]: string;
2624
+ };
2625
+ }
2626
+ /**
2627
+ * Query params for each of the operations of the resource.
2628
+ */
2629
+ interface TokensAuthorizeQueryParams {
2630
+ /**
2631
+ * Query params for the create operation.
2632
+ */
2633
+ create?: outputs.tokens.v1.TokensAuthorizeCreateQueryParams;
2634
+ }
2635
+ /**
2636
+ * Query params for the API request.
2637
+ */
2638
+ interface TokensRequestKmCreateQueryParams {
2639
+ /**
2640
+ * Additional query params to send with the request that are not defined in the API spec.
2641
+ */
2642
+ additionalParams?: {
2643
+ [key: string]: string;
2644
+ };
2645
+ }
2646
+ /**
2647
+ * Query params for each of the operations of the resource.
2648
+ */
2649
+ interface TokensRequestKmQueryParams {
2650
+ /**
2651
+ * Query params for the create operation.
2652
+ */
2653
+ create?: outputs.tokens.v1.TokensRequestKmCreateQueryParams;
2654
+ }
2655
+ /**
2656
+ * Query params for the API request.
2657
+ */
2658
+ interface TokensRequestOidcCreateQueryParams {
2659
+ /**
2660
+ * Additional query params to send with the request that are not defined in the API spec.
2661
+ */
2662
+ additionalParams?: {
2663
+ [key: string]: string;
2664
+ };
2665
+ }
2666
+ /**
2667
+ * Query params for each of the operations of the resource.
2668
+ */
2669
+ interface TokensRequestOidcQueryParams {
2670
+ /**
2671
+ * Query params for the create operation.
2672
+ */
2673
+ create?: outputs.tokens.v1.TokensRequestOidcCreateQueryParams;
2674
+ }
2675
+ }
2676
+ }
2677
+ //# sourceMappingURL=output.d.ts.map