@distilled.cloud/fly-io 0.30.3 → 1.0.0-rc.1

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 (504) hide show
  1. package/lib/credentials.d.ts.map +1 -1
  2. package/lib/credentials.js +8 -0
  3. package/lib/credentials.js.map +1 -1
  4. package/lib/errors.d.ts +22 -4
  5. package/lib/errors.d.ts.map +1 -1
  6. package/lib/errors.js +11 -5
  7. package/lib/errors.js.map +1 -1
  8. package/lib/index.d.ts +7 -10
  9. package/lib/index.d.ts.map +1 -1
  10. package/lib/index.js +7 -10
  11. package/lib/index.js.map +1 -1
  12. package/lib/protocol.d.ts +18 -0
  13. package/lib/protocol.d.ts.map +1 -0
  14. package/lib/protocol.js +41 -0
  15. package/lib/protocol.js.map +1 -0
  16. package/lib/retry.d.ts +4 -4
  17. package/lib/retry.js +4 -4
  18. package/lib/services/index.d.ts +2 -0
  19. package/lib/services/index.d.ts.map +1 -0
  20. package/lib/services/index.js +3 -0
  21. package/lib/services/index.js.map +1 -0
  22. package/lib/services/machines.d.ts +2236 -0
  23. package/lib/services/machines.d.ts.map +1 -0
  24. package/lib/services/machines.js +2461 -0
  25. package/lib/services/machines.js.map +1 -0
  26. package/lib/traits.d.ts +8 -2
  27. package/lib/traits.d.ts.map +1 -1
  28. package/lib/traits.js +8 -2
  29. package/lib/traits.js.map +1 -1
  30. package/package.json +31 -37
  31. package/src/credentials.ts +8 -0
  32. package/src/errors.ts +24 -6
  33. package/src/index.ts +11 -10
  34. package/src/protocol.ts +61 -0
  35. package/src/retry.ts +4 -4
  36. package/src/services/index.ts +2 -0
  37. package/src/services/machines.ts +5962 -0
  38. package/src/traits.ts +42 -2
  39. package/README.md +0 -69
  40. package/lib/category.d.ts +0 -5
  41. package/lib/category.d.ts.map +0 -1
  42. package/lib/category.js +0 -5
  43. package/lib/category.js.map +0 -1
  44. package/lib/client.d.ts +0 -11
  45. package/lib/client.d.ts.map +0 -1
  46. package/lib/client.js +0 -56
  47. package/lib/client.js.map +0 -1
  48. package/lib/operations/AppCertificatesAcmeCreate.d.ts +0 -61
  49. package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +0 -1
  50. package/lib/operations/AppCertificatesAcmeCreate.js +0 -72
  51. package/lib/operations/AppCertificatesAcmeCreate.js.map +0 -1
  52. package/lib/operations/AppCertificatesAcmeDelete.d.ts +0 -62
  53. package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +0 -1
  54. package/lib/operations/AppCertificatesAcmeDelete.js +0 -76
  55. package/lib/operations/AppCertificatesAcmeDelete.js.map +0 -1
  56. package/lib/operations/AppCertificatesCheck.d.ts +0 -71
  57. package/lib/operations/AppCertificatesCheck.d.ts.map +0 -1
  58. package/lib/operations/AppCertificatesCheck.js +0 -85
  59. package/lib/operations/AppCertificatesCheck.js.map +0 -1
  60. package/lib/operations/AppCertificatesCustomCreate.d.ts +0 -64
  61. package/lib/operations/AppCertificatesCustomCreate.d.ts.map +0 -1
  62. package/lib/operations/AppCertificatesCustomCreate.js +0 -76
  63. package/lib/operations/AppCertificatesCustomCreate.js.map +0 -1
  64. package/lib/operations/AppCertificatesCustomDelete.d.ts +0 -63
  65. package/lib/operations/AppCertificatesCustomDelete.d.ts.map +0 -1
  66. package/lib/operations/AppCertificatesCustomDelete.js +0 -77
  67. package/lib/operations/AppCertificatesCustomDelete.js.map +0 -1
  68. package/lib/operations/AppCertificatesDelete.d.ts +0 -17
  69. package/lib/operations/AppCertificatesDelete.d.ts.map +0 -1
  70. package/lib/operations/AppCertificatesDelete.js +0 -27
  71. package/lib/operations/AppCertificatesDelete.js.map +0 -1
  72. package/lib/operations/AppCertificatesList.d.ts +0 -39
  73. package/lib/operations/AppCertificatesList.d.ts.map +0 -1
  74. package/lib/operations/AppCertificatesList.js +0 -46
  75. package/lib/operations/AppCertificatesList.js.map +0 -1
  76. package/lib/operations/AppCertificatesShow.d.ts +0 -62
  77. package/lib/operations/AppCertificatesShow.d.ts.map +0 -1
  78. package/lib/operations/AppCertificatesShow.js +0 -73
  79. package/lib/operations/AppCertificatesShow.js.map +0 -1
  80. package/lib/operations/AppCreateDeployToken.d.ts +0 -18
  81. package/lib/operations/AppCreateDeployToken.d.ts.map +0 -1
  82. package/lib/operations/AppCreateDeployToken.js +0 -25
  83. package/lib/operations/AppCreateDeployToken.js.map +0 -1
  84. package/lib/operations/AppIPAssignmentsCreate.d.ts +0 -26
  85. package/lib/operations/AppIPAssignmentsCreate.d.ts.map +0 -1
  86. package/lib/operations/AppIPAssignmentsCreate.js +0 -33
  87. package/lib/operations/AppIPAssignmentsCreate.js.map +0 -1
  88. package/lib/operations/AppIPAssignmentsDelete.d.ts +0 -17
  89. package/lib/operations/AppIPAssignmentsDelete.d.ts.map +0 -1
  90. package/lib/operations/AppIPAssignmentsDelete.js +0 -24
  91. package/lib/operations/AppIPAssignmentsDelete.js.map +0 -1
  92. package/lib/operations/AppIPAssignmentsList.d.ts +0 -23
  93. package/lib/operations/AppIPAssignmentsList.d.ts.map +0 -1
  94. package/lib/operations/AppIPAssignmentsList.js +0 -30
  95. package/lib/operations/AppIPAssignmentsList.js.map +0 -1
  96. package/lib/operations/App_CertificatesAcmeCreate.d.ts +0 -104
  97. package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +0 -1
  98. package/lib/operations/App_CertificatesAcmeCreate.js +0 -69
  99. package/lib/operations/App_CertificatesAcmeCreate.js.map +0 -1
  100. package/lib/operations/App_CertificatesAcmeDelete.d.ts +0 -100
  101. package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +0 -1
  102. package/lib/operations/App_CertificatesAcmeDelete.js +0 -70
  103. package/lib/operations/App_CertificatesAcmeDelete.js.map +0 -1
  104. package/lib/operations/App_CertificatesCheck.d.ts +0 -118
  105. package/lib/operations/App_CertificatesCheck.d.ts.map +0 -1
  106. package/lib/operations/App_CertificatesCheck.js +0 -79
  107. package/lib/operations/App_CertificatesCheck.js.map +0 -1
  108. package/lib/operations/App_CertificatesCustomCreate.d.ts +0 -108
  109. package/lib/operations/App_CertificatesCustomCreate.d.ts.map +0 -1
  110. package/lib/operations/App_CertificatesCustomCreate.js +0 -72
  111. package/lib/operations/App_CertificatesCustomCreate.js.map +0 -1
  112. package/lib/operations/App_CertificatesCustomDelete.d.ts +0 -102
  113. package/lib/operations/App_CertificatesCustomDelete.d.ts.map +0 -1
  114. package/lib/operations/App_CertificatesCustomDelete.js +0 -72
  115. package/lib/operations/App_CertificatesCustomDelete.js.map +0 -1
  116. package/lib/operations/App_CertificatesDelete.d.ts +0 -10
  117. package/lib/operations/App_CertificatesDelete.d.ts.map +0 -1
  118. package/lib/operations/App_CertificatesDelete.js +0 -20
  119. package/lib/operations/App_CertificatesDelete.js.map +0 -1
  120. package/lib/operations/App_CertificatesList.d.ts +0 -58
  121. package/lib/operations/App_CertificatesList.d.ts.map +0 -1
  122. package/lib/operations/App_CertificatesList.js +0 -44
  123. package/lib/operations/App_CertificatesList.js.map +0 -1
  124. package/lib/operations/App_CertificatesShow.d.ts +0 -100
  125. package/lib/operations/App_CertificatesShow.d.ts.map +0 -1
  126. package/lib/operations/App_CertificatesShow.js +0 -67
  127. package/lib/operations/App_CertificatesShow.js.map +0 -1
  128. package/lib/operations/App_IPAssignmentsCreate.d.ts +0 -34
  129. package/lib/operations/App_IPAssignmentsCreate.d.ts.map +0 -1
  130. package/lib/operations/App_IPAssignmentsCreate.js +0 -30
  131. package/lib/operations/App_IPAssignmentsCreate.js.map +0 -1
  132. package/lib/operations/App_IPAssignmentsDelete.d.ts +0 -10
  133. package/lib/operations/App_IPAssignmentsDelete.d.ts.map +0 -1
  134. package/lib/operations/App_IPAssignmentsDelete.js +0 -17
  135. package/lib/operations/App_IPAssignmentsDelete.js.map +0 -1
  136. package/lib/operations/App_IPAssignmentsList.d.ts +0 -26
  137. package/lib/operations/App_IPAssignmentsList.d.ts.map +0 -1
  138. package/lib/operations/App_IPAssignmentsList.js +0 -26
  139. package/lib/operations/App_IPAssignmentsList.js.map +0 -1
  140. package/lib/operations/AppsCreate.d.ts +0 -18
  141. package/lib/operations/AppsCreate.d.ts.map +0 -1
  142. package/lib/operations/AppsCreate.js +0 -24
  143. package/lib/operations/AppsCreate.js.map +0 -1
  144. package/lib/operations/AppsDelete.d.ts +0 -17
  145. package/lib/operations/AppsDelete.d.ts.map +0 -1
  146. package/lib/operations/AppsDelete.js +0 -23
  147. package/lib/operations/AppsDelete.js.map +0 -1
  148. package/lib/operations/AppsList.d.ts +0 -35
  149. package/lib/operations/AppsList.d.ts.map +0 -1
  150. package/lib/operations/AppsList.js +0 -40
  151. package/lib/operations/AppsList.js.map +0 -1
  152. package/lib/operations/AppsShow.d.ts +0 -30
  153. package/lib/operations/AppsShow.d.ts.map +0 -1
  154. package/lib/operations/AppsShow.js +0 -35
  155. package/lib/operations/AppsShow.js.map +0 -1
  156. package/lib/operations/CurrentTokenShow.d.ts +0 -23
  157. package/lib/operations/CurrentTokenShow.d.ts.map +0 -1
  158. package/lib/operations/CurrentTokenShow.js +0 -26
  159. package/lib/operations/CurrentTokenShow.js.map +0 -1
  160. package/lib/operations/MachinesCordon.d.ts +0 -19
  161. package/lib/operations/MachinesCordon.d.ts.map +0 -1
  162. package/lib/operations/MachinesCordon.js +0 -28
  163. package/lib/operations/MachinesCordon.js.map +0 -1
  164. package/lib/operations/MachinesCreate.d.ts +0 -810
  165. package/lib/operations/MachinesCreate.d.ts.map +0 -1
  166. package/lib/operations/MachinesCreate.js +0 -917
  167. package/lib/operations/MachinesCreate.js.map +0 -1
  168. package/lib/operations/MachinesCreateLease.d.ts +0 -28
  169. package/lib/operations/MachinesCreateLease.d.ts.map +0 -1
  170. package/lib/operations/MachinesCreateLease.js +0 -38
  171. package/lib/operations/MachinesCreateLease.js.map +0 -1
  172. package/lib/operations/MachinesDelete.d.ts +0 -21
  173. package/lib/operations/MachinesDelete.d.ts.map +0 -1
  174. package/lib/operations/MachinesDelete.js +0 -27
  175. package/lib/operations/MachinesDelete.js.map +0 -1
  176. package/lib/operations/MachinesDeleteMetadata.d.ts +0 -21
  177. package/lib/operations/MachinesDeleteMetadata.d.ts.map +0 -1
  178. package/lib/operations/MachinesDeleteMetadata.js +0 -31
  179. package/lib/operations/MachinesDeleteMetadata.js.map +0 -1
  180. package/lib/operations/MachinesExec.d.ts +0 -29
  181. package/lib/operations/MachinesExec.d.ts.map +0 -1
  182. package/lib/operations/MachinesExec.js +0 -37
  183. package/lib/operations/MachinesExec.js.map +0 -1
  184. package/lib/operations/MachinesGetMemory.d.ts +0 -22
  185. package/lib/operations/MachinesGetMemory.d.ts.map +0 -1
  186. package/lib/operations/MachinesGetMemory.js +0 -31
  187. package/lib/operations/MachinesGetMemory.js.map +0 -1
  188. package/lib/operations/MachinesGetMetadataKey.d.ts +0 -23
  189. package/lib/operations/MachinesGetMetadataKey.d.ts.map +0 -1
  190. package/lib/operations/MachinesGetMetadataKey.js +0 -33
  191. package/lib/operations/MachinesGetMetadataKey.js.map +0 -1
  192. package/lib/operations/MachinesList.d.ts +0 -559
  193. package/lib/operations/MachinesList.d.ts.map +0 -1
  194. package/lib/operations/MachinesList.js +0 -642
  195. package/lib/operations/MachinesList.js.map +0 -1
  196. package/lib/operations/MachinesListEvents.d.ts +0 -28
  197. package/lib/operations/MachinesListEvents.d.ts.map +0 -1
  198. package/lib/operations/MachinesListEvents.js +0 -38
  199. package/lib/operations/MachinesListEvents.js.map +0 -1
  200. package/lib/operations/MachinesListProcesses.d.ts +0 -35
  201. package/lib/operations/MachinesListProcesses.d.ts.map +0 -1
  202. package/lib/operations/MachinesListProcesses.js +0 -45
  203. package/lib/operations/MachinesListProcesses.js.map +0 -1
  204. package/lib/operations/MachinesListVersions.d.ts +0 -272
  205. package/lib/operations/MachinesListVersions.d.ts.map +0 -1
  206. package/lib/operations/MachinesListVersions.js +0 -321
  207. package/lib/operations/MachinesListVersions.js.map +0 -1
  208. package/lib/operations/MachinesOrgList.d.ts +0 -63
  209. package/lib/operations/MachinesOrgList.d.ts.map +0 -1
  210. package/lib/operations/MachinesOrgList.js +0 -68
  211. package/lib/operations/MachinesOrgList.js.map +0 -1
  212. package/lib/operations/MachinesPatchMetadata.d.ts +0 -23
  213. package/lib/operations/MachinesPatchMetadata.d.ts.map +0 -1
  214. package/lib/operations/MachinesPatchMetadata.js +0 -31
  215. package/lib/operations/MachinesPatchMetadata.js.map +0 -1
  216. package/lib/operations/MachinesReclaimMemory.d.ts +0 -22
  217. package/lib/operations/MachinesReclaimMemory.d.ts.map +0 -1
  218. package/lib/operations/MachinesReclaimMemory.js +0 -32
  219. package/lib/operations/MachinesReclaimMemory.js.map +0 -1
  220. package/lib/operations/MachinesReleaseLease.d.ts +0 -20
  221. package/lib/operations/MachinesReleaseLease.d.ts.map +0 -1
  222. package/lib/operations/MachinesReleaseLease.js +0 -30
  223. package/lib/operations/MachinesReleaseLease.js.map +0 -1
  224. package/lib/operations/MachinesRestart.d.ts +0 -23
  225. package/lib/operations/MachinesRestart.d.ts.map +0 -1
  226. package/lib/operations/MachinesRestart.js +0 -40
  227. package/lib/operations/MachinesRestart.js.map +0 -1
  228. package/lib/operations/MachinesSetMemoryLimit.d.ts +0 -23
  229. package/lib/operations/MachinesSetMemoryLimit.d.ts.map +0 -1
  230. package/lib/operations/MachinesSetMemoryLimit.js +0 -33
  231. package/lib/operations/MachinesSetMemoryLimit.js.map +0 -1
  232. package/lib/operations/MachinesShow.d.ts +0 -553
  233. package/lib/operations/MachinesShow.d.ts.map +0 -1
  234. package/lib/operations/MachinesShow.js +0 -626
  235. package/lib/operations/MachinesShow.js.map +0 -1
  236. package/lib/operations/MachinesShowLease.d.ts +0 -25
  237. package/lib/operations/MachinesShowLease.d.ts.map +0 -1
  238. package/lib/operations/MachinesShowLease.js +0 -34
  239. package/lib/operations/MachinesShowLease.js.map +0 -1
  240. package/lib/operations/MachinesShowMetadata.d.ts +0 -19
  241. package/lib/operations/MachinesShowMetadata.d.ts.map +0 -1
  242. package/lib/operations/MachinesShowMetadata.js +0 -29
  243. package/lib/operations/MachinesShowMetadata.js.map +0 -1
  244. package/lib/operations/MachinesSignal.d.ts +0 -20
  245. package/lib/operations/MachinesSignal.d.ts.map +0 -1
  246. package/lib/operations/MachinesSignal.js +0 -44
  247. package/lib/operations/MachinesSignal.js.map +0 -1
  248. package/lib/operations/MachinesStart.d.ts +0 -19
  249. package/lib/operations/MachinesStart.d.ts.map +0 -1
  250. package/lib/operations/MachinesStart.js +0 -28
  251. package/lib/operations/MachinesStart.js.map +0 -1
  252. package/lib/operations/MachinesStop.d.ts +0 -21
  253. package/lib/operations/MachinesStop.d.ts.map +0 -1
  254. package/lib/operations/MachinesStop.js +0 -38
  255. package/lib/operations/MachinesStop.js.map +0 -1
  256. package/lib/operations/MachinesSuspend.d.ts +0 -19
  257. package/lib/operations/MachinesSuspend.d.ts.map +0 -1
  258. package/lib/operations/MachinesSuspend.js +0 -28
  259. package/lib/operations/MachinesSuspend.js.map +0 -1
  260. package/lib/operations/MachinesUncordon.d.ts +0 -19
  261. package/lib/operations/MachinesUncordon.d.ts.map +0 -1
  262. package/lib/operations/MachinesUncordon.js +0 -28
  263. package/lib/operations/MachinesUncordon.js.map +0 -1
  264. package/lib/operations/MachinesUpdate.d.ts +0 -812
  265. package/lib/operations/MachinesUpdate.d.ts.map +0 -1
  266. package/lib/operations/MachinesUpdate.js +0 -919
  267. package/lib/operations/MachinesUpdate.js.map +0 -1
  268. package/lib/operations/MachinesUpdateMetadata.d.ts +0 -23
  269. package/lib/operations/MachinesUpdateMetadata.d.ts.map +0 -1
  270. package/lib/operations/MachinesUpdateMetadata.js +0 -33
  271. package/lib/operations/MachinesUpdateMetadata.js.map +0 -1
  272. package/lib/operations/MachinesUpsertMetadata.d.ts +0 -23
  273. package/lib/operations/MachinesUpsertMetadata.d.ts.map +0 -1
  274. package/lib/operations/MachinesUpsertMetadata.js +0 -33
  275. package/lib/operations/MachinesUpsertMetadata.js.map +0 -1
  276. package/lib/operations/MachinesWait.d.ts +0 -35
  277. package/lib/operations/MachinesWait.d.ts.map +0 -1
  278. package/lib/operations/MachinesWait.js +0 -50
  279. package/lib/operations/MachinesWait.js.map +0 -1
  280. package/lib/operations/PlatformPlacementsPost.d.ts +0 -37
  281. package/lib/operations/PlatformPlacementsPost.d.ts.map +0 -1
  282. package/lib/operations/PlatformPlacementsPost.js +0 -44
  283. package/lib/operations/PlatformPlacementsPost.js.map +0 -1
  284. package/lib/operations/PlatformRegionsGet.d.ts +0 -26
  285. package/lib/operations/PlatformRegionsGet.d.ts.map +0 -1
  286. package/lib/operations/PlatformRegionsGet.js +0 -32
  287. package/lib/operations/PlatformRegionsGet.js.map +0 -1
  288. package/lib/operations/SecretCreate.d.ts +0 -26
  289. package/lib/operations/SecretCreate.d.ts.map +0 -1
  290. package/lib/operations/SecretCreate.js +0 -31
  291. package/lib/operations/SecretCreate.js.map +0 -1
  292. package/lib/operations/SecretDelete.d.ts +0 -20
  293. package/lib/operations/SecretDelete.d.ts.map +0 -1
  294. package/lib/operations/SecretDelete.js +0 -25
  295. package/lib/operations/SecretDelete.js.map +0 -1
  296. package/lib/operations/SecretGet.d.ts +0 -27
  297. package/lib/operations/SecretGet.d.ts.map +0 -1
  298. package/lib/operations/SecretGet.js +0 -32
  299. package/lib/operations/SecretGet.js.map +0 -1
  300. package/lib/operations/SecretkeyDecrypt.d.ts +0 -23
  301. package/lib/operations/SecretkeyDecrypt.d.ts.map +0 -1
  302. package/lib/operations/SecretkeyDecrypt.js +0 -31
  303. package/lib/operations/SecretkeyDecrypt.js.map +0 -1
  304. package/lib/operations/SecretkeyDelete.d.ts +0 -20
  305. package/lib/operations/SecretkeyDelete.d.ts.map +0 -1
  306. package/lib/operations/SecretkeyDelete.js +0 -28
  307. package/lib/operations/SecretkeyDelete.js.map +0 -1
  308. package/lib/operations/SecretkeyEncrypt.d.ts +0 -23
  309. package/lib/operations/SecretkeyEncrypt.d.ts.map +0 -1
  310. package/lib/operations/SecretkeyEncrypt.js +0 -31
  311. package/lib/operations/SecretkeyEncrypt.js.map +0 -1
  312. package/lib/operations/SecretkeyGenerate.d.ts +0 -27
  313. package/lib/operations/SecretkeyGenerate.d.ts.map +0 -1
  314. package/lib/operations/SecretkeyGenerate.js +0 -36
  315. package/lib/operations/SecretkeyGenerate.js.map +0 -1
  316. package/lib/operations/SecretkeyGet.d.ts +0 -25
  317. package/lib/operations/SecretkeyGet.d.ts.map +0 -1
  318. package/lib/operations/SecretkeyGet.js +0 -30
  319. package/lib/operations/SecretkeyGet.js.map +0 -1
  320. package/lib/operations/SecretkeySet.d.ts +0 -27
  321. package/lib/operations/SecretkeySet.d.ts.map +0 -1
  322. package/lib/operations/SecretkeySet.js +0 -32
  323. package/lib/operations/SecretkeySet.js.map +0 -1
  324. package/lib/operations/SecretkeySign.d.ts +0 -22
  325. package/lib/operations/SecretkeySign.d.ts.map +0 -1
  326. package/lib/operations/SecretkeySign.js +0 -30
  327. package/lib/operations/SecretkeySign.js.map +0 -1
  328. package/lib/operations/SecretkeyVerify.d.ts +0 -21
  329. package/lib/operations/SecretkeyVerify.d.ts.map +0 -1
  330. package/lib/operations/SecretkeyVerify.js +0 -30
  331. package/lib/operations/SecretkeyVerify.js.map +0 -1
  332. package/lib/operations/SecretkeysList.d.ts +0 -27
  333. package/lib/operations/SecretkeysList.d.ts.map +0 -1
  334. package/lib/operations/SecretkeysList.js +0 -32
  335. package/lib/operations/SecretkeysList.js.map +0 -1
  336. package/lib/operations/SecretsList.d.ts +0 -27
  337. package/lib/operations/SecretsList.d.ts.map +0 -1
  338. package/lib/operations/SecretsList.js +0 -32
  339. package/lib/operations/SecretsList.js.map +0 -1
  340. package/lib/operations/SecretsUpdate.d.ts +0 -26
  341. package/lib/operations/SecretsUpdate.d.ts.map +0 -1
  342. package/lib/operations/SecretsUpdate.js +0 -31
  343. package/lib/operations/SecretsUpdate.js.map +0 -1
  344. package/lib/operations/TokensAuthenticate.d.ts +0 -26
  345. package/lib/operations/TokensAuthenticate.d.ts.map +0 -1
  346. package/lib/operations/TokensAuthenticate.js +0 -33
  347. package/lib/operations/TokensAuthenticate.js.map +0 -1
  348. package/lib/operations/TokensAuthorize.d.ts +0 -59
  349. package/lib/operations/TokensAuthorize.d.ts.map +0 -1
  350. package/lib/operations/TokensAuthorize.js +0 -64
  351. package/lib/operations/TokensAuthorize.js.map +0 -1
  352. package/lib/operations/TokensRequestKms.d.ts +0 -14
  353. package/lib/operations/TokensRequestKms.d.ts.map +0 -1
  354. package/lib/operations/TokensRequestKms.js +0 -19
  355. package/lib/operations/TokensRequestKms.js.map +0 -1
  356. package/lib/operations/TokensRequestOIDC.d.ts +0 -16
  357. package/lib/operations/TokensRequestOIDC.d.ts.map +0 -1
  358. package/lib/operations/TokensRequestOIDC.js +0 -22
  359. package/lib/operations/TokensRequestOIDC.js.map +0 -1
  360. package/lib/operations/TokensRequest_Kms.d.ts +0 -12
  361. package/lib/operations/TokensRequest_Kms.d.ts.map +0 -1
  362. package/lib/operations/TokensRequest_Kms.js +0 -18
  363. package/lib/operations/TokensRequest_Kms.js.map +0 -1
  364. package/lib/operations/TokensRequest_OIDC.d.ts +0 -18
  365. package/lib/operations/TokensRequest_OIDC.d.ts.map +0 -1
  366. package/lib/operations/TokensRequest_OIDC.js +0 -22
  367. package/lib/operations/TokensRequest_OIDC.js.map +0 -1
  368. package/lib/operations/VolumeDelete.d.ts +0 -41
  369. package/lib/operations/VolumeDelete.d.ts.map +0 -1
  370. package/lib/operations/VolumeDelete.js +0 -46
  371. package/lib/operations/VolumeDelete.js.map +0 -1
  372. package/lib/operations/VolumesCreate.d.ts +0 -62
  373. package/lib/operations/VolumesCreate.d.ts.map +0 -1
  374. package/lib/operations/VolumesCreate.js +0 -67
  375. package/lib/operations/VolumesCreate.js.map +0 -1
  376. package/lib/operations/VolumesExtend.d.ts +0 -45
  377. package/lib/operations/VolumesExtend.d.ts.map +0 -1
  378. package/lib/operations/VolumesExtend.js +0 -53
  379. package/lib/operations/VolumesExtend.js.map +0 -1
  380. package/lib/operations/VolumesGetById.d.ts +0 -41
  381. package/lib/operations/VolumesGetById.d.ts.map +0 -1
  382. package/lib/operations/VolumesGetById.js +0 -46
  383. package/lib/operations/VolumesGetById.js.map +0 -1
  384. package/lib/operations/VolumesList.d.ts +0 -41
  385. package/lib/operations/VolumesList.d.ts.map +0 -1
  386. package/lib/operations/VolumesList.js +0 -46
  387. package/lib/operations/VolumesList.js.map +0 -1
  388. package/lib/operations/VolumesListSnapshots.d.ts +0 -27
  389. package/lib/operations/VolumesListSnapshots.d.ts.map +0 -1
  390. package/lib/operations/VolumesListSnapshots.js +0 -37
  391. package/lib/operations/VolumesListSnapshots.js.map +0 -1
  392. package/lib/operations/VolumesOrgList.d.ts +0 -59
  393. package/lib/operations/VolumesOrgList.d.ts.map +0 -1
  394. package/lib/operations/VolumesOrgList.js +0 -63
  395. package/lib/operations/VolumesOrgList.js.map +0 -1
  396. package/lib/operations/VolumesUpdate.d.ts +0 -43
  397. package/lib/operations/VolumesUpdate.d.ts.map +0 -1
  398. package/lib/operations/VolumesUpdate.js +0 -48
  399. package/lib/operations/VolumesUpdate.js.map +0 -1
  400. package/lib/operations/createVolumeSnapshot.d.ts +0 -19
  401. package/lib/operations/createVolumeSnapshot.d.ts.map +0 -1
  402. package/lib/operations/createVolumeSnapshot.js +0 -29
  403. package/lib/operations/createVolumeSnapshot.js.map +0 -1
  404. package/lib/operations/index.d.ts +0 -77
  405. package/lib/operations/index.d.ts.map +0 -1
  406. package/lib/operations/index.js +0 -77
  407. package/lib/operations/index.js.map +0 -1
  408. package/lib/sensitive.d.ts +0 -5
  409. package/lib/sensitive.d.ts.map +0 -1
  410. package/lib/sensitive.js +0 -5
  411. package/lib/sensitive.js.map +0 -1
  412. package/src/category.ts +0 -4
  413. package/src/client.ts +0 -71
  414. package/src/operations/AppCertificatesAcmeCreate.ts +0 -148
  415. package/src/operations/AppCertificatesAcmeDelete.ts +0 -147
  416. package/src/operations/AppCertificatesCheck.ts +0 -167
  417. package/src/operations/AppCertificatesCustomCreate.ts +0 -154
  418. package/src/operations/AppCertificatesCustomDelete.ts +0 -149
  419. package/src/operations/AppCertificatesDelete.ts +0 -38
  420. package/src/operations/AppCertificatesList.ts +0 -81
  421. package/src/operations/AppCertificatesShow.ts +0 -144
  422. package/src/operations/AppCreateDeployToken.ts +0 -38
  423. package/src/operations/AppIPAssignmentsCreate.ts +0 -54
  424. package/src/operations/AppIPAssignmentsDelete.ts +0 -35
  425. package/src/operations/AppIPAssignmentsList.ts +0 -52
  426. package/src/operations/App_CertificatesAcmeCreate.ts +0 -99
  427. package/src/operations/App_CertificatesAcmeDelete.ts +0 -100
  428. package/src/operations/App_CertificatesCheck.ts +0 -110
  429. package/src/operations/App_CertificatesCustomCreate.ts +0 -102
  430. package/src/operations/App_CertificatesCustomDelete.ts +0 -102
  431. package/src/operations/App_CertificatesDelete.ts +0 -28
  432. package/src/operations/App_CertificatesList.ts +0 -52
  433. package/src/operations/App_CertificatesShow.ts +0 -95
  434. package/src/operations/App_IPAssignmentsCreate.ts +0 -36
  435. package/src/operations/App_IPAssignmentsDelete.ts +0 -25
  436. package/src/operations/App_IPAssignmentsList.ts +0 -37
  437. package/src/operations/AppsCreate.ts +0 -37
  438. package/src/operations/AppsDelete.ts +0 -33
  439. package/src/operations/AppsList.ts +0 -73
  440. package/src/operations/AppsShow.ts +0 -56
  441. package/src/operations/CurrentTokenShow.ts +0 -48
  442. package/src/operations/MachinesCordon.ts +0 -39
  443. package/src/operations/MachinesCreate.ts +0 -2166
  444. package/src/operations/MachinesCreateLease.ts +0 -57
  445. package/src/operations/MachinesDelete.ts +0 -39
  446. package/src/operations/MachinesDeleteMetadata.ts +0 -43
  447. package/src/operations/MachinesExec.ts +0 -58
  448. package/src/operations/MachinesGetMemory.ts +0 -45
  449. package/src/operations/MachinesGetMetadataKey.ts +0 -47
  450. package/src/operations/MachinesList.ts +0 -1494
  451. package/src/operations/MachinesListEvents.ts +0 -59
  452. package/src/operations/MachinesListProcesses.ts +0 -73
  453. package/src/operations/MachinesListVersions.ts +0 -742
  454. package/src/operations/MachinesOrgList.ts +0 -128
  455. package/src/operations/MachinesPatchMetadata.ts +0 -38
  456. package/src/operations/MachinesReclaimMemory.ts +0 -46
  457. package/src/operations/MachinesReleaseLease.ts +0 -41
  458. package/src/operations/MachinesRestart.ts +0 -62
  459. package/src/operations/MachinesSetMemoryLimit.ts +0 -48
  460. package/src/operations/MachinesShow.ts +0 -1473
  461. package/src/operations/MachinesShowLease.ts +0 -51
  462. package/src/operations/MachinesShowMetadata.ts +0 -43
  463. package/src/operations/MachinesSignal.ts +0 -72
  464. package/src/operations/MachinesStart.ts +0 -39
  465. package/src/operations/MachinesStop.ts +0 -60
  466. package/src/operations/MachinesSuspend.ts +0 -39
  467. package/src/operations/MachinesUncordon.ts +0 -39
  468. package/src/operations/MachinesUpdate.ts +0 -2170
  469. package/src/operations/MachinesUpdateMetadata.ts +0 -47
  470. package/src/operations/MachinesUpsertMetadata.ts +0 -47
  471. package/src/operations/MachinesWait.ts +0 -79
  472. package/src/operations/PlatformPlacementsPost.ts +0 -80
  473. package/src/operations/PlatformRegionsGet.ts +0 -56
  474. package/src/operations/SecretCreate.ts +0 -51
  475. package/src/operations/SecretDelete.ts +0 -39
  476. package/src/operations/SecretGet.ts +0 -51
  477. package/src/operations/SecretkeyDecrypt.ts +0 -47
  478. package/src/operations/SecretkeyDelete.ts +0 -42
  479. package/src/operations/SecretkeyEncrypt.ts +0 -47
  480. package/src/operations/SecretkeyGenerate.ts +0 -57
  481. package/src/operations/SecretkeyGet.ts +0 -48
  482. package/src/operations/SecretkeySet.ts +0 -53
  483. package/src/operations/SecretkeySign.ts +0 -45
  484. package/src/operations/SecretkeyVerify.ts +0 -44
  485. package/src/operations/SecretkeysList.ts +0 -56
  486. package/src/operations/SecretsList.ts +0 -56
  487. package/src/operations/SecretsUpdate.ts +0 -56
  488. package/src/operations/TokensAuthenticate.ts +0 -54
  489. package/src/operations/TokensAuthorize.ts +0 -122
  490. package/src/operations/TokensRequestKms.ts +0 -27
  491. package/src/operations/TokensRequestOIDC.ts +0 -33
  492. package/src/operations/TokensRequest_Kms.ts +0 -24
  493. package/src/operations/TokensRequest_OIDC.ts +0 -26
  494. package/src/operations/VolumeDelete.ts +0 -81
  495. package/src/operations/VolumesCreate.ts +0 -128
  496. package/src/operations/VolumesExtend.ts +0 -94
  497. package/src/operations/VolumesGetById.ts +0 -81
  498. package/src/operations/VolumesList.ts +0 -83
  499. package/src/operations/VolumesListSnapshots.ts +0 -58
  500. package/src/operations/VolumesOrgList.ts +0 -115
  501. package/src/operations/VolumesUpdate.ts +0 -85
  502. package/src/operations/createVolumeSnapshot.ts +0 -40
  503. package/src/operations/index.ts +0 -76
  504. package/src/sensitive.ts +0 -4
@@ -1,810 +0,0 @@
1
- import * as Schema from "effect/Schema";
2
- import { BadRequest, Forbidden, NotFound } from "../errors.ts";
3
- export interface MachinesCreateInput {
4
- app_name: string;
5
- config?: {
6
- auto_destroy?: boolean;
7
- cache_drive?: {
8
- size_mb?: number;
9
- };
10
- checks?: Record<string, {
11
- grace_period?: string;
12
- headers?: {
13
- name?: string;
14
- values?: string[];
15
- }[];
16
- interval?: string;
17
- kind?: "informational" | "readiness";
18
- method?: string;
19
- path?: string;
20
- port?: number;
21
- protocol?: string;
22
- timeout?: string;
23
- tls_server_name?: string;
24
- tls_skip_verify?: boolean;
25
- type?: string;
26
- }>;
27
- containers?: {
28
- cmd?: string[];
29
- depends_on?: {
30
- condition?: "exited_successfully" | "healthy" | "started";
31
- name?: string;
32
- }[];
33
- entrypoint?: string[];
34
- env?: Record<string, string>;
35
- env_from?: {
36
- env_var?: string;
37
- field_ref?: "id" | "version" | "app_name" | "private_ip" | "region" | "image";
38
- }[];
39
- exec?: string[];
40
- files?: {
41
- guest_path?: string;
42
- image_config?: string;
43
- mode?: number;
44
- raw_value?: string;
45
- secret_name?: string;
46
- }[];
47
- healthchecks?: {
48
- exec?: {
49
- command?: string[];
50
- };
51
- failure_threshold?: number;
52
- grace_period?: number;
53
- http?: {
54
- headers?: {
55
- name?: string;
56
- values?: string[];
57
- }[];
58
- method?: string;
59
- path?: string;
60
- port?: number;
61
- scheme?: "http" | "https";
62
- tls_server_name?: string;
63
- tls_skip_verify?: boolean;
64
- };
65
- interval?: number;
66
- kind?: "readiness" | "liveness";
67
- name?: string;
68
- success_threshold?: number;
69
- tcp?: {
70
- port?: number;
71
- };
72
- timeout?: number;
73
- unhealthy?: "stop";
74
- }[];
75
- image?: string;
76
- name?: string;
77
- restart?: {
78
- gpu_bid_price?: number;
79
- max_retries?: number;
80
- policy?: "no" | "always" | "on-failure" | "spot-price";
81
- };
82
- secrets?: {
83
- env_var?: string;
84
- name?: string;
85
- }[];
86
- stop?: {
87
- signal?: "SIGHUP" | "SIGINT" | "SIGQUIT" | "SIGKILL" | "SIGUSR1" | "SIGUSR2" | "SIGTERM";
88
- timeout?: string;
89
- };
90
- user?: string;
91
- }[];
92
- disable_machine_autostart?: boolean;
93
- dns?: {
94
- dns_forward_rules?: {
95
- addr?: string;
96
- basename?: string;
97
- }[];
98
- hostname?: string;
99
- hostname_fqdn?: string;
100
- nameservers?: string[];
101
- options?: {
102
- name?: string;
103
- value?: string;
104
- }[];
105
- searches?: string[];
106
- skip_registration?: boolean;
107
- };
108
- env?: Record<string, string>;
109
- files?: {
110
- guest_path?: string;
111
- image_config?: string;
112
- mode?: number;
113
- raw_value?: string;
114
- secret_name?: string;
115
- }[];
116
- guest?: {
117
- cpu_kind?: string;
118
- cpus?: number;
119
- gpu_kind?: string;
120
- gpus?: number;
121
- host_dedication_id?: string;
122
- kernel_args?: string[];
123
- max_memory_mb?: number;
124
- memory_mb?: number;
125
- persist_rootfs?: "never" | "always" | "restart";
126
- };
127
- image?: string;
128
- init?: {
129
- cmd?: string[];
130
- entrypoint?: string[];
131
- exec?: string[];
132
- kernel_args?: string[];
133
- swap_size_mb?: number;
134
- tty?: boolean;
135
- };
136
- metadata?: Record<string, string>;
137
- metrics?: {
138
- https?: boolean;
139
- path?: string;
140
- port?: number;
141
- };
142
- mounts?: {
143
- add_size_gb?: number;
144
- encrypted?: boolean;
145
- extend_threshold_percent?: number;
146
- name?: string;
147
- path?: string;
148
- size_gb?: number;
149
- size_gb_limit?: number;
150
- volume?: string;
151
- }[];
152
- processes?: {
153
- cmd?: string[];
154
- entrypoint?: string[];
155
- env?: Record<string, string>;
156
- env_from?: {
157
- env_var?: string;
158
- field_ref?: "id" | "version" | "app_name" | "private_ip" | "region" | "image";
159
- }[];
160
- exec?: string[];
161
- ignore_app_secrets?: boolean;
162
- secrets?: {
163
- env_var?: string;
164
- name?: string;
165
- }[];
166
- user?: string;
167
- }[];
168
- restart?: {
169
- gpu_bid_price?: number;
170
- max_retries?: number;
171
- policy?: "no" | "always" | "on-failure" | "spot-price";
172
- };
173
- rootfs?: {
174
- persist?: "never" | "always" | "restart";
175
- size_gb?: number;
176
- };
177
- schedule?: string;
178
- services?: {
179
- autostart?: boolean;
180
- autostop?: "off" | "stop" | "suspend";
181
- checks?: {
182
- grace_period?: string;
183
- headers?: {
184
- name?: string;
185
- values?: string[];
186
- }[];
187
- interval?: string;
188
- method?: string;
189
- path?: string;
190
- port?: number;
191
- protocol?: string;
192
- timeout?: string;
193
- tls_server_name?: string;
194
- tls_skip_verify?: boolean;
195
- type?: string;
196
- }[];
197
- concurrency?: {
198
- hard_limit?: number;
199
- soft_limit?: number;
200
- type?: string;
201
- };
202
- force_instance_description?: string;
203
- force_instance_key?: string;
204
- internal_port?: number;
205
- min_machines_running?: number;
206
- ports?: {
207
- end_port?: number;
208
- force_https?: boolean;
209
- handlers?: string[];
210
- http_options?: {
211
- compress?: boolean;
212
- h2_backend?: boolean;
213
- headers_read_timeout?: number;
214
- idle_timeout?: number;
215
- replay_cache?: {
216
- allow_bypass?: boolean;
217
- name?: string;
218
- path_prefix?: string;
219
- ttl_seconds?: number;
220
- type?: "cookie" | "header";
221
- }[];
222
- response?: {
223
- headers?: Record<string, unknown>;
224
- pristine?: boolean;
225
- };
226
- };
227
- port?: number;
228
- proxy_proto_options?: {
229
- version?: string;
230
- };
231
- start_port?: number;
232
- tls_options?: {
233
- alpn?: string[];
234
- default_self_signed?: boolean;
235
- versions?: string[];
236
- };
237
- }[];
238
- protocol?: string;
239
- }[];
240
- size?: string;
241
- spot?: {
242
- max_price_fraction?: number;
243
- };
244
- standbys?: string[];
245
- statics?: {
246
- guest_path: string;
247
- index_document?: string;
248
- tigris_bucket?: string;
249
- url_prefix: string;
250
- }[];
251
- stop_config?: {
252
- signal?: "SIGHUP" | "SIGINT" | "SIGQUIT" | "SIGKILL" | "SIGUSR1" | "SIGUSR2" | "SIGTERM";
253
- timeout?: string;
254
- };
255
- };
256
- lease_ttl?: number;
257
- min_secrets_version?: number;
258
- name?: string;
259
- region?: string;
260
- skip_launch?: boolean;
261
- skip_secrets?: boolean;
262
- skip_service_registration?: boolean;
263
- }
264
- export declare const MachinesCreateInput: Schema.Codec<MachinesCreateInput>;
265
- export interface MachinesCreateOutput {
266
- checks?: {
267
- name?: string;
268
- output?: string;
269
- status?: string;
270
- updated_at?: string;
271
- }[];
272
- config?: {
273
- auto_destroy?: boolean;
274
- cache_drive?: {
275
- size_mb?: number;
276
- };
277
- checks?: Record<string, {
278
- grace_period?: string;
279
- headers?: {
280
- name?: string;
281
- values?: string[];
282
- }[];
283
- interval?: string;
284
- kind?: "informational" | "readiness";
285
- method?: string;
286
- path?: string;
287
- port?: number;
288
- protocol?: string;
289
- timeout?: string;
290
- tls_server_name?: string;
291
- tls_skip_verify?: boolean;
292
- type?: string;
293
- }>;
294
- containers?: {
295
- cmd?: string[];
296
- depends_on?: {
297
- condition?: "exited_successfully" | "healthy" | "started";
298
- name?: string;
299
- }[];
300
- entrypoint?: string[];
301
- env?: Record<string, string>;
302
- env_from?: {
303
- env_var?: string;
304
- field_ref?: "id" | "version" | "app_name" | "private_ip" | "region" | "image";
305
- }[];
306
- exec?: string[];
307
- files?: {
308
- guest_path?: string;
309
- image_config?: string;
310
- mode?: number;
311
- raw_value?: string;
312
- secret_name?: string;
313
- }[];
314
- healthchecks?: {
315
- exec?: {
316
- command?: string[];
317
- };
318
- failure_threshold?: number;
319
- grace_period?: number;
320
- http?: {
321
- headers?: {
322
- name?: string;
323
- values?: string[];
324
- }[];
325
- method?: string;
326
- path?: string;
327
- port?: number;
328
- scheme?: "http" | "https";
329
- tls_server_name?: string;
330
- tls_skip_verify?: boolean;
331
- };
332
- interval?: number;
333
- kind?: "readiness" | "liveness";
334
- name?: string;
335
- success_threshold?: number;
336
- tcp?: {
337
- port?: number;
338
- };
339
- timeout?: number;
340
- unhealthy?: "stop";
341
- }[];
342
- image?: string;
343
- name?: string;
344
- restart?: {
345
- gpu_bid_price?: number;
346
- max_retries?: number;
347
- policy?: "no" | "always" | "on-failure" | "spot-price";
348
- };
349
- secrets?: {
350
- env_var?: string;
351
- name?: string;
352
- }[];
353
- stop?: {
354
- signal?: "SIGHUP" | "SIGINT" | "SIGQUIT" | "SIGKILL" | "SIGUSR1" | "SIGUSR2" | "SIGTERM";
355
- timeout?: string;
356
- };
357
- user?: string;
358
- }[];
359
- disable_machine_autostart?: boolean;
360
- dns?: {
361
- dns_forward_rules?: {
362
- addr?: string;
363
- basename?: string;
364
- }[];
365
- hostname?: string;
366
- hostname_fqdn?: string;
367
- nameservers?: string[];
368
- options?: {
369
- name?: string;
370
- value?: string;
371
- }[];
372
- searches?: string[];
373
- skip_registration?: boolean;
374
- };
375
- env?: Record<string, string>;
376
- files?: {
377
- guest_path?: string;
378
- image_config?: string;
379
- mode?: number;
380
- raw_value?: string;
381
- secret_name?: string;
382
- }[];
383
- guest?: {
384
- cpu_kind?: string;
385
- cpus?: number;
386
- gpu_kind?: string;
387
- gpus?: number;
388
- host_dedication_id?: string;
389
- kernel_args?: string[];
390
- max_memory_mb?: number;
391
- memory_mb?: number;
392
- persist_rootfs?: "never" | "always" | "restart";
393
- };
394
- image?: string;
395
- init?: {
396
- cmd?: string[];
397
- entrypoint?: string[];
398
- exec?: string[];
399
- kernel_args?: string[];
400
- swap_size_mb?: number;
401
- tty?: boolean;
402
- };
403
- metadata?: Record<string, string>;
404
- metrics?: {
405
- https?: boolean;
406
- path?: string;
407
- port?: number;
408
- };
409
- mounts?: {
410
- add_size_gb?: number;
411
- encrypted?: boolean;
412
- extend_threshold_percent?: number;
413
- name?: string;
414
- path?: string;
415
- size_gb?: number;
416
- size_gb_limit?: number;
417
- volume?: string;
418
- }[];
419
- processes?: {
420
- cmd?: string[];
421
- entrypoint?: string[];
422
- env?: Record<string, string>;
423
- env_from?: {
424
- env_var?: string;
425
- field_ref?: "id" | "version" | "app_name" | "private_ip" | "region" | "image";
426
- }[];
427
- exec?: string[];
428
- ignore_app_secrets?: boolean;
429
- secrets?: {
430
- env_var?: string;
431
- name?: string;
432
- }[];
433
- user?: string;
434
- }[];
435
- restart?: {
436
- gpu_bid_price?: number;
437
- max_retries?: number;
438
- policy?: "no" | "always" | "on-failure" | "spot-price";
439
- };
440
- rootfs?: {
441
- persist?: "never" | "always" | "restart";
442
- size_gb?: number;
443
- };
444
- schedule?: string;
445
- services?: {
446
- autostart?: boolean;
447
- autostop?: "off" | "stop" | "suspend";
448
- checks?: {
449
- grace_period?: string;
450
- headers?: {
451
- name?: string;
452
- values?: string[];
453
- }[];
454
- interval?: string;
455
- method?: string;
456
- path?: string;
457
- port?: number;
458
- protocol?: string;
459
- timeout?: string;
460
- tls_server_name?: string;
461
- tls_skip_verify?: boolean;
462
- type?: string;
463
- }[];
464
- concurrency?: {
465
- hard_limit?: number;
466
- soft_limit?: number;
467
- type?: string;
468
- };
469
- force_instance_description?: string;
470
- force_instance_key?: string;
471
- internal_port?: number;
472
- min_machines_running?: number;
473
- ports?: {
474
- end_port?: number;
475
- force_https?: boolean;
476
- handlers?: string[];
477
- http_options?: {
478
- compress?: boolean;
479
- h2_backend?: boolean;
480
- headers_read_timeout?: number;
481
- idle_timeout?: number;
482
- replay_cache?: {
483
- allow_bypass?: boolean;
484
- name?: string;
485
- path_prefix?: string;
486
- ttl_seconds?: number;
487
- type?: "cookie" | "header";
488
- }[];
489
- response?: {
490
- headers?: Record<string, unknown>;
491
- pristine?: boolean;
492
- };
493
- };
494
- port?: number;
495
- proxy_proto_options?: {
496
- version?: string;
497
- };
498
- start_port?: number;
499
- tls_options?: {
500
- alpn?: string[];
501
- default_self_signed?: boolean;
502
- versions?: string[];
503
- };
504
- }[];
505
- protocol?: string;
506
- }[];
507
- size?: string;
508
- spot?: {
509
- max_price_fraction?: number;
510
- };
511
- standbys?: string[];
512
- statics?: {
513
- guest_path: string;
514
- index_document?: string;
515
- tigris_bucket?: string;
516
- url_prefix: string;
517
- }[];
518
- stop_config?: {
519
- signal?: "SIGHUP" | "SIGINT" | "SIGQUIT" | "SIGKILL" | "SIGUSR1" | "SIGUSR2" | "SIGTERM";
520
- timeout?: string;
521
- };
522
- };
523
- created_at?: string;
524
- events?: {
525
- id?: string;
526
- request?: unknown;
527
- source?: string;
528
- status?: string;
529
- timestamp?: number;
530
- type?: string;
531
- }[];
532
- host_status?: "ok" | "unknown" | "unreachable";
533
- id?: string;
534
- image_ref?: {
535
- digest?: string;
536
- labels?: Record<string, string>;
537
- registry?: string;
538
- repository?: string;
539
- tag?: string;
540
- };
541
- incomplete_config?: {
542
- auto_destroy?: boolean;
543
- cache_drive?: {
544
- size_mb?: number;
545
- };
546
- checks?: Record<string, {
547
- grace_period?: string;
548
- headers?: {
549
- name?: string;
550
- values?: string[];
551
- }[];
552
- interval?: string;
553
- kind?: "informational" | "readiness";
554
- method?: string;
555
- path?: string;
556
- port?: number;
557
- protocol?: string;
558
- timeout?: string;
559
- tls_server_name?: string;
560
- tls_skip_verify?: boolean;
561
- type?: string;
562
- }>;
563
- containers?: {
564
- cmd?: string[];
565
- depends_on?: {
566
- condition?: "exited_successfully" | "healthy" | "started";
567
- name?: string;
568
- }[];
569
- entrypoint?: string[];
570
- env?: Record<string, string>;
571
- env_from?: {
572
- env_var?: string;
573
- field_ref?: "id" | "version" | "app_name" | "private_ip" | "region" | "image";
574
- }[];
575
- exec?: string[];
576
- files?: {
577
- guest_path?: string;
578
- image_config?: string;
579
- mode?: number;
580
- raw_value?: string;
581
- secret_name?: string;
582
- }[];
583
- healthchecks?: {
584
- exec?: {
585
- command?: string[];
586
- };
587
- failure_threshold?: number;
588
- grace_period?: number;
589
- http?: {
590
- headers?: {
591
- name?: string;
592
- values?: string[];
593
- }[];
594
- method?: string;
595
- path?: string;
596
- port?: number;
597
- scheme?: "http" | "https";
598
- tls_server_name?: string;
599
- tls_skip_verify?: boolean;
600
- };
601
- interval?: number;
602
- kind?: "readiness" | "liveness";
603
- name?: string;
604
- success_threshold?: number;
605
- tcp?: {
606
- port?: number;
607
- };
608
- timeout?: number;
609
- unhealthy?: "stop";
610
- }[];
611
- image?: string;
612
- name?: string;
613
- restart?: {
614
- gpu_bid_price?: number;
615
- max_retries?: number;
616
- policy?: "no" | "always" | "on-failure" | "spot-price";
617
- };
618
- secrets?: {
619
- env_var?: string;
620
- name?: string;
621
- }[];
622
- stop?: {
623
- signal?: "SIGHUP" | "SIGINT" | "SIGQUIT" | "SIGKILL" | "SIGUSR1" | "SIGUSR2" | "SIGTERM";
624
- timeout?: string;
625
- };
626
- user?: string;
627
- }[];
628
- disable_machine_autostart?: boolean;
629
- dns?: {
630
- dns_forward_rules?: {
631
- addr?: string;
632
- basename?: string;
633
- }[];
634
- hostname?: string;
635
- hostname_fqdn?: string;
636
- nameservers?: string[];
637
- options?: {
638
- name?: string;
639
- value?: string;
640
- }[];
641
- searches?: string[];
642
- skip_registration?: boolean;
643
- };
644
- env?: Record<string, string>;
645
- files?: {
646
- guest_path?: string;
647
- image_config?: string;
648
- mode?: number;
649
- raw_value?: string;
650
- secret_name?: string;
651
- }[];
652
- guest?: {
653
- cpu_kind?: string;
654
- cpus?: number;
655
- gpu_kind?: string;
656
- gpus?: number;
657
- host_dedication_id?: string;
658
- kernel_args?: string[];
659
- max_memory_mb?: number;
660
- memory_mb?: number;
661
- persist_rootfs?: "never" | "always" | "restart";
662
- };
663
- image?: string;
664
- init?: {
665
- cmd?: string[];
666
- entrypoint?: string[];
667
- exec?: string[];
668
- kernel_args?: string[];
669
- swap_size_mb?: number;
670
- tty?: boolean;
671
- };
672
- metadata?: Record<string, string>;
673
- metrics?: {
674
- https?: boolean;
675
- path?: string;
676
- port?: number;
677
- };
678
- mounts?: {
679
- add_size_gb?: number;
680
- encrypted?: boolean;
681
- extend_threshold_percent?: number;
682
- name?: string;
683
- path?: string;
684
- size_gb?: number;
685
- size_gb_limit?: number;
686
- volume?: string;
687
- }[];
688
- processes?: {
689
- cmd?: string[];
690
- entrypoint?: string[];
691
- env?: Record<string, string>;
692
- env_from?: {
693
- env_var?: string;
694
- field_ref?: "id" | "version" | "app_name" | "private_ip" | "region" | "image";
695
- }[];
696
- exec?: string[];
697
- ignore_app_secrets?: boolean;
698
- secrets?: {
699
- env_var?: string;
700
- name?: string;
701
- }[];
702
- user?: string;
703
- }[];
704
- restart?: {
705
- gpu_bid_price?: number;
706
- max_retries?: number;
707
- policy?: "no" | "always" | "on-failure" | "spot-price";
708
- };
709
- rootfs?: {
710
- persist?: "never" | "always" | "restart";
711
- size_gb?: number;
712
- };
713
- schedule?: string;
714
- services?: {
715
- autostart?: boolean;
716
- autostop?: "off" | "stop" | "suspend";
717
- checks?: {
718
- grace_period?: string;
719
- headers?: {
720
- name?: string;
721
- values?: string[];
722
- }[];
723
- interval?: string;
724
- method?: string;
725
- path?: string;
726
- port?: number;
727
- protocol?: string;
728
- timeout?: string;
729
- tls_server_name?: string;
730
- tls_skip_verify?: boolean;
731
- type?: string;
732
- }[];
733
- concurrency?: {
734
- hard_limit?: number;
735
- soft_limit?: number;
736
- type?: string;
737
- };
738
- force_instance_description?: string;
739
- force_instance_key?: string;
740
- internal_port?: number;
741
- min_machines_running?: number;
742
- ports?: {
743
- end_port?: number;
744
- force_https?: boolean;
745
- handlers?: string[];
746
- http_options?: {
747
- compress?: boolean;
748
- h2_backend?: boolean;
749
- headers_read_timeout?: number;
750
- idle_timeout?: number;
751
- replay_cache?: {
752
- allow_bypass?: boolean;
753
- name?: string;
754
- path_prefix?: string;
755
- ttl_seconds?: number;
756
- type?: "cookie" | "header";
757
- }[];
758
- response?: {
759
- headers?: Record<string, unknown>;
760
- pristine?: boolean;
761
- };
762
- };
763
- port?: number;
764
- proxy_proto_options?: {
765
- version?: string;
766
- };
767
- start_port?: number;
768
- tls_options?: {
769
- alpn?: string[];
770
- default_self_signed?: boolean;
771
- versions?: string[];
772
- };
773
- }[];
774
- protocol?: string;
775
- }[];
776
- size?: string;
777
- spot?: {
778
- max_price_fraction?: number;
779
- };
780
- standbys?: string[];
781
- statics?: {
782
- guest_path: string;
783
- index_document?: string;
784
- tigris_bucket?: string;
785
- url_prefix: string;
786
- }[];
787
- stop_config?: {
788
- signal?: "SIGHUP" | "SIGINT" | "SIGQUIT" | "SIGKILL" | "SIGUSR1" | "SIGUSR2" | "SIGTERM";
789
- timeout?: string;
790
- };
791
- };
792
- instance_id?: string;
793
- name?: string;
794
- nonce?: string;
795
- private_ip?: string;
796
- region?: string;
797
- state?: string;
798
- updated_at?: string;
799
- }
800
- export declare const MachinesCreateOutput: Schema.Codec<MachinesCreateOutput>;
801
- /**
802
- * Create Machine
803
- *
804
- * Create a Machine within a specific app using the details provided in the request body.
805
- * **Important**: This request can fail, and you’re responsible for handling that failure. If you ask for a large Machine, or a Machine in a region we happen to be at capacity for, you might need to retry the request, or to fall back to another region. If you’re working directly with the Machines API, you’re taking some responsibility for your own orchestration!
806
- *
807
- * @param app_name - Fly App Name
808
- */
809
- export declare const MachinesCreate: import("@distilled.cloud/core/client").OperationMethod<MachinesCreateInput, MachinesCreateOutput, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials, never>;
810
- //# sourceMappingURL=MachinesCreate.d.ts.map