@alienplatform/platform-api 3.3.32 → 3.3.34

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 (281) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/REACT_QUERY.md +6 -6
  3. package/esm/funcs/apiKeysRevoke.js +1 -1
  4. package/esm/funcs/apiKeysRevoke.js.map +1 -1
  5. package/esm/funcs/deploymentsImport.js +1 -1
  6. package/esm/funcs/deploymentsImport.js.map +1 -1
  7. package/esm/funcs/deploymentsUpdateCompute.d.ts +1 -1
  8. package/esm/funcs/deploymentsUpdateCompute.js +1 -1
  9. package/esm/funcs/projectsConfigureRemoteSandbox.d.ts +1 -1
  10. package/esm/funcs/projectsConfigureRemoteSandbox.js +1 -1
  11. package/esm/lib/config.d.ts +2 -2
  12. package/esm/lib/config.js +2 -2
  13. package/esm/models/configureremotesandboxrequest.d.ts +4 -0
  14. package/esm/models/configureremotesandboxrequest.d.ts.map +1 -1
  15. package/esm/models/configureremotesandboxrequest.js +2 -0
  16. package/esm/models/configureremotesandboxrequest.js.map +1 -1
  17. package/esm/models/createmanagerresponse.d.ts +51 -2
  18. package/esm/models/createmanagerresponse.d.ts.map +1 -1
  19. package/esm/models/createmanagerresponse.js +32 -4
  20. package/esm/models/createmanagerresponse.js.map +1 -1
  21. package/esm/models/createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.d.ts +1780 -0
  22. package/esm/models/createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.d.ts.map +1 -0
  23. package/esm/models/createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.js +1431 -0
  24. package/esm/models/createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.js.map +1 -0
  25. package/esm/models/createmanagerresponseprovidergkegatewayenum2.d.ts +6 -1767
  26. package/esm/models/createmanagerresponseprovidergkegatewayenum2.d.ts.map +1 -1
  27. package/esm/models/createmanagerresponseprovidergkegatewayenum2.js +6 -1420
  28. package/esm/models/createmanagerresponseprovidergkegatewayenum2.js.map +1 -1
  29. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.d.ts +1751 -0
  30. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.d.ts.map +1 -0
  31. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.js +1450 -0
  32. package/esm/models/createmanagerresponsepublicendpointtargetmachineaddresses2.js.map +1 -0
  33. package/esm/models/createmanagerresponsepublicendpointtargetunion2.d.ts +4 -1715
  34. package/esm/models/createmanagerresponsepublicendpointtargetunion2.d.ts.map +1 -1
  35. package/esm/models/createmanagerresponsepublicendpointtargetunion2.js +4 -1444
  36. package/esm/models/createmanagerresponsepublicendpointtargetunion2.js.map +1 -1
  37. package/esm/models/createsetupregistrationoperationrequest.d.ts +35 -0
  38. package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
  39. package/esm/models/createsetupregistrationoperationrequest.js +14 -0
  40. package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
  41. package/esm/models/deployment.d.ts +44 -8
  42. package/esm/models/deployment.d.ts.map +1 -1
  43. package/esm/models/deployment.js +21 -4
  44. package/esm/models/deployment.js.map +1 -1
  45. package/esm/models/deploymentcomputeplan.d.ts +3 -0
  46. package/esm/models/deploymentcomputeplan.d.ts.map +1 -1
  47. package/esm/models/deploymentcomputeplan.js +3 -0
  48. package/esm/models/deploymentcomputeplan.js.map +1 -1
  49. package/esm/models/deploymentconfig.d.ts +32 -0
  50. package/esm/models/deploymentconfig.d.ts.map +1 -1
  51. package/esm/models/deploymentconfig.js +12 -0
  52. package/esm/models/deploymentconfig.js.map +1 -1
  53. package/esm/models/deploymentdetailresponse.d.ts +44 -8
  54. package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
  55. package/esm/models/deploymentdetailresponse.js +16 -4
  56. package/esm/models/deploymentdetailresponse.js.map +1 -1
  57. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.d.ts +1986 -0
  58. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.d.ts.map +1 -0
  59. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.js +1485 -0
  60. package/esm/models/deploymentdetailresponsependingpreparedstackdefaultunion.js.map +1 -0
  61. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.d.ts +3 -1966
  62. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.d.ts.map +1 -1
  63. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.js +4 -1481
  64. package/esm/models/deploymentdetailresponsependingpreparedstacktypeenvenum.js.map +1 -1
  65. package/esm/models/deploymentdetailresponsepreparedstackoperations.d.ts +4 -2363
  66. package/esm/models/deploymentdetailresponsepreparedstackoperations.d.ts.map +1 -1
  67. package/esm/models/deploymentdetailresponsepreparedstackoperations.js +4 -1560
  68. package/esm/models/deploymentdetailresponsepreparedstackoperations.js.map +1 -1
  69. package/esm/models/deploymentdetailresponsepreparedstackplugins.d.ts +2359 -0
  70. package/esm/models/deploymentdetailresponsepreparedstackplugins.d.ts.map +1 -0
  71. package/esm/models/deploymentdetailresponsepreparedstackplugins.js +1562 -0
  72. package/esm/models/deploymentdetailresponsepreparedstackplugins.js.map +1 -0
  73. package/esm/models/deploymentinfo.d.ts +184 -12
  74. package/esm/models/deploymentinfo.d.ts.map +1 -1
  75. package/esm/models/deploymentinfo.js +127 -9
  76. package/esm/models/deploymentinfo.js.map +1 -1
  77. package/esm/models/deploymentpendingpreparedstackdefaultunion.d.ts +1986 -0
  78. package/esm/models/deploymentpendingpreparedstackdefaultunion.d.ts.map +1 -0
  79. package/esm/models/deploymentpendingpreparedstackdefaultunion.js +1410 -0
  80. package/esm/models/deploymentpendingpreparedstackdefaultunion.js.map +1 -0
  81. package/esm/models/deploymentpendingpreparedstacktypeenvenum.d.ts +3 -1966
  82. package/esm/models/deploymentpendingpreparedstacktypeenvenum.d.ts.map +1 -1
  83. package/esm/models/deploymentpendingpreparedstacktypeenvenum.js +4 -1406
  84. package/esm/models/deploymentpendingpreparedstacktypeenvenum.js.map +1 -1
  85. package/esm/models/deploymentpreparedstackoperations.d.ts +4 -2363
  86. package/esm/models/deploymentpreparedstackoperations.d.ts.map +1 -1
  87. package/esm/models/deploymentpreparedstackoperations.js +4 -1460
  88. package/esm/models/deploymentpreparedstackoperations.js.map +1 -1
  89. package/esm/models/deploymentpreparedstackplugins.d.ts +2359 -0
  90. package/esm/models/deploymentpreparedstackplugins.d.ts.map +1 -0
  91. package/esm/models/deploymentpreparedstackplugins.js +1461 -0
  92. package/esm/models/deploymentpreparedstackplugins.js.map +1 -0
  93. package/esm/models/deploymentsetupconfiginput.d.ts +18 -0
  94. package/esm/models/deploymentsetupconfiginput.d.ts.map +1 -1
  95. package/esm/models/deploymentsetupconfiginput.js +10 -0
  96. package/esm/models/deploymentsetupconfiginput.js.map +1 -1
  97. package/esm/models/deploymentsetuppolicy.d.ts +20 -0
  98. package/esm/models/deploymentsetuppolicy.d.ts.map +1 -1
  99. package/esm/models/deploymentsetuppolicy.js +15 -0
  100. package/esm/models/deploymentsetuppolicy.js.map +1 -1
  101. package/esm/models/deploymentsetupstacksettingspolicy.d.ts +37 -0
  102. package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
  103. package/esm/models/deploymentsetupstacksettingspolicy.js +18 -0
  104. package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
  105. package/esm/models/importsource.d.ts +35 -0
  106. package/esm/models/importsource.d.ts.map +1 -1
  107. package/esm/models/importsource.js +12 -0
  108. package/esm/models/importsource.js.map +1 -1
  109. package/esm/models/managerretryresponse.d.ts +43 -2
  110. package/esm/models/managerretryresponse.d.ts.map +1 -1
  111. package/esm/models/managerretryresponse.js +29 -4
  112. package/esm/models/managerretryresponse.js.map +1 -1
  113. package/esm/models/managerretryresponsedomains2.d.ts +4 -1729
  114. package/esm/models/managerretryresponsedomains2.d.ts.map +1 -1
  115. package/esm/models/managerretryresponsedomains2.js +4 -1425
  116. package/esm/models/managerretryresponsedomains2.js.map +1 -1
  117. package/esm/models/managerretryresponseproviderazureapplicationgatewayforcontainers2.d.ts +1794 -0
  118. package/esm/models/managerretryresponseproviderazureapplicationgatewayforcontainers2.d.ts.map +1 -0
  119. package/esm/models/managerretryresponseproviderazureapplicationgatewayforcontainers2.js +1416 -0
  120. package/esm/models/managerretryresponseproviderazureapplicationgatewayforcontainers2.js.map +1 -0
  121. package/esm/models/managerretryresponseprovidergkegateway2.d.ts +6 -1757
  122. package/esm/models/managerretryresponseprovidergkegateway2.d.ts.map +1 -1
  123. package/esm/models/managerretryresponseprovidergkegateway2.js +6 -1401
  124. package/esm/models/managerretryresponseprovidergkegateway2.js.map +1 -1
  125. package/esm/models/managerretryresponsepublicendpointtargetunion2.d.ts +1749 -0
  126. package/esm/models/managerretryresponsepublicendpointtargetunion2.d.ts.map +1 -0
  127. package/esm/models/managerretryresponsepublicendpointtargetunion2.js +1428 -0
  128. package/esm/models/managerretryresponsepublicendpointtargetunion2.js.map +1 -0
  129. package/esm/models/newdeploymentrequest.d.ts +35 -0
  130. package/esm/models/newdeploymentrequest.d.ts.map +1 -1
  131. package/esm/models/newdeploymentrequest.js +13 -0
  132. package/esm/models/newdeploymentrequest.js.map +1 -1
  133. package/esm/models/operations/plandeploymentcompute.d.ts +35 -0
  134. package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -1
  135. package/esm/models/operations/plandeploymentcompute.js +13 -0
  136. package/esm/models/operations/plandeploymentcompute.js.map +1 -1
  137. package/esm/models/operations/preparedeploymentstack.d.ts +35 -0
  138. package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
  139. package/esm/models/operations/preparedeploymentstack.js +13 -0
  140. package/esm/models/operations/preparedeploymentstack.js.map +1 -1
  141. package/esm/models/package.d.ts +134 -0
  142. package/esm/models/package.d.ts.map +1 -1
  143. package/esm/models/package.js +99 -0
  144. package/esm/models/package.js.map +1 -1
  145. package/esm/models/persistimporteddeploymentrequest.d.ts +38 -8
  146. package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
  147. package/esm/models/persistimporteddeploymentrequest.js +14 -4
  148. package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
  149. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.d.ts +5 -2412
  150. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.d.ts.map +1 -1
  151. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.js +4 -1458
  152. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.js.map +1 -1
  153. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom2.d.ts +2435 -0
  154. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom2.d.ts.map +1 -0
  155. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom2.js +1463 -0
  156. package/esm/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom2.js.map +1 -0
  157. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.d.ts +5 -3089
  158. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.d.ts.map +1 -1
  159. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.js +4 -1535
  160. package/esm/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.js.map +1 -1
  161. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridegcpresource.d.ts +3088 -0
  162. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridegcpresource.d.ts.map +1 -0
  163. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridegcpresource.js +1535 -0
  164. package/esm/models/persistimporteddeploymentrequestpreparedstackoverridegcpresource.js.map +1 -0
  165. package/esm/models/projectrole.d.ts +1 -0
  166. package/esm/models/projectrole.d.ts.map +1 -1
  167. package/esm/models/projectrole.js +1 -0
  168. package/esm/models/projectrole.js.map +1 -1
  169. package/esm/models/stacksettings.d.ts +35 -0
  170. package/esm/models/stacksettings.d.ts.map +1 -1
  171. package/esm/models/stacksettings.js +12 -0
  172. package/esm/models/stacksettings.js.map +1 -1
  173. package/esm/models/synclistresponse.d.ts +40 -8
  174. package/esm/models/synclistresponse.d.ts.map +1 -1
  175. package/esm/models/synclistresponse.js +13 -4
  176. package/esm/models/synclistresponse.js.map +1 -1
  177. package/esm/models/synclistresponsependingpreparedstackdefaultunion.d.ts +1986 -0
  178. package/esm/models/synclistresponsependingpreparedstackdefaultunion.d.ts.map +1 -0
  179. package/esm/models/synclistresponsependingpreparedstackdefaultunion.js +1433 -0
  180. package/esm/models/synclistresponsependingpreparedstackdefaultunion.js.map +1 -0
  181. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.d.ts +3 -1966
  182. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.d.ts.map +1 -1
  183. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.js +4 -1429
  184. package/esm/models/synclistresponsependingpreparedstacktypeenvenum.js.map +1 -1
  185. package/esm/models/synclistresponsepreparedstackoperations.d.ts +4 -2363
  186. package/esm/models/synclistresponsepreparedstackoperations.d.ts.map +1 -1
  187. package/esm/models/synclistresponsepreparedstackoperations.js +4 -1519
  188. package/esm/models/synclistresponsepreparedstackoperations.js.map +1 -1
  189. package/esm/models/synclistresponsepreparedstackplugins.d.ts +2359 -0
  190. package/esm/models/synclistresponsepreparedstackplugins.d.ts.map +1 -0
  191. package/esm/models/synclistresponsepreparedstackplugins.js +1521 -0
  192. package/esm/models/synclistresponsepreparedstackplugins.js.map +1 -0
  193. package/esm/models/targetdeployment.d.ts +179 -1
  194. package/esm/models/targetdeployment.d.ts.map +1 -1
  195. package/esm/models/targetdeployment.js +35 -2
  196. package/esm/models/targetdeployment.js.map +1 -1
  197. package/esm/models/targetdeploymentconfig.d.ts +4 -2185
  198. package/esm/models/targetdeploymentconfig.d.ts.map +1 -1
  199. package/esm/models/targetdeploymentconfig.js +4 -1436
  200. package/esm/models/targetdeploymentconfig.js.map +1 -1
  201. package/esm/models/targetdeploymentvolumerestore.d.ts +2041 -0
  202. package/esm/models/targetdeploymentvolumerestore.d.ts.map +1 -0
  203. package/esm/models/targetdeploymentvolumerestore.js +1406 -0
  204. package/esm/models/targetdeploymentvolumerestore.js.map +1 -0
  205. package/esm/models/targetreleaseoperations.d.ts +21 -6
  206. package/esm/models/targetreleaseoperations.d.ts.map +1 -1
  207. package/esm/models/targetreleaseoperations.js +2 -0
  208. package/esm/models/targetreleaseoperations.js.map +1 -1
  209. package/esm/models/updatedeploymentcomputerequest.d.ts +17 -0
  210. package/esm/models/updatedeploymentcomputerequest.d.ts.map +1 -1
  211. package/esm/models/updatedeploymentcomputerequest.js +2 -0
  212. package/esm/models/updatedeploymentcomputerequest.js.map +1 -1
  213. package/esm/react-query/deploymentsUpdateCompute.d.ts +1 -1
  214. package/esm/react-query/deploymentsUpdateCompute.js +1 -1
  215. package/esm/react-query/projectsConfigureRemoteSandbox.d.ts +1 -1
  216. package/esm/react-query/projectsConfigureRemoteSandbox.js +1 -1
  217. package/esm/sdk/deployments.d.ts +1 -1
  218. package/esm/sdk/deployments.js +1 -1
  219. package/esm/sdk/projects.d.ts +1 -1
  220. package/esm/sdk/projects.js +1 -1
  221. package/jsr.json +1 -1
  222. package/package.json +3 -3
  223. package/src/funcs/apiKeysRevoke.ts +1 -1
  224. package/src/funcs/deploymentsImport.ts +1 -1
  225. package/src/funcs/deploymentsUpdateCompute.ts +1 -1
  226. package/src/funcs/projectsConfigureRemoteSandbox.ts +1 -1
  227. package/src/lib/config.ts +2 -2
  228. package/src/models/configureremotesandboxrequest.ts +6 -0
  229. package/src/models/createmanagerresponse.ts +102 -9
  230. package/src/models/createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.ts +4765 -0
  231. package/src/models/createmanagerresponseprovidergkegatewayenum2.ts +7 -4743
  232. package/src/models/createmanagerresponsepublicendpointtargetmachineaddresses2.ts +4690 -0
  233. package/src/models/createmanagerresponsepublicendpointtargetunion2.ts +5 -4675
  234. package/src/models/createsetupregistrationoperationrequest.ts +48 -0
  235. package/src/models/deployment.ts +74 -12
  236. package/src/models/deploymentcomputeplan.ts +6 -0
  237. package/src/models/deploymentconfig.ts +41 -0
  238. package/src/models/deploymentdetailresponse.ts +82 -12
  239. package/src/models/deploymentdetailresponsependingpreparedstackdefaultunion.ts +4960 -0
  240. package/src/models/deploymentdetailresponsependingpreparedstacktypeenvenum.ts +4 -4936
  241. package/src/models/deploymentdetailresponsepreparedstackoperations.ts +5 -6147
  242. package/src/models/deploymentdetailresponsepreparedstackplugins.ts +6116 -0
  243. package/src/models/deploymentinfo.ts +328 -25
  244. package/src/models/deploymentpendingpreparedstackdefaultunion.ts +4443 -0
  245. package/src/models/deploymentpendingpreparedstacktypeenvenum.ts +4 -4421
  246. package/src/models/deploymentpreparedstackoperations.ts +5 -5688
  247. package/src/models/deploymentpreparedstackplugins.ts +5668 -0
  248. package/src/models/deploymentsetupconfiginput.ts +29 -0
  249. package/src/models/deploymentsetuppolicy.ts +32 -0
  250. package/src/models/deploymentsetupstacksettingspolicy.ts +57 -0
  251. package/src/models/importsource.ts +44 -0
  252. package/src/models/managerretryresponse.ts +91 -11
  253. package/src/models/managerretryresponsedomains2.ts +5 -4656
  254. package/src/models/managerretryresponseproviderazureapplicationgatewayforcontainers2.ts +4730 -0
  255. package/src/models/managerretryresponseprovidergkegateway2.ts +7 -4681
  256. package/src/models/managerretryresponsepublicendpointtargetunion2.ts +4648 -0
  257. package/src/models/newdeploymentrequest.ts +45 -0
  258. package/src/models/operations/plandeploymentcompute.ts +45 -0
  259. package/src/models/operations/preparedeploymentstack.ts +45 -0
  260. package/src/models/package.ts +263 -0
  261. package/src/models/persistimporteddeploymentrequest.ts +68 -13
  262. package/src/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom1.ts +6 -5746
  263. package/src/models/persistimporteddeploymentrequestpendingpreparedstacksettingscustom2.ts +5757 -0
  264. package/src/models/persistimporteddeploymentrequestpreparedstackoverrideconditionstack.ts +6 -7043
  265. package/src/models/persistimporteddeploymentrequestpreparedstackoverridegcpresource.ts +7041 -0
  266. package/src/models/projectrole.ts +1 -0
  267. package/src/models/stacksettings.ts +44 -0
  268. package/src/models/synclistresponse.ts +71 -12
  269. package/src/models/synclistresponsependingpreparedstackdefaultunion.ts +4604 -0
  270. package/src/models/synclistresponsependingpreparedstacktypeenvenum.ts +4 -4583
  271. package/src/models/synclistresponsepreparedstackoperations.ts +5 -5899
  272. package/src/models/synclistresponsepreparedstackplugins.ts +5873 -0
  273. package/src/models/targetdeployment.ts +236 -4
  274. package/src/models/targetdeploymentconfig.ts +5 -4878
  275. package/src/models/targetdeploymentvolumerestore.ts +4671 -0
  276. package/src/models/targetreleaseoperations.ts +23 -6
  277. package/src/models/updatedeploymentcomputerequest.ts +19 -0
  278. package/src/react-query/deploymentsUpdateCompute.ts +1 -1
  279. package/src/react-query/projectsConfigureRemoteSandbox.ts +1 -1
  280. package/src/sdk/deployments.ts +1 -1
  281. package/src/sdk/projects.ts +1 -1
@@ -1,4675 +1,5 @@
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 {
11
- DeploymentSetupPolicy,
12
- DeploymentSetupPolicy$inboundSchema,
13
- } from "./deploymentsetuppolicy.js";
14
- import {
15
- EncryptedStackInputValue,
16
- EncryptedStackInputValue$inboundSchema,
17
- } from "./encryptedstackinputvalue.js";
18
- import { SDKValidationError } from "./errors/sdkvalidationerror.js";
19
- import {
20
- ExternalBindingUnion,
21
- ExternalBindingUnion$inboundSchema,
22
- } from "./externalbindingunion.js";
23
-
24
- export const CreateManagerResponseSetupStatus = {
25
- Pending: "pending",
26
- } as const;
27
- export type CreateManagerResponseSetupStatus = ClosedEnum<
28
- typeof CreateManagerResponseSetupStatus
29
- >;
30
-
31
- /**
32
- * Represents the target cloud platform.
33
- */
34
- export const CreateManagerResponsePlatform = {
35
- Aws: "aws",
36
- Gcp: "gcp",
37
- Azure: "azure",
38
- Kubernetes: "kubernetes",
39
- Machines: "machines",
40
- Local: "local",
41
- Test: "test",
42
- } as const;
43
- /**
44
- * Represents the target cloud platform.
45
- */
46
- export type CreateManagerResponsePlatform = ClosedEnum<
47
- typeof CreateManagerResponsePlatform
48
- >;
49
-
50
- /**
51
- * Immutable Release whose schema validated first-party inputs for this platform and channel.
52
- */
53
- export type CreateManagerResponseValidatedReleaseSelection = {
54
- /**
55
- * Unique identifier for the release.
56
- */
57
- releaseId: string;
58
- releaseChannel: string;
59
- /**
60
- * Represents the target cloud platform.
61
- */
62
- platform: CreateManagerResponsePlatform;
63
- };
64
-
65
- export const CreateManagerResponseItemEnum = {
66
- Deployment: "deployment",
67
- Models: "models",
68
- Keys: "keys",
69
- Bucket: "bucket",
70
- Registry: "registry",
71
- Sandbox: "sandbox",
72
- } as const;
73
- export type CreateManagerResponseItemEnum = ClosedEnum<
74
- typeof CreateManagerResponseItemEnum
75
- >;
76
-
77
- export const CreateManagerResponseDefinitionId = {
78
- CustomerAi: "customer-ai",
79
- CustomerKey: "customer-key",
80
- CustomerStorage: "customer-storage",
81
- CustomerRegistry: "customer-registry",
82
- CustomerSandbox: "customer-sandbox",
83
- } as const;
84
- export type CreateManagerResponseDefinitionId = ClosedEnum<
85
- typeof CreateManagerResponseDefinitionId
86
- >;
87
-
88
- export type CreateManagerResponseSourceBuiltIn = {
89
- type: "built-in";
90
- definitionId: CreateManagerResponseDefinitionId;
91
- version: string;
92
- /**
93
- * Unique identifier for the release.
94
- */
95
- sourceReleaseId: string;
96
- };
97
-
98
- export type CreateManagerResponseSourceProjectRelease = {
99
- type: "project-release";
100
- releaseChannel: string;
101
- /**
102
- * Unique identifier for the release.
103
- */
104
- releaseId: string;
105
- resourceId?: string | undefined;
106
- };
107
-
108
- export type CreateManagerResponseSourceUnion =
109
- | CreateManagerResponseSourceProjectRelease
110
- | CreateManagerResponseSourceBuiltIn;
111
-
112
- export const CreateManagerResponseAllowedProvider = {
113
- AwsBedrock: "aws-bedrock",
114
- GcpVertex: "gcp-vertex",
115
- AzureFoundry: "azure-foundry",
116
- Anthropic: "anthropic",
117
- Databricks: "databricks",
118
- Openai: "openai",
119
- } as const;
120
- export type CreateManagerResponseAllowedProvider = ClosedEnum<
121
- typeof CreateManagerResponseAllowedProvider
122
- >;
123
-
124
- export const CreateManagerResponseProviderAllowlist = {
125
- AwsBedrock: "aws-bedrock",
126
- GcpVertex: "gcp-vertex",
127
- AzureFoundry: "azure-foundry",
128
- Anthropic: "anthropic",
129
- Databricks: "databricks",
130
- Openai: "openai",
131
- } as const;
132
- export type CreateManagerResponseProviderAllowlist = ClosedEnum<
133
- typeof CreateManagerResponseProviderAllowlist
134
- >;
135
-
136
- export const CreateManagerResponseClientApi = {
137
- OpenaiChat: "openai-chat",
138
- OpenaiResponses: "openai-responses",
139
- AnthropicMessages: "anthropic-messages",
140
- } as const;
141
- export type CreateManagerResponseClientApi = ClosedEnum<
142
- typeof CreateManagerResponseClientApi
143
- >;
144
-
145
- export type CreateManagerResponseModelRequirement = {
146
- publicModelId: string;
147
- clientApis: Array<CreateManagerResponseClientApi>;
148
- required: boolean;
149
- };
150
-
151
- export type CreateManagerResponseConfiguration = {
152
- allowedProviders?: Array<CreateManagerResponseAllowedProvider> | undefined;
153
- providerAllowlist?: Array<CreateManagerResponseProviderAllowlist> | undefined;
154
- modelRequirements?: Array<CreateManagerResponseModelRequirement> | undefined;
155
- };
156
-
157
- export type CreateManagerResponseItem = {
158
- item: CreateManagerResponseItemEnum;
159
- source:
160
- | CreateManagerResponseSourceProjectRelease
161
- | CreateManagerResponseSourceBuiltIn;
162
- required: boolean;
163
- configuration?: CreateManagerResponseConfiguration | undefined;
164
- };
165
-
166
- export const CreateManagerResponseEnvironmentVariableType = {
167
- Plain: "plain",
168
- Secret: "secret",
169
- } as const;
170
- export type CreateManagerResponseEnvironmentVariableType = ClosedEnum<
171
- typeof CreateManagerResponseEnvironmentVariableType
172
- >;
173
-
174
- export type CreateManagerResponseEnvironmentVariable = {
175
- name: string;
176
- type: CreateManagerResponseEnvironmentVariableType;
177
- targetResources: Array<string> | null;
178
- };
179
-
180
- export type CreateManagerResponseSetupConfig = {
181
- metadata: { [k: string]: any | null };
182
- policy: DeploymentSetupPolicy;
183
- inputValues?: { [k: string]: EncryptedStackInputValue } | undefined;
184
- /**
185
- * Immutable Release whose schema validated first-party inputs for this platform and channel.
186
- */
187
- validatedReleaseSelection?:
188
- | CreateManagerResponseValidatedReleaseSelection
189
- | undefined;
190
- /**
191
- * Immutable setup items and exact sources captured when this setup link is created.
192
- */
193
- items?: Array<CreateManagerResponseItem> | undefined;
194
- /**
195
- * Operator-pinned deployment subdomain for this setup token.
196
- */
197
- publicSubdomain?: string | undefined;
198
- environmentVariables: Array<CreateManagerResponseEnvironmentVariable>;
199
- };
200
-
201
- /**
202
- * Deployment-time resource allocation for a container. Omitted fields use release defaults.
203
- */
204
- export type CreateManagerResponseContainers3 = {
205
- /**
206
- * CPU allocation in vCPUs.
207
- */
208
- cpu?: number | null | undefined;
209
- /**
210
- * Memory allocation, using binary units such as Mi or Gi.
211
- */
212
- memory?: string | null | undefined;
213
- };
214
-
215
- /**
216
- * Failure-domain policy selected for a compute pool.
217
- */
218
- export type CreateManagerResponseFailureDomains6 = {
219
- /**
220
- * Concrete provider domains selected during setup.
221
- *
222
- * @remarks
223
- * Empty delegates deterministic selection to the provider setup implementation.
224
- */
225
- selectedFailureDomains?: Array<string> | undefined;
226
- /**
227
- * Number of distinct failure domains across which new stateful replicas may be spread.
228
- */
229
- spread: number;
230
- };
231
-
232
- export type CreateManagerResponseFailureDomainsUnion6 =
233
- | CreateManagerResponseFailureDomains6
234
- | string;
235
-
236
- export type CreateManagerResponsePoolsAutoscale3 = {
237
- failureDomains?:
238
- | CreateManagerResponseFailureDomains6
239
- | string
240
- | null
241
- | undefined;
242
- /**
243
- * Provider machine type selected for this deployment.
244
- */
245
- machine?: string | null | undefined;
246
- /**
247
- * Maximum machine count.
248
- */
249
- max: number;
250
- /**
251
- * Minimum machine count.
252
- */
253
- min: number;
254
- mode: "autoscale";
255
- };
256
-
257
- /**
258
- * Failure-domain policy selected for a compute pool.
259
- */
260
- export type CreateManagerResponseFailureDomains5 = {
261
- /**
262
- * Concrete provider domains selected during setup.
263
- *
264
- * @remarks
265
- * Empty delegates deterministic selection to the provider setup implementation.
266
- */
267
- selectedFailureDomains?: Array<string> | undefined;
268
- /**
269
- * Number of distinct failure domains across which new stateful replicas may be spread.
270
- */
271
- spread: number;
272
- };
273
-
274
- export type CreateManagerResponseFailureDomainsUnion5 =
275
- | CreateManagerResponseFailureDomains5
276
- | string;
277
-
278
- export type CreateManagerResponsePoolsFixed3 = {
279
- failureDomains?:
280
- | CreateManagerResponseFailureDomains5
281
- | string
282
- | null
283
- | undefined;
284
- /**
285
- * Provider machine type selected for this deployment.
286
- */
287
- machine?: string | null | undefined;
288
- /**
289
- * Number of machines to run.
290
- */
291
- machines: number;
292
- mode: "fixed";
293
- };
294
-
295
- /**
296
- * User-selected deployment settings for one compute pool.
297
- */
298
- export type CreateManagerResponsePoolsUnion3 =
299
- | CreateManagerResponsePoolsFixed3
300
- | CreateManagerResponsePoolsAutoscale3;
301
-
302
- /**
303
- * Deployment-time compute choices for Alien-managed compute pools.
304
- *
305
- * @remarks
306
- *
307
- * Application source declares portable pool requirements. This settings
308
- * object stores the concrete choices made for one deployment, such as the
309
- * provider machine type and selected machine counts.
310
- */
311
- export type CreateManagerResponseCompute3 = {
312
- /**
313
- * Per-replica resources selected within each container's declared ranges.
314
- */
315
- containers?: { [k: string]: CreateManagerResponseContainers3 } | undefined;
316
- /**
317
- * Selected compute choices keyed by pool ID.
318
- */
319
- pools?: {
320
- [k: string]:
321
- | CreateManagerResponsePoolsFixed3
322
- | CreateManagerResponsePoolsAutoscale3;
323
- } | undefined;
324
- };
325
-
326
- export type CreateManagerResponseComputeUnion3 =
327
- | CreateManagerResponseCompute3
328
- | string;
329
-
330
- /**
331
- * Deployment model: how updates are delivered to the remote environment.
332
- */
333
- export const CreateManagerResponseDeploymentModel3 = {
334
- Push: "push",
335
- Pull: "pull",
336
- } as const;
337
- /**
338
- * Deployment model: how updates are delivered to the remote environment.
339
- */
340
- export type CreateManagerResponseDeploymentModel3 = ClosedEnum<
341
- typeof CreateManagerResponseDeploymentModel3
342
- >;
343
-
344
- export type CreateManagerResponseAws3 = {
345
- certificateArn: string;
346
- };
347
-
348
- export type CreateManagerResponseAwsUnion3 = CreateManagerResponseAws3 | string;
349
-
350
- export type CreateManagerResponseAzure3 = {
351
- keyVaultCertificateId: string;
352
- keyVaultResourceId?: string | null | undefined;
353
- };
354
-
355
- export type CreateManagerResponseAzureUnion3 =
356
- | CreateManagerResponseAzure3
357
- | string;
358
-
359
- export type CreateManagerResponseGcp3 = {
360
- certificateName: string;
361
- };
362
-
363
- export type CreateManagerResponseGcpUnion3 = CreateManagerResponseGcp3 | string;
364
-
365
- /**
366
- * Namespace-scoped Kubernetes TLS Secret reference.
367
- */
368
- export type CreateManagerResponseTlsSecretRef3 = {
369
- /**
370
- * Secret namespace. Defaults to the release namespace when omitted.
371
- */
372
- namespace?: string | null | undefined;
373
- /**
374
- * Secret name.
375
- */
376
- secretName: string;
377
- };
378
-
379
- export type CreateManagerResponseDomainsKubernetes3 = {
380
- /**
381
- * Namespace-scoped Kubernetes TLS Secret reference.
382
- */
383
- tlsSecretRef: CreateManagerResponseTlsSecretRef3;
384
- };
385
-
386
- export type CreateManagerResponseDomainsKubernetesUnion3 =
387
- | CreateManagerResponseDomainsKubernetes3
388
- | string;
389
-
390
- /**
391
- * Platform-specific certificate references for custom domains.
392
- */
393
- export type CreateManagerResponseDomainsCertificate3 = {
394
- aws?: CreateManagerResponseAws3 | string | null | undefined;
395
- azure?: CreateManagerResponseAzure3 | string | null | undefined;
396
- gcp?: CreateManagerResponseGcp3 | string | null | undefined;
397
- kubernetes?:
398
- | CreateManagerResponseDomainsKubernetes3
399
- | string
400
- | null
401
- | undefined;
402
- };
403
-
404
- /**
405
- * Custom domain configuration for a single resource.
406
- */
407
- export type CreateManagerResponseCustomDomains3 = {
408
- /**
409
- * Platform-specific certificate references for custom domains.
410
- */
411
- certificate: CreateManagerResponseDomainsCertificate3;
412
- /**
413
- * Fully qualified domain name to use.
414
- */
415
- domain: string;
416
- };
417
-
418
- export const CreateManagerResponseModeLoadBalancer3 = {
419
- LoadBalancer: "loadBalancer",
420
- } as const;
421
- export type CreateManagerResponseModeLoadBalancer3 = ClosedEnum<
422
- typeof CreateManagerResponseModeLoadBalancer3
423
- >;
424
-
425
- export type CreateManagerResponsePublicEndpointTargetLoadBalancer3 = {
426
- /**
427
- * DNS name or URL for the external load balancer.
428
- */
429
- cnameTarget: string;
430
- mode: CreateManagerResponseModeLoadBalancer3;
431
- };
432
-
433
- export const CreateManagerResponseModeMachineAddresses3 = {
434
- MachineAddresses: "machineAddresses",
435
- } as const;
436
- export type CreateManagerResponseModeMachineAddresses3 = ClosedEnum<
437
- typeof CreateManagerResponseModeMachineAddresses3
438
- >;
439
-
440
- export type CreateManagerResponsePublicEndpointTargetMachineAddresses3 = {
441
- mode: CreateManagerResponseModeMachineAddresses3;
442
- };
443
-
444
- export type CreateManagerResponsePublicEndpointTargetUnion3 =
445
- | CreateManagerResponsePublicEndpointTargetLoadBalancer3
446
- | CreateManagerResponsePublicEndpointTargetMachineAddresses3
447
- | string;
448
-
449
- /**
450
- * Domain configuration for the stack.
451
- *
452
- * @remarks
453
- *
454
- * When `custom_domains` is set, the specified resources use customer-provided
455
- * domains and certificates. Otherwise, Alien auto-generates domains.
456
- */
457
- export type CreateManagerResponseDomains3 = {
458
- /**
459
- * Custom domain configuration per resource ID.
460
- */
461
- customDomains?:
462
- | { [k: string]: CreateManagerResponseCustomDomains3 }
463
- | null
464
- | undefined;
465
- publicEndpointTarget?:
466
- | CreateManagerResponsePublicEndpointTargetLoadBalancer3
467
- | CreateManagerResponsePublicEndpointTargetMachineAddresses3
468
- | string
469
- | null
470
- | undefined;
471
- };
472
-
473
- export type CreateManagerResponseDomainsUnion3 =
474
- | CreateManagerResponseDomains3
475
- | string;
476
-
477
- /**
478
- * Reachability of the deployment's public endpoints, fixed at setup.
479
- */
480
- export const CreateManagerResponseEndpointAccess3 = {
481
- Internet: "internet",
482
- Private: "private",
483
- } as const;
484
- /**
485
- * Reachability of the deployment's public endpoints, fixed at setup.
486
- */
487
- export type CreateManagerResponseEndpointAccess3 = ClosedEnum<
488
- typeof CreateManagerResponseEndpointAccess3
489
- >;
490
-
491
- /**
492
- * How heartbeat health checks are handled.
493
- */
494
- export const CreateManagerResponseHeartbeats3 = {
495
- Off: "off",
496
- On: "on",
497
- } as const;
498
- /**
499
- * How heartbeat health checks are handled.
500
- */
501
- export type CreateManagerResponseHeartbeats3 = ClosedEnum<
502
- typeof CreateManagerResponseHeartbeats3
503
- >;
504
-
505
- /**
506
- * Optional provider-specific identity for a cloud-backed Kubernetes cluster.
507
- */
508
- export type CreateManagerResponseCloud3 = {
509
- accountId?: string | null | undefined;
510
- clusterId?: string | null | undefined;
511
- clusterName?: string | null | undefined;
512
- projectId?: string | null | undefined;
513
- region?: string | null | undefined;
514
- resourceGroup?: string | null | undefined;
515
- subscriptionId?: string | null | undefined;
516
- };
517
-
518
- export type CreateManagerResponseCloudUnion3 =
519
- | CreateManagerResponseCloud3
520
- | string;
521
-
522
- /**
523
- * Ownership model for the Kubernetes cluster.
524
- */
525
- export const CreateManagerResponseOwnership3 = {
526
- Managed: "managed",
527
- Existing: "existing",
528
- External: "external",
529
- } as const;
530
- /**
531
- * Ownership model for the Kubernetes cluster.
532
- */
533
- export type CreateManagerResponseOwnership3 = ClosedEnum<
534
- typeof CreateManagerResponseOwnership3
535
- >;
536
-
537
- /**
538
- * Kubernetes cluster setup settings.
539
- */
540
- export type CreateManagerResponseCluster3 = {
541
- cloud?: CreateManagerResponseCloud3 | string | null | undefined;
542
- /**
543
- * Namespace where the Alien chart and application resources run.
544
- */
545
- namespace?: string | null | undefined;
546
- /**
547
- * Ownership model for the Kubernetes cluster.
548
- */
549
- ownership: CreateManagerResponseOwnership3;
550
- };
551
-
552
- export type CreateManagerResponseClusterUnion3 =
553
- | CreateManagerResponseCluster3
554
- | string;
555
-
556
- export type CreateManagerResponseCertificateNone6 = {
557
- mode: "none";
558
- };
559
-
560
- export type CreateManagerResponseCertificateManagedTLSSecret6 = {
561
- mode: "managedTlsSecret";
562
- /**
563
- * Secret name template. Runtime may substitute resource/deployment tokens.
564
- */
565
- secretNameTemplate: string;
566
- };
567
-
568
- export type CreateManagerResponseCertificateAwsAcmArn6 = {
569
- /**
570
- * Existing ACM certificate ARN.
571
- */
572
- certificateArn: string;
573
- mode: "awsAcmArn";
574
- };
575
-
576
- export type CreateManagerResponseCertificateManagedAcmImport6 = {
577
- mode: "managedAcmImport";
578
- /**
579
- * ACM region. Defaults to the deployment region when omitted.
580
- */
581
- region?: string | null | undefined;
582
- /**
583
- * Tags applied to runtime-imported ACM certificates.
584
- */
585
- tags?: { [k: string]: string } | undefined;
586
- };
587
-
588
- /**
589
- * Namespace-scoped Kubernetes TLS Secret reference.
590
- */
591
- export type CreateManagerResponseCertificateTLSSecretRef6 = {
592
- /**
593
- * Secret namespace. Defaults to the release namespace when omitted.
594
- */
595
- namespace?: string | null | undefined;
596
- /**
597
- * Secret name.
598
- */
599
- secretName: string;
600
- mode: "tlsSecretRef";
601
- };
602
-
603
- /**
604
- * Certificate publication or reference mode for Kubernetes public endpoints.
605
- */
606
- export type CreateManagerResponseCertificateUnion6 =
607
- | CreateManagerResponseCertificateTLSSecretRef6
608
- | CreateManagerResponseCertificateManagedAcmImport6
609
- | CreateManagerResponseCertificateAwsAcmArn6
610
- | CreateManagerResponseCertificateManagedTLSSecret6
611
- | CreateManagerResponseCertificateNone6;
612
-
613
- export const CreateManagerResponseModeCustom3 = {
614
- Custom: "custom",
615
- } as const;
616
- export type CreateManagerResponseModeCustom3 = ClosedEnum<
617
- typeof CreateManagerResponseModeCustom3
618
- >;
619
-
620
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum12 =
621
- {
622
- AzureApplicationGatewayForContainers:
623
- "azureApplicationGatewayForContainers",
624
- } as const;
625
- export type CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum12 =
626
- ClosedEnum<
627
- typeof CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum12
628
- >;
629
-
630
- export type CreateManagerResponseProviderAzureApplicationGatewayForContainers12 =
631
- {
632
- /**
633
- * Optional ALB name when using BYO Application Gateway resources.
634
- */
635
- albName?: string | null | undefined;
636
- /**
637
- * Optional ALB namespace when using BYO Application Gateway resources.
638
- */
639
- albNamespace?: string | null | undefined;
640
- /**
641
- * Public or internal frontend exposure.
642
- */
643
- frontend: string;
644
- provider:
645
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum12;
646
- };
647
-
648
- export const CreateManagerResponseProviderGkeGatewayEnum12 = {
649
- GkeGateway: "gkeGateway",
650
- } as const;
651
- export type CreateManagerResponseProviderGkeGatewayEnum12 = ClosedEnum<
652
- typeof CreateManagerResponseProviderGkeGatewayEnum12
653
- >;
654
-
655
- export type CreateManagerResponseProviderGkeGateway12 = {
656
- provider: CreateManagerResponseProviderGkeGatewayEnum12;
657
- /**
658
- * Optional static address name for the Gateway frontend.
659
- */
660
- staticAddressName?: string | null | undefined;
661
- };
662
-
663
- export const CreateManagerResponseProviderAwsAlbEnum12 = {
664
- AwsAlb: "awsAlb",
665
- } as const;
666
- export type CreateManagerResponseProviderAwsAlbEnum12 = ClosedEnum<
667
- typeof CreateManagerResponseProviderAwsAlbEnum12
668
- >;
669
-
670
- export type CreateManagerResponseProviderAwsAlb12 = {
671
- /**
672
- * Optional ALB IP address type, such as `dualstack`.
673
- */
674
- ipAddressType?: string | null | undefined;
675
- provider: CreateManagerResponseProviderAwsAlbEnum12;
676
- /**
677
- * Internet-facing or internal ALB scheme.
678
- */
679
- scheme: string;
680
- /**
681
- * Explicit subnet IDs when the profile cannot rely on controller discovery.
682
- */
683
- subnetIds?: Array<string> | undefined;
684
- /**
685
- * ALB target type, usually `ip`.
686
- */
687
- targetType: string;
688
- };
689
-
690
- export type CreateManagerResponseProviderUnion12 =
691
- | CreateManagerResponseProviderAwsAlb12
692
- | CreateManagerResponseProviderAzureApplicationGatewayForContainers12
693
- | CreateManagerResponseProviderGkeGateway12
694
- | string;
695
-
696
- /**
697
- * Shared Gateway API route profile values.
698
- */
699
- export type CreateManagerResponseRouteGateway6 = {
700
- /**
701
- * Annotations applied to route objects.
702
- */
703
- annotations?: { [k: string]: string } | undefined;
704
- /**
705
- * Route controller identifier, for example a cloud Gateway controller.
706
- */
707
- controller?: string | null | undefined;
708
- /**
709
- * GatewayClass selected for generated Gateways.
710
- */
711
- gatewayClassName: string;
712
- /**
713
- * Labels applied to route objects.
714
- */
715
- labels?: { [k: string]: string } | undefined;
716
- /**
717
- * Listener port, usually 443.
718
- */
719
- listenerPort: number;
720
- provider?:
721
- | CreateManagerResponseProviderAwsAlb12
722
- | CreateManagerResponseProviderAzureApplicationGatewayForContainers12
723
- | CreateManagerResponseProviderGkeGateway12
724
- | string
725
- | null
726
- | undefined;
727
- routeApi: "gateway";
728
- };
729
-
730
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum11 =
731
- {
732
- AzureApplicationGatewayForContainers:
733
- "azureApplicationGatewayForContainers",
734
- } as const;
735
- export type CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum11 =
736
- ClosedEnum<
737
- typeof CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum11
738
- >;
739
-
740
- export type CreateManagerResponseProviderAzureApplicationGatewayForContainers11 =
741
- {
742
- /**
743
- * Optional ALB name when using BYO Application Gateway resources.
744
- */
745
- albName?: string | null | undefined;
746
- /**
747
- * Optional ALB namespace when using BYO Application Gateway resources.
748
- */
749
- albNamespace?: string | null | undefined;
750
- /**
751
- * Public or internal frontend exposure.
752
- */
753
- frontend: string;
754
- provider:
755
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum11;
756
- };
757
-
758
- export const CreateManagerResponseProviderGkeGatewayEnum11 = {
759
- GkeGateway: "gkeGateway",
760
- } as const;
761
- export type CreateManagerResponseProviderGkeGatewayEnum11 = ClosedEnum<
762
- typeof CreateManagerResponseProviderGkeGatewayEnum11
763
- >;
764
-
765
- export type CreateManagerResponseProviderGkeGateway11 = {
766
- provider: CreateManagerResponseProviderGkeGatewayEnum11;
767
- /**
768
- * Optional static address name for the Gateway frontend.
769
- */
770
- staticAddressName?: string | null | undefined;
771
- };
772
-
773
- export const CreateManagerResponseProviderAwsAlbEnum11 = {
774
- AwsAlb: "awsAlb",
775
- } as const;
776
- export type CreateManagerResponseProviderAwsAlbEnum11 = ClosedEnum<
777
- typeof CreateManagerResponseProviderAwsAlbEnum11
778
- >;
779
-
780
- export type CreateManagerResponseProviderAwsAlb11 = {
781
- /**
782
- * Optional ALB IP address type, such as `dualstack`.
783
- */
784
- ipAddressType?: string | null | undefined;
785
- provider: CreateManagerResponseProviderAwsAlbEnum11;
786
- /**
787
- * Internet-facing or internal ALB scheme.
788
- */
789
- scheme: string;
790
- /**
791
- * Explicit subnet IDs when the profile cannot rely on controller discovery.
792
- */
793
- subnetIds?: Array<string> | undefined;
794
- /**
795
- * ALB target type, usually `ip`.
796
- */
797
- targetType: string;
798
- };
799
-
800
- export type CreateManagerResponseProviderUnion11 =
801
- | CreateManagerResponseProviderAwsAlb11
802
- | CreateManagerResponseProviderAzureApplicationGatewayForContainers11
803
- | CreateManagerResponseProviderGkeGateway11
804
- | string;
805
-
806
- /**
807
- * Shared Ingress route profile values.
808
- */
809
- export type CreateManagerResponseRouteIngress6 = {
810
- /**
811
- * Annotations applied to route objects.
812
- */
813
- annotations?: { [k: string]: string } | undefined;
814
- /**
815
- * Route controller identifier, for example `eks.amazonaws.com/alb`.
816
- */
817
- controller?: string | null | undefined;
818
- /**
819
- * `spec.ingressClassName` for generated Ingresses.
820
- */
821
- ingressClassName: string;
822
- /**
823
- * Labels applied to route objects.
824
- */
825
- labels?: { [k: string]: string } | undefined;
826
- provider?:
827
- | CreateManagerResponseProviderAwsAlb11
828
- | CreateManagerResponseProviderAzureApplicationGatewayForContainers11
829
- | CreateManagerResponseProviderGkeGateway11
830
- | string
831
- | null
832
- | undefined;
833
- routeApi: "ingress";
834
- };
835
-
836
- /**
837
- * Kubernetes route API selected for public endpoints.
838
- */
839
- export type CreateManagerResponseRouteUnion6 =
840
- | CreateManagerResponseRouteIngress6
841
- | CreateManagerResponseRouteGateway6;
842
-
843
- export type CreateManagerResponseExposureCustom3 = {
844
- /**
845
- * Certificate publication or reference mode for Kubernetes public endpoints.
846
- */
847
- certificate:
848
- | CreateManagerResponseCertificateTLSSecretRef6
849
- | CreateManagerResponseCertificateManagedAcmImport6
850
- | CreateManagerResponseCertificateAwsAcmArn6
851
- | CreateManagerResponseCertificateManagedTLSSecret6
852
- | CreateManagerResponseCertificateNone6;
853
- /**
854
- * Hostname routed by the Kubernetes public endpoint.
855
- */
856
- domain: string;
857
- mode: CreateManagerResponseModeCustom3;
858
- /**
859
- * Kubernetes route API selected for public endpoints.
860
- */
861
- route:
862
- | CreateManagerResponseRouteIngress6
863
- | CreateManagerResponseRouteGateway6;
864
- };
865
-
866
- export type CreateManagerResponseCertificateNone5 = {
867
- mode: "none";
868
- };
869
-
870
- export type CreateManagerResponseCertificateManagedTLSSecret5 = {
871
- mode: "managedTlsSecret";
872
- /**
873
- * Secret name template. Runtime may substitute resource/deployment tokens.
874
- */
875
- secretNameTemplate: string;
876
- };
877
-
878
- export type CreateManagerResponseCertificateAwsAcmArn5 = {
879
- /**
880
- * Existing ACM certificate ARN.
881
- */
882
- certificateArn: string;
883
- mode: "awsAcmArn";
884
- };
885
-
886
- export type CreateManagerResponseCertificateManagedAcmImport5 = {
887
- mode: "managedAcmImport";
888
- /**
889
- * ACM region. Defaults to the deployment region when omitted.
890
- */
891
- region?: string | null | undefined;
892
- /**
893
- * Tags applied to runtime-imported ACM certificates.
894
- */
895
- tags?: { [k: string]: string } | undefined;
896
- };
897
-
898
- /**
899
- * Namespace-scoped Kubernetes TLS Secret reference.
900
- */
901
- export type CreateManagerResponseCertificateTLSSecretRef5 = {
902
- /**
903
- * Secret namespace. Defaults to the release namespace when omitted.
904
- */
905
- namespace?: string | null | undefined;
906
- /**
907
- * Secret name.
908
- */
909
- secretName: string;
910
- mode: "tlsSecretRef";
911
- };
912
-
913
- /**
914
- * Certificate publication or reference mode for Kubernetes public endpoints.
915
- */
916
- export type CreateManagerResponseCertificateUnion5 =
917
- | CreateManagerResponseCertificateTLSSecretRef5
918
- | CreateManagerResponseCertificateManagedAcmImport5
919
- | CreateManagerResponseCertificateAwsAcmArn5
920
- | CreateManagerResponseCertificateManagedTLSSecret5
921
- | CreateManagerResponseCertificateNone5;
922
-
923
- export const CreateManagerResponseModeGenerated3 = {
924
- Generated: "generated",
925
- } as const;
926
- export type CreateManagerResponseModeGenerated3 = ClosedEnum<
927
- typeof CreateManagerResponseModeGenerated3
928
- >;
929
-
930
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum10 =
931
- {
932
- AzureApplicationGatewayForContainers:
933
- "azureApplicationGatewayForContainers",
934
- } as const;
935
- export type CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum10 =
936
- ClosedEnum<
937
- typeof CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum10
938
- >;
939
-
940
- export type CreateManagerResponseProviderAzureApplicationGatewayForContainers10 =
941
- {
942
- /**
943
- * Optional ALB name when using BYO Application Gateway resources.
944
- */
945
- albName?: string | null | undefined;
946
- /**
947
- * Optional ALB namespace when using BYO Application Gateway resources.
948
- */
949
- albNamespace?: string | null | undefined;
950
- /**
951
- * Public or internal frontend exposure.
952
- */
953
- frontend: string;
954
- provider:
955
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum10;
956
- };
957
-
958
- export const CreateManagerResponseProviderGkeGatewayEnum10 = {
959
- GkeGateway: "gkeGateway",
960
- } as const;
961
- export type CreateManagerResponseProviderGkeGatewayEnum10 = ClosedEnum<
962
- typeof CreateManagerResponseProviderGkeGatewayEnum10
963
- >;
964
-
965
- export type CreateManagerResponseProviderGkeGateway10 = {
966
- provider: CreateManagerResponseProviderGkeGatewayEnum10;
967
- /**
968
- * Optional static address name for the Gateway frontend.
969
- */
970
- staticAddressName?: string | null | undefined;
971
- };
972
-
973
- export const CreateManagerResponseProviderAwsAlbEnum10 = {
974
- AwsAlb: "awsAlb",
975
- } as const;
976
- export type CreateManagerResponseProviderAwsAlbEnum10 = ClosedEnum<
977
- typeof CreateManagerResponseProviderAwsAlbEnum10
978
- >;
979
-
980
- export type CreateManagerResponseProviderAwsAlb10 = {
981
- /**
982
- * Optional ALB IP address type, such as `dualstack`.
983
- */
984
- ipAddressType?: string | null | undefined;
985
- provider: CreateManagerResponseProviderAwsAlbEnum10;
986
- /**
987
- * Internet-facing or internal ALB scheme.
988
- */
989
- scheme: string;
990
- /**
991
- * Explicit subnet IDs when the profile cannot rely on controller discovery.
992
- */
993
- subnetIds?: Array<string> | undefined;
994
- /**
995
- * ALB target type, usually `ip`.
996
- */
997
- targetType: string;
998
- };
999
-
1000
- export type CreateManagerResponseProviderUnion10 =
1001
- | CreateManagerResponseProviderAwsAlb10
1002
- | CreateManagerResponseProviderAzureApplicationGatewayForContainers10
1003
- | CreateManagerResponseProviderGkeGateway10
1004
- | string;
1005
-
1006
- /**
1007
- * Shared Gateway API route profile values.
1008
- */
1009
- export type CreateManagerResponseRouteGateway5 = {
1010
- /**
1011
- * Annotations applied to route objects.
1012
- */
1013
- annotations?: { [k: string]: string } | undefined;
1014
- /**
1015
- * Route controller identifier, for example a cloud Gateway controller.
1016
- */
1017
- controller?: string | null | undefined;
1018
- /**
1019
- * GatewayClass selected for generated Gateways.
1020
- */
1021
- gatewayClassName: string;
1022
- /**
1023
- * Labels applied to route objects.
1024
- */
1025
- labels?: { [k: string]: string } | undefined;
1026
- /**
1027
- * Listener port, usually 443.
1028
- */
1029
- listenerPort: number;
1030
- provider?:
1031
- | CreateManagerResponseProviderAwsAlb10
1032
- | CreateManagerResponseProviderAzureApplicationGatewayForContainers10
1033
- | CreateManagerResponseProviderGkeGateway10
1034
- | string
1035
- | null
1036
- | undefined;
1037
- routeApi: "gateway";
1038
- };
1039
-
1040
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum9 =
1041
- {
1042
- AzureApplicationGatewayForContainers:
1043
- "azureApplicationGatewayForContainers",
1044
- } as const;
1045
- export type CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum9 =
1046
- ClosedEnum<
1047
- typeof CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum9
1048
- >;
1049
-
1050
- export type CreateManagerResponseProviderAzureApplicationGatewayForContainers9 =
1051
- {
1052
- /**
1053
- * Optional ALB name when using BYO Application Gateway resources.
1054
- */
1055
- albName?: string | null | undefined;
1056
- /**
1057
- * Optional ALB namespace when using BYO Application Gateway resources.
1058
- */
1059
- albNamespace?: string | null | undefined;
1060
- /**
1061
- * Public or internal frontend exposure.
1062
- */
1063
- frontend: string;
1064
- provider:
1065
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum9;
1066
- };
1067
-
1068
- export const CreateManagerResponseProviderGkeGatewayEnum9 = {
1069
- GkeGateway: "gkeGateway",
1070
- } as const;
1071
- export type CreateManagerResponseProviderGkeGatewayEnum9 = ClosedEnum<
1072
- typeof CreateManagerResponseProviderGkeGatewayEnum9
1073
- >;
1074
-
1075
- export type CreateManagerResponseProviderGkeGateway9 = {
1076
- provider: CreateManagerResponseProviderGkeGatewayEnum9;
1077
- /**
1078
- * Optional static address name for the Gateway frontend.
1079
- */
1080
- staticAddressName?: string | null | undefined;
1081
- };
1082
-
1083
- export const CreateManagerResponseProviderAwsAlbEnum9 = {
1084
- AwsAlb: "awsAlb",
1085
- } as const;
1086
- export type CreateManagerResponseProviderAwsAlbEnum9 = ClosedEnum<
1087
- typeof CreateManagerResponseProviderAwsAlbEnum9
1088
- >;
1089
-
1090
- export type CreateManagerResponseProviderAwsAlb9 = {
1091
- /**
1092
- * Optional ALB IP address type, such as `dualstack`.
1093
- */
1094
- ipAddressType?: string | null | undefined;
1095
- provider: CreateManagerResponseProviderAwsAlbEnum9;
1096
- /**
1097
- * Internet-facing or internal ALB scheme.
1098
- */
1099
- scheme: string;
1100
- /**
1101
- * Explicit subnet IDs when the profile cannot rely on controller discovery.
1102
- */
1103
- subnetIds?: Array<string> | undefined;
1104
- /**
1105
- * ALB target type, usually `ip`.
1106
- */
1107
- targetType: string;
1108
- };
1109
-
1110
- export type CreateManagerResponseProviderUnion9 =
1111
- | CreateManagerResponseProviderAwsAlb9
1112
- | CreateManagerResponseProviderAzureApplicationGatewayForContainers9
1113
- | CreateManagerResponseProviderGkeGateway9
1114
- | string;
1115
-
1116
- /**
1117
- * Shared Ingress route profile values.
1118
- */
1119
- export type CreateManagerResponseRouteIngress5 = {
1120
- /**
1121
- * Annotations applied to route objects.
1122
- */
1123
- annotations?: { [k: string]: string } | undefined;
1124
- /**
1125
- * Route controller identifier, for example `eks.amazonaws.com/alb`.
1126
- */
1127
- controller?: string | null | undefined;
1128
- /**
1129
- * `spec.ingressClassName` for generated Ingresses.
1130
- */
1131
- ingressClassName: string;
1132
- /**
1133
- * Labels applied to route objects.
1134
- */
1135
- labels?: { [k: string]: string } | undefined;
1136
- provider?:
1137
- | CreateManagerResponseProviderAwsAlb9
1138
- | CreateManagerResponseProviderAzureApplicationGatewayForContainers9
1139
- | CreateManagerResponseProviderGkeGateway9
1140
- | string
1141
- | null
1142
- | undefined;
1143
- routeApi: "ingress";
1144
- };
1145
-
1146
- /**
1147
- * Kubernetes route API selected for public endpoints.
1148
- */
1149
- export type CreateManagerResponseRouteUnion5 =
1150
- | CreateManagerResponseRouteIngress5
1151
- | CreateManagerResponseRouteGateway5;
1152
-
1153
- export type CreateManagerResponseExposureGenerated3 = {
1154
- /**
1155
- * Certificate publication or reference mode for Kubernetes public endpoints.
1156
- */
1157
- certificate:
1158
- | CreateManagerResponseCertificateTLSSecretRef5
1159
- | CreateManagerResponseCertificateManagedAcmImport5
1160
- | CreateManagerResponseCertificateAwsAcmArn5
1161
- | CreateManagerResponseCertificateManagedTLSSecret5
1162
- | CreateManagerResponseCertificateNone5;
1163
- mode: CreateManagerResponseModeGenerated3;
1164
- /**
1165
- * Kubernetes route API selected for public endpoints.
1166
- */
1167
- route:
1168
- | CreateManagerResponseRouteIngress5
1169
- | CreateManagerResponseRouteGateway5;
1170
- };
1171
-
1172
- export const CreateManagerResponseModeDisabled3 = {
1173
- Disabled: "disabled",
1174
- } as const;
1175
- export type CreateManagerResponseModeDisabled3 = ClosedEnum<
1176
- typeof CreateManagerResponseModeDisabled3
1177
- >;
1178
-
1179
- export type CreateManagerResponseExposureDisabled3 = {
1180
- mode: CreateManagerResponseModeDisabled3;
1181
- };
1182
-
1183
- export type CreateManagerResponseExposureUnion3 =
1184
- | CreateManagerResponseExposureCustom3
1185
- | CreateManagerResponseExposureGenerated3
1186
- | CreateManagerResponseExposureDisabled3
1187
- | string;
1188
-
1189
- /**
1190
- * Kubernetes runtime substrate configuration.
1191
- *
1192
- * @remarks
1193
- *
1194
- * This controls how setup chooses the cluster backing `Platform::Kubernetes`
1195
- * deployments. When omitted, cloud-backed Kubernetes deployments default to a
1196
- * managed cluster and generic/on-prem Kubernetes defaults to an external
1197
- * cluster.
1198
- */
1199
- export type CreateManagerResponseKubernetes3 = {
1200
- cluster?: CreateManagerResponseCluster3 | string | null | undefined;
1201
- exposure?:
1202
- | CreateManagerResponseExposureCustom3
1203
- | CreateManagerResponseExposureGenerated3
1204
- | CreateManagerResponseExposureDisabled3
1205
- | string
1206
- | null
1207
- | undefined;
1208
- };
1209
-
1210
- export type CreateManagerResponseKubernetesUnion3 =
1211
- | CreateManagerResponseKubernetes3
1212
- | string;
1213
-
1214
- export const CreateManagerResponseTypeByoVnetAzure3 = {
1215
- ByoVnetAzure: "byo-vnet-azure",
1216
- } as const;
1217
- export type CreateManagerResponseTypeByoVnetAzure3 = ClosedEnum<
1218
- typeof CreateManagerResponseTypeByoVnetAzure3
1219
- >;
1220
-
1221
- export type CreateManagerResponseNetworkByoVnetAzure3 = {
1222
- /**
1223
- * Name of the dedicated classic Application Gateway subnet within the VNet.
1224
- */
1225
- applicationGatewaySubnetName?: string | null | undefined;
1226
- /**
1227
- * Name of the dedicated subnet that hosts Private Endpoints (e.g. for a
1228
- *
1229
- * @remarks
1230
- * Postgres Flexible Server). A Private Endpoint must not share the private
1231
- * subnet, which is already claimed by the Container Apps environment's
1232
- * `infrastructure_subnet_id`. Required only when the stack contains a
1233
- * Postgres resource; otherwise unused.
1234
- */
1235
- privateEndpointSubnetName?: string | null | undefined;
1236
- /**
1237
- * Name of the private subnet within the VNet
1238
- */
1239
- privateSubnetName: string;
1240
- /**
1241
- * Name of the public subnet within the VNet
1242
- */
1243
- publicSubnetName: string;
1244
- type: CreateManagerResponseTypeByoVnetAzure3;
1245
- /**
1246
- * The full resource ID of the existing VNet
1247
- */
1248
- vnetResourceId: string;
1249
- };
1250
-
1251
- export const CreateManagerResponseTypeByoVpcGcp3 = {
1252
- ByoVpcGcp: "byo-vpc-gcp",
1253
- } as const;
1254
- export type CreateManagerResponseTypeByoVpcGcp3 = ClosedEnum<
1255
- typeof CreateManagerResponseTypeByoVpcGcp3
1256
- >;
1257
-
1258
- export type CreateManagerResponseNetworkByoVpcGcp3 = {
1259
- /**
1260
- * The name of the existing VPC network
1261
- */
1262
- networkName: string;
1263
- /**
1264
- * The region of the subnet
1265
- */
1266
- region: string;
1267
- /**
1268
- * The name of the subnet to use
1269
- */
1270
- subnetName: string;
1271
- type: CreateManagerResponseTypeByoVpcGcp3;
1272
- };
1273
-
1274
- export const CreateManagerResponseTypeByoVpcAws3 = {
1275
- ByoVpcAws: "byo-vpc-aws",
1276
- } as const;
1277
- export type CreateManagerResponseTypeByoVpcAws3 = ClosedEnum<
1278
- typeof CreateManagerResponseTypeByoVpcAws3
1279
- >;
1280
-
1281
- export type CreateManagerResponseNetworkByoVpcAws3 = {
1282
- /**
1283
- * IDs of private subnets
1284
- */
1285
- privateSubnetIds: Array<string>;
1286
- /**
1287
- * IDs of public subnets (required for public ingress)
1288
- */
1289
- publicSubnetIds: Array<string>;
1290
- /**
1291
- * Optional security group IDs to use
1292
- */
1293
- securityGroupIds?: Array<string> | undefined;
1294
- type: CreateManagerResponseTypeByoVpcAws3;
1295
- /**
1296
- * The ID of the existing VPC
1297
- */
1298
- vpcId: string;
1299
- };
1300
-
1301
- export const CreateManagerResponseTypeCreate3 = {
1302
- Create: "create",
1303
- } as const;
1304
- export type CreateManagerResponseTypeCreate3 = ClosedEnum<
1305
- typeof CreateManagerResponseTypeCreate3
1306
- >;
1307
-
1308
- export type CreateManagerResponseNetworkCreate3 = {
1309
- /**
1310
- * Number of availability zones (default: 2).
1311
- */
1312
- availabilityZones?: number | undefined;
1313
- /**
1314
- * VPC/VNet CIDR block. If not specified, auto-generated from stack ID
1315
- *
1316
- * @remarks
1317
- * to reduce conflicts (e.g., "10.{hash}.0.0/16").
1318
- */
1319
- cidr?: string | null | undefined;
1320
- type: CreateManagerResponseTypeCreate3;
1321
- };
1322
-
1323
- export const CreateManagerResponseTypeUseDefault3 = {
1324
- UseDefault: "use-default",
1325
- } as const;
1326
- export type CreateManagerResponseTypeUseDefault3 = ClosedEnum<
1327
- typeof CreateManagerResponseTypeUseDefault3
1328
- >;
1329
-
1330
- export type CreateManagerResponseNetworkUseDefault3 = {
1331
- type: CreateManagerResponseTypeUseDefault3;
1332
- };
1333
-
1334
- export type CreateManagerResponseNetworkUnion3 =
1335
- | CreateManagerResponseNetworkByoVpcAws3
1336
- | CreateManagerResponseNetworkByoVpcGcp3
1337
- | CreateManagerResponseNetworkByoVnetAzure3
1338
- | CreateManagerResponseNetworkUseDefault3
1339
- | CreateManagerResponseNetworkCreate3
1340
- | string;
1341
-
1342
- /**
1343
- * How telemetry (logs, metrics, traces) is handled.
1344
- */
1345
- export const CreateManagerResponseTelemetry3 = {
1346
- Off: "off",
1347
- Auto: "auto",
1348
- ApprovalRequired: "approval-required",
1349
- } as const;
1350
- /**
1351
- * How telemetry (logs, metrics, traces) is handled.
1352
- */
1353
- export type CreateManagerResponseTelemetry3 = ClosedEnum<
1354
- typeof CreateManagerResponseTelemetry3
1355
- >;
1356
-
1357
- /**
1358
- * How updates are delivered to the deployment.
1359
- */
1360
- export const CreateManagerResponseUpdates3 = {
1361
- Auto: "auto",
1362
- ApprovalRequired: "approval-required",
1363
- } as const;
1364
- /**
1365
- * How updates are delivered to the deployment.
1366
- */
1367
- export type CreateManagerResponseUpdates3 = ClosedEnum<
1368
- typeof CreateManagerResponseUpdates3
1369
- >;
1370
-
1371
- /**
1372
- * User-customizable deployment settings specified at deploy time.
1373
- *
1374
- * @remarks
1375
- *
1376
- * These settings are provided by the customer via CloudFormation parameters,
1377
- * Terraform attributes, CLI flags, or Helm values. They customize how the
1378
- * deployment runs and what capabilities are enabled.
1379
- *
1380
- * **Key distinction**: StackSettings is user-customizable, while ManagementConfig
1381
- * is platform-derived (from the Manager's ServiceAccount).
1382
- */
1383
- export type CreateManagerResponseStackSettings3 = {
1384
- compute?: CreateManagerResponseCompute3 | string | null | undefined;
1385
- /**
1386
- * Deployment model: how updates are delivered to the remote environment.
1387
- */
1388
- deploymentModel?: CreateManagerResponseDeploymentModel3 | undefined;
1389
- domains?: CreateManagerResponseDomains3 | string | null | undefined;
1390
- /**
1391
- * Reachability of the deployment's public endpoints, fixed at setup.
1392
- */
1393
- endpointAccess?: CreateManagerResponseEndpointAccess3 | undefined;
1394
- externalBindings?: { [k: string]: ExternalBindingUnion } | null | undefined;
1395
- /**
1396
- * How heartbeat health checks are handled.
1397
- */
1398
- heartbeats?: CreateManagerResponseHeartbeats3 | undefined;
1399
- kubernetes?: CreateManagerResponseKubernetes3 | string | null | undefined;
1400
- network?:
1401
- | CreateManagerResponseNetworkByoVpcAws3
1402
- | CreateManagerResponseNetworkByoVpcGcp3
1403
- | CreateManagerResponseNetworkByoVnetAzure3
1404
- | CreateManagerResponseNetworkUseDefault3
1405
- | CreateManagerResponseNetworkCreate3
1406
- | string
1407
- | null
1408
- | undefined;
1409
- /**
1410
- * Exact externally managed endpoint URLs, keyed by resource ID and endpoint name.
1411
- *
1412
- * @remarks
1413
- *
1414
- * This is intended for adopted Machines deployments whose DNS and certificates remain
1415
- * customer-owned. The platform passes these URLs to the runtime without creating or
1416
- * replacing DNS records or certificates.
1417
- */
1418
- publicEndpoints?: { [k: string]: { [k: string]: string } } | null | undefined;
1419
- /**
1420
- * How telemetry (logs, metrics, traces) is handled.
1421
- */
1422
- telemetry?: CreateManagerResponseTelemetry3 | undefined;
1423
- /**
1424
- * How updates are delivered to the deployment.
1425
- */
1426
- updates?: CreateManagerResponseUpdates3 | undefined;
1427
- };
1428
-
1429
- export type CreateManagerResponseSetupTerraform = {
1430
- method: "terraform";
1431
- deploymentPortalUrl: string;
1432
- managerUrl: string;
1433
- providerSource: string;
1434
- moduleSource: string;
1435
- moduleVersion?: string | undefined;
1436
- moduleInputs: { [k: string]: string };
1437
- mainTf: string;
1438
- tfvars: string;
1439
- commands: string;
1440
- /**
1441
- * User-customizable deployment settings specified at deploy time.
1442
- *
1443
- * @remarks
1444
- *
1445
- * These settings are provided by the customer via CloudFormation parameters,
1446
- * Terraform attributes, CLI flags, or Helm values. They customize how the
1447
- * deployment runs and what capabilities are enabled.
1448
- *
1449
- * **Key distinction**: StackSettings is user-customizable, while ManagementConfig
1450
- * is platform-derived (from the Manager's ServiceAccount).
1451
- */
1452
- stackSettings: CreateManagerResponseStackSettings3;
1453
- };
1454
-
1455
- /**
1456
- * Deployment-time resource allocation for a container. Omitted fields use release defaults.
1457
- */
1458
- export type CreateManagerResponseContainers2 = {
1459
- /**
1460
- * CPU allocation in vCPUs.
1461
- */
1462
- cpu?: number | null | undefined;
1463
- /**
1464
- * Memory allocation, using binary units such as Mi or Gi.
1465
- */
1466
- memory?: string | null | undefined;
1467
- };
1468
-
1469
- /**
1470
- * Failure-domain policy selected for a compute pool.
1471
- */
1472
- export type CreateManagerResponseFailureDomains4 = {
1473
- /**
1474
- * Concrete provider domains selected during setup.
1475
- *
1476
- * @remarks
1477
- * Empty delegates deterministic selection to the provider setup implementation.
1478
- */
1479
- selectedFailureDomains?: Array<string> | undefined;
1480
- /**
1481
- * Number of distinct failure domains across which new stateful replicas may be spread.
1482
- */
1483
- spread: number;
1484
- };
1485
-
1486
- export type CreateManagerResponseFailureDomainsUnion4 =
1487
- | CreateManagerResponseFailureDomains4
1488
- | string;
1489
-
1490
- export type CreateManagerResponsePoolsAutoscale2 = {
1491
- failureDomains?:
1492
- | CreateManagerResponseFailureDomains4
1493
- | string
1494
- | null
1495
- | undefined;
1496
- /**
1497
- * Provider machine type selected for this deployment.
1498
- */
1499
- machine?: string | null | undefined;
1500
- /**
1501
- * Maximum machine count.
1502
- */
1503
- max: number;
1504
- /**
1505
- * Minimum machine count.
1506
- */
1507
- min: number;
1508
- mode: "autoscale";
1509
- };
1510
-
1511
- /**
1512
- * Failure-domain policy selected for a compute pool.
1513
- */
1514
- export type CreateManagerResponseFailureDomains3 = {
1515
- /**
1516
- * Concrete provider domains selected during setup.
1517
- *
1518
- * @remarks
1519
- * Empty delegates deterministic selection to the provider setup implementation.
1520
- */
1521
- selectedFailureDomains?: Array<string> | undefined;
1522
- /**
1523
- * Number of distinct failure domains across which new stateful replicas may be spread.
1524
- */
1525
- spread: number;
1526
- };
1527
-
1528
- export type CreateManagerResponseFailureDomainsUnion3 =
1529
- | CreateManagerResponseFailureDomains3
1530
- | string;
1531
-
1532
- export type CreateManagerResponsePoolsFixed2 = {
1533
- failureDomains?:
1534
- | CreateManagerResponseFailureDomains3
1535
- | string
1536
- | null
1537
- | undefined;
1538
- /**
1539
- * Provider machine type selected for this deployment.
1540
- */
1541
- machine?: string | null | undefined;
1542
- /**
1543
- * Number of machines to run.
1544
- */
1545
- machines: number;
1546
- mode: "fixed";
1547
- };
1548
-
1549
- /**
1550
- * User-selected deployment settings for one compute pool.
1551
- */
1552
- export type CreateManagerResponsePoolsUnion2 =
1553
- | CreateManagerResponsePoolsFixed2
1554
- | CreateManagerResponsePoolsAutoscale2;
1555
-
1556
- /**
1557
- * Deployment-time compute choices for Alien-managed compute pools.
1558
- *
1559
- * @remarks
1560
- *
1561
- * Application source declares portable pool requirements. This settings
1562
- * object stores the concrete choices made for one deployment, such as the
1563
- * provider machine type and selected machine counts.
1564
- */
1565
- export type CreateManagerResponseCompute2 = {
1566
- /**
1567
- * Per-replica resources selected within each container's declared ranges.
1568
- */
1569
- containers?: { [k: string]: CreateManagerResponseContainers2 } | undefined;
1570
- /**
1571
- * Selected compute choices keyed by pool ID.
1572
- */
1573
- pools?: {
1574
- [k: string]:
1575
- | CreateManagerResponsePoolsFixed2
1576
- | CreateManagerResponsePoolsAutoscale2;
1577
- } | undefined;
1578
- };
1579
-
1580
- export type CreateManagerResponseComputeUnion2 =
1581
- | CreateManagerResponseCompute2
1582
- | string;
1583
-
1584
- /**
1585
- * Deployment model: how updates are delivered to the remote environment.
1586
- */
1587
- export const CreateManagerResponseDeploymentModel2 = {
1588
- Push: "push",
1589
- Pull: "pull",
1590
- } as const;
1591
- /**
1592
- * Deployment model: how updates are delivered to the remote environment.
1593
- */
1594
- export type CreateManagerResponseDeploymentModel2 = ClosedEnum<
1595
- typeof CreateManagerResponseDeploymentModel2
1596
- >;
1597
-
1598
- export type CreateManagerResponseAws2 = {
1599
- certificateArn: string;
1600
- };
1601
-
1602
- export type CreateManagerResponseAwsUnion2 = CreateManagerResponseAws2 | string;
1603
-
1604
- export type CreateManagerResponseAzure2 = {
1605
- keyVaultCertificateId: string;
1606
- keyVaultResourceId?: string | null | undefined;
1607
- };
1608
-
1609
- export type CreateManagerResponseAzureUnion2 =
1610
- | CreateManagerResponseAzure2
1611
- | string;
1612
-
1613
- export type CreateManagerResponseGcp2 = {
1614
- certificateName: string;
1615
- };
1616
-
1617
- export type CreateManagerResponseGcpUnion2 = CreateManagerResponseGcp2 | string;
1618
-
1619
- /**
1620
- * Namespace-scoped Kubernetes TLS Secret reference.
1621
- */
1622
- export type CreateManagerResponseTlsSecretRef2 = {
1623
- /**
1624
- * Secret namespace. Defaults to the release namespace when omitted.
1625
- */
1626
- namespace?: string | null | undefined;
1627
- /**
1628
- * Secret name.
1629
- */
1630
- secretName: string;
1631
- };
1632
-
1633
- export type CreateManagerResponseDomainsKubernetes2 = {
1634
- /**
1635
- * Namespace-scoped Kubernetes TLS Secret reference.
1636
- */
1637
- tlsSecretRef: CreateManagerResponseTlsSecretRef2;
1638
- };
1639
-
1640
- export type CreateManagerResponseDomainsKubernetesUnion2 =
1641
- | CreateManagerResponseDomainsKubernetes2
1642
- | string;
1643
-
1644
- /**
1645
- * Platform-specific certificate references for custom domains.
1646
- */
1647
- export type CreateManagerResponseDomainsCertificate2 = {
1648
- aws?: CreateManagerResponseAws2 | string | null | undefined;
1649
- azure?: CreateManagerResponseAzure2 | string | null | undefined;
1650
- gcp?: CreateManagerResponseGcp2 | string | null | undefined;
1651
- kubernetes?:
1652
- | CreateManagerResponseDomainsKubernetes2
1653
- | string
1654
- | null
1655
- | undefined;
1656
- };
1657
-
1658
- /**
1659
- * Custom domain configuration for a single resource.
1660
- */
1661
- export type CreateManagerResponseCustomDomains2 = {
1662
- /**
1663
- * Platform-specific certificate references for custom domains.
1664
- */
1665
- certificate: CreateManagerResponseDomainsCertificate2;
1666
- /**
1667
- * Fully qualified domain name to use.
1668
- */
1669
- domain: string;
1670
- };
1671
-
1672
- export const CreateManagerResponseModeLoadBalancer2 = {
1673
- LoadBalancer: "loadBalancer",
1674
- } as const;
1675
- export type CreateManagerResponseModeLoadBalancer2 = ClosedEnum<
1676
- typeof CreateManagerResponseModeLoadBalancer2
1677
- >;
1678
-
1679
- export type CreateManagerResponsePublicEndpointTargetLoadBalancer2 = {
1680
- /**
1681
- * DNS name or URL for the external load balancer.
1682
- */
1683
- cnameTarget: string;
1684
- mode: CreateManagerResponseModeLoadBalancer2;
1685
- };
1686
-
1687
- export const CreateManagerResponseModeMachineAddresses2 = {
1688
- MachineAddresses: "machineAddresses",
1689
- } as const;
1690
- export type CreateManagerResponseModeMachineAddresses2 = ClosedEnum<
1691
- typeof CreateManagerResponseModeMachineAddresses2
1692
- >;
1693
-
1694
- export type CreateManagerResponsePublicEndpointTargetMachineAddresses2 = {
1695
- mode: CreateManagerResponseModeMachineAddresses2;
1696
- };
1697
-
1698
- export type CreateManagerResponsePublicEndpointTargetUnion2 =
1699
- | CreateManagerResponsePublicEndpointTargetLoadBalancer2
1700
- | CreateManagerResponsePublicEndpointTargetMachineAddresses2
1701
- | string;
1702
-
1703
- /** @internal */
1704
- export const CreateManagerResponseSetupStatus$inboundSchema: z.ZodEnum<
1705
- typeof CreateManagerResponseSetupStatus
1706
- > = z.enum(CreateManagerResponseSetupStatus);
1707
-
1708
- /** @internal */
1709
- export const CreateManagerResponsePlatform$inboundSchema: z.ZodEnum<
1710
- typeof CreateManagerResponsePlatform
1711
- > = z.enum(CreateManagerResponsePlatform);
1712
-
1713
- /** @internal */
1714
- export const CreateManagerResponseValidatedReleaseSelection$inboundSchema:
1715
- z.ZodType<CreateManagerResponseValidatedReleaseSelection, unknown> = z.object(
1716
- {
1717
- releaseId: z.string(),
1718
- releaseChannel: z.string(),
1719
- platform: CreateManagerResponsePlatform$inboundSchema,
1720
- },
1721
- );
1722
-
1723
- export function createManagerResponseValidatedReleaseSelectionFromJSON(
1724
- jsonString: string,
1725
- ): SafeParseResult<
1726
- CreateManagerResponseValidatedReleaseSelection,
1727
- SDKValidationError
1728
- > {
1729
- return safeParse(
1730
- jsonString,
1731
- (x) =>
1732
- CreateManagerResponseValidatedReleaseSelection$inboundSchema.parse(
1733
- JSON.parse(x),
1734
- ),
1735
- `Failed to parse 'CreateManagerResponseValidatedReleaseSelection' from JSON`,
1736
- );
1737
- }
1738
-
1739
- /** @internal */
1740
- export const CreateManagerResponseItemEnum$inboundSchema: z.ZodEnum<
1741
- typeof CreateManagerResponseItemEnum
1742
- > = z.enum(CreateManagerResponseItemEnum);
1743
-
1744
- /** @internal */
1745
- export const CreateManagerResponseDefinitionId$inboundSchema: z.ZodEnum<
1746
- typeof CreateManagerResponseDefinitionId
1747
- > = z.enum(CreateManagerResponseDefinitionId);
1748
-
1749
- /** @internal */
1750
- export const CreateManagerResponseSourceBuiltIn$inboundSchema: z.ZodType<
1751
- CreateManagerResponseSourceBuiltIn,
1752
- unknown
1753
- > = z.object({
1754
- type: z.literal("built-in"),
1755
- definitionId: CreateManagerResponseDefinitionId$inboundSchema,
1756
- version: z.string(),
1757
- sourceReleaseId: z.string(),
1758
- });
1759
-
1760
- export function createManagerResponseSourceBuiltInFromJSON(
1761
- jsonString: string,
1762
- ): SafeParseResult<CreateManagerResponseSourceBuiltIn, SDKValidationError> {
1763
- return safeParse(
1764
- jsonString,
1765
- (x) =>
1766
- CreateManagerResponseSourceBuiltIn$inboundSchema.parse(JSON.parse(x)),
1767
- `Failed to parse 'CreateManagerResponseSourceBuiltIn' from JSON`,
1768
- );
1769
- }
1770
-
1771
- /** @internal */
1772
- export const CreateManagerResponseSourceProjectRelease$inboundSchema: z.ZodType<
1773
- CreateManagerResponseSourceProjectRelease,
1774
- unknown
1775
- > = z.object({
1776
- type: z.literal("project-release"),
1777
- releaseChannel: z.string(),
1778
- releaseId: z.string(),
1779
- resourceId: z.string().optional(),
1780
- });
1781
-
1782
- export function createManagerResponseSourceProjectReleaseFromJSON(
1783
- jsonString: string,
1784
- ): SafeParseResult<
1785
- CreateManagerResponseSourceProjectRelease,
1786
- SDKValidationError
1787
- > {
1788
- return safeParse(
1789
- jsonString,
1790
- (x) =>
1791
- CreateManagerResponseSourceProjectRelease$inboundSchema.parse(
1792
- JSON.parse(x),
1793
- ),
1794
- `Failed to parse 'CreateManagerResponseSourceProjectRelease' from JSON`,
1795
- );
1796
- }
1797
-
1798
- /** @internal */
1799
- export const CreateManagerResponseSourceUnion$inboundSchema: z.ZodType<
1800
- CreateManagerResponseSourceUnion,
1801
- unknown
1802
- > = z.union([
1803
- z.lazy(() => CreateManagerResponseSourceProjectRelease$inboundSchema),
1804
- z.lazy(() => CreateManagerResponseSourceBuiltIn$inboundSchema),
1805
- ]);
1806
-
1807
- export function createManagerResponseSourceUnionFromJSON(
1808
- jsonString: string,
1809
- ): SafeParseResult<CreateManagerResponseSourceUnion, SDKValidationError> {
1810
- return safeParse(
1811
- jsonString,
1812
- (x) => CreateManagerResponseSourceUnion$inboundSchema.parse(JSON.parse(x)),
1813
- `Failed to parse 'CreateManagerResponseSourceUnion' from JSON`,
1814
- );
1815
- }
1816
-
1817
- /** @internal */
1818
- export const CreateManagerResponseAllowedProvider$inboundSchema: z.ZodEnum<
1819
- typeof CreateManagerResponseAllowedProvider
1820
- > = z.enum(CreateManagerResponseAllowedProvider);
1821
-
1822
- /** @internal */
1823
- export const CreateManagerResponseProviderAllowlist$inboundSchema: z.ZodEnum<
1824
- typeof CreateManagerResponseProviderAllowlist
1825
- > = z.enum(CreateManagerResponseProviderAllowlist);
1826
-
1827
- /** @internal */
1828
- export const CreateManagerResponseClientApi$inboundSchema: z.ZodEnum<
1829
- typeof CreateManagerResponseClientApi
1830
- > = z.enum(CreateManagerResponseClientApi);
1831
-
1832
- /** @internal */
1833
- export const CreateManagerResponseModelRequirement$inboundSchema: z.ZodType<
1834
- CreateManagerResponseModelRequirement,
1835
- unknown
1836
- > = z.object({
1837
- publicModelId: z.string(),
1838
- clientApis: z.array(CreateManagerResponseClientApi$inboundSchema),
1839
- required: z.boolean(),
1840
- });
1841
-
1842
- export function createManagerResponseModelRequirementFromJSON(
1843
- jsonString: string,
1844
- ): SafeParseResult<CreateManagerResponseModelRequirement, SDKValidationError> {
1845
- return safeParse(
1846
- jsonString,
1847
- (x) =>
1848
- CreateManagerResponseModelRequirement$inboundSchema.parse(JSON.parse(x)),
1849
- `Failed to parse 'CreateManagerResponseModelRequirement' from JSON`,
1850
- );
1851
- }
1852
-
1853
- /** @internal */
1854
- export const CreateManagerResponseConfiguration$inboundSchema: z.ZodType<
1855
- CreateManagerResponseConfiguration,
1856
- unknown
1857
- > = z.object({
1858
- allowedProviders: z.array(CreateManagerResponseAllowedProvider$inboundSchema)
1859
- .optional(),
1860
- providerAllowlist: z.array(
1861
- CreateManagerResponseProviderAllowlist$inboundSchema,
1862
- ).optional(),
1863
- modelRequirements: z.array(
1864
- z.lazy(() => CreateManagerResponseModelRequirement$inboundSchema),
1865
- ).optional(),
1866
- });
1867
-
1868
- export function createManagerResponseConfigurationFromJSON(
1869
- jsonString: string,
1870
- ): SafeParseResult<CreateManagerResponseConfiguration, SDKValidationError> {
1871
- return safeParse(
1872
- jsonString,
1873
- (x) =>
1874
- CreateManagerResponseConfiguration$inboundSchema.parse(JSON.parse(x)),
1875
- `Failed to parse 'CreateManagerResponseConfiguration' from JSON`,
1876
- );
1877
- }
1878
-
1879
- /** @internal */
1880
- export const CreateManagerResponseItem$inboundSchema: z.ZodType<
1881
- CreateManagerResponseItem,
1882
- unknown
1883
- > = z.object({
1884
- item: CreateManagerResponseItemEnum$inboundSchema,
1885
- source: z.union([
1886
- z.lazy(() => CreateManagerResponseSourceProjectRelease$inboundSchema),
1887
- z.lazy(() => CreateManagerResponseSourceBuiltIn$inboundSchema),
1888
- ]),
1889
- required: z.boolean(),
1890
- configuration: z.lazy(() => CreateManagerResponseConfiguration$inboundSchema)
1891
- .optional(),
1892
- });
1893
-
1894
- export function createManagerResponseItemFromJSON(
1895
- jsonString: string,
1896
- ): SafeParseResult<CreateManagerResponseItem, SDKValidationError> {
1897
- return safeParse(
1898
- jsonString,
1899
- (x) => CreateManagerResponseItem$inboundSchema.parse(JSON.parse(x)),
1900
- `Failed to parse 'CreateManagerResponseItem' from JSON`,
1901
- );
1902
- }
1903
-
1904
- /** @internal */
1905
- export const CreateManagerResponseEnvironmentVariableType$inboundSchema:
1906
- z.ZodEnum<typeof CreateManagerResponseEnvironmentVariableType> = z.enum(
1907
- CreateManagerResponseEnvironmentVariableType,
1908
- );
1909
-
1910
- /** @internal */
1911
- export const CreateManagerResponseEnvironmentVariable$inboundSchema: z.ZodType<
1912
- CreateManagerResponseEnvironmentVariable,
1913
- unknown
1914
- > = z.object({
1915
- name: z.string(),
1916
- type: CreateManagerResponseEnvironmentVariableType$inboundSchema,
1917
- targetResources: z.nullable(z.array(z.string())),
1918
- });
1919
-
1920
- export function createManagerResponseEnvironmentVariableFromJSON(
1921
- jsonString: string,
1922
- ): SafeParseResult<
1923
- CreateManagerResponseEnvironmentVariable,
1924
- SDKValidationError
1925
- > {
1926
- return safeParse(
1927
- jsonString,
1928
- (x) =>
1929
- CreateManagerResponseEnvironmentVariable$inboundSchema.parse(
1930
- JSON.parse(x),
1931
- ),
1932
- `Failed to parse 'CreateManagerResponseEnvironmentVariable' from JSON`,
1933
- );
1934
- }
1935
-
1936
- /** @internal */
1937
- export const CreateManagerResponseSetupConfig$inboundSchema: z.ZodType<
1938
- CreateManagerResponseSetupConfig,
1939
- unknown
1940
- > = z.object({
1941
- metadata: z.record(z.string(), z.nullable(z.any())),
1942
- policy: DeploymentSetupPolicy$inboundSchema,
1943
- inputValues: z.record(z.string(), EncryptedStackInputValue$inboundSchema)
1944
- .optional(),
1945
- validatedReleaseSelection: z.lazy(() =>
1946
- CreateManagerResponseValidatedReleaseSelection$inboundSchema
1947
- ).optional(),
1948
- items: z.array(z.lazy(() => CreateManagerResponseItem$inboundSchema))
1949
- .optional(),
1950
- publicSubdomain: z.string().optional(),
1951
- environmentVariables: z.array(
1952
- z.lazy(() => CreateManagerResponseEnvironmentVariable$inboundSchema),
1953
- ),
1954
- });
1955
-
1956
- export function createManagerResponseSetupConfigFromJSON(
1957
- jsonString: string,
1958
- ): SafeParseResult<CreateManagerResponseSetupConfig, SDKValidationError> {
1959
- return safeParse(
1960
- jsonString,
1961
- (x) => CreateManagerResponseSetupConfig$inboundSchema.parse(JSON.parse(x)),
1962
- `Failed to parse 'CreateManagerResponseSetupConfig' from JSON`,
1963
- );
1964
- }
1965
-
1966
- /** @internal */
1967
- export const CreateManagerResponseContainers3$inboundSchema: z.ZodType<
1968
- CreateManagerResponseContainers3,
1969
- unknown
1970
- > = z.object({
1971
- cpu: z.nullable(z.number()).optional(),
1972
- memory: z.nullable(z.string()).optional(),
1973
- });
1974
-
1975
- export function createManagerResponseContainers3FromJSON(
1976
- jsonString: string,
1977
- ): SafeParseResult<CreateManagerResponseContainers3, SDKValidationError> {
1978
- return safeParse(
1979
- jsonString,
1980
- (x) => CreateManagerResponseContainers3$inboundSchema.parse(JSON.parse(x)),
1981
- `Failed to parse 'CreateManagerResponseContainers3' from JSON`,
1982
- );
1983
- }
1984
-
1985
- /** @internal */
1986
- export const CreateManagerResponseFailureDomains6$inboundSchema: z.ZodType<
1987
- CreateManagerResponseFailureDomains6,
1988
- unknown
1989
- > = z.object({
1990
- selectedFailureDomains: z.array(z.string()).optional(),
1991
- spread: z.int(),
1992
- });
1993
-
1994
- export function createManagerResponseFailureDomains6FromJSON(
1995
- jsonString: string,
1996
- ): SafeParseResult<CreateManagerResponseFailureDomains6, SDKValidationError> {
1997
- return safeParse(
1998
- jsonString,
1999
- (x) =>
2000
- CreateManagerResponseFailureDomains6$inboundSchema.parse(JSON.parse(x)),
2001
- `Failed to parse 'CreateManagerResponseFailureDomains6' from JSON`,
2002
- );
2003
- }
2004
-
2005
- /** @internal */
2006
- export const CreateManagerResponseFailureDomainsUnion6$inboundSchema: z.ZodType<
2007
- CreateManagerResponseFailureDomainsUnion6,
2008
- unknown
2009
- > = z.union([
2010
- z.lazy(() => CreateManagerResponseFailureDomains6$inboundSchema),
2011
- z.string(),
2012
- ]);
2013
-
2014
- export function createManagerResponseFailureDomainsUnion6FromJSON(
2015
- jsonString: string,
2016
- ): SafeParseResult<
2017
- CreateManagerResponseFailureDomainsUnion6,
2018
- SDKValidationError
2019
- > {
2020
- return safeParse(
2021
- jsonString,
2022
- (x) =>
2023
- CreateManagerResponseFailureDomainsUnion6$inboundSchema.parse(
2024
- JSON.parse(x),
2025
- ),
2026
- `Failed to parse 'CreateManagerResponseFailureDomainsUnion6' from JSON`,
2027
- );
2028
- }
2029
-
2030
- /** @internal */
2031
- export const CreateManagerResponsePoolsAutoscale3$inboundSchema: z.ZodType<
2032
- CreateManagerResponsePoolsAutoscale3,
2033
- unknown
2034
- > = z.object({
2035
- failure_domains: z.nullable(
2036
- z.union([
2037
- z.lazy(() => CreateManagerResponseFailureDomains6$inboundSchema),
2038
- z.string(),
2039
- ]),
2040
- ).optional(),
2041
- machine: z.nullable(z.string()).optional(),
2042
- max: z.int(),
2043
- min: z.int(),
2044
- mode: z.literal("autoscale"),
2045
- }).transform((v) => {
2046
- return remap$(v, {
2047
- "failure_domains": "failureDomains",
2048
- });
2049
- });
2050
-
2051
- export function createManagerResponsePoolsAutoscale3FromJSON(
2052
- jsonString: string,
2053
- ): SafeParseResult<CreateManagerResponsePoolsAutoscale3, SDKValidationError> {
2054
- return safeParse(
2055
- jsonString,
2056
- (x) =>
2057
- CreateManagerResponsePoolsAutoscale3$inboundSchema.parse(JSON.parse(x)),
2058
- `Failed to parse 'CreateManagerResponsePoolsAutoscale3' from JSON`,
2059
- );
2060
- }
2061
-
2062
- /** @internal */
2063
- export const CreateManagerResponseFailureDomains5$inboundSchema: z.ZodType<
2064
- CreateManagerResponseFailureDomains5,
2065
- unknown
2066
- > = z.object({
2067
- selectedFailureDomains: z.array(z.string()).optional(),
2068
- spread: z.int(),
2069
- });
2070
-
2071
- export function createManagerResponseFailureDomains5FromJSON(
2072
- jsonString: string,
2073
- ): SafeParseResult<CreateManagerResponseFailureDomains5, SDKValidationError> {
2074
- return safeParse(
2075
- jsonString,
2076
- (x) =>
2077
- CreateManagerResponseFailureDomains5$inboundSchema.parse(JSON.parse(x)),
2078
- `Failed to parse 'CreateManagerResponseFailureDomains5' from JSON`,
2079
- );
2080
- }
2081
-
2082
- /** @internal */
2083
- export const CreateManagerResponseFailureDomainsUnion5$inboundSchema: z.ZodType<
2084
- CreateManagerResponseFailureDomainsUnion5,
2085
- unknown
2086
- > = z.union([
2087
- z.lazy(() => CreateManagerResponseFailureDomains5$inboundSchema),
2088
- z.string(),
2089
- ]);
2090
-
2091
- export function createManagerResponseFailureDomainsUnion5FromJSON(
2092
- jsonString: string,
2093
- ): SafeParseResult<
2094
- CreateManagerResponseFailureDomainsUnion5,
2095
- SDKValidationError
2096
- > {
2097
- return safeParse(
2098
- jsonString,
2099
- (x) =>
2100
- CreateManagerResponseFailureDomainsUnion5$inboundSchema.parse(
2101
- JSON.parse(x),
2102
- ),
2103
- `Failed to parse 'CreateManagerResponseFailureDomainsUnion5' from JSON`,
2104
- );
2105
- }
2106
-
2107
- /** @internal */
2108
- export const CreateManagerResponsePoolsFixed3$inboundSchema: z.ZodType<
2109
- CreateManagerResponsePoolsFixed3,
2110
- unknown
2111
- > = z.object({
2112
- failure_domains: z.nullable(
2113
- z.union([
2114
- z.lazy(() => CreateManagerResponseFailureDomains5$inboundSchema),
2115
- z.string(),
2116
- ]),
2117
- ).optional(),
2118
- machine: z.nullable(z.string()).optional(),
2119
- machines: z.int(),
2120
- mode: z.literal("fixed"),
2121
- }).transform((v) => {
2122
- return remap$(v, {
2123
- "failure_domains": "failureDomains",
2124
- });
2125
- });
2126
-
2127
- export function createManagerResponsePoolsFixed3FromJSON(
2128
- jsonString: string,
2129
- ): SafeParseResult<CreateManagerResponsePoolsFixed3, SDKValidationError> {
2130
- return safeParse(
2131
- jsonString,
2132
- (x) => CreateManagerResponsePoolsFixed3$inboundSchema.parse(JSON.parse(x)),
2133
- `Failed to parse 'CreateManagerResponsePoolsFixed3' from JSON`,
2134
- );
2135
- }
2136
-
2137
- /** @internal */
2138
- export const CreateManagerResponsePoolsUnion3$inboundSchema: z.ZodType<
2139
- CreateManagerResponsePoolsUnion3,
2140
- unknown
2141
- > = z.union([
2142
- z.lazy(() => CreateManagerResponsePoolsFixed3$inboundSchema),
2143
- z.lazy(() => CreateManagerResponsePoolsAutoscale3$inboundSchema),
2144
- ]);
2145
-
2146
- export function createManagerResponsePoolsUnion3FromJSON(
2147
- jsonString: string,
2148
- ): SafeParseResult<CreateManagerResponsePoolsUnion3, SDKValidationError> {
2149
- return safeParse(
2150
- jsonString,
2151
- (x) => CreateManagerResponsePoolsUnion3$inboundSchema.parse(JSON.parse(x)),
2152
- `Failed to parse 'CreateManagerResponsePoolsUnion3' from JSON`,
2153
- );
2154
- }
2155
-
2156
- /** @internal */
2157
- export const CreateManagerResponseCompute3$inboundSchema: z.ZodType<
2158
- CreateManagerResponseCompute3,
2159
- unknown
2160
- > = z.object({
2161
- containers: z.record(
2162
- z.string(),
2163
- z.lazy(() => CreateManagerResponseContainers3$inboundSchema),
2164
- ).optional(),
2165
- pools: z.record(
2166
- z.string(),
2167
- z.union([
2168
- z.lazy(() => CreateManagerResponsePoolsFixed3$inboundSchema),
2169
- z.lazy(() => CreateManagerResponsePoolsAutoscale3$inboundSchema),
2170
- ]),
2171
- ).optional(),
2172
- });
2173
-
2174
- export function createManagerResponseCompute3FromJSON(
2175
- jsonString: string,
2176
- ): SafeParseResult<CreateManagerResponseCompute3, SDKValidationError> {
2177
- return safeParse(
2178
- jsonString,
2179
- (x) => CreateManagerResponseCompute3$inboundSchema.parse(JSON.parse(x)),
2180
- `Failed to parse 'CreateManagerResponseCompute3' from JSON`,
2181
- );
2182
- }
2183
-
2184
- /** @internal */
2185
- export const CreateManagerResponseComputeUnion3$inboundSchema: z.ZodType<
2186
- CreateManagerResponseComputeUnion3,
2187
- unknown
2188
- > = z.union([
2189
- z.lazy(() => CreateManagerResponseCompute3$inboundSchema),
2190
- z.string(),
2191
- ]);
2192
-
2193
- export function createManagerResponseComputeUnion3FromJSON(
2194
- jsonString: string,
2195
- ): SafeParseResult<CreateManagerResponseComputeUnion3, SDKValidationError> {
2196
- return safeParse(
2197
- jsonString,
2198
- (x) =>
2199
- CreateManagerResponseComputeUnion3$inboundSchema.parse(JSON.parse(x)),
2200
- `Failed to parse 'CreateManagerResponseComputeUnion3' from JSON`,
2201
- );
2202
- }
2203
-
2204
- /** @internal */
2205
- export const CreateManagerResponseDeploymentModel3$inboundSchema: z.ZodEnum<
2206
- typeof CreateManagerResponseDeploymentModel3
2207
- > = z.enum(CreateManagerResponseDeploymentModel3);
2208
-
2209
- /** @internal */
2210
- export const CreateManagerResponseAws3$inboundSchema: z.ZodType<
2211
- CreateManagerResponseAws3,
2212
- unknown
2213
- > = z.object({
2214
- certificateArn: z.string(),
2215
- });
2216
-
2217
- export function createManagerResponseAws3FromJSON(
2218
- jsonString: string,
2219
- ): SafeParseResult<CreateManagerResponseAws3, SDKValidationError> {
2220
- return safeParse(
2221
- jsonString,
2222
- (x) => CreateManagerResponseAws3$inboundSchema.parse(JSON.parse(x)),
2223
- `Failed to parse 'CreateManagerResponseAws3' from JSON`,
2224
- );
2225
- }
2226
-
2227
- /** @internal */
2228
- export const CreateManagerResponseAwsUnion3$inboundSchema: z.ZodType<
2229
- CreateManagerResponseAwsUnion3,
2230
- unknown
2231
- > = z.union([
2232
- z.lazy(() => CreateManagerResponseAws3$inboundSchema),
2233
- z.string(),
2234
- ]);
2235
-
2236
- export function createManagerResponseAwsUnion3FromJSON(
2237
- jsonString: string,
2238
- ): SafeParseResult<CreateManagerResponseAwsUnion3, SDKValidationError> {
2239
- return safeParse(
2240
- jsonString,
2241
- (x) => CreateManagerResponseAwsUnion3$inboundSchema.parse(JSON.parse(x)),
2242
- `Failed to parse 'CreateManagerResponseAwsUnion3' from JSON`,
2243
- );
2244
- }
2245
-
2246
- /** @internal */
2247
- export const CreateManagerResponseAzure3$inboundSchema: z.ZodType<
2248
- CreateManagerResponseAzure3,
2249
- unknown
2250
- > = z.object({
2251
- keyVaultCertificateId: z.string(),
2252
- keyVaultResourceId: z.nullable(z.string()).optional(),
2253
- });
2254
-
2255
- export function createManagerResponseAzure3FromJSON(
2256
- jsonString: string,
2257
- ): SafeParseResult<CreateManagerResponseAzure3, SDKValidationError> {
2258
- return safeParse(
2259
- jsonString,
2260
- (x) => CreateManagerResponseAzure3$inboundSchema.parse(JSON.parse(x)),
2261
- `Failed to parse 'CreateManagerResponseAzure3' from JSON`,
2262
- );
2263
- }
2264
-
2265
- /** @internal */
2266
- export const CreateManagerResponseAzureUnion3$inboundSchema: z.ZodType<
2267
- CreateManagerResponseAzureUnion3,
2268
- unknown
2269
- > = z.union([
2270
- z.lazy(() => CreateManagerResponseAzure3$inboundSchema),
2271
- z.string(),
2272
- ]);
2273
-
2274
- export function createManagerResponseAzureUnion3FromJSON(
2275
- jsonString: string,
2276
- ): SafeParseResult<CreateManagerResponseAzureUnion3, SDKValidationError> {
2277
- return safeParse(
2278
- jsonString,
2279
- (x) => CreateManagerResponseAzureUnion3$inboundSchema.parse(JSON.parse(x)),
2280
- `Failed to parse 'CreateManagerResponseAzureUnion3' from JSON`,
2281
- );
2282
- }
2283
-
2284
- /** @internal */
2285
- export const CreateManagerResponseGcp3$inboundSchema: z.ZodType<
2286
- CreateManagerResponseGcp3,
2287
- unknown
2288
- > = z.object({
2289
- certificateName: z.string(),
2290
- });
2291
-
2292
- export function createManagerResponseGcp3FromJSON(
2293
- jsonString: string,
2294
- ): SafeParseResult<CreateManagerResponseGcp3, SDKValidationError> {
2295
- return safeParse(
2296
- jsonString,
2297
- (x) => CreateManagerResponseGcp3$inboundSchema.parse(JSON.parse(x)),
2298
- `Failed to parse 'CreateManagerResponseGcp3' from JSON`,
2299
- );
2300
- }
2301
-
2302
- /** @internal */
2303
- export const CreateManagerResponseGcpUnion3$inboundSchema: z.ZodType<
2304
- CreateManagerResponseGcpUnion3,
2305
- unknown
2306
- > = z.union([
2307
- z.lazy(() => CreateManagerResponseGcp3$inboundSchema),
2308
- z.string(),
2309
- ]);
2310
-
2311
- export function createManagerResponseGcpUnion3FromJSON(
2312
- jsonString: string,
2313
- ): SafeParseResult<CreateManagerResponseGcpUnion3, SDKValidationError> {
2314
- return safeParse(
2315
- jsonString,
2316
- (x) => CreateManagerResponseGcpUnion3$inboundSchema.parse(JSON.parse(x)),
2317
- `Failed to parse 'CreateManagerResponseGcpUnion3' from JSON`,
2318
- );
2319
- }
2320
-
2321
- /** @internal */
2322
- export const CreateManagerResponseTlsSecretRef3$inboundSchema: z.ZodType<
2323
- CreateManagerResponseTlsSecretRef3,
2324
- unknown
2325
- > = z.object({
2326
- namespace: z.nullable(z.string()).optional(),
2327
- secretName: z.string(),
2328
- });
2329
-
2330
- export function createManagerResponseTlsSecretRef3FromJSON(
2331
- jsonString: string,
2332
- ): SafeParseResult<CreateManagerResponseTlsSecretRef3, SDKValidationError> {
2333
- return safeParse(
2334
- jsonString,
2335
- (x) =>
2336
- CreateManagerResponseTlsSecretRef3$inboundSchema.parse(JSON.parse(x)),
2337
- `Failed to parse 'CreateManagerResponseTlsSecretRef3' from JSON`,
2338
- );
2339
- }
2340
-
2341
- /** @internal */
2342
- export const CreateManagerResponseDomainsKubernetes3$inboundSchema: z.ZodType<
2343
- CreateManagerResponseDomainsKubernetes3,
2344
- unknown
2345
- > = z.object({
2346
- tlsSecretRef: z.lazy(() => CreateManagerResponseTlsSecretRef3$inboundSchema),
2347
- });
2348
-
2349
- export function createManagerResponseDomainsKubernetes3FromJSON(
2350
- jsonString: string,
2351
- ): SafeParseResult<
2352
- CreateManagerResponseDomainsKubernetes3,
2353
- SDKValidationError
2354
- > {
2355
- return safeParse(
2356
- jsonString,
2357
- (x) =>
2358
- CreateManagerResponseDomainsKubernetes3$inboundSchema.parse(
2359
- JSON.parse(x),
2360
- ),
2361
- `Failed to parse 'CreateManagerResponseDomainsKubernetes3' from JSON`,
2362
- );
2363
- }
2364
-
2365
- /** @internal */
2366
- export const CreateManagerResponseDomainsKubernetesUnion3$inboundSchema:
2367
- z.ZodType<CreateManagerResponseDomainsKubernetesUnion3, unknown> = z.union([
2368
- z.lazy(() => CreateManagerResponseDomainsKubernetes3$inboundSchema),
2369
- z.string(),
2370
- ]);
2371
-
2372
- export function createManagerResponseDomainsKubernetesUnion3FromJSON(
2373
- jsonString: string,
2374
- ): SafeParseResult<
2375
- CreateManagerResponseDomainsKubernetesUnion3,
2376
- SDKValidationError
2377
- > {
2378
- return safeParse(
2379
- jsonString,
2380
- (x) =>
2381
- CreateManagerResponseDomainsKubernetesUnion3$inboundSchema.parse(
2382
- JSON.parse(x),
2383
- ),
2384
- `Failed to parse 'CreateManagerResponseDomainsKubernetesUnion3' from JSON`,
2385
- );
2386
- }
2387
-
2388
- /** @internal */
2389
- export const CreateManagerResponseDomainsCertificate3$inboundSchema: z.ZodType<
2390
- CreateManagerResponseDomainsCertificate3,
2391
- unknown
2392
- > = z.object({
2393
- aws: z.nullable(
2394
- z.union([
2395
- z.lazy(() => CreateManagerResponseAws3$inboundSchema),
2396
- z.string(),
2397
- ]),
2398
- ).optional(),
2399
- azure: z.nullable(
2400
- z.union([
2401
- z.lazy(() => CreateManagerResponseAzure3$inboundSchema),
2402
- z.string(),
2403
- ]),
2404
- ).optional(),
2405
- gcp: z.nullable(
2406
- z.union([
2407
- z.lazy(() => CreateManagerResponseGcp3$inboundSchema),
2408
- z.string(),
2409
- ]),
2410
- ).optional(),
2411
- kubernetes: z.nullable(
2412
- z.union([
2413
- z.lazy(() => CreateManagerResponseDomainsKubernetes3$inboundSchema),
2414
- z.string(),
2415
- ]),
2416
- ).optional(),
2417
- });
2418
-
2419
- export function createManagerResponseDomainsCertificate3FromJSON(
2420
- jsonString: string,
2421
- ): SafeParseResult<
2422
- CreateManagerResponseDomainsCertificate3,
2423
- SDKValidationError
2424
- > {
2425
- return safeParse(
2426
- jsonString,
2427
- (x) =>
2428
- CreateManagerResponseDomainsCertificate3$inboundSchema.parse(
2429
- JSON.parse(x),
2430
- ),
2431
- `Failed to parse 'CreateManagerResponseDomainsCertificate3' from JSON`,
2432
- );
2433
- }
2434
-
2435
- /** @internal */
2436
- export const CreateManagerResponseCustomDomains3$inboundSchema: z.ZodType<
2437
- CreateManagerResponseCustomDomains3,
2438
- unknown
2439
- > = z.object({
2440
- certificate: z.lazy(() =>
2441
- CreateManagerResponseDomainsCertificate3$inboundSchema
2442
- ),
2443
- domain: z.string(),
2444
- });
2445
-
2446
- export function createManagerResponseCustomDomains3FromJSON(
2447
- jsonString: string,
2448
- ): SafeParseResult<CreateManagerResponseCustomDomains3, SDKValidationError> {
2449
- return safeParse(
2450
- jsonString,
2451
- (x) =>
2452
- CreateManagerResponseCustomDomains3$inboundSchema.parse(JSON.parse(x)),
2453
- `Failed to parse 'CreateManagerResponseCustomDomains3' from JSON`,
2454
- );
2455
- }
2456
-
2457
- /** @internal */
2458
- export const CreateManagerResponseModeLoadBalancer3$inboundSchema: z.ZodEnum<
2459
- typeof CreateManagerResponseModeLoadBalancer3
2460
- > = z.enum(CreateManagerResponseModeLoadBalancer3);
2461
-
2462
- /** @internal */
2463
- export const CreateManagerResponsePublicEndpointTargetLoadBalancer3$inboundSchema:
2464
- z.ZodType<CreateManagerResponsePublicEndpointTargetLoadBalancer3, unknown> = z
2465
- .object({
2466
- cnameTarget: z.string(),
2467
- mode: CreateManagerResponseModeLoadBalancer3$inboundSchema,
2468
- });
2469
-
2470
- export function createManagerResponsePublicEndpointTargetLoadBalancer3FromJSON(
2471
- jsonString: string,
2472
- ): SafeParseResult<
2473
- CreateManagerResponsePublicEndpointTargetLoadBalancer3,
2474
- SDKValidationError
2475
- > {
2476
- return safeParse(
2477
- jsonString,
2478
- (x) =>
2479
- CreateManagerResponsePublicEndpointTargetLoadBalancer3$inboundSchema
2480
- .parse(JSON.parse(x)),
2481
- `Failed to parse 'CreateManagerResponsePublicEndpointTargetLoadBalancer3' from JSON`,
2482
- );
2483
- }
2484
-
2485
- /** @internal */
2486
- export const CreateManagerResponseModeMachineAddresses3$inboundSchema:
2487
- z.ZodEnum<typeof CreateManagerResponseModeMachineAddresses3> = z.enum(
2488
- CreateManagerResponseModeMachineAddresses3,
2489
- );
2490
-
2491
- /** @internal */
2492
- export const CreateManagerResponsePublicEndpointTargetMachineAddresses3$inboundSchema:
2493
- z.ZodType<
2494
- CreateManagerResponsePublicEndpointTargetMachineAddresses3,
2495
- unknown
2496
- > = z.object({
2497
- mode: CreateManagerResponseModeMachineAddresses3$inboundSchema,
2498
- });
2499
-
2500
- export function createManagerResponsePublicEndpointTargetMachineAddresses3FromJSON(
2501
- jsonString: string,
2502
- ): SafeParseResult<
2503
- CreateManagerResponsePublicEndpointTargetMachineAddresses3,
2504
- SDKValidationError
2505
- > {
2506
- return safeParse(
2507
- jsonString,
2508
- (x) =>
2509
- CreateManagerResponsePublicEndpointTargetMachineAddresses3$inboundSchema
2510
- .parse(JSON.parse(x)),
2511
- `Failed to parse 'CreateManagerResponsePublicEndpointTargetMachineAddresses3' from JSON`,
2512
- );
2513
- }
2514
-
2515
- /** @internal */
2516
- export const CreateManagerResponsePublicEndpointTargetUnion3$inboundSchema:
2517
- z.ZodType<CreateManagerResponsePublicEndpointTargetUnion3, unknown> = z.union(
2518
- [
2519
- z.lazy(() =>
2520
- CreateManagerResponsePublicEndpointTargetLoadBalancer3$inboundSchema
2521
- ),
2522
- z.lazy(() =>
2523
- CreateManagerResponsePublicEndpointTargetMachineAddresses3$inboundSchema
2524
- ),
2525
- z.string(),
2526
- ],
2527
- );
2528
-
2529
- export function createManagerResponsePublicEndpointTargetUnion3FromJSON(
2530
- jsonString: string,
2531
- ): SafeParseResult<
2532
- CreateManagerResponsePublicEndpointTargetUnion3,
2533
- SDKValidationError
2534
- > {
2535
- return safeParse(
2536
- jsonString,
2537
- (x) =>
2538
- CreateManagerResponsePublicEndpointTargetUnion3$inboundSchema.parse(
2539
- JSON.parse(x),
2540
- ),
2541
- `Failed to parse 'CreateManagerResponsePublicEndpointTargetUnion3' from JSON`,
2542
- );
2543
- }
2544
-
2545
- /** @internal */
2546
- export const CreateManagerResponseDomains3$inboundSchema: z.ZodType<
2547
- CreateManagerResponseDomains3,
2548
- unknown
2549
- > = z.object({
2550
- customDomains: z.nullable(
2551
- z.record(
2552
- z.string(),
2553
- z.lazy(() => CreateManagerResponseCustomDomains3$inboundSchema),
2554
- ),
2555
- ).optional(),
2556
- publicEndpointTarget: z.nullable(
2557
- z.union([
2558
- z.lazy(() =>
2559
- CreateManagerResponsePublicEndpointTargetLoadBalancer3$inboundSchema
2560
- ),
2561
- z.lazy(() =>
2562
- CreateManagerResponsePublicEndpointTargetMachineAddresses3$inboundSchema
2563
- ),
2564
- z.string(),
2565
- ]),
2566
- ).optional(),
2567
- });
2568
-
2569
- export function createManagerResponseDomains3FromJSON(
2570
- jsonString: string,
2571
- ): SafeParseResult<CreateManagerResponseDomains3, SDKValidationError> {
2572
- return safeParse(
2573
- jsonString,
2574
- (x) => CreateManagerResponseDomains3$inboundSchema.parse(JSON.parse(x)),
2575
- `Failed to parse 'CreateManagerResponseDomains3' from JSON`,
2576
- );
2577
- }
2578
-
2579
- /** @internal */
2580
- export const CreateManagerResponseDomainsUnion3$inboundSchema: z.ZodType<
2581
- CreateManagerResponseDomainsUnion3,
2582
- unknown
2583
- > = z.union([
2584
- z.lazy(() => CreateManagerResponseDomains3$inboundSchema),
2585
- z.string(),
2586
- ]);
2587
-
2588
- export function createManagerResponseDomainsUnion3FromJSON(
2589
- jsonString: string,
2590
- ): SafeParseResult<CreateManagerResponseDomainsUnion3, SDKValidationError> {
2591
- return safeParse(
2592
- jsonString,
2593
- (x) =>
2594
- CreateManagerResponseDomainsUnion3$inboundSchema.parse(JSON.parse(x)),
2595
- `Failed to parse 'CreateManagerResponseDomainsUnion3' from JSON`,
2596
- );
2597
- }
2598
-
2599
- /** @internal */
2600
- export const CreateManagerResponseEndpointAccess3$inboundSchema: z.ZodEnum<
2601
- typeof CreateManagerResponseEndpointAccess3
2602
- > = z.enum(CreateManagerResponseEndpointAccess3);
2603
-
2604
- /** @internal */
2605
- export const CreateManagerResponseHeartbeats3$inboundSchema: z.ZodEnum<
2606
- typeof CreateManagerResponseHeartbeats3
2607
- > = z.enum(CreateManagerResponseHeartbeats3);
2608
-
2609
- /** @internal */
2610
- export const CreateManagerResponseCloud3$inboundSchema: z.ZodType<
2611
- CreateManagerResponseCloud3,
2612
- unknown
2613
- > = z.object({
2614
- accountId: z.nullable(z.string()).optional(),
2615
- clusterId: z.nullable(z.string()).optional(),
2616
- clusterName: z.nullable(z.string()).optional(),
2617
- projectId: z.nullable(z.string()).optional(),
2618
- region: z.nullable(z.string()).optional(),
2619
- resourceGroup: z.nullable(z.string()).optional(),
2620
- subscriptionId: z.nullable(z.string()).optional(),
2621
- });
2622
-
2623
- export function createManagerResponseCloud3FromJSON(
2624
- jsonString: string,
2625
- ): SafeParseResult<CreateManagerResponseCloud3, SDKValidationError> {
2626
- return safeParse(
2627
- jsonString,
2628
- (x) => CreateManagerResponseCloud3$inboundSchema.parse(JSON.parse(x)),
2629
- `Failed to parse 'CreateManagerResponseCloud3' from JSON`,
2630
- );
2631
- }
2632
-
2633
- /** @internal */
2634
- export const CreateManagerResponseCloudUnion3$inboundSchema: z.ZodType<
2635
- CreateManagerResponseCloudUnion3,
2636
- unknown
2637
- > = z.union([
2638
- z.lazy(() => CreateManagerResponseCloud3$inboundSchema),
2639
- z.string(),
2640
- ]);
2641
-
2642
- export function createManagerResponseCloudUnion3FromJSON(
2643
- jsonString: string,
2644
- ): SafeParseResult<CreateManagerResponseCloudUnion3, SDKValidationError> {
2645
- return safeParse(
2646
- jsonString,
2647
- (x) => CreateManagerResponseCloudUnion3$inboundSchema.parse(JSON.parse(x)),
2648
- `Failed to parse 'CreateManagerResponseCloudUnion3' from JSON`,
2649
- );
2650
- }
2651
-
2652
- /** @internal */
2653
- export const CreateManagerResponseOwnership3$inboundSchema: z.ZodEnum<
2654
- typeof CreateManagerResponseOwnership3
2655
- > = z.enum(CreateManagerResponseOwnership3);
2656
-
2657
- /** @internal */
2658
- export const CreateManagerResponseCluster3$inboundSchema: z.ZodType<
2659
- CreateManagerResponseCluster3,
2660
- unknown
2661
- > = z.object({
2662
- cloud: z.nullable(
2663
- z.union([
2664
- z.lazy(() => CreateManagerResponseCloud3$inboundSchema),
2665
- z.string(),
2666
- ]),
2667
- ).optional(),
2668
- namespace: z.nullable(z.string()).optional(),
2669
- ownership: CreateManagerResponseOwnership3$inboundSchema,
2670
- });
2671
-
2672
- export function createManagerResponseCluster3FromJSON(
2673
- jsonString: string,
2674
- ): SafeParseResult<CreateManagerResponseCluster3, SDKValidationError> {
2675
- return safeParse(
2676
- jsonString,
2677
- (x) => CreateManagerResponseCluster3$inboundSchema.parse(JSON.parse(x)),
2678
- `Failed to parse 'CreateManagerResponseCluster3' from JSON`,
2679
- );
2680
- }
2681
-
2682
- /** @internal */
2683
- export const CreateManagerResponseClusterUnion3$inboundSchema: z.ZodType<
2684
- CreateManagerResponseClusterUnion3,
2685
- unknown
2686
- > = z.union([
2687
- z.lazy(() => CreateManagerResponseCluster3$inboundSchema),
2688
- z.string(),
2689
- ]);
2690
-
2691
- export function createManagerResponseClusterUnion3FromJSON(
2692
- jsonString: string,
2693
- ): SafeParseResult<CreateManagerResponseClusterUnion3, SDKValidationError> {
2694
- return safeParse(
2695
- jsonString,
2696
- (x) =>
2697
- CreateManagerResponseClusterUnion3$inboundSchema.parse(JSON.parse(x)),
2698
- `Failed to parse 'CreateManagerResponseClusterUnion3' from JSON`,
2699
- );
2700
- }
2701
-
2702
- /** @internal */
2703
- export const CreateManagerResponseCertificateNone6$inboundSchema: z.ZodType<
2704
- CreateManagerResponseCertificateNone6,
2705
- unknown
2706
- > = z.object({
2707
- mode: z.literal("none"),
2708
- });
2709
-
2710
- export function createManagerResponseCertificateNone6FromJSON(
2711
- jsonString: string,
2712
- ): SafeParseResult<CreateManagerResponseCertificateNone6, SDKValidationError> {
2713
- return safeParse(
2714
- jsonString,
2715
- (x) =>
2716
- CreateManagerResponseCertificateNone6$inboundSchema.parse(JSON.parse(x)),
2717
- `Failed to parse 'CreateManagerResponseCertificateNone6' from JSON`,
2718
- );
2719
- }
2720
-
2721
- /** @internal */
2722
- export const CreateManagerResponseCertificateManagedTLSSecret6$inboundSchema:
2723
- z.ZodType<CreateManagerResponseCertificateManagedTLSSecret6, unknown> = z
2724
- .object({
2725
- mode: z.literal("managedTlsSecret"),
2726
- secretNameTemplate: z.string(),
2727
- });
2728
-
2729
- export function createManagerResponseCertificateManagedTLSSecret6FromJSON(
2730
- jsonString: string,
2731
- ): SafeParseResult<
2732
- CreateManagerResponseCertificateManagedTLSSecret6,
2733
- SDKValidationError
2734
- > {
2735
- return safeParse(
2736
- jsonString,
2737
- (x) =>
2738
- CreateManagerResponseCertificateManagedTLSSecret6$inboundSchema.parse(
2739
- JSON.parse(x),
2740
- ),
2741
- `Failed to parse 'CreateManagerResponseCertificateManagedTLSSecret6' from JSON`,
2742
- );
2743
- }
2744
-
2745
- /** @internal */
2746
- export const CreateManagerResponseCertificateAwsAcmArn6$inboundSchema:
2747
- z.ZodType<CreateManagerResponseCertificateAwsAcmArn6, unknown> = z.object({
2748
- certificateArn: z.string(),
2749
- mode: z.literal("awsAcmArn"),
2750
- });
2751
-
2752
- export function createManagerResponseCertificateAwsAcmArn6FromJSON(
2753
- jsonString: string,
2754
- ): SafeParseResult<
2755
- CreateManagerResponseCertificateAwsAcmArn6,
2756
- SDKValidationError
2757
- > {
2758
- return safeParse(
2759
- jsonString,
2760
- (x) =>
2761
- CreateManagerResponseCertificateAwsAcmArn6$inboundSchema.parse(
2762
- JSON.parse(x),
2763
- ),
2764
- `Failed to parse 'CreateManagerResponseCertificateAwsAcmArn6' from JSON`,
2765
- );
2766
- }
2767
-
2768
- /** @internal */
2769
- export const CreateManagerResponseCertificateManagedAcmImport6$inboundSchema:
2770
- z.ZodType<CreateManagerResponseCertificateManagedAcmImport6, unknown> = z
2771
- .object({
2772
- mode: z.literal("managedAcmImport"),
2773
- region: z.nullable(z.string()).optional(),
2774
- tags: z.record(z.string(), z.string()).optional(),
2775
- });
2776
-
2777
- export function createManagerResponseCertificateManagedAcmImport6FromJSON(
2778
- jsonString: string,
2779
- ): SafeParseResult<
2780
- CreateManagerResponseCertificateManagedAcmImport6,
2781
- SDKValidationError
2782
- > {
2783
- return safeParse(
2784
- jsonString,
2785
- (x) =>
2786
- CreateManagerResponseCertificateManagedAcmImport6$inboundSchema.parse(
2787
- JSON.parse(x),
2788
- ),
2789
- `Failed to parse 'CreateManagerResponseCertificateManagedAcmImport6' from JSON`,
2790
- );
2791
- }
2792
-
2793
- /** @internal */
2794
- export const CreateManagerResponseCertificateTLSSecretRef6$inboundSchema:
2795
- z.ZodType<CreateManagerResponseCertificateTLSSecretRef6, unknown> = z.object({
2796
- namespace: z.nullable(z.string()).optional(),
2797
- secretName: z.string(),
2798
- mode: z.literal("tlsSecretRef"),
2799
- });
2800
-
2801
- export function createManagerResponseCertificateTLSSecretRef6FromJSON(
2802
- jsonString: string,
2803
- ): SafeParseResult<
2804
- CreateManagerResponseCertificateTLSSecretRef6,
2805
- SDKValidationError
2806
- > {
2807
- return safeParse(
2808
- jsonString,
2809
- (x) =>
2810
- CreateManagerResponseCertificateTLSSecretRef6$inboundSchema.parse(
2811
- JSON.parse(x),
2812
- ),
2813
- `Failed to parse 'CreateManagerResponseCertificateTLSSecretRef6' from JSON`,
2814
- );
2815
- }
2816
-
2817
- /** @internal */
2818
- export const CreateManagerResponseCertificateUnion6$inboundSchema: z.ZodType<
2819
- CreateManagerResponseCertificateUnion6,
2820
- unknown
2821
- > = z.union([
2822
- z.lazy(() => CreateManagerResponseCertificateTLSSecretRef6$inboundSchema),
2823
- z.lazy(() => CreateManagerResponseCertificateManagedAcmImport6$inboundSchema),
2824
- z.lazy(() => CreateManagerResponseCertificateAwsAcmArn6$inboundSchema),
2825
- z.lazy(() => CreateManagerResponseCertificateManagedTLSSecret6$inboundSchema),
2826
- z.lazy(() => CreateManagerResponseCertificateNone6$inboundSchema),
2827
- ]);
2828
-
2829
- export function createManagerResponseCertificateUnion6FromJSON(
2830
- jsonString: string,
2831
- ): SafeParseResult<CreateManagerResponseCertificateUnion6, SDKValidationError> {
2832
- return safeParse(
2833
- jsonString,
2834
- (x) =>
2835
- CreateManagerResponseCertificateUnion6$inboundSchema.parse(JSON.parse(x)),
2836
- `Failed to parse 'CreateManagerResponseCertificateUnion6' from JSON`,
2837
- );
2838
- }
2839
-
2840
- /** @internal */
2841
- export const CreateManagerResponseModeCustom3$inboundSchema: z.ZodEnum<
2842
- typeof CreateManagerResponseModeCustom3
2843
- > = z.enum(CreateManagerResponseModeCustom3);
2844
-
2845
- /** @internal */
2846
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum12$inboundSchema:
2847
- z.ZodEnum<
2848
- typeof CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum12
2849
- > = z.enum(
2850
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum12,
2851
- );
2852
-
2853
- /** @internal */
2854
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainers12$inboundSchema:
2855
- z.ZodType<
2856
- CreateManagerResponseProviderAzureApplicationGatewayForContainers12,
2857
- unknown
2858
- > = z.object({
2859
- albName: z.nullable(z.string()).optional(),
2860
- albNamespace: z.nullable(z.string()).optional(),
2861
- frontend: z.string(),
2862
- provider:
2863
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum12$inboundSchema,
2864
- });
2865
-
2866
- export function createManagerResponseProviderAzureApplicationGatewayForContainers12FromJSON(
2867
- jsonString: string,
2868
- ): SafeParseResult<
2869
- CreateManagerResponseProviderAzureApplicationGatewayForContainers12,
2870
- SDKValidationError
2871
- > {
2872
- return safeParse(
2873
- jsonString,
2874
- (x) =>
2875
- CreateManagerResponseProviderAzureApplicationGatewayForContainers12$inboundSchema
2876
- .parse(JSON.parse(x)),
2877
- `Failed to parse 'CreateManagerResponseProviderAzureApplicationGatewayForContainers12' from JSON`,
2878
- );
2879
- }
2880
-
2881
- /** @internal */
2882
- export const CreateManagerResponseProviderGkeGatewayEnum12$inboundSchema:
2883
- z.ZodEnum<typeof CreateManagerResponseProviderGkeGatewayEnum12> = z.enum(
2884
- CreateManagerResponseProviderGkeGatewayEnum12,
2885
- );
2886
-
2887
- /** @internal */
2888
- export const CreateManagerResponseProviderGkeGateway12$inboundSchema: z.ZodType<
2889
- CreateManagerResponseProviderGkeGateway12,
2890
- unknown
2891
- > = z.object({
2892
- provider: CreateManagerResponseProviderGkeGatewayEnum12$inboundSchema,
2893
- staticAddressName: z.nullable(z.string()).optional(),
2894
- });
2895
-
2896
- export function createManagerResponseProviderGkeGateway12FromJSON(
2897
- jsonString: string,
2898
- ): SafeParseResult<
2899
- CreateManagerResponseProviderGkeGateway12,
2900
- SDKValidationError
2901
- > {
2902
- return safeParse(
2903
- jsonString,
2904
- (x) =>
2905
- CreateManagerResponseProviderGkeGateway12$inboundSchema.parse(
2906
- JSON.parse(x),
2907
- ),
2908
- `Failed to parse 'CreateManagerResponseProviderGkeGateway12' from JSON`,
2909
- );
2910
- }
2911
-
2912
- /** @internal */
2913
- export const CreateManagerResponseProviderAwsAlbEnum12$inboundSchema: z.ZodEnum<
2914
- typeof CreateManagerResponseProviderAwsAlbEnum12
2915
- > = z.enum(CreateManagerResponseProviderAwsAlbEnum12);
2916
-
2917
- /** @internal */
2918
- export const CreateManagerResponseProviderAwsAlb12$inboundSchema: z.ZodType<
2919
- CreateManagerResponseProviderAwsAlb12,
2920
- unknown
2921
- > = z.object({
2922
- ipAddressType: z.nullable(z.string()).optional(),
2923
- provider: CreateManagerResponseProviderAwsAlbEnum12$inboundSchema,
2924
- scheme: z.string(),
2925
- subnetIds: z.array(z.string()).optional(),
2926
- targetType: z.string(),
2927
- });
2928
-
2929
- export function createManagerResponseProviderAwsAlb12FromJSON(
2930
- jsonString: string,
2931
- ): SafeParseResult<CreateManagerResponseProviderAwsAlb12, SDKValidationError> {
2932
- return safeParse(
2933
- jsonString,
2934
- (x) =>
2935
- CreateManagerResponseProviderAwsAlb12$inboundSchema.parse(JSON.parse(x)),
2936
- `Failed to parse 'CreateManagerResponseProviderAwsAlb12' from JSON`,
2937
- );
2938
- }
2939
-
2940
- /** @internal */
2941
- export const CreateManagerResponseProviderUnion12$inboundSchema: z.ZodType<
2942
- CreateManagerResponseProviderUnion12,
2943
- unknown
2944
- > = z.union([
2945
- z.lazy(() => CreateManagerResponseProviderAwsAlb12$inboundSchema),
2946
- z.lazy(() =>
2947
- CreateManagerResponseProviderAzureApplicationGatewayForContainers12$inboundSchema
2948
- ),
2949
- z.lazy(() => CreateManagerResponseProviderGkeGateway12$inboundSchema),
2950
- z.string(),
2951
- ]);
2952
-
2953
- export function createManagerResponseProviderUnion12FromJSON(
2954
- jsonString: string,
2955
- ): SafeParseResult<CreateManagerResponseProviderUnion12, SDKValidationError> {
2956
- return safeParse(
2957
- jsonString,
2958
- (x) =>
2959
- CreateManagerResponseProviderUnion12$inboundSchema.parse(JSON.parse(x)),
2960
- `Failed to parse 'CreateManagerResponseProviderUnion12' from JSON`,
2961
- );
2962
- }
2963
-
2964
- /** @internal */
2965
- export const CreateManagerResponseRouteGateway6$inboundSchema: z.ZodType<
2966
- CreateManagerResponseRouteGateway6,
2967
- unknown
2968
- > = z.object({
2969
- annotations: z.record(z.string(), z.string()).optional(),
2970
- controller: z.nullable(z.string()).optional(),
2971
- gatewayClassName: z.string(),
2972
- labels: z.record(z.string(), z.string()).optional(),
2973
- listenerPort: z.int(),
2974
- provider: z.nullable(
2975
- z.union([
2976
- z.lazy(() => CreateManagerResponseProviderAwsAlb12$inboundSchema),
2977
- z.lazy(() =>
2978
- CreateManagerResponseProviderAzureApplicationGatewayForContainers12$inboundSchema
2979
- ),
2980
- z.lazy(() => CreateManagerResponseProviderGkeGateway12$inboundSchema),
2981
- z.string(),
2982
- ]),
2983
- ).optional(),
2984
- routeApi: z.literal("gateway"),
2985
- });
2986
-
2987
- export function createManagerResponseRouteGateway6FromJSON(
2988
- jsonString: string,
2989
- ): SafeParseResult<CreateManagerResponseRouteGateway6, SDKValidationError> {
2990
- return safeParse(
2991
- jsonString,
2992
- (x) =>
2993
- CreateManagerResponseRouteGateway6$inboundSchema.parse(JSON.parse(x)),
2994
- `Failed to parse 'CreateManagerResponseRouteGateway6' from JSON`,
2995
- );
2996
- }
2997
-
2998
- /** @internal */
2999
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum11$inboundSchema:
3000
- z.ZodEnum<
3001
- typeof CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum11
3002
- > = z.enum(
3003
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum11,
3004
- );
3005
-
3006
- /** @internal */
3007
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainers11$inboundSchema:
3008
- z.ZodType<
3009
- CreateManagerResponseProviderAzureApplicationGatewayForContainers11,
3010
- unknown
3011
- > = z.object({
3012
- albName: z.nullable(z.string()).optional(),
3013
- albNamespace: z.nullable(z.string()).optional(),
3014
- frontend: z.string(),
3015
- provider:
3016
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum11$inboundSchema,
3017
- });
3018
-
3019
- export function createManagerResponseProviderAzureApplicationGatewayForContainers11FromJSON(
3020
- jsonString: string,
3021
- ): SafeParseResult<
3022
- CreateManagerResponseProviderAzureApplicationGatewayForContainers11,
3023
- SDKValidationError
3024
- > {
3025
- return safeParse(
3026
- jsonString,
3027
- (x) =>
3028
- CreateManagerResponseProviderAzureApplicationGatewayForContainers11$inboundSchema
3029
- .parse(JSON.parse(x)),
3030
- `Failed to parse 'CreateManagerResponseProviderAzureApplicationGatewayForContainers11' from JSON`,
3031
- );
3032
- }
3033
-
3034
- /** @internal */
3035
- export const CreateManagerResponseProviderGkeGatewayEnum11$inboundSchema:
3036
- z.ZodEnum<typeof CreateManagerResponseProviderGkeGatewayEnum11> = z.enum(
3037
- CreateManagerResponseProviderGkeGatewayEnum11,
3038
- );
3039
-
3040
- /** @internal */
3041
- export const CreateManagerResponseProviderGkeGateway11$inboundSchema: z.ZodType<
3042
- CreateManagerResponseProviderGkeGateway11,
3043
- unknown
3044
- > = z.object({
3045
- provider: CreateManagerResponseProviderGkeGatewayEnum11$inboundSchema,
3046
- staticAddressName: z.nullable(z.string()).optional(),
3047
- });
3048
-
3049
- export function createManagerResponseProviderGkeGateway11FromJSON(
3050
- jsonString: string,
3051
- ): SafeParseResult<
3052
- CreateManagerResponseProviderGkeGateway11,
3053
- SDKValidationError
3054
- > {
3055
- return safeParse(
3056
- jsonString,
3057
- (x) =>
3058
- CreateManagerResponseProviderGkeGateway11$inboundSchema.parse(
3059
- JSON.parse(x),
3060
- ),
3061
- `Failed to parse 'CreateManagerResponseProviderGkeGateway11' from JSON`,
3062
- );
3063
- }
3064
-
3065
- /** @internal */
3066
- export const CreateManagerResponseProviderAwsAlbEnum11$inboundSchema: z.ZodEnum<
3067
- typeof CreateManagerResponseProviderAwsAlbEnum11
3068
- > = z.enum(CreateManagerResponseProviderAwsAlbEnum11);
3069
-
3070
- /** @internal */
3071
- export const CreateManagerResponseProviderAwsAlb11$inboundSchema: z.ZodType<
3072
- CreateManagerResponseProviderAwsAlb11,
3073
- unknown
3074
- > = z.object({
3075
- ipAddressType: z.nullable(z.string()).optional(),
3076
- provider: CreateManagerResponseProviderAwsAlbEnum11$inboundSchema,
3077
- scheme: z.string(),
3078
- subnetIds: z.array(z.string()).optional(),
3079
- targetType: z.string(),
3080
- });
3081
-
3082
- export function createManagerResponseProviderAwsAlb11FromJSON(
3083
- jsonString: string,
3084
- ): SafeParseResult<CreateManagerResponseProviderAwsAlb11, SDKValidationError> {
3085
- return safeParse(
3086
- jsonString,
3087
- (x) =>
3088
- CreateManagerResponseProviderAwsAlb11$inboundSchema.parse(JSON.parse(x)),
3089
- `Failed to parse 'CreateManagerResponseProviderAwsAlb11' from JSON`,
3090
- );
3091
- }
3092
-
3093
- /** @internal */
3094
- export const CreateManagerResponseProviderUnion11$inboundSchema: z.ZodType<
3095
- CreateManagerResponseProviderUnion11,
3096
- unknown
3097
- > = z.union([
3098
- z.lazy(() => CreateManagerResponseProviderAwsAlb11$inboundSchema),
3099
- z.lazy(() =>
3100
- CreateManagerResponseProviderAzureApplicationGatewayForContainers11$inboundSchema
3101
- ),
3102
- z.lazy(() => CreateManagerResponseProviderGkeGateway11$inboundSchema),
3103
- z.string(),
3104
- ]);
3105
-
3106
- export function createManagerResponseProviderUnion11FromJSON(
3107
- jsonString: string,
3108
- ): SafeParseResult<CreateManagerResponseProviderUnion11, SDKValidationError> {
3109
- return safeParse(
3110
- jsonString,
3111
- (x) =>
3112
- CreateManagerResponseProviderUnion11$inboundSchema.parse(JSON.parse(x)),
3113
- `Failed to parse 'CreateManagerResponseProviderUnion11' from JSON`,
3114
- );
3115
- }
3116
-
3117
- /** @internal */
3118
- export const CreateManagerResponseRouteIngress6$inboundSchema: z.ZodType<
3119
- CreateManagerResponseRouteIngress6,
3120
- unknown
3121
- > = z.object({
3122
- annotations: z.record(z.string(), z.string()).optional(),
3123
- controller: z.nullable(z.string()).optional(),
3124
- ingressClassName: z.string(),
3125
- labels: z.record(z.string(), z.string()).optional(),
3126
- provider: z.nullable(
3127
- z.union([
3128
- z.lazy(() => CreateManagerResponseProviderAwsAlb11$inboundSchema),
3129
- z.lazy(() =>
3130
- CreateManagerResponseProviderAzureApplicationGatewayForContainers11$inboundSchema
3131
- ),
3132
- z.lazy(() => CreateManagerResponseProviderGkeGateway11$inboundSchema),
3133
- z.string(),
3134
- ]),
3135
- ).optional(),
3136
- routeApi: z.literal("ingress"),
3137
- });
3138
-
3139
- export function createManagerResponseRouteIngress6FromJSON(
3140
- jsonString: string,
3141
- ): SafeParseResult<CreateManagerResponseRouteIngress6, SDKValidationError> {
3142
- return safeParse(
3143
- jsonString,
3144
- (x) =>
3145
- CreateManagerResponseRouteIngress6$inboundSchema.parse(JSON.parse(x)),
3146
- `Failed to parse 'CreateManagerResponseRouteIngress6' from JSON`,
3147
- );
3148
- }
3149
-
3150
- /** @internal */
3151
- export const CreateManagerResponseRouteUnion6$inboundSchema: z.ZodType<
3152
- CreateManagerResponseRouteUnion6,
3153
- unknown
3154
- > = z.union([
3155
- z.lazy(() => CreateManagerResponseRouteIngress6$inboundSchema),
3156
- z.lazy(() => CreateManagerResponseRouteGateway6$inboundSchema),
3157
- ]);
3158
-
3159
- export function createManagerResponseRouteUnion6FromJSON(
3160
- jsonString: string,
3161
- ): SafeParseResult<CreateManagerResponseRouteUnion6, SDKValidationError> {
3162
- return safeParse(
3163
- jsonString,
3164
- (x) => CreateManagerResponseRouteUnion6$inboundSchema.parse(JSON.parse(x)),
3165
- `Failed to parse 'CreateManagerResponseRouteUnion6' from JSON`,
3166
- );
3167
- }
3168
-
3169
- /** @internal */
3170
- export const CreateManagerResponseExposureCustom3$inboundSchema: z.ZodType<
3171
- CreateManagerResponseExposureCustom3,
3172
- unknown
3173
- > = z.object({
3174
- certificate: z.union([
3175
- z.lazy(() => CreateManagerResponseCertificateTLSSecretRef6$inboundSchema),
3176
- z.lazy(() =>
3177
- CreateManagerResponseCertificateManagedAcmImport6$inboundSchema
3178
- ),
3179
- z.lazy(() => CreateManagerResponseCertificateAwsAcmArn6$inboundSchema),
3180
- z.lazy(() =>
3181
- CreateManagerResponseCertificateManagedTLSSecret6$inboundSchema
3182
- ),
3183
- z.lazy(() => CreateManagerResponseCertificateNone6$inboundSchema),
3184
- ]),
3185
- domain: z.string(),
3186
- mode: CreateManagerResponseModeCustom3$inboundSchema,
3187
- route: z.union([
3188
- z.lazy(() => CreateManagerResponseRouteIngress6$inboundSchema),
3189
- z.lazy(() => CreateManagerResponseRouteGateway6$inboundSchema),
3190
- ]),
3191
- });
3192
-
3193
- export function createManagerResponseExposureCustom3FromJSON(
3194
- jsonString: string,
3195
- ): SafeParseResult<CreateManagerResponseExposureCustom3, SDKValidationError> {
3196
- return safeParse(
3197
- jsonString,
3198
- (x) =>
3199
- CreateManagerResponseExposureCustom3$inboundSchema.parse(JSON.parse(x)),
3200
- `Failed to parse 'CreateManagerResponseExposureCustom3' from JSON`,
3201
- );
3202
- }
3203
-
3204
- /** @internal */
3205
- export const CreateManagerResponseCertificateNone5$inboundSchema: z.ZodType<
3206
- CreateManagerResponseCertificateNone5,
3207
- unknown
3208
- > = z.object({
3209
- mode: z.literal("none"),
3210
- });
3211
-
3212
- export function createManagerResponseCertificateNone5FromJSON(
3213
- jsonString: string,
3214
- ): SafeParseResult<CreateManagerResponseCertificateNone5, SDKValidationError> {
3215
- return safeParse(
3216
- jsonString,
3217
- (x) =>
3218
- CreateManagerResponseCertificateNone5$inboundSchema.parse(JSON.parse(x)),
3219
- `Failed to parse 'CreateManagerResponseCertificateNone5' from JSON`,
3220
- );
3221
- }
3222
-
3223
- /** @internal */
3224
- export const CreateManagerResponseCertificateManagedTLSSecret5$inboundSchema:
3225
- z.ZodType<CreateManagerResponseCertificateManagedTLSSecret5, unknown> = z
3226
- .object({
3227
- mode: z.literal("managedTlsSecret"),
3228
- secretNameTemplate: z.string(),
3229
- });
3230
-
3231
- export function createManagerResponseCertificateManagedTLSSecret5FromJSON(
3232
- jsonString: string,
3233
- ): SafeParseResult<
3234
- CreateManagerResponseCertificateManagedTLSSecret5,
3235
- SDKValidationError
3236
- > {
3237
- return safeParse(
3238
- jsonString,
3239
- (x) =>
3240
- CreateManagerResponseCertificateManagedTLSSecret5$inboundSchema.parse(
3241
- JSON.parse(x),
3242
- ),
3243
- `Failed to parse 'CreateManagerResponseCertificateManagedTLSSecret5' from JSON`,
3244
- );
3245
- }
3246
-
3247
- /** @internal */
3248
- export const CreateManagerResponseCertificateAwsAcmArn5$inboundSchema:
3249
- z.ZodType<CreateManagerResponseCertificateAwsAcmArn5, unknown> = z.object({
3250
- certificateArn: z.string(),
3251
- mode: z.literal("awsAcmArn"),
3252
- });
3253
-
3254
- export function createManagerResponseCertificateAwsAcmArn5FromJSON(
3255
- jsonString: string,
3256
- ): SafeParseResult<
3257
- CreateManagerResponseCertificateAwsAcmArn5,
3258
- SDKValidationError
3259
- > {
3260
- return safeParse(
3261
- jsonString,
3262
- (x) =>
3263
- CreateManagerResponseCertificateAwsAcmArn5$inboundSchema.parse(
3264
- JSON.parse(x),
3265
- ),
3266
- `Failed to parse 'CreateManagerResponseCertificateAwsAcmArn5' from JSON`,
3267
- );
3268
- }
3269
-
3270
- /** @internal */
3271
- export const CreateManagerResponseCertificateManagedAcmImport5$inboundSchema:
3272
- z.ZodType<CreateManagerResponseCertificateManagedAcmImport5, unknown> = z
3273
- .object({
3274
- mode: z.literal("managedAcmImport"),
3275
- region: z.nullable(z.string()).optional(),
3276
- tags: z.record(z.string(), z.string()).optional(),
3277
- });
3278
-
3279
- export function createManagerResponseCertificateManagedAcmImport5FromJSON(
3280
- jsonString: string,
3281
- ): SafeParseResult<
3282
- CreateManagerResponseCertificateManagedAcmImport5,
3283
- SDKValidationError
3284
- > {
3285
- return safeParse(
3286
- jsonString,
3287
- (x) =>
3288
- CreateManagerResponseCertificateManagedAcmImport5$inboundSchema.parse(
3289
- JSON.parse(x),
3290
- ),
3291
- `Failed to parse 'CreateManagerResponseCertificateManagedAcmImport5' from JSON`,
3292
- );
3293
- }
3294
-
3295
- /** @internal */
3296
- export const CreateManagerResponseCertificateTLSSecretRef5$inboundSchema:
3297
- z.ZodType<CreateManagerResponseCertificateTLSSecretRef5, unknown> = z.object({
3298
- namespace: z.nullable(z.string()).optional(),
3299
- secretName: z.string(),
3300
- mode: z.literal("tlsSecretRef"),
3301
- });
3302
-
3303
- export function createManagerResponseCertificateTLSSecretRef5FromJSON(
3304
- jsonString: string,
3305
- ): SafeParseResult<
3306
- CreateManagerResponseCertificateTLSSecretRef5,
3307
- SDKValidationError
3308
- > {
3309
- return safeParse(
3310
- jsonString,
3311
- (x) =>
3312
- CreateManagerResponseCertificateTLSSecretRef5$inboundSchema.parse(
3313
- JSON.parse(x),
3314
- ),
3315
- `Failed to parse 'CreateManagerResponseCertificateTLSSecretRef5' from JSON`,
3316
- );
3317
- }
3318
-
3319
- /** @internal */
3320
- export const CreateManagerResponseCertificateUnion5$inboundSchema: z.ZodType<
3321
- CreateManagerResponseCertificateUnion5,
3322
- unknown
3323
- > = z.union([
3324
- z.lazy(() => CreateManagerResponseCertificateTLSSecretRef5$inboundSchema),
3325
- z.lazy(() => CreateManagerResponseCertificateManagedAcmImport5$inboundSchema),
3326
- z.lazy(() => CreateManagerResponseCertificateAwsAcmArn5$inboundSchema),
3327
- z.lazy(() => CreateManagerResponseCertificateManagedTLSSecret5$inboundSchema),
3328
- z.lazy(() => CreateManagerResponseCertificateNone5$inboundSchema),
3329
- ]);
3330
-
3331
- export function createManagerResponseCertificateUnion5FromJSON(
3332
- jsonString: string,
3333
- ): SafeParseResult<CreateManagerResponseCertificateUnion5, SDKValidationError> {
3334
- return safeParse(
3335
- jsonString,
3336
- (x) =>
3337
- CreateManagerResponseCertificateUnion5$inboundSchema.parse(JSON.parse(x)),
3338
- `Failed to parse 'CreateManagerResponseCertificateUnion5' from JSON`,
3339
- );
3340
- }
3341
-
3342
- /** @internal */
3343
- export const CreateManagerResponseModeGenerated3$inboundSchema: z.ZodEnum<
3344
- typeof CreateManagerResponseModeGenerated3
3345
- > = z.enum(CreateManagerResponseModeGenerated3);
3346
-
3347
- /** @internal */
3348
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum10$inboundSchema:
3349
- z.ZodEnum<
3350
- typeof CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum10
3351
- > = z.enum(
3352
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum10,
3353
- );
3354
-
3355
- /** @internal */
3356
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainers10$inboundSchema:
3357
- z.ZodType<
3358
- CreateManagerResponseProviderAzureApplicationGatewayForContainers10,
3359
- unknown
3360
- > = z.object({
3361
- albName: z.nullable(z.string()).optional(),
3362
- albNamespace: z.nullable(z.string()).optional(),
3363
- frontend: z.string(),
3364
- provider:
3365
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum10$inboundSchema,
3366
- });
3367
-
3368
- export function createManagerResponseProviderAzureApplicationGatewayForContainers10FromJSON(
3369
- jsonString: string,
3370
- ): SafeParseResult<
3371
- CreateManagerResponseProviderAzureApplicationGatewayForContainers10,
3372
- SDKValidationError
3373
- > {
3374
- return safeParse(
3375
- jsonString,
3376
- (x) =>
3377
- CreateManagerResponseProviderAzureApplicationGatewayForContainers10$inboundSchema
3378
- .parse(JSON.parse(x)),
3379
- `Failed to parse 'CreateManagerResponseProviderAzureApplicationGatewayForContainers10' from JSON`,
3380
- );
3381
- }
3382
-
3383
- /** @internal */
3384
- export const CreateManagerResponseProviderGkeGatewayEnum10$inboundSchema:
3385
- z.ZodEnum<typeof CreateManagerResponseProviderGkeGatewayEnum10> = z.enum(
3386
- CreateManagerResponseProviderGkeGatewayEnum10,
3387
- );
3388
-
3389
- /** @internal */
3390
- export const CreateManagerResponseProviderGkeGateway10$inboundSchema: z.ZodType<
3391
- CreateManagerResponseProviderGkeGateway10,
3392
- unknown
3393
- > = z.object({
3394
- provider: CreateManagerResponseProviderGkeGatewayEnum10$inboundSchema,
3395
- staticAddressName: z.nullable(z.string()).optional(),
3396
- });
3397
-
3398
- export function createManagerResponseProviderGkeGateway10FromJSON(
3399
- jsonString: string,
3400
- ): SafeParseResult<
3401
- CreateManagerResponseProviderGkeGateway10,
3402
- SDKValidationError
3403
- > {
3404
- return safeParse(
3405
- jsonString,
3406
- (x) =>
3407
- CreateManagerResponseProviderGkeGateway10$inboundSchema.parse(
3408
- JSON.parse(x),
3409
- ),
3410
- `Failed to parse 'CreateManagerResponseProviderGkeGateway10' from JSON`,
3411
- );
3412
- }
3413
-
3414
- /** @internal */
3415
- export const CreateManagerResponseProviderAwsAlbEnum10$inboundSchema: z.ZodEnum<
3416
- typeof CreateManagerResponseProviderAwsAlbEnum10
3417
- > = z.enum(CreateManagerResponseProviderAwsAlbEnum10);
3418
-
3419
- /** @internal */
3420
- export const CreateManagerResponseProviderAwsAlb10$inboundSchema: z.ZodType<
3421
- CreateManagerResponseProviderAwsAlb10,
3422
- unknown
3423
- > = z.object({
3424
- ipAddressType: z.nullable(z.string()).optional(),
3425
- provider: CreateManagerResponseProviderAwsAlbEnum10$inboundSchema,
3426
- scheme: z.string(),
3427
- subnetIds: z.array(z.string()).optional(),
3428
- targetType: z.string(),
3429
- });
3430
-
3431
- export function createManagerResponseProviderAwsAlb10FromJSON(
3432
- jsonString: string,
3433
- ): SafeParseResult<CreateManagerResponseProviderAwsAlb10, SDKValidationError> {
3434
- return safeParse(
3435
- jsonString,
3436
- (x) =>
3437
- CreateManagerResponseProviderAwsAlb10$inboundSchema.parse(JSON.parse(x)),
3438
- `Failed to parse 'CreateManagerResponseProviderAwsAlb10' from JSON`,
3439
- );
3440
- }
3441
-
3442
- /** @internal */
3443
- export const CreateManagerResponseProviderUnion10$inboundSchema: z.ZodType<
3444
- CreateManagerResponseProviderUnion10,
3445
- unknown
3446
- > = z.union([
3447
- z.lazy(() => CreateManagerResponseProviderAwsAlb10$inboundSchema),
3448
- z.lazy(() =>
3449
- CreateManagerResponseProviderAzureApplicationGatewayForContainers10$inboundSchema
3450
- ),
3451
- z.lazy(() => CreateManagerResponseProviderGkeGateway10$inboundSchema),
3452
- z.string(),
3453
- ]);
3454
-
3455
- export function createManagerResponseProviderUnion10FromJSON(
3456
- jsonString: string,
3457
- ): SafeParseResult<CreateManagerResponseProviderUnion10, SDKValidationError> {
3458
- return safeParse(
3459
- jsonString,
3460
- (x) =>
3461
- CreateManagerResponseProviderUnion10$inboundSchema.parse(JSON.parse(x)),
3462
- `Failed to parse 'CreateManagerResponseProviderUnion10' from JSON`,
3463
- );
3464
- }
3465
-
3466
- /** @internal */
3467
- export const CreateManagerResponseRouteGateway5$inboundSchema: z.ZodType<
3468
- CreateManagerResponseRouteGateway5,
3469
- unknown
3470
- > = z.object({
3471
- annotations: z.record(z.string(), z.string()).optional(),
3472
- controller: z.nullable(z.string()).optional(),
3473
- gatewayClassName: z.string(),
3474
- labels: z.record(z.string(), z.string()).optional(),
3475
- listenerPort: z.int(),
3476
- provider: z.nullable(
3477
- z.union([
3478
- z.lazy(() => CreateManagerResponseProviderAwsAlb10$inboundSchema),
3479
- z.lazy(() =>
3480
- CreateManagerResponseProviderAzureApplicationGatewayForContainers10$inboundSchema
3481
- ),
3482
- z.lazy(() => CreateManagerResponseProviderGkeGateway10$inboundSchema),
3483
- z.string(),
3484
- ]),
3485
- ).optional(),
3486
- routeApi: z.literal("gateway"),
3487
- });
3488
-
3489
- export function createManagerResponseRouteGateway5FromJSON(
3490
- jsonString: string,
3491
- ): SafeParseResult<CreateManagerResponseRouteGateway5, SDKValidationError> {
3492
- return safeParse(
3493
- jsonString,
3494
- (x) =>
3495
- CreateManagerResponseRouteGateway5$inboundSchema.parse(JSON.parse(x)),
3496
- `Failed to parse 'CreateManagerResponseRouteGateway5' from JSON`,
3497
- );
3498
- }
3499
-
3500
- /** @internal */
3501
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum9$inboundSchema:
3502
- z.ZodEnum<
3503
- typeof CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum9
3504
- > = z.enum(
3505
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum9,
3506
- );
3507
-
3508
- /** @internal */
3509
- export const CreateManagerResponseProviderAzureApplicationGatewayForContainers9$inboundSchema:
3510
- z.ZodType<
3511
- CreateManagerResponseProviderAzureApplicationGatewayForContainers9,
3512
- unknown
3513
- > = z.object({
3514
- albName: z.nullable(z.string()).optional(),
3515
- albNamespace: z.nullable(z.string()).optional(),
3516
- frontend: z.string(),
3517
- provider:
3518
- CreateManagerResponseProviderAzureApplicationGatewayForContainersEnum9$inboundSchema,
3519
- });
3520
-
3521
- export function createManagerResponseProviderAzureApplicationGatewayForContainers9FromJSON(
3522
- jsonString: string,
3523
- ): SafeParseResult<
3524
- CreateManagerResponseProviderAzureApplicationGatewayForContainers9,
3525
- SDKValidationError
3526
- > {
3527
- return safeParse(
3528
- jsonString,
3529
- (x) =>
3530
- CreateManagerResponseProviderAzureApplicationGatewayForContainers9$inboundSchema
3531
- .parse(JSON.parse(x)),
3532
- `Failed to parse 'CreateManagerResponseProviderAzureApplicationGatewayForContainers9' from JSON`,
3533
- );
3534
- }
3535
-
3536
- /** @internal */
3537
- export const CreateManagerResponseProviderGkeGatewayEnum9$inboundSchema:
3538
- z.ZodEnum<typeof CreateManagerResponseProviderGkeGatewayEnum9> = z.enum(
3539
- CreateManagerResponseProviderGkeGatewayEnum9,
3540
- );
3541
-
3542
- /** @internal */
3543
- export const CreateManagerResponseProviderGkeGateway9$inboundSchema: z.ZodType<
3544
- CreateManagerResponseProviderGkeGateway9,
3545
- unknown
3546
- > = z.object({
3547
- provider: CreateManagerResponseProviderGkeGatewayEnum9$inboundSchema,
3548
- staticAddressName: z.nullable(z.string()).optional(),
3549
- });
3550
-
3551
- export function createManagerResponseProviderGkeGateway9FromJSON(
3552
- jsonString: string,
3553
- ): SafeParseResult<
3554
- CreateManagerResponseProviderGkeGateway9,
3555
- SDKValidationError
3556
- > {
3557
- return safeParse(
3558
- jsonString,
3559
- (x) =>
3560
- CreateManagerResponseProviderGkeGateway9$inboundSchema.parse(
3561
- JSON.parse(x),
3562
- ),
3563
- `Failed to parse 'CreateManagerResponseProviderGkeGateway9' from JSON`,
3564
- );
3565
- }
3566
-
3567
- /** @internal */
3568
- export const CreateManagerResponseProviderAwsAlbEnum9$inboundSchema: z.ZodEnum<
3569
- typeof CreateManagerResponseProviderAwsAlbEnum9
3570
- > = z.enum(CreateManagerResponseProviderAwsAlbEnum9);
3571
-
3572
- /** @internal */
3573
- export const CreateManagerResponseProviderAwsAlb9$inboundSchema: z.ZodType<
3574
- CreateManagerResponseProviderAwsAlb9,
3575
- unknown
3576
- > = z.object({
3577
- ipAddressType: z.nullable(z.string()).optional(),
3578
- provider: CreateManagerResponseProviderAwsAlbEnum9$inboundSchema,
3579
- scheme: z.string(),
3580
- subnetIds: z.array(z.string()).optional(),
3581
- targetType: z.string(),
3582
- });
3583
-
3584
- export function createManagerResponseProviderAwsAlb9FromJSON(
3585
- jsonString: string,
3586
- ): SafeParseResult<CreateManagerResponseProviderAwsAlb9, SDKValidationError> {
3587
- return safeParse(
3588
- jsonString,
3589
- (x) =>
3590
- CreateManagerResponseProviderAwsAlb9$inboundSchema.parse(JSON.parse(x)),
3591
- `Failed to parse 'CreateManagerResponseProviderAwsAlb9' from JSON`,
3592
- );
3593
- }
3594
-
3595
- /** @internal */
3596
- export const CreateManagerResponseProviderUnion9$inboundSchema: z.ZodType<
3597
- CreateManagerResponseProviderUnion9,
3598
- unknown
3599
- > = z.union([
3600
- z.lazy(() => CreateManagerResponseProviderAwsAlb9$inboundSchema),
3601
- z.lazy(() =>
3602
- CreateManagerResponseProviderAzureApplicationGatewayForContainers9$inboundSchema
3603
- ),
3604
- z.lazy(() => CreateManagerResponseProviderGkeGateway9$inboundSchema),
3605
- z.string(),
3606
- ]);
3607
-
3608
- export function createManagerResponseProviderUnion9FromJSON(
3609
- jsonString: string,
3610
- ): SafeParseResult<CreateManagerResponseProviderUnion9, SDKValidationError> {
3611
- return safeParse(
3612
- jsonString,
3613
- (x) =>
3614
- CreateManagerResponseProviderUnion9$inboundSchema.parse(JSON.parse(x)),
3615
- `Failed to parse 'CreateManagerResponseProviderUnion9' from JSON`,
3616
- );
3617
- }
3618
-
3619
- /** @internal */
3620
- export const CreateManagerResponseRouteIngress5$inboundSchema: z.ZodType<
3621
- CreateManagerResponseRouteIngress5,
3622
- unknown
3623
- > = z.object({
3624
- annotations: z.record(z.string(), z.string()).optional(),
3625
- controller: z.nullable(z.string()).optional(),
3626
- ingressClassName: z.string(),
3627
- labels: z.record(z.string(), z.string()).optional(),
3628
- provider: z.nullable(
3629
- z.union([
3630
- z.lazy(() => CreateManagerResponseProviderAwsAlb9$inboundSchema),
3631
- z.lazy(() =>
3632
- CreateManagerResponseProviderAzureApplicationGatewayForContainers9$inboundSchema
3633
- ),
3634
- z.lazy(() => CreateManagerResponseProviderGkeGateway9$inboundSchema),
3635
- z.string(),
3636
- ]),
3637
- ).optional(),
3638
- routeApi: z.literal("ingress"),
3639
- });
3640
-
3641
- export function createManagerResponseRouteIngress5FromJSON(
3642
- jsonString: string,
3643
- ): SafeParseResult<CreateManagerResponseRouteIngress5, SDKValidationError> {
3644
- return safeParse(
3645
- jsonString,
3646
- (x) =>
3647
- CreateManagerResponseRouteIngress5$inboundSchema.parse(JSON.parse(x)),
3648
- `Failed to parse 'CreateManagerResponseRouteIngress5' from JSON`,
3649
- );
3650
- }
3651
-
3652
- /** @internal */
3653
- export const CreateManagerResponseRouteUnion5$inboundSchema: z.ZodType<
3654
- CreateManagerResponseRouteUnion5,
3655
- unknown
3656
- > = z.union([
3657
- z.lazy(() => CreateManagerResponseRouteIngress5$inboundSchema),
3658
- z.lazy(() => CreateManagerResponseRouteGateway5$inboundSchema),
3659
- ]);
3660
-
3661
- export function createManagerResponseRouteUnion5FromJSON(
3662
- jsonString: string,
3663
- ): SafeParseResult<CreateManagerResponseRouteUnion5, SDKValidationError> {
3664
- return safeParse(
3665
- jsonString,
3666
- (x) => CreateManagerResponseRouteUnion5$inboundSchema.parse(JSON.parse(x)),
3667
- `Failed to parse 'CreateManagerResponseRouteUnion5' from JSON`,
3668
- );
3669
- }
3670
-
3671
- /** @internal */
3672
- export const CreateManagerResponseExposureGenerated3$inboundSchema: z.ZodType<
3673
- CreateManagerResponseExposureGenerated3,
3674
- unknown
3675
- > = z.object({
3676
- certificate: z.union([
3677
- z.lazy(() => CreateManagerResponseCertificateTLSSecretRef5$inboundSchema),
3678
- z.lazy(() =>
3679
- CreateManagerResponseCertificateManagedAcmImport5$inboundSchema
3680
- ),
3681
- z.lazy(() => CreateManagerResponseCertificateAwsAcmArn5$inboundSchema),
3682
- z.lazy(() =>
3683
- CreateManagerResponseCertificateManagedTLSSecret5$inboundSchema
3684
- ),
3685
- z.lazy(() => CreateManagerResponseCertificateNone5$inboundSchema),
3686
- ]),
3687
- mode: CreateManagerResponseModeGenerated3$inboundSchema,
3688
- route: z.union([
3689
- z.lazy(() => CreateManagerResponseRouteIngress5$inboundSchema),
3690
- z.lazy(() => CreateManagerResponseRouteGateway5$inboundSchema),
3691
- ]),
3692
- });
3693
-
3694
- export function createManagerResponseExposureGenerated3FromJSON(
3695
- jsonString: string,
3696
- ): SafeParseResult<
3697
- CreateManagerResponseExposureGenerated3,
3698
- SDKValidationError
3699
- > {
3700
- return safeParse(
3701
- jsonString,
3702
- (x) =>
3703
- CreateManagerResponseExposureGenerated3$inboundSchema.parse(
3704
- JSON.parse(x),
3705
- ),
3706
- `Failed to parse 'CreateManagerResponseExposureGenerated3' from JSON`,
3707
- );
3708
- }
3709
-
3710
- /** @internal */
3711
- export const CreateManagerResponseModeDisabled3$inboundSchema: z.ZodEnum<
3712
- typeof CreateManagerResponseModeDisabled3
3713
- > = z.enum(CreateManagerResponseModeDisabled3);
3714
-
3715
- /** @internal */
3716
- export const CreateManagerResponseExposureDisabled3$inboundSchema: z.ZodType<
3717
- CreateManagerResponseExposureDisabled3,
3718
- unknown
3719
- > = z.object({
3720
- mode: CreateManagerResponseModeDisabled3$inboundSchema,
3721
- });
3722
-
3723
- export function createManagerResponseExposureDisabled3FromJSON(
3724
- jsonString: string,
3725
- ): SafeParseResult<CreateManagerResponseExposureDisabled3, SDKValidationError> {
3726
- return safeParse(
3727
- jsonString,
3728
- (x) =>
3729
- CreateManagerResponseExposureDisabled3$inboundSchema.parse(JSON.parse(x)),
3730
- `Failed to parse 'CreateManagerResponseExposureDisabled3' from JSON`,
3731
- );
3732
- }
3733
-
3734
- /** @internal */
3735
- export const CreateManagerResponseExposureUnion3$inboundSchema: z.ZodType<
3736
- CreateManagerResponseExposureUnion3,
3737
- unknown
3738
- > = z.union([
3739
- z.lazy(() => CreateManagerResponseExposureCustom3$inboundSchema),
3740
- z.lazy(() => CreateManagerResponseExposureGenerated3$inboundSchema),
3741
- z.lazy(() => CreateManagerResponseExposureDisabled3$inboundSchema),
3742
- z.string(),
3743
- ]);
3744
-
3745
- export function createManagerResponseExposureUnion3FromJSON(
3746
- jsonString: string,
3747
- ): SafeParseResult<CreateManagerResponseExposureUnion3, SDKValidationError> {
3748
- return safeParse(
3749
- jsonString,
3750
- (x) =>
3751
- CreateManagerResponseExposureUnion3$inboundSchema.parse(JSON.parse(x)),
3752
- `Failed to parse 'CreateManagerResponseExposureUnion3' from JSON`,
3753
- );
3754
- }
3755
-
3756
- /** @internal */
3757
- export const CreateManagerResponseKubernetes3$inboundSchema: z.ZodType<
3758
- CreateManagerResponseKubernetes3,
3759
- unknown
3760
- > = z.object({
3761
- cluster: z.nullable(
3762
- z.union([
3763
- z.lazy(() => CreateManagerResponseCluster3$inboundSchema),
3764
- z.string(),
3765
- ]),
3766
- ).optional(),
3767
- exposure: z.nullable(
3768
- z.union([
3769
- z.lazy(() => CreateManagerResponseExposureCustom3$inboundSchema),
3770
- z.lazy(() => CreateManagerResponseExposureGenerated3$inboundSchema),
3771
- z.lazy(() => CreateManagerResponseExposureDisabled3$inboundSchema),
3772
- z.string(),
3773
- ]),
3774
- ).optional(),
3775
- });
3776
-
3777
- export function createManagerResponseKubernetes3FromJSON(
3778
- jsonString: string,
3779
- ): SafeParseResult<CreateManagerResponseKubernetes3, SDKValidationError> {
3780
- return safeParse(
3781
- jsonString,
3782
- (x) => CreateManagerResponseKubernetes3$inboundSchema.parse(JSON.parse(x)),
3783
- `Failed to parse 'CreateManagerResponseKubernetes3' from JSON`,
3784
- );
3785
- }
3786
-
3787
- /** @internal */
3788
- export const CreateManagerResponseKubernetesUnion3$inboundSchema: z.ZodType<
3789
- CreateManagerResponseKubernetesUnion3,
3790
- unknown
3791
- > = z.union([
3792
- z.lazy(() => CreateManagerResponseKubernetes3$inboundSchema),
3793
- z.string(),
3794
- ]);
3795
-
3796
- export function createManagerResponseKubernetesUnion3FromJSON(
3797
- jsonString: string,
3798
- ): SafeParseResult<CreateManagerResponseKubernetesUnion3, SDKValidationError> {
3799
- return safeParse(
3800
- jsonString,
3801
- (x) =>
3802
- CreateManagerResponseKubernetesUnion3$inboundSchema.parse(JSON.parse(x)),
3803
- `Failed to parse 'CreateManagerResponseKubernetesUnion3' from JSON`,
3804
- );
3805
- }
3806
-
3807
- /** @internal */
3808
- export const CreateManagerResponseTypeByoVnetAzure3$inboundSchema: z.ZodEnum<
3809
- typeof CreateManagerResponseTypeByoVnetAzure3
3810
- > = z.enum(CreateManagerResponseTypeByoVnetAzure3);
3811
-
3812
- /** @internal */
3813
- export const CreateManagerResponseNetworkByoVnetAzure3$inboundSchema: z.ZodType<
3814
- CreateManagerResponseNetworkByoVnetAzure3,
3815
- unknown
3816
- > = z.object({
3817
- application_gateway_subnet_name: z.nullable(z.string()).optional(),
3818
- private_endpoint_subnet_name: z.nullable(z.string()).optional(),
3819
- private_subnet_name: z.string(),
3820
- public_subnet_name: z.string(),
3821
- type: CreateManagerResponseTypeByoVnetAzure3$inboundSchema,
3822
- vnet_resource_id: z.string(),
3823
- }).transform((v) => {
3824
- return remap$(v, {
3825
- "application_gateway_subnet_name": "applicationGatewaySubnetName",
3826
- "private_endpoint_subnet_name": "privateEndpointSubnetName",
3827
- "private_subnet_name": "privateSubnetName",
3828
- "public_subnet_name": "publicSubnetName",
3829
- "vnet_resource_id": "vnetResourceId",
3830
- });
3831
- });
3832
-
3833
- export function createManagerResponseNetworkByoVnetAzure3FromJSON(
3834
- jsonString: string,
3835
- ): SafeParseResult<
3836
- CreateManagerResponseNetworkByoVnetAzure3,
3837
- SDKValidationError
3838
- > {
3839
- return safeParse(
3840
- jsonString,
3841
- (x) =>
3842
- CreateManagerResponseNetworkByoVnetAzure3$inboundSchema.parse(
3843
- JSON.parse(x),
3844
- ),
3845
- `Failed to parse 'CreateManagerResponseNetworkByoVnetAzure3' from JSON`,
3846
- );
3847
- }
3848
-
3849
- /** @internal */
3850
- export const CreateManagerResponseTypeByoVpcGcp3$inboundSchema: z.ZodEnum<
3851
- typeof CreateManagerResponseTypeByoVpcGcp3
3852
- > = z.enum(CreateManagerResponseTypeByoVpcGcp3);
3853
-
3854
- /** @internal */
3855
- export const CreateManagerResponseNetworkByoVpcGcp3$inboundSchema: z.ZodType<
3856
- CreateManagerResponseNetworkByoVpcGcp3,
3857
- unknown
3858
- > = z.object({
3859
- network_name: z.string(),
3860
- region: z.string(),
3861
- subnet_name: z.string(),
3862
- type: CreateManagerResponseTypeByoVpcGcp3$inboundSchema,
3863
- }).transform((v) => {
3864
- return remap$(v, {
3865
- "network_name": "networkName",
3866
- "subnet_name": "subnetName",
3867
- });
3868
- });
3869
-
3870
- export function createManagerResponseNetworkByoVpcGcp3FromJSON(
3871
- jsonString: string,
3872
- ): SafeParseResult<CreateManagerResponseNetworkByoVpcGcp3, SDKValidationError> {
3873
- return safeParse(
3874
- jsonString,
3875
- (x) =>
3876
- CreateManagerResponseNetworkByoVpcGcp3$inboundSchema.parse(JSON.parse(x)),
3877
- `Failed to parse 'CreateManagerResponseNetworkByoVpcGcp3' from JSON`,
3878
- );
3879
- }
3880
-
3881
- /** @internal */
3882
- export const CreateManagerResponseTypeByoVpcAws3$inboundSchema: z.ZodEnum<
3883
- typeof CreateManagerResponseTypeByoVpcAws3
3884
- > = z.enum(CreateManagerResponseTypeByoVpcAws3);
3885
-
3886
- /** @internal */
3887
- export const CreateManagerResponseNetworkByoVpcAws3$inboundSchema: z.ZodType<
3888
- CreateManagerResponseNetworkByoVpcAws3,
3889
- unknown
3890
- > = z.object({
3891
- private_subnet_ids: z.array(z.string()),
3892
- public_subnet_ids: z.array(z.string()),
3893
- security_group_ids: z.array(z.string()).optional(),
3894
- type: CreateManagerResponseTypeByoVpcAws3$inboundSchema,
3895
- vpc_id: z.string(),
3896
- }).transform((v) => {
3897
- return remap$(v, {
3898
- "private_subnet_ids": "privateSubnetIds",
3899
- "public_subnet_ids": "publicSubnetIds",
3900
- "security_group_ids": "securityGroupIds",
3901
- "vpc_id": "vpcId",
3902
- });
3903
- });
3904
-
3905
- export function createManagerResponseNetworkByoVpcAws3FromJSON(
3906
- jsonString: string,
3907
- ): SafeParseResult<CreateManagerResponseNetworkByoVpcAws3, SDKValidationError> {
3908
- return safeParse(
3909
- jsonString,
3910
- (x) =>
3911
- CreateManagerResponseNetworkByoVpcAws3$inboundSchema.parse(JSON.parse(x)),
3912
- `Failed to parse 'CreateManagerResponseNetworkByoVpcAws3' from JSON`,
3913
- );
3914
- }
3915
-
3916
- /** @internal */
3917
- export const CreateManagerResponseTypeCreate3$inboundSchema: z.ZodEnum<
3918
- typeof CreateManagerResponseTypeCreate3
3919
- > = z.enum(CreateManagerResponseTypeCreate3);
3920
-
3921
- /** @internal */
3922
- export const CreateManagerResponseNetworkCreate3$inboundSchema: z.ZodType<
3923
- CreateManagerResponseNetworkCreate3,
3924
- unknown
3925
- > = z.object({
3926
- availability_zones: z.int().optional(),
3927
- cidr: z.nullable(z.string()).optional(),
3928
- type: CreateManagerResponseTypeCreate3$inboundSchema,
3929
- }).transform((v) => {
3930
- return remap$(v, {
3931
- "availability_zones": "availabilityZones",
3932
- });
3933
- });
3934
-
3935
- export function createManagerResponseNetworkCreate3FromJSON(
3936
- jsonString: string,
3937
- ): SafeParseResult<CreateManagerResponseNetworkCreate3, SDKValidationError> {
3938
- return safeParse(
3939
- jsonString,
3940
- (x) =>
3941
- CreateManagerResponseNetworkCreate3$inboundSchema.parse(JSON.parse(x)),
3942
- `Failed to parse 'CreateManagerResponseNetworkCreate3' from JSON`,
3943
- );
3944
- }
3945
-
3946
- /** @internal */
3947
- export const CreateManagerResponseTypeUseDefault3$inboundSchema: z.ZodEnum<
3948
- typeof CreateManagerResponseTypeUseDefault3
3949
- > = z.enum(CreateManagerResponseTypeUseDefault3);
3950
-
3951
- /** @internal */
3952
- export const CreateManagerResponseNetworkUseDefault3$inboundSchema: z.ZodType<
3953
- CreateManagerResponseNetworkUseDefault3,
3954
- unknown
3955
- > = z.object({
3956
- type: CreateManagerResponseTypeUseDefault3$inboundSchema,
3957
- });
3958
-
3959
- export function createManagerResponseNetworkUseDefault3FromJSON(
3960
- jsonString: string,
3961
- ): SafeParseResult<
3962
- CreateManagerResponseNetworkUseDefault3,
3963
- SDKValidationError
3964
- > {
3965
- return safeParse(
3966
- jsonString,
3967
- (x) =>
3968
- CreateManagerResponseNetworkUseDefault3$inboundSchema.parse(
3969
- JSON.parse(x),
3970
- ),
3971
- `Failed to parse 'CreateManagerResponseNetworkUseDefault3' from JSON`,
3972
- );
3973
- }
3974
-
3975
- /** @internal */
3976
- export const CreateManagerResponseNetworkUnion3$inboundSchema: z.ZodType<
3977
- CreateManagerResponseNetworkUnion3,
3978
- unknown
3979
- > = z.union([
3980
- z.lazy(() => CreateManagerResponseNetworkByoVpcAws3$inboundSchema),
3981
- z.lazy(() => CreateManagerResponseNetworkByoVpcGcp3$inboundSchema),
3982
- z.lazy(() => CreateManagerResponseNetworkByoVnetAzure3$inboundSchema),
3983
- z.lazy(() => CreateManagerResponseNetworkUseDefault3$inboundSchema),
3984
- z.lazy(() => CreateManagerResponseNetworkCreate3$inboundSchema),
3985
- z.string(),
3986
- ]);
3987
-
3988
- export function createManagerResponseNetworkUnion3FromJSON(
3989
- jsonString: string,
3990
- ): SafeParseResult<CreateManagerResponseNetworkUnion3, SDKValidationError> {
3991
- return safeParse(
3992
- jsonString,
3993
- (x) =>
3994
- CreateManagerResponseNetworkUnion3$inboundSchema.parse(JSON.parse(x)),
3995
- `Failed to parse 'CreateManagerResponseNetworkUnion3' from JSON`,
3996
- );
3997
- }
3998
-
3999
- /** @internal */
4000
- export const CreateManagerResponseTelemetry3$inboundSchema: z.ZodEnum<
4001
- typeof CreateManagerResponseTelemetry3
4002
- > = z.enum(CreateManagerResponseTelemetry3);
4003
-
4004
- /** @internal */
4005
- export const CreateManagerResponseUpdates3$inboundSchema: z.ZodEnum<
4006
- typeof CreateManagerResponseUpdates3
4007
- > = z.enum(CreateManagerResponseUpdates3);
4008
-
4009
- /** @internal */
4010
- export const CreateManagerResponseStackSettings3$inboundSchema: z.ZodType<
4011
- CreateManagerResponseStackSettings3,
4012
- unknown
4013
- > = z.object({
4014
- compute: z.nullable(
4015
- z.union([
4016
- z.lazy(() => CreateManagerResponseCompute3$inboundSchema),
4017
- z.string(),
4018
- ]),
4019
- ).optional(),
4020
- deploymentModel: CreateManagerResponseDeploymentModel3$inboundSchema
4021
- .optional(),
4022
- domains: z.nullable(
4023
- z.union([
4024
- z.lazy(() => CreateManagerResponseDomains3$inboundSchema),
4025
- z.string(),
4026
- ]),
4027
- ).optional(),
4028
- endpointAccess: CreateManagerResponseEndpointAccess3$inboundSchema.optional(),
4029
- externalBindings: z.nullable(
4030
- z.record(z.string(), ExternalBindingUnion$inboundSchema),
4031
- ).optional(),
4032
- heartbeats: CreateManagerResponseHeartbeats3$inboundSchema.optional(),
4033
- kubernetes: z.nullable(
4034
- z.union([
4035
- z.lazy(() => CreateManagerResponseKubernetes3$inboundSchema),
4036
- z.string(),
4037
- ]),
4038
- ).optional(),
4039
- network: z.nullable(
4040
- z.union([
4041
- z.lazy(() => CreateManagerResponseNetworkByoVpcAws3$inboundSchema),
4042
- z.lazy(() => CreateManagerResponseNetworkByoVpcGcp3$inboundSchema),
4043
- z.lazy(() => CreateManagerResponseNetworkByoVnetAzure3$inboundSchema),
4044
- z.lazy(() => CreateManagerResponseNetworkUseDefault3$inboundSchema),
4045
- z.lazy(() => CreateManagerResponseNetworkCreate3$inboundSchema),
4046
- z.string(),
4047
- ]),
4048
- ).optional(),
4049
- publicEndpoints: z.nullable(
4050
- z.record(z.string(), z.record(z.string(), z.string())),
4051
- ).optional(),
4052
- telemetry: CreateManagerResponseTelemetry3$inboundSchema.optional(),
4053
- updates: CreateManagerResponseUpdates3$inboundSchema.optional(),
4054
- });
4055
-
4056
- export function createManagerResponseStackSettings3FromJSON(
4057
- jsonString: string,
4058
- ): SafeParseResult<CreateManagerResponseStackSettings3, SDKValidationError> {
4059
- return safeParse(
4060
- jsonString,
4061
- (x) =>
4062
- CreateManagerResponseStackSettings3$inboundSchema.parse(JSON.parse(x)),
4063
- `Failed to parse 'CreateManagerResponseStackSettings3' from JSON`,
4064
- );
4065
- }
4066
-
4067
- /** @internal */
4068
- export const CreateManagerResponseSetupTerraform$inboundSchema: z.ZodType<
4069
- CreateManagerResponseSetupTerraform,
4070
- unknown
4071
- > = z.object({
4072
- method: z.literal("terraform"),
4073
- deploymentPortalUrl: z.string(),
4074
- managerUrl: z.string(),
4075
- providerSource: z.string(),
4076
- moduleSource: z.string(),
4077
- moduleVersion: z.string().optional(),
4078
- moduleInputs: z.record(z.string(), z.string()),
4079
- mainTf: z.string(),
4080
- tfvars: z.string(),
4081
- commands: z.string(),
4082
- stackSettings: z.lazy(() =>
4083
- CreateManagerResponseStackSettings3$inboundSchema
4084
- ),
4085
- });
4086
-
4087
- export function createManagerResponseSetupTerraformFromJSON(
4088
- jsonString: string,
4089
- ): SafeParseResult<CreateManagerResponseSetupTerraform, SDKValidationError> {
4090
- return safeParse(
4091
- jsonString,
4092
- (x) =>
4093
- CreateManagerResponseSetupTerraform$inboundSchema.parse(JSON.parse(x)),
4094
- `Failed to parse 'CreateManagerResponseSetupTerraform' from JSON`,
4095
- );
4096
- }
4097
-
4098
- /** @internal */
4099
- export const CreateManagerResponseContainers2$inboundSchema: z.ZodType<
4100
- CreateManagerResponseContainers2,
4101
- unknown
4102
- > = z.object({
4103
- cpu: z.nullable(z.number()).optional(),
4104
- memory: z.nullable(z.string()).optional(),
4105
- });
4106
-
4107
- export function createManagerResponseContainers2FromJSON(
4108
- jsonString: string,
4109
- ): SafeParseResult<CreateManagerResponseContainers2, SDKValidationError> {
4110
- return safeParse(
4111
- jsonString,
4112
- (x) => CreateManagerResponseContainers2$inboundSchema.parse(JSON.parse(x)),
4113
- `Failed to parse 'CreateManagerResponseContainers2' from JSON`,
4114
- );
4115
- }
4116
-
4117
- /** @internal */
4118
- export const CreateManagerResponseFailureDomains4$inboundSchema: z.ZodType<
4119
- CreateManagerResponseFailureDomains4,
4120
- unknown
4121
- > = z.object({
4122
- selectedFailureDomains: z.array(z.string()).optional(),
4123
- spread: z.int(),
4124
- });
4125
-
4126
- export function createManagerResponseFailureDomains4FromJSON(
4127
- jsonString: string,
4128
- ): SafeParseResult<CreateManagerResponseFailureDomains4, SDKValidationError> {
4129
- return safeParse(
4130
- jsonString,
4131
- (x) =>
4132
- CreateManagerResponseFailureDomains4$inboundSchema.parse(JSON.parse(x)),
4133
- `Failed to parse 'CreateManagerResponseFailureDomains4' from JSON`,
4134
- );
4135
- }
4136
-
4137
- /** @internal */
4138
- export const CreateManagerResponseFailureDomainsUnion4$inboundSchema: z.ZodType<
4139
- CreateManagerResponseFailureDomainsUnion4,
4140
- unknown
4141
- > = z.union([
4142
- z.lazy(() => CreateManagerResponseFailureDomains4$inboundSchema),
4143
- z.string(),
4144
- ]);
4145
-
4146
- export function createManagerResponseFailureDomainsUnion4FromJSON(
4147
- jsonString: string,
4148
- ): SafeParseResult<
4149
- CreateManagerResponseFailureDomainsUnion4,
4150
- SDKValidationError
4151
- > {
4152
- return safeParse(
4153
- jsonString,
4154
- (x) =>
4155
- CreateManagerResponseFailureDomainsUnion4$inboundSchema.parse(
4156
- JSON.parse(x),
4157
- ),
4158
- `Failed to parse 'CreateManagerResponseFailureDomainsUnion4' from JSON`,
4159
- );
4160
- }
4161
-
4162
- /** @internal */
4163
- export const CreateManagerResponsePoolsAutoscale2$inboundSchema: z.ZodType<
4164
- CreateManagerResponsePoolsAutoscale2,
4165
- unknown
4166
- > = z.object({
4167
- failure_domains: z.nullable(
4168
- z.union([
4169
- z.lazy(() => CreateManagerResponseFailureDomains4$inboundSchema),
4170
- z.string(),
4171
- ]),
4172
- ).optional(),
4173
- machine: z.nullable(z.string()).optional(),
4174
- max: z.int(),
4175
- min: z.int(),
4176
- mode: z.literal("autoscale"),
4177
- }).transform((v) => {
4178
- return remap$(v, {
4179
- "failure_domains": "failureDomains",
4180
- });
4181
- });
4182
-
4183
- export function createManagerResponsePoolsAutoscale2FromJSON(
4184
- jsonString: string,
4185
- ): SafeParseResult<CreateManagerResponsePoolsAutoscale2, SDKValidationError> {
4186
- return safeParse(
4187
- jsonString,
4188
- (x) =>
4189
- CreateManagerResponsePoolsAutoscale2$inboundSchema.parse(JSON.parse(x)),
4190
- `Failed to parse 'CreateManagerResponsePoolsAutoscale2' from JSON`,
4191
- );
4192
- }
4193
-
4194
- /** @internal */
4195
- export const CreateManagerResponseFailureDomains3$inboundSchema: z.ZodType<
4196
- CreateManagerResponseFailureDomains3,
4197
- unknown
4198
- > = z.object({
4199
- selectedFailureDomains: z.array(z.string()).optional(),
4200
- spread: z.int(),
4201
- });
4202
-
4203
- export function createManagerResponseFailureDomains3FromJSON(
4204
- jsonString: string,
4205
- ): SafeParseResult<CreateManagerResponseFailureDomains3, SDKValidationError> {
4206
- return safeParse(
4207
- jsonString,
4208
- (x) =>
4209
- CreateManagerResponseFailureDomains3$inboundSchema.parse(JSON.parse(x)),
4210
- `Failed to parse 'CreateManagerResponseFailureDomains3' from JSON`,
4211
- );
4212
- }
4213
-
4214
- /** @internal */
4215
- export const CreateManagerResponseFailureDomainsUnion3$inboundSchema: z.ZodType<
4216
- CreateManagerResponseFailureDomainsUnion3,
4217
- unknown
4218
- > = z.union([
4219
- z.lazy(() => CreateManagerResponseFailureDomains3$inboundSchema),
4220
- z.string(),
4221
- ]);
4222
-
4223
- export function createManagerResponseFailureDomainsUnion3FromJSON(
4224
- jsonString: string,
4225
- ): SafeParseResult<
4226
- CreateManagerResponseFailureDomainsUnion3,
4227
- SDKValidationError
4228
- > {
4229
- return safeParse(
4230
- jsonString,
4231
- (x) =>
4232
- CreateManagerResponseFailureDomainsUnion3$inboundSchema.parse(
4233
- JSON.parse(x),
4234
- ),
4235
- `Failed to parse 'CreateManagerResponseFailureDomainsUnion3' from JSON`,
4236
- );
4237
- }
4238
-
4239
- /** @internal */
4240
- export const CreateManagerResponsePoolsFixed2$inboundSchema: z.ZodType<
4241
- CreateManagerResponsePoolsFixed2,
4242
- unknown
4243
- > = z.object({
4244
- failure_domains: z.nullable(
4245
- z.union([
4246
- z.lazy(() => CreateManagerResponseFailureDomains3$inboundSchema),
4247
- z.string(),
4248
- ]),
4249
- ).optional(),
4250
- machine: z.nullable(z.string()).optional(),
4251
- machines: z.int(),
4252
- mode: z.literal("fixed"),
4253
- }).transform((v) => {
4254
- return remap$(v, {
4255
- "failure_domains": "failureDomains",
4256
- });
4257
- });
4258
-
4259
- export function createManagerResponsePoolsFixed2FromJSON(
4260
- jsonString: string,
4261
- ): SafeParseResult<CreateManagerResponsePoolsFixed2, SDKValidationError> {
4262
- return safeParse(
4263
- jsonString,
4264
- (x) => CreateManagerResponsePoolsFixed2$inboundSchema.parse(JSON.parse(x)),
4265
- `Failed to parse 'CreateManagerResponsePoolsFixed2' from JSON`,
4266
- );
4267
- }
4268
-
4269
- /** @internal */
4270
- export const CreateManagerResponsePoolsUnion2$inboundSchema: z.ZodType<
4271
- CreateManagerResponsePoolsUnion2,
4272
- unknown
4273
- > = z.union([
4274
- z.lazy(() => CreateManagerResponsePoolsFixed2$inboundSchema),
4275
- z.lazy(() => CreateManagerResponsePoolsAutoscale2$inboundSchema),
4276
- ]);
4277
-
4278
- export function createManagerResponsePoolsUnion2FromJSON(
4279
- jsonString: string,
4280
- ): SafeParseResult<CreateManagerResponsePoolsUnion2, SDKValidationError> {
4281
- return safeParse(
4282
- jsonString,
4283
- (x) => CreateManagerResponsePoolsUnion2$inboundSchema.parse(JSON.parse(x)),
4284
- `Failed to parse 'CreateManagerResponsePoolsUnion2' from JSON`,
4285
- );
4286
- }
4287
-
4288
- /** @internal */
4289
- export const CreateManagerResponseCompute2$inboundSchema: z.ZodType<
4290
- CreateManagerResponseCompute2,
4291
- unknown
4292
- > = z.object({
4293
- containers: z.record(
4294
- z.string(),
4295
- z.lazy(() => CreateManagerResponseContainers2$inboundSchema),
4296
- ).optional(),
4297
- pools: z.record(
4298
- z.string(),
4299
- z.union([
4300
- z.lazy(() => CreateManagerResponsePoolsFixed2$inboundSchema),
4301
- z.lazy(() => CreateManagerResponsePoolsAutoscale2$inboundSchema),
4302
- ]),
4303
- ).optional(),
4304
- });
4305
-
4306
- export function createManagerResponseCompute2FromJSON(
4307
- jsonString: string,
4308
- ): SafeParseResult<CreateManagerResponseCompute2, SDKValidationError> {
4309
- return safeParse(
4310
- jsonString,
4311
- (x) => CreateManagerResponseCompute2$inboundSchema.parse(JSON.parse(x)),
4312
- `Failed to parse 'CreateManagerResponseCompute2' from JSON`,
4313
- );
4314
- }
4315
-
4316
- /** @internal */
4317
- export const CreateManagerResponseComputeUnion2$inboundSchema: z.ZodType<
4318
- CreateManagerResponseComputeUnion2,
4319
- unknown
4320
- > = z.union([
4321
- z.lazy(() => CreateManagerResponseCompute2$inboundSchema),
4322
- z.string(),
4323
- ]);
4324
-
4325
- export function createManagerResponseComputeUnion2FromJSON(
4326
- jsonString: string,
4327
- ): SafeParseResult<CreateManagerResponseComputeUnion2, SDKValidationError> {
4328
- return safeParse(
4329
- jsonString,
4330
- (x) =>
4331
- CreateManagerResponseComputeUnion2$inboundSchema.parse(JSON.parse(x)),
4332
- `Failed to parse 'CreateManagerResponseComputeUnion2' from JSON`,
4333
- );
4334
- }
4335
-
4336
- /** @internal */
4337
- export const CreateManagerResponseDeploymentModel2$inboundSchema: z.ZodEnum<
4338
- typeof CreateManagerResponseDeploymentModel2
4339
- > = z.enum(CreateManagerResponseDeploymentModel2);
4340
-
4341
- /** @internal */
4342
- export const CreateManagerResponseAws2$inboundSchema: z.ZodType<
4343
- CreateManagerResponseAws2,
4344
- unknown
4345
- > = z.object({
4346
- certificateArn: z.string(),
4347
- });
4348
-
4349
- export function createManagerResponseAws2FromJSON(
4350
- jsonString: string,
4351
- ): SafeParseResult<CreateManagerResponseAws2, SDKValidationError> {
4352
- return safeParse(
4353
- jsonString,
4354
- (x) => CreateManagerResponseAws2$inboundSchema.parse(JSON.parse(x)),
4355
- `Failed to parse 'CreateManagerResponseAws2' from JSON`,
4356
- );
4357
- }
4358
-
4359
- /** @internal */
4360
- export const CreateManagerResponseAwsUnion2$inboundSchema: z.ZodType<
4361
- CreateManagerResponseAwsUnion2,
4362
- unknown
4363
- > = z.union([
4364
- z.lazy(() => CreateManagerResponseAws2$inboundSchema),
4365
- z.string(),
4366
- ]);
4367
-
4368
- export function createManagerResponseAwsUnion2FromJSON(
4369
- jsonString: string,
4370
- ): SafeParseResult<CreateManagerResponseAwsUnion2, SDKValidationError> {
4371
- return safeParse(
4372
- jsonString,
4373
- (x) => CreateManagerResponseAwsUnion2$inboundSchema.parse(JSON.parse(x)),
4374
- `Failed to parse 'CreateManagerResponseAwsUnion2' from JSON`,
4375
- );
4376
- }
4377
-
4378
- /** @internal */
4379
- export const CreateManagerResponseAzure2$inboundSchema: z.ZodType<
4380
- CreateManagerResponseAzure2,
4381
- unknown
4382
- > = z.object({
4383
- keyVaultCertificateId: z.string(),
4384
- keyVaultResourceId: z.nullable(z.string()).optional(),
4385
- });
4386
-
4387
- export function createManagerResponseAzure2FromJSON(
4388
- jsonString: string,
4389
- ): SafeParseResult<CreateManagerResponseAzure2, SDKValidationError> {
4390
- return safeParse(
4391
- jsonString,
4392
- (x) => CreateManagerResponseAzure2$inboundSchema.parse(JSON.parse(x)),
4393
- `Failed to parse 'CreateManagerResponseAzure2' from JSON`,
4394
- );
4395
- }
4396
-
4397
- /** @internal */
4398
- export const CreateManagerResponseAzureUnion2$inboundSchema: z.ZodType<
4399
- CreateManagerResponseAzureUnion2,
4400
- unknown
4401
- > = z.union([
4402
- z.lazy(() => CreateManagerResponseAzure2$inboundSchema),
4403
- z.string(),
4404
- ]);
4405
-
4406
- export function createManagerResponseAzureUnion2FromJSON(
4407
- jsonString: string,
4408
- ): SafeParseResult<CreateManagerResponseAzureUnion2, SDKValidationError> {
4409
- return safeParse(
4410
- jsonString,
4411
- (x) => CreateManagerResponseAzureUnion2$inboundSchema.parse(JSON.parse(x)),
4412
- `Failed to parse 'CreateManagerResponseAzureUnion2' from JSON`,
4413
- );
4414
- }
4415
-
4416
- /** @internal */
4417
- export const CreateManagerResponseGcp2$inboundSchema: z.ZodType<
4418
- CreateManagerResponseGcp2,
4419
- unknown
4420
- > = z.object({
4421
- certificateName: z.string(),
4422
- });
4423
-
4424
- export function createManagerResponseGcp2FromJSON(
4425
- jsonString: string,
4426
- ): SafeParseResult<CreateManagerResponseGcp2, SDKValidationError> {
4427
- return safeParse(
4428
- jsonString,
4429
- (x) => CreateManagerResponseGcp2$inboundSchema.parse(JSON.parse(x)),
4430
- `Failed to parse 'CreateManagerResponseGcp2' from JSON`,
4431
- );
4432
- }
4433
-
4434
- /** @internal */
4435
- export const CreateManagerResponseGcpUnion2$inboundSchema: z.ZodType<
4436
- CreateManagerResponseGcpUnion2,
4437
- unknown
4438
- > = z.union([
4439
- z.lazy(() => CreateManagerResponseGcp2$inboundSchema),
4440
- z.string(),
4441
- ]);
4442
-
4443
- export function createManagerResponseGcpUnion2FromJSON(
4444
- jsonString: string,
4445
- ): SafeParseResult<CreateManagerResponseGcpUnion2, SDKValidationError> {
4446
- return safeParse(
4447
- jsonString,
4448
- (x) => CreateManagerResponseGcpUnion2$inboundSchema.parse(JSON.parse(x)),
4449
- `Failed to parse 'CreateManagerResponseGcpUnion2' from JSON`,
4450
- );
4451
- }
4452
-
4453
- /** @internal */
4454
- export const CreateManagerResponseTlsSecretRef2$inboundSchema: z.ZodType<
4455
- CreateManagerResponseTlsSecretRef2,
4456
- unknown
4457
- > = z.object({
4458
- namespace: z.nullable(z.string()).optional(),
4459
- secretName: z.string(),
4460
- });
4461
-
4462
- export function createManagerResponseTlsSecretRef2FromJSON(
4463
- jsonString: string,
4464
- ): SafeParseResult<CreateManagerResponseTlsSecretRef2, SDKValidationError> {
4465
- return safeParse(
4466
- jsonString,
4467
- (x) =>
4468
- CreateManagerResponseTlsSecretRef2$inboundSchema.parse(JSON.parse(x)),
4469
- `Failed to parse 'CreateManagerResponseTlsSecretRef2' from JSON`,
4470
- );
4471
- }
4472
-
4473
- /** @internal */
4474
- export const CreateManagerResponseDomainsKubernetes2$inboundSchema: z.ZodType<
4475
- CreateManagerResponseDomainsKubernetes2,
4476
- unknown
4477
- > = z.object({
4478
- tlsSecretRef: z.lazy(() => CreateManagerResponseTlsSecretRef2$inboundSchema),
4479
- });
4480
-
4481
- export function createManagerResponseDomainsKubernetes2FromJSON(
4482
- jsonString: string,
4483
- ): SafeParseResult<
4484
- CreateManagerResponseDomainsKubernetes2,
4485
- SDKValidationError
4486
- > {
4487
- return safeParse(
4488
- jsonString,
4489
- (x) =>
4490
- CreateManagerResponseDomainsKubernetes2$inboundSchema.parse(
4491
- JSON.parse(x),
4492
- ),
4493
- `Failed to parse 'CreateManagerResponseDomainsKubernetes2' from JSON`,
4494
- );
4495
- }
4496
-
4497
- /** @internal */
4498
- export const CreateManagerResponseDomainsKubernetesUnion2$inboundSchema:
4499
- z.ZodType<CreateManagerResponseDomainsKubernetesUnion2, unknown> = z.union([
4500
- z.lazy(() => CreateManagerResponseDomainsKubernetes2$inboundSchema),
4501
- z.string(),
4502
- ]);
4503
-
4504
- export function createManagerResponseDomainsKubernetesUnion2FromJSON(
4505
- jsonString: string,
4506
- ): SafeParseResult<
4507
- CreateManagerResponseDomainsKubernetesUnion2,
4508
- SDKValidationError
4509
- > {
4510
- return safeParse(
4511
- jsonString,
4512
- (x) =>
4513
- CreateManagerResponseDomainsKubernetesUnion2$inboundSchema.parse(
4514
- JSON.parse(x),
4515
- ),
4516
- `Failed to parse 'CreateManagerResponseDomainsKubernetesUnion2' from JSON`,
4517
- );
4518
- }
4519
-
4520
- /** @internal */
4521
- export const CreateManagerResponseDomainsCertificate2$inboundSchema: z.ZodType<
4522
- CreateManagerResponseDomainsCertificate2,
4523
- unknown
4524
- > = z.object({
4525
- aws: z.nullable(
4526
- z.union([
4527
- z.lazy(() => CreateManagerResponseAws2$inboundSchema),
4528
- z.string(),
4529
- ]),
4530
- ).optional(),
4531
- azure: z.nullable(
4532
- z.union([
4533
- z.lazy(() => CreateManagerResponseAzure2$inboundSchema),
4534
- z.string(),
4535
- ]),
4536
- ).optional(),
4537
- gcp: z.nullable(
4538
- z.union([
4539
- z.lazy(() => CreateManagerResponseGcp2$inboundSchema),
4540
- z.string(),
4541
- ]),
4542
- ).optional(),
4543
- kubernetes: z.nullable(
4544
- z.union([
4545
- z.lazy(() => CreateManagerResponseDomainsKubernetes2$inboundSchema),
4546
- z.string(),
4547
- ]),
4548
- ).optional(),
4549
- });
4550
-
4551
- export function createManagerResponseDomainsCertificate2FromJSON(
4552
- jsonString: string,
4553
- ): SafeParseResult<
4554
- CreateManagerResponseDomainsCertificate2,
4555
- SDKValidationError
4556
- > {
4557
- return safeParse(
4558
- jsonString,
4559
- (x) =>
4560
- CreateManagerResponseDomainsCertificate2$inboundSchema.parse(
4561
- JSON.parse(x),
4562
- ),
4563
- `Failed to parse 'CreateManagerResponseDomainsCertificate2' from JSON`,
4564
- );
4565
- }
4566
-
4567
- /** @internal */
4568
- export const CreateManagerResponseCustomDomains2$inboundSchema: z.ZodType<
4569
- CreateManagerResponseCustomDomains2,
4570
- unknown
4571
- > = z.object({
4572
- certificate: z.lazy(() =>
4573
- CreateManagerResponseDomainsCertificate2$inboundSchema
4574
- ),
4575
- domain: z.string(),
4576
- });
4577
-
4578
- export function createManagerResponseCustomDomains2FromJSON(
4579
- jsonString: string,
4580
- ): SafeParseResult<CreateManagerResponseCustomDomains2, SDKValidationError> {
4581
- return safeParse(
4582
- jsonString,
4583
- (x) =>
4584
- CreateManagerResponseCustomDomains2$inboundSchema.parse(JSON.parse(x)),
4585
- `Failed to parse 'CreateManagerResponseCustomDomains2' from JSON`,
4586
- );
4587
- }
4588
-
4589
- /** @internal */
4590
- export const CreateManagerResponseModeLoadBalancer2$inboundSchema: z.ZodEnum<
4591
- typeof CreateManagerResponseModeLoadBalancer2
4592
- > = z.enum(CreateManagerResponseModeLoadBalancer2);
4593
-
4594
- /** @internal */
4595
- export const CreateManagerResponsePublicEndpointTargetLoadBalancer2$inboundSchema:
4596
- z.ZodType<CreateManagerResponsePublicEndpointTargetLoadBalancer2, unknown> = z
4597
- .object({
4598
- cnameTarget: z.string(),
4599
- mode: CreateManagerResponseModeLoadBalancer2$inboundSchema,
4600
- });
4601
-
4602
- export function createManagerResponsePublicEndpointTargetLoadBalancer2FromJSON(
4603
- jsonString: string,
4604
- ): SafeParseResult<
4605
- CreateManagerResponsePublicEndpointTargetLoadBalancer2,
4606
- SDKValidationError
4607
- > {
4608
- return safeParse(
4609
- jsonString,
4610
- (x) =>
4611
- CreateManagerResponsePublicEndpointTargetLoadBalancer2$inboundSchema
4612
- .parse(JSON.parse(x)),
4613
- `Failed to parse 'CreateManagerResponsePublicEndpointTargetLoadBalancer2' from JSON`,
4614
- );
4615
- }
4616
-
4617
- /** @internal */
4618
- export const CreateManagerResponseModeMachineAddresses2$inboundSchema:
4619
- z.ZodEnum<typeof CreateManagerResponseModeMachineAddresses2> = z.enum(
4620
- CreateManagerResponseModeMachineAddresses2,
4621
- );
4622
-
4623
- /** @internal */
4624
- export const CreateManagerResponsePublicEndpointTargetMachineAddresses2$inboundSchema:
4625
- z.ZodType<
4626
- CreateManagerResponsePublicEndpointTargetMachineAddresses2,
4627
- unknown
4628
- > = z.object({
4629
- mode: CreateManagerResponseModeMachineAddresses2$inboundSchema,
4630
- });
4631
-
4632
- export function createManagerResponsePublicEndpointTargetMachineAddresses2FromJSON(
4633
- jsonString: string,
4634
- ): SafeParseResult<
4635
- CreateManagerResponsePublicEndpointTargetMachineAddresses2,
4636
- SDKValidationError
4637
- > {
4638
- return safeParse(
4639
- jsonString,
4640
- (x) =>
4641
- CreateManagerResponsePublicEndpointTargetMachineAddresses2$inboundSchema
4642
- .parse(JSON.parse(x)),
4643
- `Failed to parse 'CreateManagerResponsePublicEndpointTargetMachineAddresses2' from JSON`,
4644
- );
4645
- }
4646
-
4647
- /** @internal */
4648
- export const CreateManagerResponsePublicEndpointTargetUnion2$inboundSchema:
4649
- z.ZodType<CreateManagerResponsePublicEndpointTargetUnion2, unknown> = z.union(
4650
- [
4651
- z.lazy(() =>
4652
- CreateManagerResponsePublicEndpointTargetLoadBalancer2$inboundSchema
4653
- ),
4654
- z.lazy(() =>
4655
- CreateManagerResponsePublicEndpointTargetMachineAddresses2$inboundSchema
4656
- ),
4657
- z.string(),
4658
- ],
4659
- );
4660
-
4661
- export function createManagerResponsePublicEndpointTargetUnion2FromJSON(
4662
- jsonString: string,
4663
- ): SafeParseResult<
4664
- CreateManagerResponsePublicEndpointTargetUnion2,
4665
- SDKValidationError
4666
- > {
4667
- return safeParse(
4668
- jsonString,
4669
- (x) =>
4670
- CreateManagerResponsePublicEndpointTargetUnion2$inboundSchema.parse(
4671
- JSON.parse(x),
4672
- ),
4673
- `Failed to parse 'CreateManagerResponsePublicEndpointTargetUnion2' from JSON`,
4674
- );
4675
- }
1
+ // Generated by generate-compatibility-exports.mjs. DO NOT EDIT.
2
+ export * from "./createmanagerresponsepublicendpointtargetmachineaddresses2.js";
3
+ export type { CreateManagerResponsePublicEndpointTargetUnion2 } from "./createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.js";
4
+ export { CreateManagerResponsePublicEndpointTargetUnion2$inboundSchema } from "./createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.js";
5
+ export { createManagerResponsePublicEndpointTargetUnion2FromJSON } from "./createmanagerresponseproviderazureapplicationgatewayforcontainersenum2.js";