@alienplatform/platform-api 3.3.31 → 3.3.32

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 (420) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/REACT_QUERY.md +6 -6
  3. package/README.md +18 -18
  4. package/esm/funcs/operationsGetPolicy.d.ts +2 -0
  5. package/esm/funcs/operationsGetPolicy.d.ts.map +1 -1
  6. package/esm/funcs/operationsGetPolicy.js +2 -0
  7. package/esm/funcs/operationsGetPolicy.js.map +1 -1
  8. package/esm/funcs/operationsInvoke.d.ts +1 -1
  9. package/esm/funcs/operationsInvoke.js +1 -1
  10. package/esm/funcs/operationsListPlugins.js +1 -0
  11. package/esm/funcs/operationsListPlugins.js.map +1 -1
  12. package/esm/funcs/operationsPublishPlugin.d.ts +1 -1
  13. package/esm/funcs/operationsPublishPlugin.js +1 -1
  14. package/esm/funcs/operationsQueueAccessRequest.js +1 -1
  15. package/esm/funcs/operationsQueueAccessRequest.js.map +1 -1
  16. package/esm/funcs/operationsSetBuiltinPlugins.d.ts +4 -1
  17. package/esm/funcs/operationsSetBuiltinPlugins.d.ts.map +1 -1
  18. package/esm/funcs/operationsSetBuiltinPlugins.js +6 -8
  19. package/esm/funcs/operationsSetBuiltinPlugins.js.map +1 -1
  20. package/esm/funcs/operationsSetPluginEnabled.d.ts +2 -0
  21. package/esm/funcs/operationsSetPluginEnabled.d.ts.map +1 -1
  22. package/esm/funcs/operationsSetPluginEnabled.js +2 -0
  23. package/esm/funcs/operationsSetPluginEnabled.js.map +1 -1
  24. package/esm/funcs/operationsUpdatePolicy.d.ts +4 -1
  25. package/esm/funcs/operationsUpdatePolicy.d.ts.map +1 -1
  26. package/esm/funcs/operationsUpdatePolicy.js +6 -8
  27. package/esm/funcs/operationsUpdatePolicy.js.map +1 -1
  28. package/esm/funcs/operatorManifestsRenderOperatorEcsCloudFormation.d.ts +1 -1
  29. package/esm/funcs/operatorManifestsRenderOperatorEcsCloudFormation.js +1 -1
  30. package/esm/funcs/projectsAcceptRemoteOperatorPermissions.d.ts +1 -1
  31. package/esm/funcs/projectsAcceptRemoteOperatorPermissions.js +1 -1
  32. package/esm/lib/config.d.ts +2 -2
  33. package/esm/lib/config.js +2 -2
  34. package/esm/models/cpuallocatable.d.ts +16 -8
  35. package/esm/models/cpuallocatable.d.ts.map +1 -1
  36. package/esm/models/cpuallocatable.js +10 -6
  37. package/esm/models/cpuallocatable.js.map +1 -1
  38. package/esm/models/createmanagerresponse.d.ts +40 -2
  39. package/esm/models/createmanagerresponse.d.ts.map +1 -1
  40. package/esm/models/createmanagerresponse.js +30 -6
  41. package/esm/models/createmanagerresponse.js.map +1 -1
  42. package/esm/models/createmanagerresponsedomainsunion2.d.ts +7 -1695
  43. package/esm/models/createmanagerresponsedomainsunion2.d.ts.map +1 -1
  44. package/esm/models/createmanagerresponsedomainsunion2.js +6 -1446
  45. package/esm/models/createmanagerresponsedomainsunion2.js.map +1 -1
  46. package/esm/models/createmanagerresponseproviderawsalb2.d.ts +9 -1759
  47. package/esm/models/createmanagerresponseproviderawsalb2.d.ts.map +1 -1
  48. package/esm/models/createmanagerresponseproviderawsalb2.js +8 -1417
  49. package/esm/models/createmanagerresponseproviderawsalb2.js.map +1 -1
  50. package/esm/models/createmanagerresponseprovidergkegatewayenum2.d.ts +1768 -0
  51. package/esm/models/createmanagerresponseprovidergkegatewayenum2.d.ts.map +1 -0
  52. package/esm/models/createmanagerresponseprovidergkegatewayenum2.js +1421 -0
  53. package/esm/models/createmanagerresponseprovidergkegatewayenum2.js.map +1 -0
  54. package/esm/models/createmanagerresponsepublicendpointtargetunion2.d.ts +1716 -0
  55. package/esm/models/createmanagerresponsepublicendpointtargetunion2.d.ts.map +1 -0
  56. package/esm/models/createmanagerresponsepublicendpointtargetunion2.js +1445 -0
  57. package/esm/models/createmanagerresponsepublicendpointtargetunion2.js.map +1 -0
  58. package/esm/models/createsetupregistrationoperationrequest.d.ts +30 -0
  59. package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
  60. package/esm/models/createsetupregistrationoperationrequest.js +9 -0
  61. package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
  62. package/esm/models/deployment.d.ts +8 -4
  63. package/esm/models/deployment.d.ts.map +1 -1
  64. package/esm/models/deployment.js +8 -4
  65. package/esm/models/deployment.js.map +1 -1
  66. package/esm/models/deploymentcomputeplan.d.ts +85 -0
  67. package/esm/models/deploymentcomputeplan.d.ts.map +1 -1
  68. package/esm/models/deploymentcomputeplan.js +66 -0
  69. package/esm/models/deploymentcomputeplan.js.map +1 -1
  70. package/esm/models/deploymentconfig.d.ts +22 -0
  71. package/esm/models/deploymentconfig.d.ts.map +1 -1
  72. package/esm/models/deploymentconfig.js +9 -0
  73. package/esm/models/deploymentconfig.js.map +1 -1
  74. package/esm/models/deploymentdetailresponse.d.ts +10 -6
  75. package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
  76. package/esm/models/deploymentdetailresponse.js +15 -3
  77. package/esm/models/deploymentdetailresponse.js.map +1 -1
  78. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.d.ts +1967 -0
  79. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.d.ts.map +1 -0
  80. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.js +1482 -0
  81. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.js.map +1 -0
  82. package/esm/models/deploymentdetailresponsependingpreparedstacktypeunion.d.ts +4 -1948
  83. package/esm/models/deploymentdetailresponsependingpreparedstacktypeunion.d.ts.map +1 -1
  84. package/esm/models/deploymentdetailresponsependingpreparedstacktypeunion.js +4 -1481
  85. package/esm/models/deploymentdetailresponsependingpreparedstacktypeunion.js.map +1 -1
  86. package/esm/models/deploymentdetailresponsepreparedstackoperations.d.ts +2364 -0
  87. package/esm/models/deploymentdetailresponsepreparedstackoperations.d.ts.map +1 -0
  88. package/esm/models/deploymentdetailresponsepreparedstackoperations.js +1561 -0
  89. package/esm/models/deploymentdetailresponsepreparedstackoperations.js.map +1 -0
  90. package/esm/models/deploymentdetailresponsepreparedstackoperationsunion.d.ts +4 -2363
  91. package/esm/models/deploymentdetailresponsepreparedstackoperationsunion.d.ts.map +1 -1
  92. package/esm/models/deploymentdetailresponsepreparedstackoperationsunion.js +4 -1557
  93. package/esm/models/deploymentdetailresponsepreparedstackoperationsunion.js.map +1 -1
  94. package/esm/models/deploymentinfo.d.ts +22 -0
  95. package/esm/models/deploymentinfo.d.ts.map +1 -1
  96. package/esm/models/deploymentinfo.js +9 -0
  97. package/esm/models/deploymentinfo.js.map +1 -1
  98. package/esm/models/deploymentpendingpreparedstacktypeenvenum.d.ts +1967 -0
  99. package/esm/models/deploymentpendingpreparedstacktypeenvenum.d.ts.map +1 -0
  100. package/esm/models/deploymentpendingpreparedstacktypeenvenum.js +1407 -0
  101. package/esm/models/deploymentpendingpreparedstacktypeenvenum.js.map +1 -0
  102. package/esm/models/deploymentpendingpreparedstacktypeunion.d.ts +4 -1948
  103. package/esm/models/deploymentpendingpreparedstacktypeunion.d.ts.map +1 -1
  104. package/esm/models/deploymentpendingpreparedstacktypeunion.js +4 -1405
  105. package/esm/models/deploymentpendingpreparedstacktypeunion.js.map +1 -1
  106. package/esm/models/deploymentpreparedstackoperations.d.ts +2364 -0
  107. package/esm/models/deploymentpreparedstackoperations.d.ts.map +1 -0
  108. package/esm/models/deploymentpreparedstackoperations.js +1461 -0
  109. package/esm/models/deploymentpreparedstackoperations.js.map +1 -0
  110. package/esm/models/deploymentpreparedstackoperationsunion.d.ts +4 -2363
  111. package/esm/models/deploymentpreparedstackoperationsunion.d.ts.map +1 -1
  112. package/esm/models/deploymentpreparedstackoperationsunion.js +4 -1458
  113. package/esm/models/deploymentpreparedstackoperationsunion.js.map +1 -1
  114. package/esm/models/deploymentsetupstacksettingspolicy.d.ts +33 -0
  115. package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
  116. package/esm/models/deploymentsetupstacksettingspolicy.js +18 -0
  117. package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
  118. package/esm/models/importsource.d.ts +30 -0
  119. package/esm/models/importsource.d.ts.map +1 -1
  120. package/esm/models/importsource.js +9 -0
  121. package/esm/models/importsource.js.map +1 -1
  122. package/esm/models/index.d.ts +13 -13
  123. package/esm/models/index.d.ts.map +1 -1
  124. package/esm/models/index.js +13 -13
  125. package/esm/models/index.js.map +1 -1
  126. package/esm/models/invokeoperationrequest.d.ts +1 -1
  127. package/esm/models/invokeoperationresponse.d.ts +3 -3
  128. package/esm/models/invokeoperationresponse.js +1 -1
  129. package/esm/models/listoperationspluginsresponse.d.ts +1 -1
  130. package/esm/models/listoperationspluginsresponse.d.ts.map +1 -1
  131. package/esm/models/listoperationspluginsresponse.js +1 -1
  132. package/esm/models/listoperationspluginsresponse.js.map +1 -1
  133. package/esm/models/managerretryresponse.d.ts +35 -3
  134. package/esm/models/managerretryresponse.d.ts.map +1 -1
  135. package/esm/models/managerretryresponse.js +34 -4
  136. package/esm/models/managerretryresponse.js.map +1 -1
  137. package/esm/models/managerretryresponsedomains2.d.ts +1730 -0
  138. package/esm/models/managerretryresponsedomains2.d.ts.map +1 -0
  139. package/esm/models/managerretryresponsedomains2.js +1426 -0
  140. package/esm/models/managerretryresponsedomains2.js.map +1 -0
  141. package/esm/models/managerretryresponseendpointaccess2.d.ts +6 -1702
  142. package/esm/models/managerretryresponseendpointaccess2.d.ts.map +1 -1
  143. package/esm/models/managerretryresponseendpointaccess2.js +6 -1424
  144. package/esm/models/managerretryresponseendpointaccess2.js.map +1 -1
  145. package/esm/models/managerretryresponseprovidergkegateway2.d.ts +1758 -0
  146. package/esm/models/managerretryresponseprovidergkegateway2.d.ts.map +1 -0
  147. package/esm/models/managerretryresponseprovidergkegateway2.js +1402 -0
  148. package/esm/models/managerretryresponseprovidergkegateway2.js.map +1 -0
  149. package/esm/models/managerretryresponseproviderunion2.d.ts +9 -1750
  150. package/esm/models/managerretryresponseproviderunion2.d.ts.map +1 -1
  151. package/esm/models/managerretryresponseproviderunion2.js +8 -1405
  152. package/esm/models/managerretryresponseproviderunion2.js.map +1 -1
  153. package/esm/models/memoryunit5.d.ts +39 -23
  154. package/esm/models/memoryunit5.d.ts.map +1 -1
  155. package/esm/models/memoryunit5.js +25 -16
  156. package/esm/models/memoryunit5.js.map +1 -1
  157. package/esm/models/newdeploymentrequest.d.ts +30 -0
  158. package/esm/models/newdeploymentrequest.d.ts.map +1 -1
  159. package/esm/models/newdeploymentrequest.js +9 -0
  160. package/esm/models/newdeploymentrequest.js.map +1 -1
  161. package/esm/models/operations/acceptremoteoperatorpermissions.d.ts +1 -1
  162. package/esm/models/operations/approveaccessrequest.d.ts +1 -1
  163. package/esm/models/operations/approveaccessrequest.d.ts.map +1 -1
  164. package/esm/models/operations/approveaccessrequest.js +2 -2
  165. package/esm/models/operations/approveaccessrequest.js.map +1 -1
  166. package/esm/models/operations/createaccessrequest.d.ts +1 -1
  167. package/esm/models/operations/createaccessrequest.d.ts.map +1 -1
  168. package/esm/models/operations/createaccessrequest.js +2 -2
  169. package/esm/models/operations/createaccessrequest.js.map +1 -1
  170. package/esm/models/operations/denyaccessrequest.d.ts +1 -1
  171. package/esm/models/operations/denyaccessrequest.d.ts.map +1 -1
  172. package/esm/models/operations/denyaccessrequest.js +2 -2
  173. package/esm/models/operations/denyaccessrequest.js.map +1 -1
  174. package/esm/models/operations/getaccessrequest.d.ts +1 -1
  175. package/esm/models/operations/getaccessrequest.d.ts.map +1 -1
  176. package/esm/models/operations/getaccessrequest.js +2 -2
  177. package/esm/models/operations/getaccessrequest.js.map +1 -1
  178. package/esm/models/operations/getlivedebuggrant.d.ts +1 -1
  179. package/esm/models/operations/getlivedebuggrant.d.ts.map +1 -1
  180. package/esm/models/operations/getlivedebuggrant.js +2 -2
  181. package/esm/models/operations/getlivedebuggrant.js.map +1 -1
  182. package/esm/models/operations/getremoteoperatorprojectsummary.d.ts +5 -5
  183. package/esm/models/operations/getremoteoperatorprojectsummary.js +1 -1
  184. package/esm/models/operations/listaccessrequests.d.ts +1 -1
  185. package/esm/models/operations/listaccessrequests.d.ts.map +1 -1
  186. package/esm/models/operations/listaccessrequests.js +2 -2
  187. package/esm/models/operations/listaccessrequests.js.map +1 -1
  188. package/esm/models/operations/listoperationsplugins.d.ts +5 -0
  189. package/esm/models/operations/listoperationsplugins.d.ts.map +1 -1
  190. package/esm/models/operations/listoperationsplugins.js +1 -0
  191. package/esm/models/operations/listoperationsplugins.js.map +1 -1
  192. package/esm/models/operations/plandeploymentcompute.d.ts +30 -0
  193. package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -1
  194. package/esm/models/operations/plandeploymentcompute.js +9 -0
  195. package/esm/models/operations/plandeploymentcompute.js.map +1 -1
  196. package/esm/models/operations/preparedeploymentstack.d.ts +30 -0
  197. package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
  198. package/esm/models/operations/preparedeploymentstack.js +9 -0
  199. package/esm/models/operations/preparedeploymentstack.js.map +1 -1
  200. package/esm/models/operations/queueaccessrequest.d.ts +1 -1
  201. package/esm/models/operations/queueaccessrequest.d.ts.map +1 -1
  202. package/esm/models/operations/queueaccessrequest.js +2 -2
  203. package/esm/models/operations/queueaccessrequest.js.map +1 -1
  204. package/esm/models/operations/revokeaccessrequest.d.ts +1 -1
  205. package/esm/models/operations/revokeaccessrequest.d.ts.map +1 -1
  206. package/esm/models/operations/revokeaccessrequest.js +2 -2
  207. package/esm/models/operations/revokeaccessrequest.js.map +1 -1
  208. package/esm/models/operationsplugin.d.ts +1 -1
  209. package/esm/models/operationsplugin.d.ts.map +1 -1
  210. package/esm/models/operationsplugin.js +1 -1
  211. package/esm/models/operationsplugin.js.map +1 -1
  212. package/esm/models/persistimporteddeploymentrequest.d.ts +10 -4
  213. package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
  214. package/esm/models/persistimporteddeploymentrequest.js +15 -3
  215. package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
  216. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackcustomsettingsunion.d.ts +5 -2391
  217. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackcustomsettingsunion.d.ts.map +1 -1
  218. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackcustomsettingsunion.js +4 -1460
  219. package/esm/models/persistimporteddeploymentrequestpendingpreparedstackcustomsettingsunion.js.map +1 -1
  220. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.d.ts +2413 -0
  221. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.d.ts.map +1 -0
  222. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.js +1459 -0
  223. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.js.map +1 -0
  224. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.d.ts +3090 -0
  225. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.d.ts.map +1 -0
  226. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.js +1536 -0
  227. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.js.map +1 -0
  228. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridestackconditionunion.d.ts +5 -3086
  229. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridestackconditionunion.d.ts.map +1 -1
  230. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridestackconditionunion.js +4 -1528
  231. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridestackconditionunion.js.map +1 -1
  232. package/esm/models/publishoperationspluginrequest.d.ts +32 -0
  233. package/esm/models/publishoperationspluginrequest.d.ts.map +1 -1
  234. package/esm/models/publishoperationspluginrequest.js +20 -0
  235. package/esm/models/publishoperationspluginrequest.js.map +1 -1
  236. package/esm/models/publishoperationspluginresponse.d.ts +2 -2
  237. package/esm/models/publishoperationspluginresponse.d.ts.map +1 -1
  238. package/esm/models/publishoperationspluginresponse.js +2 -2
  239. package/esm/models/publishoperationspluginresponse.js.map +1 -1
  240. package/esm/models/releaseinfotypestringlist.d.ts +3 -2169
  241. package/esm/models/releaseinfotypestringlist.d.ts.map +1 -1
  242. package/esm/models/releaseinfotypestringlist.js +4 -1432
  243. package/esm/models/releaseinfotypestringlist.js.map +1 -1
  244. package/esm/models/renderoperatorecscloudformationrequest.d.ts +2 -2
  245. package/esm/models/stacksettings.d.ts +30 -0
  246. package/esm/models/stacksettings.d.ts.map +1 -1
  247. package/esm/models/stacksettings.js +9 -0
  248. package/esm/models/stacksettings.js.map +1 -1
  249. package/esm/models/synclistresponse.d.ts +8 -4
  250. package/esm/models/synclistresponse.d.ts.map +1 -1
  251. package/esm/models/synclistresponse.js +14 -3
  252. package/esm/models/synclistresponse.js.map +1 -1
  253. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.d.ts +1967 -0
  254. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.d.ts.map +1 -0
  255. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.js +1430 -0
  256. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.js.map +1 -0
  257. package/esm/models/synclistresponsependingpreparedstacktypeunion.d.ts +4 -1948
  258. package/esm/models/synclistresponsependingpreparedstacktypeunion.d.ts.map +1 -1
  259. package/esm/models/synclistresponsependingpreparedstacktypeunion.js +4 -1428
  260. package/esm/models/synclistresponsependingpreparedstacktypeunion.js.map +1 -1
  261. package/esm/models/synclistresponsepreparedstackoperations.d.ts +2364 -0
  262. package/esm/models/synclistresponsepreparedstackoperations.d.ts.map +1 -0
  263. package/esm/models/synclistresponsepreparedstackoperations.js +1520 -0
  264. package/esm/models/synclistresponsepreparedstackoperations.js.map +1 -0
  265. package/esm/models/synclistresponsepreparedstackoperationsunion.d.ts +4 -2363
  266. package/esm/models/synclistresponsepreparedstackoperationsunion.d.ts.map +1 -1
  267. package/esm/models/synclistresponsepreparedstackoperationsunion.js +4 -1517
  268. package/esm/models/synclistresponsepreparedstackoperationsunion.js.map +1 -1
  269. package/esm/models/syncreconcilerequestdataunion2.d.ts +95 -51
  270. package/esm/models/syncreconcilerequestdataunion2.d.ts.map +1 -1
  271. package/esm/models/syncreconcilerequestdataunion2.js +59 -37
  272. package/esm/models/syncreconcilerequestdataunion2.js.map +1 -1
  273. package/esm/models/syncreconcilerequestlifecycle19.d.ts +69 -37
  274. package/esm/models/syncreconcilerequestlifecycle19.d.ts.map +1 -1
  275. package/esm/models/syncreconcilerequestlifecycle19.js +44 -27
  276. package/esm/models/syncreconcilerequestlifecycle19.js.map +1 -1
  277. package/esm/models/targetdeployment.d.ts +7 -1
  278. package/esm/models/targetdeployment.d.ts.map +1 -1
  279. package/esm/models/targetdeployment.js +6 -1
  280. package/esm/models/targetdeployment.js.map +1 -1
  281. package/esm/models/targetdeploymentconfig.d.ts +2186 -0
  282. package/esm/models/targetdeploymentconfig.d.ts.map +1 -0
  283. package/esm/models/targetdeploymentconfig.js +1437 -0
  284. package/esm/models/targetdeploymentconfig.js.map +1 -0
  285. package/esm/models/updatedeploymentcomputerequest.d.ts +30 -0
  286. package/esm/models/updatedeploymentcomputerequest.d.ts.map +1 -1
  287. package/esm/models/updatedeploymentcomputerequest.js +9 -0
  288. package/esm/models/updatedeploymentcomputerequest.js.map +1 -1
  289. package/esm/react-query/operationsGetPolicy.d.ts +4 -0
  290. package/esm/react-query/operationsGetPolicy.d.ts.map +1 -1
  291. package/esm/react-query/operationsGetPolicy.js +4 -0
  292. package/esm/react-query/operationsGetPolicy.js.map +1 -1
  293. package/esm/react-query/operationsInvoke.d.ts +1 -1
  294. package/esm/react-query/operationsInvoke.js +1 -1
  295. package/esm/react-query/operationsListPlugins.core.d.ts +1 -0
  296. package/esm/react-query/operationsListPlugins.core.d.ts.map +1 -1
  297. package/esm/react-query/operationsListPlugins.core.js +4 -1
  298. package/esm/react-query/operationsListPlugins.core.js.map +1 -1
  299. package/esm/react-query/operationsListPlugins.d.ts +12 -6
  300. package/esm/react-query/operationsListPlugins.d.ts.map +1 -1
  301. package/esm/react-query/operationsListPlugins.js.map +1 -1
  302. package/esm/react-query/operationsPublishPlugin.d.ts +1 -1
  303. package/esm/react-query/operationsPublishPlugin.js +1 -1
  304. package/esm/react-query/operationsSetBuiltinPlugins.d.ts +4 -2
  305. package/esm/react-query/operationsSetBuiltinPlugins.d.ts.map +1 -1
  306. package/esm/react-query/operationsSetBuiltinPlugins.js +4 -2
  307. package/esm/react-query/operationsSetBuiltinPlugins.js.map +1 -1
  308. package/esm/react-query/operationsSetPluginEnabled.d.ts +2 -0
  309. package/esm/react-query/operationsSetPluginEnabled.d.ts.map +1 -1
  310. package/esm/react-query/operationsSetPluginEnabled.js +2 -0
  311. package/esm/react-query/operationsSetPluginEnabled.js.map +1 -1
  312. package/esm/react-query/operationsUpdatePolicy.d.ts +4 -2
  313. package/esm/react-query/operationsUpdatePolicy.d.ts.map +1 -1
  314. package/esm/react-query/operationsUpdatePolicy.js +4 -2
  315. package/esm/react-query/operationsUpdatePolicy.js.map +1 -1
  316. package/esm/react-query/operatorManifestsRenderOperatorEcsCloudFormation.d.ts +1 -1
  317. package/esm/react-query/operatorManifestsRenderOperatorEcsCloudFormation.js +1 -1
  318. package/esm/react-query/projectsAcceptRemoteOperatorPermissions.d.ts +1 -1
  319. package/esm/react-query/projectsAcceptRemoteOperatorPermissions.js +1 -1
  320. package/esm/sdk/operations.d.ts +26 -18
  321. package/esm/sdk/operations.d.ts.map +1 -1
  322. package/esm/sdk/operations.js +34 -26
  323. package/esm/sdk/operations.js.map +1 -1
  324. package/esm/sdk/operatormanifests.d.ts +1 -1
  325. package/esm/sdk/operatormanifests.js +1 -1
  326. package/esm/sdk/projects.d.ts +1 -1
  327. package/esm/sdk/projects.js +1 -1
  328. package/jsr.json +1 -1
  329. package/package.json +1 -1
  330. package/src/funcs/operationsGetPolicy.ts +2 -0
  331. package/src/funcs/operationsInvoke.ts +1 -1
  332. package/src/funcs/operationsListPlugins.ts +1 -0
  333. package/src/funcs/operationsPublishPlugin.ts +1 -1
  334. package/src/funcs/operationsQueueAccessRequest.ts +1 -1
  335. package/src/funcs/operationsSetBuiltinPlugins.ts +6 -16
  336. package/src/funcs/operationsSetPluginEnabled.ts +2 -0
  337. package/src/funcs/operationsUpdatePolicy.ts +6 -16
  338. package/src/funcs/operatorManifestsRenderOperatorEcsCloudFormation.ts +1 -1
  339. package/src/funcs/projectsAcceptRemoteOperatorPermissions.ts +1 -1
  340. package/src/lib/config.ts +2 -2
  341. package/src/models/cpuallocatable.ts +40 -14
  342. package/src/models/createmanagerresponse.ts +105 -17
  343. package/src/models/createmanagerresponsedomainsunion2.ts +8 -4675
  344. package/src/models/createmanagerresponseproviderawsalb2.ts +10 -4715
  345. package/src/models/createmanagerresponseprovidergkegatewayenum2.ts +4743 -0
  346. package/src/models/createmanagerresponsepublicendpointtargetunion2.ts +4675 -0
  347. package/src/models/createsetupregistrationoperationrequest.ts +56 -0
  348. package/src/models/deployment.ts +30 -8
  349. package/src/models/deploymentcomputeplan.ts +218 -0
  350. package/src/models/deploymentconfig.ts +41 -0
  351. package/src/models/deploymentdetailresponse.ts +41 -9
  352. package/src/models/deploymentdetailresponsependingpreparedstacktypeenvenum.ts +4936 -0
  353. package/src/models/deploymentdetailresponsependingpreparedstacktypeunion.ts +5 -4922
  354. package/src/models/deploymentdetailresponsepreparedstackoperations.ts +6147 -0
  355. package/src/models/deploymentdetailresponsepreparedstackoperationsunion.ts +5 -6145
  356. package/src/models/deploymentinfo.ts +41 -0
  357. package/src/models/deploymentpendingpreparedstacktypeenvenum.ts +4421 -0
  358. package/src/models/deploymentpendingpreparedstacktypeunion.ts +5 -4409
  359. package/src/models/deploymentpreparedstackoperations.ts +5688 -0
  360. package/src/models/deploymentpreparedstackoperationsunion.ts +5 -5679
  361. package/src/models/deploymentsetupstacksettingspolicy.ts +79 -0
  362. package/src/models/importsource.ts +46 -0
  363. package/src/models/index.ts +13 -13
  364. package/src/models/invokeoperationrequest.ts +1 -1
  365. package/src/models/invokeoperationresponse.ts +3 -3
  366. package/src/models/listoperationspluginsresponse.ts +2 -2
  367. package/src/models/managerretryresponse.ts +104 -7
  368. package/src/models/managerretryresponsedomains2.ts +4656 -0
  369. package/src/models/managerretryresponseendpointaccess2.ts +7 -4616
  370. package/src/models/managerretryresponseprovidergkegateway2.ts +4681 -0
  371. package/src/models/managerretryresponseproviderunion2.ts +10 -4687
  372. package/src/models/memoryunit5.ts +94 -43
  373. package/src/models/newdeploymentrequest.ts +50 -0
  374. package/src/models/operations/acceptremoteoperatorpermissions.ts +1 -1
  375. package/src/models/operations/approveaccessrequest.ts +3 -3
  376. package/src/models/operations/createaccessrequest.ts +3 -3
  377. package/src/models/operations/denyaccessrequest.ts +3 -3
  378. package/src/models/operations/getaccessrequest.ts +3 -3
  379. package/src/models/operations/getlivedebuggrant.ts +3 -3
  380. package/src/models/operations/getremoteoperatorprojectsummary.ts +5 -5
  381. package/src/models/operations/listaccessrequests.ts +3 -3
  382. package/src/models/operations/listoperationsplugins.ts +6 -0
  383. package/src/models/operations/plandeploymentcompute.ts +50 -0
  384. package/src/models/operations/preparedeploymentstack.ts +50 -0
  385. package/src/models/operations/queueaccessrequest.ts +3 -3
  386. package/src/models/operations/revokeaccessrequest.ts +3 -3
  387. package/src/models/operationsplugin.ts +2 -2
  388. package/src/models/persistimporteddeploymentrequest.ts +44 -8
  389. package/src/models/persistimporteddeploymentrequestpendingpreparedstackcustomsettingsunion.ts +6 -5738
  390. package/src/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.ts +5746 -0
  391. package/src/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.ts +7043 -0
  392. package/src/models/persistimporteddeploymentrequestpreparedstackoverridestackconditionunion.ts +6 -7019
  393. package/src/models/publishoperationspluginrequest.ts +61 -0
  394. package/src/models/publishoperationspluginresponse.ts +4 -4
  395. package/src/models/releaseinfotypestringlist.ts +4 -4849
  396. package/src/models/renderoperatorecscloudformationrequest.ts +2 -2
  397. package/src/models/stacksettings.ts +46 -0
  398. package/src/models/synclistresponse.ts +41 -7
  399. package/src/models/synclistresponsependingpreparedstacktypeenvenum.ts +4583 -0
  400. package/src/models/synclistresponsependingpreparedstacktypeunion.ts +5 -4569
  401. package/src/models/synclistresponsepreparedstackoperations.ts +5899 -0
  402. package/src/models/synclistresponsepreparedstackoperationsunion.ts +5 -5891
  403. package/src/models/syncreconcilerequestdataunion2.ts +223 -89
  404. package/src/models/syncreconcilerequestlifecycle19.ts +167 -68
  405. package/src/models/targetdeployment.ts +13 -3
  406. package/src/models/targetdeploymentconfig.ts +4878 -0
  407. package/src/models/updatedeploymentcomputerequest.ts +53 -0
  408. package/src/react-query/operationsGetPolicy.ts +4 -0
  409. package/src/react-query/operationsInvoke.ts +1 -1
  410. package/src/react-query/operationsListPlugins.core.ts +5 -2
  411. package/src/react-query/operationsListPlugins.ts +6 -2
  412. package/src/react-query/operationsPublishPlugin.ts +1 -1
  413. package/src/react-query/operationsSetBuiltinPlugins.ts +6 -8
  414. package/src/react-query/operationsSetPluginEnabled.ts +2 -0
  415. package/src/react-query/operationsUpdatePolicy.ts +6 -8
  416. package/src/react-query/operatorManifestsRenderOperatorEcsCloudFormation.ts +1 -1
  417. package/src/react-query/projectsAcceptRemoteOperatorPermissions.ts +1 -1
  418. package/src/sdk/operations.ts +66 -66
  419. package/src/sdk/operatormanifests.ts +1 -1
  420. package/src/sdk/projects.ts +1 -1
@@ -1,4849 +1,4 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4";
6
- import { remap as remap$ } from "../lib/primitives.js";
7
- import { safeParse } from "../lib/schemas.js";
8
- import { ClosedEnum } from "../types/enums.js";
9
- import { Result as SafeParseResult } from "../types/fp.js";
10
- import { SDKValidationError } from "./errors/sdkvalidationerror.js";
11
- import {
12
- ExternalBindingUnion,
13
- ExternalBindingUnion$inboundSchema,
14
- } from "./externalbindingunion.js";
15
-
16
- /**
17
- * Represents the target cloud platform.
18
- */
19
- export const TargetDeploymentBasePlatformEnum = {
20
- Aws: "aws",
21
- Gcp: "gcp",
22
- Azure: "azure",
23
- Kubernetes: "kubernetes",
24
- Machines: "machines",
25
- Local: "local",
26
- Test: "test",
27
- } as const;
28
- /**
29
- * Represents the target cloud platform.
30
- */
31
- export type TargetDeploymentBasePlatformEnum = ClosedEnum<
32
- typeof TargetDeploymentBasePlatformEnum
33
- >;
34
-
35
- export type TargetDeploymentBasePlatformUnion =
36
- | TargetDeploymentBasePlatformEnum
37
- | string;
38
-
39
- /**
40
- * Configuration for a single container worker cluster.
41
- *
42
- * @remarks
43
- *
44
- * Contains the cluster ID and management token needed to interact with
45
- * the managed container control plane API for container operations.
46
- */
47
- export type TargetDeploymentClusters = {
48
- /**
49
- * Cluster ID (deterministic: workspace/project/deployment/resourceid)
50
- */
51
- clusterId: string;
52
- /**
53
- * Management token for API access (hm_...)
54
- *
55
- * @remarks
56
- * Used by alien-deployment controllers to create/update containers
57
- */
58
- managementToken: string;
59
- };
60
-
61
- /**
62
- * AWS Horizon machine image catalog.
63
- */
64
- export type TargetDeploymentHorizonMachineImageAws = {
65
- /**
66
- * AMI IDs by architecture, then AWS region.
67
- */
68
- amis: { [k: string]: { [k: string]: string } };
69
- };
70
-
71
- export type TargetDeploymentHorizonMachineImageAwsUnion =
72
- | TargetDeploymentHorizonMachineImageAws
73
- | string;
74
-
75
- /**
76
- * Azure Horizon machine image entry.
77
- */
78
- export type TargetDeploymentAzureImages = {
79
- /**
80
- * Azure Compute Gallery image version ID.
81
- */
82
- imageVersionId: string;
83
- };
84
-
85
- /**
86
- * Azure Horizon machine image catalog.
87
- */
88
- export type HorizonMachineImageAzureConfig = {
89
- /**
90
- * Images by architecture.
91
- */
92
- images: { [k: string]: TargetDeploymentAzureImages };
93
- };
94
-
95
- export type HorizonMachineImageConfigAzureUnion =
96
- | HorizonMachineImageAzureConfig
97
- | string;
98
-
99
- /**
100
- * Base image metadata for the Horizon machine image.
101
- */
102
- export type TargetDeploymentBaseImage = {
103
- /**
104
- * Base OS image name.
105
- */
106
- name: string;
107
- /**
108
- * Base OS image version or channel.
109
- */
110
- version: string;
111
- };
112
-
113
- /**
114
- * GCP Horizon machine image entry.
115
- */
116
- export type TargetDeploymentGcpImages = {
117
- /**
118
- * Source image self link or image-family URL.
119
- */
120
- sourceImage: string;
121
- };
122
-
123
- /**
124
- * GCP Horizon machine image catalog.
125
- */
126
- export type HorizonMachineImageGcpConfig = {
127
- /**
128
- * Images by architecture.
129
- */
130
- images: { [k: string]: TargetDeploymentGcpImages };
131
- };
132
-
133
- export type HorizonMachineImageConfigGcpUnion =
134
- | HorizonMachineImageGcpConfig
135
- | string;
136
-
137
- /**
138
- * Download artifact for one horizond release platform.
139
- */
140
- export type TargetDeploymentHorizondArtifacts = {
141
- /**
142
- * Runtime isolation capability generation of the immutable artifact, not live readiness.
143
- */
144
- runtimeIsolationGeneration?: number | undefined;
145
- /**
146
- * SHA-256 digest for the artifact payload.
147
- */
148
- sha256: string;
149
- /**
150
- * HTTPS URL for the artifact.
151
- */
152
- url: string;
153
- };
154
-
155
- /**
156
- * Horizon machine image catalog.
157
- *
158
- * @remarks
159
- *
160
- * Platform resolves concrete provider images from this catalog during rollout.
161
- */
162
- export type TargetDeploymentHorizonMachineImage = {
163
- aws?: TargetDeploymentHorizonMachineImageAws | string | null | undefined;
164
- azure?: HorizonMachineImageAzureConfig | string | null | undefined;
165
- /**
166
- * Base image metadata for the Horizon machine image.
167
- */
168
- baseImage: TargetDeploymentBaseImage;
169
- /**
170
- * Logical image channel, such as prod, staging, or canary.
171
- */
172
- channel: string;
173
- /**
174
- * Image manifest creation timestamp.
175
- */
176
- createdAt: string;
177
- gcp?: HorizonMachineImageGcpConfig | string | null | undefined;
178
- /**
179
- * Git commit SHA used to build the image.
180
- */
181
- gitSha: string;
182
- /**
183
- * Per-architecture horizond artifacts by release-platform key.
184
- */
185
- horizondArtifacts: { [k: string]: TargetDeploymentHorizondArtifacts };
186
- /**
187
- * horizond daemon version baked into the image.
188
- */
189
- horizondVersion: string;
190
- /**
191
- * Published immutable machine image version.
192
- */
193
- machineImageVersion: string;
194
- /**
195
- * Runtime isolation capability generation of the immutable artifact, not live readiness.
196
- */
197
- runtimeIsolationGeneration?: number | undefined;
198
- };
199
-
200
- export type TargetDeploymentHorizonMachineImageUnion =
201
- | TargetDeploymentHorizonMachineImage
202
- | string;
203
-
204
- export const TargetDeploymentComputeBackendType = {
205
- Horizon: "horizon",
206
- } as const;
207
- export type TargetDeploymentComputeBackendType = ClosedEnum<
208
- typeof TargetDeploymentComputeBackendType
209
- >;
210
-
211
- /**
212
- * Compute backend for Container and Worker resources.
213
- *
214
- * @remarks
215
- *
216
- * Determines how compute workloads are orchestrated on cloud platforms.
217
- * When None, the platform default is used for cloud platforms.
218
- */
219
- export type TargetDeploymentComputeBackendHorizon = {
220
- /**
221
- * Cluster configurations (one per ComputeCluster resource)
222
- *
223
- * @remarks
224
- * Key: ComputeCluster resource ID from stack
225
- * Value: Cluster ID and management token for that cluster
226
- */
227
- clusters: { [k: string]: TargetDeploymentClusters };
228
- horizonMachineImage?:
229
- | TargetDeploymentHorizonMachineImage
230
- | string
231
- | null
232
- | undefined;
233
- /**
234
- * Horizon control-plane API base URL.
235
- */
236
- url: string;
237
- type: TargetDeploymentComputeBackendType;
238
- };
239
-
240
- export type TargetDeploymentComputeBackendUnion =
241
- | TargetDeploymentComputeBackendHorizon
242
- | string;
243
-
244
- /**
245
- * Certificate status in the certificate lifecycle
246
- */
247
- export const TargetDeploymentAliasCertificateStatus = {
248
- Pending: "pending",
249
- Issued: "issued",
250
- Renewing: "renewing",
251
- RenewalFailed: "renewal-failed",
252
- Failed: "failed",
253
- Deleting: "deleting",
254
- } as const;
255
- /**
256
- * Certificate status in the certificate lifecycle
257
- */
258
- export type TargetDeploymentAliasCertificateStatus = ClosedEnum<
259
- typeof TargetDeploymentAliasCertificateStatus
260
- >;
261
-
262
- /**
263
- * DNS record status in the DNS lifecycle
264
- */
265
- export const TargetDeploymentAliasDnsStatus = {
266
- Pending: "pending",
267
- Active: "active",
268
- Updating: "updating",
269
- Deleting: "deleting",
270
- Failed: "failed",
271
- } as const;
272
- /**
273
- * DNS record status in the DNS lifecycle
274
- */
275
- export type TargetDeploymentAliasDnsStatus = ClosedEnum<
276
- typeof TargetDeploymentAliasDnsStatus
277
- >;
278
-
279
- /**
280
- * Certificate and DNS metadata for a managed hostname.
281
- *
282
- * @remarks
283
- *
284
- * Includes decrypted certificate data for issued certificates.
285
- * Private keys are deployment-scoped secrets (like environment variables).
286
- */
287
- export type TargetDeploymentAlias = {
288
- /**
289
- * Full PEM certificate chain (only present if status is "issued").
290
- */
291
- certificateChain?: string | null | undefined;
292
- /**
293
- * Certificate ID (for tracking/logging).
294
- */
295
- certificateId: string;
296
- /**
297
- * Certificate status in the certificate lifecycle
298
- */
299
- certificateStatus: TargetDeploymentAliasCertificateStatus;
300
- /**
301
- * Last DNS error message. Present when DNS previously failed, even if status
302
- *
303
- * @remarks
304
- * was reset to pending for retry. Used to surface actionable error context
305
- * in WaitingForDns failure messages.
306
- */
307
- dnsError?: string | null | undefined;
308
- /**
309
- * DNS record status in the DNS lifecycle
310
- */
311
- dnsStatus: TargetDeploymentAliasDnsStatus;
312
- /**
313
- * Fully qualified domain name.
314
- */
315
- fqdn: string;
316
- /**
317
- * ISO 8601 timestamp when certificate was issued (for renewal detection).
318
- */
319
- issuedAt?: string | null | undefined;
320
- /**
321
- * Decrypted private key (only present if status is "issued").
322
- */
323
- privateKey?: string | null | undefined;
324
- };
325
-
326
- /**
327
- * Certificate status in the certificate lifecycle
328
- */
329
- export const TargetDeploymentCertificateStatus = {
330
- Pending: "pending",
331
- Issued: "issued",
332
- Renewing: "renewing",
333
- RenewalFailed: "renewal-failed",
334
- Failed: "failed",
335
- Deleting: "deleting",
336
- } as const;
337
- /**
338
- * Certificate status in the certificate lifecycle
339
- */
340
- export type TargetDeploymentCertificateStatus = ClosedEnum<
341
- typeof TargetDeploymentCertificateStatus
342
- >;
343
-
344
- /**
345
- * DNS record status in the DNS lifecycle
346
- */
347
- export const TargetDeploymentDnsStatus = {
348
- Pending: "pending",
349
- Active: "active",
350
- Updating: "updating",
351
- Deleting: "deleting",
352
- Failed: "failed",
353
- } as const;
354
- /**
355
- * DNS record status in the DNS lifecycle
356
- */
357
- export type TargetDeploymentDnsStatus = ClosedEnum<
358
- typeof TargetDeploymentDnsStatus
359
- >;
360
-
361
- /**
362
- * Certificate status in the certificate lifecycle
363
- */
364
- export const TargetDeploymentEndpointsCertificateStatus = {
365
- Pending: "pending",
366
- Issued: "issued",
367
- Renewing: "renewing",
368
- RenewalFailed: "renewal-failed",
369
- Failed: "failed",
370
- Deleting: "deleting",
371
- } as const;
372
- /**
373
- * Certificate status in the certificate lifecycle
374
- */
375
- export type TargetDeploymentEndpointsCertificateStatus = ClosedEnum<
376
- typeof TargetDeploymentEndpointsCertificateStatus
377
- >;
378
-
379
- /**
380
- * DNS record status in the DNS lifecycle
381
- */
382
- export const TargetDeploymentEndpointsDnsStatus = {
383
- Pending: "pending",
384
- Active: "active",
385
- Updating: "updating",
386
- Deleting: "deleting",
387
- Failed: "failed",
388
- } as const;
389
- /**
390
- * DNS record status in the DNS lifecycle
391
- */
392
- export type TargetDeploymentEndpointsDnsStatus = ClosedEnum<
393
- typeof TargetDeploymentEndpointsDnsStatus
394
- >;
395
-
396
- /**
397
- * Certificate and DNS metadata for a managed hostname.
398
- *
399
- * @remarks
400
- *
401
- * Includes decrypted certificate data for issued certificates.
402
- * Private keys are deployment-scoped secrets (like environment variables).
403
- */
404
- export type TargetDeploymentEndpoints = {
405
- /**
406
- * Full PEM certificate chain (only present if status is "issued").
407
- */
408
- certificateChain?: string | null | undefined;
409
- /**
410
- * Certificate ID (for tracking/logging).
411
- */
412
- certificateId: string;
413
- /**
414
- * Certificate status in the certificate lifecycle
415
- */
416
- certificateStatus: TargetDeploymentEndpointsCertificateStatus;
417
- /**
418
- * Last DNS error message. Present when DNS previously failed, even if status
419
- *
420
- * @remarks
421
- * was reset to pending for retry. Used to surface actionable error context
422
- * in WaitingForDns failure messages.
423
- */
424
- dnsError?: string | null | undefined;
425
- /**
426
- * DNS record status in the DNS lifecycle
427
- */
428
- dnsStatus: TargetDeploymentEndpointsDnsStatus;
429
- /**
430
- * Fully qualified domain name.
431
- */
432
- fqdn: string;
433
- /**
434
- * ISO 8601 timestamp when certificate was issued (for renewal detection).
435
- */
436
- issuedAt?: string | null | undefined;
437
- /**
438
- * Decrypted private key (only present if status is "issued").
439
- */
440
- privateKey?: string | null | undefined;
441
- };
442
-
443
- /**
444
- * Certificate and DNS metadata for a public resource.
445
- *
446
- * @remarks
447
- *
448
- * The direct fields describe the primary endpoint hostname. `endpoints`
449
- * contains endpoint-scoped metadata keyed by endpoint name. `aliases` contains
450
- * additional managed hostnames that route directly to the primary endpoint.
451
- */
452
- export type ConfigResources = {
453
- /**
454
- * Additional managed hostnames for the resource.
455
- */
456
- aliases?: Array<TargetDeploymentAlias> | undefined;
457
- /**
458
- * Full PEM certificate chain (only present if status is "issued").
459
- */
460
- certificateChain?: string | null | undefined;
461
- /**
462
- * Certificate ID (for tracking/logging).
463
- */
464
- certificateId: string;
465
- /**
466
- * Certificate status in the certificate lifecycle
467
- */
468
- certificateStatus: TargetDeploymentCertificateStatus;
469
- /**
470
- * Last DNS error message.
471
- */
472
- dnsError?: string | null | undefined;
473
- /**
474
- * DNS record status in the DNS lifecycle
475
- */
476
- dnsStatus: TargetDeploymentDnsStatus;
477
- /**
478
- * Endpoint-scoped metadata keyed by endpoint name.
479
- */
480
- endpoints?: { [k: string]: TargetDeploymentEndpoints } | undefined;
481
- /**
482
- * Fully qualified domain name.
483
- */
484
- fqdn: string;
485
- /**
486
- * ISO 8601 timestamp when certificate was issued (for renewal detection).
487
- */
488
- issuedAt?: string | null | undefined;
489
- /**
490
- * Decrypted private key (only present if status is "issued").
491
- */
492
- privateKey?: string | null | undefined;
493
- };
494
-
495
- /**
496
- * Domain metadata for auto-managed public resources (no private keys).
497
- */
498
- export type TargetDeploymentDomainMetadata = {
499
- /**
500
- * Base domain for auto-generated domains (e.g., "vpc.direct").
501
- */
502
- baseDomain: string;
503
- /**
504
- * Hosted zone ID for DNS records.
505
- */
506
- hostedZoneId: string;
507
- /**
508
- * Deployment public subdomain (e.g., "k8f2j3").
509
- */
510
- publicSubdomain: string;
511
- /**
512
- * Metadata per resource ID.
513
- */
514
- resources: { [k: string]: ConfigResources };
515
- };
516
-
517
- export type TargetDeploymentDomainMetadataUnion =
518
- | TargetDeploymentDomainMetadata
519
- | string;
520
-
521
- /**
522
- * Type of environment variable
523
- */
524
- export const TargetDeploymentEnvironmentVariablesType = {
525
- Plain: "plain",
526
- Secret: "secret",
527
- } as const;
528
- /**
529
- * Type of environment variable
530
- */
531
- export type TargetDeploymentEnvironmentVariablesType = ClosedEnum<
532
- typeof TargetDeploymentEnvironmentVariablesType
533
- >;
534
-
535
- /**
536
- * Environment variable for deployment
537
- */
538
- export type TargetDeploymentVariable = {
539
- /**
540
- * Variable name
541
- */
542
- name: string;
543
- /**
544
- * Target resource patterns (null = all resources, Some = wildcard patterns)
545
- */
546
- targetResources?: Array<string> | null | undefined;
547
- /**
548
- * Type of environment variable
549
- */
550
- type: TargetDeploymentEnvironmentVariablesType;
551
- /**
552
- * Variable value (decrypted - deployment has access to decryption keys)
553
- */
554
- value: string;
555
- };
556
-
557
- /**
558
- * Snapshot of environment variables at a point in time
559
- */
560
- export type TargetDeploymentEnvironmentVariables = {
561
- /**
562
- * ISO 8601 timestamp when snapshot was created
563
- */
564
- createdAt: string;
565
- /**
566
- * Deterministic hash of all variables (for change detection)
567
- */
568
- hash: string;
569
- /**
570
- * Environment variables in the snapshot
571
- */
572
- variables: Array<TargetDeploymentVariable>;
573
- };
574
-
575
- export const ConfigPlatformKubernetes = {
576
- Kubernetes: "kubernetes",
577
- } as const;
578
- export type ConfigPlatformKubernetes = ClosedEnum<
579
- typeof ConfigPlatformKubernetes
580
- >;
581
-
582
- export type TargetDeploymentManagementConfigKubernetes = {
583
- platform: ConfigPlatformKubernetes;
584
- };
585
-
586
- export const ConfigPlatformAzure = {
587
- Azure: "azure",
588
- } as const;
589
- export type ConfigPlatformAzure = ClosedEnum<typeof ConfigPlatformAzure>;
590
-
591
- /**
592
- * Azure management configuration extracted from stack settings
593
- */
594
- export type TargetDeploymentManagementConfigAzure = {
595
- /**
596
- * The managing Azure Tenant ID for cross-tenant access
597
- */
598
- managingTenantId: string;
599
- /**
600
- * OIDC issuer URL trusted by the target-side managed identity.
601
- */
602
- oidcIssuer: string;
603
- /**
604
- * OIDC subject claim trusted by the target-side managed identity.
605
- */
606
- oidcSubject: string;
607
- platform: ConfigPlatformAzure;
608
- };
609
-
610
- export const ConfigPlatformGcp = {
611
- Gcp: "gcp",
612
- } as const;
613
- export type ConfigPlatformGcp = ClosedEnum<typeof ConfigPlatformGcp>;
614
-
615
- /**
616
- * GCP management configuration extracted from stack settings
617
- */
618
- export type TargetDeploymentManagementConfigGcp = {
619
- /**
620
- * Service account email for management roles
621
- */
622
- serviceAccountEmail: string;
623
- platform: ConfigPlatformGcp;
624
- };
625
-
626
- export const ConfigPlatformAws = {
627
- Aws: "aws",
628
- } as const;
629
- export type ConfigPlatformAws = ClosedEnum<typeof ConfigPlatformAws>;
630
-
631
- /**
632
- * AWS management configuration extracted from stack settings
633
- */
634
- export type TargetDeploymentManagementConfigAws = {
635
- /**
636
- * The managing AWS IAM role ARN that can assume cross-account roles
637
- */
638
- managingRoleArn: string;
639
- platform: ConfigPlatformAws;
640
- };
641
-
642
- export type TargetDeploymentManagementConfigUnion =
643
- | TargetDeploymentManagementConfigAzure
644
- | TargetDeploymentManagementConfigAws
645
- | TargetDeploymentManagementConfigGcp
646
- | TargetDeploymentManagementConfigKubernetes
647
- | string;
648
-
649
- /**
650
- * OTLP log export configuration for a deployment.
651
- *
652
- * @remarks
653
- *
654
- * When set, injected compute runtimes export captured application logs
655
- * through the given endpoint via OTLP/HTTP; which resources are injected
656
- * is platform-dependent. Workers read auth headers from a runtime-only
657
- * secret. Runtime-less Containers and Daemons receive standard OTEL auth
658
- * variables only at the final hosting boundary: Local passes them directly
659
- * to the process and Kubernetes projects them from a per-workload Secret.
660
- */
661
- export type TargetDeploymentMonitoring = {
662
- /**
663
- * Auth header value in "key=value,..." format.
664
- *
665
- * @remarks
666
- * Example: "authorization=Bearer <write-token>"
667
- */
668
- logsAuthHeader: string;
669
- /**
670
- * Full OTLP logs endpoint URL.
671
- *
672
- * @remarks
673
- * Example: "https://<manager-host>/v1/logs"
674
- */
675
- logsEndpoint: string;
676
- /**
677
- * Auth header value for the metrics endpoint in "key=value,..." format (optional).
678
- *
679
- * @remarks
680
- *
681
- * When absent, `logs_auth_header` is reused for metrics -- suitable when the same
682
- * credential covers both signals. When present (e.g. Axiom with separate datasets),
683
- * this value is used exclusively for metrics.
684
- *
685
- * Example: "authorization=Bearer <token>,x-axiom-dataset=<metrics-dataset>"
686
- */
687
- metricsAuthHeader?: string | null | undefined;
688
- /**
689
- * Full OTLP metrics endpoint URL (optional).
690
- *
691
- * @remarks
692
- * When set, the worker runtime exports its own VM/container orchestration metrics here.
693
- * Example: "https://api.axiom.co/v1/metrics"
694
- */
695
- metricsEndpoint?: string | null | undefined;
696
- /**
697
- * Resource attributes attached to every OTLP signal emitted for this deployment.
698
- *
699
- * @remarks
700
- *
701
- * Platform managers use this for stable identity such as `alien.workspace_id`,
702
- * `alien.project_id`, `alien.deployment_group_id`, and `alien.deployment_id`.
703
- * Runtime-specific resource attributes such as `service.name` remain owned by
704
- * the runtime/exporter.
705
- */
706
- resourceAttributes?: { [k: string]: string } | undefined;
707
- };
708
-
709
- export type TargetDeploymentMonitoringUnion =
710
- | TargetDeploymentMonitoring
711
- | string;
712
-
713
- /**
714
- * Failure-domain policy selected for a compute pool.
715
- */
716
- export type TargetDeploymentFailureDomains2 = {
717
- /**
718
- * Concrete provider domains selected during setup.
719
- *
720
- * @remarks
721
- * Empty delegates deterministic selection to the provider setup implementation.
722
- */
723
- selectedFailureDomains?: Array<string> | undefined;
724
- /**
725
- * Number of distinct failure domains across which new stateful replicas may be spread.
726
- */
727
- spread: number;
728
- };
729
-
730
- export type TargetDeploymentFailureDomainsUnion2 =
731
- | TargetDeploymentFailureDomains2
732
- | string;
733
-
734
- export type TargetDeploymentPoolsAutoscale = {
735
- failureDomains?: TargetDeploymentFailureDomains2 | string | null | undefined;
736
- /**
737
- * Provider machine type selected for this deployment.
738
- */
739
- machine?: string | null | undefined;
740
- /**
741
- * Maximum machine count.
742
- */
743
- max: number;
744
- /**
745
- * Minimum machine count.
746
- */
747
- min: number;
748
- mode: "autoscale";
749
- };
750
-
751
- /**
752
- * Failure-domain policy selected for a compute pool.
753
- */
754
- export type TargetDeploymentFailureDomains1 = {
755
- /**
756
- * Concrete provider domains selected during setup.
757
- *
758
- * @remarks
759
- * Empty delegates deterministic selection to the provider setup implementation.
760
- */
761
- selectedFailureDomains?: Array<string> | undefined;
762
- /**
763
- * Number of distinct failure domains across which new stateful replicas may be spread.
764
- */
765
- spread: number;
766
- };
767
-
768
- export type TargetDeploymentFailureDomainsUnion1 =
769
- | TargetDeploymentFailureDomains1
770
- | string;
771
-
772
- export type TargetDeploymentPoolsFixed = {
773
- failureDomains?: TargetDeploymentFailureDomains1 | string | null | undefined;
774
- /**
775
- * Provider machine type selected for this deployment.
776
- */
777
- machine?: string | null | undefined;
778
- /**
779
- * Number of machines to run.
780
- */
781
- machines: number;
782
- mode: "fixed";
783
- };
784
-
785
- /**
786
- * User-selected deployment settings for one compute pool.
787
- */
788
- export type TargetDeploymentPoolsUnion =
789
- | TargetDeploymentPoolsFixed
790
- | TargetDeploymentPoolsAutoscale;
791
-
792
- /**
793
- * Deployment-time compute choices for Alien-managed compute pools.
794
- *
795
- * @remarks
796
- *
797
- * Application source declares portable pool requirements. This settings
798
- * object stores the concrete choices made for one deployment, such as the
799
- * provider machine type and selected machine counts.
800
- */
801
- export type TargetDeploymentCompute = {
802
- /**
803
- * Selected compute choices keyed by pool ID.
804
- */
805
- pools?: {
806
- [k: string]: TargetDeploymentPoolsFixed | TargetDeploymentPoolsAutoscale;
807
- } | undefined;
808
- };
809
-
810
- export type TargetDeploymentComputeUnion = TargetDeploymentCompute | string;
811
-
812
- /**
813
- * Deployment model: how updates are delivered to the remote environment.
814
- */
815
- export const TargetDeploymentDeploymentModel = {
816
- Push: "push",
817
- Pull: "pull",
818
- } as const;
819
- /**
820
- * Deployment model: how updates are delivered to the remote environment.
821
- */
822
- export type TargetDeploymentDeploymentModel = ClosedEnum<
823
- typeof TargetDeploymentDeploymentModel
824
- >;
825
-
826
- export type TargetDeploymentAwsStackSettings = {
827
- certificateArn: string;
828
- };
829
-
830
- export type TargetDeploymentStackSettingsAwsUnion =
831
- | TargetDeploymentAwsStackSettings
832
- | string;
833
-
834
- export type AzureConfigStackSettings = {
835
- keyVaultCertificateId: string;
836
- keyVaultResourceId?: string | null | undefined;
837
- };
838
-
839
- export type ConfigStackSettingsAzureUnion = AzureConfigStackSettings | string;
840
-
841
- export type GcpConfigStackSettings = {
842
- certificateName: string;
843
- };
844
-
845
- export type ConfigStackSettingsGcpUnion = GcpConfigStackSettings | string;
846
-
847
- /**
848
- * Namespace-scoped Kubernetes TLS Secret reference.
849
- */
850
- export type TargetDeploymentTlsSecretRef = {
851
- /**
852
- * Secret namespace. Defaults to the release namespace when omitted.
853
- */
854
- namespace?: string | null | undefined;
855
- /**
856
- * Secret name.
857
- */
858
- secretName: string;
859
- };
860
-
861
- export type TargetDeploymentDomainsKubernetes = {
862
- /**
863
- * Namespace-scoped Kubernetes TLS Secret reference.
864
- */
865
- tlsSecretRef: TargetDeploymentTlsSecretRef;
866
- };
867
-
868
- export type TargetDeploymentDomainsKubernetesUnion =
869
- | TargetDeploymentDomainsKubernetes
870
- | string;
871
-
872
- /**
873
- * Platform-specific certificate references for custom domains.
874
- */
875
- export type TargetDeploymentDomainsCertificate = {
876
- aws?: TargetDeploymentAwsStackSettings | string | null | undefined;
877
- azure?: AzureConfigStackSettings | string | null | undefined;
878
- gcp?: GcpConfigStackSettings | string | null | undefined;
879
- kubernetes?: TargetDeploymentDomainsKubernetes | string | null | undefined;
880
- };
881
-
882
- /**
883
- * Custom domain configuration for a single resource.
884
- */
885
- export type TargetDeploymentCustomDomains = {
886
- /**
887
- * Platform-specific certificate references for custom domains.
888
- */
889
- certificate: TargetDeploymentDomainsCertificate;
890
- /**
891
- * Fully qualified domain name to use.
892
- */
893
- domain: string;
894
- };
895
-
896
- export const TargetDeploymentModeLoadBalancer = {
897
- LoadBalancer: "loadBalancer",
898
- } as const;
899
- export type TargetDeploymentModeLoadBalancer = ClosedEnum<
900
- typeof TargetDeploymentModeLoadBalancer
901
- >;
902
-
903
- export type TargetDeploymentPublicEndpointTargetLoadBalancer = {
904
- /**
905
- * DNS name or URL for the external load balancer.
906
- */
907
- cnameTarget: string;
908
- mode: TargetDeploymentModeLoadBalancer;
909
- };
910
-
911
- export const TargetDeploymentModeMachineAddresses = {
912
- MachineAddresses: "machineAddresses",
913
- } as const;
914
- export type TargetDeploymentModeMachineAddresses = ClosedEnum<
915
- typeof TargetDeploymentModeMachineAddresses
916
- >;
917
-
918
- export type TargetDeploymentPublicEndpointTargetMachineAddresses = {
919
- mode: TargetDeploymentModeMachineAddresses;
920
- };
921
-
922
- export type TargetDeploymentPublicEndpointTargetUnion =
923
- | TargetDeploymentPublicEndpointTargetLoadBalancer
924
- | TargetDeploymentPublicEndpointTargetMachineAddresses
925
- | string;
926
-
927
- /**
928
- * Domain configuration for the stack.
929
- *
930
- * @remarks
931
- *
932
- * When `custom_domains` is set, the specified resources use customer-provided
933
- * domains and certificates. Otherwise, Alien auto-generates domains.
934
- */
935
- export type TargetDeploymentDomains = {
936
- /**
937
- * Custom domain configuration per resource ID.
938
- */
939
- customDomains?:
940
- | { [k: string]: TargetDeploymentCustomDomains }
941
- | null
942
- | undefined;
943
- publicEndpointTarget?:
944
- | TargetDeploymentPublicEndpointTargetLoadBalancer
945
- | TargetDeploymentPublicEndpointTargetMachineAddresses
946
- | string
947
- | null
948
- | undefined;
949
- };
950
-
951
- export type TargetDeploymentDomainsUnion = TargetDeploymentDomains | string;
952
-
953
- /**
954
- * Reachability of the deployment's public endpoints, fixed at setup.
955
- */
956
- export const TargetDeploymentEndpointAccess = {
957
- Internet: "internet",
958
- Private: "private",
959
- } as const;
960
- /**
961
- * Reachability of the deployment's public endpoints, fixed at setup.
962
- */
963
- export type TargetDeploymentEndpointAccess = ClosedEnum<
964
- typeof TargetDeploymentEndpointAccess
965
- >;
966
-
967
- /**
968
- * How heartbeat health checks are handled.
969
- */
970
- export const TargetDeploymentHeartbeats = {
971
- Off: "off",
972
- On: "on",
973
- } as const;
974
- /**
975
- * How heartbeat health checks are handled.
976
- */
977
- export type TargetDeploymentHeartbeats = ClosedEnum<
978
- typeof TargetDeploymentHeartbeats
979
- >;
980
-
981
- /**
982
- * Optional provider-specific identity for a cloud-backed Kubernetes cluster.
983
- */
984
- export type TargetDeploymentCloud = {
985
- accountId?: string | null | undefined;
986
- clusterId?: string | null | undefined;
987
- clusterName?: string | null | undefined;
988
- projectId?: string | null | undefined;
989
- region?: string | null | undefined;
990
- resourceGroup?: string | null | undefined;
991
- subscriptionId?: string | null | undefined;
992
- };
993
-
994
- export type TargetDeploymentCloudUnion = TargetDeploymentCloud | string;
995
-
996
- /**
997
- * Ownership model for the Kubernetes cluster.
998
- */
999
- export const TargetDeploymentOwnership = {
1000
- Managed: "managed",
1001
- Existing: "existing",
1002
- External: "external",
1003
- } as const;
1004
- /**
1005
- * Ownership model for the Kubernetes cluster.
1006
- */
1007
- export type TargetDeploymentOwnership = ClosedEnum<
1008
- typeof TargetDeploymentOwnership
1009
- >;
1010
-
1011
- /**
1012
- * Kubernetes cluster setup settings.
1013
- */
1014
- export type TargetDeploymentCluster = {
1015
- cloud?: TargetDeploymentCloud | string | null | undefined;
1016
- /**
1017
- * Namespace where the Alien chart and application resources run.
1018
- */
1019
- namespace?: string | null | undefined;
1020
- /**
1021
- * Ownership model for the Kubernetes cluster.
1022
- */
1023
- ownership: TargetDeploymentOwnership;
1024
- };
1025
-
1026
- export type TargetDeploymentClusterUnion = TargetDeploymentCluster | string;
1027
-
1028
- export type TargetDeploymentCertificateNone2 = {
1029
- mode: "none";
1030
- };
1031
-
1032
- export type TargetDeploymentCertificateManagedTLSSecret2 = {
1033
- mode: "managedTlsSecret";
1034
- /**
1035
- * Secret name template. Runtime may substitute resource/deployment tokens.
1036
- */
1037
- secretNameTemplate: string;
1038
- };
1039
-
1040
- export type TargetDeploymentCertificateAwsAcmArn2 = {
1041
- /**
1042
- * Existing ACM certificate ARN.
1043
- */
1044
- certificateArn: string;
1045
- mode: "awsAcmArn";
1046
- };
1047
-
1048
- export type TargetDeploymentCertificateManagedAcmImport2 = {
1049
- mode: "managedAcmImport";
1050
- /**
1051
- * ACM region. Defaults to the deployment region when omitted.
1052
- */
1053
- region?: string | null | undefined;
1054
- /**
1055
- * Tags applied to runtime-imported ACM certificates.
1056
- */
1057
- tags?: { [k: string]: string } | undefined;
1058
- };
1059
-
1060
- /**
1061
- * Namespace-scoped Kubernetes TLS Secret reference.
1062
- */
1063
- export type TargetDeploymentCertificateTLSSecretRef2 = {
1064
- /**
1065
- * Secret namespace. Defaults to the release namespace when omitted.
1066
- */
1067
- namespace?: string | null | undefined;
1068
- /**
1069
- * Secret name.
1070
- */
1071
- secretName: string;
1072
- mode: "tlsSecretRef";
1073
- };
1074
-
1075
- /**
1076
- * Certificate publication or reference mode for Kubernetes public endpoints.
1077
- */
1078
- export type TargetDeploymentCertificateUnion2 =
1079
- | TargetDeploymentCertificateTLSSecretRef2
1080
- | TargetDeploymentCertificateManagedAcmImport2
1081
- | TargetDeploymentCertificateAwsAcmArn2
1082
- | TargetDeploymentCertificateManagedTLSSecret2
1083
- | TargetDeploymentCertificateNone2;
1084
-
1085
- export const TargetDeploymentModeCustom = {
1086
- Custom: "custom",
1087
- } as const;
1088
- export type TargetDeploymentModeCustom = ClosedEnum<
1089
- typeof TargetDeploymentModeCustom
1090
- >;
1091
-
1092
- export const TargetDeploymentProviderAzureApplicationGatewayForContainersEnum4 =
1093
- {
1094
- AzureApplicationGatewayForContainers:
1095
- "azureApplicationGatewayForContainers",
1096
- } as const;
1097
- export type TargetDeploymentProviderAzureApplicationGatewayForContainersEnum4 =
1098
- ClosedEnum<
1099
- typeof TargetDeploymentProviderAzureApplicationGatewayForContainersEnum4
1100
- >;
1101
-
1102
- export type TargetDeploymentProviderAzureApplicationGatewayForContainers4 = {
1103
- /**
1104
- * Optional ALB name when using BYO Application Gateway resources.
1105
- */
1106
- albName?: string | null | undefined;
1107
- /**
1108
- * Optional ALB namespace when using BYO Application Gateway resources.
1109
- */
1110
- albNamespace?: string | null | undefined;
1111
- /**
1112
- * Public or internal frontend exposure.
1113
- */
1114
- frontend: string;
1115
- provider: TargetDeploymentProviderAzureApplicationGatewayForContainersEnum4;
1116
- };
1117
-
1118
- export const TargetDeploymentProviderGkeGatewayEnum4 = {
1119
- GkeGateway: "gkeGateway",
1120
- } as const;
1121
- export type TargetDeploymentProviderGkeGatewayEnum4 = ClosedEnum<
1122
- typeof TargetDeploymentProviderGkeGatewayEnum4
1123
- >;
1124
-
1125
- export type TargetDeploymentProviderGkeGateway4 = {
1126
- provider: TargetDeploymentProviderGkeGatewayEnum4;
1127
- /**
1128
- * Optional static address name for the Gateway frontend.
1129
- */
1130
- staticAddressName?: string | null | undefined;
1131
- };
1132
-
1133
- export const TargetDeploymentProviderAwsAlbEnum4 = {
1134
- AwsAlb: "awsAlb",
1135
- } as const;
1136
- export type TargetDeploymentProviderAwsAlbEnum4 = ClosedEnum<
1137
- typeof TargetDeploymentProviderAwsAlbEnum4
1138
- >;
1139
-
1140
- export type TargetDeploymentProviderAwsAlb4 = {
1141
- /**
1142
- * Optional ALB IP address type, such as `dualstack`.
1143
- */
1144
- ipAddressType?: string | null | undefined;
1145
- provider: TargetDeploymentProviderAwsAlbEnum4;
1146
- /**
1147
- * Internet-facing or internal ALB scheme.
1148
- */
1149
- scheme: string;
1150
- /**
1151
- * Explicit subnet IDs when the profile cannot rely on controller discovery.
1152
- */
1153
- subnetIds?: Array<string> | undefined;
1154
- /**
1155
- * ALB target type, usually `ip`.
1156
- */
1157
- targetType: string;
1158
- };
1159
-
1160
- export type TargetDeploymentProviderUnion4 =
1161
- | TargetDeploymentProviderAwsAlb4
1162
- | TargetDeploymentProviderAzureApplicationGatewayForContainers4
1163
- | TargetDeploymentProviderGkeGateway4
1164
- | string;
1165
-
1166
- /**
1167
- * Shared Gateway API route profile values.
1168
- */
1169
- export type TargetDeploymentRouteGateway2 = {
1170
- /**
1171
- * Annotations applied to route objects.
1172
- */
1173
- annotations?: { [k: string]: string } | undefined;
1174
- /**
1175
- * Route controller identifier, for example a cloud Gateway controller.
1176
- */
1177
- controller?: string | null | undefined;
1178
- /**
1179
- * GatewayClass selected for generated Gateways.
1180
- */
1181
- gatewayClassName: string;
1182
- /**
1183
- * Labels applied to route objects.
1184
- */
1185
- labels?: { [k: string]: string } | undefined;
1186
- /**
1187
- * Listener port, usually 443.
1188
- */
1189
- listenerPort: number;
1190
- provider?:
1191
- | TargetDeploymentProviderAwsAlb4
1192
- | TargetDeploymentProviderAzureApplicationGatewayForContainers4
1193
- | TargetDeploymentProviderGkeGateway4
1194
- | string
1195
- | null
1196
- | undefined;
1197
- routeApi: "gateway";
1198
- };
1199
-
1200
- export const TargetDeploymentProviderAzureApplicationGatewayForContainersEnum3 =
1201
- {
1202
- AzureApplicationGatewayForContainers:
1203
- "azureApplicationGatewayForContainers",
1204
- } as const;
1205
- export type TargetDeploymentProviderAzureApplicationGatewayForContainersEnum3 =
1206
- ClosedEnum<
1207
- typeof TargetDeploymentProviderAzureApplicationGatewayForContainersEnum3
1208
- >;
1209
-
1210
- export type TargetDeploymentProviderAzureApplicationGatewayForContainers3 = {
1211
- /**
1212
- * Optional ALB name when using BYO Application Gateway resources.
1213
- */
1214
- albName?: string | null | undefined;
1215
- /**
1216
- * Optional ALB namespace when using BYO Application Gateway resources.
1217
- */
1218
- albNamespace?: string | null | undefined;
1219
- /**
1220
- * Public or internal frontend exposure.
1221
- */
1222
- frontend: string;
1223
- provider: TargetDeploymentProviderAzureApplicationGatewayForContainersEnum3;
1224
- };
1225
-
1226
- export const TargetDeploymentProviderGkeGatewayEnum3 = {
1227
- GkeGateway: "gkeGateway",
1228
- } as const;
1229
- export type TargetDeploymentProviderGkeGatewayEnum3 = ClosedEnum<
1230
- typeof TargetDeploymentProviderGkeGatewayEnum3
1231
- >;
1232
-
1233
- export type TargetDeploymentProviderGkeGateway3 = {
1234
- provider: TargetDeploymentProviderGkeGatewayEnum3;
1235
- /**
1236
- * Optional static address name for the Gateway frontend.
1237
- */
1238
- staticAddressName?: string | null | undefined;
1239
- };
1240
-
1241
- export const TargetDeploymentProviderAwsAlbEnum3 = {
1242
- AwsAlb: "awsAlb",
1243
- } as const;
1244
- export type TargetDeploymentProviderAwsAlbEnum3 = ClosedEnum<
1245
- typeof TargetDeploymentProviderAwsAlbEnum3
1246
- >;
1247
-
1248
- export type TargetDeploymentProviderAwsAlb3 = {
1249
- /**
1250
- * Optional ALB IP address type, such as `dualstack`.
1251
- */
1252
- ipAddressType?: string | null | undefined;
1253
- provider: TargetDeploymentProviderAwsAlbEnum3;
1254
- /**
1255
- * Internet-facing or internal ALB scheme.
1256
- */
1257
- scheme: string;
1258
- /**
1259
- * Explicit subnet IDs when the profile cannot rely on controller discovery.
1260
- */
1261
- subnetIds?: Array<string> | undefined;
1262
- /**
1263
- * ALB target type, usually `ip`.
1264
- */
1265
- targetType: string;
1266
- };
1267
-
1268
- export type TargetDeploymentProviderUnion3 =
1269
- | TargetDeploymentProviderAwsAlb3
1270
- | TargetDeploymentProviderAzureApplicationGatewayForContainers3
1271
- | TargetDeploymentProviderGkeGateway3
1272
- | string;
1273
-
1274
- /**
1275
- * Shared Ingress route profile values.
1276
- */
1277
- export type TargetDeploymentRouteIngress2 = {
1278
- /**
1279
- * Annotations applied to route objects.
1280
- */
1281
- annotations?: { [k: string]: string } | undefined;
1282
- /**
1283
- * Route controller identifier, for example `eks.amazonaws.com/alb`.
1284
- */
1285
- controller?: string | null | undefined;
1286
- /**
1287
- * `spec.ingressClassName` for generated Ingresses.
1288
- */
1289
- ingressClassName: string;
1290
- /**
1291
- * Labels applied to route objects.
1292
- */
1293
- labels?: { [k: string]: string } | undefined;
1294
- provider?:
1295
- | TargetDeploymentProviderAwsAlb3
1296
- | TargetDeploymentProviderAzureApplicationGatewayForContainers3
1297
- | TargetDeploymentProviderGkeGateway3
1298
- | string
1299
- | null
1300
- | undefined;
1301
- routeApi: "ingress";
1302
- };
1303
-
1304
- /**
1305
- * Kubernetes route API selected for public endpoints.
1306
- */
1307
- export type TargetDeploymentRouteUnion2 =
1308
- | TargetDeploymentRouteIngress2
1309
- | TargetDeploymentRouteGateway2;
1310
-
1311
- export type TargetDeploymentExposureCustom = {
1312
- /**
1313
- * Certificate publication or reference mode for Kubernetes public endpoints.
1314
- */
1315
- certificate:
1316
- | TargetDeploymentCertificateTLSSecretRef2
1317
- | TargetDeploymentCertificateManagedAcmImport2
1318
- | TargetDeploymentCertificateAwsAcmArn2
1319
- | TargetDeploymentCertificateManagedTLSSecret2
1320
- | TargetDeploymentCertificateNone2;
1321
- /**
1322
- * Hostname routed by the Kubernetes public endpoint.
1323
- */
1324
- domain: string;
1325
- mode: TargetDeploymentModeCustom;
1326
- /**
1327
- * Kubernetes route API selected for public endpoints.
1328
- */
1329
- route: TargetDeploymentRouteIngress2 | TargetDeploymentRouteGateway2;
1330
- };
1331
-
1332
- export type TargetDeploymentCertificateNone1 = {
1333
- mode: "none";
1334
- };
1335
-
1336
- export type TargetDeploymentCertificateManagedTLSSecret1 = {
1337
- mode: "managedTlsSecret";
1338
- /**
1339
- * Secret name template. Runtime may substitute resource/deployment tokens.
1340
- */
1341
- secretNameTemplate: string;
1342
- };
1343
-
1344
- export type TargetDeploymentCertificateAwsAcmArn1 = {
1345
- /**
1346
- * Existing ACM certificate ARN.
1347
- */
1348
- certificateArn: string;
1349
- mode: "awsAcmArn";
1350
- };
1351
-
1352
- export type TargetDeploymentCertificateManagedAcmImport1 = {
1353
- mode: "managedAcmImport";
1354
- /**
1355
- * ACM region. Defaults to the deployment region when omitted.
1356
- */
1357
- region?: string | null | undefined;
1358
- /**
1359
- * Tags applied to runtime-imported ACM certificates.
1360
- */
1361
- tags?: { [k: string]: string } | undefined;
1362
- };
1363
-
1364
- /**
1365
- * Namespace-scoped Kubernetes TLS Secret reference.
1366
- */
1367
- export type TargetDeploymentCertificateTLSSecretRef1 = {
1368
- /**
1369
- * Secret namespace. Defaults to the release namespace when omitted.
1370
- */
1371
- namespace?: string | null | undefined;
1372
- /**
1373
- * Secret name.
1374
- */
1375
- secretName: string;
1376
- mode: "tlsSecretRef";
1377
- };
1378
-
1379
- /**
1380
- * Certificate publication or reference mode for Kubernetes public endpoints.
1381
- */
1382
- export type TargetDeploymentCertificateUnion1 =
1383
- | TargetDeploymentCertificateTLSSecretRef1
1384
- | TargetDeploymentCertificateManagedAcmImport1
1385
- | TargetDeploymentCertificateAwsAcmArn1
1386
- | TargetDeploymentCertificateManagedTLSSecret1
1387
- | TargetDeploymentCertificateNone1;
1388
-
1389
- export const TargetDeploymentModeGenerated = {
1390
- Generated: "generated",
1391
- } as const;
1392
- export type TargetDeploymentModeGenerated = ClosedEnum<
1393
- typeof TargetDeploymentModeGenerated
1394
- >;
1395
-
1396
- export const TargetDeploymentProviderAzureApplicationGatewayForContainersEnum2 =
1397
- {
1398
- AzureApplicationGatewayForContainers:
1399
- "azureApplicationGatewayForContainers",
1400
- } as const;
1401
- export type TargetDeploymentProviderAzureApplicationGatewayForContainersEnum2 =
1402
- ClosedEnum<
1403
- typeof TargetDeploymentProviderAzureApplicationGatewayForContainersEnum2
1404
- >;
1405
-
1406
- export type TargetDeploymentProviderAzureApplicationGatewayForContainers2 = {
1407
- /**
1408
- * Optional ALB name when using BYO Application Gateway resources.
1409
- */
1410
- albName?: string | null | undefined;
1411
- /**
1412
- * Optional ALB namespace when using BYO Application Gateway resources.
1413
- */
1414
- albNamespace?: string | null | undefined;
1415
- /**
1416
- * Public or internal frontend exposure.
1417
- */
1418
- frontend: string;
1419
- provider: TargetDeploymentProviderAzureApplicationGatewayForContainersEnum2;
1420
- };
1421
-
1422
- export const TargetDeploymentProviderGkeGatewayEnum2 = {
1423
- GkeGateway: "gkeGateway",
1424
- } as const;
1425
- export type TargetDeploymentProviderGkeGatewayEnum2 = ClosedEnum<
1426
- typeof TargetDeploymentProviderGkeGatewayEnum2
1427
- >;
1428
-
1429
- export type TargetDeploymentProviderGkeGateway2 = {
1430
- provider: TargetDeploymentProviderGkeGatewayEnum2;
1431
- /**
1432
- * Optional static address name for the Gateway frontend.
1433
- */
1434
- staticAddressName?: string | null | undefined;
1435
- };
1436
-
1437
- export const TargetDeploymentProviderAwsAlbEnum2 = {
1438
- AwsAlb: "awsAlb",
1439
- } as const;
1440
- export type TargetDeploymentProviderAwsAlbEnum2 = ClosedEnum<
1441
- typeof TargetDeploymentProviderAwsAlbEnum2
1442
- >;
1443
-
1444
- export type TargetDeploymentProviderAwsAlb2 = {
1445
- /**
1446
- * Optional ALB IP address type, such as `dualstack`.
1447
- */
1448
- ipAddressType?: string | null | undefined;
1449
- provider: TargetDeploymentProviderAwsAlbEnum2;
1450
- /**
1451
- * Internet-facing or internal ALB scheme.
1452
- */
1453
- scheme: string;
1454
- /**
1455
- * Explicit subnet IDs when the profile cannot rely on controller discovery.
1456
- */
1457
- subnetIds?: Array<string> | undefined;
1458
- /**
1459
- * ALB target type, usually `ip`.
1460
- */
1461
- targetType: string;
1462
- };
1463
-
1464
- export type TargetDeploymentProviderUnion2 =
1465
- | TargetDeploymentProviderAwsAlb2
1466
- | TargetDeploymentProviderAzureApplicationGatewayForContainers2
1467
- | TargetDeploymentProviderGkeGateway2
1468
- | string;
1469
-
1470
- /**
1471
- * Shared Gateway API route profile values.
1472
- */
1473
- export type TargetDeploymentRouteGateway1 = {
1474
- /**
1475
- * Annotations applied to route objects.
1476
- */
1477
- annotations?: { [k: string]: string } | undefined;
1478
- /**
1479
- * Route controller identifier, for example a cloud Gateway controller.
1480
- */
1481
- controller?: string | null | undefined;
1482
- /**
1483
- * GatewayClass selected for generated Gateways.
1484
- */
1485
- gatewayClassName: string;
1486
- /**
1487
- * Labels applied to route objects.
1488
- */
1489
- labels?: { [k: string]: string } | undefined;
1490
- /**
1491
- * Listener port, usually 443.
1492
- */
1493
- listenerPort: number;
1494
- provider?:
1495
- | TargetDeploymentProviderAwsAlb2
1496
- | TargetDeploymentProviderAzureApplicationGatewayForContainers2
1497
- | TargetDeploymentProviderGkeGateway2
1498
- | string
1499
- | null
1500
- | undefined;
1501
- routeApi: "gateway";
1502
- };
1503
-
1504
- export const TargetDeploymentProviderAzureApplicationGatewayForContainersEnum1 =
1505
- {
1506
- AzureApplicationGatewayForContainers:
1507
- "azureApplicationGatewayForContainers",
1508
- } as const;
1509
- export type TargetDeploymentProviderAzureApplicationGatewayForContainersEnum1 =
1510
- ClosedEnum<
1511
- typeof TargetDeploymentProviderAzureApplicationGatewayForContainersEnum1
1512
- >;
1513
-
1514
- export type TargetDeploymentProviderAzureApplicationGatewayForContainers1 = {
1515
- /**
1516
- * Optional ALB name when using BYO Application Gateway resources.
1517
- */
1518
- albName?: string | null | undefined;
1519
- /**
1520
- * Optional ALB namespace when using BYO Application Gateway resources.
1521
- */
1522
- albNamespace?: string | null | undefined;
1523
- /**
1524
- * Public or internal frontend exposure.
1525
- */
1526
- frontend: string;
1527
- provider: TargetDeploymentProviderAzureApplicationGatewayForContainersEnum1;
1528
- };
1529
-
1530
- export const TargetDeploymentProviderGkeGatewayEnum1 = {
1531
- GkeGateway: "gkeGateway",
1532
- } as const;
1533
- export type TargetDeploymentProviderGkeGatewayEnum1 = ClosedEnum<
1534
- typeof TargetDeploymentProviderGkeGatewayEnum1
1535
- >;
1536
-
1537
- export type TargetDeploymentProviderGkeGateway1 = {
1538
- provider: TargetDeploymentProviderGkeGatewayEnum1;
1539
- /**
1540
- * Optional static address name for the Gateway frontend.
1541
- */
1542
- staticAddressName?: string | null | undefined;
1543
- };
1544
-
1545
- export const TargetDeploymentProviderAwsAlbEnum1 = {
1546
- AwsAlb: "awsAlb",
1547
- } as const;
1548
- export type TargetDeploymentProviderAwsAlbEnum1 = ClosedEnum<
1549
- typeof TargetDeploymentProviderAwsAlbEnum1
1550
- >;
1551
-
1552
- export type TargetDeploymentProviderAwsAlb1 = {
1553
- /**
1554
- * Optional ALB IP address type, such as `dualstack`.
1555
- */
1556
- ipAddressType?: string | null | undefined;
1557
- provider: TargetDeploymentProviderAwsAlbEnum1;
1558
- /**
1559
- * Internet-facing or internal ALB scheme.
1560
- */
1561
- scheme: string;
1562
- /**
1563
- * Explicit subnet IDs when the profile cannot rely on controller discovery.
1564
- */
1565
- subnetIds?: Array<string> | undefined;
1566
- /**
1567
- * ALB target type, usually `ip`.
1568
- */
1569
- targetType: string;
1570
- };
1571
-
1572
- export type TargetDeploymentProviderUnion1 =
1573
- | TargetDeploymentProviderAwsAlb1
1574
- | TargetDeploymentProviderAzureApplicationGatewayForContainers1
1575
- | TargetDeploymentProviderGkeGateway1
1576
- | string;
1577
-
1578
- /**
1579
- * Shared Ingress route profile values.
1580
- */
1581
- export type TargetDeploymentRouteIngress1 = {
1582
- /**
1583
- * Annotations applied to route objects.
1584
- */
1585
- annotations?: { [k: string]: string } | undefined;
1586
- /**
1587
- * Route controller identifier, for example `eks.amazonaws.com/alb`.
1588
- */
1589
- controller?: string | null | undefined;
1590
- /**
1591
- * `spec.ingressClassName` for generated Ingresses.
1592
- */
1593
- ingressClassName: string;
1594
- /**
1595
- * Labels applied to route objects.
1596
- */
1597
- labels?: { [k: string]: string } | undefined;
1598
- provider?:
1599
- | TargetDeploymentProviderAwsAlb1
1600
- | TargetDeploymentProviderAzureApplicationGatewayForContainers1
1601
- | TargetDeploymentProviderGkeGateway1
1602
- | string
1603
- | null
1604
- | undefined;
1605
- routeApi: "ingress";
1606
- };
1607
-
1608
- /**
1609
- * Kubernetes route API selected for public endpoints.
1610
- */
1611
- export type TargetDeploymentRouteUnion1 =
1612
- | TargetDeploymentRouteIngress1
1613
- | TargetDeploymentRouteGateway1;
1614
-
1615
- export type TargetDeploymentExposureGenerated = {
1616
- /**
1617
- * Certificate publication or reference mode for Kubernetes public endpoints.
1618
- */
1619
- certificate:
1620
- | TargetDeploymentCertificateTLSSecretRef1
1621
- | TargetDeploymentCertificateManagedAcmImport1
1622
- | TargetDeploymentCertificateAwsAcmArn1
1623
- | TargetDeploymentCertificateManagedTLSSecret1
1624
- | TargetDeploymentCertificateNone1;
1625
- mode: TargetDeploymentModeGenerated;
1626
- /**
1627
- * Kubernetes route API selected for public endpoints.
1628
- */
1629
- route: TargetDeploymentRouteIngress1 | TargetDeploymentRouteGateway1;
1630
- };
1631
-
1632
- export const TargetDeploymentModeDisabled = {
1633
- Disabled: "disabled",
1634
- } as const;
1635
- export type TargetDeploymentModeDisabled = ClosedEnum<
1636
- typeof TargetDeploymentModeDisabled
1637
- >;
1638
-
1639
- export type TargetDeploymentExposureDisabled = {
1640
- mode: TargetDeploymentModeDisabled;
1641
- };
1642
-
1643
- export type TargetDeploymentExposureUnion =
1644
- | TargetDeploymentExposureCustom
1645
- | TargetDeploymentExposureGenerated
1646
- | TargetDeploymentExposureDisabled
1647
- | string;
1648
-
1649
- /**
1650
- * Kubernetes runtime substrate configuration.
1651
- *
1652
- * @remarks
1653
- *
1654
- * This controls how setup chooses the cluster backing `Platform::Kubernetes`
1655
- * deployments. When omitted, cloud-backed Kubernetes deployments default to a
1656
- * managed cluster and generic/on-prem Kubernetes defaults to an external
1657
- * cluster.
1658
- */
1659
- export type TargetDeploymentKubernetes = {
1660
- cluster?: TargetDeploymentCluster | string | null | undefined;
1661
- exposure?:
1662
- | TargetDeploymentExposureCustom
1663
- | TargetDeploymentExposureGenerated
1664
- | TargetDeploymentExposureDisabled
1665
- | string
1666
- | null
1667
- | undefined;
1668
- };
1669
-
1670
- export type TargetDeploymentKubernetesUnion =
1671
- | TargetDeploymentKubernetes
1672
- | string;
1673
-
1674
- export const TargetDeploymentTypeByoVnetAzure = {
1675
- ByoVnetAzure: "byo-vnet-azure",
1676
- } as const;
1677
- export type TargetDeploymentTypeByoVnetAzure = ClosedEnum<
1678
- typeof TargetDeploymentTypeByoVnetAzure
1679
- >;
1680
-
1681
- export type TargetDeploymentNetworkByoVnetAzure = {
1682
- /**
1683
- * Name of the dedicated classic Application Gateway subnet within the VNet.
1684
- */
1685
- applicationGatewaySubnetName?: string | null | undefined;
1686
- /**
1687
- * Name of the dedicated subnet that hosts Private Endpoints (e.g. for a
1688
- *
1689
- * @remarks
1690
- * Postgres Flexible Server). A Private Endpoint must not share the private
1691
- * subnet, which is already claimed by the Container Apps environment's
1692
- * `infrastructure_subnet_id`. Required only when the stack contains a
1693
- * Postgres resource; otherwise unused.
1694
- */
1695
- privateEndpointSubnetName?: string | null | undefined;
1696
- /**
1697
- * Name of the private subnet within the VNet
1698
- */
1699
- privateSubnetName: string;
1700
- /**
1701
- * Name of the public subnet within the VNet
1702
- */
1703
- publicSubnetName: string;
1704
- type: TargetDeploymentTypeByoVnetAzure;
1705
- /**
1706
- * The full resource ID of the existing VNet
1707
- */
1708
- vnetResourceId: string;
1709
- };
1710
-
1711
- export const TargetDeploymentTypeByoVpcGcp = {
1712
- ByoVpcGcp: "byo-vpc-gcp",
1713
- } as const;
1714
- export type TargetDeploymentTypeByoVpcGcp = ClosedEnum<
1715
- typeof TargetDeploymentTypeByoVpcGcp
1716
- >;
1717
-
1718
- export type TargetDeploymentNetworkByoVpcGcp = {
1719
- /**
1720
- * The name of the existing VPC network
1721
- */
1722
- networkName: string;
1723
- /**
1724
- * The region of the subnet
1725
- */
1726
- region: string;
1727
- /**
1728
- * The name of the subnet to use
1729
- */
1730
- subnetName: string;
1731
- type: TargetDeploymentTypeByoVpcGcp;
1732
- };
1733
-
1734
- export const TargetDeploymentTypeByoVpcAws = {
1735
- ByoVpcAws: "byo-vpc-aws",
1736
- } as const;
1737
- export type TargetDeploymentTypeByoVpcAws = ClosedEnum<
1738
- typeof TargetDeploymentTypeByoVpcAws
1739
- >;
1740
-
1741
- export type TargetDeploymentNetworkByoVpcAws = {
1742
- /**
1743
- * IDs of private subnets
1744
- */
1745
- privateSubnetIds: Array<string>;
1746
- /**
1747
- * IDs of public subnets (required for public ingress)
1748
- */
1749
- publicSubnetIds: Array<string>;
1750
- /**
1751
- * Optional security group IDs to use
1752
- */
1753
- securityGroupIds?: Array<string> | undefined;
1754
- type: TargetDeploymentTypeByoVpcAws;
1755
- /**
1756
- * The ID of the existing VPC
1757
- */
1758
- vpcId: string;
1759
- };
1760
-
1761
- export const TargetDeploymentTypeCreate = {
1762
- Create: "create",
1763
- } as const;
1764
- export type TargetDeploymentTypeCreate = ClosedEnum<
1765
- typeof TargetDeploymentTypeCreate
1766
- >;
1767
-
1768
- export type TargetDeploymentNetworkCreate = {
1769
- /**
1770
- * Number of availability zones (default: 2).
1771
- */
1772
- availabilityZones?: number | undefined;
1773
- /**
1774
- * VPC/VNet CIDR block. If not specified, auto-generated from stack ID
1775
- *
1776
- * @remarks
1777
- * to reduce conflicts (e.g., "10.{hash}.0.0/16").
1778
- */
1779
- cidr?: string | null | undefined;
1780
- type: TargetDeploymentTypeCreate;
1781
- };
1782
-
1783
- export const TargetDeploymentTypeUseDefault = {
1784
- UseDefault: "use-default",
1785
- } as const;
1786
- export type TargetDeploymentTypeUseDefault = ClosedEnum<
1787
- typeof TargetDeploymentTypeUseDefault
1788
- >;
1789
-
1790
- export type TargetDeploymentNetworkUseDefault = {
1791
- type: TargetDeploymentTypeUseDefault;
1792
- };
1793
-
1794
- export type TargetDeploymentNetworkUnion =
1795
- | TargetDeploymentNetworkByoVpcAws
1796
- | TargetDeploymentNetworkByoVpcGcp
1797
- | TargetDeploymentNetworkByoVnetAzure
1798
- | TargetDeploymentNetworkUseDefault
1799
- | TargetDeploymentNetworkCreate
1800
- | string;
1801
-
1802
- /**
1803
- * How telemetry (logs, metrics, traces) is handled.
1804
- */
1805
- export const TargetDeploymentTelemetry = {
1806
- Off: "off",
1807
- Auto: "auto",
1808
- ApprovalRequired: "approval-required",
1809
- } as const;
1810
- /**
1811
- * How telemetry (logs, metrics, traces) is handled.
1812
- */
1813
- export type TargetDeploymentTelemetry = ClosedEnum<
1814
- typeof TargetDeploymentTelemetry
1815
- >;
1816
-
1817
- /**
1818
- * How updates are delivered to the deployment.
1819
- */
1820
- export const TargetDeploymentUpdates = {
1821
- Auto: "auto",
1822
- ApprovalRequired: "approval-required",
1823
- } as const;
1824
- /**
1825
- * How updates are delivered to the deployment.
1826
- */
1827
- export type TargetDeploymentUpdates = ClosedEnum<
1828
- typeof TargetDeploymentUpdates
1829
- >;
1830
-
1831
- /**
1832
- * User-customizable deployment settings specified at deploy time.
1833
- *
1834
- * @remarks
1835
- *
1836
- * These settings are provided by the customer via CloudFormation parameters,
1837
- * Terraform attributes, CLI flags, or Helm values. They customize how the
1838
- * deployment runs and what capabilities are enabled.
1839
- *
1840
- * **Key distinction**: StackSettings is user-customizable, while ManagementConfig
1841
- * is platform-derived (from the Manager's ServiceAccount).
1842
- */
1843
- export type TargetDeploymentStackSettings = {
1844
- compute?: TargetDeploymentCompute | string | null | undefined;
1845
- /**
1846
- * Deployment model: how updates are delivered to the remote environment.
1847
- */
1848
- deploymentModel?: TargetDeploymentDeploymentModel | undefined;
1849
- domains?: TargetDeploymentDomains | string | null | undefined;
1850
- /**
1851
- * Reachability of the deployment's public endpoints, fixed at setup.
1852
- */
1853
- endpointAccess?: TargetDeploymentEndpointAccess | undefined;
1854
- externalBindings?: { [k: string]: ExternalBindingUnion } | null | undefined;
1855
- /**
1856
- * How heartbeat health checks are handled.
1857
- */
1858
- heartbeats?: TargetDeploymentHeartbeats | undefined;
1859
- kubernetes?: TargetDeploymentKubernetes | string | null | undefined;
1860
- network?:
1861
- | TargetDeploymentNetworkByoVpcAws
1862
- | TargetDeploymentNetworkByoVpcGcp
1863
- | TargetDeploymentNetworkByoVnetAzure
1864
- | TargetDeploymentNetworkUseDefault
1865
- | TargetDeploymentNetworkCreate
1866
- | string
1867
- | null
1868
- | undefined;
1869
- /**
1870
- * Exact externally managed endpoint URLs, keyed by resource ID and endpoint name.
1871
- *
1872
- * @remarks
1873
- *
1874
- * This is intended for adopted Machines deployments whose DNS and certificates remain
1875
- * customer-owned. The platform passes these URLs to the runtime without creating or
1876
- * replacing DNS records or certificates.
1877
- */
1878
- publicEndpoints?: { [k: string]: { [k: string]: string } } | null | undefined;
1879
- /**
1880
- * How telemetry (logs, metrics, traces) is handled.
1881
- */
1882
- telemetry?: TargetDeploymentTelemetry | undefined;
1883
- /**
1884
- * How updates are delivered to the deployment.
1885
- */
1886
- updates?: TargetDeploymentUpdates | undefined;
1887
- };
1888
-
1889
- /**
1890
- * Replace one replica's persistent volume with a new volume made from a snapshot.
1891
- *
1892
- * @remarks
1893
- *
1894
- * The controller stops the replica, snapshots the volume it is about to
1895
- * replace (so the restore can be undone), creates the new volume in the same
1896
- * zone, starts the replica on it, and deletes the replaced volume.
1897
- */
1898
- export type TargetDeploymentVolumeRestore = {
1899
- /**
1900
- * Replica ordinal whose volume is replaced
1901
- */
1902
- ordinal: number;
1903
- /**
1904
- * Unique ID of this request. A controller performs each request once.
1905
- */
1906
- requestId: string;
1907
- /**
1908
- * ID of the container resource that owns the volume
1909
- */
1910
- resourceId: string;
1911
- /**
1912
- * Cloud ID of the snapshot to restore: an EBS snapshot ID, a Compute
1913
- *
1914
- * @remarks
1915
- * Engine snapshot name, or an Azure snapshot resource ID
1916
- */
1917
- snapshotId: string;
1918
- };
1919
-
1920
- /**
1921
- * Deployment configuration
1922
- *
1923
- * @remarks
1924
- *
1925
- * Configuration for how to perform the deployment.
1926
- * Note: Credentials (ClientConfig) are passed separately to step() function.
1927
- */
1928
- export type TargetDeploymentConfig = {
1929
- /**
1930
- * Allow frozen resource changes during updates
1931
- *
1932
- * @remarks
1933
- * When true, skips the frozen resources compatibility check.
1934
- * This requires running with elevated cloud credentials.
1935
- */
1936
- allowFrozenChanges?: boolean | undefined;
1937
- basePlatform?: TargetDeploymentBasePlatformEnum | string | null | undefined;
1938
- computeBackend?:
1939
- | TargetDeploymentComputeBackendHorizon
1940
- | string
1941
- | null
1942
- | undefined;
1943
- /**
1944
- * Human-readable deployment name for cloud console metadata.
1945
- *
1946
- * @remarks
1947
- *
1948
- * This is separate from the physical resource prefix in StackState. It is
1949
- * used only for display text such as IAM role descriptions, service
1950
- * account descriptions, and custom role titles.
1951
- */
1952
- deploymentName?: string | null | undefined;
1953
- /**
1954
- * Deployment token for pull authentication with the manager's registry.
1955
- *
1956
- * @remarks
1957
- *
1958
- * Used by controllers to configure registry credentials so cloud platforms
1959
- * and K8s can pull images from the manager's `/v2/` endpoint.
1960
- */
1961
- deploymentToken?: string | null | undefined;
1962
- domainMetadata?: TargetDeploymentDomainMetadata | string | null | undefined;
1963
- /**
1964
- * Snapshot of environment variables at a point in time
1965
- */
1966
- environmentVariables: TargetDeploymentEnvironmentVariables;
1967
- /**
1968
- * Map from resource ID to external binding.
1969
- *
1970
- * @remarks
1971
- *
1972
- * Validated at runtime: binding type must match resource type.
1973
- */
1974
- externalBindings?: { [k: string]: ExternalBindingUnion } | undefined;
1975
- /**
1976
- * Deployer-provided stack input values, keyed by input id. A resource
1977
- *
1978
- * @remarks
1979
- * gated with `.enabled(input)` and a Live lifecycle follows these
1980
- * values; a missing key falls back to the input's declared boolean
1981
- * default. Suppliers must not place secret-kind input values here:
1982
- * this map serializes and debug-prints unredacted.
1983
- */
1984
- inputValues?: { [k: string]: any | null } | undefined;
1985
- /**
1986
- * DNS-style label domain used for Kubernetes resource ownership labels.
1987
- *
1988
- * @remarks
1989
- *
1990
- * Defaults to `alien.dev` when absent. Whitelabeled Operator builds set this
1991
- * so generated workloads and optional log collectors share the same label
1992
- * namespace.
1993
- */
1994
- labelDomain?: string | null | undefined;
1995
- managementConfig?:
1996
- | TargetDeploymentManagementConfigAzure
1997
- | TargetDeploymentManagementConfigAws
1998
- | TargetDeploymentManagementConfigGcp
1999
- | TargetDeploymentManagementConfigKubernetes
2000
- | string
2001
- | null
2002
- | undefined;
2003
- /**
2004
- * Manager base URL (e.g., "https://manager.alien.dev").
2005
- *
2006
- * @remarks
2007
- *
2008
- * The manager IS the container registry — its `/v2/` endpoint serves as
2009
- * the OCI Distribution API. Controllers derive the proxy host from this
2010
- * to configure pull auth (RegistryCredentials, imagePullSecrets).
2011
- *
2012
- * When None (e.g., `alien dev`), controllers use image URIs as-is.
2013
- */
2014
- managerUrl?: string | null | undefined;
2015
- monitoring?: TargetDeploymentMonitoring | string | null | undefined;
2016
- /**
2017
- * Native image registry host+prefix for platforms that require it.
2018
- *
2019
- * @remarks
2020
- *
2021
- * Lambda (ECR) and Cloud Run (GAR) require native registry URIs. Other
2022
- * runtimes, including Azure Container Apps, pull through the manager's
2023
- * registry proxy.
2024
- *
2025
- * Derived by the manager from the artifact registry binding:
2026
- * - ECR: `{account_id}.dkr.ecr.{region}.amazonaws.com/{repository_prefix}`
2027
- * - GAR: `{region}-docker.pkg.dev/{project_id}/{repository_name}`
2028
- */
2029
- nativeImageHost?: string | null | undefined;
2030
- /**
2031
- * When true the observe pass reports raw resources across every namespace
2032
- *
2033
- * @remarks
2034
- * (cluster scope); otherwise it stays within the operator's own namespace.
2035
- * The label selector, if any, still filters within whichever scope applies.
2036
- * Ignored by cloud observers.
2037
- */
2038
- observeAllNamespaces?: boolean | undefined;
2039
- /**
2040
- * Kubernetes label selector that narrows which raw resources the observe
2041
- *
2042
- * @remarks
2043
- * pass reports (e.g. `app.kubernetes.io/part-of=my-app`). `None` observes
2044
- * everything in the namespace. Ignored by cloud observers.
2045
- */
2046
- observeLabelSelector?: string | null | undefined;
2047
- /**
2048
- * Public endpoint URLs for exposed resources (optional override).
2049
- *
2050
- * @remarks
2051
- *
2052
- * Use this only when a caller already knows the public URL. Managed public
2053
- * endpoint flows should prefer `domain_metadata` plus controller-reported
2054
- * load balancer outputs so DNS, certificate renewal, and route readiness
2055
- * stay tied to the resource state.
2056
- *
2057
- * If not set, platforms determine public endpoint URLs from other sources:
2058
- * - Managed DNS/TLS flows: `domain_metadata` FQDN or load balancer DNS
2059
- * - Local: `http://localhost:{allocated_port}`
2060
- * - Custom or disabled exposure: no public endpoint URL unless a controller reports one
2061
- *
2062
- * Outer key: resource ID. Inner key: endpoint name. Value: public URL.
2063
- */
2064
- publicEndpoints?: { [k: string]: { [k: string]: string } } | null | undefined;
2065
- /**
2066
- * User-customizable deployment settings specified at deploy time.
2067
- *
2068
- * @remarks
2069
- *
2070
- * These settings are provided by the customer via CloudFormation parameters,
2071
- * Terraform attributes, CLI flags, or Helm values. They customize how the
2072
- * deployment runs and what capabilities are enabled.
2073
- *
2074
- * **Key distinction**: StackSettings is user-customizable, while ManagementConfig
2075
- * is platform-derived (from the Manager's ServiceAccount).
2076
- */
2077
- stackSettings?: TargetDeploymentStackSettings | undefined;
2078
- /**
2079
- * IDs of applicable secret inputs stored for this exact deployment target.
2080
- *
2081
- * @remarks
2082
- * Trusted presence metadata only: never values, gate answers, or authority.
2083
- * Absent on legacy targets; an explicit empty list means no stored secrets.
2084
- */
2085
- storedSecretInputIds?: Array<string> | undefined;
2086
- /**
2087
- * Operator requests to replace a replica's persistent volume with a new
2088
- *
2089
- * @remarks
2090
- * volume made from a snapshot. A container controller performs each
2091
- * request once, identified by its `request_id`, and reports it in
2092
- * `ContainerOutputs.volumes`. Only a volume that a controller reports in
2093
- * `ContainerOutputs.volumes` can be the target of a request.
2094
- */
2095
- volumeRestores?: Array<TargetDeploymentVolumeRestore> | undefined;
2096
- };
2097
-
2098
- export const ReleaseInfoTypeStringList = {
2099
- StringList: "stringList",
2100
- } as const;
2101
- export type ReleaseInfoTypeStringList = ClosedEnum<
2102
- typeof ReleaseInfoTypeStringList
2103
- >;
2104
-
2105
- /** @internal */
2106
- export const TargetDeploymentBasePlatformEnum$inboundSchema: z.ZodEnum<
2107
- typeof TargetDeploymentBasePlatformEnum
2108
- > = z.enum(TargetDeploymentBasePlatformEnum);
2109
-
2110
- /** @internal */
2111
- export const TargetDeploymentBasePlatformUnion$inboundSchema: z.ZodType<
2112
- TargetDeploymentBasePlatformUnion,
2113
- unknown
2114
- > = z.union([TargetDeploymentBasePlatformEnum$inboundSchema, z.string()]);
2115
-
2116
- export function targetDeploymentBasePlatformUnionFromJSON(
2117
- jsonString: string,
2118
- ): SafeParseResult<TargetDeploymentBasePlatformUnion, SDKValidationError> {
2119
- return safeParse(
2120
- jsonString,
2121
- (x) => TargetDeploymentBasePlatformUnion$inboundSchema.parse(JSON.parse(x)),
2122
- `Failed to parse 'TargetDeploymentBasePlatformUnion' from JSON`,
2123
- );
2124
- }
2125
-
2126
- /** @internal */
2127
- export const TargetDeploymentClusters$inboundSchema: z.ZodType<
2128
- TargetDeploymentClusters,
2129
- unknown
2130
- > = z.object({
2131
- clusterId: z.string(),
2132
- managementToken: z.string(),
2133
- });
2134
-
2135
- export function targetDeploymentClustersFromJSON(
2136
- jsonString: string,
2137
- ): SafeParseResult<TargetDeploymentClusters, SDKValidationError> {
2138
- return safeParse(
2139
- jsonString,
2140
- (x) => TargetDeploymentClusters$inboundSchema.parse(JSON.parse(x)),
2141
- `Failed to parse 'TargetDeploymentClusters' from JSON`,
2142
- );
2143
- }
2144
-
2145
- /** @internal */
2146
- export const TargetDeploymentHorizonMachineImageAws$inboundSchema: z.ZodType<
2147
- TargetDeploymentHorizonMachineImageAws,
2148
- unknown
2149
- > = z.object({
2150
- amis: z.record(z.string(), z.record(z.string(), z.string())),
2151
- });
2152
-
2153
- export function targetDeploymentHorizonMachineImageAwsFromJSON(
2154
- jsonString: string,
2155
- ): SafeParseResult<TargetDeploymentHorizonMachineImageAws, SDKValidationError> {
2156
- return safeParse(
2157
- jsonString,
2158
- (x) =>
2159
- TargetDeploymentHorizonMachineImageAws$inboundSchema.parse(JSON.parse(x)),
2160
- `Failed to parse 'TargetDeploymentHorizonMachineImageAws' from JSON`,
2161
- );
2162
- }
2163
-
2164
- /** @internal */
2165
- export const TargetDeploymentHorizonMachineImageAwsUnion$inboundSchema:
2166
- z.ZodType<TargetDeploymentHorizonMachineImageAwsUnion, unknown> = z.union([
2167
- z.lazy(() => TargetDeploymentHorizonMachineImageAws$inboundSchema),
2168
- z.string(),
2169
- ]);
2170
-
2171
- export function targetDeploymentHorizonMachineImageAwsUnionFromJSON(
2172
- jsonString: string,
2173
- ): SafeParseResult<
2174
- TargetDeploymentHorizonMachineImageAwsUnion,
2175
- SDKValidationError
2176
- > {
2177
- return safeParse(
2178
- jsonString,
2179
- (x) =>
2180
- TargetDeploymentHorizonMachineImageAwsUnion$inboundSchema.parse(
2181
- JSON.parse(x),
2182
- ),
2183
- `Failed to parse 'TargetDeploymentHorizonMachineImageAwsUnion' from JSON`,
2184
- );
2185
- }
2186
-
2187
- /** @internal */
2188
- export const TargetDeploymentAzureImages$inboundSchema: z.ZodType<
2189
- TargetDeploymentAzureImages,
2190
- unknown
2191
- > = z.object({
2192
- imageVersionId: z.string(),
2193
- });
2194
-
2195
- export function targetDeploymentAzureImagesFromJSON(
2196
- jsonString: string,
2197
- ): SafeParseResult<TargetDeploymentAzureImages, SDKValidationError> {
2198
- return safeParse(
2199
- jsonString,
2200
- (x) => TargetDeploymentAzureImages$inboundSchema.parse(JSON.parse(x)),
2201
- `Failed to parse 'TargetDeploymentAzureImages' from JSON`,
2202
- );
2203
- }
2204
-
2205
- /** @internal */
2206
- export const HorizonMachineImageAzureConfig$inboundSchema: z.ZodType<
2207
- HorizonMachineImageAzureConfig,
2208
- unknown
2209
- > = z.object({
2210
- images: z.record(
2211
- z.string(),
2212
- z.lazy(() => TargetDeploymentAzureImages$inboundSchema),
2213
- ),
2214
- });
2215
-
2216
- export function horizonMachineImageAzureConfigFromJSON(
2217
- jsonString: string,
2218
- ): SafeParseResult<HorizonMachineImageAzureConfig, SDKValidationError> {
2219
- return safeParse(
2220
- jsonString,
2221
- (x) => HorizonMachineImageAzureConfig$inboundSchema.parse(JSON.parse(x)),
2222
- `Failed to parse 'HorizonMachineImageAzureConfig' from JSON`,
2223
- );
2224
- }
2225
-
2226
- /** @internal */
2227
- export const HorizonMachineImageConfigAzureUnion$inboundSchema: z.ZodType<
2228
- HorizonMachineImageConfigAzureUnion,
2229
- unknown
2230
- > = z.union([
2231
- z.lazy(() => HorizonMachineImageAzureConfig$inboundSchema),
2232
- z.string(),
2233
- ]);
2234
-
2235
- export function horizonMachineImageConfigAzureUnionFromJSON(
2236
- jsonString: string,
2237
- ): SafeParseResult<HorizonMachineImageConfigAzureUnion, SDKValidationError> {
2238
- return safeParse(
2239
- jsonString,
2240
- (x) =>
2241
- HorizonMachineImageConfigAzureUnion$inboundSchema.parse(JSON.parse(x)),
2242
- `Failed to parse 'HorizonMachineImageConfigAzureUnion' from JSON`,
2243
- );
2244
- }
2245
-
2246
- /** @internal */
2247
- export const TargetDeploymentBaseImage$inboundSchema: z.ZodType<
2248
- TargetDeploymentBaseImage,
2249
- unknown
2250
- > = z.object({
2251
- name: z.string(),
2252
- version: z.string(),
2253
- });
2254
-
2255
- export function targetDeploymentBaseImageFromJSON(
2256
- jsonString: string,
2257
- ): SafeParseResult<TargetDeploymentBaseImage, SDKValidationError> {
2258
- return safeParse(
2259
- jsonString,
2260
- (x) => TargetDeploymentBaseImage$inboundSchema.parse(JSON.parse(x)),
2261
- `Failed to parse 'TargetDeploymentBaseImage' from JSON`,
2262
- );
2263
- }
2264
-
2265
- /** @internal */
2266
- export const TargetDeploymentGcpImages$inboundSchema: z.ZodType<
2267
- TargetDeploymentGcpImages,
2268
- unknown
2269
- > = z.object({
2270
- sourceImage: z.string(),
2271
- });
2272
-
2273
- export function targetDeploymentGcpImagesFromJSON(
2274
- jsonString: string,
2275
- ): SafeParseResult<TargetDeploymentGcpImages, SDKValidationError> {
2276
- return safeParse(
2277
- jsonString,
2278
- (x) => TargetDeploymentGcpImages$inboundSchema.parse(JSON.parse(x)),
2279
- `Failed to parse 'TargetDeploymentGcpImages' from JSON`,
2280
- );
2281
- }
2282
-
2283
- /** @internal */
2284
- export const HorizonMachineImageGcpConfig$inboundSchema: z.ZodType<
2285
- HorizonMachineImageGcpConfig,
2286
- unknown
2287
- > = z.object({
2288
- images: z.record(
2289
- z.string(),
2290
- z.lazy(() => TargetDeploymentGcpImages$inboundSchema),
2291
- ),
2292
- });
2293
-
2294
- export function horizonMachineImageGcpConfigFromJSON(
2295
- jsonString: string,
2296
- ): SafeParseResult<HorizonMachineImageGcpConfig, SDKValidationError> {
2297
- return safeParse(
2298
- jsonString,
2299
- (x) => HorizonMachineImageGcpConfig$inboundSchema.parse(JSON.parse(x)),
2300
- `Failed to parse 'HorizonMachineImageGcpConfig' from JSON`,
2301
- );
2302
- }
2303
-
2304
- /** @internal */
2305
- export const HorizonMachineImageConfigGcpUnion$inboundSchema: z.ZodType<
2306
- HorizonMachineImageConfigGcpUnion,
2307
- unknown
2308
- > = z.union([
2309
- z.lazy(() => HorizonMachineImageGcpConfig$inboundSchema),
2310
- z.string(),
2311
- ]);
2312
-
2313
- export function horizonMachineImageConfigGcpUnionFromJSON(
2314
- jsonString: string,
2315
- ): SafeParseResult<HorizonMachineImageConfigGcpUnion, SDKValidationError> {
2316
- return safeParse(
2317
- jsonString,
2318
- (x) => HorizonMachineImageConfigGcpUnion$inboundSchema.parse(JSON.parse(x)),
2319
- `Failed to parse 'HorizonMachineImageConfigGcpUnion' from JSON`,
2320
- );
2321
- }
2322
-
2323
- /** @internal */
2324
- export const TargetDeploymentHorizondArtifacts$inboundSchema: z.ZodType<
2325
- TargetDeploymentHorizondArtifacts,
2326
- unknown
2327
- > = z.object({
2328
- runtimeIsolationGeneration: z.int().optional(),
2329
- sha256: z.string(),
2330
- url: z.string(),
2331
- });
2332
-
2333
- export function targetDeploymentHorizondArtifactsFromJSON(
2334
- jsonString: string,
2335
- ): SafeParseResult<TargetDeploymentHorizondArtifacts, SDKValidationError> {
2336
- return safeParse(
2337
- jsonString,
2338
- (x) => TargetDeploymentHorizondArtifacts$inboundSchema.parse(JSON.parse(x)),
2339
- `Failed to parse 'TargetDeploymentHorizondArtifacts' from JSON`,
2340
- );
2341
- }
2342
-
2343
- /** @internal */
2344
- export const TargetDeploymentHorizonMachineImage$inboundSchema: z.ZodType<
2345
- TargetDeploymentHorizonMachineImage,
2346
- unknown
2347
- > = z.object({
2348
- aws: z.nullable(
2349
- z.union([
2350
- z.lazy(() => TargetDeploymentHorizonMachineImageAws$inboundSchema),
2351
- z.string(),
2352
- ]),
2353
- ).optional(),
2354
- azure: z.nullable(
2355
- z.union([
2356
- z.lazy(() => HorizonMachineImageAzureConfig$inboundSchema),
2357
- z.string(),
2358
- ]),
2359
- ).optional(),
2360
- baseImage: z.lazy(() => TargetDeploymentBaseImage$inboundSchema),
2361
- channel: z.string(),
2362
- createdAt: z.string(),
2363
- gcp: z.nullable(
2364
- z.union([
2365
- z.lazy(() => HorizonMachineImageGcpConfig$inboundSchema),
2366
- z.string(),
2367
- ]),
2368
- ).optional(),
2369
- gitSha: z.string(),
2370
- horizondArtifacts: z.record(
2371
- z.string(),
2372
- z.lazy(() => TargetDeploymentHorizondArtifacts$inboundSchema),
2373
- ),
2374
- horizondVersion: z.string(),
2375
- machineImageVersion: z.string(),
2376
- runtimeIsolationGeneration: z.int().optional(),
2377
- });
2378
-
2379
- export function targetDeploymentHorizonMachineImageFromJSON(
2380
- jsonString: string,
2381
- ): SafeParseResult<TargetDeploymentHorizonMachineImage, SDKValidationError> {
2382
- return safeParse(
2383
- jsonString,
2384
- (x) =>
2385
- TargetDeploymentHorizonMachineImage$inboundSchema.parse(JSON.parse(x)),
2386
- `Failed to parse 'TargetDeploymentHorizonMachineImage' from JSON`,
2387
- );
2388
- }
2389
-
2390
- /** @internal */
2391
- export const TargetDeploymentHorizonMachineImageUnion$inboundSchema: z.ZodType<
2392
- TargetDeploymentHorizonMachineImageUnion,
2393
- unknown
2394
- > = z.union([
2395
- z.lazy(() => TargetDeploymentHorizonMachineImage$inboundSchema),
2396
- z.string(),
2397
- ]);
2398
-
2399
- export function targetDeploymentHorizonMachineImageUnionFromJSON(
2400
- jsonString: string,
2401
- ): SafeParseResult<
2402
- TargetDeploymentHorizonMachineImageUnion,
2403
- SDKValidationError
2404
- > {
2405
- return safeParse(
2406
- jsonString,
2407
- (x) =>
2408
- TargetDeploymentHorizonMachineImageUnion$inboundSchema.parse(
2409
- JSON.parse(x),
2410
- ),
2411
- `Failed to parse 'TargetDeploymentHorizonMachineImageUnion' from JSON`,
2412
- );
2413
- }
2414
-
2415
- /** @internal */
2416
- export const TargetDeploymentComputeBackendType$inboundSchema: z.ZodEnum<
2417
- typeof TargetDeploymentComputeBackendType
2418
- > = z.enum(TargetDeploymentComputeBackendType);
2419
-
2420
- /** @internal */
2421
- export const TargetDeploymentComputeBackendHorizon$inboundSchema: z.ZodType<
2422
- TargetDeploymentComputeBackendHorizon,
2423
- unknown
2424
- > = z.object({
2425
- clusters: z.record(
2426
- z.string(),
2427
- z.lazy(() => TargetDeploymentClusters$inboundSchema),
2428
- ),
2429
- horizonMachineImage: z.nullable(
2430
- z.union([
2431
- z.lazy(() => TargetDeploymentHorizonMachineImage$inboundSchema),
2432
- z.string(),
2433
- ]),
2434
- ).optional(),
2435
- url: z.string(),
2436
- type: TargetDeploymentComputeBackendType$inboundSchema,
2437
- });
2438
-
2439
- export function targetDeploymentComputeBackendHorizonFromJSON(
2440
- jsonString: string,
2441
- ): SafeParseResult<TargetDeploymentComputeBackendHorizon, SDKValidationError> {
2442
- return safeParse(
2443
- jsonString,
2444
- (x) =>
2445
- TargetDeploymentComputeBackendHorizon$inboundSchema.parse(JSON.parse(x)),
2446
- `Failed to parse 'TargetDeploymentComputeBackendHorizon' from JSON`,
2447
- );
2448
- }
2449
-
2450
- /** @internal */
2451
- export const TargetDeploymentComputeBackendUnion$inboundSchema: z.ZodType<
2452
- TargetDeploymentComputeBackendUnion,
2453
- unknown
2454
- > = z.union([
2455
- z.lazy(() => TargetDeploymentComputeBackendHorizon$inboundSchema),
2456
- z.string(),
2457
- ]);
2458
-
2459
- export function targetDeploymentComputeBackendUnionFromJSON(
2460
- jsonString: string,
2461
- ): SafeParseResult<TargetDeploymentComputeBackendUnion, SDKValidationError> {
2462
- return safeParse(
2463
- jsonString,
2464
- (x) =>
2465
- TargetDeploymentComputeBackendUnion$inboundSchema.parse(JSON.parse(x)),
2466
- `Failed to parse 'TargetDeploymentComputeBackendUnion' from JSON`,
2467
- );
2468
- }
2469
-
2470
- /** @internal */
2471
- export const TargetDeploymentAliasCertificateStatus$inboundSchema: z.ZodEnum<
2472
- typeof TargetDeploymentAliasCertificateStatus
2473
- > = z.enum(TargetDeploymentAliasCertificateStatus);
2474
-
2475
- /** @internal */
2476
- export const TargetDeploymentAliasDnsStatus$inboundSchema: z.ZodEnum<
2477
- typeof TargetDeploymentAliasDnsStatus
2478
- > = z.enum(TargetDeploymentAliasDnsStatus);
2479
-
2480
- /** @internal */
2481
- export const TargetDeploymentAlias$inboundSchema: z.ZodType<
2482
- TargetDeploymentAlias,
2483
- unknown
2484
- > = z.object({
2485
- certificateChain: z.nullable(z.string()).optional(),
2486
- certificateId: z.string(),
2487
- certificateStatus: TargetDeploymentAliasCertificateStatus$inboundSchema,
2488
- dnsError: z.nullable(z.string()).optional(),
2489
- dnsStatus: TargetDeploymentAliasDnsStatus$inboundSchema,
2490
- fqdn: z.string(),
2491
- issuedAt: z.nullable(z.string()).optional(),
2492
- privateKey: z.nullable(z.string()).optional(),
2493
- });
2494
-
2495
- export function targetDeploymentAliasFromJSON(
2496
- jsonString: string,
2497
- ): SafeParseResult<TargetDeploymentAlias, SDKValidationError> {
2498
- return safeParse(
2499
- jsonString,
2500
- (x) => TargetDeploymentAlias$inboundSchema.parse(JSON.parse(x)),
2501
- `Failed to parse 'TargetDeploymentAlias' from JSON`,
2502
- );
2503
- }
2504
-
2505
- /** @internal */
2506
- export const TargetDeploymentCertificateStatus$inboundSchema: z.ZodEnum<
2507
- typeof TargetDeploymentCertificateStatus
2508
- > = z.enum(TargetDeploymentCertificateStatus);
2509
-
2510
- /** @internal */
2511
- export const TargetDeploymentDnsStatus$inboundSchema: z.ZodEnum<
2512
- typeof TargetDeploymentDnsStatus
2513
- > = z.enum(TargetDeploymentDnsStatus);
2514
-
2515
- /** @internal */
2516
- export const TargetDeploymentEndpointsCertificateStatus$inboundSchema:
2517
- z.ZodEnum<typeof TargetDeploymentEndpointsCertificateStatus> = z.enum(
2518
- TargetDeploymentEndpointsCertificateStatus,
2519
- );
2520
-
2521
- /** @internal */
2522
- export const TargetDeploymentEndpointsDnsStatus$inboundSchema: z.ZodEnum<
2523
- typeof TargetDeploymentEndpointsDnsStatus
2524
- > = z.enum(TargetDeploymentEndpointsDnsStatus);
2525
-
2526
- /** @internal */
2527
- export const TargetDeploymentEndpoints$inboundSchema: z.ZodType<
2528
- TargetDeploymentEndpoints,
2529
- unknown
2530
- > = z.object({
2531
- certificateChain: z.nullable(z.string()).optional(),
2532
- certificateId: z.string(),
2533
- certificateStatus: TargetDeploymentEndpointsCertificateStatus$inboundSchema,
2534
- dnsError: z.nullable(z.string()).optional(),
2535
- dnsStatus: TargetDeploymentEndpointsDnsStatus$inboundSchema,
2536
- fqdn: z.string(),
2537
- issuedAt: z.nullable(z.string()).optional(),
2538
- privateKey: z.nullable(z.string()).optional(),
2539
- });
2540
-
2541
- export function targetDeploymentEndpointsFromJSON(
2542
- jsonString: string,
2543
- ): SafeParseResult<TargetDeploymentEndpoints, SDKValidationError> {
2544
- return safeParse(
2545
- jsonString,
2546
- (x) => TargetDeploymentEndpoints$inboundSchema.parse(JSON.parse(x)),
2547
- `Failed to parse 'TargetDeploymentEndpoints' from JSON`,
2548
- );
2549
- }
2550
-
2551
- /** @internal */
2552
- export const ConfigResources$inboundSchema: z.ZodType<
2553
- ConfigResources,
2554
- unknown
2555
- > = z.object({
2556
- aliases: z.array(z.lazy(() => TargetDeploymentAlias$inboundSchema))
2557
- .optional(),
2558
- certificateChain: z.nullable(z.string()).optional(),
2559
- certificateId: z.string(),
2560
- certificateStatus: TargetDeploymentCertificateStatus$inboundSchema,
2561
- dnsError: z.nullable(z.string()).optional(),
2562
- dnsStatus: TargetDeploymentDnsStatus$inboundSchema,
2563
- endpoints: z.record(
2564
- z.string(),
2565
- z.lazy(() => TargetDeploymentEndpoints$inboundSchema),
2566
- ).optional(),
2567
- fqdn: z.string(),
2568
- issuedAt: z.nullable(z.string()).optional(),
2569
- privateKey: z.nullable(z.string()).optional(),
2570
- });
2571
-
2572
- export function configResourcesFromJSON(
2573
- jsonString: string,
2574
- ): SafeParseResult<ConfigResources, SDKValidationError> {
2575
- return safeParse(
2576
- jsonString,
2577
- (x) => ConfigResources$inboundSchema.parse(JSON.parse(x)),
2578
- `Failed to parse 'ConfigResources' from JSON`,
2579
- );
2580
- }
2581
-
2582
- /** @internal */
2583
- export const TargetDeploymentDomainMetadata$inboundSchema: z.ZodType<
2584
- TargetDeploymentDomainMetadata,
2585
- unknown
2586
- > = z.object({
2587
- baseDomain: z.string(),
2588
- hostedZoneId: z.string(),
2589
- publicSubdomain: z.string(),
2590
- resources: z.record(z.string(), z.lazy(() => ConfigResources$inboundSchema)),
2591
- });
2592
-
2593
- export function targetDeploymentDomainMetadataFromJSON(
2594
- jsonString: string,
2595
- ): SafeParseResult<TargetDeploymentDomainMetadata, SDKValidationError> {
2596
- return safeParse(
2597
- jsonString,
2598
- (x) => TargetDeploymentDomainMetadata$inboundSchema.parse(JSON.parse(x)),
2599
- `Failed to parse 'TargetDeploymentDomainMetadata' from JSON`,
2600
- );
2601
- }
2602
-
2603
- /** @internal */
2604
- export const TargetDeploymentDomainMetadataUnion$inboundSchema: z.ZodType<
2605
- TargetDeploymentDomainMetadataUnion,
2606
- unknown
2607
- > = z.union([
2608
- z.lazy(() => TargetDeploymentDomainMetadata$inboundSchema),
2609
- z.string(),
2610
- ]);
2611
-
2612
- export function targetDeploymentDomainMetadataUnionFromJSON(
2613
- jsonString: string,
2614
- ): SafeParseResult<TargetDeploymentDomainMetadataUnion, SDKValidationError> {
2615
- return safeParse(
2616
- jsonString,
2617
- (x) =>
2618
- TargetDeploymentDomainMetadataUnion$inboundSchema.parse(JSON.parse(x)),
2619
- `Failed to parse 'TargetDeploymentDomainMetadataUnion' from JSON`,
2620
- );
2621
- }
2622
-
2623
- /** @internal */
2624
- export const TargetDeploymentEnvironmentVariablesType$inboundSchema: z.ZodEnum<
2625
- typeof TargetDeploymentEnvironmentVariablesType
2626
- > = z.enum(TargetDeploymentEnvironmentVariablesType);
2627
-
2628
- /** @internal */
2629
- export const TargetDeploymentVariable$inboundSchema: z.ZodType<
2630
- TargetDeploymentVariable,
2631
- unknown
2632
- > = z.object({
2633
- name: z.string(),
2634
- targetResources: z.nullable(z.array(z.string())).optional(),
2635
- type: TargetDeploymentEnvironmentVariablesType$inboundSchema,
2636
- value: z.string(),
2637
- });
2638
-
2639
- export function targetDeploymentVariableFromJSON(
2640
- jsonString: string,
2641
- ): SafeParseResult<TargetDeploymentVariable, SDKValidationError> {
2642
- return safeParse(
2643
- jsonString,
2644
- (x) => TargetDeploymentVariable$inboundSchema.parse(JSON.parse(x)),
2645
- `Failed to parse 'TargetDeploymentVariable' from JSON`,
2646
- );
2647
- }
2648
-
2649
- /** @internal */
2650
- export const TargetDeploymentEnvironmentVariables$inboundSchema: z.ZodType<
2651
- TargetDeploymentEnvironmentVariables,
2652
- unknown
2653
- > = z.object({
2654
- createdAt: z.string(),
2655
- hash: z.string(),
2656
- variables: z.array(z.lazy(() => TargetDeploymentVariable$inboundSchema)),
2657
- });
2658
-
2659
- export function targetDeploymentEnvironmentVariablesFromJSON(
2660
- jsonString: string,
2661
- ): SafeParseResult<TargetDeploymentEnvironmentVariables, SDKValidationError> {
2662
- return safeParse(
2663
- jsonString,
2664
- (x) =>
2665
- TargetDeploymentEnvironmentVariables$inboundSchema.parse(JSON.parse(x)),
2666
- `Failed to parse 'TargetDeploymentEnvironmentVariables' from JSON`,
2667
- );
2668
- }
2669
-
2670
- /** @internal */
2671
- export const ConfigPlatformKubernetes$inboundSchema: z.ZodEnum<
2672
- typeof ConfigPlatformKubernetes
2673
- > = z.enum(ConfigPlatformKubernetes);
2674
-
2675
- /** @internal */
2676
- export const TargetDeploymentManagementConfigKubernetes$inboundSchema:
2677
- z.ZodType<TargetDeploymentManagementConfigKubernetes, unknown> = z.object({
2678
- platform: ConfigPlatformKubernetes$inboundSchema,
2679
- });
2680
-
2681
- export function targetDeploymentManagementConfigKubernetesFromJSON(
2682
- jsonString: string,
2683
- ): SafeParseResult<
2684
- TargetDeploymentManagementConfigKubernetes,
2685
- SDKValidationError
2686
- > {
2687
- return safeParse(
2688
- jsonString,
2689
- (x) =>
2690
- TargetDeploymentManagementConfigKubernetes$inboundSchema.parse(
2691
- JSON.parse(x),
2692
- ),
2693
- `Failed to parse 'TargetDeploymentManagementConfigKubernetes' from JSON`,
2694
- );
2695
- }
2696
-
2697
- /** @internal */
2698
- export const ConfigPlatformAzure$inboundSchema: z.ZodEnum<
2699
- typeof ConfigPlatformAzure
2700
- > = z.enum(ConfigPlatformAzure);
2701
-
2702
- /** @internal */
2703
- export const TargetDeploymentManagementConfigAzure$inboundSchema: z.ZodType<
2704
- TargetDeploymentManagementConfigAzure,
2705
- unknown
2706
- > = z.object({
2707
- managingTenantId: z.string(),
2708
- oidcIssuer: z.string(),
2709
- oidcSubject: z.string(),
2710
- platform: ConfigPlatformAzure$inboundSchema,
2711
- });
2712
-
2713
- export function targetDeploymentManagementConfigAzureFromJSON(
2714
- jsonString: string,
2715
- ): SafeParseResult<TargetDeploymentManagementConfigAzure, SDKValidationError> {
2716
- return safeParse(
2717
- jsonString,
2718
- (x) =>
2719
- TargetDeploymentManagementConfigAzure$inboundSchema.parse(JSON.parse(x)),
2720
- `Failed to parse 'TargetDeploymentManagementConfigAzure' from JSON`,
2721
- );
2722
- }
2723
-
2724
- /** @internal */
2725
- export const ConfigPlatformGcp$inboundSchema: z.ZodEnum<
2726
- typeof ConfigPlatformGcp
2727
- > = z.enum(ConfigPlatformGcp);
2728
-
2729
- /** @internal */
2730
- export const TargetDeploymentManagementConfigGcp$inboundSchema: z.ZodType<
2731
- TargetDeploymentManagementConfigGcp,
2732
- unknown
2733
- > = z.object({
2734
- serviceAccountEmail: z.string(),
2735
- platform: ConfigPlatformGcp$inboundSchema,
2736
- });
2737
-
2738
- export function targetDeploymentManagementConfigGcpFromJSON(
2739
- jsonString: string,
2740
- ): SafeParseResult<TargetDeploymentManagementConfigGcp, SDKValidationError> {
2741
- return safeParse(
2742
- jsonString,
2743
- (x) =>
2744
- TargetDeploymentManagementConfigGcp$inboundSchema.parse(JSON.parse(x)),
2745
- `Failed to parse 'TargetDeploymentManagementConfigGcp' from JSON`,
2746
- );
2747
- }
2748
-
2749
- /** @internal */
2750
- export const ConfigPlatformAws$inboundSchema: z.ZodEnum<
2751
- typeof ConfigPlatformAws
2752
- > = z.enum(ConfigPlatformAws);
2753
-
2754
- /** @internal */
2755
- export const TargetDeploymentManagementConfigAws$inboundSchema: z.ZodType<
2756
- TargetDeploymentManagementConfigAws,
2757
- unknown
2758
- > = z.object({
2759
- managingRoleArn: z.string(),
2760
- platform: ConfigPlatformAws$inboundSchema,
2761
- });
2762
-
2763
- export function targetDeploymentManagementConfigAwsFromJSON(
2764
- jsonString: string,
2765
- ): SafeParseResult<TargetDeploymentManagementConfigAws, SDKValidationError> {
2766
- return safeParse(
2767
- jsonString,
2768
- (x) =>
2769
- TargetDeploymentManagementConfigAws$inboundSchema.parse(JSON.parse(x)),
2770
- `Failed to parse 'TargetDeploymentManagementConfigAws' from JSON`,
2771
- );
2772
- }
2773
-
2774
- /** @internal */
2775
- export const TargetDeploymentManagementConfigUnion$inboundSchema: z.ZodType<
2776
- TargetDeploymentManagementConfigUnion,
2777
- unknown
2778
- > = z.union([
2779
- z.lazy(() => TargetDeploymentManagementConfigAzure$inboundSchema),
2780
- z.lazy(() => TargetDeploymentManagementConfigAws$inboundSchema),
2781
- z.lazy(() => TargetDeploymentManagementConfigGcp$inboundSchema),
2782
- z.lazy(() => TargetDeploymentManagementConfigKubernetes$inboundSchema),
2783
- z.string(),
2784
- ]);
2785
-
2786
- export function targetDeploymentManagementConfigUnionFromJSON(
2787
- jsonString: string,
2788
- ): SafeParseResult<TargetDeploymentManagementConfigUnion, SDKValidationError> {
2789
- return safeParse(
2790
- jsonString,
2791
- (x) =>
2792
- TargetDeploymentManagementConfigUnion$inboundSchema.parse(JSON.parse(x)),
2793
- `Failed to parse 'TargetDeploymentManagementConfigUnion' from JSON`,
2794
- );
2795
- }
2796
-
2797
- /** @internal */
2798
- export const TargetDeploymentMonitoring$inboundSchema: z.ZodType<
2799
- TargetDeploymentMonitoring,
2800
- unknown
2801
- > = z.object({
2802
- logsAuthHeader: z.string(),
2803
- logsEndpoint: z.string(),
2804
- metricsAuthHeader: z.nullable(z.string()).optional(),
2805
- metricsEndpoint: z.nullable(z.string()).optional(),
2806
- resourceAttributes: z.record(z.string(), z.string()).optional(),
2807
- });
2808
-
2809
- export function targetDeploymentMonitoringFromJSON(
2810
- jsonString: string,
2811
- ): SafeParseResult<TargetDeploymentMonitoring, SDKValidationError> {
2812
- return safeParse(
2813
- jsonString,
2814
- (x) => TargetDeploymentMonitoring$inboundSchema.parse(JSON.parse(x)),
2815
- `Failed to parse 'TargetDeploymentMonitoring' from JSON`,
2816
- );
2817
- }
2818
-
2819
- /** @internal */
2820
- export const TargetDeploymentMonitoringUnion$inboundSchema: z.ZodType<
2821
- TargetDeploymentMonitoringUnion,
2822
- unknown
2823
- > = z.union([
2824
- z.lazy(() => TargetDeploymentMonitoring$inboundSchema),
2825
- z.string(),
2826
- ]);
2827
-
2828
- export function targetDeploymentMonitoringUnionFromJSON(
2829
- jsonString: string,
2830
- ): SafeParseResult<TargetDeploymentMonitoringUnion, SDKValidationError> {
2831
- return safeParse(
2832
- jsonString,
2833
- (x) => TargetDeploymentMonitoringUnion$inboundSchema.parse(JSON.parse(x)),
2834
- `Failed to parse 'TargetDeploymentMonitoringUnion' from JSON`,
2835
- );
2836
- }
2837
-
2838
- /** @internal */
2839
- export const TargetDeploymentFailureDomains2$inboundSchema: z.ZodType<
2840
- TargetDeploymentFailureDomains2,
2841
- unknown
2842
- > = z.object({
2843
- selectedFailureDomains: z.array(z.string()).optional(),
2844
- spread: z.int(),
2845
- });
2846
-
2847
- export function targetDeploymentFailureDomains2FromJSON(
2848
- jsonString: string,
2849
- ): SafeParseResult<TargetDeploymentFailureDomains2, SDKValidationError> {
2850
- return safeParse(
2851
- jsonString,
2852
- (x) => TargetDeploymentFailureDomains2$inboundSchema.parse(JSON.parse(x)),
2853
- `Failed to parse 'TargetDeploymentFailureDomains2' from JSON`,
2854
- );
2855
- }
2856
-
2857
- /** @internal */
2858
- export const TargetDeploymentFailureDomainsUnion2$inboundSchema: z.ZodType<
2859
- TargetDeploymentFailureDomainsUnion2,
2860
- unknown
2861
- > = z.union([
2862
- z.lazy(() => TargetDeploymentFailureDomains2$inboundSchema),
2863
- z.string(),
2864
- ]);
2865
-
2866
- export function targetDeploymentFailureDomainsUnion2FromJSON(
2867
- jsonString: string,
2868
- ): SafeParseResult<TargetDeploymentFailureDomainsUnion2, SDKValidationError> {
2869
- return safeParse(
2870
- jsonString,
2871
- (x) =>
2872
- TargetDeploymentFailureDomainsUnion2$inboundSchema.parse(JSON.parse(x)),
2873
- `Failed to parse 'TargetDeploymentFailureDomainsUnion2' from JSON`,
2874
- );
2875
- }
2876
-
2877
- /** @internal */
2878
- export const TargetDeploymentPoolsAutoscale$inboundSchema: z.ZodType<
2879
- TargetDeploymentPoolsAutoscale,
2880
- unknown
2881
- > = z.object({
2882
- failure_domains: z.nullable(
2883
- z.union([
2884
- z.lazy(() => TargetDeploymentFailureDomains2$inboundSchema),
2885
- z.string(),
2886
- ]),
2887
- ).optional(),
2888
- machine: z.nullable(z.string()).optional(),
2889
- max: z.int(),
2890
- min: z.int(),
2891
- mode: z.literal("autoscale"),
2892
- }).transform((v) => {
2893
- return remap$(v, {
2894
- "failure_domains": "failureDomains",
2895
- });
2896
- });
2897
-
2898
- export function targetDeploymentPoolsAutoscaleFromJSON(
2899
- jsonString: string,
2900
- ): SafeParseResult<TargetDeploymentPoolsAutoscale, SDKValidationError> {
2901
- return safeParse(
2902
- jsonString,
2903
- (x) => TargetDeploymentPoolsAutoscale$inboundSchema.parse(JSON.parse(x)),
2904
- `Failed to parse 'TargetDeploymentPoolsAutoscale' from JSON`,
2905
- );
2906
- }
2907
-
2908
- /** @internal */
2909
- export const TargetDeploymentFailureDomains1$inboundSchema: z.ZodType<
2910
- TargetDeploymentFailureDomains1,
2911
- unknown
2912
- > = z.object({
2913
- selectedFailureDomains: z.array(z.string()).optional(),
2914
- spread: z.int(),
2915
- });
2916
-
2917
- export function targetDeploymentFailureDomains1FromJSON(
2918
- jsonString: string,
2919
- ): SafeParseResult<TargetDeploymentFailureDomains1, SDKValidationError> {
2920
- return safeParse(
2921
- jsonString,
2922
- (x) => TargetDeploymentFailureDomains1$inboundSchema.parse(JSON.parse(x)),
2923
- `Failed to parse 'TargetDeploymentFailureDomains1' from JSON`,
2924
- );
2925
- }
2926
-
2927
- /** @internal */
2928
- export const TargetDeploymentFailureDomainsUnion1$inboundSchema: z.ZodType<
2929
- TargetDeploymentFailureDomainsUnion1,
2930
- unknown
2931
- > = z.union([
2932
- z.lazy(() => TargetDeploymentFailureDomains1$inboundSchema),
2933
- z.string(),
2934
- ]);
2935
-
2936
- export function targetDeploymentFailureDomainsUnion1FromJSON(
2937
- jsonString: string,
2938
- ): SafeParseResult<TargetDeploymentFailureDomainsUnion1, SDKValidationError> {
2939
- return safeParse(
2940
- jsonString,
2941
- (x) =>
2942
- TargetDeploymentFailureDomainsUnion1$inboundSchema.parse(JSON.parse(x)),
2943
- `Failed to parse 'TargetDeploymentFailureDomainsUnion1' from JSON`,
2944
- );
2945
- }
2946
-
2947
- /** @internal */
2948
- export const TargetDeploymentPoolsFixed$inboundSchema: z.ZodType<
2949
- TargetDeploymentPoolsFixed,
2950
- unknown
2951
- > = z.object({
2952
- failure_domains: z.nullable(
2953
- z.union([
2954
- z.lazy(() => TargetDeploymentFailureDomains1$inboundSchema),
2955
- z.string(),
2956
- ]),
2957
- ).optional(),
2958
- machine: z.nullable(z.string()).optional(),
2959
- machines: z.int(),
2960
- mode: z.literal("fixed"),
2961
- }).transform((v) => {
2962
- return remap$(v, {
2963
- "failure_domains": "failureDomains",
2964
- });
2965
- });
2966
-
2967
- export function targetDeploymentPoolsFixedFromJSON(
2968
- jsonString: string,
2969
- ): SafeParseResult<TargetDeploymentPoolsFixed, SDKValidationError> {
2970
- return safeParse(
2971
- jsonString,
2972
- (x) => TargetDeploymentPoolsFixed$inboundSchema.parse(JSON.parse(x)),
2973
- `Failed to parse 'TargetDeploymentPoolsFixed' from JSON`,
2974
- );
2975
- }
2976
-
2977
- /** @internal */
2978
- export const TargetDeploymentPoolsUnion$inboundSchema: z.ZodType<
2979
- TargetDeploymentPoolsUnion,
2980
- unknown
2981
- > = z.union([
2982
- z.lazy(() => TargetDeploymentPoolsFixed$inboundSchema),
2983
- z.lazy(() => TargetDeploymentPoolsAutoscale$inboundSchema),
2984
- ]);
2985
-
2986
- export function targetDeploymentPoolsUnionFromJSON(
2987
- jsonString: string,
2988
- ): SafeParseResult<TargetDeploymentPoolsUnion, SDKValidationError> {
2989
- return safeParse(
2990
- jsonString,
2991
- (x) => TargetDeploymentPoolsUnion$inboundSchema.parse(JSON.parse(x)),
2992
- `Failed to parse 'TargetDeploymentPoolsUnion' from JSON`,
2993
- );
2994
- }
2995
-
2996
- /** @internal */
2997
- export const TargetDeploymentCompute$inboundSchema: z.ZodType<
2998
- TargetDeploymentCompute,
2999
- unknown
3000
- > = z.object({
3001
- pools: z.record(
3002
- z.string(),
3003
- z.union([
3004
- z.lazy(() => TargetDeploymentPoolsFixed$inboundSchema),
3005
- z.lazy(() => TargetDeploymentPoolsAutoscale$inboundSchema),
3006
- ]),
3007
- ).optional(),
3008
- });
3009
-
3010
- export function targetDeploymentComputeFromJSON(
3011
- jsonString: string,
3012
- ): SafeParseResult<TargetDeploymentCompute, SDKValidationError> {
3013
- return safeParse(
3014
- jsonString,
3015
- (x) => TargetDeploymentCompute$inboundSchema.parse(JSON.parse(x)),
3016
- `Failed to parse 'TargetDeploymentCompute' from JSON`,
3017
- );
3018
- }
3019
-
3020
- /** @internal */
3021
- export const TargetDeploymentComputeUnion$inboundSchema: z.ZodType<
3022
- TargetDeploymentComputeUnion,
3023
- unknown
3024
- > = z.union([z.lazy(() => TargetDeploymentCompute$inboundSchema), z.string()]);
3025
-
3026
- export function targetDeploymentComputeUnionFromJSON(
3027
- jsonString: string,
3028
- ): SafeParseResult<TargetDeploymentComputeUnion, SDKValidationError> {
3029
- return safeParse(
3030
- jsonString,
3031
- (x) => TargetDeploymentComputeUnion$inboundSchema.parse(JSON.parse(x)),
3032
- `Failed to parse 'TargetDeploymentComputeUnion' from JSON`,
3033
- );
3034
- }
3035
-
3036
- /** @internal */
3037
- export const TargetDeploymentDeploymentModel$inboundSchema: z.ZodEnum<
3038
- typeof TargetDeploymentDeploymentModel
3039
- > = z.enum(TargetDeploymentDeploymentModel);
3040
-
3041
- /** @internal */
3042
- export const TargetDeploymentAwsStackSettings$inboundSchema: z.ZodType<
3043
- TargetDeploymentAwsStackSettings,
3044
- unknown
3045
- > = z.object({
3046
- certificateArn: z.string(),
3047
- });
3048
-
3049
- export function targetDeploymentAwsStackSettingsFromJSON(
3050
- jsonString: string,
3051
- ): SafeParseResult<TargetDeploymentAwsStackSettings, SDKValidationError> {
3052
- return safeParse(
3053
- jsonString,
3054
- (x) => TargetDeploymentAwsStackSettings$inboundSchema.parse(JSON.parse(x)),
3055
- `Failed to parse 'TargetDeploymentAwsStackSettings' from JSON`,
3056
- );
3057
- }
3058
-
3059
- /** @internal */
3060
- export const TargetDeploymentStackSettingsAwsUnion$inboundSchema: z.ZodType<
3061
- TargetDeploymentStackSettingsAwsUnion,
3062
- unknown
3063
- > = z.union([
3064
- z.lazy(() => TargetDeploymentAwsStackSettings$inboundSchema),
3065
- z.string(),
3066
- ]);
3067
-
3068
- export function targetDeploymentStackSettingsAwsUnionFromJSON(
3069
- jsonString: string,
3070
- ): SafeParseResult<TargetDeploymentStackSettingsAwsUnion, SDKValidationError> {
3071
- return safeParse(
3072
- jsonString,
3073
- (x) =>
3074
- TargetDeploymentStackSettingsAwsUnion$inboundSchema.parse(JSON.parse(x)),
3075
- `Failed to parse 'TargetDeploymentStackSettingsAwsUnion' from JSON`,
3076
- );
3077
- }
3078
-
3079
- /** @internal */
3080
- export const AzureConfigStackSettings$inboundSchema: z.ZodType<
3081
- AzureConfigStackSettings,
3082
- unknown
3083
- > = z.object({
3084
- keyVaultCertificateId: z.string(),
3085
- keyVaultResourceId: z.nullable(z.string()).optional(),
3086
- });
3087
-
3088
- export function azureConfigStackSettingsFromJSON(
3089
- jsonString: string,
3090
- ): SafeParseResult<AzureConfigStackSettings, SDKValidationError> {
3091
- return safeParse(
3092
- jsonString,
3093
- (x) => AzureConfigStackSettings$inboundSchema.parse(JSON.parse(x)),
3094
- `Failed to parse 'AzureConfigStackSettings' from JSON`,
3095
- );
3096
- }
3097
-
3098
- /** @internal */
3099
- export const ConfigStackSettingsAzureUnion$inboundSchema: z.ZodType<
3100
- ConfigStackSettingsAzureUnion,
3101
- unknown
3102
- > = z.union([z.lazy(() => AzureConfigStackSettings$inboundSchema), z.string()]);
3103
-
3104
- export function configStackSettingsAzureUnionFromJSON(
3105
- jsonString: string,
3106
- ): SafeParseResult<ConfigStackSettingsAzureUnion, SDKValidationError> {
3107
- return safeParse(
3108
- jsonString,
3109
- (x) => ConfigStackSettingsAzureUnion$inboundSchema.parse(JSON.parse(x)),
3110
- `Failed to parse 'ConfigStackSettingsAzureUnion' from JSON`,
3111
- );
3112
- }
3113
-
3114
- /** @internal */
3115
- export const GcpConfigStackSettings$inboundSchema: z.ZodType<
3116
- GcpConfigStackSettings,
3117
- unknown
3118
- > = z.object({
3119
- certificateName: z.string(),
3120
- });
3121
-
3122
- export function gcpConfigStackSettingsFromJSON(
3123
- jsonString: string,
3124
- ): SafeParseResult<GcpConfigStackSettings, SDKValidationError> {
3125
- return safeParse(
3126
- jsonString,
3127
- (x) => GcpConfigStackSettings$inboundSchema.parse(JSON.parse(x)),
3128
- `Failed to parse 'GcpConfigStackSettings' from JSON`,
3129
- );
3130
- }
3131
-
3132
- /** @internal */
3133
- export const ConfigStackSettingsGcpUnion$inboundSchema: z.ZodType<
3134
- ConfigStackSettingsGcpUnion,
3135
- unknown
3136
- > = z.union([z.lazy(() => GcpConfigStackSettings$inboundSchema), z.string()]);
3137
-
3138
- export function configStackSettingsGcpUnionFromJSON(
3139
- jsonString: string,
3140
- ): SafeParseResult<ConfigStackSettingsGcpUnion, SDKValidationError> {
3141
- return safeParse(
3142
- jsonString,
3143
- (x) => ConfigStackSettingsGcpUnion$inboundSchema.parse(JSON.parse(x)),
3144
- `Failed to parse 'ConfigStackSettingsGcpUnion' from JSON`,
3145
- );
3146
- }
3147
-
3148
- /** @internal */
3149
- export const TargetDeploymentTlsSecretRef$inboundSchema: z.ZodType<
3150
- TargetDeploymentTlsSecretRef,
3151
- unknown
3152
- > = z.object({
3153
- namespace: z.nullable(z.string()).optional(),
3154
- secretName: z.string(),
3155
- });
3156
-
3157
- export function targetDeploymentTlsSecretRefFromJSON(
3158
- jsonString: string,
3159
- ): SafeParseResult<TargetDeploymentTlsSecretRef, SDKValidationError> {
3160
- return safeParse(
3161
- jsonString,
3162
- (x) => TargetDeploymentTlsSecretRef$inboundSchema.parse(JSON.parse(x)),
3163
- `Failed to parse 'TargetDeploymentTlsSecretRef' from JSON`,
3164
- );
3165
- }
3166
-
3167
- /** @internal */
3168
- export const TargetDeploymentDomainsKubernetes$inboundSchema: z.ZodType<
3169
- TargetDeploymentDomainsKubernetes,
3170
- unknown
3171
- > = z.object({
3172
- tlsSecretRef: z.lazy(() => TargetDeploymentTlsSecretRef$inboundSchema),
3173
- });
3174
-
3175
- export function targetDeploymentDomainsKubernetesFromJSON(
3176
- jsonString: string,
3177
- ): SafeParseResult<TargetDeploymentDomainsKubernetes, SDKValidationError> {
3178
- return safeParse(
3179
- jsonString,
3180
- (x) => TargetDeploymentDomainsKubernetes$inboundSchema.parse(JSON.parse(x)),
3181
- `Failed to parse 'TargetDeploymentDomainsKubernetes' from JSON`,
3182
- );
3183
- }
3184
-
3185
- /** @internal */
3186
- export const TargetDeploymentDomainsKubernetesUnion$inboundSchema: z.ZodType<
3187
- TargetDeploymentDomainsKubernetesUnion,
3188
- unknown
3189
- > = z.union([
3190
- z.lazy(() => TargetDeploymentDomainsKubernetes$inboundSchema),
3191
- z.string(),
3192
- ]);
3193
-
3194
- export function targetDeploymentDomainsKubernetesUnionFromJSON(
3195
- jsonString: string,
3196
- ): SafeParseResult<TargetDeploymentDomainsKubernetesUnion, SDKValidationError> {
3197
- return safeParse(
3198
- jsonString,
3199
- (x) =>
3200
- TargetDeploymentDomainsKubernetesUnion$inboundSchema.parse(JSON.parse(x)),
3201
- `Failed to parse 'TargetDeploymentDomainsKubernetesUnion' from JSON`,
3202
- );
3203
- }
3204
-
3205
- /** @internal */
3206
- export const TargetDeploymentDomainsCertificate$inboundSchema: z.ZodType<
3207
- TargetDeploymentDomainsCertificate,
3208
- unknown
3209
- > = z.object({
3210
- aws: z.nullable(
3211
- z.union([
3212
- z.lazy(() => TargetDeploymentAwsStackSettings$inboundSchema),
3213
- z.string(),
3214
- ]),
3215
- ).optional(),
3216
- azure: z.nullable(
3217
- z.union([z.lazy(() => AzureConfigStackSettings$inboundSchema), z.string()]),
3218
- ).optional(),
3219
- gcp: z.nullable(
3220
- z.union([z.lazy(() => GcpConfigStackSettings$inboundSchema), z.string()]),
3221
- ).optional(),
3222
- kubernetes: z.nullable(
3223
- z.union([
3224
- z.lazy(() => TargetDeploymentDomainsKubernetes$inboundSchema),
3225
- z.string(),
3226
- ]),
3227
- ).optional(),
3228
- });
3229
-
3230
- export function targetDeploymentDomainsCertificateFromJSON(
3231
- jsonString: string,
3232
- ): SafeParseResult<TargetDeploymentDomainsCertificate, SDKValidationError> {
3233
- return safeParse(
3234
- jsonString,
3235
- (x) =>
3236
- TargetDeploymentDomainsCertificate$inboundSchema.parse(JSON.parse(x)),
3237
- `Failed to parse 'TargetDeploymentDomainsCertificate' from JSON`,
3238
- );
3239
- }
3240
-
3241
- /** @internal */
3242
- export const TargetDeploymentCustomDomains$inboundSchema: z.ZodType<
3243
- TargetDeploymentCustomDomains,
3244
- unknown
3245
- > = z.object({
3246
- certificate: z.lazy(() => TargetDeploymentDomainsCertificate$inboundSchema),
3247
- domain: z.string(),
3248
- });
3249
-
3250
- export function targetDeploymentCustomDomainsFromJSON(
3251
- jsonString: string,
3252
- ): SafeParseResult<TargetDeploymentCustomDomains, SDKValidationError> {
3253
- return safeParse(
3254
- jsonString,
3255
- (x) => TargetDeploymentCustomDomains$inboundSchema.parse(JSON.parse(x)),
3256
- `Failed to parse 'TargetDeploymentCustomDomains' from JSON`,
3257
- );
3258
- }
3259
-
3260
- /** @internal */
3261
- export const TargetDeploymentModeLoadBalancer$inboundSchema: z.ZodEnum<
3262
- typeof TargetDeploymentModeLoadBalancer
3263
- > = z.enum(TargetDeploymentModeLoadBalancer);
3264
-
3265
- /** @internal */
3266
- export const TargetDeploymentPublicEndpointTargetLoadBalancer$inboundSchema:
3267
- z.ZodType<TargetDeploymentPublicEndpointTargetLoadBalancer, unknown> = z
3268
- .object({
3269
- cnameTarget: z.string(),
3270
- mode: TargetDeploymentModeLoadBalancer$inboundSchema,
3271
- });
3272
-
3273
- export function targetDeploymentPublicEndpointTargetLoadBalancerFromJSON(
3274
- jsonString: string,
3275
- ): SafeParseResult<
3276
- TargetDeploymentPublicEndpointTargetLoadBalancer,
3277
- SDKValidationError
3278
- > {
3279
- return safeParse(
3280
- jsonString,
3281
- (x) =>
3282
- TargetDeploymentPublicEndpointTargetLoadBalancer$inboundSchema.parse(
3283
- JSON.parse(x),
3284
- ),
3285
- `Failed to parse 'TargetDeploymentPublicEndpointTargetLoadBalancer' from JSON`,
3286
- );
3287
- }
3288
-
3289
- /** @internal */
3290
- export const TargetDeploymentModeMachineAddresses$inboundSchema: z.ZodEnum<
3291
- typeof TargetDeploymentModeMachineAddresses
3292
- > = z.enum(TargetDeploymentModeMachineAddresses);
3293
-
3294
- /** @internal */
3295
- export const TargetDeploymentPublicEndpointTargetMachineAddresses$inboundSchema:
3296
- z.ZodType<TargetDeploymentPublicEndpointTargetMachineAddresses, unknown> = z
3297
- .object({
3298
- mode: TargetDeploymentModeMachineAddresses$inboundSchema,
3299
- });
3300
-
3301
- export function targetDeploymentPublicEndpointTargetMachineAddressesFromJSON(
3302
- jsonString: string,
3303
- ): SafeParseResult<
3304
- TargetDeploymentPublicEndpointTargetMachineAddresses,
3305
- SDKValidationError
3306
- > {
3307
- return safeParse(
3308
- jsonString,
3309
- (x) =>
3310
- TargetDeploymentPublicEndpointTargetMachineAddresses$inboundSchema.parse(
3311
- JSON.parse(x),
3312
- ),
3313
- `Failed to parse 'TargetDeploymentPublicEndpointTargetMachineAddresses' from JSON`,
3314
- );
3315
- }
3316
-
3317
- /** @internal */
3318
- export const TargetDeploymentPublicEndpointTargetUnion$inboundSchema: z.ZodType<
3319
- TargetDeploymentPublicEndpointTargetUnion,
3320
- unknown
3321
- > = z.union([
3322
- z.lazy(() => TargetDeploymentPublicEndpointTargetLoadBalancer$inboundSchema),
3323
- z.lazy(() =>
3324
- TargetDeploymentPublicEndpointTargetMachineAddresses$inboundSchema
3325
- ),
3326
- z.string(),
3327
- ]);
3328
-
3329
- export function targetDeploymentPublicEndpointTargetUnionFromJSON(
3330
- jsonString: string,
3331
- ): SafeParseResult<
3332
- TargetDeploymentPublicEndpointTargetUnion,
3333
- SDKValidationError
3334
- > {
3335
- return safeParse(
3336
- jsonString,
3337
- (x) =>
3338
- TargetDeploymentPublicEndpointTargetUnion$inboundSchema.parse(
3339
- JSON.parse(x),
3340
- ),
3341
- `Failed to parse 'TargetDeploymentPublicEndpointTargetUnion' from JSON`,
3342
- );
3343
- }
3344
-
3345
- /** @internal */
3346
- export const TargetDeploymentDomains$inboundSchema: z.ZodType<
3347
- TargetDeploymentDomains,
3348
- unknown
3349
- > = z.object({
3350
- customDomains: z.nullable(
3351
- z.record(
3352
- z.string(),
3353
- z.lazy(() => TargetDeploymentCustomDomains$inboundSchema),
3354
- ),
3355
- ).optional(),
3356
- publicEndpointTarget: z.nullable(
3357
- z.union([
3358
- z.lazy(() =>
3359
- TargetDeploymentPublicEndpointTargetLoadBalancer$inboundSchema
3360
- ),
3361
- z.lazy(() =>
3362
- TargetDeploymentPublicEndpointTargetMachineAddresses$inboundSchema
3363
- ),
3364
- z.string(),
3365
- ]),
3366
- ).optional(),
3367
- });
3368
-
3369
- export function targetDeploymentDomainsFromJSON(
3370
- jsonString: string,
3371
- ): SafeParseResult<TargetDeploymentDomains, SDKValidationError> {
3372
- return safeParse(
3373
- jsonString,
3374
- (x) => TargetDeploymentDomains$inboundSchema.parse(JSON.parse(x)),
3375
- `Failed to parse 'TargetDeploymentDomains' from JSON`,
3376
- );
3377
- }
3378
-
3379
- /** @internal */
3380
- export const TargetDeploymentDomainsUnion$inboundSchema: z.ZodType<
3381
- TargetDeploymentDomainsUnion,
3382
- unknown
3383
- > = z.union([z.lazy(() => TargetDeploymentDomains$inboundSchema), z.string()]);
3384
-
3385
- export function targetDeploymentDomainsUnionFromJSON(
3386
- jsonString: string,
3387
- ): SafeParseResult<TargetDeploymentDomainsUnion, SDKValidationError> {
3388
- return safeParse(
3389
- jsonString,
3390
- (x) => TargetDeploymentDomainsUnion$inboundSchema.parse(JSON.parse(x)),
3391
- `Failed to parse 'TargetDeploymentDomainsUnion' from JSON`,
3392
- );
3393
- }
3394
-
3395
- /** @internal */
3396
- export const TargetDeploymentEndpointAccess$inboundSchema: z.ZodEnum<
3397
- typeof TargetDeploymentEndpointAccess
3398
- > = z.enum(TargetDeploymentEndpointAccess);
3399
-
3400
- /** @internal */
3401
- export const TargetDeploymentHeartbeats$inboundSchema: z.ZodEnum<
3402
- typeof TargetDeploymentHeartbeats
3403
- > = z.enum(TargetDeploymentHeartbeats);
3404
-
3405
- /** @internal */
3406
- export const TargetDeploymentCloud$inboundSchema: z.ZodType<
3407
- TargetDeploymentCloud,
3408
- unknown
3409
- > = z.object({
3410
- accountId: z.nullable(z.string()).optional(),
3411
- clusterId: z.nullable(z.string()).optional(),
3412
- clusterName: z.nullable(z.string()).optional(),
3413
- projectId: z.nullable(z.string()).optional(),
3414
- region: z.nullable(z.string()).optional(),
3415
- resourceGroup: z.nullable(z.string()).optional(),
3416
- subscriptionId: z.nullable(z.string()).optional(),
3417
- });
3418
-
3419
- export function targetDeploymentCloudFromJSON(
3420
- jsonString: string,
3421
- ): SafeParseResult<TargetDeploymentCloud, SDKValidationError> {
3422
- return safeParse(
3423
- jsonString,
3424
- (x) => TargetDeploymentCloud$inboundSchema.parse(JSON.parse(x)),
3425
- `Failed to parse 'TargetDeploymentCloud' from JSON`,
3426
- );
3427
- }
3428
-
3429
- /** @internal */
3430
- export const TargetDeploymentCloudUnion$inboundSchema: z.ZodType<
3431
- TargetDeploymentCloudUnion,
3432
- unknown
3433
- > = z.union([z.lazy(() => TargetDeploymentCloud$inboundSchema), z.string()]);
3434
-
3435
- export function targetDeploymentCloudUnionFromJSON(
3436
- jsonString: string,
3437
- ): SafeParseResult<TargetDeploymentCloudUnion, SDKValidationError> {
3438
- return safeParse(
3439
- jsonString,
3440
- (x) => TargetDeploymentCloudUnion$inboundSchema.parse(JSON.parse(x)),
3441
- `Failed to parse 'TargetDeploymentCloudUnion' from JSON`,
3442
- );
3443
- }
3444
-
3445
- /** @internal */
3446
- export const TargetDeploymentOwnership$inboundSchema: z.ZodEnum<
3447
- typeof TargetDeploymentOwnership
3448
- > = z.enum(TargetDeploymentOwnership);
3449
-
3450
- /** @internal */
3451
- export const TargetDeploymentCluster$inboundSchema: z.ZodType<
3452
- TargetDeploymentCluster,
3453
- unknown
3454
- > = z.object({
3455
- cloud: z.nullable(
3456
- z.union([z.lazy(() => TargetDeploymentCloud$inboundSchema), z.string()]),
3457
- ).optional(),
3458
- namespace: z.nullable(z.string()).optional(),
3459
- ownership: TargetDeploymentOwnership$inboundSchema,
3460
- });
3461
-
3462
- export function targetDeploymentClusterFromJSON(
3463
- jsonString: string,
3464
- ): SafeParseResult<TargetDeploymentCluster, SDKValidationError> {
3465
- return safeParse(
3466
- jsonString,
3467
- (x) => TargetDeploymentCluster$inboundSchema.parse(JSON.parse(x)),
3468
- `Failed to parse 'TargetDeploymentCluster' from JSON`,
3469
- );
3470
- }
3471
-
3472
- /** @internal */
3473
- export const TargetDeploymentClusterUnion$inboundSchema: z.ZodType<
3474
- TargetDeploymentClusterUnion,
3475
- unknown
3476
- > = z.union([z.lazy(() => TargetDeploymentCluster$inboundSchema), z.string()]);
3477
-
3478
- export function targetDeploymentClusterUnionFromJSON(
3479
- jsonString: string,
3480
- ): SafeParseResult<TargetDeploymentClusterUnion, SDKValidationError> {
3481
- return safeParse(
3482
- jsonString,
3483
- (x) => TargetDeploymentClusterUnion$inboundSchema.parse(JSON.parse(x)),
3484
- `Failed to parse 'TargetDeploymentClusterUnion' from JSON`,
3485
- );
3486
- }
3487
-
3488
- /** @internal */
3489
- export const TargetDeploymentCertificateNone2$inboundSchema: z.ZodType<
3490
- TargetDeploymentCertificateNone2,
3491
- unknown
3492
- > = z.object({
3493
- mode: z.literal("none"),
3494
- });
3495
-
3496
- export function targetDeploymentCertificateNone2FromJSON(
3497
- jsonString: string,
3498
- ): SafeParseResult<TargetDeploymentCertificateNone2, SDKValidationError> {
3499
- return safeParse(
3500
- jsonString,
3501
- (x) => TargetDeploymentCertificateNone2$inboundSchema.parse(JSON.parse(x)),
3502
- `Failed to parse 'TargetDeploymentCertificateNone2' from JSON`,
3503
- );
3504
- }
3505
-
3506
- /** @internal */
3507
- export const TargetDeploymentCertificateManagedTLSSecret2$inboundSchema:
3508
- z.ZodType<TargetDeploymentCertificateManagedTLSSecret2, unknown> = z.object({
3509
- mode: z.literal("managedTlsSecret"),
3510
- secretNameTemplate: z.string(),
3511
- });
3512
-
3513
- export function targetDeploymentCertificateManagedTLSSecret2FromJSON(
3514
- jsonString: string,
3515
- ): SafeParseResult<
3516
- TargetDeploymentCertificateManagedTLSSecret2,
3517
- SDKValidationError
3518
- > {
3519
- return safeParse(
3520
- jsonString,
3521
- (x) =>
3522
- TargetDeploymentCertificateManagedTLSSecret2$inboundSchema.parse(
3523
- JSON.parse(x),
3524
- ),
3525
- `Failed to parse 'TargetDeploymentCertificateManagedTLSSecret2' from JSON`,
3526
- );
3527
- }
3528
-
3529
- /** @internal */
3530
- export const TargetDeploymentCertificateAwsAcmArn2$inboundSchema: z.ZodType<
3531
- TargetDeploymentCertificateAwsAcmArn2,
3532
- unknown
3533
- > = z.object({
3534
- certificateArn: z.string(),
3535
- mode: z.literal("awsAcmArn"),
3536
- });
3537
-
3538
- export function targetDeploymentCertificateAwsAcmArn2FromJSON(
3539
- jsonString: string,
3540
- ): SafeParseResult<TargetDeploymentCertificateAwsAcmArn2, SDKValidationError> {
3541
- return safeParse(
3542
- jsonString,
3543
- (x) =>
3544
- TargetDeploymentCertificateAwsAcmArn2$inboundSchema.parse(JSON.parse(x)),
3545
- `Failed to parse 'TargetDeploymentCertificateAwsAcmArn2' from JSON`,
3546
- );
3547
- }
3548
-
3549
- /** @internal */
3550
- export const TargetDeploymentCertificateManagedAcmImport2$inboundSchema:
3551
- z.ZodType<TargetDeploymentCertificateManagedAcmImport2, unknown> = z.object({
3552
- mode: z.literal("managedAcmImport"),
3553
- region: z.nullable(z.string()).optional(),
3554
- tags: z.record(z.string(), z.string()).optional(),
3555
- });
3556
-
3557
- export function targetDeploymentCertificateManagedAcmImport2FromJSON(
3558
- jsonString: string,
3559
- ): SafeParseResult<
3560
- TargetDeploymentCertificateManagedAcmImport2,
3561
- SDKValidationError
3562
- > {
3563
- return safeParse(
3564
- jsonString,
3565
- (x) =>
3566
- TargetDeploymentCertificateManagedAcmImport2$inboundSchema.parse(
3567
- JSON.parse(x),
3568
- ),
3569
- `Failed to parse 'TargetDeploymentCertificateManagedAcmImport2' from JSON`,
3570
- );
3571
- }
3572
-
3573
- /** @internal */
3574
- export const TargetDeploymentCertificateTLSSecretRef2$inboundSchema: z.ZodType<
3575
- TargetDeploymentCertificateTLSSecretRef2,
3576
- unknown
3577
- > = z.object({
3578
- namespace: z.nullable(z.string()).optional(),
3579
- secretName: z.string(),
3580
- mode: z.literal("tlsSecretRef"),
3581
- });
3582
-
3583
- export function targetDeploymentCertificateTLSSecretRef2FromJSON(
3584
- jsonString: string,
3585
- ): SafeParseResult<
3586
- TargetDeploymentCertificateTLSSecretRef2,
3587
- SDKValidationError
3588
- > {
3589
- return safeParse(
3590
- jsonString,
3591
- (x) =>
3592
- TargetDeploymentCertificateTLSSecretRef2$inboundSchema.parse(
3593
- JSON.parse(x),
3594
- ),
3595
- `Failed to parse 'TargetDeploymentCertificateTLSSecretRef2' from JSON`,
3596
- );
3597
- }
3598
-
3599
- /** @internal */
3600
- export const TargetDeploymentCertificateUnion2$inboundSchema: z.ZodType<
3601
- TargetDeploymentCertificateUnion2,
3602
- unknown
3603
- > = z.union([
3604
- z.lazy(() => TargetDeploymentCertificateTLSSecretRef2$inboundSchema),
3605
- z.lazy(() => TargetDeploymentCertificateManagedAcmImport2$inboundSchema),
3606
- z.lazy(() => TargetDeploymentCertificateAwsAcmArn2$inboundSchema),
3607
- z.lazy(() => TargetDeploymentCertificateManagedTLSSecret2$inboundSchema),
3608
- z.lazy(() => TargetDeploymentCertificateNone2$inboundSchema),
3609
- ]);
3610
-
3611
- export function targetDeploymentCertificateUnion2FromJSON(
3612
- jsonString: string,
3613
- ): SafeParseResult<TargetDeploymentCertificateUnion2, SDKValidationError> {
3614
- return safeParse(
3615
- jsonString,
3616
- (x) => TargetDeploymentCertificateUnion2$inboundSchema.parse(JSON.parse(x)),
3617
- `Failed to parse 'TargetDeploymentCertificateUnion2' from JSON`,
3618
- );
3619
- }
3620
-
3621
- /** @internal */
3622
- export const TargetDeploymentModeCustom$inboundSchema: z.ZodEnum<
3623
- typeof TargetDeploymentModeCustom
3624
- > = z.enum(TargetDeploymentModeCustom);
3625
-
3626
- /** @internal */
3627
- export const TargetDeploymentProviderAzureApplicationGatewayForContainersEnum4$inboundSchema:
3628
- z.ZodEnum<
3629
- typeof TargetDeploymentProviderAzureApplicationGatewayForContainersEnum4
3630
- > = z.enum(TargetDeploymentProviderAzureApplicationGatewayForContainersEnum4);
3631
-
3632
- /** @internal */
3633
- export const TargetDeploymentProviderAzureApplicationGatewayForContainers4$inboundSchema:
3634
- z.ZodType<
3635
- TargetDeploymentProviderAzureApplicationGatewayForContainers4,
3636
- unknown
3637
- > = z.object({
3638
- albName: z.nullable(z.string()).optional(),
3639
- albNamespace: z.nullable(z.string()).optional(),
3640
- frontend: z.string(),
3641
- provider:
3642
- TargetDeploymentProviderAzureApplicationGatewayForContainersEnum4$inboundSchema,
3643
- });
3644
-
3645
- export function targetDeploymentProviderAzureApplicationGatewayForContainers4FromJSON(
3646
- jsonString: string,
3647
- ): SafeParseResult<
3648
- TargetDeploymentProviderAzureApplicationGatewayForContainers4,
3649
- SDKValidationError
3650
- > {
3651
- return safeParse(
3652
- jsonString,
3653
- (x) =>
3654
- TargetDeploymentProviderAzureApplicationGatewayForContainers4$inboundSchema
3655
- .parse(JSON.parse(x)),
3656
- `Failed to parse 'TargetDeploymentProviderAzureApplicationGatewayForContainers4' from JSON`,
3657
- );
3658
- }
3659
-
3660
- /** @internal */
3661
- export const TargetDeploymentProviderGkeGatewayEnum4$inboundSchema: z.ZodEnum<
3662
- typeof TargetDeploymentProviderGkeGatewayEnum4
3663
- > = z.enum(TargetDeploymentProviderGkeGatewayEnum4);
3664
-
3665
- /** @internal */
3666
- export const TargetDeploymentProviderGkeGateway4$inboundSchema: z.ZodType<
3667
- TargetDeploymentProviderGkeGateway4,
3668
- unknown
3669
- > = z.object({
3670
- provider: TargetDeploymentProviderGkeGatewayEnum4$inboundSchema,
3671
- staticAddressName: z.nullable(z.string()).optional(),
3672
- });
3673
-
3674
- export function targetDeploymentProviderGkeGateway4FromJSON(
3675
- jsonString: string,
3676
- ): SafeParseResult<TargetDeploymentProviderGkeGateway4, SDKValidationError> {
3677
- return safeParse(
3678
- jsonString,
3679
- (x) =>
3680
- TargetDeploymentProviderGkeGateway4$inboundSchema.parse(JSON.parse(x)),
3681
- `Failed to parse 'TargetDeploymentProviderGkeGateway4' from JSON`,
3682
- );
3683
- }
3684
-
3685
- /** @internal */
3686
- export const TargetDeploymentProviderAwsAlbEnum4$inboundSchema: z.ZodEnum<
3687
- typeof TargetDeploymentProviderAwsAlbEnum4
3688
- > = z.enum(TargetDeploymentProviderAwsAlbEnum4);
3689
-
3690
- /** @internal */
3691
- export const TargetDeploymentProviderAwsAlb4$inboundSchema: z.ZodType<
3692
- TargetDeploymentProviderAwsAlb4,
3693
- unknown
3694
- > = z.object({
3695
- ipAddressType: z.nullable(z.string()).optional(),
3696
- provider: TargetDeploymentProviderAwsAlbEnum4$inboundSchema,
3697
- scheme: z.string(),
3698
- subnetIds: z.array(z.string()).optional(),
3699
- targetType: z.string(),
3700
- });
3701
-
3702
- export function targetDeploymentProviderAwsAlb4FromJSON(
3703
- jsonString: string,
3704
- ): SafeParseResult<TargetDeploymentProviderAwsAlb4, SDKValidationError> {
3705
- return safeParse(
3706
- jsonString,
3707
- (x) => TargetDeploymentProviderAwsAlb4$inboundSchema.parse(JSON.parse(x)),
3708
- `Failed to parse 'TargetDeploymentProviderAwsAlb4' from JSON`,
3709
- );
3710
- }
3711
-
3712
- /** @internal */
3713
- export const TargetDeploymentProviderUnion4$inboundSchema: z.ZodType<
3714
- TargetDeploymentProviderUnion4,
3715
- unknown
3716
- > = z.union([
3717
- z.lazy(() => TargetDeploymentProviderAwsAlb4$inboundSchema),
3718
- z.lazy(() =>
3719
- TargetDeploymentProviderAzureApplicationGatewayForContainers4$inboundSchema
3720
- ),
3721
- z.lazy(() => TargetDeploymentProviderGkeGateway4$inboundSchema),
3722
- z.string(),
3723
- ]);
3724
-
3725
- export function targetDeploymentProviderUnion4FromJSON(
3726
- jsonString: string,
3727
- ): SafeParseResult<TargetDeploymentProviderUnion4, SDKValidationError> {
3728
- return safeParse(
3729
- jsonString,
3730
- (x) => TargetDeploymentProviderUnion4$inboundSchema.parse(JSON.parse(x)),
3731
- `Failed to parse 'TargetDeploymentProviderUnion4' from JSON`,
3732
- );
3733
- }
3734
-
3735
- /** @internal */
3736
- export const TargetDeploymentRouteGateway2$inboundSchema: z.ZodType<
3737
- TargetDeploymentRouteGateway2,
3738
- unknown
3739
- > = z.object({
3740
- annotations: z.record(z.string(), z.string()).optional(),
3741
- controller: z.nullable(z.string()).optional(),
3742
- gatewayClassName: z.string(),
3743
- labels: z.record(z.string(), z.string()).optional(),
3744
- listenerPort: z.int(),
3745
- provider: z.nullable(
3746
- z.union([
3747
- z.lazy(() => TargetDeploymentProviderAwsAlb4$inboundSchema),
3748
- z.lazy(() =>
3749
- TargetDeploymentProviderAzureApplicationGatewayForContainers4$inboundSchema
3750
- ),
3751
- z.lazy(() => TargetDeploymentProviderGkeGateway4$inboundSchema),
3752
- z.string(),
3753
- ]),
3754
- ).optional(),
3755
- routeApi: z.literal("gateway"),
3756
- });
3757
-
3758
- export function targetDeploymentRouteGateway2FromJSON(
3759
- jsonString: string,
3760
- ): SafeParseResult<TargetDeploymentRouteGateway2, SDKValidationError> {
3761
- return safeParse(
3762
- jsonString,
3763
- (x) => TargetDeploymentRouteGateway2$inboundSchema.parse(JSON.parse(x)),
3764
- `Failed to parse 'TargetDeploymentRouteGateway2' from JSON`,
3765
- );
3766
- }
3767
-
3768
- /** @internal */
3769
- export const TargetDeploymentProviderAzureApplicationGatewayForContainersEnum3$inboundSchema:
3770
- z.ZodEnum<
3771
- typeof TargetDeploymentProviderAzureApplicationGatewayForContainersEnum3
3772
- > = z.enum(TargetDeploymentProviderAzureApplicationGatewayForContainersEnum3);
3773
-
3774
- /** @internal */
3775
- export const TargetDeploymentProviderAzureApplicationGatewayForContainers3$inboundSchema:
3776
- z.ZodType<
3777
- TargetDeploymentProviderAzureApplicationGatewayForContainers3,
3778
- unknown
3779
- > = z.object({
3780
- albName: z.nullable(z.string()).optional(),
3781
- albNamespace: z.nullable(z.string()).optional(),
3782
- frontend: z.string(),
3783
- provider:
3784
- TargetDeploymentProviderAzureApplicationGatewayForContainersEnum3$inboundSchema,
3785
- });
3786
-
3787
- export function targetDeploymentProviderAzureApplicationGatewayForContainers3FromJSON(
3788
- jsonString: string,
3789
- ): SafeParseResult<
3790
- TargetDeploymentProviderAzureApplicationGatewayForContainers3,
3791
- SDKValidationError
3792
- > {
3793
- return safeParse(
3794
- jsonString,
3795
- (x) =>
3796
- TargetDeploymentProviderAzureApplicationGatewayForContainers3$inboundSchema
3797
- .parse(JSON.parse(x)),
3798
- `Failed to parse 'TargetDeploymentProviderAzureApplicationGatewayForContainers3' from JSON`,
3799
- );
3800
- }
3801
-
3802
- /** @internal */
3803
- export const TargetDeploymentProviderGkeGatewayEnum3$inboundSchema: z.ZodEnum<
3804
- typeof TargetDeploymentProviderGkeGatewayEnum3
3805
- > = z.enum(TargetDeploymentProviderGkeGatewayEnum3);
3806
-
3807
- /** @internal */
3808
- export const TargetDeploymentProviderGkeGateway3$inboundSchema: z.ZodType<
3809
- TargetDeploymentProviderGkeGateway3,
3810
- unknown
3811
- > = z.object({
3812
- provider: TargetDeploymentProviderGkeGatewayEnum3$inboundSchema,
3813
- staticAddressName: z.nullable(z.string()).optional(),
3814
- });
3815
-
3816
- export function targetDeploymentProviderGkeGateway3FromJSON(
3817
- jsonString: string,
3818
- ): SafeParseResult<TargetDeploymentProviderGkeGateway3, SDKValidationError> {
3819
- return safeParse(
3820
- jsonString,
3821
- (x) =>
3822
- TargetDeploymentProviderGkeGateway3$inboundSchema.parse(JSON.parse(x)),
3823
- `Failed to parse 'TargetDeploymentProviderGkeGateway3' from JSON`,
3824
- );
3825
- }
3826
-
3827
- /** @internal */
3828
- export const TargetDeploymentProviderAwsAlbEnum3$inboundSchema: z.ZodEnum<
3829
- typeof TargetDeploymentProviderAwsAlbEnum3
3830
- > = z.enum(TargetDeploymentProviderAwsAlbEnum3);
3831
-
3832
- /** @internal */
3833
- export const TargetDeploymentProviderAwsAlb3$inboundSchema: z.ZodType<
3834
- TargetDeploymentProviderAwsAlb3,
3835
- unknown
3836
- > = z.object({
3837
- ipAddressType: z.nullable(z.string()).optional(),
3838
- provider: TargetDeploymentProviderAwsAlbEnum3$inboundSchema,
3839
- scheme: z.string(),
3840
- subnetIds: z.array(z.string()).optional(),
3841
- targetType: z.string(),
3842
- });
3843
-
3844
- export function targetDeploymentProviderAwsAlb3FromJSON(
3845
- jsonString: string,
3846
- ): SafeParseResult<TargetDeploymentProviderAwsAlb3, SDKValidationError> {
3847
- return safeParse(
3848
- jsonString,
3849
- (x) => TargetDeploymentProviderAwsAlb3$inboundSchema.parse(JSON.parse(x)),
3850
- `Failed to parse 'TargetDeploymentProviderAwsAlb3' from JSON`,
3851
- );
3852
- }
3853
-
3854
- /** @internal */
3855
- export const TargetDeploymentProviderUnion3$inboundSchema: z.ZodType<
3856
- TargetDeploymentProviderUnion3,
3857
- unknown
3858
- > = z.union([
3859
- z.lazy(() => TargetDeploymentProviderAwsAlb3$inboundSchema),
3860
- z.lazy(() =>
3861
- TargetDeploymentProviderAzureApplicationGatewayForContainers3$inboundSchema
3862
- ),
3863
- z.lazy(() => TargetDeploymentProviderGkeGateway3$inboundSchema),
3864
- z.string(),
3865
- ]);
3866
-
3867
- export function targetDeploymentProviderUnion3FromJSON(
3868
- jsonString: string,
3869
- ): SafeParseResult<TargetDeploymentProviderUnion3, SDKValidationError> {
3870
- return safeParse(
3871
- jsonString,
3872
- (x) => TargetDeploymentProviderUnion3$inboundSchema.parse(JSON.parse(x)),
3873
- `Failed to parse 'TargetDeploymentProviderUnion3' from JSON`,
3874
- );
3875
- }
3876
-
3877
- /** @internal */
3878
- export const TargetDeploymentRouteIngress2$inboundSchema: z.ZodType<
3879
- TargetDeploymentRouteIngress2,
3880
- unknown
3881
- > = z.object({
3882
- annotations: z.record(z.string(), z.string()).optional(),
3883
- controller: z.nullable(z.string()).optional(),
3884
- ingressClassName: z.string(),
3885
- labels: z.record(z.string(), z.string()).optional(),
3886
- provider: z.nullable(
3887
- z.union([
3888
- z.lazy(() => TargetDeploymentProviderAwsAlb3$inboundSchema),
3889
- z.lazy(() =>
3890
- TargetDeploymentProviderAzureApplicationGatewayForContainers3$inboundSchema
3891
- ),
3892
- z.lazy(() => TargetDeploymentProviderGkeGateway3$inboundSchema),
3893
- z.string(),
3894
- ]),
3895
- ).optional(),
3896
- routeApi: z.literal("ingress"),
3897
- });
3898
-
3899
- export function targetDeploymentRouteIngress2FromJSON(
3900
- jsonString: string,
3901
- ): SafeParseResult<TargetDeploymentRouteIngress2, SDKValidationError> {
3902
- return safeParse(
3903
- jsonString,
3904
- (x) => TargetDeploymentRouteIngress2$inboundSchema.parse(JSON.parse(x)),
3905
- `Failed to parse 'TargetDeploymentRouteIngress2' from JSON`,
3906
- );
3907
- }
3908
-
3909
- /** @internal */
3910
- export const TargetDeploymentRouteUnion2$inboundSchema: z.ZodType<
3911
- TargetDeploymentRouteUnion2,
3912
- unknown
3913
- > = z.union([
3914
- z.lazy(() => TargetDeploymentRouteIngress2$inboundSchema),
3915
- z.lazy(() => TargetDeploymentRouteGateway2$inboundSchema),
3916
- ]);
3917
-
3918
- export function targetDeploymentRouteUnion2FromJSON(
3919
- jsonString: string,
3920
- ): SafeParseResult<TargetDeploymentRouteUnion2, SDKValidationError> {
3921
- return safeParse(
3922
- jsonString,
3923
- (x) => TargetDeploymentRouteUnion2$inboundSchema.parse(JSON.parse(x)),
3924
- `Failed to parse 'TargetDeploymentRouteUnion2' from JSON`,
3925
- );
3926
- }
3927
-
3928
- /** @internal */
3929
- export const TargetDeploymentExposureCustom$inboundSchema: z.ZodType<
3930
- TargetDeploymentExposureCustom,
3931
- unknown
3932
- > = z.object({
3933
- certificate: z.union([
3934
- z.lazy(() => TargetDeploymentCertificateTLSSecretRef2$inboundSchema),
3935
- z.lazy(() => TargetDeploymentCertificateManagedAcmImport2$inboundSchema),
3936
- z.lazy(() => TargetDeploymentCertificateAwsAcmArn2$inboundSchema),
3937
- z.lazy(() => TargetDeploymentCertificateManagedTLSSecret2$inboundSchema),
3938
- z.lazy(() => TargetDeploymentCertificateNone2$inboundSchema),
3939
- ]),
3940
- domain: z.string(),
3941
- mode: TargetDeploymentModeCustom$inboundSchema,
3942
- route: z.union([
3943
- z.lazy(() => TargetDeploymentRouteIngress2$inboundSchema),
3944
- z.lazy(() => TargetDeploymentRouteGateway2$inboundSchema),
3945
- ]),
3946
- });
3947
-
3948
- export function targetDeploymentExposureCustomFromJSON(
3949
- jsonString: string,
3950
- ): SafeParseResult<TargetDeploymentExposureCustom, SDKValidationError> {
3951
- return safeParse(
3952
- jsonString,
3953
- (x) => TargetDeploymentExposureCustom$inboundSchema.parse(JSON.parse(x)),
3954
- `Failed to parse 'TargetDeploymentExposureCustom' from JSON`,
3955
- );
3956
- }
3957
-
3958
- /** @internal */
3959
- export const TargetDeploymentCertificateNone1$inboundSchema: z.ZodType<
3960
- TargetDeploymentCertificateNone1,
3961
- unknown
3962
- > = z.object({
3963
- mode: z.literal("none"),
3964
- });
3965
-
3966
- export function targetDeploymentCertificateNone1FromJSON(
3967
- jsonString: string,
3968
- ): SafeParseResult<TargetDeploymentCertificateNone1, SDKValidationError> {
3969
- return safeParse(
3970
- jsonString,
3971
- (x) => TargetDeploymentCertificateNone1$inboundSchema.parse(JSON.parse(x)),
3972
- `Failed to parse 'TargetDeploymentCertificateNone1' from JSON`,
3973
- );
3974
- }
3975
-
3976
- /** @internal */
3977
- export const TargetDeploymentCertificateManagedTLSSecret1$inboundSchema:
3978
- z.ZodType<TargetDeploymentCertificateManagedTLSSecret1, unknown> = z.object({
3979
- mode: z.literal("managedTlsSecret"),
3980
- secretNameTemplate: z.string(),
3981
- });
3982
-
3983
- export function targetDeploymentCertificateManagedTLSSecret1FromJSON(
3984
- jsonString: string,
3985
- ): SafeParseResult<
3986
- TargetDeploymentCertificateManagedTLSSecret1,
3987
- SDKValidationError
3988
- > {
3989
- return safeParse(
3990
- jsonString,
3991
- (x) =>
3992
- TargetDeploymentCertificateManagedTLSSecret1$inboundSchema.parse(
3993
- JSON.parse(x),
3994
- ),
3995
- `Failed to parse 'TargetDeploymentCertificateManagedTLSSecret1' from JSON`,
3996
- );
3997
- }
3998
-
3999
- /** @internal */
4000
- export const TargetDeploymentCertificateAwsAcmArn1$inboundSchema: z.ZodType<
4001
- TargetDeploymentCertificateAwsAcmArn1,
4002
- unknown
4003
- > = z.object({
4004
- certificateArn: z.string(),
4005
- mode: z.literal("awsAcmArn"),
4006
- });
4007
-
4008
- export function targetDeploymentCertificateAwsAcmArn1FromJSON(
4009
- jsonString: string,
4010
- ): SafeParseResult<TargetDeploymentCertificateAwsAcmArn1, SDKValidationError> {
4011
- return safeParse(
4012
- jsonString,
4013
- (x) =>
4014
- TargetDeploymentCertificateAwsAcmArn1$inboundSchema.parse(JSON.parse(x)),
4015
- `Failed to parse 'TargetDeploymentCertificateAwsAcmArn1' from JSON`,
4016
- );
4017
- }
4018
-
4019
- /** @internal */
4020
- export const TargetDeploymentCertificateManagedAcmImport1$inboundSchema:
4021
- z.ZodType<TargetDeploymentCertificateManagedAcmImport1, unknown> = z.object({
4022
- mode: z.literal("managedAcmImport"),
4023
- region: z.nullable(z.string()).optional(),
4024
- tags: z.record(z.string(), z.string()).optional(),
4025
- });
4026
-
4027
- export function targetDeploymentCertificateManagedAcmImport1FromJSON(
4028
- jsonString: string,
4029
- ): SafeParseResult<
4030
- TargetDeploymentCertificateManagedAcmImport1,
4031
- SDKValidationError
4032
- > {
4033
- return safeParse(
4034
- jsonString,
4035
- (x) =>
4036
- TargetDeploymentCertificateManagedAcmImport1$inboundSchema.parse(
4037
- JSON.parse(x),
4038
- ),
4039
- `Failed to parse 'TargetDeploymentCertificateManagedAcmImport1' from JSON`,
4040
- );
4041
- }
4042
-
4043
- /** @internal */
4044
- export const TargetDeploymentCertificateTLSSecretRef1$inboundSchema: z.ZodType<
4045
- TargetDeploymentCertificateTLSSecretRef1,
4046
- unknown
4047
- > = z.object({
4048
- namespace: z.nullable(z.string()).optional(),
4049
- secretName: z.string(),
4050
- mode: z.literal("tlsSecretRef"),
4051
- });
4052
-
4053
- export function targetDeploymentCertificateTLSSecretRef1FromJSON(
4054
- jsonString: string,
4055
- ): SafeParseResult<
4056
- TargetDeploymentCertificateTLSSecretRef1,
4057
- SDKValidationError
4058
- > {
4059
- return safeParse(
4060
- jsonString,
4061
- (x) =>
4062
- TargetDeploymentCertificateTLSSecretRef1$inboundSchema.parse(
4063
- JSON.parse(x),
4064
- ),
4065
- `Failed to parse 'TargetDeploymentCertificateTLSSecretRef1' from JSON`,
4066
- );
4067
- }
4068
-
4069
- /** @internal */
4070
- export const TargetDeploymentCertificateUnion1$inboundSchema: z.ZodType<
4071
- TargetDeploymentCertificateUnion1,
4072
- unknown
4073
- > = z.union([
4074
- z.lazy(() => TargetDeploymentCertificateTLSSecretRef1$inboundSchema),
4075
- z.lazy(() => TargetDeploymentCertificateManagedAcmImport1$inboundSchema),
4076
- z.lazy(() => TargetDeploymentCertificateAwsAcmArn1$inboundSchema),
4077
- z.lazy(() => TargetDeploymentCertificateManagedTLSSecret1$inboundSchema),
4078
- z.lazy(() => TargetDeploymentCertificateNone1$inboundSchema),
4079
- ]);
4080
-
4081
- export function targetDeploymentCertificateUnion1FromJSON(
4082
- jsonString: string,
4083
- ): SafeParseResult<TargetDeploymentCertificateUnion1, SDKValidationError> {
4084
- return safeParse(
4085
- jsonString,
4086
- (x) => TargetDeploymentCertificateUnion1$inboundSchema.parse(JSON.parse(x)),
4087
- `Failed to parse 'TargetDeploymentCertificateUnion1' from JSON`,
4088
- );
4089
- }
4090
-
4091
- /** @internal */
4092
- export const TargetDeploymentModeGenerated$inboundSchema: z.ZodEnum<
4093
- typeof TargetDeploymentModeGenerated
4094
- > = z.enum(TargetDeploymentModeGenerated);
4095
-
4096
- /** @internal */
4097
- export const TargetDeploymentProviderAzureApplicationGatewayForContainersEnum2$inboundSchema:
4098
- z.ZodEnum<
4099
- typeof TargetDeploymentProviderAzureApplicationGatewayForContainersEnum2
4100
- > = z.enum(TargetDeploymentProviderAzureApplicationGatewayForContainersEnum2);
4101
-
4102
- /** @internal */
4103
- export const TargetDeploymentProviderAzureApplicationGatewayForContainers2$inboundSchema:
4104
- z.ZodType<
4105
- TargetDeploymentProviderAzureApplicationGatewayForContainers2,
4106
- unknown
4107
- > = z.object({
4108
- albName: z.nullable(z.string()).optional(),
4109
- albNamespace: z.nullable(z.string()).optional(),
4110
- frontend: z.string(),
4111
- provider:
4112
- TargetDeploymentProviderAzureApplicationGatewayForContainersEnum2$inboundSchema,
4113
- });
4114
-
4115
- export function targetDeploymentProviderAzureApplicationGatewayForContainers2FromJSON(
4116
- jsonString: string,
4117
- ): SafeParseResult<
4118
- TargetDeploymentProviderAzureApplicationGatewayForContainers2,
4119
- SDKValidationError
4120
- > {
4121
- return safeParse(
4122
- jsonString,
4123
- (x) =>
4124
- TargetDeploymentProviderAzureApplicationGatewayForContainers2$inboundSchema
4125
- .parse(JSON.parse(x)),
4126
- `Failed to parse 'TargetDeploymentProviderAzureApplicationGatewayForContainers2' from JSON`,
4127
- );
4128
- }
4129
-
4130
- /** @internal */
4131
- export const TargetDeploymentProviderGkeGatewayEnum2$inboundSchema: z.ZodEnum<
4132
- typeof TargetDeploymentProviderGkeGatewayEnum2
4133
- > = z.enum(TargetDeploymentProviderGkeGatewayEnum2);
4134
-
4135
- /** @internal */
4136
- export const TargetDeploymentProviderGkeGateway2$inboundSchema: z.ZodType<
4137
- TargetDeploymentProviderGkeGateway2,
4138
- unknown
4139
- > = z.object({
4140
- provider: TargetDeploymentProviderGkeGatewayEnum2$inboundSchema,
4141
- staticAddressName: z.nullable(z.string()).optional(),
4142
- });
4143
-
4144
- export function targetDeploymentProviderGkeGateway2FromJSON(
4145
- jsonString: string,
4146
- ): SafeParseResult<TargetDeploymentProviderGkeGateway2, SDKValidationError> {
4147
- return safeParse(
4148
- jsonString,
4149
- (x) =>
4150
- TargetDeploymentProviderGkeGateway2$inboundSchema.parse(JSON.parse(x)),
4151
- `Failed to parse 'TargetDeploymentProviderGkeGateway2' from JSON`,
4152
- );
4153
- }
4154
-
4155
- /** @internal */
4156
- export const TargetDeploymentProviderAwsAlbEnum2$inboundSchema: z.ZodEnum<
4157
- typeof TargetDeploymentProviderAwsAlbEnum2
4158
- > = z.enum(TargetDeploymentProviderAwsAlbEnum2);
4159
-
4160
- /** @internal */
4161
- export const TargetDeploymentProviderAwsAlb2$inboundSchema: z.ZodType<
4162
- TargetDeploymentProviderAwsAlb2,
4163
- unknown
4164
- > = z.object({
4165
- ipAddressType: z.nullable(z.string()).optional(),
4166
- provider: TargetDeploymentProviderAwsAlbEnum2$inboundSchema,
4167
- scheme: z.string(),
4168
- subnetIds: z.array(z.string()).optional(),
4169
- targetType: z.string(),
4170
- });
4171
-
4172
- export function targetDeploymentProviderAwsAlb2FromJSON(
4173
- jsonString: string,
4174
- ): SafeParseResult<TargetDeploymentProviderAwsAlb2, SDKValidationError> {
4175
- return safeParse(
4176
- jsonString,
4177
- (x) => TargetDeploymentProviderAwsAlb2$inboundSchema.parse(JSON.parse(x)),
4178
- `Failed to parse 'TargetDeploymentProviderAwsAlb2' from JSON`,
4179
- );
4180
- }
4181
-
4182
- /** @internal */
4183
- export const TargetDeploymentProviderUnion2$inboundSchema: z.ZodType<
4184
- TargetDeploymentProviderUnion2,
4185
- unknown
4186
- > = z.union([
4187
- z.lazy(() => TargetDeploymentProviderAwsAlb2$inboundSchema),
4188
- z.lazy(() =>
4189
- TargetDeploymentProviderAzureApplicationGatewayForContainers2$inboundSchema
4190
- ),
4191
- z.lazy(() => TargetDeploymentProviderGkeGateway2$inboundSchema),
4192
- z.string(),
4193
- ]);
4194
-
4195
- export function targetDeploymentProviderUnion2FromJSON(
4196
- jsonString: string,
4197
- ): SafeParseResult<TargetDeploymentProviderUnion2, SDKValidationError> {
4198
- return safeParse(
4199
- jsonString,
4200
- (x) => TargetDeploymentProviderUnion2$inboundSchema.parse(JSON.parse(x)),
4201
- `Failed to parse 'TargetDeploymentProviderUnion2' from JSON`,
4202
- );
4203
- }
4204
-
4205
- /** @internal */
4206
- export const TargetDeploymentRouteGateway1$inboundSchema: z.ZodType<
4207
- TargetDeploymentRouteGateway1,
4208
- unknown
4209
- > = z.object({
4210
- annotations: z.record(z.string(), z.string()).optional(),
4211
- controller: z.nullable(z.string()).optional(),
4212
- gatewayClassName: z.string(),
4213
- labels: z.record(z.string(), z.string()).optional(),
4214
- listenerPort: z.int(),
4215
- provider: z.nullable(
4216
- z.union([
4217
- z.lazy(() => TargetDeploymentProviderAwsAlb2$inboundSchema),
4218
- z.lazy(() =>
4219
- TargetDeploymentProviderAzureApplicationGatewayForContainers2$inboundSchema
4220
- ),
4221
- z.lazy(() => TargetDeploymentProviderGkeGateway2$inboundSchema),
4222
- z.string(),
4223
- ]),
4224
- ).optional(),
4225
- routeApi: z.literal("gateway"),
4226
- });
4227
-
4228
- export function targetDeploymentRouteGateway1FromJSON(
4229
- jsonString: string,
4230
- ): SafeParseResult<TargetDeploymentRouteGateway1, SDKValidationError> {
4231
- return safeParse(
4232
- jsonString,
4233
- (x) => TargetDeploymentRouteGateway1$inboundSchema.parse(JSON.parse(x)),
4234
- `Failed to parse 'TargetDeploymentRouteGateway1' from JSON`,
4235
- );
4236
- }
4237
-
4238
- /** @internal */
4239
- export const TargetDeploymentProviderAzureApplicationGatewayForContainersEnum1$inboundSchema:
4240
- z.ZodEnum<
4241
- typeof TargetDeploymentProviderAzureApplicationGatewayForContainersEnum1
4242
- > = z.enum(TargetDeploymentProviderAzureApplicationGatewayForContainersEnum1);
4243
-
4244
- /** @internal */
4245
- export const TargetDeploymentProviderAzureApplicationGatewayForContainers1$inboundSchema:
4246
- z.ZodType<
4247
- TargetDeploymentProviderAzureApplicationGatewayForContainers1,
4248
- unknown
4249
- > = z.object({
4250
- albName: z.nullable(z.string()).optional(),
4251
- albNamespace: z.nullable(z.string()).optional(),
4252
- frontend: z.string(),
4253
- provider:
4254
- TargetDeploymentProviderAzureApplicationGatewayForContainersEnum1$inboundSchema,
4255
- });
4256
-
4257
- export function targetDeploymentProviderAzureApplicationGatewayForContainers1FromJSON(
4258
- jsonString: string,
4259
- ): SafeParseResult<
4260
- TargetDeploymentProviderAzureApplicationGatewayForContainers1,
4261
- SDKValidationError
4262
- > {
4263
- return safeParse(
4264
- jsonString,
4265
- (x) =>
4266
- TargetDeploymentProviderAzureApplicationGatewayForContainers1$inboundSchema
4267
- .parse(JSON.parse(x)),
4268
- `Failed to parse 'TargetDeploymentProviderAzureApplicationGatewayForContainers1' from JSON`,
4269
- );
4270
- }
4271
-
4272
- /** @internal */
4273
- export const TargetDeploymentProviderGkeGatewayEnum1$inboundSchema: z.ZodEnum<
4274
- typeof TargetDeploymentProviderGkeGatewayEnum1
4275
- > = z.enum(TargetDeploymentProviderGkeGatewayEnum1);
4276
-
4277
- /** @internal */
4278
- export const TargetDeploymentProviderGkeGateway1$inboundSchema: z.ZodType<
4279
- TargetDeploymentProviderGkeGateway1,
4280
- unknown
4281
- > = z.object({
4282
- provider: TargetDeploymentProviderGkeGatewayEnum1$inboundSchema,
4283
- staticAddressName: z.nullable(z.string()).optional(),
4284
- });
4285
-
4286
- export function targetDeploymentProviderGkeGateway1FromJSON(
4287
- jsonString: string,
4288
- ): SafeParseResult<TargetDeploymentProviderGkeGateway1, SDKValidationError> {
4289
- return safeParse(
4290
- jsonString,
4291
- (x) =>
4292
- TargetDeploymentProviderGkeGateway1$inboundSchema.parse(JSON.parse(x)),
4293
- `Failed to parse 'TargetDeploymentProviderGkeGateway1' from JSON`,
4294
- );
4295
- }
4296
-
4297
- /** @internal */
4298
- export const TargetDeploymentProviderAwsAlbEnum1$inboundSchema: z.ZodEnum<
4299
- typeof TargetDeploymentProviderAwsAlbEnum1
4300
- > = z.enum(TargetDeploymentProviderAwsAlbEnum1);
4301
-
4302
- /** @internal */
4303
- export const TargetDeploymentProviderAwsAlb1$inboundSchema: z.ZodType<
4304
- TargetDeploymentProviderAwsAlb1,
4305
- unknown
4306
- > = z.object({
4307
- ipAddressType: z.nullable(z.string()).optional(),
4308
- provider: TargetDeploymentProviderAwsAlbEnum1$inboundSchema,
4309
- scheme: z.string(),
4310
- subnetIds: z.array(z.string()).optional(),
4311
- targetType: z.string(),
4312
- });
4313
-
4314
- export function targetDeploymentProviderAwsAlb1FromJSON(
4315
- jsonString: string,
4316
- ): SafeParseResult<TargetDeploymentProviderAwsAlb1, SDKValidationError> {
4317
- return safeParse(
4318
- jsonString,
4319
- (x) => TargetDeploymentProviderAwsAlb1$inboundSchema.parse(JSON.parse(x)),
4320
- `Failed to parse 'TargetDeploymentProviderAwsAlb1' from JSON`,
4321
- );
4322
- }
4323
-
4324
- /** @internal */
4325
- export const TargetDeploymentProviderUnion1$inboundSchema: z.ZodType<
4326
- TargetDeploymentProviderUnion1,
4327
- unknown
4328
- > = z.union([
4329
- z.lazy(() => TargetDeploymentProviderAwsAlb1$inboundSchema),
4330
- z.lazy(() =>
4331
- TargetDeploymentProviderAzureApplicationGatewayForContainers1$inboundSchema
4332
- ),
4333
- z.lazy(() => TargetDeploymentProviderGkeGateway1$inboundSchema),
4334
- z.string(),
4335
- ]);
4336
-
4337
- export function targetDeploymentProviderUnion1FromJSON(
4338
- jsonString: string,
4339
- ): SafeParseResult<TargetDeploymentProviderUnion1, SDKValidationError> {
4340
- return safeParse(
4341
- jsonString,
4342
- (x) => TargetDeploymentProviderUnion1$inboundSchema.parse(JSON.parse(x)),
4343
- `Failed to parse 'TargetDeploymentProviderUnion1' from JSON`,
4344
- );
4345
- }
4346
-
4347
- /** @internal */
4348
- export const TargetDeploymentRouteIngress1$inboundSchema: z.ZodType<
4349
- TargetDeploymentRouteIngress1,
4350
- unknown
4351
- > = z.object({
4352
- annotations: z.record(z.string(), z.string()).optional(),
4353
- controller: z.nullable(z.string()).optional(),
4354
- ingressClassName: z.string(),
4355
- labels: z.record(z.string(), z.string()).optional(),
4356
- provider: z.nullable(
4357
- z.union([
4358
- z.lazy(() => TargetDeploymentProviderAwsAlb1$inboundSchema),
4359
- z.lazy(() =>
4360
- TargetDeploymentProviderAzureApplicationGatewayForContainers1$inboundSchema
4361
- ),
4362
- z.lazy(() => TargetDeploymentProviderGkeGateway1$inboundSchema),
4363
- z.string(),
4364
- ]),
4365
- ).optional(),
4366
- routeApi: z.literal("ingress"),
4367
- });
4368
-
4369
- export function targetDeploymentRouteIngress1FromJSON(
4370
- jsonString: string,
4371
- ): SafeParseResult<TargetDeploymentRouteIngress1, SDKValidationError> {
4372
- return safeParse(
4373
- jsonString,
4374
- (x) => TargetDeploymentRouteIngress1$inboundSchema.parse(JSON.parse(x)),
4375
- `Failed to parse 'TargetDeploymentRouteIngress1' from JSON`,
4376
- );
4377
- }
4378
-
4379
- /** @internal */
4380
- export const TargetDeploymentRouteUnion1$inboundSchema: z.ZodType<
4381
- TargetDeploymentRouteUnion1,
4382
- unknown
4383
- > = z.union([
4384
- z.lazy(() => TargetDeploymentRouteIngress1$inboundSchema),
4385
- z.lazy(() => TargetDeploymentRouteGateway1$inboundSchema),
4386
- ]);
4387
-
4388
- export function targetDeploymentRouteUnion1FromJSON(
4389
- jsonString: string,
4390
- ): SafeParseResult<TargetDeploymentRouteUnion1, SDKValidationError> {
4391
- return safeParse(
4392
- jsonString,
4393
- (x) => TargetDeploymentRouteUnion1$inboundSchema.parse(JSON.parse(x)),
4394
- `Failed to parse 'TargetDeploymentRouteUnion1' from JSON`,
4395
- );
4396
- }
4397
-
4398
- /** @internal */
4399
- export const TargetDeploymentExposureGenerated$inboundSchema: z.ZodType<
4400
- TargetDeploymentExposureGenerated,
4401
- unknown
4402
- > = z.object({
4403
- certificate: z.union([
4404
- z.lazy(() => TargetDeploymentCertificateTLSSecretRef1$inboundSchema),
4405
- z.lazy(() => TargetDeploymentCertificateManagedAcmImport1$inboundSchema),
4406
- z.lazy(() => TargetDeploymentCertificateAwsAcmArn1$inboundSchema),
4407
- z.lazy(() => TargetDeploymentCertificateManagedTLSSecret1$inboundSchema),
4408
- z.lazy(() => TargetDeploymentCertificateNone1$inboundSchema),
4409
- ]),
4410
- mode: TargetDeploymentModeGenerated$inboundSchema,
4411
- route: z.union([
4412
- z.lazy(() => TargetDeploymentRouteIngress1$inboundSchema),
4413
- z.lazy(() => TargetDeploymentRouteGateway1$inboundSchema),
4414
- ]),
4415
- });
4416
-
4417
- export function targetDeploymentExposureGeneratedFromJSON(
4418
- jsonString: string,
4419
- ): SafeParseResult<TargetDeploymentExposureGenerated, SDKValidationError> {
4420
- return safeParse(
4421
- jsonString,
4422
- (x) => TargetDeploymentExposureGenerated$inboundSchema.parse(JSON.parse(x)),
4423
- `Failed to parse 'TargetDeploymentExposureGenerated' from JSON`,
4424
- );
4425
- }
4426
-
4427
- /** @internal */
4428
- export const TargetDeploymentModeDisabled$inboundSchema: z.ZodEnum<
4429
- typeof TargetDeploymentModeDisabled
4430
- > = z.enum(TargetDeploymentModeDisabled);
4431
-
4432
- /** @internal */
4433
- export const TargetDeploymentExposureDisabled$inboundSchema: z.ZodType<
4434
- TargetDeploymentExposureDisabled,
4435
- unknown
4436
- > = z.object({
4437
- mode: TargetDeploymentModeDisabled$inboundSchema,
4438
- });
4439
-
4440
- export function targetDeploymentExposureDisabledFromJSON(
4441
- jsonString: string,
4442
- ): SafeParseResult<TargetDeploymentExposureDisabled, SDKValidationError> {
4443
- return safeParse(
4444
- jsonString,
4445
- (x) => TargetDeploymentExposureDisabled$inboundSchema.parse(JSON.parse(x)),
4446
- `Failed to parse 'TargetDeploymentExposureDisabled' from JSON`,
4447
- );
4448
- }
4449
-
4450
- /** @internal */
4451
- export const TargetDeploymentExposureUnion$inboundSchema: z.ZodType<
4452
- TargetDeploymentExposureUnion,
4453
- unknown
4454
- > = z.union([
4455
- z.lazy(() => TargetDeploymentExposureCustom$inboundSchema),
4456
- z.lazy(() => TargetDeploymentExposureGenerated$inboundSchema),
4457
- z.lazy(() => TargetDeploymentExposureDisabled$inboundSchema),
4458
- z.string(),
4459
- ]);
4460
-
4461
- export function targetDeploymentExposureUnionFromJSON(
4462
- jsonString: string,
4463
- ): SafeParseResult<TargetDeploymentExposureUnion, SDKValidationError> {
4464
- return safeParse(
4465
- jsonString,
4466
- (x) => TargetDeploymentExposureUnion$inboundSchema.parse(JSON.parse(x)),
4467
- `Failed to parse 'TargetDeploymentExposureUnion' from JSON`,
4468
- );
4469
- }
4470
-
4471
- /** @internal */
4472
- export const TargetDeploymentKubernetes$inboundSchema: z.ZodType<
4473
- TargetDeploymentKubernetes,
4474
- unknown
4475
- > = z.object({
4476
- cluster: z.nullable(
4477
- z.union([z.lazy(() => TargetDeploymentCluster$inboundSchema), z.string()]),
4478
- ).optional(),
4479
- exposure: z.nullable(
4480
- z.union([
4481
- z.lazy(() => TargetDeploymentExposureCustom$inboundSchema),
4482
- z.lazy(() => TargetDeploymentExposureGenerated$inboundSchema),
4483
- z.lazy(() => TargetDeploymentExposureDisabled$inboundSchema),
4484
- z.string(),
4485
- ]),
4486
- ).optional(),
4487
- });
4488
-
4489
- export function targetDeploymentKubernetesFromJSON(
4490
- jsonString: string,
4491
- ): SafeParseResult<TargetDeploymentKubernetes, SDKValidationError> {
4492
- return safeParse(
4493
- jsonString,
4494
- (x) => TargetDeploymentKubernetes$inboundSchema.parse(JSON.parse(x)),
4495
- `Failed to parse 'TargetDeploymentKubernetes' from JSON`,
4496
- );
4497
- }
4498
-
4499
- /** @internal */
4500
- export const TargetDeploymentKubernetesUnion$inboundSchema: z.ZodType<
4501
- TargetDeploymentKubernetesUnion,
4502
- unknown
4503
- > = z.union([
4504
- z.lazy(() => TargetDeploymentKubernetes$inboundSchema),
4505
- z.string(),
4506
- ]);
4507
-
4508
- export function targetDeploymentKubernetesUnionFromJSON(
4509
- jsonString: string,
4510
- ): SafeParseResult<TargetDeploymentKubernetesUnion, SDKValidationError> {
4511
- return safeParse(
4512
- jsonString,
4513
- (x) => TargetDeploymentKubernetesUnion$inboundSchema.parse(JSON.parse(x)),
4514
- `Failed to parse 'TargetDeploymentKubernetesUnion' from JSON`,
4515
- );
4516
- }
4517
-
4518
- /** @internal */
4519
- export const TargetDeploymentTypeByoVnetAzure$inboundSchema: z.ZodEnum<
4520
- typeof TargetDeploymentTypeByoVnetAzure
4521
- > = z.enum(TargetDeploymentTypeByoVnetAzure);
4522
-
4523
- /** @internal */
4524
- export const TargetDeploymentNetworkByoVnetAzure$inboundSchema: z.ZodType<
4525
- TargetDeploymentNetworkByoVnetAzure,
4526
- unknown
4527
- > = z.object({
4528
- application_gateway_subnet_name: z.nullable(z.string()).optional(),
4529
- private_endpoint_subnet_name: z.nullable(z.string()).optional(),
4530
- private_subnet_name: z.string(),
4531
- public_subnet_name: z.string(),
4532
- type: TargetDeploymentTypeByoVnetAzure$inboundSchema,
4533
- vnet_resource_id: z.string(),
4534
- }).transform((v) => {
4535
- return remap$(v, {
4536
- "application_gateway_subnet_name": "applicationGatewaySubnetName",
4537
- "private_endpoint_subnet_name": "privateEndpointSubnetName",
4538
- "private_subnet_name": "privateSubnetName",
4539
- "public_subnet_name": "publicSubnetName",
4540
- "vnet_resource_id": "vnetResourceId",
4541
- });
4542
- });
4543
-
4544
- export function targetDeploymentNetworkByoVnetAzureFromJSON(
4545
- jsonString: string,
4546
- ): SafeParseResult<TargetDeploymentNetworkByoVnetAzure, SDKValidationError> {
4547
- return safeParse(
4548
- jsonString,
4549
- (x) =>
4550
- TargetDeploymentNetworkByoVnetAzure$inboundSchema.parse(JSON.parse(x)),
4551
- `Failed to parse 'TargetDeploymentNetworkByoVnetAzure' from JSON`,
4552
- );
4553
- }
4554
-
4555
- /** @internal */
4556
- export const TargetDeploymentTypeByoVpcGcp$inboundSchema: z.ZodEnum<
4557
- typeof TargetDeploymentTypeByoVpcGcp
4558
- > = z.enum(TargetDeploymentTypeByoVpcGcp);
4559
-
4560
- /** @internal */
4561
- export const TargetDeploymentNetworkByoVpcGcp$inboundSchema: z.ZodType<
4562
- TargetDeploymentNetworkByoVpcGcp,
4563
- unknown
4564
- > = z.object({
4565
- network_name: z.string(),
4566
- region: z.string(),
4567
- subnet_name: z.string(),
4568
- type: TargetDeploymentTypeByoVpcGcp$inboundSchema,
4569
- }).transform((v) => {
4570
- return remap$(v, {
4571
- "network_name": "networkName",
4572
- "subnet_name": "subnetName",
4573
- });
4574
- });
4575
-
4576
- export function targetDeploymentNetworkByoVpcGcpFromJSON(
4577
- jsonString: string,
4578
- ): SafeParseResult<TargetDeploymentNetworkByoVpcGcp, SDKValidationError> {
4579
- return safeParse(
4580
- jsonString,
4581
- (x) => TargetDeploymentNetworkByoVpcGcp$inboundSchema.parse(JSON.parse(x)),
4582
- `Failed to parse 'TargetDeploymentNetworkByoVpcGcp' from JSON`,
4583
- );
4584
- }
4585
-
4586
- /** @internal */
4587
- export const TargetDeploymentTypeByoVpcAws$inboundSchema: z.ZodEnum<
4588
- typeof TargetDeploymentTypeByoVpcAws
4589
- > = z.enum(TargetDeploymentTypeByoVpcAws);
4590
-
4591
- /** @internal */
4592
- export const TargetDeploymentNetworkByoVpcAws$inboundSchema: z.ZodType<
4593
- TargetDeploymentNetworkByoVpcAws,
4594
- unknown
4595
- > = z.object({
4596
- private_subnet_ids: z.array(z.string()),
4597
- public_subnet_ids: z.array(z.string()),
4598
- security_group_ids: z.array(z.string()).optional(),
4599
- type: TargetDeploymentTypeByoVpcAws$inboundSchema,
4600
- vpc_id: z.string(),
4601
- }).transform((v) => {
4602
- return remap$(v, {
4603
- "private_subnet_ids": "privateSubnetIds",
4604
- "public_subnet_ids": "publicSubnetIds",
4605
- "security_group_ids": "securityGroupIds",
4606
- "vpc_id": "vpcId",
4607
- });
4608
- });
4609
-
4610
- export function targetDeploymentNetworkByoVpcAwsFromJSON(
4611
- jsonString: string,
4612
- ): SafeParseResult<TargetDeploymentNetworkByoVpcAws, SDKValidationError> {
4613
- return safeParse(
4614
- jsonString,
4615
- (x) => TargetDeploymentNetworkByoVpcAws$inboundSchema.parse(JSON.parse(x)),
4616
- `Failed to parse 'TargetDeploymentNetworkByoVpcAws' from JSON`,
4617
- );
4618
- }
4619
-
4620
- /** @internal */
4621
- export const TargetDeploymentTypeCreate$inboundSchema: z.ZodEnum<
4622
- typeof TargetDeploymentTypeCreate
4623
- > = z.enum(TargetDeploymentTypeCreate);
4624
-
4625
- /** @internal */
4626
- export const TargetDeploymentNetworkCreate$inboundSchema: z.ZodType<
4627
- TargetDeploymentNetworkCreate,
4628
- unknown
4629
- > = z.object({
4630
- availability_zones: z.int().optional(),
4631
- cidr: z.nullable(z.string()).optional(),
4632
- type: TargetDeploymentTypeCreate$inboundSchema,
4633
- }).transform((v) => {
4634
- return remap$(v, {
4635
- "availability_zones": "availabilityZones",
4636
- });
4637
- });
4638
-
4639
- export function targetDeploymentNetworkCreateFromJSON(
4640
- jsonString: string,
4641
- ): SafeParseResult<TargetDeploymentNetworkCreate, SDKValidationError> {
4642
- return safeParse(
4643
- jsonString,
4644
- (x) => TargetDeploymentNetworkCreate$inboundSchema.parse(JSON.parse(x)),
4645
- `Failed to parse 'TargetDeploymentNetworkCreate' from JSON`,
4646
- );
4647
- }
4648
-
4649
- /** @internal */
4650
- export const TargetDeploymentTypeUseDefault$inboundSchema: z.ZodEnum<
4651
- typeof TargetDeploymentTypeUseDefault
4652
- > = z.enum(TargetDeploymentTypeUseDefault);
4653
-
4654
- /** @internal */
4655
- export const TargetDeploymentNetworkUseDefault$inboundSchema: z.ZodType<
4656
- TargetDeploymentNetworkUseDefault,
4657
- unknown
4658
- > = z.object({
4659
- type: TargetDeploymentTypeUseDefault$inboundSchema,
4660
- });
4661
-
4662
- export function targetDeploymentNetworkUseDefaultFromJSON(
4663
- jsonString: string,
4664
- ): SafeParseResult<TargetDeploymentNetworkUseDefault, SDKValidationError> {
4665
- return safeParse(
4666
- jsonString,
4667
- (x) => TargetDeploymentNetworkUseDefault$inboundSchema.parse(JSON.parse(x)),
4668
- `Failed to parse 'TargetDeploymentNetworkUseDefault' from JSON`,
4669
- );
4670
- }
4671
-
4672
- /** @internal */
4673
- export const TargetDeploymentNetworkUnion$inboundSchema: z.ZodType<
4674
- TargetDeploymentNetworkUnion,
4675
- unknown
4676
- > = z.union([
4677
- z.lazy(() => TargetDeploymentNetworkByoVpcAws$inboundSchema),
4678
- z.lazy(() => TargetDeploymentNetworkByoVpcGcp$inboundSchema),
4679
- z.lazy(() => TargetDeploymentNetworkByoVnetAzure$inboundSchema),
4680
- z.lazy(() => TargetDeploymentNetworkUseDefault$inboundSchema),
4681
- z.lazy(() => TargetDeploymentNetworkCreate$inboundSchema),
4682
- z.string(),
4683
- ]);
4684
-
4685
- export function targetDeploymentNetworkUnionFromJSON(
4686
- jsonString: string,
4687
- ): SafeParseResult<TargetDeploymentNetworkUnion, SDKValidationError> {
4688
- return safeParse(
4689
- jsonString,
4690
- (x) => TargetDeploymentNetworkUnion$inboundSchema.parse(JSON.parse(x)),
4691
- `Failed to parse 'TargetDeploymentNetworkUnion' from JSON`,
4692
- );
4693
- }
4694
-
4695
- /** @internal */
4696
- export const TargetDeploymentTelemetry$inboundSchema: z.ZodEnum<
4697
- typeof TargetDeploymentTelemetry
4698
- > = z.enum(TargetDeploymentTelemetry);
4699
-
4700
- /** @internal */
4701
- export const TargetDeploymentUpdates$inboundSchema: z.ZodEnum<
4702
- typeof TargetDeploymentUpdates
4703
- > = z.enum(TargetDeploymentUpdates);
4704
-
4705
- /** @internal */
4706
- export const TargetDeploymentStackSettings$inboundSchema: z.ZodType<
4707
- TargetDeploymentStackSettings,
4708
- unknown
4709
- > = z.object({
4710
- compute: z.nullable(
4711
- z.union([z.lazy(() => TargetDeploymentCompute$inboundSchema), z.string()]),
4712
- ).optional(),
4713
- deploymentModel: TargetDeploymentDeploymentModel$inboundSchema.optional(),
4714
- domains: z.nullable(
4715
- z.union([z.lazy(() => TargetDeploymentDomains$inboundSchema), z.string()]),
4716
- ).optional(),
4717
- endpointAccess: TargetDeploymentEndpointAccess$inboundSchema.optional(),
4718
- externalBindings: z.nullable(
4719
- z.record(z.string(), ExternalBindingUnion$inboundSchema),
4720
- ).optional(),
4721
- heartbeats: TargetDeploymentHeartbeats$inboundSchema.optional(),
4722
- kubernetes: z.nullable(
4723
- z.union([
4724
- z.lazy(() => TargetDeploymentKubernetes$inboundSchema),
4725
- z.string(),
4726
- ]),
4727
- ).optional(),
4728
- network: z.nullable(
4729
- z.union([
4730
- z.lazy(() => TargetDeploymentNetworkByoVpcAws$inboundSchema),
4731
- z.lazy(() => TargetDeploymentNetworkByoVpcGcp$inboundSchema),
4732
- z.lazy(() => TargetDeploymentNetworkByoVnetAzure$inboundSchema),
4733
- z.lazy(() => TargetDeploymentNetworkUseDefault$inboundSchema),
4734
- z.lazy(() => TargetDeploymentNetworkCreate$inboundSchema),
4735
- z.string(),
4736
- ]),
4737
- ).optional(),
4738
- publicEndpoints: z.nullable(
4739
- z.record(z.string(), z.record(z.string(), z.string())),
4740
- ).optional(),
4741
- telemetry: TargetDeploymentTelemetry$inboundSchema.optional(),
4742
- updates: TargetDeploymentUpdates$inboundSchema.optional(),
4743
- });
4744
-
4745
- export function targetDeploymentStackSettingsFromJSON(
4746
- jsonString: string,
4747
- ): SafeParseResult<TargetDeploymentStackSettings, SDKValidationError> {
4748
- return safeParse(
4749
- jsonString,
4750
- (x) => TargetDeploymentStackSettings$inboundSchema.parse(JSON.parse(x)),
4751
- `Failed to parse 'TargetDeploymentStackSettings' from JSON`,
4752
- );
4753
- }
4754
-
4755
- /** @internal */
4756
- export const TargetDeploymentVolumeRestore$inboundSchema: z.ZodType<
4757
- TargetDeploymentVolumeRestore,
4758
- unknown
4759
- > = z.object({
4760
- ordinal: z.int(),
4761
- requestId: z.string(),
4762
- resourceId: z.string(),
4763
- snapshotId: z.string(),
4764
- });
4765
-
4766
- export function targetDeploymentVolumeRestoreFromJSON(
4767
- jsonString: string,
4768
- ): SafeParseResult<TargetDeploymentVolumeRestore, SDKValidationError> {
4769
- return safeParse(
4770
- jsonString,
4771
- (x) => TargetDeploymentVolumeRestore$inboundSchema.parse(JSON.parse(x)),
4772
- `Failed to parse 'TargetDeploymentVolumeRestore' from JSON`,
4773
- );
4774
- }
4775
-
4776
- /** @internal */
4777
- export const TargetDeploymentConfig$inboundSchema: z.ZodType<
4778
- TargetDeploymentConfig,
4779
- unknown
4780
- > = z.object({
4781
- allowFrozenChanges: z.boolean().optional(),
4782
- basePlatform: z.nullable(
4783
- z.union([TargetDeploymentBasePlatformEnum$inboundSchema, z.string()]),
4784
- ).optional(),
4785
- computeBackend: z.nullable(
4786
- z.union([
4787
- z.lazy(() => TargetDeploymentComputeBackendHorizon$inboundSchema),
4788
- z.string(),
4789
- ]),
4790
- ).optional(),
4791
- deploymentName: z.nullable(z.string()).optional(),
4792
- deploymentToken: z.nullable(z.string()).optional(),
4793
- domainMetadata: z.nullable(
4794
- z.union([
4795
- z.lazy(() => TargetDeploymentDomainMetadata$inboundSchema),
4796
- z.string(),
4797
- ]),
4798
- ).optional(),
4799
- environmentVariables: z.lazy(() =>
4800
- TargetDeploymentEnvironmentVariables$inboundSchema
4801
- ),
4802
- externalBindings: z.record(z.string(), ExternalBindingUnion$inboundSchema)
4803
- .optional(),
4804
- inputValues: z.record(z.string(), z.nullable(z.any())).optional(),
4805
- labelDomain: z.nullable(z.string()).optional(),
4806
- managementConfig: z.nullable(
4807
- z.union([
4808
- z.lazy(() => TargetDeploymentManagementConfigAzure$inboundSchema),
4809
- z.lazy(() => TargetDeploymentManagementConfigAws$inboundSchema),
4810
- z.lazy(() => TargetDeploymentManagementConfigGcp$inboundSchema),
4811
- z.lazy(() => TargetDeploymentManagementConfigKubernetes$inboundSchema),
4812
- z.string(),
4813
- ]),
4814
- ).optional(),
4815
- managerUrl: z.nullable(z.string()).optional(),
4816
- monitoring: z.nullable(
4817
- z.union([
4818
- z.lazy(() => TargetDeploymentMonitoring$inboundSchema),
4819
- z.string(),
4820
- ]),
4821
- ).optional(),
4822
- nativeImageHost: z.nullable(z.string()).optional(),
4823
- observeAllNamespaces: z.boolean().optional(),
4824
- observeLabelSelector: z.nullable(z.string()).optional(),
4825
- publicEndpoints: z.nullable(
4826
- z.record(z.string(), z.record(z.string(), z.string())),
4827
- ).optional(),
4828
- stackSettings: z.lazy(() => TargetDeploymentStackSettings$inboundSchema)
4829
- .optional(),
4830
- storedSecretInputIds: z.array(z.string()).optional(),
4831
- volumeRestores: z.array(
4832
- z.lazy(() => TargetDeploymentVolumeRestore$inboundSchema),
4833
- ).optional(),
4834
- });
4835
-
4836
- export function targetDeploymentConfigFromJSON(
4837
- jsonString: string,
4838
- ): SafeParseResult<TargetDeploymentConfig, SDKValidationError> {
4839
- return safeParse(
4840
- jsonString,
4841
- (x) => TargetDeploymentConfig$inboundSchema.parse(JSON.parse(x)),
4842
- `Failed to parse 'TargetDeploymentConfig' from JSON`,
4843
- );
4844
- }
4845
-
4846
- /** @internal */
4847
- export const ReleaseInfoTypeStringList$inboundSchema: z.ZodEnum<
4848
- typeof ReleaseInfoTypeStringList
4849
- > = z.enum(ReleaseInfoTypeStringList);
1
+ // Generated by generate-compatibility-exports.mjs. DO NOT EDIT.
2
+ export * from "./targetdeploymentconfig.js";
3
+ export { ReleaseInfoTypeStringList } from "./targetdeployment.js";
4
+ export { ReleaseInfoTypeStringList$inboundSchema } from "./targetdeployment.js";