@alienplatform/platform-api 3.3.32 → 3.3.33

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