@alienplatform/platform-api 3.3.31 → 3.3.32

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