@alienplatform/platform-api 3.3.31 → 3.3.33

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