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

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
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,118 @@
1
- # Temporary Holding Version
1
+ # Pulumi Native Provider for Fly Machines
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ [Fly.io](https://fly.io/) runs your apps close to your users on fast-booting VMs. The [Machines API](https://fly.io/docs/machines/) gives you low-level control over Fly Apps, Machines, volumes, IP assignments, secrets and more.
4
+
5
+ > This provider was generated using [`pulschema`](https://github.com/cloudy-sky-software/pulschema) and [`pulumi-provider-framework`](https://github.com/cloudy-sky-software/pulumi-provider-framework).
6
+
7
+ ## Package SDKs
8
+
9
+ - Node.js: https://www.npmjs.com/package/@cloudyskysoftware/pulumi-fly-machines
10
+ - Python: https://pypi.org/project/pulumi-fly-machines/
11
+ - .NET: https://www.nuget.org/packages/Pulumi.FlyMachines
12
+ - Go: `import github.com/cloudy-sky-software/pulumi-fly-machines/sdk/go/fly-machines`
13
+
14
+ ## Using The Provider
15
+
16
+ You'll need a Fly.io API token. Follow Fly's [docs](https://fly.io/docs/machines/api/working-with-machines-api/#api-tokens) for creating one,
17
+ for example with `fly tokens create org`.
18
+ Then set the token as a secret with `pulumi config set --secret fly-machines:apiKey <token>`.
19
+ Alternatively, set the `FLY_MACHINES_APIKEY` environment variable. The provider sends the token as a `Bearer` token.
20
+
21
+ ```typescript
22
+ import * as pulumi from "@pulumi/pulumi";
23
+ import * as fly from "@cloudyskysoftware/pulumi-fly-machines";
24
+
25
+ const config = new pulumi.Config();
26
+ const orgSlug = config.require("orgSlug");
27
+
28
+ const app = new fly.apps.v1.App("myapp", {
29
+ name: "my-fly-app",
30
+ orgSlug,
31
+ });
32
+
33
+ const ip = new fly.apps.v1.AppIPAssignment("app-ip", {
34
+ appName: app.name,
35
+ type: "shared_v4",
36
+ });
37
+
38
+ const machine = new fly.apps.v1.Machine(
39
+ "myapp-machine",
40
+ {
41
+ appName: app.name,
42
+ config: {
43
+ image: "flyio/hellofly:latest",
44
+ services: [
45
+ {
46
+ ports: [
47
+ { port: 443, handlers: ["tls", "http"] },
48
+ { port: 80, handlers: ["http"] },
49
+ ],
50
+ protocol: "tcp",
51
+ internalPort: 8080,
52
+ },
53
+ ],
54
+ },
55
+ },
56
+ { dependsOn: ip },
57
+ );
58
+
59
+ export const appUrl = pulumi.interpolate`https://${app.name}.fly.dev`;
60
+ ```
61
+
62
+ See [`examples/simple`](./examples/simple) for the full example, including how to use `MachinesMetadataKey`
63
+ resources to make API-created machines visible to `flyctl`.
64
+
65
+ ### Importing Existing Resources
66
+
67
+ Import IDs should satisfy all ID segments in the `GET` endpoint for the resource
68
+ you are importing. The IDs required in the path should be separated by `/`.
69
+ Locate the `GET` endpoint in the [OpenAPI spec](https://github.com/cloudy-sky-software/pulumi-fly-machines/blob/main/provider/cmd/pulumi-gen-fly-machines/openapi.yml).
70
+
71
+ For example, to read a machine, the path in the OpenAPI spec is: `GET /v1/apps/{app_name}/machines/{machine_id}`.
72
+
73
+ Thus, the `pulumi import` command to run is:
74
+
75
+ ```bash
76
+ # The type fly-machines:apps/v1:Machine can be easily found by using your IDEs
77
+ # Go To Definition functionality for the resource and looking at the type
78
+ # property defined in the custom resource's class definition.
79
+ pulumi import fly-machines:apps/v1:Machine {resourceName} /{app_name}/{machine_id}
80
+ ```
81
+
82
+ Alternatively, you can also import using the `import` Pulumi resource option.
83
+ Run `pulumi up` to import the resource into your stack's state. Once imported,
84
+ you should remove the `import` resource option.
85
+
86
+ ```typescript
87
+ const myMachine = new fly.apps.v1.Machine(
88
+ "myMachine",
89
+ { appName: "my-app", config: { image: "flyio/hellofly:latest" } },
90
+ {
91
+ protect: true,
92
+ import: `/my-app/<machine-id>`,
93
+ }
94
+ );
95
+ ```
96
+
97
+ Refer to the Pulumi [docs](https://www.pulumi.com/docs/iac/adopting-pulumi/import/) for importing a
98
+ resource.
99
+
100
+ ## Releasing A New Version
101
+
102
+ :info: Switch to the `main` branch first and get the latest `git pull origin main && git fetch`. Check what the last release tag was.
103
+
104
+ 1. Regular releases should just increment the patch version unless a minor or a major (breaking changes) version bump is warranted.
105
+ 1. Update the `CHANGELOG.md` with notes about what will be included in this release.
106
+ 1. Commit the changelog with `git commit -am "vX.Y.Z"` or something similar and push `git push origin main`.
107
+ 1. Tag the commit with the release version by running
108
+
109
+ ```bash
110
+ git tag vX.Y.Z
111
+ git tag sdk/vX.Y.Z
112
+ ```
113
+
114
+ 1. Push the tags.
115
+
116
+ ```bash
117
+ git push --tags
118
+ ```
@@ -0,0 +1,3 @@
1
+ import * as v1 from "./v1";
2
+ export { v1, };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../apps/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC;AAE3B,OAAO,EACH,EAAE,GACL,CAAC"}
package/apps/index.js ADDED
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.v1 = void 0;
29
+ // Export sub-modules:
30
+ const v1 = __importStar(require("./v1"));
31
+ exports.v1 = v1;
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../apps/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAIjF,sBAAsB;AACtB,yCAA2B;AAGvB,gBAAE"}
@@ -0,0 +1,68 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ export declare class App extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing App resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param opts Optional settings to control the behavior of the CustomResource.
12
+ */
13
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): App;
14
+ /**
15
+ * Returns true if the given object is an instance of App. This is designed to work even
16
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
17
+ */
18
+ static isInstance(obj: any): obj is App;
19
+ readonly createdAt: pulumi.Output<number | undefined>;
20
+ readonly enableSubdomains: pulumi.Output<boolean | undefined>;
21
+ /**
22
+ * When set, makes a retry of this exact request safe: a
23
+ * second create with the same key and the same name (or no name) returns
24
+ * the app the first request created, instead of erroring on a false name
25
+ * conflict or creating a duplicate. A second create with the same key
26
+ * but a *different* name is rejected outright; it won't silently
27
+ * hand back the first app.
28
+ */
29
+ readonly idempotencyKey: pulumi.Output<string | undefined>;
30
+ readonly name: pulumi.Output<string | undefined>;
31
+ readonly network: pulumi.Output<string | undefined>;
32
+ readonly orgSlug: pulumi.Output<string | undefined>;
33
+ /**
34
+ * Query params to send with the API requests for this resource.
35
+ */
36
+ readonly queryParams: pulumi.Output<outputs.apps.v1.AppQueryParams | undefined>;
37
+ /**
38
+ * Create a App resource with the given unique name, arguments, and options.
39
+ *
40
+ * @param name The _unique_ name of the resource.
41
+ * @param args The arguments to use to populate this resource's properties.
42
+ * @param opts A bag of options that control this resource's behavior.
43
+ */
44
+ constructor(name: string, args?: AppArgs, opts?: pulumi.CustomResourceOptions);
45
+ }
46
+ /**
47
+ * The set of arguments for constructing a App resource.
48
+ */
49
+ export interface AppArgs {
50
+ enableSubdomains?: pulumi.Input<boolean | undefined>;
51
+ /**
52
+ * When set, makes a retry of this exact request safe: a
53
+ * second create with the same key and the same name (or no name) returns
54
+ * the app the first request created, instead of erroring on a false name
55
+ * conflict or creating a duplicate. A second create with the same key
56
+ * but a *different* name is rejected outright; it won't silently
57
+ * hand back the first app.
58
+ */
59
+ idempotencyKey?: pulumi.Input<string | undefined>;
60
+ name?: pulumi.Input<string | undefined>;
61
+ network?: pulumi.Input<string | undefined>;
62
+ orgSlug?: pulumi.Input<string | undefined>;
63
+ /**
64
+ * Query params to send with the API requests for this resource.
65
+ */
66
+ queryParams?: pulumi.Input<inputs.apps.v1.AppQueryParamsArgs | undefined>;
67
+ }
68
+ //# sourceMappingURL=app.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../../apps/v1/app.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAI9C,qBAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,GAAG;IAOtG;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,GAAG;IAO9C,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7E,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC7E;;;;;;;OAOG;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ulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.App = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("../../utilities"));
31
+ class App extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing App resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name, id, opts) {
41
+ return new App(name, undefined, { ...opts, id: id });
42
+ }
43
+ /** @internal */
44
+ static __pulumiType = 'fly-machines:apps/v1:App';
45
+ /**
46
+ * Returns true if the given object is an instance of App. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === App.__pulumiType;
54
+ }
55
+ /**
56
+ * Create a App resource with the given unique name, arguments, and options.
57
+ *
58
+ * @param name The _unique_ name of the resource.
59
+ * @param args The arguments to use to populate this resource's properties.
60
+ * @param opts A bag of options that control this resource's behavior.
61
+ */
62
+ constructor(name, args, opts) {
63
+ let resourceInputs = {};
64
+ opts = opts || {};
65
+ if (!opts.id) {
66
+ resourceInputs["enableSubdomains"] = args?.enableSubdomains;
67
+ resourceInputs["idempotencyKey"] = args?.idempotencyKey;
68
+ resourceInputs["name"] = args?.name;
69
+ resourceInputs["network"] = args?.network;
70
+ resourceInputs["orgSlug"] = args?.orgSlug;
71
+ resourceInputs["queryParams"] = args?.queryParams;
72
+ resourceInputs["createdAt"] = undefined /*out*/;
73
+ }
74
+ else {
75
+ resourceInputs["createdAt"] = undefined /*out*/;
76
+ resourceInputs["enableSubdomains"] = undefined /*out*/;
77
+ resourceInputs["idempotencyKey"] = undefined /*out*/;
78
+ resourceInputs["name"] = undefined /*out*/;
79
+ resourceInputs["network"] = undefined /*out*/;
80
+ resourceInputs["orgSlug"] = undefined /*out*/;
81
+ resourceInputs["queryParams"] = undefined /*out*/;
82
+ }
83
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
84
+ super(App.__pulumiType, name, resourceInputs, opts);
85
+ }
86
+ }
87
+ exports.App = App;
88
+ //# sourceMappingURL=app.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.js","sourceRoot":"","sources":["../../../apps/v1/app.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,2DAA6C;AAE7C,MAAa,GAAI,SAAQ,MAAM,CAAC,cAAc;IAC1C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,GAAG,CA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AC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;;AA3EL,kBA4EC"}
@@ -0,0 +1,56 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../../types/input";
3
+ import * as outputs from "../../types/output";
4
+ export declare class AppCertificatesAcme extends pulumi.CustomResource {
5
+ /**
6
+ * Get an existing AppCertificatesAcme resource's state with the given name, ID, and optional extra
7
+ * properties used to qualify the lookup.
8
+ *
9
+ * @param name The _unique_ name of the resulting resource.
10
+ * @param id The _unique_ provider ID of the resource to lookup.
11
+ * @param opts Optional settings to control the behavior of the CustomResource.
12
+ */
13
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AppCertificatesAcme;
14
+ /**
15
+ * Returns true if the given object is an instance of AppCertificatesAcme. This is designed to work even
16
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
17
+ */
18
+ static isInstance(obj: any): obj is AppCertificatesAcme;
19
+ readonly acmeRequested: pulumi.Output<boolean | undefined>;
20
+ readonly certificates: pulumi.Output<outputs.apps.v1.CertificateEntry[] | undefined>;
21
+ readonly configured: pulumi.Output<boolean | undefined>;
22
+ readonly dnsProvider: pulumi.Output<string | undefined>;
23
+ readonly dnsRequirements: pulumi.Output<outputs.apps.v1.DNSRequirements | undefined>;
24
+ readonly hostname: pulumi.Output<string | undefined>;
25
+ /**
26
+ * Query params to send with the API requests for this resource.
27
+ */
28
+ readonly queryParams: pulumi.Output<outputs.apps.v1.AppCertificatesAcmeQueryParams | undefined>;
29
+ readonly rateLimitedUntil: pulumi.Output<string | undefined>;
30
+ readonly status: pulumi.Output<string | undefined>;
31
+ readonly validation: pulumi.Output<outputs.apps.v1.CertificateValidation | undefined>;
32
+ readonly validationErrors: pulumi.Output<outputs.apps.v1.CertificateValidationError[] | undefined>;
33
+ /**
34
+ * Create a AppCertificatesAcme resource with the given unique name, arguments, and options.
35
+ *
36
+ * @param name The _unique_ name of the resource.
37
+ * @param args The arguments to use to populate this resource's properties.
38
+ * @param opts A bag of options that control this resource's behavior.
39
+ */
40
+ constructor(name: string, args?: AppCertificatesAcmeArgs, opts?: pulumi.CustomResourceOptions);
41
+ }
42
+ /**
43
+ * The set of arguments for constructing a AppCertificatesAcme resource.
44
+ */
45
+ export interface AppCertificatesAcmeArgs {
46
+ /**
47
+ * Fly App Name
48
+ */
49
+ appName?: pulumi.Input<string | undefined>;
50
+ hostname?: pulumi.Input<string | undefined>;
51
+ /**
52
+ * Query params to send with the API requests for this resource.
53
+ */
54
+ queryParams?: pulumi.Input<inputs.apps.v1.AppCertificatesAcmeQueryParamsArgs | undefined>;
55
+ }
56
+ //# sourceMappingURL=appCertificatesAcme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appCertificatesAcme.d.ts","sourceRoot":"","sources":["../../../apps/v1/appCertificatesAcme.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,oBAAoB,CAAC;AAI9C,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,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