@alienplatform/platform-api 1.7.1 → 1.9.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.
- package/FUNCTIONS.md +3 -3
- package/README.md +20 -7
- package/esm/funcs/authWhoami.d.ts +2 -1
- package/esm/funcs/authWhoami.d.ts.map +1 -1
- package/esm/funcs/authWhoami.js +19 -5
- package/esm/funcs/authWhoami.js.map +1 -1
- package/esm/funcs/debugSessionsCreate.d.ts +16 -0
- package/esm/funcs/debugSessionsCreate.d.ts.map +1 -0
- package/esm/funcs/debugSessionsCreate.js +86 -0
- package/esm/funcs/debugSessionsCreate.js.map +1 -0
- package/esm/funcs/debugSessionsGet.d.ts +16 -0
- package/esm/funcs/debugSessionsGet.d.ts.map +1 -0
- package/esm/funcs/debugSessionsGet.js +89 -0
- package/esm/funcs/debugSessionsGet.js.map +1 -0
- package/esm/funcs/debugSessionsList.d.ts +16 -0
- package/esm/funcs/debugSessionsList.d.ts.map +1 -0
- package/esm/funcs/debugSessionsList.js +90 -0
- package/esm/funcs/debugSessionsList.js.map +1 -0
- package/esm/funcs/debugSessionsUpdate.d.ts +16 -0
- package/esm/funcs/debugSessionsUpdate.d.ts.map +1 -0
- package/esm/funcs/debugSessionsUpdate.js +92 -0
- package/esm/funcs/debugSessionsUpdate.js.map +1 -0
- package/esm/funcs/deploymentPlanCompute.d.ts +16 -0
- package/esm/funcs/deploymentPlanCompute.d.ts.map +1 -0
- package/esm/funcs/deploymentPlanCompute.js +84 -0
- package/esm/funcs/deploymentPlanCompute.js.map +1 -0
- package/esm/funcs/deploymentsList.js +3 -2
- package/esm/funcs/deploymentsList.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/commanddeploymentinfo.d.ts +1 -1
- package/esm/models/commanddeploymentinfo.d.ts.map +1 -1
- package/esm/models/commanddeploymentinfo.js +1 -1
- package/esm/models/commanddeploymentinfo.js.map +1 -1
- package/esm/models/createdebugsessionrequest.d.ts +27 -0
- package/esm/models/createdebugsessionrequest.d.ts.map +1 -0
- package/esm/models/createdebugsessionrequest.js +17 -0
- package/esm/models/createdebugsessionrequest.js.map +1 -0
- package/esm/models/createdeploymentgrouptokenrequest.d.ts +7 -0
- package/esm/models/createdeploymentgrouptokenrequest.d.ts.map +1 -1
- package/esm/models/createdeploymentgrouptokenrequest.js +3 -0
- package/esm/models/createdeploymentgrouptokenrequest.js.map +1 -1
- package/esm/models/createmanagerresponse.d.ts +196 -0
- package/esm/models/createmanagerresponse.d.ts.map +1 -1
- package/esm/models/createmanagerresponse.js +150 -0
- package/esm/models/createmanagerresponse.js.map +1 -1
- package/esm/models/createreleaserequest.d.ts +5 -5
- package/esm/models/createreleaserequest.d.ts.map +1 -1
- package/esm/models/createreleaserequest.js +2 -2
- package/esm/models/createreleaserequest.js.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.d.ts +95 -0
- package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.js +52 -0
- package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
- package/esm/models/debugpackagepresignedurls.d.ts +11 -0
- package/esm/models/debugpackagepresignedurls.d.ts.map +1 -0
- package/esm/models/debugpackagepresignedurls.js +14 -0
- package/esm/models/debugpackagepresignedurls.js.map +1 -0
- package/esm/models/debugsession.d.ts +74 -0
- package/esm/models/debugsession.d.ts.map +1 -0
- package/esm/models/debugsession.js +49 -0
- package/esm/models/debugsession.js.map +1 -0
- package/esm/models/debugsessionlistresponse.d.ts +21 -0
- package/esm/models/debugsessionlistresponse.d.ts.map +1 -0
- package/esm/models/debugsessionlistresponse.js +15 -0
- package/esm/models/debugsessionlistresponse.js.map +1 -0
- package/esm/models/debugsessionstate.d.ts +22 -0
- package/esm/models/debugsessionstate.d.ts.map +1 -0
- package/esm/models/debugsessionstate.js +20 -0
- package/esm/models/debugsessionstate.js.map +1 -0
- package/esm/models/deployment.d.ts +313 -4
- package/esm/models/deployment.d.ts.map +1 -1
- package/esm/models/deployment.js +214 -1
- package/esm/models/deployment.js.map +1 -1
- package/esm/models/deploymentcomputeplan.d.ts +165 -0
- package/esm/models/deploymentcomputeplan.d.ts.map +1 -0
- package/esm/models/deploymentcomputeplan.js +206 -0
- package/esm/models/deploymentcomputeplan.js.map +1 -0
- package/esm/models/deploymentconnectioninfo.d.ts +13 -3
- package/esm/models/deploymentconnectioninfo.d.ts.map +1 -1
- package/esm/models/deploymentconnectioninfo.js +10 -1
- package/esm/models/deploymentconnectioninfo.js.map +1 -1
- package/esm/models/deploymentdetailresponse.d.ts +313 -4
- package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/deploymentdetailresponse.js +224 -1
- package/esm/models/deploymentdetailresponse.js.map +1 -1
- package/esm/models/deploymentinfo.d.ts +18 -1
- package/esm/models/deploymentinfo.d.ts.map +1 -1
- package/esm/models/deploymentinfo.js +12 -0
- package/esm/models/deploymentinfo.js.map +1 -1
- package/esm/models/deploymentinfosetupconfig.d.ts +248 -0
- package/esm/models/deploymentinfosetupconfig.d.ts.map +1 -1
- package/esm/models/deploymentinfosetupconfig.js +176 -0
- package/esm/models/deploymentinfosetupconfig.js.map +1 -1
- package/esm/models/deploymentlistitemresponse.d.ts +1 -1
- package/esm/models/deploymentlistitemresponse.d.ts.map +1 -1
- package/esm/models/deploymentlistitemresponse.js +1 -1
- package/esm/models/deploymentlistitemresponse.js.map +1 -1
- package/esm/models/deploymentsetupconfig.d.ts +7 -0
- package/esm/models/deploymentsetupconfig.d.ts.map +1 -1
- package/esm/models/deploymentsetupconfig.js +3 -0
- package/esm/models/deploymentsetupconfig.js.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts +103 -0
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.js +99 -0
- package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
- package/esm/models/encryptedstackinputvalue.d.ts +42 -0
- package/esm/models/encryptedstackinputvalue.d.ts.map +1 -0
- package/esm/models/encryptedstackinputvalue.js +37 -0
- package/esm/models/encryptedstackinputvalue.js.map +1 -0
- package/esm/models/forwardimportrequest.d.ts +7 -3
- package/esm/models/forwardimportrequest.d.ts.map +1 -1
- package/esm/models/forwardimportrequest.js +3 -0
- package/esm/models/forwardimportrequest.js.map +1 -1
- package/esm/models/importsource.d.ts +88 -0
- package/esm/models/importsource.d.ts.map +1 -1
- package/esm/models/importsource.js +43 -0
- package/esm/models/importsource.js.map +1 -1
- package/esm/models/index.d.ts +11 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +11 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/managerretryresponse.d.ts +196 -0
- package/esm/models/managerretryresponse.d.ts.map +1 -1
- package/esm/models/managerretryresponse.js +150 -0
- package/esm/models/managerretryresponse.js.map +1 -1
- package/esm/models/newdeploymentrequest.d.ts +100 -5
- package/esm/models/newdeploymentrequest.d.ts.map +1 -1
- package/esm/models/newdeploymentrequest.js +53 -1
- package/esm/models/newdeploymentrequest.js.map +1 -1
- package/esm/models/operations/addworkspacemember.d.ts +1 -1
- package/esm/models/operations/cancelmanagersetup.d.ts +1 -1
- package/esm/models/operations/cancelpackage.d.ts +1 -1
- package/esm/models/operations/createapikey.d.ts +1 -1
- package/esm/models/operations/createcommand.d.ts +1 -1
- package/esm/models/operations/createdebugsession.d.ts +18 -0
- package/esm/models/operations/createdebugsession.d.ts.map +1 -0
- package/esm/models/operations/createdebugsession.js +20 -0
- package/esm/models/operations/createdebugsession.js.map +1 -0
- package/esm/models/operations/createdeployment.d.ts +1 -1
- package/esm/models/operations/createdeploymentgroup.d.ts +1 -1
- package/esm/models/operations/createdeploymentgrouptoken.d.ts +1 -1
- package/esm/models/operations/createdeploymenttoken.d.ts +1 -1
- package/esm/models/operations/createdomain.d.ts +1 -1
- package/esm/models/operations/createdomainendpoint.d.ts +1 -1
- package/esm/models/operations/createmanager.d.ts +1 -1
- package/esm/models/operations/createproject.d.ts +3 -3
- package/esm/models/operations/createprojectfromtemplate.d.ts +3 -3
- package/esm/models/operations/createrelease.d.ts +1 -1
- package/esm/models/operations/createsetupregistrationoperation.d.ts +1 -1
- package/esm/models/operations/deleteapikeys.d.ts +1 -1
- package/esm/models/operations/deletedeployment.d.ts +1 -1
- package/esm/models/operations/deletedeploymentgroup.d.ts +1 -1
- package/esm/models/operations/deletedomain.d.ts +1 -1
- package/esm/models/operations/deletemanager.d.ts +1 -1
- package/esm/models/operations/deleteproject.d.ts +1 -1
- package/esm/models/operations/deleteworkspace.d.ts +1 -1
- package/esm/models/operations/dismissworkspaceonboarding.d.ts +1 -1
- package/esm/models/operations/generatemanagertoken.d.ts +1 -1
- package/esm/models/operations/getapikey.d.ts +1 -1
- package/esm/models/operations/getcloudregions.d.ts +1 -1
- package/esm/models/operations/getcommand.d.ts +1 -1
- package/esm/models/operations/getdebugsession.d.ts +20 -0
- package/esm/models/operations/getdebugsession.d.ts.map +1 -0
- package/esm/models/operations/getdebugsession.js +13 -0
- package/esm/models/operations/getdebugsession.js.map +1 -0
- package/esm/models/operations/getdeployment.d.ts +1 -1
- package/esm/models/operations/getdeploymentconnectioninfo.d.ts +1 -1
- package/esm/models/operations/getdeploymentgroup.d.ts +1 -1
- package/esm/models/operations/getdeploymentinfo.d.ts +1 -1
- package/esm/models/operations/getdeploymentstats.d.ts +1 -1
- package/esm/models/operations/getdomain.d.ts +1 -1
- package/esm/models/operations/getevent.d.ts +1 -1
- package/esm/models/operations/getmanager.d.ts +1 -1
- package/esm/models/operations/getmanagerdeployment.d.ts +1 -1
- package/esm/models/operations/getmanagerdomainbinding.d.ts +1 -1
- package/esm/models/operations/getmanagermanagementconfig.d.ts +1 -1
- package/esm/models/operations/getpackage.d.ts +1 -1
- package/esm/models/operations/getproject.d.ts +1 -1
- package/esm/models/operations/getprojectactiverelease.d.ts +1 -1
- package/esm/models/operations/getprojectdeploymentportaldomain.d.ts +1 -1
- package/esm/models/operations/getprojectgcpoauthprovider.d.ts +1 -1
- package/esm/models/operations/getprojecttemplateurls.d.ts +1 -1
- package/esm/models/operations/getrelease.d.ts +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.d.ts +1 -1
- package/esm/models/operations/getsetupregistrationoperation.d.ts +1 -1
- package/esm/models/operations/getworkspace.d.ts +1 -1
- package/esm/models/operations/getworkspacebillingentitlements.d.ts +1 -1
- package/esm/models/operations/importdeployment.d.ts +1 -1
- package/esm/models/operations/index.d.ts +6 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +6 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/listapikeys.d.ts +1 -1
- package/esm/models/operations/listbillingauditlog.d.ts +1 -1
- package/esm/models/operations/listcommanddeployments.d.ts +1 -1
- package/esm/models/operations/listcommandnames.d.ts +1 -1
- package/esm/models/operations/listcommands.d.ts +1 -1
- package/esm/models/operations/listdebugsessions.d.ts +82 -0
- package/esm/models/operations/listdebugsessions.d.ts.map +1 -0
- package/esm/models/operations/listdebugsessions.js +42 -0
- package/esm/models/operations/listdebugsessions.js.map +1 -0
- package/esm/models/operations/listdeploymentfilterdeploymentgroups.d.ts +1 -1
- package/esm/models/operations/listdeploymentfilterenvironments.d.ts +1 -1
- package/esm/models/operations/listdeploymentgroups.d.ts +1 -1
- package/esm/models/operations/listdeployments.d.ts +6 -1
- package/esm/models/operations/listdeployments.d.ts.map +1 -1
- package/esm/models/operations/listdeployments.js +1 -0
- package/esm/models/operations/listdeployments.js.map +1 -1
- package/esm/models/operations/listdomains.d.ts +1 -1
- package/esm/models/operations/listevents.d.ts +1 -1
- package/esm/models/operations/listmanagerevents.d.ts +1 -1
- package/esm/models/operations/listmanagers.d.ts +1 -1
- package/esm/models/operations/listpackages.d.ts +1 -1
- package/esm/models/operations/listprojects.d.ts +1 -1
- package/esm/models/operations/listreleaseauthors.d.ts +1 -1
- package/esm/models/operations/listreleasebranches.d.ts +1 -1
- package/esm/models/operations/listreleases.d.ts +1 -1
- package/esm/models/operations/listresourcedeployments.d.ts +1 -1
- package/esm/models/operations/listresourceoverview.d.ts +1 -1
- package/esm/models/operations/listworkspacemembers.d.ts +1 -1
- package/esm/models/operations/listworkspaces.d.ts +1 -1
- package/esm/models/operations/pindeploymentrelease.d.ts +1 -1
- package/esm/models/operations/plandeploymentcompute.d.ts +1470 -0
- package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -0
- package/esm/models/operations/plandeploymentcompute.js +897 -0
- package/esm/models/operations/plandeploymentcompute.js.map +1 -0
- package/esm/models/operations/preparedeploymentstack.d.ts +435 -407
- package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
- package/esm/models/operations/preparedeploymentstack.js +401 -352
- package/esm/models/operations/preparedeploymentstack.js.map +1 -1
- package/esm/models/operations/provisionmanager.d.ts +1 -1
- package/esm/models/operations/rebuildpackages.d.ts +1 -1
- package/esm/models/operations/redeploydeployment.d.ts +1 -1
- package/esm/models/operations/refreshdomain.d.ts +1 -1
- package/esm/models/operations/removeworkspacemember.d.ts +1 -1
- package/esm/models/operations/reportmanagerheartbeat.d.ts +1 -1
- package/esm/models/operations/resolve.d.ts +1 -1
- package/esm/models/operations/resolvemanagergcpoauthprovider.d.ts +1 -1
- package/esm/models/operations/retrydeployment.d.ts +1 -1
- package/esm/models/operations/retrymanager.d.ts +1 -1
- package/esm/models/operations/retrymanagersetup.d.ts +1 -1
- package/esm/models/operations/revokeapikey.d.ts +1 -1
- package/esm/models/operations/syncacquire.d.ts +1 -1
- package/esm/models/operations/synclist.d.ts +1 -1
- package/esm/models/operations/syncreconcile.d.ts +1 -1
- package/esm/models/operations/syncrelease.d.ts +1 -1
- package/esm/models/operations/updateapikey.d.ts +1 -1
- package/esm/models/operations/updatecommand.d.ts +1 -1
- package/esm/models/operations/updatedebugsession.d.ts +23 -0
- package/esm/models/operations/updatedebugsession.d.ts.map +1 -0
- package/esm/models/operations/updatedebugsession.js +21 -0
- package/esm/models/operations/updatedebugsession.js.map +1 -0
- package/esm/models/operations/updatedeploymentenvironmentvariables.d.ts +1 -1
- package/esm/models/operations/updatedeploymentgroup.d.ts +1 -1
- package/esm/models/operations/updatemanager.d.ts +1 -1
- package/esm/models/operations/updatemanagerdomainbinding.d.ts +1 -1
- package/esm/models/operations/updateproject.d.ts +1 -1
- package/esm/models/operations/updateprojectgcpoauthprovider.d.ts +1 -1
- package/esm/models/operations/updateworkspace.d.ts +1 -1
- package/esm/models/operations/updateworkspacemember.d.ts +1 -1
- package/esm/models/operations/whoami.d.ts +15 -0
- package/esm/models/operations/whoami.d.ts.map +1 -0
- package/esm/models/operations/whoami.js +12 -0
- package/esm/models/operations/whoami.js.map +1 -0
- package/esm/models/package.d.ts +1 -1
- package/esm/models/persistimporteddeploymentrequest.d.ts +402 -0
- package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.js +232 -0
- package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
- package/esm/models/prepareddeploymentstack.d.ts +248 -0
- package/esm/models/prepareddeploymentstack.d.ts.map +1 -1
- package/esm/models/prepareddeploymentstack.js +174 -0
- package/esm/models/prepareddeploymentstack.js.map +1 -1
- package/esm/models/project.d.ts +1 -1
- package/esm/models/projectlistitemresponse.d.ts +1 -1
- package/esm/models/resolvedstackinputsummary.d.ts +23 -0
- package/esm/models/resolvedstackinputsummary.d.ts.map +1 -0
- package/esm/models/resolvedstackinputsummary.js +24 -0
- package/esm/models/resolvedstackinputsummary.js.map +1 -0
- package/esm/models/stackinputvaluerequest.d.ts +8 -0
- package/esm/models/stackinputvaluerequest.d.ts.map +1 -0
- package/esm/models/stackinputvaluerequest.js +10 -0
- package/esm/models/stackinputvaluerequest.js.map +1 -0
- package/esm/models/syncacquireresponse.d.ts +916 -18
- package/esm/models/syncacquireresponse.d.ts.map +1 -1
- package/esm/models/syncacquireresponse.js +628 -1
- package/esm/models/syncacquireresponse.js.map +1 -1
- package/esm/models/synclistresponse.d.ts +313 -4
- package/esm/models/synclistresponse.d.ts.map +1 -1
- package/esm/models/synclistresponse.js +210 -1
- package/esm/models/synclistresponse.js.map +1 -1
- package/esm/models/syncreconcilerequest.d.ts +921 -0
- package/esm/models/syncreconcilerequest.d.ts.map +1 -1
- package/esm/models/syncreconcilerequest.js +534 -0
- package/esm/models/syncreconcilerequest.js.map +1 -1
- package/esm/models/syncreconcileresponse.d.ts +1318 -174
- package/esm/models/syncreconcileresponse.d.ts.map +1 -1
- package/esm/models/syncreconcileresponse.js +901 -91
- package/esm/models/syncreconcileresponse.js.map +1 -1
- package/esm/models/updateapikeyrequest.d.ts +11 -0
- package/esm/models/updateapikeyrequest.d.ts.map +1 -1
- package/esm/models/updateapikeyrequest.js +3 -0
- package/esm/models/updateapikeyrequest.js.map +1 -1
- package/esm/models/updatedebugsessionrequest.d.ts +21 -0
- package/esm/models/updatedebugsessionrequest.d.ts.map +1 -0
- package/esm/models/updatedebugsessionrequest.js +15 -0
- package/esm/models/updatedebugsessionrequest.js.map +1 -0
- package/esm/models/updatedeploymentsetuppolicy.d.ts +22 -0
- package/esm/models/updatedeploymentsetuppolicy.d.ts.map +1 -0
- package/esm/models/updatedeploymentsetuppolicy.js +14 -0
- package/esm/models/updatedeploymentsetuppolicy.js.map +1 -0
- package/esm/models/updateproject.d.ts +1 -1
- package/esm/sdk/auth.d.ts +2 -1
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js +2 -2
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/debugsessions.d.ts +22 -0
- package/esm/sdk/debugsessions.d.ts.map +1 -0
- package/esm/sdk/debugsessions.js +36 -0
- package/esm/sdk/debugsessions.js.map +1 -0
- package/esm/sdk/deployment.d.ts +4 -0
- package/esm/sdk/deployment.d.ts.map +1 -1
- package/esm/sdk/deployment.js +7 -0
- package/esm/sdk/deployment.js.map +1 -1
- package/esm/sdk/sdk.d.ts +3 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/user.d.ts +4 -4
- package/esm/sdk/user.d.ts.map +1 -1
- package/esm/sdk/user.js +6 -6
- package/esm/sdk/user.js.map +1 -1
- package/examples/{userGetProfile.example.ts → userListMemberships.example.ts} +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/authWhoami.ts +25 -2
- package/src/funcs/debugSessionsCreate.ts +178 -0
- package/src/funcs/debugSessionsGet.ts +179 -0
- package/src/funcs/debugSessionsList.ts +181 -0
- package/src/funcs/debugSessionsUpdate.ts +182 -0
- package/src/funcs/deploymentPlanCompute.ts +176 -0
- package/src/funcs/deploymentsList.ts +3 -1
- package/src/lib/config.ts +2 -2
- package/src/models/commanddeploymentinfo.ts +2 -2
- package/src/models/createdebugsessionrequest.ts +52 -0
- package/src/models/createdeploymentgrouptokenrequest.ts +9 -0
- package/src/models/createmanagerresponse.ts +520 -0
- package/src/models/createreleaserequest.ts +7 -7
- package/src/models/createsetupregistrationoperationrequest.ts +241 -0
- package/src/models/debugpackagepresignedurls.ts +32 -0
- package/src/models/debugsession.ts +118 -0
- package/src/models/debugsessionlistresponse.ts +42 -0
- package/src/models/debugsessionstate.ts +31 -0
- package/src/models/deployment.ts +651 -5
- package/src/models/deploymentcomputeplan.ts +500 -0
- package/src/models/deploymentconnectioninfo.ts +33 -4
- package/src/models/deploymentdetailresponse.ts +715 -5
- package/src/models/deploymentinfo.ts +37 -1
- package/src/models/deploymentinfosetupconfig.ts +544 -0
- package/src/models/deploymentlistitemresponse.ts +2 -2
- package/src/models/deploymentsetupconfig.ts +9 -0
- package/src/models/deploymentsetupstacksettingspolicy.ts +350 -0
- package/src/models/encryptedstackinputvalue.ts +86 -0
- package/src/models/forwardimportrequest.ts +9 -3
- package/src/models/importsource.ts +184 -0
- package/src/models/index.ts +11 -0
- package/src/models/managerretryresponse.ts +517 -0
- package/src/models/newdeploymentrequest.ts +219 -6
- package/src/models/operations/addworkspacemember.ts +1 -1
- package/src/models/operations/cancelmanagersetup.ts +1 -1
- package/src/models/operations/cancelpackage.ts +1 -1
- package/src/models/operations/createapikey.ts +1 -1
- package/src/models/operations/createcommand.ts +1 -1
- package/src/models/operations/createdebugsession.ts +45 -0
- package/src/models/operations/createdeployment.ts +1 -1
- package/src/models/operations/createdeploymentgroup.ts +1 -1
- package/src/models/operations/createdeploymentgrouptoken.ts +1 -1
- package/src/models/operations/createdeploymenttoken.ts +1 -1
- package/src/models/operations/createdomain.ts +1 -1
- package/src/models/operations/createdomainendpoint.ts +1 -1
- package/src/models/operations/createmanager.ts +1 -1
- package/src/models/operations/createproject.ts +3 -3
- package/src/models/operations/createprojectfromtemplate.ts +3 -3
- package/src/models/operations/createrelease.ts +1 -1
- package/src/models/operations/createsetupregistrationoperation.ts +1 -1
- package/src/models/operations/deleteapikeys.ts +1 -1
- package/src/models/operations/deletedeployment.ts +1 -1
- package/src/models/operations/deletedeploymentgroup.ts +1 -1
- package/src/models/operations/deletedomain.ts +1 -1
- package/src/models/operations/deletemanager.ts +1 -1
- package/src/models/operations/deleteproject.ts +1 -1
- package/src/models/operations/deleteworkspace.ts +1 -1
- package/src/models/operations/dismissworkspaceonboarding.ts +1 -1
- package/src/models/operations/generatemanagertoken.ts +1 -1
- package/src/models/operations/getapikey.ts +1 -1
- package/src/models/operations/getcloudregions.ts +1 -1
- package/src/models/operations/getcommand.ts +1 -1
- package/src/models/operations/getdebugsession.ts +39 -0
- package/src/models/operations/getdeployment.ts +1 -1
- package/src/models/operations/getdeploymentconnectioninfo.ts +1 -1
- package/src/models/operations/getdeploymentgroup.ts +1 -1
- package/src/models/operations/getdeploymentinfo.ts +1 -1
- package/src/models/operations/getdeploymentstats.ts +1 -1
- package/src/models/operations/getdomain.ts +1 -1
- package/src/models/operations/getevent.ts +1 -1
- package/src/models/operations/getmanager.ts +1 -1
- package/src/models/operations/getmanagerdeployment.ts +1 -1
- package/src/models/operations/getmanagerdomainbinding.ts +1 -1
- package/src/models/operations/getmanagermanagementconfig.ts +1 -1
- package/src/models/operations/getpackage.ts +1 -1
- package/src/models/operations/getproject.ts +1 -1
- package/src/models/operations/getprojectactiverelease.ts +1 -1
- package/src/models/operations/getprojectdeploymentportaldomain.ts +1 -1
- package/src/models/operations/getprojectgcpoauthprovider.ts +1 -1
- package/src/models/operations/getprojecttemplateurls.ts +1 -1
- package/src/models/operations/getrelease.ts +1 -1
- package/src/models/operations/getresourcedeploymentdetail.ts +1 -1
- package/src/models/operations/getsetupregistrationoperation.ts +1 -1
- package/src/models/operations/getworkspace.ts +1 -1
- package/src/models/operations/getworkspacebillingentitlements.ts +1 -1
- package/src/models/operations/importdeployment.ts +1 -1
- package/src/models/operations/index.ts +6 -0
- package/src/models/operations/listapikeys.ts +1 -1
- package/src/models/operations/listbillingauditlog.ts +1 -1
- package/src/models/operations/listcommanddeployments.ts +1 -1
- package/src/models/operations/listcommandnames.ts +1 -1
- package/src/models/operations/listcommands.ts +1 -1
- package/src/models/operations/listdebugsessions.ts +117 -0
- package/src/models/operations/listdeploymentfilterdeploymentgroups.ts +1 -1
- package/src/models/operations/listdeploymentfilterenvironments.ts +1 -1
- package/src/models/operations/listdeploymentgroups.ts +1 -1
- package/src/models/operations/listdeployments.ts +7 -1
- package/src/models/operations/listdomains.ts +1 -1
- package/src/models/operations/listevents.ts +1 -1
- package/src/models/operations/listmanagerevents.ts +1 -1
- package/src/models/operations/listmanagers.ts +1 -1
- package/src/models/operations/listpackages.ts +1 -1
- package/src/models/operations/listprojects.ts +1 -1
- package/src/models/operations/listreleaseauthors.ts +1 -1
- package/src/models/operations/listreleasebranches.ts +1 -1
- package/src/models/operations/listreleases.ts +1 -1
- package/src/models/operations/listresourcedeployments.ts +1 -1
- package/src/models/operations/listresourceoverview.ts +1 -1
- package/src/models/operations/listworkspacemembers.ts +1 -1
- package/src/models/operations/listworkspaces.ts +1 -1
- package/src/models/operations/pindeploymentrelease.ts +1 -1
- package/src/models/operations/plandeploymentcompute.ts +3412 -0
- package/src/models/operations/preparedeploymentstack.ts +1656 -1063
- package/src/models/operations/provisionmanager.ts +1 -1
- package/src/models/operations/rebuildpackages.ts +1 -1
- package/src/models/operations/redeploydeployment.ts +1 -1
- package/src/models/operations/refreshdomain.ts +1 -1
- package/src/models/operations/removeworkspacemember.ts +1 -1
- package/src/models/operations/reportmanagerheartbeat.ts +1 -1
- package/src/models/operations/resolve.ts +1 -1
- package/src/models/operations/resolvemanagergcpoauthprovider.ts +1 -1
- package/src/models/operations/retrydeployment.ts +1 -1
- package/src/models/operations/retrymanager.ts +1 -1
- package/src/models/operations/retrymanagersetup.ts +1 -1
- package/src/models/operations/revokeapikey.ts +1 -1
- package/src/models/operations/syncacquire.ts +1 -1
- package/src/models/operations/synclist.ts +1 -1
- package/src/models/operations/syncreconcile.ts +1 -1
- package/src/models/operations/syncrelease.ts +1 -1
- package/src/models/operations/updateapikey.ts +1 -1
- package/src/models/operations/updatecommand.ts +1 -1
- package/src/models/operations/updatedebugsession.ts +51 -0
- package/src/models/operations/updatedeploymentenvironmentvariables.ts +1 -1
- package/src/models/operations/updatedeploymentgroup.ts +1 -1
- package/src/models/operations/updatemanager.ts +1 -1
- package/src/models/operations/updatemanagerdomainbinding.ts +1 -1
- package/src/models/operations/updateproject.ts +1 -1
- package/src/models/operations/updateprojectgcpoauthprovider.ts +1 -1
- package/src/models/operations/updateworkspace.ts +1 -1
- package/src/models/operations/updateworkspacemember.ts +1 -1
- package/src/models/operations/whoami.ts +29 -0
- package/src/models/package.ts +1 -1
- package/src/models/persistimporteddeploymentrequest.ts +884 -0
- package/src/models/prepareddeploymentstack.ts +530 -0
- package/src/models/project.ts +1 -1
- package/src/models/projectlistitemresponse.ts +1 -1
- package/src/models/resolvedstackinputsummary.ts +54 -0
- package/src/models/stackinputvaluerequest.ts +28 -0
- package/src/models/syncacquireresponse.ts +2216 -154
- package/src/models/synclistresponse.ts +666 -5
- package/src/models/syncreconcilerequest.ts +2059 -82
- package/src/models/syncreconcileresponse.ts +2978 -444
- package/src/models/updateapikeyrequest.ts +17 -0
- package/src/models/updatedebugsessionrequest.ts +40 -0
- package/src/models/updatedeploymentsetuppolicy.ts +43 -0
- package/src/models/updateproject.ts +1 -1
- package/src/sdk/auth.ts +3 -0
- package/src/sdk/debugsessions.ts +70 -0
- package/src/sdk/deployment.ts +15 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/user.ts +12 -12
|
@@ -0,0 +1,897 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import * as z from "zod/v4";
|
|
5
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
|
+
import * as models from "../index.js";
|
|
7
|
+
export const PlanDeploymentComputePlatform = {
|
|
8
|
+
Aws: "aws",
|
|
9
|
+
Gcp: "gcp",
|
|
10
|
+
Azure: "azure",
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Deployment model: how updates are delivered to the remote environment.
|
|
14
|
+
*/
|
|
15
|
+
export const PlanDeploymentComputeDeploymentModel = {
|
|
16
|
+
Push: "push",
|
|
17
|
+
Pull: "pull",
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* How heartbeat health checks are handled.
|
|
21
|
+
*/
|
|
22
|
+
export const PlanDeploymentComputeHeartbeats = {
|
|
23
|
+
Off: "off",
|
|
24
|
+
On: "on",
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Ownership model for the Kubernetes cluster.
|
|
28
|
+
*/
|
|
29
|
+
export const PlanDeploymentComputeOwnership = {
|
|
30
|
+
Managed: "managed",
|
|
31
|
+
Existing: "existing",
|
|
32
|
+
External: "external",
|
|
33
|
+
};
|
|
34
|
+
export const PlanDeploymentComputeModeCustom = {
|
|
35
|
+
Custom: "custom",
|
|
36
|
+
};
|
|
37
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4 = {
|
|
38
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
39
|
+
};
|
|
40
|
+
export const PlanDeploymentComputeProviderGkeGatewayEnum4 = {
|
|
41
|
+
GkeGateway: "gkeGateway",
|
|
42
|
+
};
|
|
43
|
+
export const PlanDeploymentComputeProviderAwsAlbEnum4 = {
|
|
44
|
+
AwsAlb: "awsAlb",
|
|
45
|
+
};
|
|
46
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3 = {
|
|
47
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
48
|
+
};
|
|
49
|
+
export const PlanDeploymentComputeProviderGkeGatewayEnum3 = {
|
|
50
|
+
GkeGateway: "gkeGateway",
|
|
51
|
+
};
|
|
52
|
+
export const PlanDeploymentComputeProviderAwsAlbEnum3 = {
|
|
53
|
+
AwsAlb: "awsAlb",
|
|
54
|
+
};
|
|
55
|
+
export const PlanDeploymentComputeModeGenerated = {
|
|
56
|
+
Generated: "generated",
|
|
57
|
+
};
|
|
58
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2 = {
|
|
59
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
60
|
+
};
|
|
61
|
+
export const PlanDeploymentComputeProviderGkeGatewayEnum2 = {
|
|
62
|
+
GkeGateway: "gkeGateway",
|
|
63
|
+
};
|
|
64
|
+
export const PlanDeploymentComputeProviderAwsAlbEnum2 = {
|
|
65
|
+
AwsAlb: "awsAlb",
|
|
66
|
+
};
|
|
67
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1 = {
|
|
68
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
69
|
+
};
|
|
70
|
+
export const PlanDeploymentComputeProviderGkeGatewayEnum1 = {
|
|
71
|
+
GkeGateway: "gkeGateway",
|
|
72
|
+
};
|
|
73
|
+
export const PlanDeploymentComputeProviderAwsAlbEnum1 = {
|
|
74
|
+
AwsAlb: "awsAlb",
|
|
75
|
+
};
|
|
76
|
+
export const PlanDeploymentComputeModeDisabled = {
|
|
77
|
+
Disabled: "disabled",
|
|
78
|
+
};
|
|
79
|
+
export const PlanDeploymentComputeTypeByoVnetAzure = {
|
|
80
|
+
ByoVnetAzure: "byo-vnet-azure",
|
|
81
|
+
};
|
|
82
|
+
export const PlanDeploymentComputeTypeByoVpcGcp = {
|
|
83
|
+
ByoVpcGcp: "byo-vpc-gcp",
|
|
84
|
+
};
|
|
85
|
+
export const PlanDeploymentComputeTypeByoVpcAws = {
|
|
86
|
+
ByoVpcAws: "byo-vpc-aws",
|
|
87
|
+
};
|
|
88
|
+
export const PlanDeploymentComputeTypeCreate = {
|
|
89
|
+
Create: "create",
|
|
90
|
+
};
|
|
91
|
+
export const PlanDeploymentComputeTypeUseDefault = {
|
|
92
|
+
UseDefault: "use-default",
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* How telemetry (logs, metrics, traces) is handled.
|
|
96
|
+
*/
|
|
97
|
+
export const PlanDeploymentComputeTelemetry = {
|
|
98
|
+
Off: "off",
|
|
99
|
+
Auto: "auto",
|
|
100
|
+
ApprovalRequired: "approval-required",
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* How updates are delivered to the deployment.
|
|
104
|
+
*/
|
|
105
|
+
export const PlanDeploymentComputeUpdates = {
|
|
106
|
+
Auto: "auto",
|
|
107
|
+
ApprovalRequired: "approval-required",
|
|
108
|
+
};
|
|
109
|
+
/** @internal */
|
|
110
|
+
export const PlanDeploymentComputePlatform$outboundSchema = z.enum(PlanDeploymentComputePlatform);
|
|
111
|
+
/** @internal */
|
|
112
|
+
export const PlanDeploymentComputePoolsAutoscale$outboundSchema = z.object({
|
|
113
|
+
mode: z.literal("autoscale"),
|
|
114
|
+
min: z.int(),
|
|
115
|
+
max: z.int(),
|
|
116
|
+
machine: z.string().optional(),
|
|
117
|
+
});
|
|
118
|
+
export function planDeploymentComputePoolsAutoscaleToJSON(planDeploymentComputePoolsAutoscale) {
|
|
119
|
+
return JSON.stringify(PlanDeploymentComputePoolsAutoscale$outboundSchema.parse(planDeploymentComputePoolsAutoscale));
|
|
120
|
+
}
|
|
121
|
+
/** @internal */
|
|
122
|
+
export const PlanDeploymentComputePoolsFixed$outboundSchema = z.object({
|
|
123
|
+
mode: z.literal("fixed"),
|
|
124
|
+
machines: z.int(),
|
|
125
|
+
machine: z.string().optional(),
|
|
126
|
+
});
|
|
127
|
+
export function planDeploymentComputePoolsFixedToJSON(planDeploymentComputePoolsFixed) {
|
|
128
|
+
return JSON.stringify(PlanDeploymentComputePoolsFixed$outboundSchema.parse(planDeploymentComputePoolsFixed));
|
|
129
|
+
}
|
|
130
|
+
/** @internal */
|
|
131
|
+
export const PlanDeploymentComputePoolsUnion$outboundSchema = z.union([
|
|
132
|
+
z.lazy(() => PlanDeploymentComputePoolsFixed$outboundSchema),
|
|
133
|
+
z.lazy(() => PlanDeploymentComputePoolsAutoscale$outboundSchema),
|
|
134
|
+
]);
|
|
135
|
+
export function planDeploymentComputePoolsUnionToJSON(planDeploymentComputePoolsUnion) {
|
|
136
|
+
return JSON.stringify(PlanDeploymentComputePoolsUnion$outboundSchema.parse(planDeploymentComputePoolsUnion));
|
|
137
|
+
}
|
|
138
|
+
/** @internal */
|
|
139
|
+
export const PlanDeploymentComputeCompute$outboundSchema = z.object({
|
|
140
|
+
pools: z.record(z.string(), z.union([
|
|
141
|
+
z.lazy(() => PlanDeploymentComputePoolsFixed$outboundSchema),
|
|
142
|
+
z.lazy(() => PlanDeploymentComputePoolsAutoscale$outboundSchema),
|
|
143
|
+
])).optional(),
|
|
144
|
+
});
|
|
145
|
+
export function planDeploymentComputeComputeToJSON(planDeploymentComputeCompute) {
|
|
146
|
+
return JSON.stringify(PlanDeploymentComputeCompute$outboundSchema.parse(planDeploymentComputeCompute));
|
|
147
|
+
}
|
|
148
|
+
/** @internal */
|
|
149
|
+
export const PlanDeploymentComputeDeploymentModel$outboundSchema = z.enum(PlanDeploymentComputeDeploymentModel);
|
|
150
|
+
/** @internal */
|
|
151
|
+
export const PlanDeploymentComputeAws$outboundSchema = z.object({
|
|
152
|
+
certificateArn: z.string(),
|
|
153
|
+
});
|
|
154
|
+
export function planDeploymentComputeAwsToJSON(planDeploymentComputeAws) {
|
|
155
|
+
return JSON.stringify(PlanDeploymentComputeAws$outboundSchema.parse(planDeploymentComputeAws));
|
|
156
|
+
}
|
|
157
|
+
/** @internal */
|
|
158
|
+
export const PlanDeploymentComputeAwsUnion$outboundSchema = z.union([z.lazy(() => PlanDeploymentComputeAws$outboundSchema), z.any()]);
|
|
159
|
+
export function planDeploymentComputeAwsUnionToJSON(planDeploymentComputeAwsUnion) {
|
|
160
|
+
return JSON.stringify(PlanDeploymentComputeAwsUnion$outboundSchema.parse(planDeploymentComputeAwsUnion));
|
|
161
|
+
}
|
|
162
|
+
/** @internal */
|
|
163
|
+
export const PlanDeploymentComputeAzure$outboundSchema = z.object({
|
|
164
|
+
keyVaultCertificateId: z.string(),
|
|
165
|
+
keyVaultResourceId: z.nullable(z.string()).optional(),
|
|
166
|
+
});
|
|
167
|
+
export function planDeploymentComputeAzureToJSON(planDeploymentComputeAzure) {
|
|
168
|
+
return JSON.stringify(PlanDeploymentComputeAzure$outboundSchema.parse(planDeploymentComputeAzure));
|
|
169
|
+
}
|
|
170
|
+
/** @internal */
|
|
171
|
+
export const PlanDeploymentComputeAzureUnion$outboundSchema = z.union([z.lazy(() => PlanDeploymentComputeAzure$outboundSchema), z.any()]);
|
|
172
|
+
export function planDeploymentComputeAzureUnionToJSON(planDeploymentComputeAzureUnion) {
|
|
173
|
+
return JSON.stringify(PlanDeploymentComputeAzureUnion$outboundSchema.parse(planDeploymentComputeAzureUnion));
|
|
174
|
+
}
|
|
175
|
+
/** @internal */
|
|
176
|
+
export const PlanDeploymentComputeGcp$outboundSchema = z.object({
|
|
177
|
+
certificateName: z.string(),
|
|
178
|
+
});
|
|
179
|
+
export function planDeploymentComputeGcpToJSON(planDeploymentComputeGcp) {
|
|
180
|
+
return JSON.stringify(PlanDeploymentComputeGcp$outboundSchema.parse(planDeploymentComputeGcp));
|
|
181
|
+
}
|
|
182
|
+
/** @internal */
|
|
183
|
+
export const PlanDeploymentComputeGcpUnion$outboundSchema = z.union([z.lazy(() => PlanDeploymentComputeGcp$outboundSchema), z.any()]);
|
|
184
|
+
export function planDeploymentComputeGcpUnionToJSON(planDeploymentComputeGcpUnion) {
|
|
185
|
+
return JSON.stringify(PlanDeploymentComputeGcpUnion$outboundSchema.parse(planDeploymentComputeGcpUnion));
|
|
186
|
+
}
|
|
187
|
+
/** @internal */
|
|
188
|
+
export const PlanDeploymentComputeTlsSecretRef$outboundSchema = z.object({
|
|
189
|
+
namespace: z.nullable(z.string()).optional(),
|
|
190
|
+
secretName: z.string(),
|
|
191
|
+
});
|
|
192
|
+
export function planDeploymentComputeTlsSecretRefToJSON(planDeploymentComputeTlsSecretRef) {
|
|
193
|
+
return JSON.stringify(PlanDeploymentComputeTlsSecretRef$outboundSchema.parse(planDeploymentComputeTlsSecretRef));
|
|
194
|
+
}
|
|
195
|
+
/** @internal */
|
|
196
|
+
export const PlanDeploymentComputeDomainsKubernetes$outboundSchema = z.object({
|
|
197
|
+
tlsSecretRef: z.lazy(() => PlanDeploymentComputeTlsSecretRef$outboundSchema),
|
|
198
|
+
});
|
|
199
|
+
export function planDeploymentComputeDomainsKubernetesToJSON(planDeploymentComputeDomainsKubernetes) {
|
|
200
|
+
return JSON.stringify(PlanDeploymentComputeDomainsKubernetes$outboundSchema.parse(planDeploymentComputeDomainsKubernetes));
|
|
201
|
+
}
|
|
202
|
+
/** @internal */
|
|
203
|
+
export const PlanDeploymentComputeDomainsKubernetesUnion$outboundSchema = z.union([
|
|
204
|
+
z.lazy(() => PlanDeploymentComputeDomainsKubernetes$outboundSchema),
|
|
205
|
+
z.any(),
|
|
206
|
+
]);
|
|
207
|
+
export function planDeploymentComputeDomainsKubernetesUnionToJSON(planDeploymentComputeDomainsKubernetesUnion) {
|
|
208
|
+
return JSON.stringify(PlanDeploymentComputeDomainsKubernetesUnion$outboundSchema.parse(planDeploymentComputeDomainsKubernetesUnion));
|
|
209
|
+
}
|
|
210
|
+
/** @internal */
|
|
211
|
+
export const PlanDeploymentComputeDomainsCertificate$outboundSchema = z.object({
|
|
212
|
+
aws: z.nullable(z.union([z.lazy(() => PlanDeploymentComputeAws$outboundSchema), z.any()])).optional(),
|
|
213
|
+
azure: z.nullable(z.union([z.lazy(() => PlanDeploymentComputeAzure$outboundSchema), z.any()])).optional(),
|
|
214
|
+
gcp: z.nullable(z.union([z.lazy(() => PlanDeploymentComputeGcp$outboundSchema), z.any()])).optional(),
|
|
215
|
+
kubernetes: z.nullable(z.union([
|
|
216
|
+
z.lazy(() => PlanDeploymentComputeDomainsKubernetes$outboundSchema),
|
|
217
|
+
z.any(),
|
|
218
|
+
])).optional(),
|
|
219
|
+
});
|
|
220
|
+
export function planDeploymentComputeDomainsCertificateToJSON(planDeploymentComputeDomainsCertificate) {
|
|
221
|
+
return JSON.stringify(PlanDeploymentComputeDomainsCertificate$outboundSchema.parse(planDeploymentComputeDomainsCertificate));
|
|
222
|
+
}
|
|
223
|
+
/** @internal */
|
|
224
|
+
export const PlanDeploymentComputeCustomDomains$outboundSchema = z.object({
|
|
225
|
+
certificate: z.lazy(() => PlanDeploymentComputeDomainsCertificate$outboundSchema),
|
|
226
|
+
domain: z.string(),
|
|
227
|
+
});
|
|
228
|
+
export function planDeploymentComputeCustomDomainsToJSON(planDeploymentComputeCustomDomains) {
|
|
229
|
+
return JSON.stringify(PlanDeploymentComputeCustomDomains$outboundSchema.parse(planDeploymentComputeCustomDomains));
|
|
230
|
+
}
|
|
231
|
+
/** @internal */
|
|
232
|
+
export const PlanDeploymentComputeDomains$outboundSchema = z.object({
|
|
233
|
+
customDomains: z.nullable(z.record(z.string(), z.lazy(() => PlanDeploymentComputeCustomDomains$outboundSchema))).optional(),
|
|
234
|
+
});
|
|
235
|
+
export function planDeploymentComputeDomainsToJSON(planDeploymentComputeDomains) {
|
|
236
|
+
return JSON.stringify(PlanDeploymentComputeDomains$outboundSchema.parse(planDeploymentComputeDomains));
|
|
237
|
+
}
|
|
238
|
+
/** @internal */
|
|
239
|
+
export const PlanDeploymentComputeDomainsUnion$outboundSchema = z.union([
|
|
240
|
+
z.lazy(() => PlanDeploymentComputeDomains$outboundSchema),
|
|
241
|
+
z.any(),
|
|
242
|
+
]);
|
|
243
|
+
export function planDeploymentComputeDomainsUnionToJSON(planDeploymentComputeDomainsUnion) {
|
|
244
|
+
return JSON.stringify(PlanDeploymentComputeDomainsUnion$outboundSchema.parse(planDeploymentComputeDomainsUnion));
|
|
245
|
+
}
|
|
246
|
+
/** @internal */
|
|
247
|
+
export const PlanDeploymentComputeExternalBindings$outboundSchema = z.object({});
|
|
248
|
+
export function planDeploymentComputeExternalBindingsToJSON(planDeploymentComputeExternalBindings) {
|
|
249
|
+
return JSON.stringify(PlanDeploymentComputeExternalBindings$outboundSchema.parse(planDeploymentComputeExternalBindings));
|
|
250
|
+
}
|
|
251
|
+
/** @internal */
|
|
252
|
+
export const PlanDeploymentComputeHeartbeats$outboundSchema = z.enum(PlanDeploymentComputeHeartbeats);
|
|
253
|
+
/** @internal */
|
|
254
|
+
export const PlanDeploymentComputeCloud$outboundSchema = z.object({
|
|
255
|
+
accountId: z.nullable(z.string()).optional(),
|
|
256
|
+
clusterId: z.nullable(z.string()).optional(),
|
|
257
|
+
clusterName: z.nullable(z.string()).optional(),
|
|
258
|
+
projectId: z.nullable(z.string()).optional(),
|
|
259
|
+
region: z.nullable(z.string()).optional(),
|
|
260
|
+
resourceGroup: z.nullable(z.string()).optional(),
|
|
261
|
+
subscriptionId: z.nullable(z.string()).optional(),
|
|
262
|
+
});
|
|
263
|
+
export function planDeploymentComputeCloudToJSON(planDeploymentComputeCloud) {
|
|
264
|
+
return JSON.stringify(PlanDeploymentComputeCloud$outboundSchema.parse(planDeploymentComputeCloud));
|
|
265
|
+
}
|
|
266
|
+
/** @internal */
|
|
267
|
+
export const PlanDeploymentComputeCloudUnion$outboundSchema = z.union([z.lazy(() => PlanDeploymentComputeCloud$outboundSchema), z.any()]);
|
|
268
|
+
export function planDeploymentComputeCloudUnionToJSON(planDeploymentComputeCloudUnion) {
|
|
269
|
+
return JSON.stringify(PlanDeploymentComputeCloudUnion$outboundSchema.parse(planDeploymentComputeCloudUnion));
|
|
270
|
+
}
|
|
271
|
+
/** @internal */
|
|
272
|
+
export const PlanDeploymentComputeOwnership$outboundSchema = z.enum(PlanDeploymentComputeOwnership);
|
|
273
|
+
/** @internal */
|
|
274
|
+
export const PlanDeploymentComputeCluster$outboundSchema = z.object({
|
|
275
|
+
cloud: z.nullable(z.union([z.lazy(() => PlanDeploymentComputeCloud$outboundSchema), z.any()])).optional(),
|
|
276
|
+
namespace: z.nullable(z.string()).optional(),
|
|
277
|
+
ownership: PlanDeploymentComputeOwnership$outboundSchema,
|
|
278
|
+
});
|
|
279
|
+
export function planDeploymentComputeClusterToJSON(planDeploymentComputeCluster) {
|
|
280
|
+
return JSON.stringify(PlanDeploymentComputeCluster$outboundSchema.parse(planDeploymentComputeCluster));
|
|
281
|
+
}
|
|
282
|
+
/** @internal */
|
|
283
|
+
export const PlanDeploymentComputeClusterUnion$outboundSchema = z.union([
|
|
284
|
+
z.lazy(() => PlanDeploymentComputeCluster$outboundSchema),
|
|
285
|
+
z.any(),
|
|
286
|
+
]);
|
|
287
|
+
export function planDeploymentComputeClusterUnionToJSON(planDeploymentComputeClusterUnion) {
|
|
288
|
+
return JSON.stringify(PlanDeploymentComputeClusterUnion$outboundSchema.parse(planDeploymentComputeClusterUnion));
|
|
289
|
+
}
|
|
290
|
+
/** @internal */
|
|
291
|
+
export const PlanDeploymentComputeCertificateNone2$outboundSchema = z.object({
|
|
292
|
+
mode: z.literal("none"),
|
|
293
|
+
});
|
|
294
|
+
export function planDeploymentComputeCertificateNone2ToJSON(planDeploymentComputeCertificateNone2) {
|
|
295
|
+
return JSON.stringify(PlanDeploymentComputeCertificateNone2$outboundSchema.parse(planDeploymentComputeCertificateNone2));
|
|
296
|
+
}
|
|
297
|
+
/** @internal */
|
|
298
|
+
export const PlanDeploymentComputeCertificateManagedTLSSecret2$outboundSchema = z.object({
|
|
299
|
+
mode: z.literal("managedTlsSecret"),
|
|
300
|
+
secretNameTemplate: z.string(),
|
|
301
|
+
});
|
|
302
|
+
export function planDeploymentComputeCertificateManagedTLSSecret2ToJSON(planDeploymentComputeCertificateManagedTLSSecret2) {
|
|
303
|
+
return JSON.stringify(PlanDeploymentComputeCertificateManagedTLSSecret2$outboundSchema.parse(planDeploymentComputeCertificateManagedTLSSecret2));
|
|
304
|
+
}
|
|
305
|
+
/** @internal */
|
|
306
|
+
export const PlanDeploymentComputeCertificateAwsAcmArn2$outboundSchema = z.object({
|
|
307
|
+
certificateArn: z.string(),
|
|
308
|
+
mode: z.literal("awsAcmArn"),
|
|
309
|
+
});
|
|
310
|
+
export function planDeploymentComputeCertificateAwsAcmArn2ToJSON(planDeploymentComputeCertificateAwsAcmArn2) {
|
|
311
|
+
return JSON.stringify(PlanDeploymentComputeCertificateAwsAcmArn2$outboundSchema.parse(planDeploymentComputeCertificateAwsAcmArn2));
|
|
312
|
+
}
|
|
313
|
+
/** @internal */
|
|
314
|
+
export const PlanDeploymentComputeCertificateManagedAcmImport2$outboundSchema = z.object({
|
|
315
|
+
mode: z.literal("managedAcmImport"),
|
|
316
|
+
region: z.nullable(z.string()).optional(),
|
|
317
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
318
|
+
});
|
|
319
|
+
export function planDeploymentComputeCertificateManagedAcmImport2ToJSON(planDeploymentComputeCertificateManagedAcmImport2) {
|
|
320
|
+
return JSON.stringify(PlanDeploymentComputeCertificateManagedAcmImport2$outboundSchema.parse(planDeploymentComputeCertificateManagedAcmImport2));
|
|
321
|
+
}
|
|
322
|
+
/** @internal */
|
|
323
|
+
export const PlanDeploymentComputeCertificateTLSSecretRef2$outboundSchema = z.object({
|
|
324
|
+
namespace: z.nullable(z.string()).optional(),
|
|
325
|
+
secretName: z.string(),
|
|
326
|
+
mode: z.literal("tlsSecretRef"),
|
|
327
|
+
});
|
|
328
|
+
export function planDeploymentComputeCertificateTLSSecretRef2ToJSON(planDeploymentComputeCertificateTLSSecretRef2) {
|
|
329
|
+
return JSON.stringify(PlanDeploymentComputeCertificateTLSSecretRef2$outboundSchema.parse(planDeploymentComputeCertificateTLSSecretRef2));
|
|
330
|
+
}
|
|
331
|
+
/** @internal */
|
|
332
|
+
export const PlanDeploymentComputeCertificateUnion2$outboundSchema = z.union([
|
|
333
|
+
z.lazy(() => PlanDeploymentComputeCertificateTLSSecretRef2$outboundSchema),
|
|
334
|
+
z.lazy(() => PlanDeploymentComputeCertificateManagedAcmImport2$outboundSchema),
|
|
335
|
+
z.lazy(() => PlanDeploymentComputeCertificateAwsAcmArn2$outboundSchema),
|
|
336
|
+
z.lazy(() => PlanDeploymentComputeCertificateManagedTLSSecret2$outboundSchema),
|
|
337
|
+
z.lazy(() => PlanDeploymentComputeCertificateNone2$outboundSchema),
|
|
338
|
+
]);
|
|
339
|
+
export function planDeploymentComputeCertificateUnion2ToJSON(planDeploymentComputeCertificateUnion2) {
|
|
340
|
+
return JSON.stringify(PlanDeploymentComputeCertificateUnion2$outboundSchema.parse(planDeploymentComputeCertificateUnion2));
|
|
341
|
+
}
|
|
342
|
+
/** @internal */
|
|
343
|
+
export const PlanDeploymentComputeModeCustom$outboundSchema = z.enum(PlanDeploymentComputeModeCustom);
|
|
344
|
+
/** @internal */
|
|
345
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4$outboundSchema = z.enum(PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4);
|
|
346
|
+
/** @internal */
|
|
347
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$outboundSchema = z.object({
|
|
348
|
+
albName: z.nullable(z.string()).optional(),
|
|
349
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
350
|
+
frontend: z.string(),
|
|
351
|
+
provider: PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum4$outboundSchema,
|
|
352
|
+
});
|
|
353
|
+
export function planDeploymentComputeProviderAzureApplicationGatewayForContainers4ToJSON(planDeploymentComputeProviderAzureApplicationGatewayForContainers4) {
|
|
354
|
+
return JSON.stringify(PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$outboundSchema
|
|
355
|
+
.parse(planDeploymentComputeProviderAzureApplicationGatewayForContainers4));
|
|
356
|
+
}
|
|
357
|
+
/** @internal */
|
|
358
|
+
export const PlanDeploymentComputeProviderGkeGatewayEnum4$outboundSchema = z.enum(PlanDeploymentComputeProviderGkeGatewayEnum4);
|
|
359
|
+
/** @internal */
|
|
360
|
+
export const PlanDeploymentComputeProviderGkeGateway4$outboundSchema = z.object({
|
|
361
|
+
provider: PlanDeploymentComputeProviderGkeGatewayEnum4$outboundSchema,
|
|
362
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
363
|
+
});
|
|
364
|
+
export function planDeploymentComputeProviderGkeGateway4ToJSON(planDeploymentComputeProviderGkeGateway4) {
|
|
365
|
+
return JSON.stringify(PlanDeploymentComputeProviderGkeGateway4$outboundSchema.parse(planDeploymentComputeProviderGkeGateway4));
|
|
366
|
+
}
|
|
367
|
+
/** @internal */
|
|
368
|
+
export const PlanDeploymentComputeProviderAwsAlbEnum4$outboundSchema = z.enum(PlanDeploymentComputeProviderAwsAlbEnum4);
|
|
369
|
+
/** @internal */
|
|
370
|
+
export const PlanDeploymentComputeProviderAwsAlb4$outboundSchema = z.object({
|
|
371
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
372
|
+
provider: PlanDeploymentComputeProviderAwsAlbEnum4$outboundSchema,
|
|
373
|
+
scheme: z.string(),
|
|
374
|
+
subnetIds: z.array(z.string()).optional(),
|
|
375
|
+
targetType: z.string(),
|
|
376
|
+
});
|
|
377
|
+
export function planDeploymentComputeProviderAwsAlb4ToJSON(planDeploymentComputeProviderAwsAlb4) {
|
|
378
|
+
return JSON.stringify(PlanDeploymentComputeProviderAwsAlb4$outboundSchema.parse(planDeploymentComputeProviderAwsAlb4));
|
|
379
|
+
}
|
|
380
|
+
/** @internal */
|
|
381
|
+
export const PlanDeploymentComputeProviderUnion4$outboundSchema = z.union([
|
|
382
|
+
z.lazy(() => PlanDeploymentComputeProviderAwsAlb4$outboundSchema),
|
|
383
|
+
z.lazy(() => PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$outboundSchema),
|
|
384
|
+
z.lazy(() => PlanDeploymentComputeProviderGkeGateway4$outboundSchema),
|
|
385
|
+
z.any(),
|
|
386
|
+
]);
|
|
387
|
+
export function planDeploymentComputeProviderUnion4ToJSON(planDeploymentComputeProviderUnion4) {
|
|
388
|
+
return JSON.stringify(PlanDeploymentComputeProviderUnion4$outboundSchema.parse(planDeploymentComputeProviderUnion4));
|
|
389
|
+
}
|
|
390
|
+
/** @internal */
|
|
391
|
+
export const PlanDeploymentComputeRouteGateway2$outboundSchema = z.object({
|
|
392
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
393
|
+
controller: z.nullable(z.string()).optional(),
|
|
394
|
+
gatewayClassName: z.string(),
|
|
395
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
396
|
+
listenerPort: z.int(),
|
|
397
|
+
provider: z.nullable(z.union([
|
|
398
|
+
z.lazy(() => PlanDeploymentComputeProviderAwsAlb4$outboundSchema),
|
|
399
|
+
z.lazy(() => PlanDeploymentComputeProviderAzureApplicationGatewayForContainers4$outboundSchema),
|
|
400
|
+
z.lazy(() => PlanDeploymentComputeProviderGkeGateway4$outboundSchema),
|
|
401
|
+
z.any(),
|
|
402
|
+
])).optional(),
|
|
403
|
+
routeApi: z.literal("gateway"),
|
|
404
|
+
});
|
|
405
|
+
export function planDeploymentComputeRouteGateway2ToJSON(planDeploymentComputeRouteGateway2) {
|
|
406
|
+
return JSON.stringify(PlanDeploymentComputeRouteGateway2$outboundSchema.parse(planDeploymentComputeRouteGateway2));
|
|
407
|
+
}
|
|
408
|
+
/** @internal */
|
|
409
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3$outboundSchema = z.enum(PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3);
|
|
410
|
+
/** @internal */
|
|
411
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$outboundSchema = z.object({
|
|
412
|
+
albName: z.nullable(z.string()).optional(),
|
|
413
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
414
|
+
frontend: z.string(),
|
|
415
|
+
provider: PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum3$outboundSchema,
|
|
416
|
+
});
|
|
417
|
+
export function planDeploymentComputeProviderAzureApplicationGatewayForContainers3ToJSON(planDeploymentComputeProviderAzureApplicationGatewayForContainers3) {
|
|
418
|
+
return JSON.stringify(PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$outboundSchema
|
|
419
|
+
.parse(planDeploymentComputeProviderAzureApplicationGatewayForContainers3));
|
|
420
|
+
}
|
|
421
|
+
/** @internal */
|
|
422
|
+
export const PlanDeploymentComputeProviderGkeGatewayEnum3$outboundSchema = z.enum(PlanDeploymentComputeProviderGkeGatewayEnum3);
|
|
423
|
+
/** @internal */
|
|
424
|
+
export const PlanDeploymentComputeProviderGkeGateway3$outboundSchema = z.object({
|
|
425
|
+
provider: PlanDeploymentComputeProviderGkeGatewayEnum3$outboundSchema,
|
|
426
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
427
|
+
});
|
|
428
|
+
export function planDeploymentComputeProviderGkeGateway3ToJSON(planDeploymentComputeProviderGkeGateway3) {
|
|
429
|
+
return JSON.stringify(PlanDeploymentComputeProviderGkeGateway3$outboundSchema.parse(planDeploymentComputeProviderGkeGateway3));
|
|
430
|
+
}
|
|
431
|
+
/** @internal */
|
|
432
|
+
export const PlanDeploymentComputeProviderAwsAlbEnum3$outboundSchema = z.enum(PlanDeploymentComputeProviderAwsAlbEnum3);
|
|
433
|
+
/** @internal */
|
|
434
|
+
export const PlanDeploymentComputeProviderAwsAlb3$outboundSchema = z.object({
|
|
435
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
436
|
+
provider: PlanDeploymentComputeProviderAwsAlbEnum3$outboundSchema,
|
|
437
|
+
scheme: z.string(),
|
|
438
|
+
subnetIds: z.array(z.string()).optional(),
|
|
439
|
+
targetType: z.string(),
|
|
440
|
+
});
|
|
441
|
+
export function planDeploymentComputeProviderAwsAlb3ToJSON(planDeploymentComputeProviderAwsAlb3) {
|
|
442
|
+
return JSON.stringify(PlanDeploymentComputeProviderAwsAlb3$outboundSchema.parse(planDeploymentComputeProviderAwsAlb3));
|
|
443
|
+
}
|
|
444
|
+
/** @internal */
|
|
445
|
+
export const PlanDeploymentComputeProviderUnion3$outboundSchema = z.union([
|
|
446
|
+
z.lazy(() => PlanDeploymentComputeProviderAwsAlb3$outboundSchema),
|
|
447
|
+
z.lazy(() => PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$outboundSchema),
|
|
448
|
+
z.lazy(() => PlanDeploymentComputeProviderGkeGateway3$outboundSchema),
|
|
449
|
+
z.any(),
|
|
450
|
+
]);
|
|
451
|
+
export function planDeploymentComputeProviderUnion3ToJSON(planDeploymentComputeProviderUnion3) {
|
|
452
|
+
return JSON.stringify(PlanDeploymentComputeProviderUnion3$outboundSchema.parse(planDeploymentComputeProviderUnion3));
|
|
453
|
+
}
|
|
454
|
+
/** @internal */
|
|
455
|
+
export const PlanDeploymentComputeRouteIngress2$outboundSchema = z.object({
|
|
456
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
457
|
+
controller: z.nullable(z.string()).optional(),
|
|
458
|
+
ingressClassName: z.string(),
|
|
459
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
460
|
+
provider: z.nullable(z.union([
|
|
461
|
+
z.lazy(() => PlanDeploymentComputeProviderAwsAlb3$outboundSchema),
|
|
462
|
+
z.lazy(() => PlanDeploymentComputeProviderAzureApplicationGatewayForContainers3$outboundSchema),
|
|
463
|
+
z.lazy(() => PlanDeploymentComputeProviderGkeGateway3$outboundSchema),
|
|
464
|
+
z.any(),
|
|
465
|
+
])).optional(),
|
|
466
|
+
routeApi: z.literal("ingress"),
|
|
467
|
+
});
|
|
468
|
+
export function planDeploymentComputeRouteIngress2ToJSON(planDeploymentComputeRouteIngress2) {
|
|
469
|
+
return JSON.stringify(PlanDeploymentComputeRouteIngress2$outboundSchema.parse(planDeploymentComputeRouteIngress2));
|
|
470
|
+
}
|
|
471
|
+
/** @internal */
|
|
472
|
+
export const PlanDeploymentComputeRouteUnion2$outboundSchema = z.union([
|
|
473
|
+
z.lazy(() => PlanDeploymentComputeRouteIngress2$outboundSchema),
|
|
474
|
+
z.lazy(() => PlanDeploymentComputeRouteGateway2$outboundSchema),
|
|
475
|
+
]);
|
|
476
|
+
export function planDeploymentComputeRouteUnion2ToJSON(planDeploymentComputeRouteUnion2) {
|
|
477
|
+
return JSON.stringify(PlanDeploymentComputeRouteUnion2$outboundSchema.parse(planDeploymentComputeRouteUnion2));
|
|
478
|
+
}
|
|
479
|
+
/** @internal */
|
|
480
|
+
export const PlanDeploymentComputeExposureCustom$outboundSchema = z.object({
|
|
481
|
+
certificate: z.union([
|
|
482
|
+
z.lazy(() => PlanDeploymentComputeCertificateTLSSecretRef2$outboundSchema),
|
|
483
|
+
z.lazy(() => PlanDeploymentComputeCertificateManagedAcmImport2$outboundSchema),
|
|
484
|
+
z.lazy(() => PlanDeploymentComputeCertificateAwsAcmArn2$outboundSchema),
|
|
485
|
+
z.lazy(() => PlanDeploymentComputeCertificateManagedTLSSecret2$outboundSchema),
|
|
486
|
+
z.lazy(() => PlanDeploymentComputeCertificateNone2$outboundSchema),
|
|
487
|
+
]),
|
|
488
|
+
domain: z.string(),
|
|
489
|
+
mode: PlanDeploymentComputeModeCustom$outboundSchema,
|
|
490
|
+
route: z.union([
|
|
491
|
+
z.lazy(() => PlanDeploymentComputeRouteIngress2$outboundSchema),
|
|
492
|
+
z.lazy(() => PlanDeploymentComputeRouteGateway2$outboundSchema),
|
|
493
|
+
]),
|
|
494
|
+
});
|
|
495
|
+
export function planDeploymentComputeExposureCustomToJSON(planDeploymentComputeExposureCustom) {
|
|
496
|
+
return JSON.stringify(PlanDeploymentComputeExposureCustom$outboundSchema.parse(planDeploymentComputeExposureCustom));
|
|
497
|
+
}
|
|
498
|
+
/** @internal */
|
|
499
|
+
export const PlanDeploymentComputeCertificateNone1$outboundSchema = z.object({
|
|
500
|
+
mode: z.literal("none"),
|
|
501
|
+
});
|
|
502
|
+
export function planDeploymentComputeCertificateNone1ToJSON(planDeploymentComputeCertificateNone1) {
|
|
503
|
+
return JSON.stringify(PlanDeploymentComputeCertificateNone1$outboundSchema.parse(planDeploymentComputeCertificateNone1));
|
|
504
|
+
}
|
|
505
|
+
/** @internal */
|
|
506
|
+
export const PlanDeploymentComputeCertificateManagedTLSSecret1$outboundSchema = z.object({
|
|
507
|
+
mode: z.literal("managedTlsSecret"),
|
|
508
|
+
secretNameTemplate: z.string(),
|
|
509
|
+
});
|
|
510
|
+
export function planDeploymentComputeCertificateManagedTLSSecret1ToJSON(planDeploymentComputeCertificateManagedTLSSecret1) {
|
|
511
|
+
return JSON.stringify(PlanDeploymentComputeCertificateManagedTLSSecret1$outboundSchema.parse(planDeploymentComputeCertificateManagedTLSSecret1));
|
|
512
|
+
}
|
|
513
|
+
/** @internal */
|
|
514
|
+
export const PlanDeploymentComputeCertificateAwsAcmArn1$outboundSchema = z.object({
|
|
515
|
+
certificateArn: z.string(),
|
|
516
|
+
mode: z.literal("awsAcmArn"),
|
|
517
|
+
});
|
|
518
|
+
export function planDeploymentComputeCertificateAwsAcmArn1ToJSON(planDeploymentComputeCertificateAwsAcmArn1) {
|
|
519
|
+
return JSON.stringify(PlanDeploymentComputeCertificateAwsAcmArn1$outboundSchema.parse(planDeploymentComputeCertificateAwsAcmArn1));
|
|
520
|
+
}
|
|
521
|
+
/** @internal */
|
|
522
|
+
export const PlanDeploymentComputeCertificateManagedAcmImport1$outboundSchema = z.object({
|
|
523
|
+
mode: z.literal("managedAcmImport"),
|
|
524
|
+
region: z.nullable(z.string()).optional(),
|
|
525
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
526
|
+
});
|
|
527
|
+
export function planDeploymentComputeCertificateManagedAcmImport1ToJSON(planDeploymentComputeCertificateManagedAcmImport1) {
|
|
528
|
+
return JSON.stringify(PlanDeploymentComputeCertificateManagedAcmImport1$outboundSchema.parse(planDeploymentComputeCertificateManagedAcmImport1));
|
|
529
|
+
}
|
|
530
|
+
/** @internal */
|
|
531
|
+
export const PlanDeploymentComputeCertificateTLSSecretRef1$outboundSchema = z.object({
|
|
532
|
+
namespace: z.nullable(z.string()).optional(),
|
|
533
|
+
secretName: z.string(),
|
|
534
|
+
mode: z.literal("tlsSecretRef"),
|
|
535
|
+
});
|
|
536
|
+
export function planDeploymentComputeCertificateTLSSecretRef1ToJSON(planDeploymentComputeCertificateTLSSecretRef1) {
|
|
537
|
+
return JSON.stringify(PlanDeploymentComputeCertificateTLSSecretRef1$outboundSchema.parse(planDeploymentComputeCertificateTLSSecretRef1));
|
|
538
|
+
}
|
|
539
|
+
/** @internal */
|
|
540
|
+
export const PlanDeploymentComputeCertificateUnion1$outboundSchema = z.union([
|
|
541
|
+
z.lazy(() => PlanDeploymentComputeCertificateTLSSecretRef1$outboundSchema),
|
|
542
|
+
z.lazy(() => PlanDeploymentComputeCertificateManagedAcmImport1$outboundSchema),
|
|
543
|
+
z.lazy(() => PlanDeploymentComputeCertificateAwsAcmArn1$outboundSchema),
|
|
544
|
+
z.lazy(() => PlanDeploymentComputeCertificateManagedTLSSecret1$outboundSchema),
|
|
545
|
+
z.lazy(() => PlanDeploymentComputeCertificateNone1$outboundSchema),
|
|
546
|
+
]);
|
|
547
|
+
export function planDeploymentComputeCertificateUnion1ToJSON(planDeploymentComputeCertificateUnion1) {
|
|
548
|
+
return JSON.stringify(PlanDeploymentComputeCertificateUnion1$outboundSchema.parse(planDeploymentComputeCertificateUnion1));
|
|
549
|
+
}
|
|
550
|
+
/** @internal */
|
|
551
|
+
export const PlanDeploymentComputeModeGenerated$outboundSchema = z.enum(PlanDeploymentComputeModeGenerated);
|
|
552
|
+
/** @internal */
|
|
553
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2$outboundSchema = z.enum(PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2);
|
|
554
|
+
/** @internal */
|
|
555
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$outboundSchema = z.object({
|
|
556
|
+
albName: z.nullable(z.string()).optional(),
|
|
557
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
558
|
+
frontend: z.string(),
|
|
559
|
+
provider: PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum2$outboundSchema,
|
|
560
|
+
});
|
|
561
|
+
export function planDeploymentComputeProviderAzureApplicationGatewayForContainers2ToJSON(planDeploymentComputeProviderAzureApplicationGatewayForContainers2) {
|
|
562
|
+
return JSON.stringify(PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$outboundSchema
|
|
563
|
+
.parse(planDeploymentComputeProviderAzureApplicationGatewayForContainers2));
|
|
564
|
+
}
|
|
565
|
+
/** @internal */
|
|
566
|
+
export const PlanDeploymentComputeProviderGkeGatewayEnum2$outboundSchema = z.enum(PlanDeploymentComputeProviderGkeGatewayEnum2);
|
|
567
|
+
/** @internal */
|
|
568
|
+
export const PlanDeploymentComputeProviderGkeGateway2$outboundSchema = z.object({
|
|
569
|
+
provider: PlanDeploymentComputeProviderGkeGatewayEnum2$outboundSchema,
|
|
570
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
571
|
+
});
|
|
572
|
+
export function planDeploymentComputeProviderGkeGateway2ToJSON(planDeploymentComputeProviderGkeGateway2) {
|
|
573
|
+
return JSON.stringify(PlanDeploymentComputeProviderGkeGateway2$outboundSchema.parse(planDeploymentComputeProviderGkeGateway2));
|
|
574
|
+
}
|
|
575
|
+
/** @internal */
|
|
576
|
+
export const PlanDeploymentComputeProviderAwsAlbEnum2$outboundSchema = z.enum(PlanDeploymentComputeProviderAwsAlbEnum2);
|
|
577
|
+
/** @internal */
|
|
578
|
+
export const PlanDeploymentComputeProviderAwsAlb2$outboundSchema = z.object({
|
|
579
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
580
|
+
provider: PlanDeploymentComputeProviderAwsAlbEnum2$outboundSchema,
|
|
581
|
+
scheme: z.string(),
|
|
582
|
+
subnetIds: z.array(z.string()).optional(),
|
|
583
|
+
targetType: z.string(),
|
|
584
|
+
});
|
|
585
|
+
export function planDeploymentComputeProviderAwsAlb2ToJSON(planDeploymentComputeProviderAwsAlb2) {
|
|
586
|
+
return JSON.stringify(PlanDeploymentComputeProviderAwsAlb2$outboundSchema.parse(planDeploymentComputeProviderAwsAlb2));
|
|
587
|
+
}
|
|
588
|
+
/** @internal */
|
|
589
|
+
export const PlanDeploymentComputeProviderUnion2$outboundSchema = z.union([
|
|
590
|
+
z.lazy(() => PlanDeploymentComputeProviderAwsAlb2$outboundSchema),
|
|
591
|
+
z.lazy(() => PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$outboundSchema),
|
|
592
|
+
z.lazy(() => PlanDeploymentComputeProviderGkeGateway2$outboundSchema),
|
|
593
|
+
z.any(),
|
|
594
|
+
]);
|
|
595
|
+
export function planDeploymentComputeProviderUnion2ToJSON(planDeploymentComputeProviderUnion2) {
|
|
596
|
+
return JSON.stringify(PlanDeploymentComputeProviderUnion2$outboundSchema.parse(planDeploymentComputeProviderUnion2));
|
|
597
|
+
}
|
|
598
|
+
/** @internal */
|
|
599
|
+
export const PlanDeploymentComputeRouteGateway1$outboundSchema = z.object({
|
|
600
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
601
|
+
controller: z.nullable(z.string()).optional(),
|
|
602
|
+
gatewayClassName: z.string(),
|
|
603
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
604
|
+
listenerPort: z.int(),
|
|
605
|
+
provider: z.nullable(z.union([
|
|
606
|
+
z.lazy(() => PlanDeploymentComputeProviderAwsAlb2$outboundSchema),
|
|
607
|
+
z.lazy(() => PlanDeploymentComputeProviderAzureApplicationGatewayForContainers2$outboundSchema),
|
|
608
|
+
z.lazy(() => PlanDeploymentComputeProviderGkeGateway2$outboundSchema),
|
|
609
|
+
z.any(),
|
|
610
|
+
])).optional(),
|
|
611
|
+
routeApi: z.literal("gateway"),
|
|
612
|
+
});
|
|
613
|
+
export function planDeploymentComputeRouteGateway1ToJSON(planDeploymentComputeRouteGateway1) {
|
|
614
|
+
return JSON.stringify(PlanDeploymentComputeRouteGateway1$outboundSchema.parse(planDeploymentComputeRouteGateway1));
|
|
615
|
+
}
|
|
616
|
+
/** @internal */
|
|
617
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1$outboundSchema = z.enum(PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1);
|
|
618
|
+
/** @internal */
|
|
619
|
+
export const PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$outboundSchema = z.object({
|
|
620
|
+
albName: z.nullable(z.string()).optional(),
|
|
621
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
622
|
+
frontend: z.string(),
|
|
623
|
+
provider: PlanDeploymentComputeProviderAzureApplicationGatewayForContainersEnum1$outboundSchema,
|
|
624
|
+
});
|
|
625
|
+
export function planDeploymentComputeProviderAzureApplicationGatewayForContainers1ToJSON(planDeploymentComputeProviderAzureApplicationGatewayForContainers1) {
|
|
626
|
+
return JSON.stringify(PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$outboundSchema
|
|
627
|
+
.parse(planDeploymentComputeProviderAzureApplicationGatewayForContainers1));
|
|
628
|
+
}
|
|
629
|
+
/** @internal */
|
|
630
|
+
export const PlanDeploymentComputeProviderGkeGatewayEnum1$outboundSchema = z.enum(PlanDeploymentComputeProviderGkeGatewayEnum1);
|
|
631
|
+
/** @internal */
|
|
632
|
+
export const PlanDeploymentComputeProviderGkeGateway1$outboundSchema = z.object({
|
|
633
|
+
provider: PlanDeploymentComputeProviderGkeGatewayEnum1$outboundSchema,
|
|
634
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
635
|
+
});
|
|
636
|
+
export function planDeploymentComputeProviderGkeGateway1ToJSON(planDeploymentComputeProviderGkeGateway1) {
|
|
637
|
+
return JSON.stringify(PlanDeploymentComputeProviderGkeGateway1$outboundSchema.parse(planDeploymentComputeProviderGkeGateway1));
|
|
638
|
+
}
|
|
639
|
+
/** @internal */
|
|
640
|
+
export const PlanDeploymentComputeProviderAwsAlbEnum1$outboundSchema = z.enum(PlanDeploymentComputeProviderAwsAlbEnum1);
|
|
641
|
+
/** @internal */
|
|
642
|
+
export const PlanDeploymentComputeProviderAwsAlb1$outboundSchema = z.object({
|
|
643
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
644
|
+
provider: PlanDeploymentComputeProviderAwsAlbEnum1$outboundSchema,
|
|
645
|
+
scheme: z.string(),
|
|
646
|
+
subnetIds: z.array(z.string()).optional(),
|
|
647
|
+
targetType: z.string(),
|
|
648
|
+
});
|
|
649
|
+
export function planDeploymentComputeProviderAwsAlb1ToJSON(planDeploymentComputeProviderAwsAlb1) {
|
|
650
|
+
return JSON.stringify(PlanDeploymentComputeProviderAwsAlb1$outboundSchema.parse(planDeploymentComputeProviderAwsAlb1));
|
|
651
|
+
}
|
|
652
|
+
/** @internal */
|
|
653
|
+
export const PlanDeploymentComputeProviderUnion1$outboundSchema = z.union([
|
|
654
|
+
z.lazy(() => PlanDeploymentComputeProviderAwsAlb1$outboundSchema),
|
|
655
|
+
z.lazy(() => PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$outboundSchema),
|
|
656
|
+
z.lazy(() => PlanDeploymentComputeProviderGkeGateway1$outboundSchema),
|
|
657
|
+
z.any(),
|
|
658
|
+
]);
|
|
659
|
+
export function planDeploymentComputeProviderUnion1ToJSON(planDeploymentComputeProviderUnion1) {
|
|
660
|
+
return JSON.stringify(PlanDeploymentComputeProviderUnion1$outboundSchema.parse(planDeploymentComputeProviderUnion1));
|
|
661
|
+
}
|
|
662
|
+
/** @internal */
|
|
663
|
+
export const PlanDeploymentComputeRouteIngress1$outboundSchema = z.object({
|
|
664
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
665
|
+
controller: z.nullable(z.string()).optional(),
|
|
666
|
+
ingressClassName: z.string(),
|
|
667
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
668
|
+
provider: z.nullable(z.union([
|
|
669
|
+
z.lazy(() => PlanDeploymentComputeProviderAwsAlb1$outboundSchema),
|
|
670
|
+
z.lazy(() => PlanDeploymentComputeProviderAzureApplicationGatewayForContainers1$outboundSchema),
|
|
671
|
+
z.lazy(() => PlanDeploymentComputeProviderGkeGateway1$outboundSchema),
|
|
672
|
+
z.any(),
|
|
673
|
+
])).optional(),
|
|
674
|
+
routeApi: z.literal("ingress"),
|
|
675
|
+
});
|
|
676
|
+
export function planDeploymentComputeRouteIngress1ToJSON(planDeploymentComputeRouteIngress1) {
|
|
677
|
+
return JSON.stringify(PlanDeploymentComputeRouteIngress1$outboundSchema.parse(planDeploymentComputeRouteIngress1));
|
|
678
|
+
}
|
|
679
|
+
/** @internal */
|
|
680
|
+
export const PlanDeploymentComputeRouteUnion1$outboundSchema = z.union([
|
|
681
|
+
z.lazy(() => PlanDeploymentComputeRouteIngress1$outboundSchema),
|
|
682
|
+
z.lazy(() => PlanDeploymentComputeRouteGateway1$outboundSchema),
|
|
683
|
+
]);
|
|
684
|
+
export function planDeploymentComputeRouteUnion1ToJSON(planDeploymentComputeRouteUnion1) {
|
|
685
|
+
return JSON.stringify(PlanDeploymentComputeRouteUnion1$outboundSchema.parse(planDeploymentComputeRouteUnion1));
|
|
686
|
+
}
|
|
687
|
+
/** @internal */
|
|
688
|
+
export const PlanDeploymentComputeExposureGenerated$outboundSchema = z.object({
|
|
689
|
+
certificate: z.union([
|
|
690
|
+
z.lazy(() => PlanDeploymentComputeCertificateTLSSecretRef1$outboundSchema),
|
|
691
|
+
z.lazy(() => PlanDeploymentComputeCertificateManagedAcmImport1$outboundSchema),
|
|
692
|
+
z.lazy(() => PlanDeploymentComputeCertificateAwsAcmArn1$outboundSchema),
|
|
693
|
+
z.lazy(() => PlanDeploymentComputeCertificateManagedTLSSecret1$outboundSchema),
|
|
694
|
+
z.lazy(() => PlanDeploymentComputeCertificateNone1$outboundSchema),
|
|
695
|
+
]),
|
|
696
|
+
mode: PlanDeploymentComputeModeGenerated$outboundSchema,
|
|
697
|
+
route: z.union([
|
|
698
|
+
z.lazy(() => PlanDeploymentComputeRouteIngress1$outboundSchema),
|
|
699
|
+
z.lazy(() => PlanDeploymentComputeRouteGateway1$outboundSchema),
|
|
700
|
+
]),
|
|
701
|
+
});
|
|
702
|
+
export function planDeploymentComputeExposureGeneratedToJSON(planDeploymentComputeExposureGenerated) {
|
|
703
|
+
return JSON.stringify(PlanDeploymentComputeExposureGenerated$outboundSchema.parse(planDeploymentComputeExposureGenerated));
|
|
704
|
+
}
|
|
705
|
+
/** @internal */
|
|
706
|
+
export const PlanDeploymentComputeModeDisabled$outboundSchema = z.enum(PlanDeploymentComputeModeDisabled);
|
|
707
|
+
/** @internal */
|
|
708
|
+
export const PlanDeploymentComputeExposureDisabled$outboundSchema = z.object({
|
|
709
|
+
mode: PlanDeploymentComputeModeDisabled$outboundSchema,
|
|
710
|
+
});
|
|
711
|
+
export function planDeploymentComputeExposureDisabledToJSON(planDeploymentComputeExposureDisabled) {
|
|
712
|
+
return JSON.stringify(PlanDeploymentComputeExposureDisabled$outboundSchema.parse(planDeploymentComputeExposureDisabled));
|
|
713
|
+
}
|
|
714
|
+
/** @internal */
|
|
715
|
+
export const PlanDeploymentComputeExposureUnion$outboundSchema = z.union([
|
|
716
|
+
z.lazy(() => PlanDeploymentComputeExposureCustom$outboundSchema),
|
|
717
|
+
z.lazy(() => PlanDeploymentComputeExposureGenerated$outboundSchema),
|
|
718
|
+
z.lazy(() => PlanDeploymentComputeExposureDisabled$outboundSchema),
|
|
719
|
+
z.any(),
|
|
720
|
+
]);
|
|
721
|
+
export function planDeploymentComputeExposureUnionToJSON(planDeploymentComputeExposureUnion) {
|
|
722
|
+
return JSON.stringify(PlanDeploymentComputeExposureUnion$outboundSchema.parse(planDeploymentComputeExposureUnion));
|
|
723
|
+
}
|
|
724
|
+
/** @internal */
|
|
725
|
+
export const PlanDeploymentComputeKubernetes$outboundSchema = z.object({
|
|
726
|
+
cluster: z.nullable(z.union([
|
|
727
|
+
z.lazy(() => PlanDeploymentComputeCluster$outboundSchema),
|
|
728
|
+
z.any(),
|
|
729
|
+
])).optional(),
|
|
730
|
+
exposure: z.nullable(z.union([
|
|
731
|
+
z.lazy(() => PlanDeploymentComputeExposureCustom$outboundSchema),
|
|
732
|
+
z.lazy(() => PlanDeploymentComputeExposureGenerated$outboundSchema),
|
|
733
|
+
z.lazy(() => PlanDeploymentComputeExposureDisabled$outboundSchema),
|
|
734
|
+
z.any(),
|
|
735
|
+
])).optional(),
|
|
736
|
+
});
|
|
737
|
+
export function planDeploymentComputeKubernetesToJSON(planDeploymentComputeKubernetes) {
|
|
738
|
+
return JSON.stringify(PlanDeploymentComputeKubernetes$outboundSchema.parse(planDeploymentComputeKubernetes));
|
|
739
|
+
}
|
|
740
|
+
/** @internal */
|
|
741
|
+
export const PlanDeploymentComputeKubernetesUnion$outboundSchema = z.union([
|
|
742
|
+
z.lazy(() => PlanDeploymentComputeKubernetes$outboundSchema),
|
|
743
|
+
z.any(),
|
|
744
|
+
]);
|
|
745
|
+
export function planDeploymentComputeKubernetesUnionToJSON(planDeploymentComputeKubernetesUnion) {
|
|
746
|
+
return JSON.stringify(PlanDeploymentComputeKubernetesUnion$outboundSchema.parse(planDeploymentComputeKubernetesUnion));
|
|
747
|
+
}
|
|
748
|
+
/** @internal */
|
|
749
|
+
export const PlanDeploymentComputeTypeByoVnetAzure$outboundSchema = z.enum(PlanDeploymentComputeTypeByoVnetAzure);
|
|
750
|
+
/** @internal */
|
|
751
|
+
export const PlanDeploymentComputeNetworkByoVnetAzure$outboundSchema = z.object({
|
|
752
|
+
applicationGatewaySubnetName: z.nullable(z.string()).optional(),
|
|
753
|
+
privateSubnetName: z.string(),
|
|
754
|
+
publicSubnetName: z.string(),
|
|
755
|
+
type: PlanDeploymentComputeTypeByoVnetAzure$outboundSchema,
|
|
756
|
+
vnetResourceId: z.string(),
|
|
757
|
+
}).transform((v) => {
|
|
758
|
+
return remap$(v, {
|
|
759
|
+
applicationGatewaySubnetName: "application_gateway_subnet_name",
|
|
760
|
+
privateSubnetName: "private_subnet_name",
|
|
761
|
+
publicSubnetName: "public_subnet_name",
|
|
762
|
+
vnetResourceId: "vnet_resource_id",
|
|
763
|
+
});
|
|
764
|
+
});
|
|
765
|
+
export function planDeploymentComputeNetworkByoVnetAzureToJSON(planDeploymentComputeNetworkByoVnetAzure) {
|
|
766
|
+
return JSON.stringify(PlanDeploymentComputeNetworkByoVnetAzure$outboundSchema.parse(planDeploymentComputeNetworkByoVnetAzure));
|
|
767
|
+
}
|
|
768
|
+
/** @internal */
|
|
769
|
+
export const PlanDeploymentComputeTypeByoVpcGcp$outboundSchema = z.enum(PlanDeploymentComputeTypeByoVpcGcp);
|
|
770
|
+
/** @internal */
|
|
771
|
+
export const PlanDeploymentComputeNetworkByoVpcGcp$outboundSchema = z.object({
|
|
772
|
+
networkName: z.string(),
|
|
773
|
+
region: z.string(),
|
|
774
|
+
subnetName: z.string(),
|
|
775
|
+
type: PlanDeploymentComputeTypeByoVpcGcp$outboundSchema,
|
|
776
|
+
}).transform((v) => {
|
|
777
|
+
return remap$(v, {
|
|
778
|
+
networkName: "network_name",
|
|
779
|
+
subnetName: "subnet_name",
|
|
780
|
+
});
|
|
781
|
+
});
|
|
782
|
+
export function planDeploymentComputeNetworkByoVpcGcpToJSON(planDeploymentComputeNetworkByoVpcGcp) {
|
|
783
|
+
return JSON.stringify(PlanDeploymentComputeNetworkByoVpcGcp$outboundSchema.parse(planDeploymentComputeNetworkByoVpcGcp));
|
|
784
|
+
}
|
|
785
|
+
/** @internal */
|
|
786
|
+
export const PlanDeploymentComputeTypeByoVpcAws$outboundSchema = z.enum(PlanDeploymentComputeTypeByoVpcAws);
|
|
787
|
+
/** @internal */
|
|
788
|
+
export const PlanDeploymentComputeNetworkByoVpcAws$outboundSchema = z.object({
|
|
789
|
+
privateSubnetIds: z.array(z.string()),
|
|
790
|
+
publicSubnetIds: z.array(z.string()),
|
|
791
|
+
securityGroupIds: z.array(z.string()).optional(),
|
|
792
|
+
type: PlanDeploymentComputeTypeByoVpcAws$outboundSchema,
|
|
793
|
+
vpcId: z.string(),
|
|
794
|
+
}).transform((v) => {
|
|
795
|
+
return remap$(v, {
|
|
796
|
+
privateSubnetIds: "private_subnet_ids",
|
|
797
|
+
publicSubnetIds: "public_subnet_ids",
|
|
798
|
+
securityGroupIds: "security_group_ids",
|
|
799
|
+
vpcId: "vpc_id",
|
|
800
|
+
});
|
|
801
|
+
});
|
|
802
|
+
export function planDeploymentComputeNetworkByoVpcAwsToJSON(planDeploymentComputeNetworkByoVpcAws) {
|
|
803
|
+
return JSON.stringify(PlanDeploymentComputeNetworkByoVpcAws$outboundSchema.parse(planDeploymentComputeNetworkByoVpcAws));
|
|
804
|
+
}
|
|
805
|
+
/** @internal */
|
|
806
|
+
export const PlanDeploymentComputeTypeCreate$outboundSchema = z.enum(PlanDeploymentComputeTypeCreate);
|
|
807
|
+
/** @internal */
|
|
808
|
+
export const PlanDeploymentComputeNetworkCreate$outboundSchema = z.object({
|
|
809
|
+
availabilityZones: z.int().optional(),
|
|
810
|
+
cidr: z.nullable(z.string()).optional(),
|
|
811
|
+
type: PlanDeploymentComputeTypeCreate$outboundSchema,
|
|
812
|
+
}).transform((v) => {
|
|
813
|
+
return remap$(v, {
|
|
814
|
+
availabilityZones: "availability_zones",
|
|
815
|
+
});
|
|
816
|
+
});
|
|
817
|
+
export function planDeploymentComputeNetworkCreateToJSON(planDeploymentComputeNetworkCreate) {
|
|
818
|
+
return JSON.stringify(PlanDeploymentComputeNetworkCreate$outboundSchema.parse(planDeploymentComputeNetworkCreate));
|
|
819
|
+
}
|
|
820
|
+
/** @internal */
|
|
821
|
+
export const PlanDeploymentComputeTypeUseDefault$outboundSchema = z.enum(PlanDeploymentComputeTypeUseDefault);
|
|
822
|
+
/** @internal */
|
|
823
|
+
export const PlanDeploymentComputeNetworkUseDefault$outboundSchema = z.object({
|
|
824
|
+
type: PlanDeploymentComputeTypeUseDefault$outboundSchema,
|
|
825
|
+
});
|
|
826
|
+
export function planDeploymentComputeNetworkUseDefaultToJSON(planDeploymentComputeNetworkUseDefault) {
|
|
827
|
+
return JSON.stringify(PlanDeploymentComputeNetworkUseDefault$outboundSchema.parse(planDeploymentComputeNetworkUseDefault));
|
|
828
|
+
}
|
|
829
|
+
/** @internal */
|
|
830
|
+
export const PlanDeploymentComputeNetworkUnion$outboundSchema = z.union([
|
|
831
|
+
z.lazy(() => PlanDeploymentComputeNetworkByoVpcAws$outboundSchema),
|
|
832
|
+
z.lazy(() => PlanDeploymentComputeNetworkByoVpcGcp$outboundSchema),
|
|
833
|
+
z.lazy(() => PlanDeploymentComputeNetworkByoVnetAzure$outboundSchema),
|
|
834
|
+
z.lazy(() => PlanDeploymentComputeNetworkUseDefault$outboundSchema),
|
|
835
|
+
z.lazy(() => PlanDeploymentComputeNetworkCreate$outboundSchema),
|
|
836
|
+
z.any(),
|
|
837
|
+
]);
|
|
838
|
+
export function planDeploymentComputeNetworkUnionToJSON(planDeploymentComputeNetworkUnion) {
|
|
839
|
+
return JSON.stringify(PlanDeploymentComputeNetworkUnion$outboundSchema.parse(planDeploymentComputeNetworkUnion));
|
|
840
|
+
}
|
|
841
|
+
/** @internal */
|
|
842
|
+
export const PlanDeploymentComputeTelemetry$outboundSchema = z.enum(PlanDeploymentComputeTelemetry);
|
|
843
|
+
/** @internal */
|
|
844
|
+
export const PlanDeploymentComputeUpdates$outboundSchema = z.enum(PlanDeploymentComputeUpdates);
|
|
845
|
+
/** @internal */
|
|
846
|
+
export const PlanDeploymentComputeStackSettings$outboundSchema = z.object({
|
|
847
|
+
compute: z.lazy(() => PlanDeploymentComputeCompute$outboundSchema).optional(),
|
|
848
|
+
deploymentModel: PlanDeploymentComputeDeploymentModel$outboundSchema
|
|
849
|
+
.optional(),
|
|
850
|
+
domains: z.nullable(z.union([
|
|
851
|
+
z.lazy(() => PlanDeploymentComputeDomains$outboundSchema),
|
|
852
|
+
z.any(),
|
|
853
|
+
])).optional(),
|
|
854
|
+
externalBindings: z.nullable(z.lazy(() => PlanDeploymentComputeExternalBindings$outboundSchema)).optional(),
|
|
855
|
+
heartbeats: PlanDeploymentComputeHeartbeats$outboundSchema.optional(),
|
|
856
|
+
kubernetes: z.nullable(z.union([
|
|
857
|
+
z.lazy(() => PlanDeploymentComputeKubernetes$outboundSchema),
|
|
858
|
+
z.any(),
|
|
859
|
+
])).optional(),
|
|
860
|
+
network: z.nullable(z.union([
|
|
861
|
+
z.lazy(() => PlanDeploymentComputeNetworkByoVpcAws$outboundSchema),
|
|
862
|
+
z.lazy(() => PlanDeploymentComputeNetworkByoVpcGcp$outboundSchema),
|
|
863
|
+
z.lazy(() => PlanDeploymentComputeNetworkByoVnetAzure$outboundSchema),
|
|
864
|
+
z.lazy(() => PlanDeploymentComputeNetworkUseDefault$outboundSchema),
|
|
865
|
+
z.lazy(() => PlanDeploymentComputeNetworkCreate$outboundSchema),
|
|
866
|
+
z.any(),
|
|
867
|
+
])).optional(),
|
|
868
|
+
telemetry: PlanDeploymentComputeTelemetry$outboundSchema.optional(),
|
|
869
|
+
updates: PlanDeploymentComputeUpdates$outboundSchema.optional(),
|
|
870
|
+
});
|
|
871
|
+
export function planDeploymentComputeStackSettingsToJSON(planDeploymentComputeStackSettings) {
|
|
872
|
+
return JSON.stringify(PlanDeploymentComputeStackSettings$outboundSchema.parse(planDeploymentComputeStackSettings));
|
|
873
|
+
}
|
|
874
|
+
/** @internal */
|
|
875
|
+
export const PlanDeploymentComputeRequestBody$outboundSchema = z.object({
|
|
876
|
+
platform: PlanDeploymentComputePlatform$outboundSchema,
|
|
877
|
+
setupMethod: models.DeploymentSetupMethod$outboundSchema,
|
|
878
|
+
region: z.string().optional(),
|
|
879
|
+
stackSettings: z.lazy(() => PlanDeploymentComputeStackSettings$outboundSchema),
|
|
880
|
+
});
|
|
881
|
+
export function planDeploymentComputeRequestBodyToJSON(planDeploymentComputeRequestBody) {
|
|
882
|
+
return JSON.stringify(PlanDeploymentComputeRequestBody$outboundSchema.parse(planDeploymentComputeRequestBody));
|
|
883
|
+
}
|
|
884
|
+
/** @internal */
|
|
885
|
+
export const PlanDeploymentComputeRequest$outboundSchema = z.object({
|
|
886
|
+
workspace: z.string().optional(),
|
|
887
|
+
requestBody: z.lazy(() => PlanDeploymentComputeRequestBody$outboundSchema)
|
|
888
|
+
.optional(),
|
|
889
|
+
}).transform((v) => {
|
|
890
|
+
return remap$(v, {
|
|
891
|
+
requestBody: "RequestBody",
|
|
892
|
+
});
|
|
893
|
+
});
|
|
894
|
+
export function planDeploymentComputeRequestToJSON(planDeploymentComputeRequest) {
|
|
895
|
+
return JSON.stringify(PlanDeploymentComputeRequest$outboundSchema.parse(planDeploymentComputeRequest));
|
|
896
|
+
}
|
|
897
|
+
//# sourceMappingURL=plandeploymentcompute.js.map
|