@alienplatform/platform-api 1.5.1 → 1.7.0

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 (341) hide show
  1. package/README.md +12 -8
  2. package/esm/funcs/billingGetEntitlements.d.ts +16 -0
  3. package/esm/funcs/billingGetEntitlements.d.ts.map +1 -0
  4. package/esm/funcs/{billingGetPlan.js → billingGetEntitlements.js} +14 -8
  5. package/esm/funcs/billingGetEntitlements.js.map +1 -0
  6. package/esm/funcs/deploymentsCreateSetupRegistrationOperation.d.ts +16 -0
  7. package/esm/funcs/deploymentsCreateSetupRegistrationOperation.d.ts.map +1 -0
  8. package/esm/funcs/{deploymentsAcceptCloudFormationCallback.js → deploymentsCreateSetupRegistrationOperation.js} +10 -11
  9. package/esm/funcs/deploymentsCreateSetupRegistrationOperation.js.map +1 -0
  10. package/esm/funcs/deploymentsDelete.d.ts +3 -2
  11. package/esm/funcs/deploymentsDelete.d.ts.map +1 -1
  12. package/esm/funcs/deploymentsDelete.js +10 -8
  13. package/esm/funcs/deploymentsDelete.js.map +1 -1
  14. package/esm/funcs/{billingGetPlan.d.ts → deploymentsGetSetupRegistrationOperation.d.ts} +5 -3
  15. package/esm/funcs/deploymentsGetSetupRegistrationOperation.d.ts.map +1 -0
  16. package/esm/funcs/deploymentsGetSetupRegistrationOperation.js +89 -0
  17. package/esm/funcs/deploymentsGetSetupRegistrationOperation.js.map +1 -0
  18. package/esm/funcs/domainsCreate.d.ts +1 -1
  19. package/esm/funcs/domainsCreate.js +3 -3
  20. package/esm/funcs/domainsCreate.js.map +1 -1
  21. package/esm/funcs/{deploymentsAcceptCloudFormationCallback.d.ts → domainsCreateEndpoint.d.ts} +4 -3
  22. package/esm/funcs/domainsCreateEndpoint.d.ts.map +1 -0
  23. package/esm/funcs/domainsCreateEndpoint.js +90 -0
  24. package/esm/funcs/domainsCreateEndpoint.js.map +1 -0
  25. package/esm/lib/config.d.ts +2 -2
  26. package/esm/lib/config.js +2 -2
  27. package/esm/models/billingfeatureflags.d.ts +14 -0
  28. package/esm/models/billingfeatureflags.d.ts.map +1 -0
  29. package/esm/models/billingfeatureflags.js +25 -0
  30. package/esm/models/billingfeatureflags.js.map +1 -0
  31. package/esm/models/billinglimits.d.ts +15 -0
  32. package/esm/models/billinglimits.d.ts.map +1 -0
  33. package/esm/models/billinglimits.js +19 -0
  34. package/esm/models/billinglimits.js.map +1 -0
  35. package/esm/models/billingplanstatus.d.ts +13 -0
  36. package/esm/models/billingplanstatus.d.ts.map +1 -0
  37. package/esm/models/billingplanstatus.js +14 -0
  38. package/esm/models/billingplanstatus.js.map +1 -0
  39. package/esm/models/createsetupregistrationoperationrequest.d.ts +1633 -0
  40. package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -0
  41. package/esm/models/createsetupregistrationoperationrequest.js +1015 -0
  42. package/esm/models/createsetupregistrationoperationrequest.js.map +1 -0
  43. package/esm/models/deletedeploymentrequest.d.ts +21 -0
  44. package/esm/models/deletedeploymentrequest.d.ts.map +1 -0
  45. package/esm/models/deletedeploymentrequest.js +19 -0
  46. package/esm/models/deletedeploymentrequest.js.map +1 -0
  47. package/esm/models/deletedeploymentresponse.d.ts +20 -0
  48. package/esm/models/deletedeploymentresponse.d.ts.map +1 -0
  49. package/esm/models/deletedeploymentresponse.js +21 -0
  50. package/esm/models/deletedeploymentresponse.js.map +1 -0
  51. package/esm/models/deployment.d.ts +53 -64
  52. package/esm/models/deployment.d.ts.map +1 -1
  53. package/esm/models/deployment.js +32 -44
  54. package/esm/models/deployment.js.map +1 -1
  55. package/esm/models/deploymentconnectioninfo.d.ts +3 -0
  56. package/esm/models/deploymentconnectioninfo.d.ts.map +1 -1
  57. package/esm/models/deploymentconnectioninfo.js +3 -0
  58. package/esm/models/deploymentconnectioninfo.js.map +1 -1
  59. package/esm/models/deploymentdetailresponse.d.ts +53 -64
  60. package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
  61. package/esm/models/deploymentdetailresponse.js +34 -47
  62. package/esm/models/deploymentdetailresponse.js.map +1 -1
  63. package/esm/models/deploymentinfo.d.ts +4 -0
  64. package/esm/models/deploymentinfo.d.ts.map +1 -1
  65. package/esm/models/deploymentinfo.js +1 -0
  66. package/esm/models/deploymentinfo.js.map +1 -1
  67. package/esm/models/deploymentlistitemresponse.d.ts +30 -0
  68. package/esm/models/deploymentlistitemresponse.d.ts.map +1 -1
  69. package/esm/models/deploymentlistitemresponse.js +20 -0
  70. package/esm/models/deploymentlistitemresponse.js.map +1 -1
  71. package/esm/models/deploymentportaldomainresponse.d.ts +3 -4
  72. package/esm/models/deploymentportaldomainresponse.d.ts.map +1 -1
  73. package/esm/models/deploymentportaldomainresponse.js +3 -4
  74. package/esm/models/deploymentportaldomainresponse.js.map +1 -1
  75. package/esm/models/deploymentrole.d.ts +1 -0
  76. package/esm/models/deploymentrole.d.ts.map +1 -1
  77. package/esm/models/deploymentrole.js +1 -0
  78. package/esm/models/deploymentrole.js.map +1 -1
  79. package/esm/models/{managerdomainbinding.d.ts → domainendpoint.d.ts} +19 -12
  80. package/esm/models/domainendpoint.d.ts.map +1 -0
  81. package/esm/models/{managerdomainbinding.js → domainendpoint.js} +17 -11
  82. package/esm/models/domainendpoint.js.map +1 -0
  83. package/esm/models/domainendpointkind.d.ts +12 -0
  84. package/esm/models/domainendpointkind.d.ts.map +1 -0
  85. package/esm/models/domainendpointkind.js +13 -0
  86. package/esm/models/domainendpointkind.js.map +1 -0
  87. package/esm/models/domainendpointowner.d.ts +12 -0
  88. package/esm/models/domainendpointowner.d.ts.map +1 -0
  89. package/esm/models/domainendpointowner.js +15 -0
  90. package/esm/models/domainendpointowner.js.map +1 -0
  91. package/esm/models/domainendpointownertype.d.ts +11 -0
  92. package/esm/models/domainendpointownertype.d.ts.map +1 -0
  93. package/esm/models/domainendpointownertype.js +12 -0
  94. package/esm/models/domainendpointownertype.js.map +1 -0
  95. package/esm/models/domainendpointstatus.d.ts +15 -0
  96. package/esm/models/domainendpointstatus.d.ts.map +1 -0
  97. package/esm/models/domainendpointstatus.js +16 -0
  98. package/esm/models/domainendpointstatus.js.map +1 -0
  99. package/esm/models/domainwithusage.d.ts +8 -6
  100. package/esm/models/domainwithusage.d.ts.map +1 -1
  101. package/esm/models/domainwithusage.js +9 -6
  102. package/esm/models/domainwithusage.js.map +1 -1
  103. package/esm/models/event.d.ts +11 -6
  104. package/esm/models/event.d.ts.map +1 -1
  105. package/esm/models/event.js +5 -2
  106. package/esm/models/event.js.map +1 -1
  107. package/esm/models/importsource.d.ts +8 -18
  108. package/esm/models/importsource.d.ts.map +1 -1
  109. package/esm/models/importsource.js +3 -14
  110. package/esm/models/importsource.js.map +1 -1
  111. package/esm/models/importsourcekind.d.ts +2 -0
  112. package/esm/models/importsourcekind.d.ts.map +1 -1
  113. package/esm/models/importsourcekind.js +3 -1
  114. package/esm/models/importsourcekind.js.map +1 -1
  115. package/esm/models/index.d.ts +18 -5
  116. package/esm/models/index.d.ts.map +1 -1
  117. package/esm/models/index.js +18 -5
  118. package/esm/models/index.js.map +1 -1
  119. package/esm/models/kubernetesbaseplatform.d.ts +17 -0
  120. package/esm/models/kubernetesbaseplatform.d.ts.map +1 -0
  121. package/esm/models/kubernetesbaseplatform.js +15 -0
  122. package/esm/models/kubernetesbaseplatform.js.map +1 -0
  123. package/esm/models/managerdeployment.d.ts +3 -0
  124. package/esm/models/managerdeployment.d.ts.map +1 -1
  125. package/esm/models/managerdeployment.js +3 -0
  126. package/esm/models/managerdeployment.js.map +1 -1
  127. package/esm/models/managerdomainbindingresponse.d.ts +2 -2
  128. package/esm/models/managerdomainbindingresponse.d.ts.map +1 -1
  129. package/esm/models/managerdomainbindingresponse.js +2 -2
  130. package/esm/models/managerdomainbindingresponse.js.map +1 -1
  131. package/esm/models/newdeploymentrequest.d.ts +9 -0
  132. package/esm/models/newdeploymentrequest.d.ts.map +1 -1
  133. package/esm/models/newdeploymentrequest.js +3 -0
  134. package/esm/models/newdeploymentrequest.js.map +1 -1
  135. package/esm/models/operations/createdomain.d.ts +21 -0
  136. package/esm/models/operations/createdomain.d.ts.map +1 -1
  137. package/esm/models/operations/createdomain.js +11 -0
  138. package/esm/models/operations/createdomain.js.map +1 -1
  139. package/esm/models/operations/createdomainendpoint.d.ts +64 -0
  140. package/esm/models/operations/createdomainendpoint.d.ts.map +1 -0
  141. package/esm/models/operations/createdomainendpoint.js +51 -0
  142. package/esm/models/operations/createdomainendpoint.js.map +1 -0
  143. package/esm/models/operations/createsetupregistrationoperation.d.ts +18 -0
  144. package/esm/models/operations/createsetupregistrationoperation.d.ts.map +1 -0
  145. package/esm/models/operations/createsetupregistrationoperation.js +20 -0
  146. package/esm/models/operations/createsetupregistrationoperation.js.map +1 -0
  147. package/esm/models/operations/deletedeployment.d.ts +3 -32
  148. package/esm/models/operations/deletedeployment.d.ts.map +1 -1
  149. package/esm/models/operations/deletedeployment.js +8 -19
  150. package/esm/models/operations/deletedeployment.js.map +1 -1
  151. package/esm/models/operations/getdeploymentstats.d.ts +3 -0
  152. package/esm/models/operations/getdeploymentstats.d.ts.map +1 -1
  153. package/esm/models/operations/getdeploymentstats.js +3 -0
  154. package/esm/models/operations/getdeploymentstats.js.map +1 -1
  155. package/esm/models/operations/getsetupregistrationoperation.d.ts +20 -0
  156. package/esm/models/operations/getsetupregistrationoperation.d.ts.map +1 -0
  157. package/esm/models/operations/getsetupregistrationoperation.js +13 -0
  158. package/esm/models/operations/getsetupregistrationoperation.js.map +1 -0
  159. package/esm/models/operations/getworkspacebillingentitlements.d.ts +15 -0
  160. package/esm/models/operations/getworkspacebillingentitlements.d.ts.map +1 -0
  161. package/esm/models/operations/getworkspacebillingentitlements.js +12 -0
  162. package/esm/models/operations/getworkspacebillingentitlements.js.map +1 -0
  163. package/esm/models/operations/index.d.ts +4 -2
  164. package/esm/models/operations/index.d.ts.map +1 -1
  165. package/esm/models/operations/index.js +4 -2
  166. package/esm/models/operations/index.js.map +1 -1
  167. package/esm/models/operations/listdeployments.d.ts +3 -0
  168. package/esm/models/operations/listdeployments.d.ts.map +1 -1
  169. package/esm/models/operations/listdeployments.js +3 -0
  170. package/esm/models/operations/listdeployments.js.map +1 -1
  171. package/esm/models/package.d.ts +4 -0
  172. package/esm/models/package.d.ts.map +1 -1
  173. package/esm/models/package.js +1 -0
  174. package/esm/models/package.js.map +1 -1
  175. package/esm/models/persistimporteddeploymentrequest.d.ts +11 -88
  176. package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
  177. package/esm/models/persistimporteddeploymentrequest.js +6 -73
  178. package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
  179. package/esm/models/setupregistrationaction.d.ts +13 -0
  180. package/esm/models/setupregistrationaction.d.ts.map +1 -0
  181. package/esm/models/setupregistrationaction.js +14 -0
  182. package/esm/models/setupregistrationaction.js.map +1 -0
  183. package/esm/models/setupregistrationcloudformationtarget.d.ts +22 -0
  184. package/esm/models/setupregistrationcloudformationtarget.d.ts.map +1 -0
  185. package/esm/models/setupregistrationcloudformationtarget.js +17 -0
  186. package/esm/models/setupregistrationcloudformationtarget.js.map +1 -0
  187. package/esm/models/setupregistrationoperationresponse.d.ts +34 -0
  188. package/esm/models/setupregistrationoperationresponse.d.ts.map +1 -0
  189. package/esm/models/setupregistrationoperationresponse.js +32 -0
  190. package/esm/models/setupregistrationoperationresponse.js.map +1 -0
  191. package/esm/models/setupregistrationoperationresult.d.ts +15 -0
  192. package/esm/models/setupregistrationoperationresult.d.ts.map +1 -0
  193. package/esm/models/setupregistrationoperationresult.js +15 -0
  194. package/esm/models/setupregistrationoperationresult.js.map +1 -0
  195. package/esm/models/setupregistrationoperationstatus.d.ts +15 -0
  196. package/esm/models/setupregistrationoperationstatus.d.ts.map +1 -0
  197. package/esm/models/setupregistrationoperationstatus.js +16 -0
  198. package/esm/models/setupregistrationoperationstatus.js.map +1 -0
  199. package/esm/models/syncacquirerequest.d.ts +25 -0
  200. package/esm/models/syncacquirerequest.d.ts.map +1 -1
  201. package/esm/models/syncacquirerequest.js +16 -0
  202. package/esm/models/syncacquirerequest.js.map +1 -1
  203. package/esm/models/syncacquireresponse.d.ts +197 -90
  204. package/esm/models/syncacquireresponse.d.ts.map +1 -1
  205. package/esm/models/syncacquireresponse.js +76 -52
  206. package/esm/models/syncacquireresponse.js.map +1 -1
  207. package/esm/models/synclistrequest.d.ts +3 -0
  208. package/esm/models/synclistrequest.d.ts.map +1 -1
  209. package/esm/models/synclistrequest.js +3 -0
  210. package/esm/models/synclistrequest.js.map +1 -1
  211. package/esm/models/synclistresponse.d.ts +53 -64
  212. package/esm/models/synclistresponse.d.ts.map +1 -1
  213. package/esm/models/synclistresponse.js +33 -44
  214. package/esm/models/synclistresponse.js.map +1 -1
  215. package/esm/models/syncreconcilerequest.d.ts +118 -173
  216. package/esm/models/syncreconcilerequest.d.ts.map +1 -1
  217. package/esm/models/syncreconcilerequest.js +30 -72
  218. package/esm/models/syncreconcilerequest.js.map +1 -1
  219. package/esm/models/syncreconcileresponse.d.ts +197 -90
  220. package/esm/models/syncreconcileresponse.d.ts.map +1 -1
  221. package/esm/models/syncreconcileresponse.js +76 -55
  222. package/esm/models/syncreconcileresponse.js.map +1 -1
  223. package/esm/models/updateproject.d.ts +0 -5
  224. package/esm/models/updateproject.d.ts.map +1 -1
  225. package/esm/models/updateproject.js +0 -1
  226. package/esm/models/updateproject.js.map +1 -1
  227. package/esm/models/workspacebillingentitlements.d.ts +19 -0
  228. package/esm/models/workspacebillingentitlements.d.ts.map +1 -0
  229. package/esm/models/workspacebillingentitlements.js +22 -0
  230. package/esm/models/workspacebillingentitlements.js.map +1 -0
  231. package/esm/sdk/billing.d.ts +3 -2
  232. package/esm/sdk/billing.d.ts.map +1 -1
  233. package/esm/sdk/billing.js +4 -4
  234. package/esm/sdk/billing.js.map +1 -1
  235. package/esm/sdk/deployments.d.ts +10 -6
  236. package/esm/sdk/deployments.d.ts.map +1 -1
  237. package/esm/sdk/deployments.js +17 -10
  238. package/esm/sdk/deployments.js.map +1 -1
  239. package/esm/sdk/domains.d.ts +5 -1
  240. package/esm/sdk/domains.d.ts.map +1 -1
  241. package/esm/sdk/domains.js +8 -1
  242. package/esm/sdk/domains.js.map +1 -1
  243. package/jsr.json +1 -1
  244. package/package.json +2 -2
  245. package/src/funcs/{billingGetPlan.ts → billingGetEntitlements.ts} +24 -13
  246. package/src/funcs/{deploymentsAcceptCloudFormationCallback.ts → deploymentsCreateSetupRegistrationOperation.ts} +18 -15
  247. package/src/funcs/deploymentsDelete.ts +13 -11
  248. package/src/funcs/deploymentsGetSetupRegistrationOperation.ts +184 -0
  249. package/src/funcs/domainsCreate.ts +3 -3
  250. package/src/funcs/domainsCreateEndpoint.ts +181 -0
  251. package/src/lib/config.ts +2 -2
  252. package/src/models/billingfeatureflags.ts +46 -0
  253. package/src/models/billinglimits.ts +38 -0
  254. package/src/models/billingplanstatus.ts +20 -0
  255. package/src/models/createsetupregistrationoperationrequest.ts +4032 -0
  256. package/src/models/deletedeploymentrequest.ts +45 -0
  257. package/src/models/deletedeploymentresponse.ts +47 -0
  258. package/src/models/deployment.ts +64 -116
  259. package/src/models/deploymentconnectioninfo.ts +3 -0
  260. package/src/models/deploymentdetailresponse.ts +70 -138
  261. package/src/models/deploymentinfo.ts +5 -0
  262. package/src/models/deploymentlistitemresponse.ts +38 -0
  263. package/src/models/deploymentportaldomainresponse.ts +7 -8
  264. package/src/models/deploymentrole.ts +1 -0
  265. package/src/models/{packagedomain.ts → domainendpoint.ts} +40 -35
  266. package/src/models/domainendpointkind.ts +19 -0
  267. package/src/models/domainendpointowner.ts +36 -0
  268. package/src/models/domainendpointownertype.ts +20 -0
  269. package/src/models/domainendpointstatus.ts +22 -0
  270. package/src/models/domainwithusage.ts +22 -20
  271. package/src/models/event.ts +11 -6
  272. package/src/models/importsource.ts +9 -25
  273. package/src/models/importsourcekind.ts +5 -1
  274. package/src/models/index.ts +18 -5
  275. package/src/models/kubernetesbaseplatform.ts +24 -0
  276. package/src/models/managerdeployment.ts +3 -0
  277. package/src/models/managerdomainbindingresponse.ts +6 -6
  278. package/src/models/newdeploymentrequest.ts +10 -0
  279. package/src/models/operations/createdomain.ts +33 -0
  280. package/src/models/operations/createdomainendpoint.ts +131 -0
  281. package/src/models/operations/createsetupregistrationoperation.ts +51 -0
  282. package/src/models/operations/deletedeployment.ts +10 -55
  283. package/src/models/operations/getdeploymentstats.ts +3 -0
  284. package/src/models/operations/getsetupregistrationoperation.ts +41 -0
  285. package/src/models/operations/getworkspacebillingentitlements.ts +36 -0
  286. package/src/models/operations/index.ts +4 -2
  287. package/src/models/operations/listdeployments.ts +3 -0
  288. package/src/models/package.ts +5 -0
  289. package/src/models/persistimporteddeploymentrequest.ts +12 -177
  290. package/src/models/setupregistrationaction.ts +24 -0
  291. package/src/models/setupregistrationcloudformationtarget.ts +47 -0
  292. package/src/models/setupregistrationoperationresponse.ts +99 -0
  293. package/src/models/setupregistrationoperationresult.ts +37 -0
  294. package/src/models/setupregistrationoperationstatus.ts +24 -0
  295. package/src/models/syncacquirerequest.ts +34 -0
  296. package/src/models/syncacquireresponse.ts +288 -151
  297. package/src/models/synclistrequest.ts +3 -0
  298. package/src/models/synclistresponse.ts +69 -124
  299. package/src/models/syncreconcilerequest.ts +164 -265
  300. package/src/models/syncreconcileresponse.ts +289 -155
  301. package/src/models/updateproject.ts +0 -6
  302. package/src/models/workspacebillingentitlements.ts +52 -0
  303. package/src/sdk/billing.ts +7 -6
  304. package/src/sdk/deployments.ts +35 -20
  305. package/src/sdk/domains.ts +16 -1
  306. package/esm/funcs/billingGetPlan.d.ts.map +0 -1
  307. package/esm/funcs/billingGetPlan.js.map +0 -1
  308. package/esm/funcs/deploymentsAcceptCloudFormationCallback.d.ts.map +0 -1
  309. package/esm/funcs/deploymentsAcceptCloudFormationCallback.js.map +0 -1
  310. package/esm/models/cloudformationcallbackrequest.d.ts +0 -1650
  311. package/esm/models/cloudformationcallbackrequest.d.ts.map +0 -1
  312. package/esm/models/cloudformationcallbackrequest.js +0 -1002
  313. package/esm/models/cloudformationcallbackrequest.js.map +0 -1
  314. package/esm/models/deploymentportaldomain.d.ts +0 -156
  315. package/esm/models/deploymentportaldomain.d.ts.map +0 -1
  316. package/esm/models/deploymentportaldomain.js +0 -58
  317. package/esm/models/deploymentportaldomain.js.map +0 -1
  318. package/esm/models/managerdomainbinding.d.ts.map +0 -1
  319. package/esm/models/managerdomainbinding.js.map +0 -1
  320. package/esm/models/managerdomainbindingstatus.d.ts +0 -15
  321. package/esm/models/managerdomainbindingstatus.d.ts.map +0 -1
  322. package/esm/models/managerdomainbindingstatus.js +0 -16
  323. package/esm/models/managerdomainbindingstatus.js.map +0 -1
  324. package/esm/models/operations/acceptcloudformationcallback.d.ts +0 -31
  325. package/esm/models/operations/acceptcloudformationcallback.d.ts.map +0 -1
  326. package/esm/models/operations/acceptcloudformationcallback.js +0 -30
  327. package/esm/models/operations/acceptcloudformationcallback.js.map +0 -1
  328. package/esm/models/operations/getworkspaceplan.d.ts +0 -27
  329. package/esm/models/operations/getworkspaceplan.d.ts.map +0 -1
  330. package/esm/models/operations/getworkspaceplan.js +0 -21
  331. package/esm/models/operations/getworkspaceplan.js.map +0 -1
  332. package/esm/models/packagedomain.d.ts +0 -143
  333. package/esm/models/packagedomain.d.ts.map +0 -1
  334. package/esm/models/packagedomain.js +0 -52
  335. package/esm/models/packagedomain.js.map +0 -1
  336. package/src/models/cloudformationcallbackrequest.ts +0 -3915
  337. package/src/models/deploymentportaldomain.ts +0 -226
  338. package/src/models/managerdomainbinding.ts +0 -200
  339. package/src/models/managerdomainbindingstatus.ts +0 -24
  340. package/src/models/operations/acceptcloudformationcallback.ts +0 -82
  341. package/src/models/operations/getworkspaceplan.ts +0 -62
@@ -0,0 +1,4032 @@
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 { ClosedEnum } from "../types/enums.js";
8
+ import {
9
+ ImportedResource,
10
+ ImportedResource$Outbound,
11
+ ImportedResource$outboundSchema,
12
+ } from "./importedresource.js";
13
+ import {
14
+ ImportSourceKind,
15
+ ImportSourceKind$outboundSchema,
16
+ } from "./importsourcekind.js";
17
+ import {
18
+ KubernetesBasePlatform,
19
+ KubernetesBasePlatform$outboundSchema,
20
+ } from "./kubernetesbaseplatform.js";
21
+ import {
22
+ SetupRegistrationAction,
23
+ SetupRegistrationAction$outboundSchema,
24
+ } from "./setupregistrationaction.js";
25
+ import {
26
+ SetupRegistrationCloudFormationTarget,
27
+ SetupRegistrationCloudFormationTarget$Outbound,
28
+ SetupRegistrationCloudFormationTarget$outboundSchema,
29
+ } from "./setupregistrationcloudformationtarget.js";
30
+
31
+ /**
32
+ * Cloud platform of the imported stack
33
+ */
34
+ export const CreateSetupRegistrationOperationRequestPlatform = {
35
+ Aws: "aws",
36
+ Gcp: "gcp",
37
+ Azure: "azure",
38
+ Kubernetes: "kubernetes",
39
+ Local: "local",
40
+ Test: "test",
41
+ } as const;
42
+ /**
43
+ * Cloud platform of the imported stack
44
+ */
45
+ export type CreateSetupRegistrationOperationRequestPlatform = ClosedEnum<
46
+ typeof CreateSetupRegistrationOperationRequestPlatform
47
+ >;
48
+
49
+ /**
50
+ * Deployment model: how updates are delivered to the remote environment.
51
+ */
52
+ export const CreateSetupRegistrationOperationRequestDeploymentModel = {
53
+ Push: "push",
54
+ Pull: "pull",
55
+ } as const;
56
+ /**
57
+ * Deployment model: how updates are delivered to the remote environment.
58
+ */
59
+ export type CreateSetupRegistrationOperationRequestDeploymentModel = ClosedEnum<
60
+ typeof CreateSetupRegistrationOperationRequestDeploymentModel
61
+ >;
62
+
63
+ export type CreateSetupRegistrationOperationRequestAws = {
64
+ certificateArn: string;
65
+ };
66
+
67
+ export type CreateSetupRegistrationOperationRequestAwsUnion =
68
+ | CreateSetupRegistrationOperationRequestAws
69
+ | any;
70
+
71
+ export type CreateSetupRegistrationOperationRequestAzure = {
72
+ keyVaultCertificateId: string;
73
+ keyVaultResourceId?: string | null | undefined;
74
+ };
75
+
76
+ export type CreateSetupRegistrationOperationRequestAzureUnion =
77
+ | CreateSetupRegistrationOperationRequestAzure
78
+ | any;
79
+
80
+ export type CreateSetupRegistrationOperationRequestGcp = {
81
+ certificateName: string;
82
+ };
83
+
84
+ export type CreateSetupRegistrationOperationRequestGcpUnion =
85
+ | CreateSetupRegistrationOperationRequestGcp
86
+ | any;
87
+
88
+ /**
89
+ * Namespace-scoped Kubernetes TLS Secret reference.
90
+ */
91
+ export type CreateSetupRegistrationOperationRequestTlsSecretRef = {
92
+ /**
93
+ * Secret namespace. Defaults to the release namespace when omitted.
94
+ */
95
+ namespace?: string | null | undefined;
96
+ /**
97
+ * Secret name.
98
+ */
99
+ secretName: string;
100
+ };
101
+
102
+ export type CreateSetupRegistrationOperationRequestDomainsKubernetes = {
103
+ /**
104
+ * Namespace-scoped Kubernetes TLS Secret reference.
105
+ */
106
+ tlsSecretRef: CreateSetupRegistrationOperationRequestTlsSecretRef;
107
+ };
108
+
109
+ export type CreateSetupRegistrationOperationRequestDomainsKubernetesUnion =
110
+ | CreateSetupRegistrationOperationRequestDomainsKubernetes
111
+ | any;
112
+
113
+ /**
114
+ * Platform-specific certificate references for custom domains.
115
+ */
116
+ export type CreateSetupRegistrationOperationRequestDomainsCertificate = {
117
+ aws?: CreateSetupRegistrationOperationRequestAws | any | null | undefined;
118
+ azure?: CreateSetupRegistrationOperationRequestAzure | any | null | undefined;
119
+ gcp?: CreateSetupRegistrationOperationRequestGcp | any | null | undefined;
120
+ kubernetes?:
121
+ | CreateSetupRegistrationOperationRequestDomainsKubernetes
122
+ | any
123
+ | null
124
+ | undefined;
125
+ };
126
+
127
+ /**
128
+ * Custom domain configuration for a single resource.
129
+ */
130
+ export type CreateSetupRegistrationOperationRequestCustomDomains = {
131
+ /**
132
+ * Platform-specific certificate references for custom domains.
133
+ */
134
+ certificate: CreateSetupRegistrationOperationRequestDomainsCertificate;
135
+ /**
136
+ * Fully qualified domain name to use.
137
+ */
138
+ domain: string;
139
+ };
140
+
141
+ /**
142
+ * Domain configuration for the stack.
143
+ *
144
+ * @remarks
145
+ *
146
+ * When `custom_domains` is set, the specified resources use customer-provided
147
+ * domains and certificates. Otherwise, Alien auto-generates domains.
148
+ */
149
+ export type CreateSetupRegistrationOperationRequestDomains = {
150
+ /**
151
+ * Custom domain configuration per resource ID.
152
+ */
153
+ customDomains?:
154
+ | { [k: string]: CreateSetupRegistrationOperationRequestCustomDomains }
155
+ | null
156
+ | undefined;
157
+ };
158
+
159
+ export type CreateSetupRegistrationOperationRequestDomainsUnion =
160
+ | CreateSetupRegistrationOperationRequestDomains
161
+ | any;
162
+
163
+ /**
164
+ * External bindings for pre-existing infrastructure.
165
+ *
166
+ * @remarks
167
+ * Allows using existing resources (MinIO, Redis, shared Container Apps
168
+ * Environment, etc.) instead of having Alien provision them.
169
+ * Required for Kubernetes platform, optional for cloud platforms.
170
+ */
171
+ export type CreateSetupRegistrationOperationRequestExternalBindings = {};
172
+
173
+ /**
174
+ * How heartbeat health checks are handled.
175
+ */
176
+ export const CreateSetupRegistrationOperationRequestHeartbeats = {
177
+ Off: "off",
178
+ On: "on",
179
+ } as const;
180
+ /**
181
+ * How heartbeat health checks are handled.
182
+ */
183
+ export type CreateSetupRegistrationOperationRequestHeartbeats = ClosedEnum<
184
+ typeof CreateSetupRegistrationOperationRequestHeartbeats
185
+ >;
186
+
187
+ /**
188
+ * Optional provider-specific identity for a cloud-backed Kubernetes cluster.
189
+ */
190
+ export type CreateSetupRegistrationOperationRequestCloud = {
191
+ accountId?: string | null | undefined;
192
+ clusterId?: string | null | undefined;
193
+ clusterName?: string | null | undefined;
194
+ projectId?: string | null | undefined;
195
+ region?: string | null | undefined;
196
+ resourceGroup?: string | null | undefined;
197
+ subscriptionId?: string | null | undefined;
198
+ };
199
+
200
+ export type CreateSetupRegistrationOperationRequestCloudUnion =
201
+ | CreateSetupRegistrationOperationRequestCloud
202
+ | any;
203
+
204
+ /**
205
+ * Ownership model for the Kubernetes cluster.
206
+ */
207
+ export const CreateSetupRegistrationOperationRequestOwnership = {
208
+ Managed: "managed",
209
+ Existing: "existing",
210
+ External: "external",
211
+ } as const;
212
+ /**
213
+ * Ownership model for the Kubernetes cluster.
214
+ */
215
+ export type CreateSetupRegistrationOperationRequestOwnership = ClosedEnum<
216
+ typeof CreateSetupRegistrationOperationRequestOwnership
217
+ >;
218
+
219
+ /**
220
+ * Kubernetes cluster setup settings.
221
+ */
222
+ export type CreateSetupRegistrationOperationRequestCluster = {
223
+ cloud?: CreateSetupRegistrationOperationRequestCloud | any | null | undefined;
224
+ /**
225
+ * Namespace where the Alien chart and application resources run.
226
+ */
227
+ namespace?: string | null | undefined;
228
+ /**
229
+ * Ownership model for the Kubernetes cluster.
230
+ */
231
+ ownership: CreateSetupRegistrationOperationRequestOwnership;
232
+ };
233
+
234
+ export type CreateSetupRegistrationOperationRequestClusterUnion =
235
+ | CreateSetupRegistrationOperationRequestCluster
236
+ | any;
237
+
238
+ export type CreateSetupRegistrationOperationRequestCertificateNone2 = {
239
+ mode: "none";
240
+ };
241
+
242
+ export type CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2 =
243
+ {
244
+ mode: "managedTlsSecret";
245
+ /**
246
+ * Secret name template. Runtime may substitute resource/deployment tokens.
247
+ */
248
+ secretNameTemplate: string;
249
+ };
250
+
251
+ export type CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2 = {
252
+ /**
253
+ * Existing ACM certificate ARN.
254
+ */
255
+ certificateArn: string;
256
+ mode: "awsAcmArn";
257
+ };
258
+
259
+ export type CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2 =
260
+ {
261
+ mode: "managedAcmImport";
262
+ /**
263
+ * ACM region. Defaults to the deployment region when omitted.
264
+ */
265
+ region?: string | null | undefined;
266
+ /**
267
+ * Tags applied to runtime-imported ACM certificates.
268
+ */
269
+ tags?: { [k: string]: string } | undefined;
270
+ };
271
+
272
+ /**
273
+ * Namespace-scoped Kubernetes TLS Secret reference.
274
+ */
275
+ export type CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2 = {
276
+ /**
277
+ * Secret namespace. Defaults to the release namespace when omitted.
278
+ */
279
+ namespace?: string | null | undefined;
280
+ /**
281
+ * Secret name.
282
+ */
283
+ secretName: string;
284
+ mode: "tlsSecretRef";
285
+ };
286
+
287
+ /**
288
+ * Certificate publication or reference mode for Kubernetes public endpoints.
289
+ */
290
+ export type CreateSetupRegistrationOperationRequestCertificateUnion2 =
291
+ | CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2
292
+ | CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2
293
+ | CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2
294
+ | CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2
295
+ | CreateSetupRegistrationOperationRequestCertificateNone2;
296
+
297
+ export const CreateSetupRegistrationOperationRequestModeCustom = {
298
+ Custom: "custom",
299
+ } as const;
300
+ export type CreateSetupRegistrationOperationRequestModeCustom = ClosedEnum<
301
+ typeof CreateSetupRegistrationOperationRequestModeCustom
302
+ >;
303
+
304
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum4 =
305
+ {
306
+ AzureApplicationGatewayForContainers:
307
+ "azureApplicationGatewayForContainers",
308
+ } as const;
309
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum4 =
310
+ ClosedEnum<
311
+ typeof CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum4
312
+ >;
313
+
314
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4 =
315
+ {
316
+ /**
317
+ * Optional ALB name when using BYO Application Gateway resources.
318
+ */
319
+ albName?: string | null | undefined;
320
+ /**
321
+ * Optional ALB namespace when using BYO Application Gateway resources.
322
+ */
323
+ albNamespace?: string | null | undefined;
324
+ /**
325
+ * Public or internal frontend exposure.
326
+ */
327
+ frontend: string;
328
+ provider:
329
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum4;
330
+ };
331
+
332
+ export const CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum4 = {
333
+ GkeGateway: "gkeGateway",
334
+ } as const;
335
+ export type CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum4 =
336
+ ClosedEnum<
337
+ typeof CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum4
338
+ >;
339
+
340
+ export type CreateSetupRegistrationOperationRequestProviderGkeGateway4 = {
341
+ provider: CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum4;
342
+ /**
343
+ * Optional static address name for the Gateway frontend.
344
+ */
345
+ staticAddressName?: string | null | undefined;
346
+ };
347
+
348
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlbEnum4 = {
349
+ AwsAlb: "awsAlb",
350
+ } as const;
351
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlbEnum4 =
352
+ ClosedEnum<typeof CreateSetupRegistrationOperationRequestProviderAwsAlbEnum4>;
353
+
354
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlb4 = {
355
+ /**
356
+ * Optional ALB IP address type, such as `dualstack`.
357
+ */
358
+ ipAddressType?: string | null | undefined;
359
+ provider: CreateSetupRegistrationOperationRequestProviderAwsAlbEnum4;
360
+ /**
361
+ * Internet-facing or internal ALB scheme.
362
+ */
363
+ scheme: string;
364
+ /**
365
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
366
+ */
367
+ subnetIds?: Array<string> | undefined;
368
+ /**
369
+ * ALB target type, usually `ip`.
370
+ */
371
+ targetType: string;
372
+ };
373
+
374
+ export type CreateSetupRegistrationOperationRequestProviderUnion4 =
375
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb4
376
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4
377
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway4
378
+ | any;
379
+
380
+ /**
381
+ * Shared Gateway API route profile values.
382
+ */
383
+ export type CreateSetupRegistrationOperationRequestRouteGateway2 = {
384
+ /**
385
+ * Annotations applied to route objects.
386
+ */
387
+ annotations?: { [k: string]: string } | undefined;
388
+ /**
389
+ * Route controller identifier, for example a cloud Gateway controller.
390
+ */
391
+ controller?: string | null | undefined;
392
+ /**
393
+ * GatewayClass selected for generated Gateways.
394
+ */
395
+ gatewayClassName: string;
396
+ /**
397
+ * Labels applied to route objects.
398
+ */
399
+ labels?: { [k: string]: string } | undefined;
400
+ /**
401
+ * Listener port, usually 443.
402
+ */
403
+ listenerPort: number;
404
+ provider?:
405
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb4
406
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4
407
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway4
408
+ | any
409
+ | null
410
+ | undefined;
411
+ routeApi: "gateway";
412
+ };
413
+
414
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum3 =
415
+ {
416
+ AzureApplicationGatewayForContainers:
417
+ "azureApplicationGatewayForContainers",
418
+ } as const;
419
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum3 =
420
+ ClosedEnum<
421
+ typeof CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum3
422
+ >;
423
+
424
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3 =
425
+ {
426
+ /**
427
+ * Optional ALB name when using BYO Application Gateway resources.
428
+ */
429
+ albName?: string | null | undefined;
430
+ /**
431
+ * Optional ALB namespace when using BYO Application Gateway resources.
432
+ */
433
+ albNamespace?: string | null | undefined;
434
+ /**
435
+ * Public or internal frontend exposure.
436
+ */
437
+ frontend: string;
438
+ provider:
439
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum3;
440
+ };
441
+
442
+ export const CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum3 = {
443
+ GkeGateway: "gkeGateway",
444
+ } as const;
445
+ export type CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum3 =
446
+ ClosedEnum<
447
+ typeof CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum3
448
+ >;
449
+
450
+ export type CreateSetupRegistrationOperationRequestProviderGkeGateway3 = {
451
+ provider: CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum3;
452
+ /**
453
+ * Optional static address name for the Gateway frontend.
454
+ */
455
+ staticAddressName?: string | null | undefined;
456
+ };
457
+
458
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlbEnum3 = {
459
+ AwsAlb: "awsAlb",
460
+ } as const;
461
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlbEnum3 =
462
+ ClosedEnum<typeof CreateSetupRegistrationOperationRequestProviderAwsAlbEnum3>;
463
+
464
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlb3 = {
465
+ /**
466
+ * Optional ALB IP address type, such as `dualstack`.
467
+ */
468
+ ipAddressType?: string | null | undefined;
469
+ provider: CreateSetupRegistrationOperationRequestProviderAwsAlbEnum3;
470
+ /**
471
+ * Internet-facing or internal ALB scheme.
472
+ */
473
+ scheme: string;
474
+ /**
475
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
476
+ */
477
+ subnetIds?: Array<string> | undefined;
478
+ /**
479
+ * ALB target type, usually `ip`.
480
+ */
481
+ targetType: string;
482
+ };
483
+
484
+ export type CreateSetupRegistrationOperationRequestProviderUnion3 =
485
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb3
486
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3
487
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway3
488
+ | any;
489
+
490
+ /**
491
+ * Shared Ingress route profile values.
492
+ */
493
+ export type CreateSetupRegistrationOperationRequestRouteIngress2 = {
494
+ /**
495
+ * Annotations applied to route objects.
496
+ */
497
+ annotations?: { [k: string]: string } | undefined;
498
+ /**
499
+ * Route controller identifier, for example `eks.amazonaws.com/alb`.
500
+ */
501
+ controller?: string | null | undefined;
502
+ /**
503
+ * `spec.ingressClassName` for generated Ingresses.
504
+ */
505
+ ingressClassName: string;
506
+ /**
507
+ * Labels applied to route objects.
508
+ */
509
+ labels?: { [k: string]: string } | undefined;
510
+ provider?:
511
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb3
512
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3
513
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway3
514
+ | any
515
+ | null
516
+ | undefined;
517
+ routeApi: "ingress";
518
+ };
519
+
520
+ /**
521
+ * Kubernetes route API selected for public endpoints.
522
+ */
523
+ export type CreateSetupRegistrationOperationRequestRouteUnion2 =
524
+ | CreateSetupRegistrationOperationRequestRouteIngress2
525
+ | CreateSetupRegistrationOperationRequestRouteGateway2;
526
+
527
+ export type CreateSetupRegistrationOperationRequestExposureCustom = {
528
+ /**
529
+ * Certificate publication or reference mode for Kubernetes public endpoints.
530
+ */
531
+ certificate:
532
+ | CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2
533
+ | CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2
534
+ | CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2
535
+ | CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2
536
+ | CreateSetupRegistrationOperationRequestCertificateNone2;
537
+ /**
538
+ * Hostname routed by the Kubernetes public endpoint.
539
+ */
540
+ domain: string;
541
+ mode: CreateSetupRegistrationOperationRequestModeCustom;
542
+ /**
543
+ * Kubernetes route API selected for public endpoints.
544
+ */
545
+ route:
546
+ | CreateSetupRegistrationOperationRequestRouteIngress2
547
+ | CreateSetupRegistrationOperationRequestRouteGateway2;
548
+ };
549
+
550
+ export type CreateSetupRegistrationOperationRequestCertificateNone1 = {
551
+ mode: "none";
552
+ };
553
+
554
+ export type CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1 =
555
+ {
556
+ mode: "managedTlsSecret";
557
+ /**
558
+ * Secret name template. Runtime may substitute resource/deployment tokens.
559
+ */
560
+ secretNameTemplate: string;
561
+ };
562
+
563
+ export type CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1 = {
564
+ /**
565
+ * Existing ACM certificate ARN.
566
+ */
567
+ certificateArn: string;
568
+ mode: "awsAcmArn";
569
+ };
570
+
571
+ export type CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1 =
572
+ {
573
+ mode: "managedAcmImport";
574
+ /**
575
+ * ACM region. Defaults to the deployment region when omitted.
576
+ */
577
+ region?: string | null | undefined;
578
+ /**
579
+ * Tags applied to runtime-imported ACM certificates.
580
+ */
581
+ tags?: { [k: string]: string } | undefined;
582
+ };
583
+
584
+ /**
585
+ * Namespace-scoped Kubernetes TLS Secret reference.
586
+ */
587
+ export type CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1 = {
588
+ /**
589
+ * Secret namespace. Defaults to the release namespace when omitted.
590
+ */
591
+ namespace?: string | null | undefined;
592
+ /**
593
+ * Secret name.
594
+ */
595
+ secretName: string;
596
+ mode: "tlsSecretRef";
597
+ };
598
+
599
+ /**
600
+ * Certificate publication or reference mode for Kubernetes public endpoints.
601
+ */
602
+ export type CreateSetupRegistrationOperationRequestCertificateUnion1 =
603
+ | CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1
604
+ | CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1
605
+ | CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1
606
+ | CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1
607
+ | CreateSetupRegistrationOperationRequestCertificateNone1;
608
+
609
+ export const CreateSetupRegistrationOperationRequestModeGenerated = {
610
+ Generated: "generated",
611
+ } as const;
612
+ export type CreateSetupRegistrationOperationRequestModeGenerated = ClosedEnum<
613
+ typeof CreateSetupRegistrationOperationRequestModeGenerated
614
+ >;
615
+
616
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum2 =
617
+ {
618
+ AzureApplicationGatewayForContainers:
619
+ "azureApplicationGatewayForContainers",
620
+ } as const;
621
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum2 =
622
+ ClosedEnum<
623
+ typeof CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum2
624
+ >;
625
+
626
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2 =
627
+ {
628
+ /**
629
+ * Optional ALB name when using BYO Application Gateway resources.
630
+ */
631
+ albName?: string | null | undefined;
632
+ /**
633
+ * Optional ALB namespace when using BYO Application Gateway resources.
634
+ */
635
+ albNamespace?: string | null | undefined;
636
+ /**
637
+ * Public or internal frontend exposure.
638
+ */
639
+ frontend: string;
640
+ provider:
641
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum2;
642
+ };
643
+
644
+ export const CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum2 = {
645
+ GkeGateway: "gkeGateway",
646
+ } as const;
647
+ export type CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum2 =
648
+ ClosedEnum<
649
+ typeof CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum2
650
+ >;
651
+
652
+ export type CreateSetupRegistrationOperationRequestProviderGkeGateway2 = {
653
+ provider: CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum2;
654
+ /**
655
+ * Optional static address name for the Gateway frontend.
656
+ */
657
+ staticAddressName?: string | null | undefined;
658
+ };
659
+
660
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlbEnum2 = {
661
+ AwsAlb: "awsAlb",
662
+ } as const;
663
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlbEnum2 =
664
+ ClosedEnum<typeof CreateSetupRegistrationOperationRequestProviderAwsAlbEnum2>;
665
+
666
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlb2 = {
667
+ /**
668
+ * Optional ALB IP address type, such as `dualstack`.
669
+ */
670
+ ipAddressType?: string | null | undefined;
671
+ provider: CreateSetupRegistrationOperationRequestProviderAwsAlbEnum2;
672
+ /**
673
+ * Internet-facing or internal ALB scheme.
674
+ */
675
+ scheme: string;
676
+ /**
677
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
678
+ */
679
+ subnetIds?: Array<string> | undefined;
680
+ /**
681
+ * ALB target type, usually `ip`.
682
+ */
683
+ targetType: string;
684
+ };
685
+
686
+ export type CreateSetupRegistrationOperationRequestProviderUnion2 =
687
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb2
688
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2
689
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway2
690
+ | any;
691
+
692
+ /**
693
+ * Shared Gateway API route profile values.
694
+ */
695
+ export type CreateSetupRegistrationOperationRequestRouteGateway1 = {
696
+ /**
697
+ * Annotations applied to route objects.
698
+ */
699
+ annotations?: { [k: string]: string } | undefined;
700
+ /**
701
+ * Route controller identifier, for example a cloud Gateway controller.
702
+ */
703
+ controller?: string | null | undefined;
704
+ /**
705
+ * GatewayClass selected for generated Gateways.
706
+ */
707
+ gatewayClassName: string;
708
+ /**
709
+ * Labels applied to route objects.
710
+ */
711
+ labels?: { [k: string]: string } | undefined;
712
+ /**
713
+ * Listener port, usually 443.
714
+ */
715
+ listenerPort: number;
716
+ provider?:
717
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb2
718
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2
719
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway2
720
+ | any
721
+ | null
722
+ | undefined;
723
+ routeApi: "gateway";
724
+ };
725
+
726
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum1 =
727
+ {
728
+ AzureApplicationGatewayForContainers:
729
+ "azureApplicationGatewayForContainers",
730
+ } as const;
731
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum1 =
732
+ ClosedEnum<
733
+ typeof CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum1
734
+ >;
735
+
736
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1 =
737
+ {
738
+ /**
739
+ * Optional ALB name when using BYO Application Gateway resources.
740
+ */
741
+ albName?: string | null | undefined;
742
+ /**
743
+ * Optional ALB namespace when using BYO Application Gateway resources.
744
+ */
745
+ albNamespace?: string | null | undefined;
746
+ /**
747
+ * Public or internal frontend exposure.
748
+ */
749
+ frontend: string;
750
+ provider:
751
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum1;
752
+ };
753
+
754
+ export const CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum1 = {
755
+ GkeGateway: "gkeGateway",
756
+ } as const;
757
+ export type CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum1 =
758
+ ClosedEnum<
759
+ typeof CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum1
760
+ >;
761
+
762
+ export type CreateSetupRegistrationOperationRequestProviderGkeGateway1 = {
763
+ provider: CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum1;
764
+ /**
765
+ * Optional static address name for the Gateway frontend.
766
+ */
767
+ staticAddressName?: string | null | undefined;
768
+ };
769
+
770
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlbEnum1 = {
771
+ AwsAlb: "awsAlb",
772
+ } as const;
773
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlbEnum1 =
774
+ ClosedEnum<typeof CreateSetupRegistrationOperationRequestProviderAwsAlbEnum1>;
775
+
776
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlb1 = {
777
+ /**
778
+ * Optional ALB IP address type, such as `dualstack`.
779
+ */
780
+ ipAddressType?: string | null | undefined;
781
+ provider: CreateSetupRegistrationOperationRequestProviderAwsAlbEnum1;
782
+ /**
783
+ * Internet-facing or internal ALB scheme.
784
+ */
785
+ scheme: string;
786
+ /**
787
+ * Explicit subnet IDs when the profile cannot rely on controller discovery.
788
+ */
789
+ subnetIds?: Array<string> | undefined;
790
+ /**
791
+ * ALB target type, usually `ip`.
792
+ */
793
+ targetType: string;
794
+ };
795
+
796
+ export type CreateSetupRegistrationOperationRequestProviderUnion1 =
797
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb1
798
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1
799
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway1
800
+ | any;
801
+
802
+ /**
803
+ * Shared Ingress route profile values.
804
+ */
805
+ export type CreateSetupRegistrationOperationRequestRouteIngress1 = {
806
+ /**
807
+ * Annotations applied to route objects.
808
+ */
809
+ annotations?: { [k: string]: string } | undefined;
810
+ /**
811
+ * Route controller identifier, for example `eks.amazonaws.com/alb`.
812
+ */
813
+ controller?: string | null | undefined;
814
+ /**
815
+ * `spec.ingressClassName` for generated Ingresses.
816
+ */
817
+ ingressClassName: string;
818
+ /**
819
+ * Labels applied to route objects.
820
+ */
821
+ labels?: { [k: string]: string } | undefined;
822
+ provider?:
823
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb1
824
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1
825
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway1
826
+ | any
827
+ | null
828
+ | undefined;
829
+ routeApi: "ingress";
830
+ };
831
+
832
+ /**
833
+ * Kubernetes route API selected for public endpoints.
834
+ */
835
+ export type CreateSetupRegistrationOperationRequestRouteUnion1 =
836
+ | CreateSetupRegistrationOperationRequestRouteIngress1
837
+ | CreateSetupRegistrationOperationRequestRouteGateway1;
838
+
839
+ export type CreateSetupRegistrationOperationRequestExposureGenerated = {
840
+ /**
841
+ * Certificate publication or reference mode for Kubernetes public endpoints.
842
+ */
843
+ certificate:
844
+ | CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1
845
+ | CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1
846
+ | CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1
847
+ | CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1
848
+ | CreateSetupRegistrationOperationRequestCertificateNone1;
849
+ mode: CreateSetupRegistrationOperationRequestModeGenerated;
850
+ /**
851
+ * Kubernetes route API selected for public endpoints.
852
+ */
853
+ route:
854
+ | CreateSetupRegistrationOperationRequestRouteIngress1
855
+ | CreateSetupRegistrationOperationRequestRouteGateway1;
856
+ };
857
+
858
+ export const CreateSetupRegistrationOperationRequestModeDisabled = {
859
+ Disabled: "disabled",
860
+ } as const;
861
+ export type CreateSetupRegistrationOperationRequestModeDisabled = ClosedEnum<
862
+ typeof CreateSetupRegistrationOperationRequestModeDisabled
863
+ >;
864
+
865
+ export type CreateSetupRegistrationOperationRequestExposureDisabled = {
866
+ mode: CreateSetupRegistrationOperationRequestModeDisabled;
867
+ };
868
+
869
+ export type CreateSetupRegistrationOperationRequestExposureUnion =
870
+ | CreateSetupRegistrationOperationRequestExposureCustom
871
+ | CreateSetupRegistrationOperationRequestExposureGenerated
872
+ | CreateSetupRegistrationOperationRequestExposureDisabled
873
+ | any;
874
+
875
+ /**
876
+ * Kubernetes runtime substrate configuration.
877
+ *
878
+ * @remarks
879
+ *
880
+ * This controls how setup chooses the cluster backing `Platform::Kubernetes`
881
+ * deployments. When omitted, cloud-backed Kubernetes deployments default to a
882
+ * managed cluster and generic/on-prem Kubernetes defaults to an external
883
+ * cluster.
884
+ */
885
+ export type CreateSetupRegistrationOperationRequestKubernetes = {
886
+ cluster?:
887
+ | CreateSetupRegistrationOperationRequestCluster
888
+ | any
889
+ | null
890
+ | undefined;
891
+ exposure?:
892
+ | CreateSetupRegistrationOperationRequestExposureCustom
893
+ | CreateSetupRegistrationOperationRequestExposureGenerated
894
+ | CreateSetupRegistrationOperationRequestExposureDisabled
895
+ | any
896
+ | null
897
+ | undefined;
898
+ };
899
+
900
+ export type CreateSetupRegistrationOperationRequestKubernetesUnion =
901
+ | CreateSetupRegistrationOperationRequestKubernetes
902
+ | any;
903
+
904
+ export const CreateSetupRegistrationOperationRequestTypeByoVnetAzure = {
905
+ ByoVnetAzure: "byo-vnet-azure",
906
+ } as const;
907
+ export type CreateSetupRegistrationOperationRequestTypeByoVnetAzure =
908
+ ClosedEnum<typeof CreateSetupRegistrationOperationRequestTypeByoVnetAzure>;
909
+
910
+ export type CreateSetupRegistrationOperationRequestNetworkByoVnetAzure = {
911
+ /**
912
+ * Name of the dedicated classic Application Gateway subnet within the VNet.
913
+ */
914
+ applicationGatewaySubnetName?: string | null | undefined;
915
+ /**
916
+ * Name of the private subnet within the VNet
917
+ */
918
+ privateSubnetName: string;
919
+ /**
920
+ * Name of the public subnet within the VNet
921
+ */
922
+ publicSubnetName: string;
923
+ type: CreateSetupRegistrationOperationRequestTypeByoVnetAzure;
924
+ /**
925
+ * The full resource ID of the existing VNet
926
+ */
927
+ vnetResourceId: string;
928
+ };
929
+
930
+ export const CreateSetupRegistrationOperationRequestTypeByoVpcGcp = {
931
+ ByoVpcGcp: "byo-vpc-gcp",
932
+ } as const;
933
+ export type CreateSetupRegistrationOperationRequestTypeByoVpcGcp = ClosedEnum<
934
+ typeof CreateSetupRegistrationOperationRequestTypeByoVpcGcp
935
+ >;
936
+
937
+ export type CreateSetupRegistrationOperationRequestNetworkByoVpcGcp = {
938
+ /**
939
+ * The name of the existing VPC network
940
+ */
941
+ networkName: string;
942
+ /**
943
+ * The region of the subnet
944
+ */
945
+ region: string;
946
+ /**
947
+ * The name of the subnet to use
948
+ */
949
+ subnetName: string;
950
+ type: CreateSetupRegistrationOperationRequestTypeByoVpcGcp;
951
+ };
952
+
953
+ export const CreateSetupRegistrationOperationRequestTypeByoVpcAws = {
954
+ ByoVpcAws: "byo-vpc-aws",
955
+ } as const;
956
+ export type CreateSetupRegistrationOperationRequestTypeByoVpcAws = ClosedEnum<
957
+ typeof CreateSetupRegistrationOperationRequestTypeByoVpcAws
958
+ >;
959
+
960
+ export type CreateSetupRegistrationOperationRequestNetworkByoVpcAws = {
961
+ /**
962
+ * IDs of private subnets
963
+ */
964
+ privateSubnetIds: Array<string>;
965
+ /**
966
+ * IDs of public subnets (required for public ingress)
967
+ */
968
+ publicSubnetIds: Array<string>;
969
+ /**
970
+ * Optional security group IDs to use
971
+ */
972
+ securityGroupIds?: Array<string> | undefined;
973
+ type: CreateSetupRegistrationOperationRequestTypeByoVpcAws;
974
+ /**
975
+ * The ID of the existing VPC
976
+ */
977
+ vpcId: string;
978
+ };
979
+
980
+ export const CreateSetupRegistrationOperationRequestTypeCreate = {
981
+ Create: "create",
982
+ } as const;
983
+ export type CreateSetupRegistrationOperationRequestTypeCreate = ClosedEnum<
984
+ typeof CreateSetupRegistrationOperationRequestTypeCreate
985
+ >;
986
+
987
+ export type CreateSetupRegistrationOperationRequestNetworkCreate = {
988
+ /**
989
+ * Number of availability zones (default: 2).
990
+ */
991
+ availabilityZones?: number | undefined;
992
+ /**
993
+ * VPC/VNet CIDR block. If not specified, auto-generated from stack ID
994
+ *
995
+ * @remarks
996
+ * to reduce conflicts (e.g., "10.{hash}.0.0/16").
997
+ */
998
+ cidr?: string | null | undefined;
999
+ type: CreateSetupRegistrationOperationRequestTypeCreate;
1000
+ };
1001
+
1002
+ export const CreateSetupRegistrationOperationRequestTypeUseDefault = {
1003
+ UseDefault: "use-default",
1004
+ } as const;
1005
+ export type CreateSetupRegistrationOperationRequestTypeUseDefault = ClosedEnum<
1006
+ typeof CreateSetupRegistrationOperationRequestTypeUseDefault
1007
+ >;
1008
+
1009
+ export type CreateSetupRegistrationOperationRequestNetworkUseDefault = {
1010
+ type: CreateSetupRegistrationOperationRequestTypeUseDefault;
1011
+ };
1012
+
1013
+ export type CreateSetupRegistrationOperationRequestNetworkUnion =
1014
+ | CreateSetupRegistrationOperationRequestNetworkByoVpcAws
1015
+ | CreateSetupRegistrationOperationRequestNetworkByoVpcGcp
1016
+ | CreateSetupRegistrationOperationRequestNetworkByoVnetAzure
1017
+ | CreateSetupRegistrationOperationRequestNetworkUseDefault
1018
+ | CreateSetupRegistrationOperationRequestNetworkCreate
1019
+ | any;
1020
+
1021
+ /**
1022
+ * How telemetry (logs, metrics, traces) is handled.
1023
+ */
1024
+ export const CreateSetupRegistrationOperationRequestTelemetry = {
1025
+ Off: "off",
1026
+ Auto: "auto",
1027
+ ApprovalRequired: "approval-required",
1028
+ } as const;
1029
+ /**
1030
+ * How telemetry (logs, metrics, traces) is handled.
1031
+ */
1032
+ export type CreateSetupRegistrationOperationRequestTelemetry = ClosedEnum<
1033
+ typeof CreateSetupRegistrationOperationRequestTelemetry
1034
+ >;
1035
+
1036
+ /**
1037
+ * How updates are delivered to the deployment.
1038
+ */
1039
+ export const CreateSetupRegistrationOperationRequestUpdates = {
1040
+ Auto: "auto",
1041
+ ApprovalRequired: "approval-required",
1042
+ } as const;
1043
+ /**
1044
+ * How updates are delivered to the deployment.
1045
+ */
1046
+ export type CreateSetupRegistrationOperationRequestUpdates = ClosedEnum<
1047
+ typeof CreateSetupRegistrationOperationRequestUpdates
1048
+ >;
1049
+
1050
+ /**
1051
+ * User-customizable deployment settings specified at deploy time.
1052
+ *
1053
+ * @remarks
1054
+ *
1055
+ * These settings are provided by the customer via CloudFormation parameters,
1056
+ * Terraform attributes, CLI flags, or Helm values. They customize how the
1057
+ * deployment runs and what capabilities are enabled.
1058
+ *
1059
+ * **Key distinction**: StackSettings is user-customizable, while ManagementConfig
1060
+ * is platform-derived (from the Manager's ServiceAccount).
1061
+ */
1062
+ export type CreateSetupRegistrationOperationRequestStackSettings = {
1063
+ /**
1064
+ * Deployment model: how updates are delivered to the remote environment.
1065
+ */
1066
+ deploymentModel?:
1067
+ | CreateSetupRegistrationOperationRequestDeploymentModel
1068
+ | undefined;
1069
+ domains?:
1070
+ | CreateSetupRegistrationOperationRequestDomains
1071
+ | any
1072
+ | null
1073
+ | undefined;
1074
+ /**
1075
+ * External bindings for pre-existing infrastructure.
1076
+ *
1077
+ * @remarks
1078
+ * Allows using existing resources (MinIO, Redis, shared Container Apps
1079
+ * Environment, etc.) instead of having Alien provision them.
1080
+ * Required for Kubernetes platform, optional for cloud platforms.
1081
+ */
1082
+ externalBindings?:
1083
+ | CreateSetupRegistrationOperationRequestExternalBindings
1084
+ | null
1085
+ | undefined;
1086
+ /**
1087
+ * How heartbeat health checks are handled.
1088
+ */
1089
+ heartbeats?: CreateSetupRegistrationOperationRequestHeartbeats | undefined;
1090
+ kubernetes?:
1091
+ | CreateSetupRegistrationOperationRequestKubernetes
1092
+ | any
1093
+ | null
1094
+ | undefined;
1095
+ network?:
1096
+ | CreateSetupRegistrationOperationRequestNetworkByoVpcAws
1097
+ | CreateSetupRegistrationOperationRequestNetworkByoVpcGcp
1098
+ | CreateSetupRegistrationOperationRequestNetworkByoVnetAzure
1099
+ | CreateSetupRegistrationOperationRequestNetworkUseDefault
1100
+ | CreateSetupRegistrationOperationRequestNetworkCreate
1101
+ | any
1102
+ | null
1103
+ | undefined;
1104
+ /**
1105
+ * How telemetry (logs, metrics, traces) is handled.
1106
+ */
1107
+ telemetry?: CreateSetupRegistrationOperationRequestTelemetry | undefined;
1108
+ /**
1109
+ * How updates are delivered to the deployment.
1110
+ */
1111
+ updates?: CreateSetupRegistrationOperationRequestUpdates | undefined;
1112
+ };
1113
+
1114
+ export const CreateSetupRegistrationOperationRequestPlatformKubernetes = {
1115
+ Kubernetes: "kubernetes",
1116
+ } as const;
1117
+ export type CreateSetupRegistrationOperationRequestPlatformKubernetes =
1118
+ ClosedEnum<typeof CreateSetupRegistrationOperationRequestPlatformKubernetes>;
1119
+
1120
+ export type CreateSetupRegistrationOperationRequestManagementConfigKubernetes =
1121
+ {
1122
+ platform: CreateSetupRegistrationOperationRequestPlatformKubernetes;
1123
+ };
1124
+
1125
+ export const CreateSetupRegistrationOperationRequestPlatformAzure = {
1126
+ Azure: "azure",
1127
+ } as const;
1128
+ export type CreateSetupRegistrationOperationRequestPlatformAzure = ClosedEnum<
1129
+ typeof CreateSetupRegistrationOperationRequestPlatformAzure
1130
+ >;
1131
+
1132
+ /**
1133
+ * Azure management configuration extracted from stack settings
1134
+ */
1135
+ export type CreateSetupRegistrationOperationRequestManagementConfigAzure = {
1136
+ /**
1137
+ * The managing Azure Tenant ID for cross-tenant access
1138
+ */
1139
+ managingTenantId: string;
1140
+ /**
1141
+ * OIDC issuer URL trusted by the target-side managed identity.
1142
+ */
1143
+ oidcIssuer: string;
1144
+ /**
1145
+ * OIDC subject claim trusted by the target-side managed identity.
1146
+ */
1147
+ oidcSubject: string;
1148
+ platform: CreateSetupRegistrationOperationRequestPlatformAzure;
1149
+ };
1150
+
1151
+ export const CreateSetupRegistrationOperationRequestPlatformGcp = {
1152
+ Gcp: "gcp",
1153
+ } as const;
1154
+ export type CreateSetupRegistrationOperationRequestPlatformGcp = ClosedEnum<
1155
+ typeof CreateSetupRegistrationOperationRequestPlatformGcp
1156
+ >;
1157
+
1158
+ /**
1159
+ * GCP management configuration extracted from stack settings
1160
+ */
1161
+ export type CreateSetupRegistrationOperationRequestManagementConfigGcp = {
1162
+ /**
1163
+ * Service account email for management roles
1164
+ */
1165
+ serviceAccountEmail: string;
1166
+ platform: CreateSetupRegistrationOperationRequestPlatformGcp;
1167
+ };
1168
+
1169
+ export const CreateSetupRegistrationOperationRequestPlatformAws = {
1170
+ Aws: "aws",
1171
+ } as const;
1172
+ export type CreateSetupRegistrationOperationRequestPlatformAws = ClosedEnum<
1173
+ typeof CreateSetupRegistrationOperationRequestPlatformAws
1174
+ >;
1175
+
1176
+ /**
1177
+ * AWS management configuration extracted from stack settings
1178
+ */
1179
+ export type CreateSetupRegistrationOperationRequestManagementConfigAws = {
1180
+ /**
1181
+ * The managing AWS IAM role ARN that can assume cross-account roles
1182
+ */
1183
+ managingRoleArn: string;
1184
+ platform: CreateSetupRegistrationOperationRequestPlatformAws;
1185
+ };
1186
+
1187
+ /**
1188
+ * Management configuration for different cloud platforms.
1189
+ *
1190
+ * @remarks
1191
+ *
1192
+ * Platform-derived configuration for cross-account/cross-tenant access.
1193
+ * This is NOT user-specified - it's derived from the Manager's ServiceAccount.
1194
+ */
1195
+ export type CreateSetupRegistrationOperationRequestManagementConfigUnion =
1196
+ | CreateSetupRegistrationOperationRequestManagementConfigAzure
1197
+ | CreateSetupRegistrationOperationRequestManagementConfigAws
1198
+ | CreateSetupRegistrationOperationRequestManagementConfigGcp
1199
+ | CreateSetupRegistrationOperationRequestManagementConfigKubernetes
1200
+ | any;
1201
+
1202
+ /**
1203
+ * Resolved setup import payload
1204
+ */
1205
+ export type CreateSetupRegistrationOperationRequestSource = {
1206
+ /**
1207
+ * User-chosen deployment name. Must be unique within the deployment group; the manager returns 409 on collision.
1208
+ */
1209
+ deploymentName: string;
1210
+ resourcePrefix: string;
1211
+ /**
1212
+ * Source label for observability only — does not affect import behavior.
1213
+ */
1214
+ sourceKind?: ImportSourceKind | undefined;
1215
+ setupMetadata?: { [k: string]: any | null } | undefined;
1216
+ /**
1217
+ * Release that produced the setup artifact. Defaults to latest.
1218
+ */
1219
+ releaseId?: string | undefined;
1220
+ /**
1221
+ * Cloud platform of the imported stack
1222
+ */
1223
+ platform: CreateSetupRegistrationOperationRequestPlatform;
1224
+ /**
1225
+ * Base cloud platform for cloud-backed Kubernetes imports.
1226
+ */
1227
+ basePlatform?: KubernetesBasePlatform | undefined;
1228
+ /**
1229
+ * Region or location reported by the setup artifact
1230
+ */
1231
+ region: string;
1232
+ setupTarget: string;
1233
+ /**
1234
+ * Setup import payload format version embedded in the package
1235
+ */
1236
+ setupImportFormatVersion: number;
1237
+ setupFingerprint: string;
1238
+ setupFingerprintVersion: number;
1239
+ /**
1240
+ * User-customizable deployment settings specified at deploy time.
1241
+ *
1242
+ * @remarks
1243
+ *
1244
+ * These settings are provided by the customer via CloudFormation parameters,
1245
+ * Terraform attributes, CLI flags, or Helm values. They customize how the
1246
+ * deployment runs and what capabilities are enabled.
1247
+ *
1248
+ * **Key distinction**: StackSettings is user-customizable, while ManagementConfig
1249
+ * is platform-derived (from the Manager's ServiceAccount).
1250
+ */
1251
+ stackSettings: CreateSetupRegistrationOperationRequestStackSettings;
1252
+ /**
1253
+ * Management configuration for different cloud platforms.
1254
+ *
1255
+ * @remarks
1256
+ *
1257
+ * Platform-derived configuration for cross-account/cross-tenant access.
1258
+ * This is NOT user-specified - it's derived from the Manager's ServiceAccount.
1259
+ */
1260
+ managementConfig?:
1261
+ | CreateSetupRegistrationOperationRequestManagementConfigAzure
1262
+ | CreateSetupRegistrationOperationRequestManagementConfigAws
1263
+ | CreateSetupRegistrationOperationRequestManagementConfigGcp
1264
+ | CreateSetupRegistrationOperationRequestManagementConfigKubernetes
1265
+ | any
1266
+ | null
1267
+ | undefined;
1268
+ resources: Array<ImportedResource>;
1269
+ };
1270
+
1271
+ export type CreateSetupRegistrationOperationRequest = {
1272
+ action: SetupRegistrationAction;
1273
+ sourceKind: ImportSourceKind;
1274
+ source?: CreateSetupRegistrationOperationRequestSource | null | undefined;
1275
+ /**
1276
+ * Unique identifier for the deployment.
1277
+ */
1278
+ deploymentId?: string | null | undefined;
1279
+ idempotencyKey?: string | undefined;
1280
+ cloudFormation?: SetupRegistrationCloudFormationTarget | null | undefined;
1281
+ };
1282
+
1283
+ /** @internal */
1284
+ export const CreateSetupRegistrationOperationRequestPlatform$outboundSchema:
1285
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestPlatform> = z.enum(
1286
+ CreateSetupRegistrationOperationRequestPlatform,
1287
+ );
1288
+
1289
+ /** @internal */
1290
+ export const CreateSetupRegistrationOperationRequestDeploymentModel$outboundSchema:
1291
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestDeploymentModel> = z
1292
+ .enum(CreateSetupRegistrationOperationRequestDeploymentModel);
1293
+
1294
+ /** @internal */
1295
+ export type CreateSetupRegistrationOperationRequestAws$Outbound = {
1296
+ certificateArn: string;
1297
+ };
1298
+
1299
+ /** @internal */
1300
+ export const CreateSetupRegistrationOperationRequestAws$outboundSchema:
1301
+ z.ZodType<
1302
+ CreateSetupRegistrationOperationRequestAws$Outbound,
1303
+ CreateSetupRegistrationOperationRequestAws
1304
+ > = z.object({
1305
+ certificateArn: z.string(),
1306
+ });
1307
+
1308
+ export function createSetupRegistrationOperationRequestAwsToJSON(
1309
+ createSetupRegistrationOperationRequestAws:
1310
+ CreateSetupRegistrationOperationRequestAws,
1311
+ ): string {
1312
+ return JSON.stringify(
1313
+ CreateSetupRegistrationOperationRequestAws$outboundSchema.parse(
1314
+ createSetupRegistrationOperationRequestAws,
1315
+ ),
1316
+ );
1317
+ }
1318
+
1319
+ /** @internal */
1320
+ export type CreateSetupRegistrationOperationRequestAwsUnion$Outbound =
1321
+ | CreateSetupRegistrationOperationRequestAws$Outbound
1322
+ | any;
1323
+
1324
+ /** @internal */
1325
+ export const CreateSetupRegistrationOperationRequestAwsUnion$outboundSchema:
1326
+ z.ZodType<
1327
+ CreateSetupRegistrationOperationRequestAwsUnion$Outbound,
1328
+ CreateSetupRegistrationOperationRequestAwsUnion
1329
+ > = z.union([
1330
+ z.lazy(() => CreateSetupRegistrationOperationRequestAws$outboundSchema),
1331
+ z.any(),
1332
+ ]);
1333
+
1334
+ export function createSetupRegistrationOperationRequestAwsUnionToJSON(
1335
+ createSetupRegistrationOperationRequestAwsUnion:
1336
+ CreateSetupRegistrationOperationRequestAwsUnion,
1337
+ ): string {
1338
+ return JSON.stringify(
1339
+ CreateSetupRegistrationOperationRequestAwsUnion$outboundSchema.parse(
1340
+ createSetupRegistrationOperationRequestAwsUnion,
1341
+ ),
1342
+ );
1343
+ }
1344
+
1345
+ /** @internal */
1346
+ export type CreateSetupRegistrationOperationRequestAzure$Outbound = {
1347
+ keyVaultCertificateId: string;
1348
+ keyVaultResourceId?: string | null | undefined;
1349
+ };
1350
+
1351
+ /** @internal */
1352
+ export const CreateSetupRegistrationOperationRequestAzure$outboundSchema:
1353
+ z.ZodType<
1354
+ CreateSetupRegistrationOperationRequestAzure$Outbound,
1355
+ CreateSetupRegistrationOperationRequestAzure
1356
+ > = z.object({
1357
+ keyVaultCertificateId: z.string(),
1358
+ keyVaultResourceId: z.nullable(z.string()).optional(),
1359
+ });
1360
+
1361
+ export function createSetupRegistrationOperationRequestAzureToJSON(
1362
+ createSetupRegistrationOperationRequestAzure:
1363
+ CreateSetupRegistrationOperationRequestAzure,
1364
+ ): string {
1365
+ return JSON.stringify(
1366
+ CreateSetupRegistrationOperationRequestAzure$outboundSchema.parse(
1367
+ createSetupRegistrationOperationRequestAzure,
1368
+ ),
1369
+ );
1370
+ }
1371
+
1372
+ /** @internal */
1373
+ export type CreateSetupRegistrationOperationRequestAzureUnion$Outbound =
1374
+ | CreateSetupRegistrationOperationRequestAzure$Outbound
1375
+ | any;
1376
+
1377
+ /** @internal */
1378
+ export const CreateSetupRegistrationOperationRequestAzureUnion$outboundSchema:
1379
+ z.ZodType<
1380
+ CreateSetupRegistrationOperationRequestAzureUnion$Outbound,
1381
+ CreateSetupRegistrationOperationRequestAzureUnion
1382
+ > = z.union([
1383
+ z.lazy(() => CreateSetupRegistrationOperationRequestAzure$outboundSchema),
1384
+ z.any(),
1385
+ ]);
1386
+
1387
+ export function createSetupRegistrationOperationRequestAzureUnionToJSON(
1388
+ createSetupRegistrationOperationRequestAzureUnion:
1389
+ CreateSetupRegistrationOperationRequestAzureUnion,
1390
+ ): string {
1391
+ return JSON.stringify(
1392
+ CreateSetupRegistrationOperationRequestAzureUnion$outboundSchema.parse(
1393
+ createSetupRegistrationOperationRequestAzureUnion,
1394
+ ),
1395
+ );
1396
+ }
1397
+
1398
+ /** @internal */
1399
+ export type CreateSetupRegistrationOperationRequestGcp$Outbound = {
1400
+ certificateName: string;
1401
+ };
1402
+
1403
+ /** @internal */
1404
+ export const CreateSetupRegistrationOperationRequestGcp$outboundSchema:
1405
+ z.ZodType<
1406
+ CreateSetupRegistrationOperationRequestGcp$Outbound,
1407
+ CreateSetupRegistrationOperationRequestGcp
1408
+ > = z.object({
1409
+ certificateName: z.string(),
1410
+ });
1411
+
1412
+ export function createSetupRegistrationOperationRequestGcpToJSON(
1413
+ createSetupRegistrationOperationRequestGcp:
1414
+ CreateSetupRegistrationOperationRequestGcp,
1415
+ ): string {
1416
+ return JSON.stringify(
1417
+ CreateSetupRegistrationOperationRequestGcp$outboundSchema.parse(
1418
+ createSetupRegistrationOperationRequestGcp,
1419
+ ),
1420
+ );
1421
+ }
1422
+
1423
+ /** @internal */
1424
+ export type CreateSetupRegistrationOperationRequestGcpUnion$Outbound =
1425
+ | CreateSetupRegistrationOperationRequestGcp$Outbound
1426
+ | any;
1427
+
1428
+ /** @internal */
1429
+ export const CreateSetupRegistrationOperationRequestGcpUnion$outboundSchema:
1430
+ z.ZodType<
1431
+ CreateSetupRegistrationOperationRequestGcpUnion$Outbound,
1432
+ CreateSetupRegistrationOperationRequestGcpUnion
1433
+ > = z.union([
1434
+ z.lazy(() => CreateSetupRegistrationOperationRequestGcp$outboundSchema),
1435
+ z.any(),
1436
+ ]);
1437
+
1438
+ export function createSetupRegistrationOperationRequestGcpUnionToJSON(
1439
+ createSetupRegistrationOperationRequestGcpUnion:
1440
+ CreateSetupRegistrationOperationRequestGcpUnion,
1441
+ ): string {
1442
+ return JSON.stringify(
1443
+ CreateSetupRegistrationOperationRequestGcpUnion$outboundSchema.parse(
1444
+ createSetupRegistrationOperationRequestGcpUnion,
1445
+ ),
1446
+ );
1447
+ }
1448
+
1449
+ /** @internal */
1450
+ export type CreateSetupRegistrationOperationRequestTlsSecretRef$Outbound = {
1451
+ namespace?: string | null | undefined;
1452
+ secretName: string;
1453
+ };
1454
+
1455
+ /** @internal */
1456
+ export const CreateSetupRegistrationOperationRequestTlsSecretRef$outboundSchema:
1457
+ z.ZodType<
1458
+ CreateSetupRegistrationOperationRequestTlsSecretRef$Outbound,
1459
+ CreateSetupRegistrationOperationRequestTlsSecretRef
1460
+ > = z.object({
1461
+ namespace: z.nullable(z.string()).optional(),
1462
+ secretName: z.string(),
1463
+ });
1464
+
1465
+ export function createSetupRegistrationOperationRequestTlsSecretRefToJSON(
1466
+ createSetupRegistrationOperationRequestTlsSecretRef:
1467
+ CreateSetupRegistrationOperationRequestTlsSecretRef,
1468
+ ): string {
1469
+ return JSON.stringify(
1470
+ CreateSetupRegistrationOperationRequestTlsSecretRef$outboundSchema.parse(
1471
+ createSetupRegistrationOperationRequestTlsSecretRef,
1472
+ ),
1473
+ );
1474
+ }
1475
+
1476
+ /** @internal */
1477
+ export type CreateSetupRegistrationOperationRequestDomainsKubernetes$Outbound =
1478
+ {
1479
+ tlsSecretRef: CreateSetupRegistrationOperationRequestTlsSecretRef$Outbound;
1480
+ };
1481
+
1482
+ /** @internal */
1483
+ export const CreateSetupRegistrationOperationRequestDomainsKubernetes$outboundSchema:
1484
+ z.ZodType<
1485
+ CreateSetupRegistrationOperationRequestDomainsKubernetes$Outbound,
1486
+ CreateSetupRegistrationOperationRequestDomainsKubernetes
1487
+ > = z.object({
1488
+ tlsSecretRef: z.lazy(() =>
1489
+ CreateSetupRegistrationOperationRequestTlsSecretRef$outboundSchema
1490
+ ),
1491
+ });
1492
+
1493
+ export function createSetupRegistrationOperationRequestDomainsKubernetesToJSON(
1494
+ createSetupRegistrationOperationRequestDomainsKubernetes:
1495
+ CreateSetupRegistrationOperationRequestDomainsKubernetes,
1496
+ ): string {
1497
+ return JSON.stringify(
1498
+ CreateSetupRegistrationOperationRequestDomainsKubernetes$outboundSchema
1499
+ .parse(createSetupRegistrationOperationRequestDomainsKubernetes),
1500
+ );
1501
+ }
1502
+
1503
+ /** @internal */
1504
+ export type CreateSetupRegistrationOperationRequestDomainsKubernetesUnion$Outbound =
1505
+ | CreateSetupRegistrationOperationRequestDomainsKubernetes$Outbound
1506
+ | any;
1507
+
1508
+ /** @internal */
1509
+ export const CreateSetupRegistrationOperationRequestDomainsKubernetesUnion$outboundSchema:
1510
+ z.ZodType<
1511
+ CreateSetupRegistrationOperationRequestDomainsKubernetesUnion$Outbound,
1512
+ CreateSetupRegistrationOperationRequestDomainsKubernetesUnion
1513
+ > = z.union([
1514
+ z.lazy(() =>
1515
+ CreateSetupRegistrationOperationRequestDomainsKubernetes$outboundSchema
1516
+ ),
1517
+ z.any(),
1518
+ ]);
1519
+
1520
+ export function createSetupRegistrationOperationRequestDomainsKubernetesUnionToJSON(
1521
+ createSetupRegistrationOperationRequestDomainsKubernetesUnion:
1522
+ CreateSetupRegistrationOperationRequestDomainsKubernetesUnion,
1523
+ ): string {
1524
+ return JSON.stringify(
1525
+ CreateSetupRegistrationOperationRequestDomainsKubernetesUnion$outboundSchema
1526
+ .parse(createSetupRegistrationOperationRequestDomainsKubernetesUnion),
1527
+ );
1528
+ }
1529
+
1530
+ /** @internal */
1531
+ export type CreateSetupRegistrationOperationRequestDomainsCertificate$Outbound =
1532
+ {
1533
+ aws?:
1534
+ | CreateSetupRegistrationOperationRequestAws$Outbound
1535
+ | any
1536
+ | null
1537
+ | undefined;
1538
+ azure?:
1539
+ | CreateSetupRegistrationOperationRequestAzure$Outbound
1540
+ | any
1541
+ | null
1542
+ | undefined;
1543
+ gcp?:
1544
+ | CreateSetupRegistrationOperationRequestGcp$Outbound
1545
+ | any
1546
+ | null
1547
+ | undefined;
1548
+ kubernetes?:
1549
+ | CreateSetupRegistrationOperationRequestDomainsKubernetes$Outbound
1550
+ | any
1551
+ | null
1552
+ | undefined;
1553
+ };
1554
+
1555
+ /** @internal */
1556
+ export const CreateSetupRegistrationOperationRequestDomainsCertificate$outboundSchema:
1557
+ z.ZodType<
1558
+ CreateSetupRegistrationOperationRequestDomainsCertificate$Outbound,
1559
+ CreateSetupRegistrationOperationRequestDomainsCertificate
1560
+ > = z.object({
1561
+ aws: z.nullable(
1562
+ z.union([
1563
+ z.lazy(() => CreateSetupRegistrationOperationRequestAws$outboundSchema),
1564
+ z.any(),
1565
+ ]),
1566
+ ).optional(),
1567
+ azure: z.nullable(
1568
+ z.union([
1569
+ z.lazy(() =>
1570
+ CreateSetupRegistrationOperationRequestAzure$outboundSchema
1571
+ ),
1572
+ z.any(),
1573
+ ]),
1574
+ ).optional(),
1575
+ gcp: z.nullable(
1576
+ z.union([
1577
+ z.lazy(() => CreateSetupRegistrationOperationRequestGcp$outboundSchema),
1578
+ z.any(),
1579
+ ]),
1580
+ ).optional(),
1581
+ kubernetes: z.nullable(
1582
+ z.union([
1583
+ z.lazy(() =>
1584
+ CreateSetupRegistrationOperationRequestDomainsKubernetes$outboundSchema
1585
+ ),
1586
+ z.any(),
1587
+ ]),
1588
+ ).optional(),
1589
+ });
1590
+
1591
+ export function createSetupRegistrationOperationRequestDomainsCertificateToJSON(
1592
+ createSetupRegistrationOperationRequestDomainsCertificate:
1593
+ CreateSetupRegistrationOperationRequestDomainsCertificate,
1594
+ ): string {
1595
+ return JSON.stringify(
1596
+ CreateSetupRegistrationOperationRequestDomainsCertificate$outboundSchema
1597
+ .parse(createSetupRegistrationOperationRequestDomainsCertificate),
1598
+ );
1599
+ }
1600
+
1601
+ /** @internal */
1602
+ export type CreateSetupRegistrationOperationRequestCustomDomains$Outbound = {
1603
+ certificate:
1604
+ CreateSetupRegistrationOperationRequestDomainsCertificate$Outbound;
1605
+ domain: string;
1606
+ };
1607
+
1608
+ /** @internal */
1609
+ export const CreateSetupRegistrationOperationRequestCustomDomains$outboundSchema:
1610
+ z.ZodType<
1611
+ CreateSetupRegistrationOperationRequestCustomDomains$Outbound,
1612
+ CreateSetupRegistrationOperationRequestCustomDomains
1613
+ > = z.object({
1614
+ certificate: z.lazy(() =>
1615
+ CreateSetupRegistrationOperationRequestDomainsCertificate$outboundSchema
1616
+ ),
1617
+ domain: z.string(),
1618
+ });
1619
+
1620
+ export function createSetupRegistrationOperationRequestCustomDomainsToJSON(
1621
+ createSetupRegistrationOperationRequestCustomDomains:
1622
+ CreateSetupRegistrationOperationRequestCustomDomains,
1623
+ ): string {
1624
+ return JSON.stringify(
1625
+ CreateSetupRegistrationOperationRequestCustomDomains$outboundSchema.parse(
1626
+ createSetupRegistrationOperationRequestCustomDomains,
1627
+ ),
1628
+ );
1629
+ }
1630
+
1631
+ /** @internal */
1632
+ export type CreateSetupRegistrationOperationRequestDomains$Outbound = {
1633
+ customDomains?:
1634
+ | {
1635
+ [k: string]:
1636
+ CreateSetupRegistrationOperationRequestCustomDomains$Outbound;
1637
+ }
1638
+ | null
1639
+ | undefined;
1640
+ };
1641
+
1642
+ /** @internal */
1643
+ export const CreateSetupRegistrationOperationRequestDomains$outboundSchema:
1644
+ z.ZodType<
1645
+ CreateSetupRegistrationOperationRequestDomains$Outbound,
1646
+ CreateSetupRegistrationOperationRequestDomains
1647
+ > = z.object({
1648
+ customDomains: z.nullable(
1649
+ z.record(
1650
+ z.string(),
1651
+ z.lazy(() =>
1652
+ CreateSetupRegistrationOperationRequestCustomDomains$outboundSchema
1653
+ ),
1654
+ ),
1655
+ ).optional(),
1656
+ });
1657
+
1658
+ export function createSetupRegistrationOperationRequestDomainsToJSON(
1659
+ createSetupRegistrationOperationRequestDomains:
1660
+ CreateSetupRegistrationOperationRequestDomains,
1661
+ ): string {
1662
+ return JSON.stringify(
1663
+ CreateSetupRegistrationOperationRequestDomains$outboundSchema.parse(
1664
+ createSetupRegistrationOperationRequestDomains,
1665
+ ),
1666
+ );
1667
+ }
1668
+
1669
+ /** @internal */
1670
+ export type CreateSetupRegistrationOperationRequestDomainsUnion$Outbound =
1671
+ | CreateSetupRegistrationOperationRequestDomains$Outbound
1672
+ | any;
1673
+
1674
+ /** @internal */
1675
+ export const CreateSetupRegistrationOperationRequestDomainsUnion$outboundSchema:
1676
+ z.ZodType<
1677
+ CreateSetupRegistrationOperationRequestDomainsUnion$Outbound,
1678
+ CreateSetupRegistrationOperationRequestDomainsUnion
1679
+ > = z.union([
1680
+ z.lazy(() => CreateSetupRegistrationOperationRequestDomains$outboundSchema),
1681
+ z.any(),
1682
+ ]);
1683
+
1684
+ export function createSetupRegistrationOperationRequestDomainsUnionToJSON(
1685
+ createSetupRegistrationOperationRequestDomainsUnion:
1686
+ CreateSetupRegistrationOperationRequestDomainsUnion,
1687
+ ): string {
1688
+ return JSON.stringify(
1689
+ CreateSetupRegistrationOperationRequestDomainsUnion$outboundSchema.parse(
1690
+ createSetupRegistrationOperationRequestDomainsUnion,
1691
+ ),
1692
+ );
1693
+ }
1694
+
1695
+ /** @internal */
1696
+ export type CreateSetupRegistrationOperationRequestExternalBindings$Outbound =
1697
+ {};
1698
+
1699
+ /** @internal */
1700
+ export const CreateSetupRegistrationOperationRequestExternalBindings$outboundSchema:
1701
+ z.ZodType<
1702
+ CreateSetupRegistrationOperationRequestExternalBindings$Outbound,
1703
+ CreateSetupRegistrationOperationRequestExternalBindings
1704
+ > = z.object({});
1705
+
1706
+ export function createSetupRegistrationOperationRequestExternalBindingsToJSON(
1707
+ createSetupRegistrationOperationRequestExternalBindings:
1708
+ CreateSetupRegistrationOperationRequestExternalBindings,
1709
+ ): string {
1710
+ return JSON.stringify(
1711
+ CreateSetupRegistrationOperationRequestExternalBindings$outboundSchema
1712
+ .parse(createSetupRegistrationOperationRequestExternalBindings),
1713
+ );
1714
+ }
1715
+
1716
+ /** @internal */
1717
+ export const CreateSetupRegistrationOperationRequestHeartbeats$outboundSchema:
1718
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestHeartbeats> = z.enum(
1719
+ CreateSetupRegistrationOperationRequestHeartbeats,
1720
+ );
1721
+
1722
+ /** @internal */
1723
+ export type CreateSetupRegistrationOperationRequestCloud$Outbound = {
1724
+ accountId?: string | null | undefined;
1725
+ clusterId?: string | null | undefined;
1726
+ clusterName?: string | null | undefined;
1727
+ projectId?: string | null | undefined;
1728
+ region?: string | null | undefined;
1729
+ resourceGroup?: string | null | undefined;
1730
+ subscriptionId?: string | null | undefined;
1731
+ };
1732
+
1733
+ /** @internal */
1734
+ export const CreateSetupRegistrationOperationRequestCloud$outboundSchema:
1735
+ z.ZodType<
1736
+ CreateSetupRegistrationOperationRequestCloud$Outbound,
1737
+ CreateSetupRegistrationOperationRequestCloud
1738
+ > = z.object({
1739
+ accountId: z.nullable(z.string()).optional(),
1740
+ clusterId: z.nullable(z.string()).optional(),
1741
+ clusterName: z.nullable(z.string()).optional(),
1742
+ projectId: z.nullable(z.string()).optional(),
1743
+ region: z.nullable(z.string()).optional(),
1744
+ resourceGroup: z.nullable(z.string()).optional(),
1745
+ subscriptionId: z.nullable(z.string()).optional(),
1746
+ });
1747
+
1748
+ export function createSetupRegistrationOperationRequestCloudToJSON(
1749
+ createSetupRegistrationOperationRequestCloud:
1750
+ CreateSetupRegistrationOperationRequestCloud,
1751
+ ): string {
1752
+ return JSON.stringify(
1753
+ CreateSetupRegistrationOperationRequestCloud$outboundSchema.parse(
1754
+ createSetupRegistrationOperationRequestCloud,
1755
+ ),
1756
+ );
1757
+ }
1758
+
1759
+ /** @internal */
1760
+ export type CreateSetupRegistrationOperationRequestCloudUnion$Outbound =
1761
+ | CreateSetupRegistrationOperationRequestCloud$Outbound
1762
+ | any;
1763
+
1764
+ /** @internal */
1765
+ export const CreateSetupRegistrationOperationRequestCloudUnion$outboundSchema:
1766
+ z.ZodType<
1767
+ CreateSetupRegistrationOperationRequestCloudUnion$Outbound,
1768
+ CreateSetupRegistrationOperationRequestCloudUnion
1769
+ > = z.union([
1770
+ z.lazy(() => CreateSetupRegistrationOperationRequestCloud$outboundSchema),
1771
+ z.any(),
1772
+ ]);
1773
+
1774
+ export function createSetupRegistrationOperationRequestCloudUnionToJSON(
1775
+ createSetupRegistrationOperationRequestCloudUnion:
1776
+ CreateSetupRegistrationOperationRequestCloudUnion,
1777
+ ): string {
1778
+ return JSON.stringify(
1779
+ CreateSetupRegistrationOperationRequestCloudUnion$outboundSchema.parse(
1780
+ createSetupRegistrationOperationRequestCloudUnion,
1781
+ ),
1782
+ );
1783
+ }
1784
+
1785
+ /** @internal */
1786
+ export const CreateSetupRegistrationOperationRequestOwnership$outboundSchema:
1787
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestOwnership> = z.enum(
1788
+ CreateSetupRegistrationOperationRequestOwnership,
1789
+ );
1790
+
1791
+ /** @internal */
1792
+ export type CreateSetupRegistrationOperationRequestCluster$Outbound = {
1793
+ cloud?:
1794
+ | CreateSetupRegistrationOperationRequestCloud$Outbound
1795
+ | any
1796
+ | null
1797
+ | undefined;
1798
+ namespace?: string | null | undefined;
1799
+ ownership: string;
1800
+ };
1801
+
1802
+ /** @internal */
1803
+ export const CreateSetupRegistrationOperationRequestCluster$outboundSchema:
1804
+ z.ZodType<
1805
+ CreateSetupRegistrationOperationRequestCluster$Outbound,
1806
+ CreateSetupRegistrationOperationRequestCluster
1807
+ > = z.object({
1808
+ cloud: z.nullable(
1809
+ z.union([
1810
+ z.lazy(() =>
1811
+ CreateSetupRegistrationOperationRequestCloud$outboundSchema
1812
+ ),
1813
+ z.any(),
1814
+ ]),
1815
+ ).optional(),
1816
+ namespace: z.nullable(z.string()).optional(),
1817
+ ownership: CreateSetupRegistrationOperationRequestOwnership$outboundSchema,
1818
+ });
1819
+
1820
+ export function createSetupRegistrationOperationRequestClusterToJSON(
1821
+ createSetupRegistrationOperationRequestCluster:
1822
+ CreateSetupRegistrationOperationRequestCluster,
1823
+ ): string {
1824
+ return JSON.stringify(
1825
+ CreateSetupRegistrationOperationRequestCluster$outboundSchema.parse(
1826
+ createSetupRegistrationOperationRequestCluster,
1827
+ ),
1828
+ );
1829
+ }
1830
+
1831
+ /** @internal */
1832
+ export type CreateSetupRegistrationOperationRequestClusterUnion$Outbound =
1833
+ | CreateSetupRegistrationOperationRequestCluster$Outbound
1834
+ | any;
1835
+
1836
+ /** @internal */
1837
+ export const CreateSetupRegistrationOperationRequestClusterUnion$outboundSchema:
1838
+ z.ZodType<
1839
+ CreateSetupRegistrationOperationRequestClusterUnion$Outbound,
1840
+ CreateSetupRegistrationOperationRequestClusterUnion
1841
+ > = z.union([
1842
+ z.lazy(() => CreateSetupRegistrationOperationRequestCluster$outboundSchema),
1843
+ z.any(),
1844
+ ]);
1845
+
1846
+ export function createSetupRegistrationOperationRequestClusterUnionToJSON(
1847
+ createSetupRegistrationOperationRequestClusterUnion:
1848
+ CreateSetupRegistrationOperationRequestClusterUnion,
1849
+ ): string {
1850
+ return JSON.stringify(
1851
+ CreateSetupRegistrationOperationRequestClusterUnion$outboundSchema.parse(
1852
+ createSetupRegistrationOperationRequestClusterUnion,
1853
+ ),
1854
+ );
1855
+ }
1856
+
1857
+ /** @internal */
1858
+ export type CreateSetupRegistrationOperationRequestCertificateNone2$Outbound = {
1859
+ mode: "none";
1860
+ };
1861
+
1862
+ /** @internal */
1863
+ export const CreateSetupRegistrationOperationRequestCertificateNone2$outboundSchema:
1864
+ z.ZodType<
1865
+ CreateSetupRegistrationOperationRequestCertificateNone2$Outbound,
1866
+ CreateSetupRegistrationOperationRequestCertificateNone2
1867
+ > = z.object({
1868
+ mode: z.literal("none"),
1869
+ });
1870
+
1871
+ export function createSetupRegistrationOperationRequestCertificateNone2ToJSON(
1872
+ createSetupRegistrationOperationRequestCertificateNone2:
1873
+ CreateSetupRegistrationOperationRequestCertificateNone2,
1874
+ ): string {
1875
+ return JSON.stringify(
1876
+ CreateSetupRegistrationOperationRequestCertificateNone2$outboundSchema
1877
+ .parse(createSetupRegistrationOperationRequestCertificateNone2),
1878
+ );
1879
+ }
1880
+
1881
+ /** @internal */
1882
+ export type CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2$Outbound =
1883
+ {
1884
+ mode: "managedTlsSecret";
1885
+ secretNameTemplate: string;
1886
+ };
1887
+
1888
+ /** @internal */
1889
+ export const CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2$outboundSchema:
1890
+ z.ZodType<
1891
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2$Outbound,
1892
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2
1893
+ > = z.object({
1894
+ mode: z.literal("managedTlsSecret"),
1895
+ secretNameTemplate: z.string(),
1896
+ });
1897
+
1898
+ export function createSetupRegistrationOperationRequestCertificateManagedTLSSecret2ToJSON(
1899
+ createSetupRegistrationOperationRequestCertificateManagedTLSSecret2:
1900
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2,
1901
+ ): string {
1902
+ return JSON.stringify(
1903
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2$outboundSchema
1904
+ .parse(
1905
+ createSetupRegistrationOperationRequestCertificateManagedTLSSecret2,
1906
+ ),
1907
+ );
1908
+ }
1909
+
1910
+ /** @internal */
1911
+ export type CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2$Outbound =
1912
+ {
1913
+ certificateArn: string;
1914
+ mode: "awsAcmArn";
1915
+ };
1916
+
1917
+ /** @internal */
1918
+ export const CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2$outboundSchema:
1919
+ z.ZodType<
1920
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2$Outbound,
1921
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2
1922
+ > = z.object({
1923
+ certificateArn: z.string(),
1924
+ mode: z.literal("awsAcmArn"),
1925
+ });
1926
+
1927
+ export function createSetupRegistrationOperationRequestCertificateAwsAcmArn2ToJSON(
1928
+ createSetupRegistrationOperationRequestCertificateAwsAcmArn2:
1929
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2,
1930
+ ): string {
1931
+ return JSON.stringify(
1932
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2$outboundSchema
1933
+ .parse(createSetupRegistrationOperationRequestCertificateAwsAcmArn2),
1934
+ );
1935
+ }
1936
+
1937
+ /** @internal */
1938
+ export type CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2$Outbound =
1939
+ {
1940
+ mode: "managedAcmImport";
1941
+ region?: string | null | undefined;
1942
+ tags?: { [k: string]: string } | undefined;
1943
+ };
1944
+
1945
+ /** @internal */
1946
+ export const CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2$outboundSchema:
1947
+ z.ZodType<
1948
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2$Outbound,
1949
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2
1950
+ > = z.object({
1951
+ mode: z.literal("managedAcmImport"),
1952
+ region: z.nullable(z.string()).optional(),
1953
+ tags: z.record(z.string(), z.string()).optional(),
1954
+ });
1955
+
1956
+ export function createSetupRegistrationOperationRequestCertificateManagedAcmImport2ToJSON(
1957
+ createSetupRegistrationOperationRequestCertificateManagedAcmImport2:
1958
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2,
1959
+ ): string {
1960
+ return JSON.stringify(
1961
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2$outboundSchema
1962
+ .parse(
1963
+ createSetupRegistrationOperationRequestCertificateManagedAcmImport2,
1964
+ ),
1965
+ );
1966
+ }
1967
+
1968
+ /** @internal */
1969
+ export type CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2$Outbound =
1970
+ {
1971
+ namespace?: string | null | undefined;
1972
+ secretName: string;
1973
+ mode: "tlsSecretRef";
1974
+ };
1975
+
1976
+ /** @internal */
1977
+ export const CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2$outboundSchema:
1978
+ z.ZodType<
1979
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2$Outbound,
1980
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2
1981
+ > = z.object({
1982
+ namespace: z.nullable(z.string()).optional(),
1983
+ secretName: z.string(),
1984
+ mode: z.literal("tlsSecretRef"),
1985
+ });
1986
+
1987
+ export function createSetupRegistrationOperationRequestCertificateTLSSecretRef2ToJSON(
1988
+ createSetupRegistrationOperationRequestCertificateTLSSecretRef2:
1989
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2,
1990
+ ): string {
1991
+ return JSON.stringify(
1992
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2$outboundSchema
1993
+ .parse(createSetupRegistrationOperationRequestCertificateTLSSecretRef2),
1994
+ );
1995
+ }
1996
+
1997
+ /** @internal */
1998
+ export type CreateSetupRegistrationOperationRequestCertificateUnion2$Outbound =
1999
+ | CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2$Outbound
2000
+ | CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2$Outbound
2001
+ | CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2$Outbound
2002
+ | CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2$Outbound
2003
+ | CreateSetupRegistrationOperationRequestCertificateNone2$Outbound;
2004
+
2005
+ /** @internal */
2006
+ export const CreateSetupRegistrationOperationRequestCertificateUnion2$outboundSchema:
2007
+ z.ZodType<
2008
+ CreateSetupRegistrationOperationRequestCertificateUnion2$Outbound,
2009
+ CreateSetupRegistrationOperationRequestCertificateUnion2
2010
+ > = z.union([
2011
+ z.lazy(() =>
2012
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2$outboundSchema
2013
+ ),
2014
+ z.lazy(() =>
2015
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2$outboundSchema
2016
+ ),
2017
+ z.lazy(() =>
2018
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2$outboundSchema
2019
+ ),
2020
+ z.lazy(() =>
2021
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2$outboundSchema
2022
+ ),
2023
+ z.lazy(() =>
2024
+ CreateSetupRegistrationOperationRequestCertificateNone2$outboundSchema
2025
+ ),
2026
+ ]);
2027
+
2028
+ export function createSetupRegistrationOperationRequestCertificateUnion2ToJSON(
2029
+ createSetupRegistrationOperationRequestCertificateUnion2:
2030
+ CreateSetupRegistrationOperationRequestCertificateUnion2,
2031
+ ): string {
2032
+ return JSON.stringify(
2033
+ CreateSetupRegistrationOperationRequestCertificateUnion2$outboundSchema
2034
+ .parse(createSetupRegistrationOperationRequestCertificateUnion2),
2035
+ );
2036
+ }
2037
+
2038
+ /** @internal */
2039
+ export const CreateSetupRegistrationOperationRequestModeCustom$outboundSchema:
2040
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestModeCustom> = z.enum(
2041
+ CreateSetupRegistrationOperationRequestModeCustom,
2042
+ );
2043
+
2044
+ /** @internal */
2045
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum4$outboundSchema:
2046
+ z.ZodEnum<
2047
+ typeof CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum4
2048
+ > = z.enum(
2049
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum4,
2050
+ );
2051
+
2052
+ /** @internal */
2053
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4$Outbound =
2054
+ {
2055
+ albName?: string | null | undefined;
2056
+ albNamespace?: string | null | undefined;
2057
+ frontend: string;
2058
+ provider: string;
2059
+ };
2060
+
2061
+ /** @internal */
2062
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4$outboundSchema:
2063
+ z.ZodType<
2064
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4$Outbound,
2065
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4
2066
+ > = z.object({
2067
+ albName: z.nullable(z.string()).optional(),
2068
+ albNamespace: z.nullable(z.string()).optional(),
2069
+ frontend: z.string(),
2070
+ provider:
2071
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum4$outboundSchema,
2072
+ });
2073
+
2074
+ export function createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4ToJSON(
2075
+ createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4:
2076
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4,
2077
+ ): string {
2078
+ return JSON.stringify(
2079
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4$outboundSchema
2080
+ .parse(
2081
+ createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4,
2082
+ ),
2083
+ );
2084
+ }
2085
+
2086
+ /** @internal */
2087
+ export const CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum4$outboundSchema:
2088
+ z.ZodEnum<
2089
+ typeof CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum4
2090
+ > = z.enum(CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum4);
2091
+
2092
+ /** @internal */
2093
+ export type CreateSetupRegistrationOperationRequestProviderGkeGateway4$Outbound =
2094
+ {
2095
+ provider: string;
2096
+ staticAddressName?: string | null | undefined;
2097
+ };
2098
+
2099
+ /** @internal */
2100
+ export const CreateSetupRegistrationOperationRequestProviderGkeGateway4$outboundSchema:
2101
+ z.ZodType<
2102
+ CreateSetupRegistrationOperationRequestProviderGkeGateway4$Outbound,
2103
+ CreateSetupRegistrationOperationRequestProviderGkeGateway4
2104
+ > = z.object({
2105
+ provider:
2106
+ CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum4$outboundSchema,
2107
+ staticAddressName: z.nullable(z.string()).optional(),
2108
+ });
2109
+
2110
+ export function createSetupRegistrationOperationRequestProviderGkeGateway4ToJSON(
2111
+ createSetupRegistrationOperationRequestProviderGkeGateway4:
2112
+ CreateSetupRegistrationOperationRequestProviderGkeGateway4,
2113
+ ): string {
2114
+ return JSON.stringify(
2115
+ CreateSetupRegistrationOperationRequestProviderGkeGateway4$outboundSchema
2116
+ .parse(createSetupRegistrationOperationRequestProviderGkeGateway4),
2117
+ );
2118
+ }
2119
+
2120
+ /** @internal */
2121
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlbEnum4$outboundSchema:
2122
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestProviderAwsAlbEnum4> =
2123
+ z.enum(CreateSetupRegistrationOperationRequestProviderAwsAlbEnum4);
2124
+
2125
+ /** @internal */
2126
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlb4$Outbound = {
2127
+ ipAddressType?: string | null | undefined;
2128
+ provider: string;
2129
+ scheme: string;
2130
+ subnetIds?: Array<string> | undefined;
2131
+ targetType: string;
2132
+ };
2133
+
2134
+ /** @internal */
2135
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlb4$outboundSchema:
2136
+ z.ZodType<
2137
+ CreateSetupRegistrationOperationRequestProviderAwsAlb4$Outbound,
2138
+ CreateSetupRegistrationOperationRequestProviderAwsAlb4
2139
+ > = z.object({
2140
+ ipAddressType: z.nullable(z.string()).optional(),
2141
+ provider:
2142
+ CreateSetupRegistrationOperationRequestProviderAwsAlbEnum4$outboundSchema,
2143
+ scheme: z.string(),
2144
+ subnetIds: z.array(z.string()).optional(),
2145
+ targetType: z.string(),
2146
+ });
2147
+
2148
+ export function createSetupRegistrationOperationRequestProviderAwsAlb4ToJSON(
2149
+ createSetupRegistrationOperationRequestProviderAwsAlb4:
2150
+ CreateSetupRegistrationOperationRequestProviderAwsAlb4,
2151
+ ): string {
2152
+ return JSON.stringify(
2153
+ CreateSetupRegistrationOperationRequestProviderAwsAlb4$outboundSchema.parse(
2154
+ createSetupRegistrationOperationRequestProviderAwsAlb4,
2155
+ ),
2156
+ );
2157
+ }
2158
+
2159
+ /** @internal */
2160
+ export type CreateSetupRegistrationOperationRequestProviderUnion4$Outbound =
2161
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb4$Outbound
2162
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4$Outbound
2163
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway4$Outbound
2164
+ | any;
2165
+
2166
+ /** @internal */
2167
+ export const CreateSetupRegistrationOperationRequestProviderUnion4$outboundSchema:
2168
+ z.ZodType<
2169
+ CreateSetupRegistrationOperationRequestProviderUnion4$Outbound,
2170
+ CreateSetupRegistrationOperationRequestProviderUnion4
2171
+ > = z.union([
2172
+ z.lazy(() =>
2173
+ CreateSetupRegistrationOperationRequestProviderAwsAlb4$outboundSchema
2174
+ ),
2175
+ z.lazy(() =>
2176
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4$outboundSchema
2177
+ ),
2178
+ z.lazy(() =>
2179
+ CreateSetupRegistrationOperationRequestProviderGkeGateway4$outboundSchema
2180
+ ),
2181
+ z.any(),
2182
+ ]);
2183
+
2184
+ export function createSetupRegistrationOperationRequestProviderUnion4ToJSON(
2185
+ createSetupRegistrationOperationRequestProviderUnion4:
2186
+ CreateSetupRegistrationOperationRequestProviderUnion4,
2187
+ ): string {
2188
+ return JSON.stringify(
2189
+ CreateSetupRegistrationOperationRequestProviderUnion4$outboundSchema.parse(
2190
+ createSetupRegistrationOperationRequestProviderUnion4,
2191
+ ),
2192
+ );
2193
+ }
2194
+
2195
+ /** @internal */
2196
+ export type CreateSetupRegistrationOperationRequestRouteGateway2$Outbound = {
2197
+ annotations?: { [k: string]: string } | undefined;
2198
+ controller?: string | null | undefined;
2199
+ gatewayClassName: string;
2200
+ labels?: { [k: string]: string } | undefined;
2201
+ listenerPort: number;
2202
+ provider?:
2203
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb4$Outbound
2204
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4$Outbound
2205
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway4$Outbound
2206
+ | any
2207
+ | null
2208
+ | undefined;
2209
+ routeApi: "gateway";
2210
+ };
2211
+
2212
+ /** @internal */
2213
+ export const CreateSetupRegistrationOperationRequestRouteGateway2$outboundSchema:
2214
+ z.ZodType<
2215
+ CreateSetupRegistrationOperationRequestRouteGateway2$Outbound,
2216
+ CreateSetupRegistrationOperationRequestRouteGateway2
2217
+ > = z.object({
2218
+ annotations: z.record(z.string(), z.string()).optional(),
2219
+ controller: z.nullable(z.string()).optional(),
2220
+ gatewayClassName: z.string(),
2221
+ labels: z.record(z.string(), z.string()).optional(),
2222
+ listenerPort: z.int(),
2223
+ provider: z.nullable(
2224
+ z.union([
2225
+ z.lazy(() =>
2226
+ CreateSetupRegistrationOperationRequestProviderAwsAlb4$outboundSchema
2227
+ ),
2228
+ z.lazy(() =>
2229
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers4$outboundSchema
2230
+ ),
2231
+ z.lazy(() =>
2232
+ CreateSetupRegistrationOperationRequestProviderGkeGateway4$outboundSchema
2233
+ ),
2234
+ z.any(),
2235
+ ]),
2236
+ ).optional(),
2237
+ routeApi: z.literal("gateway"),
2238
+ });
2239
+
2240
+ export function createSetupRegistrationOperationRequestRouteGateway2ToJSON(
2241
+ createSetupRegistrationOperationRequestRouteGateway2:
2242
+ CreateSetupRegistrationOperationRequestRouteGateway2,
2243
+ ): string {
2244
+ return JSON.stringify(
2245
+ CreateSetupRegistrationOperationRequestRouteGateway2$outboundSchema.parse(
2246
+ createSetupRegistrationOperationRequestRouteGateway2,
2247
+ ),
2248
+ );
2249
+ }
2250
+
2251
+ /** @internal */
2252
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum3$outboundSchema:
2253
+ z.ZodEnum<
2254
+ typeof CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum3
2255
+ > = z.enum(
2256
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum3,
2257
+ );
2258
+
2259
+ /** @internal */
2260
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3$Outbound =
2261
+ {
2262
+ albName?: string | null | undefined;
2263
+ albNamespace?: string | null | undefined;
2264
+ frontend: string;
2265
+ provider: string;
2266
+ };
2267
+
2268
+ /** @internal */
2269
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3$outboundSchema:
2270
+ z.ZodType<
2271
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3$Outbound,
2272
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3
2273
+ > = z.object({
2274
+ albName: z.nullable(z.string()).optional(),
2275
+ albNamespace: z.nullable(z.string()).optional(),
2276
+ frontend: z.string(),
2277
+ provider:
2278
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum3$outboundSchema,
2279
+ });
2280
+
2281
+ export function createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3ToJSON(
2282
+ createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3:
2283
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3,
2284
+ ): string {
2285
+ return JSON.stringify(
2286
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3$outboundSchema
2287
+ .parse(
2288
+ createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3,
2289
+ ),
2290
+ );
2291
+ }
2292
+
2293
+ /** @internal */
2294
+ export const CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum3$outboundSchema:
2295
+ z.ZodEnum<
2296
+ typeof CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum3
2297
+ > = z.enum(CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum3);
2298
+
2299
+ /** @internal */
2300
+ export type CreateSetupRegistrationOperationRequestProviderGkeGateway3$Outbound =
2301
+ {
2302
+ provider: string;
2303
+ staticAddressName?: string | null | undefined;
2304
+ };
2305
+
2306
+ /** @internal */
2307
+ export const CreateSetupRegistrationOperationRequestProviderGkeGateway3$outboundSchema:
2308
+ z.ZodType<
2309
+ CreateSetupRegistrationOperationRequestProviderGkeGateway3$Outbound,
2310
+ CreateSetupRegistrationOperationRequestProviderGkeGateway3
2311
+ > = z.object({
2312
+ provider:
2313
+ CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum3$outboundSchema,
2314
+ staticAddressName: z.nullable(z.string()).optional(),
2315
+ });
2316
+
2317
+ export function createSetupRegistrationOperationRequestProviderGkeGateway3ToJSON(
2318
+ createSetupRegistrationOperationRequestProviderGkeGateway3:
2319
+ CreateSetupRegistrationOperationRequestProviderGkeGateway3,
2320
+ ): string {
2321
+ return JSON.stringify(
2322
+ CreateSetupRegistrationOperationRequestProviderGkeGateway3$outboundSchema
2323
+ .parse(createSetupRegistrationOperationRequestProviderGkeGateway3),
2324
+ );
2325
+ }
2326
+
2327
+ /** @internal */
2328
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlbEnum3$outboundSchema:
2329
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestProviderAwsAlbEnum3> =
2330
+ z.enum(CreateSetupRegistrationOperationRequestProviderAwsAlbEnum3);
2331
+
2332
+ /** @internal */
2333
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlb3$Outbound = {
2334
+ ipAddressType?: string | null | undefined;
2335
+ provider: string;
2336
+ scheme: string;
2337
+ subnetIds?: Array<string> | undefined;
2338
+ targetType: string;
2339
+ };
2340
+
2341
+ /** @internal */
2342
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlb3$outboundSchema:
2343
+ z.ZodType<
2344
+ CreateSetupRegistrationOperationRequestProviderAwsAlb3$Outbound,
2345
+ CreateSetupRegistrationOperationRequestProviderAwsAlb3
2346
+ > = z.object({
2347
+ ipAddressType: z.nullable(z.string()).optional(),
2348
+ provider:
2349
+ CreateSetupRegistrationOperationRequestProviderAwsAlbEnum3$outboundSchema,
2350
+ scheme: z.string(),
2351
+ subnetIds: z.array(z.string()).optional(),
2352
+ targetType: z.string(),
2353
+ });
2354
+
2355
+ export function createSetupRegistrationOperationRequestProviderAwsAlb3ToJSON(
2356
+ createSetupRegistrationOperationRequestProviderAwsAlb3:
2357
+ CreateSetupRegistrationOperationRequestProviderAwsAlb3,
2358
+ ): string {
2359
+ return JSON.stringify(
2360
+ CreateSetupRegistrationOperationRequestProviderAwsAlb3$outboundSchema.parse(
2361
+ createSetupRegistrationOperationRequestProviderAwsAlb3,
2362
+ ),
2363
+ );
2364
+ }
2365
+
2366
+ /** @internal */
2367
+ export type CreateSetupRegistrationOperationRequestProviderUnion3$Outbound =
2368
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb3$Outbound
2369
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3$Outbound
2370
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway3$Outbound
2371
+ | any;
2372
+
2373
+ /** @internal */
2374
+ export const CreateSetupRegistrationOperationRequestProviderUnion3$outboundSchema:
2375
+ z.ZodType<
2376
+ CreateSetupRegistrationOperationRequestProviderUnion3$Outbound,
2377
+ CreateSetupRegistrationOperationRequestProviderUnion3
2378
+ > = z.union([
2379
+ z.lazy(() =>
2380
+ CreateSetupRegistrationOperationRequestProviderAwsAlb3$outboundSchema
2381
+ ),
2382
+ z.lazy(() =>
2383
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3$outboundSchema
2384
+ ),
2385
+ z.lazy(() =>
2386
+ CreateSetupRegistrationOperationRequestProviderGkeGateway3$outboundSchema
2387
+ ),
2388
+ z.any(),
2389
+ ]);
2390
+
2391
+ export function createSetupRegistrationOperationRequestProviderUnion3ToJSON(
2392
+ createSetupRegistrationOperationRequestProviderUnion3:
2393
+ CreateSetupRegistrationOperationRequestProviderUnion3,
2394
+ ): string {
2395
+ return JSON.stringify(
2396
+ CreateSetupRegistrationOperationRequestProviderUnion3$outboundSchema.parse(
2397
+ createSetupRegistrationOperationRequestProviderUnion3,
2398
+ ),
2399
+ );
2400
+ }
2401
+
2402
+ /** @internal */
2403
+ export type CreateSetupRegistrationOperationRequestRouteIngress2$Outbound = {
2404
+ annotations?: { [k: string]: string } | undefined;
2405
+ controller?: string | null | undefined;
2406
+ ingressClassName: string;
2407
+ labels?: { [k: string]: string } | undefined;
2408
+ provider?:
2409
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb3$Outbound
2410
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3$Outbound
2411
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway3$Outbound
2412
+ | any
2413
+ | null
2414
+ | undefined;
2415
+ routeApi: "ingress";
2416
+ };
2417
+
2418
+ /** @internal */
2419
+ export const CreateSetupRegistrationOperationRequestRouteIngress2$outboundSchema:
2420
+ z.ZodType<
2421
+ CreateSetupRegistrationOperationRequestRouteIngress2$Outbound,
2422
+ CreateSetupRegistrationOperationRequestRouteIngress2
2423
+ > = z.object({
2424
+ annotations: z.record(z.string(), z.string()).optional(),
2425
+ controller: z.nullable(z.string()).optional(),
2426
+ ingressClassName: z.string(),
2427
+ labels: z.record(z.string(), z.string()).optional(),
2428
+ provider: z.nullable(
2429
+ z.union([
2430
+ z.lazy(() =>
2431
+ CreateSetupRegistrationOperationRequestProviderAwsAlb3$outboundSchema
2432
+ ),
2433
+ z.lazy(() =>
2434
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers3$outboundSchema
2435
+ ),
2436
+ z.lazy(() =>
2437
+ CreateSetupRegistrationOperationRequestProviderGkeGateway3$outboundSchema
2438
+ ),
2439
+ z.any(),
2440
+ ]),
2441
+ ).optional(),
2442
+ routeApi: z.literal("ingress"),
2443
+ });
2444
+
2445
+ export function createSetupRegistrationOperationRequestRouteIngress2ToJSON(
2446
+ createSetupRegistrationOperationRequestRouteIngress2:
2447
+ CreateSetupRegistrationOperationRequestRouteIngress2,
2448
+ ): string {
2449
+ return JSON.stringify(
2450
+ CreateSetupRegistrationOperationRequestRouteIngress2$outboundSchema.parse(
2451
+ createSetupRegistrationOperationRequestRouteIngress2,
2452
+ ),
2453
+ );
2454
+ }
2455
+
2456
+ /** @internal */
2457
+ export type CreateSetupRegistrationOperationRequestRouteUnion2$Outbound =
2458
+ | CreateSetupRegistrationOperationRequestRouteIngress2$Outbound
2459
+ | CreateSetupRegistrationOperationRequestRouteGateway2$Outbound;
2460
+
2461
+ /** @internal */
2462
+ export const CreateSetupRegistrationOperationRequestRouteUnion2$outboundSchema:
2463
+ z.ZodType<
2464
+ CreateSetupRegistrationOperationRequestRouteUnion2$Outbound,
2465
+ CreateSetupRegistrationOperationRequestRouteUnion2
2466
+ > = z.union([
2467
+ z.lazy(() =>
2468
+ CreateSetupRegistrationOperationRequestRouteIngress2$outboundSchema
2469
+ ),
2470
+ z.lazy(() =>
2471
+ CreateSetupRegistrationOperationRequestRouteGateway2$outboundSchema
2472
+ ),
2473
+ ]);
2474
+
2475
+ export function createSetupRegistrationOperationRequestRouteUnion2ToJSON(
2476
+ createSetupRegistrationOperationRequestRouteUnion2:
2477
+ CreateSetupRegistrationOperationRequestRouteUnion2,
2478
+ ): string {
2479
+ return JSON.stringify(
2480
+ CreateSetupRegistrationOperationRequestRouteUnion2$outboundSchema.parse(
2481
+ createSetupRegistrationOperationRequestRouteUnion2,
2482
+ ),
2483
+ );
2484
+ }
2485
+
2486
+ /** @internal */
2487
+ export type CreateSetupRegistrationOperationRequestExposureCustom$Outbound = {
2488
+ certificate:
2489
+ | CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2$Outbound
2490
+ | CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2$Outbound
2491
+ | CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2$Outbound
2492
+ | CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2$Outbound
2493
+ | CreateSetupRegistrationOperationRequestCertificateNone2$Outbound;
2494
+ domain: string;
2495
+ mode: string;
2496
+ route:
2497
+ | CreateSetupRegistrationOperationRequestRouteIngress2$Outbound
2498
+ | CreateSetupRegistrationOperationRequestRouteGateway2$Outbound;
2499
+ };
2500
+
2501
+ /** @internal */
2502
+ export const CreateSetupRegistrationOperationRequestExposureCustom$outboundSchema:
2503
+ z.ZodType<
2504
+ CreateSetupRegistrationOperationRequestExposureCustom$Outbound,
2505
+ CreateSetupRegistrationOperationRequestExposureCustom
2506
+ > = z.object({
2507
+ certificate: z.union([
2508
+ z.lazy(() =>
2509
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef2$outboundSchema
2510
+ ),
2511
+ z.lazy(() =>
2512
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport2$outboundSchema
2513
+ ),
2514
+ z.lazy(() =>
2515
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn2$outboundSchema
2516
+ ),
2517
+ z.lazy(() =>
2518
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret2$outboundSchema
2519
+ ),
2520
+ z.lazy(() =>
2521
+ CreateSetupRegistrationOperationRequestCertificateNone2$outboundSchema
2522
+ ),
2523
+ ]),
2524
+ domain: z.string(),
2525
+ mode: CreateSetupRegistrationOperationRequestModeCustom$outboundSchema,
2526
+ route: z.union([
2527
+ z.lazy(() =>
2528
+ CreateSetupRegistrationOperationRequestRouteIngress2$outboundSchema
2529
+ ),
2530
+ z.lazy(() =>
2531
+ CreateSetupRegistrationOperationRequestRouteGateway2$outboundSchema
2532
+ ),
2533
+ ]),
2534
+ });
2535
+
2536
+ export function createSetupRegistrationOperationRequestExposureCustomToJSON(
2537
+ createSetupRegistrationOperationRequestExposureCustom:
2538
+ CreateSetupRegistrationOperationRequestExposureCustom,
2539
+ ): string {
2540
+ return JSON.stringify(
2541
+ CreateSetupRegistrationOperationRequestExposureCustom$outboundSchema.parse(
2542
+ createSetupRegistrationOperationRequestExposureCustom,
2543
+ ),
2544
+ );
2545
+ }
2546
+
2547
+ /** @internal */
2548
+ export type CreateSetupRegistrationOperationRequestCertificateNone1$Outbound = {
2549
+ mode: "none";
2550
+ };
2551
+
2552
+ /** @internal */
2553
+ export const CreateSetupRegistrationOperationRequestCertificateNone1$outboundSchema:
2554
+ z.ZodType<
2555
+ CreateSetupRegistrationOperationRequestCertificateNone1$Outbound,
2556
+ CreateSetupRegistrationOperationRequestCertificateNone1
2557
+ > = z.object({
2558
+ mode: z.literal("none"),
2559
+ });
2560
+
2561
+ export function createSetupRegistrationOperationRequestCertificateNone1ToJSON(
2562
+ createSetupRegistrationOperationRequestCertificateNone1:
2563
+ CreateSetupRegistrationOperationRequestCertificateNone1,
2564
+ ): string {
2565
+ return JSON.stringify(
2566
+ CreateSetupRegistrationOperationRequestCertificateNone1$outboundSchema
2567
+ .parse(createSetupRegistrationOperationRequestCertificateNone1),
2568
+ );
2569
+ }
2570
+
2571
+ /** @internal */
2572
+ export type CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1$Outbound =
2573
+ {
2574
+ mode: "managedTlsSecret";
2575
+ secretNameTemplate: string;
2576
+ };
2577
+
2578
+ /** @internal */
2579
+ export const CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1$outboundSchema:
2580
+ z.ZodType<
2581
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1$Outbound,
2582
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1
2583
+ > = z.object({
2584
+ mode: z.literal("managedTlsSecret"),
2585
+ secretNameTemplate: z.string(),
2586
+ });
2587
+
2588
+ export function createSetupRegistrationOperationRequestCertificateManagedTLSSecret1ToJSON(
2589
+ createSetupRegistrationOperationRequestCertificateManagedTLSSecret1:
2590
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1,
2591
+ ): string {
2592
+ return JSON.stringify(
2593
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1$outboundSchema
2594
+ .parse(
2595
+ createSetupRegistrationOperationRequestCertificateManagedTLSSecret1,
2596
+ ),
2597
+ );
2598
+ }
2599
+
2600
+ /** @internal */
2601
+ export type CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1$Outbound =
2602
+ {
2603
+ certificateArn: string;
2604
+ mode: "awsAcmArn";
2605
+ };
2606
+
2607
+ /** @internal */
2608
+ export const CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1$outboundSchema:
2609
+ z.ZodType<
2610
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1$Outbound,
2611
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1
2612
+ > = z.object({
2613
+ certificateArn: z.string(),
2614
+ mode: z.literal("awsAcmArn"),
2615
+ });
2616
+
2617
+ export function createSetupRegistrationOperationRequestCertificateAwsAcmArn1ToJSON(
2618
+ createSetupRegistrationOperationRequestCertificateAwsAcmArn1:
2619
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1,
2620
+ ): string {
2621
+ return JSON.stringify(
2622
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1$outboundSchema
2623
+ .parse(createSetupRegistrationOperationRequestCertificateAwsAcmArn1),
2624
+ );
2625
+ }
2626
+
2627
+ /** @internal */
2628
+ export type CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1$Outbound =
2629
+ {
2630
+ mode: "managedAcmImport";
2631
+ region?: string | null | undefined;
2632
+ tags?: { [k: string]: string } | undefined;
2633
+ };
2634
+
2635
+ /** @internal */
2636
+ export const CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1$outboundSchema:
2637
+ z.ZodType<
2638
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1$Outbound,
2639
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1
2640
+ > = z.object({
2641
+ mode: z.literal("managedAcmImport"),
2642
+ region: z.nullable(z.string()).optional(),
2643
+ tags: z.record(z.string(), z.string()).optional(),
2644
+ });
2645
+
2646
+ export function createSetupRegistrationOperationRequestCertificateManagedAcmImport1ToJSON(
2647
+ createSetupRegistrationOperationRequestCertificateManagedAcmImport1:
2648
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1,
2649
+ ): string {
2650
+ return JSON.stringify(
2651
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1$outboundSchema
2652
+ .parse(
2653
+ createSetupRegistrationOperationRequestCertificateManagedAcmImport1,
2654
+ ),
2655
+ );
2656
+ }
2657
+
2658
+ /** @internal */
2659
+ export type CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1$Outbound =
2660
+ {
2661
+ namespace?: string | null | undefined;
2662
+ secretName: string;
2663
+ mode: "tlsSecretRef";
2664
+ };
2665
+
2666
+ /** @internal */
2667
+ export const CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1$outboundSchema:
2668
+ z.ZodType<
2669
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1$Outbound,
2670
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1
2671
+ > = z.object({
2672
+ namespace: z.nullable(z.string()).optional(),
2673
+ secretName: z.string(),
2674
+ mode: z.literal("tlsSecretRef"),
2675
+ });
2676
+
2677
+ export function createSetupRegistrationOperationRequestCertificateTLSSecretRef1ToJSON(
2678
+ createSetupRegistrationOperationRequestCertificateTLSSecretRef1:
2679
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1,
2680
+ ): string {
2681
+ return JSON.stringify(
2682
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1$outboundSchema
2683
+ .parse(createSetupRegistrationOperationRequestCertificateTLSSecretRef1),
2684
+ );
2685
+ }
2686
+
2687
+ /** @internal */
2688
+ export type CreateSetupRegistrationOperationRequestCertificateUnion1$Outbound =
2689
+ | CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1$Outbound
2690
+ | CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1$Outbound
2691
+ | CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1$Outbound
2692
+ | CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1$Outbound
2693
+ | CreateSetupRegistrationOperationRequestCertificateNone1$Outbound;
2694
+
2695
+ /** @internal */
2696
+ export const CreateSetupRegistrationOperationRequestCertificateUnion1$outboundSchema:
2697
+ z.ZodType<
2698
+ CreateSetupRegistrationOperationRequestCertificateUnion1$Outbound,
2699
+ CreateSetupRegistrationOperationRequestCertificateUnion1
2700
+ > = z.union([
2701
+ z.lazy(() =>
2702
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1$outboundSchema
2703
+ ),
2704
+ z.lazy(() =>
2705
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1$outboundSchema
2706
+ ),
2707
+ z.lazy(() =>
2708
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1$outboundSchema
2709
+ ),
2710
+ z.lazy(() =>
2711
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1$outboundSchema
2712
+ ),
2713
+ z.lazy(() =>
2714
+ CreateSetupRegistrationOperationRequestCertificateNone1$outboundSchema
2715
+ ),
2716
+ ]);
2717
+
2718
+ export function createSetupRegistrationOperationRequestCertificateUnion1ToJSON(
2719
+ createSetupRegistrationOperationRequestCertificateUnion1:
2720
+ CreateSetupRegistrationOperationRequestCertificateUnion1,
2721
+ ): string {
2722
+ return JSON.stringify(
2723
+ CreateSetupRegistrationOperationRequestCertificateUnion1$outboundSchema
2724
+ .parse(createSetupRegistrationOperationRequestCertificateUnion1),
2725
+ );
2726
+ }
2727
+
2728
+ /** @internal */
2729
+ export const CreateSetupRegistrationOperationRequestModeGenerated$outboundSchema:
2730
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestModeGenerated> = z
2731
+ .enum(CreateSetupRegistrationOperationRequestModeGenerated);
2732
+
2733
+ /** @internal */
2734
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum2$outboundSchema:
2735
+ z.ZodEnum<
2736
+ typeof CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum2
2737
+ > = z.enum(
2738
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum2,
2739
+ );
2740
+
2741
+ /** @internal */
2742
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2$Outbound =
2743
+ {
2744
+ albName?: string | null | undefined;
2745
+ albNamespace?: string | null | undefined;
2746
+ frontend: string;
2747
+ provider: string;
2748
+ };
2749
+
2750
+ /** @internal */
2751
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2$outboundSchema:
2752
+ z.ZodType<
2753
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2$Outbound,
2754
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2
2755
+ > = z.object({
2756
+ albName: z.nullable(z.string()).optional(),
2757
+ albNamespace: z.nullable(z.string()).optional(),
2758
+ frontend: z.string(),
2759
+ provider:
2760
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum2$outboundSchema,
2761
+ });
2762
+
2763
+ export function createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2ToJSON(
2764
+ createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2:
2765
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2,
2766
+ ): string {
2767
+ return JSON.stringify(
2768
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2$outboundSchema
2769
+ .parse(
2770
+ createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2,
2771
+ ),
2772
+ );
2773
+ }
2774
+
2775
+ /** @internal */
2776
+ export const CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum2$outboundSchema:
2777
+ z.ZodEnum<
2778
+ typeof CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum2
2779
+ > = z.enum(CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum2);
2780
+
2781
+ /** @internal */
2782
+ export type CreateSetupRegistrationOperationRequestProviderGkeGateway2$Outbound =
2783
+ {
2784
+ provider: string;
2785
+ staticAddressName?: string | null | undefined;
2786
+ };
2787
+
2788
+ /** @internal */
2789
+ export const CreateSetupRegistrationOperationRequestProviderGkeGateway2$outboundSchema:
2790
+ z.ZodType<
2791
+ CreateSetupRegistrationOperationRequestProviderGkeGateway2$Outbound,
2792
+ CreateSetupRegistrationOperationRequestProviderGkeGateway2
2793
+ > = z.object({
2794
+ provider:
2795
+ CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum2$outboundSchema,
2796
+ staticAddressName: z.nullable(z.string()).optional(),
2797
+ });
2798
+
2799
+ export function createSetupRegistrationOperationRequestProviderGkeGateway2ToJSON(
2800
+ createSetupRegistrationOperationRequestProviderGkeGateway2:
2801
+ CreateSetupRegistrationOperationRequestProviderGkeGateway2,
2802
+ ): string {
2803
+ return JSON.stringify(
2804
+ CreateSetupRegistrationOperationRequestProviderGkeGateway2$outboundSchema
2805
+ .parse(createSetupRegistrationOperationRequestProviderGkeGateway2),
2806
+ );
2807
+ }
2808
+
2809
+ /** @internal */
2810
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlbEnum2$outboundSchema:
2811
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestProviderAwsAlbEnum2> =
2812
+ z.enum(CreateSetupRegistrationOperationRequestProviderAwsAlbEnum2);
2813
+
2814
+ /** @internal */
2815
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlb2$Outbound = {
2816
+ ipAddressType?: string | null | undefined;
2817
+ provider: string;
2818
+ scheme: string;
2819
+ subnetIds?: Array<string> | undefined;
2820
+ targetType: string;
2821
+ };
2822
+
2823
+ /** @internal */
2824
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlb2$outboundSchema:
2825
+ z.ZodType<
2826
+ CreateSetupRegistrationOperationRequestProviderAwsAlb2$Outbound,
2827
+ CreateSetupRegistrationOperationRequestProviderAwsAlb2
2828
+ > = z.object({
2829
+ ipAddressType: z.nullable(z.string()).optional(),
2830
+ provider:
2831
+ CreateSetupRegistrationOperationRequestProviderAwsAlbEnum2$outboundSchema,
2832
+ scheme: z.string(),
2833
+ subnetIds: z.array(z.string()).optional(),
2834
+ targetType: z.string(),
2835
+ });
2836
+
2837
+ export function createSetupRegistrationOperationRequestProviderAwsAlb2ToJSON(
2838
+ createSetupRegistrationOperationRequestProviderAwsAlb2:
2839
+ CreateSetupRegistrationOperationRequestProviderAwsAlb2,
2840
+ ): string {
2841
+ return JSON.stringify(
2842
+ CreateSetupRegistrationOperationRequestProviderAwsAlb2$outboundSchema.parse(
2843
+ createSetupRegistrationOperationRequestProviderAwsAlb2,
2844
+ ),
2845
+ );
2846
+ }
2847
+
2848
+ /** @internal */
2849
+ export type CreateSetupRegistrationOperationRequestProviderUnion2$Outbound =
2850
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb2$Outbound
2851
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2$Outbound
2852
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway2$Outbound
2853
+ | any;
2854
+
2855
+ /** @internal */
2856
+ export const CreateSetupRegistrationOperationRequestProviderUnion2$outboundSchema:
2857
+ z.ZodType<
2858
+ CreateSetupRegistrationOperationRequestProviderUnion2$Outbound,
2859
+ CreateSetupRegistrationOperationRequestProviderUnion2
2860
+ > = z.union([
2861
+ z.lazy(() =>
2862
+ CreateSetupRegistrationOperationRequestProviderAwsAlb2$outboundSchema
2863
+ ),
2864
+ z.lazy(() =>
2865
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2$outboundSchema
2866
+ ),
2867
+ z.lazy(() =>
2868
+ CreateSetupRegistrationOperationRequestProviderGkeGateway2$outboundSchema
2869
+ ),
2870
+ z.any(),
2871
+ ]);
2872
+
2873
+ export function createSetupRegistrationOperationRequestProviderUnion2ToJSON(
2874
+ createSetupRegistrationOperationRequestProviderUnion2:
2875
+ CreateSetupRegistrationOperationRequestProviderUnion2,
2876
+ ): string {
2877
+ return JSON.stringify(
2878
+ CreateSetupRegistrationOperationRequestProviderUnion2$outboundSchema.parse(
2879
+ createSetupRegistrationOperationRequestProviderUnion2,
2880
+ ),
2881
+ );
2882
+ }
2883
+
2884
+ /** @internal */
2885
+ export type CreateSetupRegistrationOperationRequestRouteGateway1$Outbound = {
2886
+ annotations?: { [k: string]: string } | undefined;
2887
+ controller?: string | null | undefined;
2888
+ gatewayClassName: string;
2889
+ labels?: { [k: string]: string } | undefined;
2890
+ listenerPort: number;
2891
+ provider?:
2892
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb2$Outbound
2893
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2$Outbound
2894
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway2$Outbound
2895
+ | any
2896
+ | null
2897
+ | undefined;
2898
+ routeApi: "gateway";
2899
+ };
2900
+
2901
+ /** @internal */
2902
+ export const CreateSetupRegistrationOperationRequestRouteGateway1$outboundSchema:
2903
+ z.ZodType<
2904
+ CreateSetupRegistrationOperationRequestRouteGateway1$Outbound,
2905
+ CreateSetupRegistrationOperationRequestRouteGateway1
2906
+ > = z.object({
2907
+ annotations: z.record(z.string(), z.string()).optional(),
2908
+ controller: z.nullable(z.string()).optional(),
2909
+ gatewayClassName: z.string(),
2910
+ labels: z.record(z.string(), z.string()).optional(),
2911
+ listenerPort: z.int(),
2912
+ provider: z.nullable(
2913
+ z.union([
2914
+ z.lazy(() =>
2915
+ CreateSetupRegistrationOperationRequestProviderAwsAlb2$outboundSchema
2916
+ ),
2917
+ z.lazy(() =>
2918
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers2$outboundSchema
2919
+ ),
2920
+ z.lazy(() =>
2921
+ CreateSetupRegistrationOperationRequestProviderGkeGateway2$outboundSchema
2922
+ ),
2923
+ z.any(),
2924
+ ]),
2925
+ ).optional(),
2926
+ routeApi: z.literal("gateway"),
2927
+ });
2928
+
2929
+ export function createSetupRegistrationOperationRequestRouteGateway1ToJSON(
2930
+ createSetupRegistrationOperationRequestRouteGateway1:
2931
+ CreateSetupRegistrationOperationRequestRouteGateway1,
2932
+ ): string {
2933
+ return JSON.stringify(
2934
+ CreateSetupRegistrationOperationRequestRouteGateway1$outboundSchema.parse(
2935
+ createSetupRegistrationOperationRequestRouteGateway1,
2936
+ ),
2937
+ );
2938
+ }
2939
+
2940
+ /** @internal */
2941
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum1$outboundSchema:
2942
+ z.ZodEnum<
2943
+ typeof CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum1
2944
+ > = z.enum(
2945
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum1,
2946
+ );
2947
+
2948
+ /** @internal */
2949
+ export type CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1$Outbound =
2950
+ {
2951
+ albName?: string | null | undefined;
2952
+ albNamespace?: string | null | undefined;
2953
+ frontend: string;
2954
+ provider: string;
2955
+ };
2956
+
2957
+ /** @internal */
2958
+ export const CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1$outboundSchema:
2959
+ z.ZodType<
2960
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1$Outbound,
2961
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1
2962
+ > = z.object({
2963
+ albName: z.nullable(z.string()).optional(),
2964
+ albNamespace: z.nullable(z.string()).optional(),
2965
+ frontend: z.string(),
2966
+ provider:
2967
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainersEnum1$outboundSchema,
2968
+ });
2969
+
2970
+ export function createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1ToJSON(
2971
+ createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1:
2972
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1,
2973
+ ): string {
2974
+ return JSON.stringify(
2975
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1$outboundSchema
2976
+ .parse(
2977
+ createSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1,
2978
+ ),
2979
+ );
2980
+ }
2981
+
2982
+ /** @internal */
2983
+ export const CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum1$outboundSchema:
2984
+ z.ZodEnum<
2985
+ typeof CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum1
2986
+ > = z.enum(CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum1);
2987
+
2988
+ /** @internal */
2989
+ export type CreateSetupRegistrationOperationRequestProviderGkeGateway1$Outbound =
2990
+ {
2991
+ provider: string;
2992
+ staticAddressName?: string | null | undefined;
2993
+ };
2994
+
2995
+ /** @internal */
2996
+ export const CreateSetupRegistrationOperationRequestProviderGkeGateway1$outboundSchema:
2997
+ z.ZodType<
2998
+ CreateSetupRegistrationOperationRequestProviderGkeGateway1$Outbound,
2999
+ CreateSetupRegistrationOperationRequestProviderGkeGateway1
3000
+ > = z.object({
3001
+ provider:
3002
+ CreateSetupRegistrationOperationRequestProviderGkeGatewayEnum1$outboundSchema,
3003
+ staticAddressName: z.nullable(z.string()).optional(),
3004
+ });
3005
+
3006
+ export function createSetupRegistrationOperationRequestProviderGkeGateway1ToJSON(
3007
+ createSetupRegistrationOperationRequestProviderGkeGateway1:
3008
+ CreateSetupRegistrationOperationRequestProviderGkeGateway1,
3009
+ ): string {
3010
+ return JSON.stringify(
3011
+ CreateSetupRegistrationOperationRequestProviderGkeGateway1$outboundSchema
3012
+ .parse(createSetupRegistrationOperationRequestProviderGkeGateway1),
3013
+ );
3014
+ }
3015
+
3016
+ /** @internal */
3017
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlbEnum1$outboundSchema:
3018
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestProviderAwsAlbEnum1> =
3019
+ z.enum(CreateSetupRegistrationOperationRequestProviderAwsAlbEnum1);
3020
+
3021
+ /** @internal */
3022
+ export type CreateSetupRegistrationOperationRequestProviderAwsAlb1$Outbound = {
3023
+ ipAddressType?: string | null | undefined;
3024
+ provider: string;
3025
+ scheme: string;
3026
+ subnetIds?: Array<string> | undefined;
3027
+ targetType: string;
3028
+ };
3029
+
3030
+ /** @internal */
3031
+ export const CreateSetupRegistrationOperationRequestProviderAwsAlb1$outboundSchema:
3032
+ z.ZodType<
3033
+ CreateSetupRegistrationOperationRequestProviderAwsAlb1$Outbound,
3034
+ CreateSetupRegistrationOperationRequestProviderAwsAlb1
3035
+ > = z.object({
3036
+ ipAddressType: z.nullable(z.string()).optional(),
3037
+ provider:
3038
+ CreateSetupRegistrationOperationRequestProviderAwsAlbEnum1$outboundSchema,
3039
+ scheme: z.string(),
3040
+ subnetIds: z.array(z.string()).optional(),
3041
+ targetType: z.string(),
3042
+ });
3043
+
3044
+ export function createSetupRegistrationOperationRequestProviderAwsAlb1ToJSON(
3045
+ createSetupRegistrationOperationRequestProviderAwsAlb1:
3046
+ CreateSetupRegistrationOperationRequestProviderAwsAlb1,
3047
+ ): string {
3048
+ return JSON.stringify(
3049
+ CreateSetupRegistrationOperationRequestProviderAwsAlb1$outboundSchema.parse(
3050
+ createSetupRegistrationOperationRequestProviderAwsAlb1,
3051
+ ),
3052
+ );
3053
+ }
3054
+
3055
+ /** @internal */
3056
+ export type CreateSetupRegistrationOperationRequestProviderUnion1$Outbound =
3057
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb1$Outbound
3058
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1$Outbound
3059
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway1$Outbound
3060
+ | any;
3061
+
3062
+ /** @internal */
3063
+ export const CreateSetupRegistrationOperationRequestProviderUnion1$outboundSchema:
3064
+ z.ZodType<
3065
+ CreateSetupRegistrationOperationRequestProviderUnion1$Outbound,
3066
+ CreateSetupRegistrationOperationRequestProviderUnion1
3067
+ > = z.union([
3068
+ z.lazy(() =>
3069
+ CreateSetupRegistrationOperationRequestProviderAwsAlb1$outboundSchema
3070
+ ),
3071
+ z.lazy(() =>
3072
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1$outboundSchema
3073
+ ),
3074
+ z.lazy(() =>
3075
+ CreateSetupRegistrationOperationRequestProviderGkeGateway1$outboundSchema
3076
+ ),
3077
+ z.any(),
3078
+ ]);
3079
+
3080
+ export function createSetupRegistrationOperationRequestProviderUnion1ToJSON(
3081
+ createSetupRegistrationOperationRequestProviderUnion1:
3082
+ CreateSetupRegistrationOperationRequestProviderUnion1,
3083
+ ): string {
3084
+ return JSON.stringify(
3085
+ CreateSetupRegistrationOperationRequestProviderUnion1$outboundSchema.parse(
3086
+ createSetupRegistrationOperationRequestProviderUnion1,
3087
+ ),
3088
+ );
3089
+ }
3090
+
3091
+ /** @internal */
3092
+ export type CreateSetupRegistrationOperationRequestRouteIngress1$Outbound = {
3093
+ annotations?: { [k: string]: string } | undefined;
3094
+ controller?: string | null | undefined;
3095
+ ingressClassName: string;
3096
+ labels?: { [k: string]: string } | undefined;
3097
+ provider?:
3098
+ | CreateSetupRegistrationOperationRequestProviderAwsAlb1$Outbound
3099
+ | CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1$Outbound
3100
+ | CreateSetupRegistrationOperationRequestProviderGkeGateway1$Outbound
3101
+ | any
3102
+ | null
3103
+ | undefined;
3104
+ routeApi: "ingress";
3105
+ };
3106
+
3107
+ /** @internal */
3108
+ export const CreateSetupRegistrationOperationRequestRouteIngress1$outboundSchema:
3109
+ z.ZodType<
3110
+ CreateSetupRegistrationOperationRequestRouteIngress1$Outbound,
3111
+ CreateSetupRegistrationOperationRequestRouteIngress1
3112
+ > = z.object({
3113
+ annotations: z.record(z.string(), z.string()).optional(),
3114
+ controller: z.nullable(z.string()).optional(),
3115
+ ingressClassName: z.string(),
3116
+ labels: z.record(z.string(), z.string()).optional(),
3117
+ provider: z.nullable(
3118
+ z.union([
3119
+ z.lazy(() =>
3120
+ CreateSetupRegistrationOperationRequestProviderAwsAlb1$outboundSchema
3121
+ ),
3122
+ z.lazy(() =>
3123
+ CreateSetupRegistrationOperationRequestProviderAzureApplicationGatewayForContainers1$outboundSchema
3124
+ ),
3125
+ z.lazy(() =>
3126
+ CreateSetupRegistrationOperationRequestProviderGkeGateway1$outboundSchema
3127
+ ),
3128
+ z.any(),
3129
+ ]),
3130
+ ).optional(),
3131
+ routeApi: z.literal("ingress"),
3132
+ });
3133
+
3134
+ export function createSetupRegistrationOperationRequestRouteIngress1ToJSON(
3135
+ createSetupRegistrationOperationRequestRouteIngress1:
3136
+ CreateSetupRegistrationOperationRequestRouteIngress1,
3137
+ ): string {
3138
+ return JSON.stringify(
3139
+ CreateSetupRegistrationOperationRequestRouteIngress1$outboundSchema.parse(
3140
+ createSetupRegistrationOperationRequestRouteIngress1,
3141
+ ),
3142
+ );
3143
+ }
3144
+
3145
+ /** @internal */
3146
+ export type CreateSetupRegistrationOperationRequestRouteUnion1$Outbound =
3147
+ | CreateSetupRegistrationOperationRequestRouteIngress1$Outbound
3148
+ | CreateSetupRegistrationOperationRequestRouteGateway1$Outbound;
3149
+
3150
+ /** @internal */
3151
+ export const CreateSetupRegistrationOperationRequestRouteUnion1$outboundSchema:
3152
+ z.ZodType<
3153
+ CreateSetupRegistrationOperationRequestRouteUnion1$Outbound,
3154
+ CreateSetupRegistrationOperationRequestRouteUnion1
3155
+ > = z.union([
3156
+ z.lazy(() =>
3157
+ CreateSetupRegistrationOperationRequestRouteIngress1$outboundSchema
3158
+ ),
3159
+ z.lazy(() =>
3160
+ CreateSetupRegistrationOperationRequestRouteGateway1$outboundSchema
3161
+ ),
3162
+ ]);
3163
+
3164
+ export function createSetupRegistrationOperationRequestRouteUnion1ToJSON(
3165
+ createSetupRegistrationOperationRequestRouteUnion1:
3166
+ CreateSetupRegistrationOperationRequestRouteUnion1,
3167
+ ): string {
3168
+ return JSON.stringify(
3169
+ CreateSetupRegistrationOperationRequestRouteUnion1$outboundSchema.parse(
3170
+ createSetupRegistrationOperationRequestRouteUnion1,
3171
+ ),
3172
+ );
3173
+ }
3174
+
3175
+ /** @internal */
3176
+ export type CreateSetupRegistrationOperationRequestExposureGenerated$Outbound =
3177
+ {
3178
+ certificate:
3179
+ | CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1$Outbound
3180
+ | CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1$Outbound
3181
+ | CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1$Outbound
3182
+ | CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1$Outbound
3183
+ | CreateSetupRegistrationOperationRequestCertificateNone1$Outbound;
3184
+ mode: string;
3185
+ route:
3186
+ | CreateSetupRegistrationOperationRequestRouteIngress1$Outbound
3187
+ | CreateSetupRegistrationOperationRequestRouteGateway1$Outbound;
3188
+ };
3189
+
3190
+ /** @internal */
3191
+ export const CreateSetupRegistrationOperationRequestExposureGenerated$outboundSchema:
3192
+ z.ZodType<
3193
+ CreateSetupRegistrationOperationRequestExposureGenerated$Outbound,
3194
+ CreateSetupRegistrationOperationRequestExposureGenerated
3195
+ > = z.object({
3196
+ certificate: z.union([
3197
+ z.lazy(() =>
3198
+ CreateSetupRegistrationOperationRequestCertificateTLSSecretRef1$outboundSchema
3199
+ ),
3200
+ z.lazy(() =>
3201
+ CreateSetupRegistrationOperationRequestCertificateManagedAcmImport1$outboundSchema
3202
+ ),
3203
+ z.lazy(() =>
3204
+ CreateSetupRegistrationOperationRequestCertificateAwsAcmArn1$outboundSchema
3205
+ ),
3206
+ z.lazy(() =>
3207
+ CreateSetupRegistrationOperationRequestCertificateManagedTLSSecret1$outboundSchema
3208
+ ),
3209
+ z.lazy(() =>
3210
+ CreateSetupRegistrationOperationRequestCertificateNone1$outboundSchema
3211
+ ),
3212
+ ]),
3213
+ mode: CreateSetupRegistrationOperationRequestModeGenerated$outboundSchema,
3214
+ route: z.union([
3215
+ z.lazy(() =>
3216
+ CreateSetupRegistrationOperationRequestRouteIngress1$outboundSchema
3217
+ ),
3218
+ z.lazy(() =>
3219
+ CreateSetupRegistrationOperationRequestRouteGateway1$outboundSchema
3220
+ ),
3221
+ ]),
3222
+ });
3223
+
3224
+ export function createSetupRegistrationOperationRequestExposureGeneratedToJSON(
3225
+ createSetupRegistrationOperationRequestExposureGenerated:
3226
+ CreateSetupRegistrationOperationRequestExposureGenerated,
3227
+ ): string {
3228
+ return JSON.stringify(
3229
+ CreateSetupRegistrationOperationRequestExposureGenerated$outboundSchema
3230
+ .parse(createSetupRegistrationOperationRequestExposureGenerated),
3231
+ );
3232
+ }
3233
+
3234
+ /** @internal */
3235
+ export const CreateSetupRegistrationOperationRequestModeDisabled$outboundSchema:
3236
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestModeDisabled> = z
3237
+ .enum(CreateSetupRegistrationOperationRequestModeDisabled);
3238
+
3239
+ /** @internal */
3240
+ export type CreateSetupRegistrationOperationRequestExposureDisabled$Outbound = {
3241
+ mode: string;
3242
+ };
3243
+
3244
+ /** @internal */
3245
+ export const CreateSetupRegistrationOperationRequestExposureDisabled$outboundSchema:
3246
+ z.ZodType<
3247
+ CreateSetupRegistrationOperationRequestExposureDisabled$Outbound,
3248
+ CreateSetupRegistrationOperationRequestExposureDisabled
3249
+ > = z.object({
3250
+ mode: CreateSetupRegistrationOperationRequestModeDisabled$outboundSchema,
3251
+ });
3252
+
3253
+ export function createSetupRegistrationOperationRequestExposureDisabledToJSON(
3254
+ createSetupRegistrationOperationRequestExposureDisabled:
3255
+ CreateSetupRegistrationOperationRequestExposureDisabled,
3256
+ ): string {
3257
+ return JSON.stringify(
3258
+ CreateSetupRegistrationOperationRequestExposureDisabled$outboundSchema
3259
+ .parse(createSetupRegistrationOperationRequestExposureDisabled),
3260
+ );
3261
+ }
3262
+
3263
+ /** @internal */
3264
+ export type CreateSetupRegistrationOperationRequestExposureUnion$Outbound =
3265
+ | CreateSetupRegistrationOperationRequestExposureCustom$Outbound
3266
+ | CreateSetupRegistrationOperationRequestExposureGenerated$Outbound
3267
+ | CreateSetupRegistrationOperationRequestExposureDisabled$Outbound
3268
+ | any;
3269
+
3270
+ /** @internal */
3271
+ export const CreateSetupRegistrationOperationRequestExposureUnion$outboundSchema:
3272
+ z.ZodType<
3273
+ CreateSetupRegistrationOperationRequestExposureUnion$Outbound,
3274
+ CreateSetupRegistrationOperationRequestExposureUnion
3275
+ > = z.union([
3276
+ z.lazy(() =>
3277
+ CreateSetupRegistrationOperationRequestExposureCustom$outboundSchema
3278
+ ),
3279
+ z.lazy(() =>
3280
+ CreateSetupRegistrationOperationRequestExposureGenerated$outboundSchema
3281
+ ),
3282
+ z.lazy(() =>
3283
+ CreateSetupRegistrationOperationRequestExposureDisabled$outboundSchema
3284
+ ),
3285
+ z.any(),
3286
+ ]);
3287
+
3288
+ export function createSetupRegistrationOperationRequestExposureUnionToJSON(
3289
+ createSetupRegistrationOperationRequestExposureUnion:
3290
+ CreateSetupRegistrationOperationRequestExposureUnion,
3291
+ ): string {
3292
+ return JSON.stringify(
3293
+ CreateSetupRegistrationOperationRequestExposureUnion$outboundSchema.parse(
3294
+ createSetupRegistrationOperationRequestExposureUnion,
3295
+ ),
3296
+ );
3297
+ }
3298
+
3299
+ /** @internal */
3300
+ export type CreateSetupRegistrationOperationRequestKubernetes$Outbound = {
3301
+ cluster?:
3302
+ | CreateSetupRegistrationOperationRequestCluster$Outbound
3303
+ | any
3304
+ | null
3305
+ | undefined;
3306
+ exposure?:
3307
+ | CreateSetupRegistrationOperationRequestExposureCustom$Outbound
3308
+ | CreateSetupRegistrationOperationRequestExposureGenerated$Outbound
3309
+ | CreateSetupRegistrationOperationRequestExposureDisabled$Outbound
3310
+ | any
3311
+ | null
3312
+ | undefined;
3313
+ };
3314
+
3315
+ /** @internal */
3316
+ export const CreateSetupRegistrationOperationRequestKubernetes$outboundSchema:
3317
+ z.ZodType<
3318
+ CreateSetupRegistrationOperationRequestKubernetes$Outbound,
3319
+ CreateSetupRegistrationOperationRequestKubernetes
3320
+ > = z.object({
3321
+ cluster: z.nullable(
3322
+ z.union([
3323
+ z.lazy(() =>
3324
+ CreateSetupRegistrationOperationRequestCluster$outboundSchema
3325
+ ),
3326
+ z.any(),
3327
+ ]),
3328
+ ).optional(),
3329
+ exposure: z.nullable(
3330
+ z.union([
3331
+ z.lazy(() =>
3332
+ CreateSetupRegistrationOperationRequestExposureCustom$outboundSchema
3333
+ ),
3334
+ z.lazy(() =>
3335
+ CreateSetupRegistrationOperationRequestExposureGenerated$outboundSchema
3336
+ ),
3337
+ z.lazy(() =>
3338
+ CreateSetupRegistrationOperationRequestExposureDisabled$outboundSchema
3339
+ ),
3340
+ z.any(),
3341
+ ]),
3342
+ ).optional(),
3343
+ });
3344
+
3345
+ export function createSetupRegistrationOperationRequestKubernetesToJSON(
3346
+ createSetupRegistrationOperationRequestKubernetes:
3347
+ CreateSetupRegistrationOperationRequestKubernetes,
3348
+ ): string {
3349
+ return JSON.stringify(
3350
+ CreateSetupRegistrationOperationRequestKubernetes$outboundSchema.parse(
3351
+ createSetupRegistrationOperationRequestKubernetes,
3352
+ ),
3353
+ );
3354
+ }
3355
+
3356
+ /** @internal */
3357
+ export type CreateSetupRegistrationOperationRequestKubernetesUnion$Outbound =
3358
+ | CreateSetupRegistrationOperationRequestKubernetes$Outbound
3359
+ | any;
3360
+
3361
+ /** @internal */
3362
+ export const CreateSetupRegistrationOperationRequestKubernetesUnion$outboundSchema:
3363
+ z.ZodType<
3364
+ CreateSetupRegistrationOperationRequestKubernetesUnion$Outbound,
3365
+ CreateSetupRegistrationOperationRequestKubernetesUnion
3366
+ > = z.union([
3367
+ z.lazy(() =>
3368
+ CreateSetupRegistrationOperationRequestKubernetes$outboundSchema
3369
+ ),
3370
+ z.any(),
3371
+ ]);
3372
+
3373
+ export function createSetupRegistrationOperationRequestKubernetesUnionToJSON(
3374
+ createSetupRegistrationOperationRequestKubernetesUnion:
3375
+ CreateSetupRegistrationOperationRequestKubernetesUnion,
3376
+ ): string {
3377
+ return JSON.stringify(
3378
+ CreateSetupRegistrationOperationRequestKubernetesUnion$outboundSchema.parse(
3379
+ createSetupRegistrationOperationRequestKubernetesUnion,
3380
+ ),
3381
+ );
3382
+ }
3383
+
3384
+ /** @internal */
3385
+ export const CreateSetupRegistrationOperationRequestTypeByoVnetAzure$outboundSchema:
3386
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestTypeByoVnetAzure> = z
3387
+ .enum(CreateSetupRegistrationOperationRequestTypeByoVnetAzure);
3388
+
3389
+ /** @internal */
3390
+ export type CreateSetupRegistrationOperationRequestNetworkByoVnetAzure$Outbound =
3391
+ {
3392
+ application_gateway_subnet_name?: string | null | undefined;
3393
+ private_subnet_name: string;
3394
+ public_subnet_name: string;
3395
+ type: string;
3396
+ vnet_resource_id: string;
3397
+ };
3398
+
3399
+ /** @internal */
3400
+ export const CreateSetupRegistrationOperationRequestNetworkByoVnetAzure$outboundSchema:
3401
+ z.ZodType<
3402
+ CreateSetupRegistrationOperationRequestNetworkByoVnetAzure$Outbound,
3403
+ CreateSetupRegistrationOperationRequestNetworkByoVnetAzure
3404
+ > = z.object({
3405
+ applicationGatewaySubnetName: z.nullable(z.string()).optional(),
3406
+ privateSubnetName: z.string(),
3407
+ publicSubnetName: z.string(),
3408
+ type:
3409
+ CreateSetupRegistrationOperationRequestTypeByoVnetAzure$outboundSchema,
3410
+ vnetResourceId: z.string(),
3411
+ }).transform((v) => {
3412
+ return remap$(v, {
3413
+ applicationGatewaySubnetName: "application_gateway_subnet_name",
3414
+ privateSubnetName: "private_subnet_name",
3415
+ publicSubnetName: "public_subnet_name",
3416
+ vnetResourceId: "vnet_resource_id",
3417
+ });
3418
+ });
3419
+
3420
+ export function createSetupRegistrationOperationRequestNetworkByoVnetAzureToJSON(
3421
+ createSetupRegistrationOperationRequestNetworkByoVnetAzure:
3422
+ CreateSetupRegistrationOperationRequestNetworkByoVnetAzure,
3423
+ ): string {
3424
+ return JSON.stringify(
3425
+ CreateSetupRegistrationOperationRequestNetworkByoVnetAzure$outboundSchema
3426
+ .parse(createSetupRegistrationOperationRequestNetworkByoVnetAzure),
3427
+ );
3428
+ }
3429
+
3430
+ /** @internal */
3431
+ export const CreateSetupRegistrationOperationRequestTypeByoVpcGcp$outboundSchema:
3432
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestTypeByoVpcGcp> = z
3433
+ .enum(CreateSetupRegistrationOperationRequestTypeByoVpcGcp);
3434
+
3435
+ /** @internal */
3436
+ export type CreateSetupRegistrationOperationRequestNetworkByoVpcGcp$Outbound = {
3437
+ network_name: string;
3438
+ region: string;
3439
+ subnet_name: string;
3440
+ type: string;
3441
+ };
3442
+
3443
+ /** @internal */
3444
+ export const CreateSetupRegistrationOperationRequestNetworkByoVpcGcp$outboundSchema:
3445
+ z.ZodType<
3446
+ CreateSetupRegistrationOperationRequestNetworkByoVpcGcp$Outbound,
3447
+ CreateSetupRegistrationOperationRequestNetworkByoVpcGcp
3448
+ > = z.object({
3449
+ networkName: z.string(),
3450
+ region: z.string(),
3451
+ subnetName: z.string(),
3452
+ type: CreateSetupRegistrationOperationRequestTypeByoVpcGcp$outboundSchema,
3453
+ }).transform((v) => {
3454
+ return remap$(v, {
3455
+ networkName: "network_name",
3456
+ subnetName: "subnet_name",
3457
+ });
3458
+ });
3459
+
3460
+ export function createSetupRegistrationOperationRequestNetworkByoVpcGcpToJSON(
3461
+ createSetupRegistrationOperationRequestNetworkByoVpcGcp:
3462
+ CreateSetupRegistrationOperationRequestNetworkByoVpcGcp,
3463
+ ): string {
3464
+ return JSON.stringify(
3465
+ CreateSetupRegistrationOperationRequestNetworkByoVpcGcp$outboundSchema
3466
+ .parse(createSetupRegistrationOperationRequestNetworkByoVpcGcp),
3467
+ );
3468
+ }
3469
+
3470
+ /** @internal */
3471
+ export const CreateSetupRegistrationOperationRequestTypeByoVpcAws$outboundSchema:
3472
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestTypeByoVpcAws> = z
3473
+ .enum(CreateSetupRegistrationOperationRequestTypeByoVpcAws);
3474
+
3475
+ /** @internal */
3476
+ export type CreateSetupRegistrationOperationRequestNetworkByoVpcAws$Outbound = {
3477
+ private_subnet_ids: Array<string>;
3478
+ public_subnet_ids: Array<string>;
3479
+ security_group_ids?: Array<string> | undefined;
3480
+ type: string;
3481
+ vpc_id: string;
3482
+ };
3483
+
3484
+ /** @internal */
3485
+ export const CreateSetupRegistrationOperationRequestNetworkByoVpcAws$outboundSchema:
3486
+ z.ZodType<
3487
+ CreateSetupRegistrationOperationRequestNetworkByoVpcAws$Outbound,
3488
+ CreateSetupRegistrationOperationRequestNetworkByoVpcAws
3489
+ > = z.object({
3490
+ privateSubnetIds: z.array(z.string()),
3491
+ publicSubnetIds: z.array(z.string()),
3492
+ securityGroupIds: z.array(z.string()).optional(),
3493
+ type: CreateSetupRegistrationOperationRequestTypeByoVpcAws$outboundSchema,
3494
+ vpcId: z.string(),
3495
+ }).transform((v) => {
3496
+ return remap$(v, {
3497
+ privateSubnetIds: "private_subnet_ids",
3498
+ publicSubnetIds: "public_subnet_ids",
3499
+ securityGroupIds: "security_group_ids",
3500
+ vpcId: "vpc_id",
3501
+ });
3502
+ });
3503
+
3504
+ export function createSetupRegistrationOperationRequestNetworkByoVpcAwsToJSON(
3505
+ createSetupRegistrationOperationRequestNetworkByoVpcAws:
3506
+ CreateSetupRegistrationOperationRequestNetworkByoVpcAws,
3507
+ ): string {
3508
+ return JSON.stringify(
3509
+ CreateSetupRegistrationOperationRequestNetworkByoVpcAws$outboundSchema
3510
+ .parse(createSetupRegistrationOperationRequestNetworkByoVpcAws),
3511
+ );
3512
+ }
3513
+
3514
+ /** @internal */
3515
+ export const CreateSetupRegistrationOperationRequestTypeCreate$outboundSchema:
3516
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestTypeCreate> = z.enum(
3517
+ CreateSetupRegistrationOperationRequestTypeCreate,
3518
+ );
3519
+
3520
+ /** @internal */
3521
+ export type CreateSetupRegistrationOperationRequestNetworkCreate$Outbound = {
3522
+ availability_zones?: number | undefined;
3523
+ cidr?: string | null | undefined;
3524
+ type: string;
3525
+ };
3526
+
3527
+ /** @internal */
3528
+ export const CreateSetupRegistrationOperationRequestNetworkCreate$outboundSchema:
3529
+ z.ZodType<
3530
+ CreateSetupRegistrationOperationRequestNetworkCreate$Outbound,
3531
+ CreateSetupRegistrationOperationRequestNetworkCreate
3532
+ > = z.object({
3533
+ availabilityZones: z.int().optional(),
3534
+ cidr: z.nullable(z.string()).optional(),
3535
+ type: CreateSetupRegistrationOperationRequestTypeCreate$outboundSchema,
3536
+ }).transform((v) => {
3537
+ return remap$(v, {
3538
+ availabilityZones: "availability_zones",
3539
+ });
3540
+ });
3541
+
3542
+ export function createSetupRegistrationOperationRequestNetworkCreateToJSON(
3543
+ createSetupRegistrationOperationRequestNetworkCreate:
3544
+ CreateSetupRegistrationOperationRequestNetworkCreate,
3545
+ ): string {
3546
+ return JSON.stringify(
3547
+ CreateSetupRegistrationOperationRequestNetworkCreate$outboundSchema.parse(
3548
+ createSetupRegistrationOperationRequestNetworkCreate,
3549
+ ),
3550
+ );
3551
+ }
3552
+
3553
+ /** @internal */
3554
+ export const CreateSetupRegistrationOperationRequestTypeUseDefault$outboundSchema:
3555
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestTypeUseDefault> = z
3556
+ .enum(CreateSetupRegistrationOperationRequestTypeUseDefault);
3557
+
3558
+ /** @internal */
3559
+ export type CreateSetupRegistrationOperationRequestNetworkUseDefault$Outbound =
3560
+ {
3561
+ type: string;
3562
+ };
3563
+
3564
+ /** @internal */
3565
+ export const CreateSetupRegistrationOperationRequestNetworkUseDefault$outboundSchema:
3566
+ z.ZodType<
3567
+ CreateSetupRegistrationOperationRequestNetworkUseDefault$Outbound,
3568
+ CreateSetupRegistrationOperationRequestNetworkUseDefault
3569
+ > = z.object({
3570
+ type: CreateSetupRegistrationOperationRequestTypeUseDefault$outboundSchema,
3571
+ });
3572
+
3573
+ export function createSetupRegistrationOperationRequestNetworkUseDefaultToJSON(
3574
+ createSetupRegistrationOperationRequestNetworkUseDefault:
3575
+ CreateSetupRegistrationOperationRequestNetworkUseDefault,
3576
+ ): string {
3577
+ return JSON.stringify(
3578
+ CreateSetupRegistrationOperationRequestNetworkUseDefault$outboundSchema
3579
+ .parse(createSetupRegistrationOperationRequestNetworkUseDefault),
3580
+ );
3581
+ }
3582
+
3583
+ /** @internal */
3584
+ export type CreateSetupRegistrationOperationRequestNetworkUnion$Outbound =
3585
+ | CreateSetupRegistrationOperationRequestNetworkByoVpcAws$Outbound
3586
+ | CreateSetupRegistrationOperationRequestNetworkByoVpcGcp$Outbound
3587
+ | CreateSetupRegistrationOperationRequestNetworkByoVnetAzure$Outbound
3588
+ | CreateSetupRegistrationOperationRequestNetworkUseDefault$Outbound
3589
+ | CreateSetupRegistrationOperationRequestNetworkCreate$Outbound
3590
+ | any;
3591
+
3592
+ /** @internal */
3593
+ export const CreateSetupRegistrationOperationRequestNetworkUnion$outboundSchema:
3594
+ z.ZodType<
3595
+ CreateSetupRegistrationOperationRequestNetworkUnion$Outbound,
3596
+ CreateSetupRegistrationOperationRequestNetworkUnion
3597
+ > = z.union([
3598
+ z.lazy(() =>
3599
+ CreateSetupRegistrationOperationRequestNetworkByoVpcAws$outboundSchema
3600
+ ),
3601
+ z.lazy(() =>
3602
+ CreateSetupRegistrationOperationRequestNetworkByoVpcGcp$outboundSchema
3603
+ ),
3604
+ z.lazy(() =>
3605
+ CreateSetupRegistrationOperationRequestNetworkByoVnetAzure$outboundSchema
3606
+ ),
3607
+ z.lazy(() =>
3608
+ CreateSetupRegistrationOperationRequestNetworkUseDefault$outboundSchema
3609
+ ),
3610
+ z.lazy(() =>
3611
+ CreateSetupRegistrationOperationRequestNetworkCreate$outboundSchema
3612
+ ),
3613
+ z.any(),
3614
+ ]);
3615
+
3616
+ export function createSetupRegistrationOperationRequestNetworkUnionToJSON(
3617
+ createSetupRegistrationOperationRequestNetworkUnion:
3618
+ CreateSetupRegistrationOperationRequestNetworkUnion,
3619
+ ): string {
3620
+ return JSON.stringify(
3621
+ CreateSetupRegistrationOperationRequestNetworkUnion$outboundSchema.parse(
3622
+ createSetupRegistrationOperationRequestNetworkUnion,
3623
+ ),
3624
+ );
3625
+ }
3626
+
3627
+ /** @internal */
3628
+ export const CreateSetupRegistrationOperationRequestTelemetry$outboundSchema:
3629
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestTelemetry> = z.enum(
3630
+ CreateSetupRegistrationOperationRequestTelemetry,
3631
+ );
3632
+
3633
+ /** @internal */
3634
+ export const CreateSetupRegistrationOperationRequestUpdates$outboundSchema:
3635
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestUpdates> = z.enum(
3636
+ CreateSetupRegistrationOperationRequestUpdates,
3637
+ );
3638
+
3639
+ /** @internal */
3640
+ export type CreateSetupRegistrationOperationRequestStackSettings$Outbound = {
3641
+ deploymentModel?: string | undefined;
3642
+ domains?:
3643
+ | CreateSetupRegistrationOperationRequestDomains$Outbound
3644
+ | any
3645
+ | null
3646
+ | undefined;
3647
+ externalBindings?:
3648
+ | CreateSetupRegistrationOperationRequestExternalBindings$Outbound
3649
+ | null
3650
+ | undefined;
3651
+ heartbeats?: string | undefined;
3652
+ kubernetes?:
3653
+ | CreateSetupRegistrationOperationRequestKubernetes$Outbound
3654
+ | any
3655
+ | null
3656
+ | undefined;
3657
+ network?:
3658
+ | CreateSetupRegistrationOperationRequestNetworkByoVpcAws$Outbound
3659
+ | CreateSetupRegistrationOperationRequestNetworkByoVpcGcp$Outbound
3660
+ | CreateSetupRegistrationOperationRequestNetworkByoVnetAzure$Outbound
3661
+ | CreateSetupRegistrationOperationRequestNetworkUseDefault$Outbound
3662
+ | CreateSetupRegistrationOperationRequestNetworkCreate$Outbound
3663
+ | any
3664
+ | null
3665
+ | undefined;
3666
+ telemetry?: string | undefined;
3667
+ updates?: string | undefined;
3668
+ };
3669
+
3670
+ /** @internal */
3671
+ export const CreateSetupRegistrationOperationRequestStackSettings$outboundSchema:
3672
+ z.ZodType<
3673
+ CreateSetupRegistrationOperationRequestStackSettings$Outbound,
3674
+ CreateSetupRegistrationOperationRequestStackSettings
3675
+ > = z.object({
3676
+ deploymentModel:
3677
+ CreateSetupRegistrationOperationRequestDeploymentModel$outboundSchema
3678
+ .optional(),
3679
+ domains: z.nullable(
3680
+ z.union([
3681
+ z.lazy(() =>
3682
+ CreateSetupRegistrationOperationRequestDomains$outboundSchema
3683
+ ),
3684
+ z.any(),
3685
+ ]),
3686
+ ).optional(),
3687
+ externalBindings: z.nullable(
3688
+ z.lazy(() =>
3689
+ CreateSetupRegistrationOperationRequestExternalBindings$outboundSchema
3690
+ ),
3691
+ ).optional(),
3692
+ heartbeats: CreateSetupRegistrationOperationRequestHeartbeats$outboundSchema
3693
+ .optional(),
3694
+ kubernetes: z.nullable(
3695
+ z.union([
3696
+ z.lazy(() =>
3697
+ CreateSetupRegistrationOperationRequestKubernetes$outboundSchema
3698
+ ),
3699
+ z.any(),
3700
+ ]),
3701
+ ).optional(),
3702
+ network: z.nullable(
3703
+ z.union([
3704
+ z.lazy(() =>
3705
+ CreateSetupRegistrationOperationRequestNetworkByoVpcAws$outboundSchema
3706
+ ),
3707
+ z.lazy(() =>
3708
+ CreateSetupRegistrationOperationRequestNetworkByoVpcGcp$outboundSchema
3709
+ ),
3710
+ z.lazy(() =>
3711
+ CreateSetupRegistrationOperationRequestNetworkByoVnetAzure$outboundSchema
3712
+ ),
3713
+ z.lazy(() =>
3714
+ CreateSetupRegistrationOperationRequestNetworkUseDefault$outboundSchema
3715
+ ),
3716
+ z.lazy(() =>
3717
+ CreateSetupRegistrationOperationRequestNetworkCreate$outboundSchema
3718
+ ),
3719
+ z.any(),
3720
+ ]),
3721
+ ).optional(),
3722
+ telemetry: CreateSetupRegistrationOperationRequestTelemetry$outboundSchema
3723
+ .optional(),
3724
+ updates: CreateSetupRegistrationOperationRequestUpdates$outboundSchema
3725
+ .optional(),
3726
+ });
3727
+
3728
+ export function createSetupRegistrationOperationRequestStackSettingsToJSON(
3729
+ createSetupRegistrationOperationRequestStackSettings:
3730
+ CreateSetupRegistrationOperationRequestStackSettings,
3731
+ ): string {
3732
+ return JSON.stringify(
3733
+ CreateSetupRegistrationOperationRequestStackSettings$outboundSchema.parse(
3734
+ createSetupRegistrationOperationRequestStackSettings,
3735
+ ),
3736
+ );
3737
+ }
3738
+
3739
+ /** @internal */
3740
+ export const CreateSetupRegistrationOperationRequestPlatformKubernetes$outboundSchema:
3741
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestPlatformKubernetes> =
3742
+ z.enum(CreateSetupRegistrationOperationRequestPlatformKubernetes);
3743
+
3744
+ /** @internal */
3745
+ export type CreateSetupRegistrationOperationRequestManagementConfigKubernetes$Outbound =
3746
+ {
3747
+ platform: string;
3748
+ };
3749
+
3750
+ /** @internal */
3751
+ export const CreateSetupRegistrationOperationRequestManagementConfigKubernetes$outboundSchema:
3752
+ z.ZodType<
3753
+ CreateSetupRegistrationOperationRequestManagementConfigKubernetes$Outbound,
3754
+ CreateSetupRegistrationOperationRequestManagementConfigKubernetes
3755
+ > = z.object({
3756
+ platform:
3757
+ CreateSetupRegistrationOperationRequestPlatformKubernetes$outboundSchema,
3758
+ });
3759
+
3760
+ export function createSetupRegistrationOperationRequestManagementConfigKubernetesToJSON(
3761
+ createSetupRegistrationOperationRequestManagementConfigKubernetes:
3762
+ CreateSetupRegistrationOperationRequestManagementConfigKubernetes,
3763
+ ): string {
3764
+ return JSON.stringify(
3765
+ CreateSetupRegistrationOperationRequestManagementConfigKubernetes$outboundSchema
3766
+ .parse(createSetupRegistrationOperationRequestManagementConfigKubernetes),
3767
+ );
3768
+ }
3769
+
3770
+ /** @internal */
3771
+ export const CreateSetupRegistrationOperationRequestPlatformAzure$outboundSchema:
3772
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestPlatformAzure> = z
3773
+ .enum(CreateSetupRegistrationOperationRequestPlatformAzure);
3774
+
3775
+ /** @internal */
3776
+ export type CreateSetupRegistrationOperationRequestManagementConfigAzure$Outbound =
3777
+ {
3778
+ managingTenantId: string;
3779
+ oidcIssuer: string;
3780
+ oidcSubject: string;
3781
+ platform: string;
3782
+ };
3783
+
3784
+ /** @internal */
3785
+ export const CreateSetupRegistrationOperationRequestManagementConfigAzure$outboundSchema:
3786
+ z.ZodType<
3787
+ CreateSetupRegistrationOperationRequestManagementConfigAzure$Outbound,
3788
+ CreateSetupRegistrationOperationRequestManagementConfigAzure
3789
+ > = z.object({
3790
+ managingTenantId: z.string(),
3791
+ oidcIssuer: z.string(),
3792
+ oidcSubject: z.string(),
3793
+ platform:
3794
+ CreateSetupRegistrationOperationRequestPlatformAzure$outboundSchema,
3795
+ });
3796
+
3797
+ export function createSetupRegistrationOperationRequestManagementConfigAzureToJSON(
3798
+ createSetupRegistrationOperationRequestManagementConfigAzure:
3799
+ CreateSetupRegistrationOperationRequestManagementConfigAzure,
3800
+ ): string {
3801
+ return JSON.stringify(
3802
+ CreateSetupRegistrationOperationRequestManagementConfigAzure$outboundSchema
3803
+ .parse(createSetupRegistrationOperationRequestManagementConfigAzure),
3804
+ );
3805
+ }
3806
+
3807
+ /** @internal */
3808
+ export const CreateSetupRegistrationOperationRequestPlatformGcp$outboundSchema:
3809
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestPlatformGcp> = z.enum(
3810
+ CreateSetupRegistrationOperationRequestPlatformGcp,
3811
+ );
3812
+
3813
+ /** @internal */
3814
+ export type CreateSetupRegistrationOperationRequestManagementConfigGcp$Outbound =
3815
+ {
3816
+ serviceAccountEmail: string;
3817
+ platform: string;
3818
+ };
3819
+
3820
+ /** @internal */
3821
+ export const CreateSetupRegistrationOperationRequestManagementConfigGcp$outboundSchema:
3822
+ z.ZodType<
3823
+ CreateSetupRegistrationOperationRequestManagementConfigGcp$Outbound,
3824
+ CreateSetupRegistrationOperationRequestManagementConfigGcp
3825
+ > = z.object({
3826
+ serviceAccountEmail: z.string(),
3827
+ platform: CreateSetupRegistrationOperationRequestPlatformGcp$outboundSchema,
3828
+ });
3829
+
3830
+ export function createSetupRegistrationOperationRequestManagementConfigGcpToJSON(
3831
+ createSetupRegistrationOperationRequestManagementConfigGcp:
3832
+ CreateSetupRegistrationOperationRequestManagementConfigGcp,
3833
+ ): string {
3834
+ return JSON.stringify(
3835
+ CreateSetupRegistrationOperationRequestManagementConfigGcp$outboundSchema
3836
+ .parse(createSetupRegistrationOperationRequestManagementConfigGcp),
3837
+ );
3838
+ }
3839
+
3840
+ /** @internal */
3841
+ export const CreateSetupRegistrationOperationRequestPlatformAws$outboundSchema:
3842
+ z.ZodEnum<typeof CreateSetupRegistrationOperationRequestPlatformAws> = z.enum(
3843
+ CreateSetupRegistrationOperationRequestPlatformAws,
3844
+ );
3845
+
3846
+ /** @internal */
3847
+ export type CreateSetupRegistrationOperationRequestManagementConfigAws$Outbound =
3848
+ {
3849
+ managingRoleArn: string;
3850
+ platform: string;
3851
+ };
3852
+
3853
+ /** @internal */
3854
+ export const CreateSetupRegistrationOperationRequestManagementConfigAws$outboundSchema:
3855
+ z.ZodType<
3856
+ CreateSetupRegistrationOperationRequestManagementConfigAws$Outbound,
3857
+ CreateSetupRegistrationOperationRequestManagementConfigAws
3858
+ > = z.object({
3859
+ managingRoleArn: z.string(),
3860
+ platform: CreateSetupRegistrationOperationRequestPlatformAws$outboundSchema,
3861
+ });
3862
+
3863
+ export function createSetupRegistrationOperationRequestManagementConfigAwsToJSON(
3864
+ createSetupRegistrationOperationRequestManagementConfigAws:
3865
+ CreateSetupRegistrationOperationRequestManagementConfigAws,
3866
+ ): string {
3867
+ return JSON.stringify(
3868
+ CreateSetupRegistrationOperationRequestManagementConfigAws$outboundSchema
3869
+ .parse(createSetupRegistrationOperationRequestManagementConfigAws),
3870
+ );
3871
+ }
3872
+
3873
+ /** @internal */
3874
+ export type CreateSetupRegistrationOperationRequestManagementConfigUnion$Outbound =
3875
+ | CreateSetupRegistrationOperationRequestManagementConfigAzure$Outbound
3876
+ | CreateSetupRegistrationOperationRequestManagementConfigAws$Outbound
3877
+ | CreateSetupRegistrationOperationRequestManagementConfigGcp$Outbound
3878
+ | CreateSetupRegistrationOperationRequestManagementConfigKubernetes$Outbound
3879
+ | any;
3880
+
3881
+ /** @internal */
3882
+ export const CreateSetupRegistrationOperationRequestManagementConfigUnion$outboundSchema:
3883
+ z.ZodType<
3884
+ CreateSetupRegistrationOperationRequestManagementConfigUnion$Outbound,
3885
+ CreateSetupRegistrationOperationRequestManagementConfigUnion
3886
+ > = z.union([
3887
+ z.lazy(() =>
3888
+ CreateSetupRegistrationOperationRequestManagementConfigAzure$outboundSchema
3889
+ ),
3890
+ z.lazy(() =>
3891
+ CreateSetupRegistrationOperationRequestManagementConfigAws$outboundSchema
3892
+ ),
3893
+ z.lazy(() =>
3894
+ CreateSetupRegistrationOperationRequestManagementConfigGcp$outboundSchema
3895
+ ),
3896
+ z.lazy(() =>
3897
+ CreateSetupRegistrationOperationRequestManagementConfigKubernetes$outboundSchema
3898
+ ),
3899
+ z.any(),
3900
+ ]);
3901
+
3902
+ export function createSetupRegistrationOperationRequestManagementConfigUnionToJSON(
3903
+ createSetupRegistrationOperationRequestManagementConfigUnion:
3904
+ CreateSetupRegistrationOperationRequestManagementConfigUnion,
3905
+ ): string {
3906
+ return JSON.stringify(
3907
+ CreateSetupRegistrationOperationRequestManagementConfigUnion$outboundSchema
3908
+ .parse(createSetupRegistrationOperationRequestManagementConfigUnion),
3909
+ );
3910
+ }
3911
+
3912
+ /** @internal */
3913
+ export type CreateSetupRegistrationOperationRequestSource$Outbound = {
3914
+ deploymentName: string;
3915
+ resourcePrefix: string;
3916
+ sourceKind?: string | undefined;
3917
+ setupMetadata?: { [k: string]: any | null } | undefined;
3918
+ releaseId?: string | undefined;
3919
+ platform: string;
3920
+ basePlatform?: string | undefined;
3921
+ region: string;
3922
+ setupTarget: string;
3923
+ setupImportFormatVersion: number;
3924
+ setupFingerprint: string;
3925
+ setupFingerprintVersion: number;
3926
+ stackSettings: CreateSetupRegistrationOperationRequestStackSettings$Outbound;
3927
+ managementConfig?:
3928
+ | CreateSetupRegistrationOperationRequestManagementConfigAzure$Outbound
3929
+ | CreateSetupRegistrationOperationRequestManagementConfigAws$Outbound
3930
+ | CreateSetupRegistrationOperationRequestManagementConfigGcp$Outbound
3931
+ | CreateSetupRegistrationOperationRequestManagementConfigKubernetes$Outbound
3932
+ | any
3933
+ | null
3934
+ | undefined;
3935
+ resources: Array<ImportedResource$Outbound>;
3936
+ };
3937
+
3938
+ /** @internal */
3939
+ export const CreateSetupRegistrationOperationRequestSource$outboundSchema:
3940
+ z.ZodType<
3941
+ CreateSetupRegistrationOperationRequestSource$Outbound,
3942
+ CreateSetupRegistrationOperationRequestSource
3943
+ > = z.object({
3944
+ deploymentName: z.string(),
3945
+ resourcePrefix: z.string(),
3946
+ sourceKind: ImportSourceKind$outboundSchema.optional(),
3947
+ setupMetadata: z.record(z.string(), z.nullable(z.any())).optional(),
3948
+ releaseId: z.string().optional(),
3949
+ platform: CreateSetupRegistrationOperationRequestPlatform$outboundSchema,
3950
+ basePlatform: KubernetesBasePlatform$outboundSchema.optional(),
3951
+ region: z.string(),
3952
+ setupTarget: z.string(),
3953
+ setupImportFormatVersion: z.int(),
3954
+ setupFingerprint: z.string(),
3955
+ setupFingerprintVersion: z.int(),
3956
+ stackSettings: z.lazy(() =>
3957
+ CreateSetupRegistrationOperationRequestStackSettings$outboundSchema
3958
+ ),
3959
+ managementConfig: z.nullable(
3960
+ z.union([
3961
+ z.lazy(() =>
3962
+ CreateSetupRegistrationOperationRequestManagementConfigAzure$outboundSchema
3963
+ ),
3964
+ z.lazy(() =>
3965
+ CreateSetupRegistrationOperationRequestManagementConfigAws$outboundSchema
3966
+ ),
3967
+ z.lazy(() =>
3968
+ CreateSetupRegistrationOperationRequestManagementConfigGcp$outboundSchema
3969
+ ),
3970
+ z.lazy(() =>
3971
+ CreateSetupRegistrationOperationRequestManagementConfigKubernetes$outboundSchema
3972
+ ),
3973
+ z.any(),
3974
+ ]),
3975
+ ).optional(),
3976
+ resources: z.array(ImportedResource$outboundSchema),
3977
+ });
3978
+
3979
+ export function createSetupRegistrationOperationRequestSourceToJSON(
3980
+ createSetupRegistrationOperationRequestSource:
3981
+ CreateSetupRegistrationOperationRequestSource,
3982
+ ): string {
3983
+ return JSON.stringify(
3984
+ CreateSetupRegistrationOperationRequestSource$outboundSchema.parse(
3985
+ createSetupRegistrationOperationRequestSource,
3986
+ ),
3987
+ );
3988
+ }
3989
+
3990
+ /** @internal */
3991
+ export type CreateSetupRegistrationOperationRequest$Outbound = {
3992
+ action: string;
3993
+ sourceKind: string;
3994
+ source?:
3995
+ | CreateSetupRegistrationOperationRequestSource$Outbound
3996
+ | null
3997
+ | undefined;
3998
+ deploymentId?: string | null | undefined;
3999
+ idempotencyKey?: string | undefined;
4000
+ cloudFormation?:
4001
+ | SetupRegistrationCloudFormationTarget$Outbound
4002
+ | null
4003
+ | undefined;
4004
+ };
4005
+
4006
+ /** @internal */
4007
+ export const CreateSetupRegistrationOperationRequest$outboundSchema: z.ZodType<
4008
+ CreateSetupRegistrationOperationRequest$Outbound,
4009
+ CreateSetupRegistrationOperationRequest
4010
+ > = z.object({
4011
+ action: SetupRegistrationAction$outboundSchema,
4012
+ sourceKind: ImportSourceKind$outboundSchema,
4013
+ source: z.nullable(
4014
+ z.lazy(() => CreateSetupRegistrationOperationRequestSource$outboundSchema),
4015
+ ).optional(),
4016
+ deploymentId: z.nullable(z.string()).optional(),
4017
+ idempotencyKey: z.string().optional(),
4018
+ cloudFormation: z.nullable(
4019
+ SetupRegistrationCloudFormationTarget$outboundSchema,
4020
+ ).optional(),
4021
+ });
4022
+
4023
+ export function createSetupRegistrationOperationRequestToJSON(
4024
+ createSetupRegistrationOperationRequest:
4025
+ CreateSetupRegistrationOperationRequest,
4026
+ ): string {
4027
+ return JSON.stringify(
4028
+ CreateSetupRegistrationOperationRequest$outboundSchema.parse(
4029
+ createSetupRegistrationOperationRequest,
4030
+ ),
4031
+ );
4032
+ }