@alienplatform/platform-api 3.3.16 → 3.3.17
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/README.md +25 -11
- package/esm/funcs/deploymentGroupsCreateExternalAIModelCheck.d.ts +16 -0
- package/esm/funcs/deploymentGroupsCreateExternalAIModelCheck.d.ts.map +1 -0
- package/esm/funcs/deploymentGroupsCreateExternalAIModelCheck.js +93 -0
- package/esm/funcs/deploymentGroupsCreateExternalAIModelCheck.js.map +1 -0
- package/esm/funcs/deploymentGroupsGetExternalAIModelCheck.d.ts +16 -0
- package/esm/funcs/deploymentGroupsGetExternalAIModelCheck.d.ts.map +1 -0
- package/esm/funcs/deploymentGroupsGetExternalAIModelCheck.js +93 -0
- package/esm/funcs/deploymentGroupsGetExternalAIModelCheck.js.map +1 -0
- package/esm/funcs/deploymentGroupsPutExternalAIBinding.js +1 -1
- package/esm/funcs/managersListEvents.js +2 -2
- package/esm/funcs/managersListEvents.js.map +1 -1
- package/esm/funcs/operationsSetBuiltinPlugins.d.ts +16 -0
- package/esm/funcs/operationsSetBuiltinPlugins.d.ts.map +1 -0
- package/esm/funcs/operationsSetBuiltinPlugins.js +87 -0
- package/esm/funcs/operationsSetBuiltinPlugins.js.map +1 -0
- package/esm/funcs/projectsConfigureAiProviderHeaders.d.ts +16 -0
- package/esm/funcs/projectsConfigureAiProviderHeaders.d.ts.map +1 -0
- package/esm/funcs/projectsConfigureAiProviderHeaders.js +90 -0
- package/esm/funcs/projectsConfigureAiProviderHeaders.js.map +1 -0
- package/esm/funcs/projectsConfigureModels.js +2 -2
- package/esm/funcs/projectsConfigureModels.js.map +1 -1
- package/esm/funcs/projectsGetAiProviderHeaders.d.ts +16 -0
- package/esm/funcs/projectsGetAiProviderHeaders.d.ts.map +1 -0
- package/esm/funcs/projectsGetAiProviderHeaders.js +89 -0
- package/esm/funcs/projectsGetAiProviderHeaders.js.map +1 -0
- package/esm/funcs/projectsGetEncryptionUsage.d.ts +12 -0
- package/esm/funcs/projectsGetEncryptionUsage.d.ts.map +1 -0
- package/esm/funcs/projectsGetEncryptionUsage.js +86 -0
- package/esm/funcs/projectsGetEncryptionUsage.js.map +1 -0
- package/esm/funcs/projectsPreviewModelsImpact.d.ts +15 -0
- package/esm/funcs/projectsPreviewModelsImpact.d.ts.map +1 -0
- package/esm/funcs/projectsPreviewModelsImpact.js +91 -0
- package/esm/funcs/projectsPreviewModelsImpact.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/aiproviderheaders.d.ts +61 -0
- package/esm/models/aiproviderheaders.d.ts.map +1 -0
- package/esm/models/aiproviderheaders.js +65 -0
- package/esm/models/aiproviderheaders.js.map +1 -0
- package/esm/models/apikeydeploymentsetupconfig.d.ts +12 -0
- package/esm/models/apikeydeploymentsetupconfig.d.ts.map +1 -1
- package/esm/models/apikeydeploymentsetupconfig.js +11 -0
- package/esm/models/apikeydeploymentsetupconfig.js.map +1 -1
- package/esm/models/configuremodelsrequest.d.ts +2 -2
- package/esm/models/configuremodelsrequest.d.ts.map +1 -1
- package/esm/models/configuremodelsrequest.js +1 -1
- package/esm/models/configuremodelsrequest.js.map +1 -1
- package/esm/models/createmanagerresponse.d.ts +117 -0
- package/esm/models/createmanagerresponse.d.ts.map +1 -1
- package/esm/models/createmanagerresponse.js +53 -0
- package/esm/models/createmanagerresponse.js.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.d.ts +47 -0
- package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.js +20 -0
- package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
- package/esm/models/deployment.d.ts +35 -0
- package/esm/models/deployment.d.ts.map +1 -1
- package/esm/models/deployment.js +14 -0
- package/esm/models/deployment.js.map +1 -1
- package/esm/models/deploymentconfig.d.ts +35 -0
- package/esm/models/deploymentconfig.d.ts.map +1 -1
- package/esm/models/deploymentconfig.js +14 -0
- package/esm/models/deploymentconfig.js.map +1 -1
- package/esm/models/deploymentdetailresponse.d.ts +35 -0
- package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/deploymentdetailresponse.js +20 -0
- package/esm/models/deploymentdetailresponse.js.map +1 -1
- package/esm/models/deploymentinfosetupconfig.d.ts +12 -0
- package/esm/models/deploymentinfosetupconfig.d.ts.map +1 -1
- package/esm/models/deploymentinfosetupconfig.js +11 -0
- package/esm/models/deploymentinfosetupconfig.js.map +1 -1
- package/esm/models/deploymentsetupitemselection.d.ts +13 -0
- package/esm/models/deploymentsetupitemselection.d.ts.map +1 -1
- package/esm/models/deploymentsetupitemselection.js +11 -0
- package/esm/models/deploymentsetupitemselection.js.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts +53 -0
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.js +40 -0
- package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
- package/esm/models/externalaibinding.d.ts +24 -3
- package/esm/models/externalaibinding.d.ts.map +1 -1
- package/esm/models/externalaibinding.js +23 -3
- package/esm/models/externalaibinding.js.map +1 -1
- package/esm/models/externalaimodelcheck.d.ts +28 -0
- package/esm/models/externalaimodelcheck.d.ts.map +1 -0
- package/esm/models/externalaimodelcheck.js +29 -0
- package/esm/models/externalaimodelcheck.js.map +1 -0
- package/esm/models/importsource.d.ts +47 -0
- package/esm/models/importsource.d.ts.map +1 -1
- package/esm/models/importsource.js +14 -0
- package/esm/models/importsource.js.map +1 -1
- package/esm/models/index.d.ts +6 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +6 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/machinesinventoryitem.d.ts +13 -0
- package/esm/models/machinesinventoryitem.d.ts.map +1 -1
- package/esm/models/machinesinventoryitem.js +13 -0
- package/esm/models/machinesinventoryitem.js.map +1 -1
- package/esm/models/machineswireguardmeshobservation.d.ts +12 -0
- package/esm/models/machineswireguardmeshobservation.d.ts.map +1 -0
- package/esm/models/machineswireguardmeshobservation.js +15 -0
- package/esm/models/machineswireguardmeshobservation.js.map +1 -0
- package/esm/models/managerretryresponse.d.ts +117 -0
- package/esm/models/managerretryresponse.d.ts.map +1 -1
- package/esm/models/managerretryresponse.js +53 -0
- package/esm/models/managerretryresponse.js.map +1 -1
- package/esm/models/newdeploymentrequest.d.ts +47 -0
- package/esm/models/newdeploymentrequest.d.ts.map +1 -1
- package/esm/models/newdeploymentrequest.js +14 -0
- package/esm/models/newdeploymentrequest.js.map +1 -1
- package/esm/models/operations/configureprojectaiproviderheaders.d.ts +23 -0
- package/esm/models/operations/configureprojectaiproviderheaders.d.ts.map +1 -0
- package/esm/models/operations/configureprojectaiproviderheaders.js +20 -0
- package/esm/models/operations/configureprojectaiproviderheaders.js.map +1 -0
- package/esm/models/operations/configureprojectdeployments.d.ts +10 -0
- package/esm/models/operations/configureprojectdeployments.d.ts.map +1 -1
- package/esm/models/operations/configureprojectdeployments.js +7 -0
- package/esm/models/operations/configureprojectdeployments.js.map +1 -1
- package/esm/models/operations/configureprojectsource.d.ts +8 -0
- package/esm/models/operations/configureprojectsource.d.ts.map +1 -1
- package/esm/models/operations/configureprojectsource.js +7 -0
- package/esm/models/operations/configureprojectsource.js.map +1 -1
- package/esm/models/operations/createexternalaimodelcheck.d.ts +22 -0
- package/esm/models/operations/createexternalaimodelcheck.d.ts.map +1 -0
- package/esm/models/operations/createexternalaimodelcheck.js +14 -0
- package/esm/models/operations/createexternalaimodelcheck.js.map +1 -0
- package/esm/models/operations/createproject.d.ts +8 -0
- package/esm/models/operations/createproject.d.ts.map +1 -1
- package/esm/models/operations/createproject.js +7 -0
- package/esm/models/operations/createproject.js.map +1 -1
- package/esm/models/operations/createprojectfromtemplate.d.ts +8 -0
- package/esm/models/operations/createprojectfromtemplate.d.ts.map +1 -1
- package/esm/models/operations/createprojectfromtemplate.js +7 -0
- package/esm/models/operations/createprojectfromtemplate.js.map +1 -1
- package/esm/models/operations/getexternalaimodelcheck.d.ts +22 -0
- package/esm/models/operations/getexternalaimodelcheck.d.ts.map +1 -0
- package/esm/models/operations/getexternalaimodelcheck.js +14 -0
- package/esm/models/operations/getexternalaimodelcheck.js.map +1 -0
- package/esm/models/operations/getprojectaiproviderheaders.d.ts +20 -0
- package/esm/models/operations/getprojectaiproviderheaders.d.ts.map +1 -0
- package/esm/models/operations/getprojectaiproviderheaders.js +13 -0
- package/esm/models/operations/getprojectaiproviderheaders.js.map +1 -0
- package/esm/models/operations/getprojectaiusage.d.ts +25 -23
- package/esm/models/operations/getprojectaiusage.d.ts.map +1 -1
- package/esm/models/operations/getprojectaiusage.js +24 -24
- package/esm/models/operations/getprojectaiusage.js.map +1 -1
- package/esm/models/operations/getprojectencryptionusage.d.ts +111 -0
- package/esm/models/operations/getprojectencryptionusage.d.ts.map +1 -0
- package/esm/models/operations/getprojectencryptionusage.js +104 -0
- package/esm/models/operations/getprojectencryptionusage.js.map +1 -0
- package/esm/models/operations/getresourcedeploymentdetail.d.ts +353 -4
- package/esm/models/operations/getresourcedeploymentdetail.d.ts.map +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.js +316 -3
- package/esm/models/operations/getresourcedeploymentdetail.js.map +1 -1
- package/esm/models/operations/index.d.ts +7 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +7 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/plandeploymentcompute.d.ts +47 -0
- package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -1
- package/esm/models/operations/plandeploymentcompute.js +14 -0
- package/esm/models/operations/plandeploymentcompute.js.map +1 -1
- package/esm/models/operations/preparedeploymentstack.d.ts +47 -0
- package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
- package/esm/models/operations/preparedeploymentstack.js +14 -0
- package/esm/models/operations/preparedeploymentstack.js.map +1 -1
- package/esm/models/operations/previewprojectmodelsimpact.d.ts +56 -0
- package/esm/models/operations/previewprojectmodelsimpact.d.ts.map +1 -0
- package/esm/models/operations/previewprojectmodelsimpact.js +50 -0
- package/esm/models/operations/previewprojectmodelsimpact.js.map +1 -0
- package/esm/models/operations/setbuiltinoperationsplugins.d.ts +23 -0
- package/esm/models/operations/setbuiltinoperationsplugins.d.ts.map +1 -0
- package/esm/models/operations/setbuiltinoperationsplugins.js +21 -0
- package/esm/models/operations/setbuiltinoperationsplugins.js.map +1 -0
- package/esm/models/persistimporteddeploymentrequest.d.ts +47 -0
- package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.js +20 -0
- package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
- package/esm/models/project.d.ts +8 -0
- package/esm/models/project.d.ts.map +1 -1
- package/esm/models/project.js +8 -0
- package/esm/models/project.js.map +1 -1
- package/esm/models/projectcapabilities.d.ts +8 -0
- package/esm/models/projectcapabilities.d.ts.map +1 -1
- package/esm/models/projectcapabilities.js +7 -0
- package/esm/models/projectcapabilities.js.map +1 -1
- package/esm/models/projectcapabilityoverview.d.ts +48 -8
- package/esm/models/projectcapabilityoverview.d.ts.map +1 -1
- package/esm/models/projectcapabilityoverview.js +44 -8
- package/esm/models/projectcapabilityoverview.js.map +1 -1
- package/esm/models/projectlistitemresponse.d.ts +8 -0
- package/esm/models/projectlistitemresponse.d.ts.map +1 -1
- package/esm/models/projectlistitemresponse.js +7 -0
- package/esm/models/projectlistitemresponse.js.map +1 -1
- package/esm/models/renderoperatormanifestrequest.d.ts +17 -1
- package/esm/models/renderoperatormanifestrequest.d.ts.map +1 -1
- package/esm/models/renderoperatormanifestrequest.js +5 -2
- package/esm/models/renderoperatormanifestrequest.js.map +1 -1
- package/esm/models/setbuiltinoperationspluginsrequest.d.ts +15 -0
- package/esm/models/setbuiltinoperationspluginsrequest.d.ts.map +1 -0
- package/esm/models/setbuiltinoperationspluginsrequest.js +12 -0
- package/esm/models/setbuiltinoperationspluginsrequest.js.map +1 -0
- package/esm/models/setbuiltinoperationspluginsresponse.d.ts +10 -0
- package/esm/models/setbuiltinoperationspluginsresponse.d.ts.map +1 -0
- package/esm/models/setbuiltinoperationspluginsresponse.js +13 -0
- package/esm/models/setbuiltinoperationspluginsresponse.js.map +1 -0
- package/esm/models/setupitemstatus.d.ts +12 -0
- package/esm/models/setupitemstatus.d.ts.map +1 -1
- package/esm/models/setupitemstatus.js +12 -0
- package/esm/models/setupitemstatus.js.map +1 -1
- package/esm/models/stacksettings.d.ts +1645 -0
- package/esm/models/stacksettings.d.ts.map +1 -0
- package/esm/models/stacksettings.js +955 -0
- package/esm/models/stacksettings.js.map +1 -0
- package/esm/models/synclistresponse.d.ts +35 -0
- package/esm/models/synclistresponse.d.ts.map +1 -1
- package/esm/models/synclistresponse.js +14 -0
- package/esm/models/synclistresponse.js.map +1 -1
- package/esm/models/syncreconcilerequest.d.ts +455 -6
- package/esm/models/syncreconcilerequest.d.ts.map +1 -1
- package/esm/models/syncreconcilerequest.js +309 -3
- package/esm/models/syncreconcilerequest.js.map +1 -1
- package/esm/models/targetdeployment.d.ts +35 -0
- package/esm/models/targetdeployment.d.ts.map +1 -1
- package/esm/models/targetdeployment.js +14 -0
- package/esm/models/targetdeployment.js.map +1 -1
- package/esm/sdk/apikeys.d.ts +4 -4
- package/esm/sdk/apikeys.d.ts.map +1 -1
- package/esm/sdk/apikeys.js +6 -6
- package/esm/sdk/commands.d.ts +4 -4
- package/esm/sdk/commands.d.ts.map +1 -1
- package/esm/sdk/commands.js +6 -6
- package/esm/sdk/commands.js.map +1 -1
- package/esm/sdk/debugsessions.d.ts +4 -4
- package/esm/sdk/debugsessions.d.ts.map +1 -1
- package/esm/sdk/debugsessions.js +6 -6
- package/esm/sdk/debugsessions.js.map +1 -1
- package/esm/sdk/deploymentgroups.d.ts +20 -12
- package/esm/sdk/deploymentgroups.d.ts.map +1 -1
- package/esm/sdk/deploymentgroups.js +32 -18
- package/esm/sdk/deploymentgroups.js.map +1 -1
- package/esm/sdk/machines.d.ts +1 -1
- package/esm/sdk/machines.d.ts.map +1 -1
- package/esm/sdk/machines.js +3 -3
- package/esm/sdk/machines.js.map +1 -1
- package/esm/sdk/managers.d.ts +4 -4
- package/esm/sdk/managers.d.ts.map +1 -1
- package/esm/sdk/managers.js +6 -6
- package/esm/sdk/managers.js.map +1 -1
- package/esm/sdk/operations.d.ts +4 -0
- package/esm/sdk/operations.d.ts.map +1 -1
- package/esm/sdk/operations.js +7 -0
- package/esm/sdk/operations.js.map +1 -1
- package/esm/sdk/projects.d.ts +17 -4
- package/esm/sdk/projects.d.ts.map +1 -1
- package/esm/sdk/projects.js +31 -6
- package/esm/sdk/projects.js.map +1 -1
- package/esm/sdk/workspaces.d.ts +8 -8
- package/esm/sdk/workspaces.d.ts.map +1 -1
- package/esm/sdk/workspaces.js +12 -12
- package/jsr.json +1 -1
- package/package.json +3 -3
- package/src/funcs/deploymentGroupsCreateExternalAIModelCheck.ts +185 -0
- package/src/funcs/deploymentGroupsGetExternalAIModelCheck.ts +185 -0
- package/src/funcs/deploymentGroupsPutExternalAIBinding.ts +1 -1
- package/src/funcs/managersListEvents.ts +2 -2
- package/src/funcs/operationsSetBuiltinPlugins.ts +177 -0
- package/src/funcs/projectsConfigureAiProviderHeaders.ts +185 -0
- package/src/funcs/projectsConfigureModels.ts +3 -3
- package/src/funcs/projectsGetAiProviderHeaders.ts +182 -0
- package/src/funcs/projectsGetEncryptionUsage.ts +179 -0
- package/src/funcs/projectsPreviewModelsImpact.ts +183 -0
- package/src/lib/config.ts +2 -2
- package/src/models/aiproviderheaders.ts +152 -0
- package/src/models/apikeydeploymentsetupconfig.ts +24 -0
- package/src/models/configuremodelsrequest.ts +3 -3
- package/src/models/createmanagerresponse.ts +222 -0
- package/src/models/createsetupregistrationoperationrequest.ts +97 -0
- package/src/models/deployment.ts +65 -0
- package/src/models/deploymentconfig.ts +67 -0
- package/src/models/deploymentdetailresponse.ts +75 -0
- package/src/models/deploymentinfosetupconfig.ts +24 -0
- package/src/models/deploymentsetupitemselection.ts +25 -0
- package/src/models/deploymentsetupstacksettingspolicy.ts +141 -0
- package/src/models/externalaibinding.ts +47 -6
- package/src/models/externalaimodelcheck.ts +62 -0
- package/src/models/importsource.ts +73 -0
- package/src/models/index.ts +6 -0
- package/src/models/machinesinventoryitem.ts +23 -0
- package/src/models/machineswireguardmeshobservation.ts +34 -0
- package/src/models/managerretryresponse.ts +222 -0
- package/src/models/newdeploymentrequest.ts +77 -0
- package/src/models/operations/configureprojectaiproviderheaders.ts +51 -0
- package/src/models/operations/configureprojectdeployments.ts +17 -0
- package/src/models/operations/configureprojectsource.ts +15 -0
- package/src/models/operations/createexternalaimodelcheck.ts +44 -0
- package/src/models/operations/createproject.ts +13 -0
- package/src/models/operations/createprojectfromtemplate.ts +15 -0
- package/src/models/operations/getexternalaimodelcheck.ts +44 -0
- package/src/models/operations/getprojectaiproviderheaders.ts +41 -0
- package/src/models/operations/getprojectaiusage.ts +70 -47
- package/src/models/operations/getprojectencryptionusage.ts +274 -0
- package/src/models/operations/getresourcedeploymentdetail.ts +711 -8
- package/src/models/operations/index.ts +7 -0
- package/src/models/operations/plandeploymentcompute.ts +77 -0
- package/src/models/operations/preparedeploymentstack.ts +77 -0
- package/src/models/operations/previewprojectmodelsimpact.ts +129 -0
- package/src/models/operations/setbuiltinoperationsplugins.ts +55 -0
- package/src/models/persistimporteddeploymentrequest.ts +89 -0
- package/src/models/project.ts +12 -0
- package/src/models/projectcapabilities.ts +15 -0
- package/src/models/projectcapabilityoverview.ts +96 -16
- package/src/models/projectlistitemresponse.ts +15 -0
- package/src/models/renderoperatormanifestrequest.ts +23 -2
- package/src/models/setbuiltinoperationspluginsrequest.ts +35 -0
- package/src/models/setbuiltinoperationspluginsresponse.ts +31 -0
- package/src/models/setupitemstatus.ts +20 -0
- package/src/models/stacksettings.ts +3610 -0
- package/src/models/synclistresponse.ts +67 -0
- package/src/models/syncreconcilerequest.ts +850 -13
- package/src/models/targetdeployment.ts +67 -0
- package/src/sdk/apikeys.ts +10 -10
- package/src/sdk/commands.ts +8 -8
- package/src/sdk/debugsessions.ts +8 -8
- package/src/sdk/deploymentgroups.ts +58 -28
- package/src/sdk/machines.ts +8 -8
- package/src/sdk/managers.ts +10 -10
- package/src/sdk/operations.ts +15 -0
- package/src/sdk/projects.ts +67 -10
- package/src/sdk/workspaces.ts +20 -20
|
@@ -0,0 +1,3610 @@
|
|
|
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
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Failure-domain policy selected for a compute pool.
|
|
11
|
+
*/
|
|
12
|
+
export type StackSettingsFailureDomains2 = {
|
|
13
|
+
/**
|
|
14
|
+
* Concrete provider domains selected during setup.
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* Empty delegates deterministic selection to the provider setup implementation.
|
|
18
|
+
*/
|
|
19
|
+
selectedFailureDomains?: Array<string> | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Number of distinct failure domains across which new stateful replicas may be spread.
|
|
22
|
+
*/
|
|
23
|
+
spread: number;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export type StackSettingsFailureDomainsUnion2 =
|
|
27
|
+
| StackSettingsFailureDomains2
|
|
28
|
+
| any;
|
|
29
|
+
|
|
30
|
+
export type StackSettingsPoolsAutoscale = {
|
|
31
|
+
failureDomains?: StackSettingsFailureDomains2 | any | null | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Provider machine type selected for this deployment.
|
|
34
|
+
*/
|
|
35
|
+
machine?: string | null | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Maximum machine count.
|
|
38
|
+
*/
|
|
39
|
+
max: number;
|
|
40
|
+
/**
|
|
41
|
+
* Minimum machine count.
|
|
42
|
+
*/
|
|
43
|
+
min: number;
|
|
44
|
+
mode: "autoscale";
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Failure-domain policy selected for a compute pool.
|
|
49
|
+
*/
|
|
50
|
+
export type StackSettingsFailureDomains1 = {
|
|
51
|
+
/**
|
|
52
|
+
* Concrete provider domains selected during setup.
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* Empty delegates deterministic selection to the provider setup implementation.
|
|
56
|
+
*/
|
|
57
|
+
selectedFailureDomains?: Array<string> | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Number of distinct failure domains across which new stateful replicas may be spread.
|
|
60
|
+
*/
|
|
61
|
+
spread: number;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export type StackSettingsFailureDomainsUnion1 =
|
|
65
|
+
| StackSettingsFailureDomains1
|
|
66
|
+
| any;
|
|
67
|
+
|
|
68
|
+
export type StackSettingsPoolsFixed = {
|
|
69
|
+
failureDomains?: StackSettingsFailureDomains1 | any | null | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Provider machine type selected for this deployment.
|
|
72
|
+
*/
|
|
73
|
+
machine?: string | null | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Number of machines to run.
|
|
76
|
+
*/
|
|
77
|
+
machines: number;
|
|
78
|
+
mode: "fixed";
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* User-selected deployment settings for one compute pool.
|
|
83
|
+
*/
|
|
84
|
+
export type StackSettingsPoolsUnion =
|
|
85
|
+
| StackSettingsPoolsFixed
|
|
86
|
+
| StackSettingsPoolsAutoscale;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Deployment-time compute choices for Alien-managed compute pools.
|
|
90
|
+
*
|
|
91
|
+
* @remarks
|
|
92
|
+
*
|
|
93
|
+
* Application source declares portable pool requirements. This settings
|
|
94
|
+
* object stores the concrete choices made for one deployment, such as the
|
|
95
|
+
* provider machine type and selected machine counts.
|
|
96
|
+
*/
|
|
97
|
+
export type StackSettingsCompute = {
|
|
98
|
+
/**
|
|
99
|
+
* Selected compute choices keyed by pool ID.
|
|
100
|
+
*/
|
|
101
|
+
pools?:
|
|
102
|
+
| { [k: string]: StackSettingsPoolsFixed | StackSettingsPoolsAutoscale }
|
|
103
|
+
| undefined;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
export type StackSettingsComputeUnion = StackSettingsCompute | any;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Deployment model: how updates are delivered to the remote environment.
|
|
110
|
+
*/
|
|
111
|
+
export const StackSettingsDeploymentModel = {
|
|
112
|
+
Push: "push",
|
|
113
|
+
Pull: "pull",
|
|
114
|
+
} as const;
|
|
115
|
+
/**
|
|
116
|
+
* Deployment model: how updates are delivered to the remote environment.
|
|
117
|
+
*/
|
|
118
|
+
export type StackSettingsDeploymentModel = ClosedEnum<
|
|
119
|
+
typeof StackSettingsDeploymentModel
|
|
120
|
+
>;
|
|
121
|
+
|
|
122
|
+
export type StackSettingsAws = {
|
|
123
|
+
certificateArn: string;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
export type StackSettingsAwsUnion = StackSettingsAws | any;
|
|
127
|
+
|
|
128
|
+
export type StackSettingsAzure = {
|
|
129
|
+
keyVaultCertificateId: string;
|
|
130
|
+
keyVaultResourceId?: string | null | undefined;
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export type StackSettingsAzureUnion = StackSettingsAzure | any;
|
|
134
|
+
|
|
135
|
+
export type StackSettingsGcp = {
|
|
136
|
+
certificateName: string;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
export type StackSettingsGcpUnion = StackSettingsGcp | any;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Namespace-scoped Kubernetes TLS Secret reference.
|
|
143
|
+
*/
|
|
144
|
+
export type StackSettingsTlsSecretRef = {
|
|
145
|
+
/**
|
|
146
|
+
* Secret namespace. Defaults to the release namespace when omitted.
|
|
147
|
+
*/
|
|
148
|
+
namespace?: string | null | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* Secret name.
|
|
151
|
+
*/
|
|
152
|
+
secretName: string;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
export type StackSettingsDomainsKubernetes = {
|
|
156
|
+
/**
|
|
157
|
+
* Namespace-scoped Kubernetes TLS Secret reference.
|
|
158
|
+
*/
|
|
159
|
+
tlsSecretRef: StackSettingsTlsSecretRef;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
export type StackSettingsDomainsKubernetesUnion =
|
|
163
|
+
| StackSettingsDomainsKubernetes
|
|
164
|
+
| any;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Platform-specific certificate references for custom domains.
|
|
168
|
+
*/
|
|
169
|
+
export type StackSettingsDomainsCertificate = {
|
|
170
|
+
aws?: StackSettingsAws | any | null | undefined;
|
|
171
|
+
azure?: StackSettingsAzure | any | null | undefined;
|
|
172
|
+
gcp?: StackSettingsGcp | any | null | undefined;
|
|
173
|
+
kubernetes?: StackSettingsDomainsKubernetes | any | null | undefined;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Custom domain configuration for a single resource.
|
|
178
|
+
*/
|
|
179
|
+
export type StackSettingsCustomDomains = {
|
|
180
|
+
/**
|
|
181
|
+
* Platform-specific certificate references for custom domains.
|
|
182
|
+
*/
|
|
183
|
+
certificate: StackSettingsDomainsCertificate;
|
|
184
|
+
/**
|
|
185
|
+
* Fully qualified domain name to use.
|
|
186
|
+
*/
|
|
187
|
+
domain: string;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
export const StackSettingsModeLoadBalancer = {
|
|
191
|
+
LoadBalancer: "loadBalancer",
|
|
192
|
+
} as const;
|
|
193
|
+
export type StackSettingsModeLoadBalancer = ClosedEnum<
|
|
194
|
+
typeof StackSettingsModeLoadBalancer
|
|
195
|
+
>;
|
|
196
|
+
|
|
197
|
+
export type StackSettingsPublicEndpointTargetLoadBalancer = {
|
|
198
|
+
/**
|
|
199
|
+
* DNS name or URL for the external load balancer.
|
|
200
|
+
*/
|
|
201
|
+
cnameTarget: string;
|
|
202
|
+
mode: StackSettingsModeLoadBalancer;
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
export const StackSettingsModeMachineAddresses = {
|
|
206
|
+
MachineAddresses: "machineAddresses",
|
|
207
|
+
} as const;
|
|
208
|
+
export type StackSettingsModeMachineAddresses = ClosedEnum<
|
|
209
|
+
typeof StackSettingsModeMachineAddresses
|
|
210
|
+
>;
|
|
211
|
+
|
|
212
|
+
export type StackSettingsPublicEndpointTargetMachineAddresses = {
|
|
213
|
+
mode: StackSettingsModeMachineAddresses;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
export type StackSettingsPublicEndpointTargetUnion =
|
|
217
|
+
| StackSettingsPublicEndpointTargetLoadBalancer
|
|
218
|
+
| StackSettingsPublicEndpointTargetMachineAddresses
|
|
219
|
+
| any;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Domain configuration for the stack.
|
|
223
|
+
*
|
|
224
|
+
* @remarks
|
|
225
|
+
*
|
|
226
|
+
* When `custom_domains` is set, the specified resources use customer-provided
|
|
227
|
+
* domains and certificates. Otherwise, Alien auto-generates domains.
|
|
228
|
+
*/
|
|
229
|
+
export type StackSettingsDomains = {
|
|
230
|
+
/**
|
|
231
|
+
* Custom domain configuration per resource ID.
|
|
232
|
+
*/
|
|
233
|
+
customDomains?:
|
|
234
|
+
| { [k: string]: StackSettingsCustomDomains }
|
|
235
|
+
| null
|
|
236
|
+
| undefined;
|
|
237
|
+
publicEndpointTarget?:
|
|
238
|
+
| StackSettingsPublicEndpointTargetLoadBalancer
|
|
239
|
+
| StackSettingsPublicEndpointTargetMachineAddresses
|
|
240
|
+
| any
|
|
241
|
+
| null
|
|
242
|
+
| undefined;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
export type StackSettingsDomainsUnion = StackSettingsDomains | any;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* External bindings for pre-existing infrastructure.
|
|
249
|
+
*
|
|
250
|
+
* @remarks
|
|
251
|
+
* Allows using existing resources (MinIO, Redis, shared Container Apps
|
|
252
|
+
* Environment, etc.) instead of having Alien provision them.
|
|
253
|
+
* Required for Kubernetes platform, optional for cloud platforms.
|
|
254
|
+
*/
|
|
255
|
+
export type StackSettingsExternalBindings = {};
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* How heartbeat health checks are handled.
|
|
259
|
+
*/
|
|
260
|
+
export const StackSettingsHeartbeats = {
|
|
261
|
+
Off: "off",
|
|
262
|
+
On: "on",
|
|
263
|
+
} as const;
|
|
264
|
+
/**
|
|
265
|
+
* How heartbeat health checks are handled.
|
|
266
|
+
*/
|
|
267
|
+
export type StackSettingsHeartbeats = ClosedEnum<
|
|
268
|
+
typeof StackSettingsHeartbeats
|
|
269
|
+
>;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Optional provider-specific identity for a cloud-backed Kubernetes cluster.
|
|
273
|
+
*/
|
|
274
|
+
export type StackSettingsCloud = {
|
|
275
|
+
accountId?: string | null | undefined;
|
|
276
|
+
clusterId?: string | null | undefined;
|
|
277
|
+
clusterName?: string | null | undefined;
|
|
278
|
+
projectId?: string | null | undefined;
|
|
279
|
+
region?: string | null | undefined;
|
|
280
|
+
resourceGroup?: string | null | undefined;
|
|
281
|
+
subscriptionId?: string | null | undefined;
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
export type StackSettingsCloudUnion = StackSettingsCloud | any;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Ownership model for the Kubernetes cluster.
|
|
288
|
+
*/
|
|
289
|
+
export const StackSettingsOwnership = {
|
|
290
|
+
Managed: "managed",
|
|
291
|
+
Existing: "existing",
|
|
292
|
+
External: "external",
|
|
293
|
+
} as const;
|
|
294
|
+
/**
|
|
295
|
+
* Ownership model for the Kubernetes cluster.
|
|
296
|
+
*/
|
|
297
|
+
export type StackSettingsOwnership = ClosedEnum<typeof StackSettingsOwnership>;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Kubernetes cluster setup settings.
|
|
301
|
+
*/
|
|
302
|
+
export type StackSettingsCluster = {
|
|
303
|
+
cloud?: StackSettingsCloud | any | null | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* Namespace where the Alien chart and application resources run.
|
|
306
|
+
*/
|
|
307
|
+
namespace?: string | null | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* Ownership model for the Kubernetes cluster.
|
|
310
|
+
*/
|
|
311
|
+
ownership: StackSettingsOwnership;
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
export type StackSettingsClusterUnion = StackSettingsCluster | any;
|
|
315
|
+
|
|
316
|
+
export type StackSettingsCertificateNone2 = {
|
|
317
|
+
mode: "none";
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
export type StackSettingsCertificateManagedTLSSecret2 = {
|
|
321
|
+
mode: "managedTlsSecret";
|
|
322
|
+
/**
|
|
323
|
+
* Secret name template. Runtime may substitute resource/deployment tokens.
|
|
324
|
+
*/
|
|
325
|
+
secretNameTemplate: string;
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
export type StackSettingsCertificateAwsAcmArn2 = {
|
|
329
|
+
/**
|
|
330
|
+
* Existing ACM certificate ARN.
|
|
331
|
+
*/
|
|
332
|
+
certificateArn: string;
|
|
333
|
+
mode: "awsAcmArn";
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
export type StackSettingsCertificateManagedAcmImport2 = {
|
|
337
|
+
mode: "managedAcmImport";
|
|
338
|
+
/**
|
|
339
|
+
* ACM region. Defaults to the deployment region when omitted.
|
|
340
|
+
*/
|
|
341
|
+
region?: string | null | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* Tags applied to runtime-imported ACM certificates.
|
|
344
|
+
*/
|
|
345
|
+
tags?: { [k: string]: string } | undefined;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Namespace-scoped Kubernetes TLS Secret reference.
|
|
350
|
+
*/
|
|
351
|
+
export type StackSettingsCertificateTLSSecretRef2 = {
|
|
352
|
+
/**
|
|
353
|
+
* Secret namespace. Defaults to the release namespace when omitted.
|
|
354
|
+
*/
|
|
355
|
+
namespace?: string | null | undefined;
|
|
356
|
+
/**
|
|
357
|
+
* Secret name.
|
|
358
|
+
*/
|
|
359
|
+
secretName: string;
|
|
360
|
+
mode: "tlsSecretRef";
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Certificate publication or reference mode for Kubernetes public endpoints.
|
|
365
|
+
*/
|
|
366
|
+
export type StackSettingsCertificateUnion2 =
|
|
367
|
+
| StackSettingsCertificateTLSSecretRef2
|
|
368
|
+
| StackSettingsCertificateManagedAcmImport2
|
|
369
|
+
| StackSettingsCertificateAwsAcmArn2
|
|
370
|
+
| StackSettingsCertificateManagedTLSSecret2
|
|
371
|
+
| StackSettingsCertificateNone2;
|
|
372
|
+
|
|
373
|
+
export const StackSettingsModeCustom = {
|
|
374
|
+
Custom: "custom",
|
|
375
|
+
} as const;
|
|
376
|
+
export type StackSettingsModeCustom = ClosedEnum<
|
|
377
|
+
typeof StackSettingsModeCustom
|
|
378
|
+
>;
|
|
379
|
+
|
|
380
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainersEnum4 = {
|
|
381
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
382
|
+
} as const;
|
|
383
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainersEnum4 =
|
|
384
|
+
ClosedEnum<
|
|
385
|
+
typeof StackSettingsProviderAzureApplicationGatewayForContainersEnum4
|
|
386
|
+
>;
|
|
387
|
+
|
|
388
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainers4 = {
|
|
389
|
+
/**
|
|
390
|
+
* Optional ALB name when using BYO Application Gateway resources.
|
|
391
|
+
*/
|
|
392
|
+
albName?: string | null | undefined;
|
|
393
|
+
/**
|
|
394
|
+
* Optional ALB namespace when using BYO Application Gateway resources.
|
|
395
|
+
*/
|
|
396
|
+
albNamespace?: string | null | undefined;
|
|
397
|
+
/**
|
|
398
|
+
* Public or internal frontend exposure.
|
|
399
|
+
*/
|
|
400
|
+
frontend: string;
|
|
401
|
+
provider: StackSettingsProviderAzureApplicationGatewayForContainersEnum4;
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
export const StackSettingsProviderGkeGatewayEnum4 = {
|
|
405
|
+
GkeGateway: "gkeGateway",
|
|
406
|
+
} as const;
|
|
407
|
+
export type StackSettingsProviderGkeGatewayEnum4 = ClosedEnum<
|
|
408
|
+
typeof StackSettingsProviderGkeGatewayEnum4
|
|
409
|
+
>;
|
|
410
|
+
|
|
411
|
+
export type StackSettingsProviderGkeGateway4 = {
|
|
412
|
+
provider: StackSettingsProviderGkeGatewayEnum4;
|
|
413
|
+
/**
|
|
414
|
+
* Optional static address name for the Gateway frontend.
|
|
415
|
+
*/
|
|
416
|
+
staticAddressName?: string | null | undefined;
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
export const StackSettingsProviderAwsAlbEnum4 = {
|
|
420
|
+
AwsAlb: "awsAlb",
|
|
421
|
+
} as const;
|
|
422
|
+
export type StackSettingsProviderAwsAlbEnum4 = ClosedEnum<
|
|
423
|
+
typeof StackSettingsProviderAwsAlbEnum4
|
|
424
|
+
>;
|
|
425
|
+
|
|
426
|
+
export type StackSettingsProviderAwsAlb4 = {
|
|
427
|
+
/**
|
|
428
|
+
* Optional ALB IP address type, such as `dualstack`.
|
|
429
|
+
*/
|
|
430
|
+
ipAddressType?: string | null | undefined;
|
|
431
|
+
provider: StackSettingsProviderAwsAlbEnum4;
|
|
432
|
+
/**
|
|
433
|
+
* Internet-facing or internal ALB scheme.
|
|
434
|
+
*/
|
|
435
|
+
scheme: string;
|
|
436
|
+
/**
|
|
437
|
+
* Explicit subnet IDs when the profile cannot rely on controller discovery.
|
|
438
|
+
*/
|
|
439
|
+
subnetIds?: Array<string> | undefined;
|
|
440
|
+
/**
|
|
441
|
+
* ALB target type, usually `ip`.
|
|
442
|
+
*/
|
|
443
|
+
targetType: string;
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
export type StackSettingsProviderUnion4 =
|
|
447
|
+
| StackSettingsProviderAwsAlb4
|
|
448
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers4
|
|
449
|
+
| StackSettingsProviderGkeGateway4
|
|
450
|
+
| any;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* Shared Gateway API route profile values.
|
|
454
|
+
*/
|
|
455
|
+
export type StackSettingsRouteGateway2 = {
|
|
456
|
+
/**
|
|
457
|
+
* Annotations applied to route objects.
|
|
458
|
+
*/
|
|
459
|
+
annotations?: { [k: string]: string } | undefined;
|
|
460
|
+
/**
|
|
461
|
+
* Route controller identifier, for example a cloud Gateway controller.
|
|
462
|
+
*/
|
|
463
|
+
controller?: string | null | undefined;
|
|
464
|
+
/**
|
|
465
|
+
* GatewayClass selected for generated Gateways.
|
|
466
|
+
*/
|
|
467
|
+
gatewayClassName: string;
|
|
468
|
+
/**
|
|
469
|
+
* Labels applied to route objects.
|
|
470
|
+
*/
|
|
471
|
+
labels?: { [k: string]: string } | undefined;
|
|
472
|
+
/**
|
|
473
|
+
* Listener port, usually 443.
|
|
474
|
+
*/
|
|
475
|
+
listenerPort: number;
|
|
476
|
+
provider?:
|
|
477
|
+
| StackSettingsProviderAwsAlb4
|
|
478
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers4
|
|
479
|
+
| StackSettingsProviderGkeGateway4
|
|
480
|
+
| any
|
|
481
|
+
| null
|
|
482
|
+
| undefined;
|
|
483
|
+
routeApi: "gateway";
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainersEnum3 = {
|
|
487
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
488
|
+
} as const;
|
|
489
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainersEnum3 =
|
|
490
|
+
ClosedEnum<
|
|
491
|
+
typeof StackSettingsProviderAzureApplicationGatewayForContainersEnum3
|
|
492
|
+
>;
|
|
493
|
+
|
|
494
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainers3 = {
|
|
495
|
+
/**
|
|
496
|
+
* Optional ALB name when using BYO Application Gateway resources.
|
|
497
|
+
*/
|
|
498
|
+
albName?: string | null | undefined;
|
|
499
|
+
/**
|
|
500
|
+
* Optional ALB namespace when using BYO Application Gateway resources.
|
|
501
|
+
*/
|
|
502
|
+
albNamespace?: string | null | undefined;
|
|
503
|
+
/**
|
|
504
|
+
* Public or internal frontend exposure.
|
|
505
|
+
*/
|
|
506
|
+
frontend: string;
|
|
507
|
+
provider: StackSettingsProviderAzureApplicationGatewayForContainersEnum3;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
export const StackSettingsProviderGkeGatewayEnum3 = {
|
|
511
|
+
GkeGateway: "gkeGateway",
|
|
512
|
+
} as const;
|
|
513
|
+
export type StackSettingsProviderGkeGatewayEnum3 = ClosedEnum<
|
|
514
|
+
typeof StackSettingsProviderGkeGatewayEnum3
|
|
515
|
+
>;
|
|
516
|
+
|
|
517
|
+
export type StackSettingsProviderGkeGateway3 = {
|
|
518
|
+
provider: StackSettingsProviderGkeGatewayEnum3;
|
|
519
|
+
/**
|
|
520
|
+
* Optional static address name for the Gateway frontend.
|
|
521
|
+
*/
|
|
522
|
+
staticAddressName?: string | null | undefined;
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
export const StackSettingsProviderAwsAlbEnum3 = {
|
|
526
|
+
AwsAlb: "awsAlb",
|
|
527
|
+
} as const;
|
|
528
|
+
export type StackSettingsProviderAwsAlbEnum3 = ClosedEnum<
|
|
529
|
+
typeof StackSettingsProviderAwsAlbEnum3
|
|
530
|
+
>;
|
|
531
|
+
|
|
532
|
+
export type StackSettingsProviderAwsAlb3 = {
|
|
533
|
+
/**
|
|
534
|
+
* Optional ALB IP address type, such as `dualstack`.
|
|
535
|
+
*/
|
|
536
|
+
ipAddressType?: string | null | undefined;
|
|
537
|
+
provider: StackSettingsProviderAwsAlbEnum3;
|
|
538
|
+
/**
|
|
539
|
+
* Internet-facing or internal ALB scheme.
|
|
540
|
+
*/
|
|
541
|
+
scheme: string;
|
|
542
|
+
/**
|
|
543
|
+
* Explicit subnet IDs when the profile cannot rely on controller discovery.
|
|
544
|
+
*/
|
|
545
|
+
subnetIds?: Array<string> | undefined;
|
|
546
|
+
/**
|
|
547
|
+
* ALB target type, usually `ip`.
|
|
548
|
+
*/
|
|
549
|
+
targetType: string;
|
|
550
|
+
};
|
|
551
|
+
|
|
552
|
+
export type StackSettingsProviderUnion3 =
|
|
553
|
+
| StackSettingsProviderAwsAlb3
|
|
554
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers3
|
|
555
|
+
| StackSettingsProviderGkeGateway3
|
|
556
|
+
| any;
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Shared Ingress route profile values.
|
|
560
|
+
*/
|
|
561
|
+
export type StackSettingsRouteIngress2 = {
|
|
562
|
+
/**
|
|
563
|
+
* Annotations applied to route objects.
|
|
564
|
+
*/
|
|
565
|
+
annotations?: { [k: string]: string } | undefined;
|
|
566
|
+
/**
|
|
567
|
+
* Route controller identifier, for example `eks.amazonaws.com/alb`.
|
|
568
|
+
*/
|
|
569
|
+
controller?: string | null | undefined;
|
|
570
|
+
/**
|
|
571
|
+
* `spec.ingressClassName` for generated Ingresses.
|
|
572
|
+
*/
|
|
573
|
+
ingressClassName: string;
|
|
574
|
+
/**
|
|
575
|
+
* Labels applied to route objects.
|
|
576
|
+
*/
|
|
577
|
+
labels?: { [k: string]: string } | undefined;
|
|
578
|
+
provider?:
|
|
579
|
+
| StackSettingsProviderAwsAlb3
|
|
580
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers3
|
|
581
|
+
| StackSettingsProviderGkeGateway3
|
|
582
|
+
| any
|
|
583
|
+
| null
|
|
584
|
+
| undefined;
|
|
585
|
+
routeApi: "ingress";
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Kubernetes route API selected for public endpoints.
|
|
590
|
+
*/
|
|
591
|
+
export type StackSettingsRouteUnion2 =
|
|
592
|
+
| StackSettingsRouteIngress2
|
|
593
|
+
| StackSettingsRouteGateway2;
|
|
594
|
+
|
|
595
|
+
export type StackSettingsExposureCustom = {
|
|
596
|
+
/**
|
|
597
|
+
* Certificate publication or reference mode for Kubernetes public endpoints.
|
|
598
|
+
*/
|
|
599
|
+
certificate:
|
|
600
|
+
| StackSettingsCertificateTLSSecretRef2
|
|
601
|
+
| StackSettingsCertificateManagedAcmImport2
|
|
602
|
+
| StackSettingsCertificateAwsAcmArn2
|
|
603
|
+
| StackSettingsCertificateManagedTLSSecret2
|
|
604
|
+
| StackSettingsCertificateNone2;
|
|
605
|
+
/**
|
|
606
|
+
* Hostname routed by the Kubernetes public endpoint.
|
|
607
|
+
*/
|
|
608
|
+
domain: string;
|
|
609
|
+
mode: StackSettingsModeCustom;
|
|
610
|
+
/**
|
|
611
|
+
* Kubernetes route API selected for public endpoints.
|
|
612
|
+
*/
|
|
613
|
+
route: StackSettingsRouteIngress2 | StackSettingsRouteGateway2;
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
export type StackSettingsCertificateNone1 = {
|
|
617
|
+
mode: "none";
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
export type StackSettingsCertificateManagedTLSSecret1 = {
|
|
621
|
+
mode: "managedTlsSecret";
|
|
622
|
+
/**
|
|
623
|
+
* Secret name template. Runtime may substitute resource/deployment tokens.
|
|
624
|
+
*/
|
|
625
|
+
secretNameTemplate: string;
|
|
626
|
+
};
|
|
627
|
+
|
|
628
|
+
export type StackSettingsCertificateAwsAcmArn1 = {
|
|
629
|
+
/**
|
|
630
|
+
* Existing ACM certificate ARN.
|
|
631
|
+
*/
|
|
632
|
+
certificateArn: string;
|
|
633
|
+
mode: "awsAcmArn";
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
export type StackSettingsCertificateManagedAcmImport1 = {
|
|
637
|
+
mode: "managedAcmImport";
|
|
638
|
+
/**
|
|
639
|
+
* ACM region. Defaults to the deployment region when omitted.
|
|
640
|
+
*/
|
|
641
|
+
region?: string | null | undefined;
|
|
642
|
+
/**
|
|
643
|
+
* Tags applied to runtime-imported ACM certificates.
|
|
644
|
+
*/
|
|
645
|
+
tags?: { [k: string]: string } | undefined;
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Namespace-scoped Kubernetes TLS Secret reference.
|
|
650
|
+
*/
|
|
651
|
+
export type StackSettingsCertificateTLSSecretRef1 = {
|
|
652
|
+
/**
|
|
653
|
+
* Secret namespace. Defaults to the release namespace when omitted.
|
|
654
|
+
*/
|
|
655
|
+
namespace?: string | null | undefined;
|
|
656
|
+
/**
|
|
657
|
+
* Secret name.
|
|
658
|
+
*/
|
|
659
|
+
secretName: string;
|
|
660
|
+
mode: "tlsSecretRef";
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* Certificate publication or reference mode for Kubernetes public endpoints.
|
|
665
|
+
*/
|
|
666
|
+
export type StackSettingsCertificateUnion1 =
|
|
667
|
+
| StackSettingsCertificateTLSSecretRef1
|
|
668
|
+
| StackSettingsCertificateManagedAcmImport1
|
|
669
|
+
| StackSettingsCertificateAwsAcmArn1
|
|
670
|
+
| StackSettingsCertificateManagedTLSSecret1
|
|
671
|
+
| StackSettingsCertificateNone1;
|
|
672
|
+
|
|
673
|
+
export const StackSettingsModeGenerated = {
|
|
674
|
+
Generated: "generated",
|
|
675
|
+
} as const;
|
|
676
|
+
export type StackSettingsModeGenerated = ClosedEnum<
|
|
677
|
+
typeof StackSettingsModeGenerated
|
|
678
|
+
>;
|
|
679
|
+
|
|
680
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainersEnum2 = {
|
|
681
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
682
|
+
} as const;
|
|
683
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainersEnum2 =
|
|
684
|
+
ClosedEnum<
|
|
685
|
+
typeof StackSettingsProviderAzureApplicationGatewayForContainersEnum2
|
|
686
|
+
>;
|
|
687
|
+
|
|
688
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainers2 = {
|
|
689
|
+
/**
|
|
690
|
+
* Optional ALB name when using BYO Application Gateway resources.
|
|
691
|
+
*/
|
|
692
|
+
albName?: string | null | undefined;
|
|
693
|
+
/**
|
|
694
|
+
* Optional ALB namespace when using BYO Application Gateway resources.
|
|
695
|
+
*/
|
|
696
|
+
albNamespace?: string | null | undefined;
|
|
697
|
+
/**
|
|
698
|
+
* Public or internal frontend exposure.
|
|
699
|
+
*/
|
|
700
|
+
frontend: string;
|
|
701
|
+
provider: StackSettingsProviderAzureApplicationGatewayForContainersEnum2;
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
export const StackSettingsProviderGkeGatewayEnum2 = {
|
|
705
|
+
GkeGateway: "gkeGateway",
|
|
706
|
+
} as const;
|
|
707
|
+
export type StackSettingsProviderGkeGatewayEnum2 = ClosedEnum<
|
|
708
|
+
typeof StackSettingsProviderGkeGatewayEnum2
|
|
709
|
+
>;
|
|
710
|
+
|
|
711
|
+
export type StackSettingsProviderGkeGateway2 = {
|
|
712
|
+
provider: StackSettingsProviderGkeGatewayEnum2;
|
|
713
|
+
/**
|
|
714
|
+
* Optional static address name for the Gateway frontend.
|
|
715
|
+
*/
|
|
716
|
+
staticAddressName?: string | null | undefined;
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
export const StackSettingsProviderAwsAlbEnum2 = {
|
|
720
|
+
AwsAlb: "awsAlb",
|
|
721
|
+
} as const;
|
|
722
|
+
export type StackSettingsProviderAwsAlbEnum2 = ClosedEnum<
|
|
723
|
+
typeof StackSettingsProviderAwsAlbEnum2
|
|
724
|
+
>;
|
|
725
|
+
|
|
726
|
+
export type StackSettingsProviderAwsAlb2 = {
|
|
727
|
+
/**
|
|
728
|
+
* Optional ALB IP address type, such as `dualstack`.
|
|
729
|
+
*/
|
|
730
|
+
ipAddressType?: string | null | undefined;
|
|
731
|
+
provider: StackSettingsProviderAwsAlbEnum2;
|
|
732
|
+
/**
|
|
733
|
+
* Internet-facing or internal ALB scheme.
|
|
734
|
+
*/
|
|
735
|
+
scheme: string;
|
|
736
|
+
/**
|
|
737
|
+
* Explicit subnet IDs when the profile cannot rely on controller discovery.
|
|
738
|
+
*/
|
|
739
|
+
subnetIds?: Array<string> | undefined;
|
|
740
|
+
/**
|
|
741
|
+
* ALB target type, usually `ip`.
|
|
742
|
+
*/
|
|
743
|
+
targetType: string;
|
|
744
|
+
};
|
|
745
|
+
|
|
746
|
+
export type StackSettingsProviderUnion2 =
|
|
747
|
+
| StackSettingsProviderAwsAlb2
|
|
748
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers2
|
|
749
|
+
| StackSettingsProviderGkeGateway2
|
|
750
|
+
| any;
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* Shared Gateway API route profile values.
|
|
754
|
+
*/
|
|
755
|
+
export type StackSettingsRouteGateway1 = {
|
|
756
|
+
/**
|
|
757
|
+
* Annotations applied to route objects.
|
|
758
|
+
*/
|
|
759
|
+
annotations?: { [k: string]: string } | undefined;
|
|
760
|
+
/**
|
|
761
|
+
* Route controller identifier, for example a cloud Gateway controller.
|
|
762
|
+
*/
|
|
763
|
+
controller?: string | null | undefined;
|
|
764
|
+
/**
|
|
765
|
+
* GatewayClass selected for generated Gateways.
|
|
766
|
+
*/
|
|
767
|
+
gatewayClassName: string;
|
|
768
|
+
/**
|
|
769
|
+
* Labels applied to route objects.
|
|
770
|
+
*/
|
|
771
|
+
labels?: { [k: string]: string } | undefined;
|
|
772
|
+
/**
|
|
773
|
+
* Listener port, usually 443.
|
|
774
|
+
*/
|
|
775
|
+
listenerPort: number;
|
|
776
|
+
provider?:
|
|
777
|
+
| StackSettingsProviderAwsAlb2
|
|
778
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers2
|
|
779
|
+
| StackSettingsProviderGkeGateway2
|
|
780
|
+
| any
|
|
781
|
+
| null
|
|
782
|
+
| undefined;
|
|
783
|
+
routeApi: "gateway";
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainersEnum1 = {
|
|
787
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
788
|
+
} as const;
|
|
789
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainersEnum1 =
|
|
790
|
+
ClosedEnum<
|
|
791
|
+
typeof StackSettingsProviderAzureApplicationGatewayForContainersEnum1
|
|
792
|
+
>;
|
|
793
|
+
|
|
794
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainers1 = {
|
|
795
|
+
/**
|
|
796
|
+
* Optional ALB name when using BYO Application Gateway resources.
|
|
797
|
+
*/
|
|
798
|
+
albName?: string | null | undefined;
|
|
799
|
+
/**
|
|
800
|
+
* Optional ALB namespace when using BYO Application Gateway resources.
|
|
801
|
+
*/
|
|
802
|
+
albNamespace?: string | null | undefined;
|
|
803
|
+
/**
|
|
804
|
+
* Public or internal frontend exposure.
|
|
805
|
+
*/
|
|
806
|
+
frontend: string;
|
|
807
|
+
provider: StackSettingsProviderAzureApplicationGatewayForContainersEnum1;
|
|
808
|
+
};
|
|
809
|
+
|
|
810
|
+
export const StackSettingsProviderGkeGatewayEnum1 = {
|
|
811
|
+
GkeGateway: "gkeGateway",
|
|
812
|
+
} as const;
|
|
813
|
+
export type StackSettingsProviderGkeGatewayEnum1 = ClosedEnum<
|
|
814
|
+
typeof StackSettingsProviderGkeGatewayEnum1
|
|
815
|
+
>;
|
|
816
|
+
|
|
817
|
+
export type StackSettingsProviderGkeGateway1 = {
|
|
818
|
+
provider: StackSettingsProviderGkeGatewayEnum1;
|
|
819
|
+
/**
|
|
820
|
+
* Optional static address name for the Gateway frontend.
|
|
821
|
+
*/
|
|
822
|
+
staticAddressName?: string | null | undefined;
|
|
823
|
+
};
|
|
824
|
+
|
|
825
|
+
export const StackSettingsProviderAwsAlbEnum1 = {
|
|
826
|
+
AwsAlb: "awsAlb",
|
|
827
|
+
} as const;
|
|
828
|
+
export type StackSettingsProviderAwsAlbEnum1 = ClosedEnum<
|
|
829
|
+
typeof StackSettingsProviderAwsAlbEnum1
|
|
830
|
+
>;
|
|
831
|
+
|
|
832
|
+
export type StackSettingsProviderAwsAlb1 = {
|
|
833
|
+
/**
|
|
834
|
+
* Optional ALB IP address type, such as `dualstack`.
|
|
835
|
+
*/
|
|
836
|
+
ipAddressType?: string | null | undefined;
|
|
837
|
+
provider: StackSettingsProviderAwsAlbEnum1;
|
|
838
|
+
/**
|
|
839
|
+
* Internet-facing or internal ALB scheme.
|
|
840
|
+
*/
|
|
841
|
+
scheme: string;
|
|
842
|
+
/**
|
|
843
|
+
* Explicit subnet IDs when the profile cannot rely on controller discovery.
|
|
844
|
+
*/
|
|
845
|
+
subnetIds?: Array<string> | undefined;
|
|
846
|
+
/**
|
|
847
|
+
* ALB target type, usually `ip`.
|
|
848
|
+
*/
|
|
849
|
+
targetType: string;
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
export type StackSettingsProviderUnion1 =
|
|
853
|
+
| StackSettingsProviderAwsAlb1
|
|
854
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers1
|
|
855
|
+
| StackSettingsProviderGkeGateway1
|
|
856
|
+
| any;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Shared Ingress route profile values.
|
|
860
|
+
*/
|
|
861
|
+
export type StackSettingsRouteIngress1 = {
|
|
862
|
+
/**
|
|
863
|
+
* Annotations applied to route objects.
|
|
864
|
+
*/
|
|
865
|
+
annotations?: { [k: string]: string } | undefined;
|
|
866
|
+
/**
|
|
867
|
+
* Route controller identifier, for example `eks.amazonaws.com/alb`.
|
|
868
|
+
*/
|
|
869
|
+
controller?: string | null | undefined;
|
|
870
|
+
/**
|
|
871
|
+
* `spec.ingressClassName` for generated Ingresses.
|
|
872
|
+
*/
|
|
873
|
+
ingressClassName: string;
|
|
874
|
+
/**
|
|
875
|
+
* Labels applied to route objects.
|
|
876
|
+
*/
|
|
877
|
+
labels?: { [k: string]: string } | undefined;
|
|
878
|
+
provider?:
|
|
879
|
+
| StackSettingsProviderAwsAlb1
|
|
880
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers1
|
|
881
|
+
| StackSettingsProviderGkeGateway1
|
|
882
|
+
| any
|
|
883
|
+
| null
|
|
884
|
+
| undefined;
|
|
885
|
+
routeApi: "ingress";
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Kubernetes route API selected for public endpoints.
|
|
890
|
+
*/
|
|
891
|
+
export type StackSettingsRouteUnion1 =
|
|
892
|
+
| StackSettingsRouteIngress1
|
|
893
|
+
| StackSettingsRouteGateway1;
|
|
894
|
+
|
|
895
|
+
export type StackSettingsExposureGenerated = {
|
|
896
|
+
/**
|
|
897
|
+
* Certificate publication or reference mode for Kubernetes public endpoints.
|
|
898
|
+
*/
|
|
899
|
+
certificate:
|
|
900
|
+
| StackSettingsCertificateTLSSecretRef1
|
|
901
|
+
| StackSettingsCertificateManagedAcmImport1
|
|
902
|
+
| StackSettingsCertificateAwsAcmArn1
|
|
903
|
+
| StackSettingsCertificateManagedTLSSecret1
|
|
904
|
+
| StackSettingsCertificateNone1;
|
|
905
|
+
mode: StackSettingsModeGenerated;
|
|
906
|
+
/**
|
|
907
|
+
* Kubernetes route API selected for public endpoints.
|
|
908
|
+
*/
|
|
909
|
+
route: StackSettingsRouteIngress1 | StackSettingsRouteGateway1;
|
|
910
|
+
};
|
|
911
|
+
|
|
912
|
+
export const StackSettingsModeDisabled = {
|
|
913
|
+
Disabled: "disabled",
|
|
914
|
+
} as const;
|
|
915
|
+
export type StackSettingsModeDisabled = ClosedEnum<
|
|
916
|
+
typeof StackSettingsModeDisabled
|
|
917
|
+
>;
|
|
918
|
+
|
|
919
|
+
export type StackSettingsExposureDisabled = {
|
|
920
|
+
mode: StackSettingsModeDisabled;
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
export type StackSettingsExposureUnion =
|
|
924
|
+
| StackSettingsExposureCustom
|
|
925
|
+
| StackSettingsExposureGenerated
|
|
926
|
+
| StackSettingsExposureDisabled
|
|
927
|
+
| any;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* Kubernetes runtime substrate configuration.
|
|
931
|
+
*
|
|
932
|
+
* @remarks
|
|
933
|
+
*
|
|
934
|
+
* This controls how setup chooses the cluster backing `Platform::Kubernetes`
|
|
935
|
+
* deployments. When omitted, cloud-backed Kubernetes deployments default to a
|
|
936
|
+
* managed cluster and generic/on-prem Kubernetes defaults to an external
|
|
937
|
+
* cluster.
|
|
938
|
+
*/
|
|
939
|
+
export type StackSettingsKubernetes = {
|
|
940
|
+
cluster?: StackSettingsCluster | any | null | undefined;
|
|
941
|
+
exposure?:
|
|
942
|
+
| StackSettingsExposureCustom
|
|
943
|
+
| StackSettingsExposureGenerated
|
|
944
|
+
| StackSettingsExposureDisabled
|
|
945
|
+
| any
|
|
946
|
+
| null
|
|
947
|
+
| undefined;
|
|
948
|
+
};
|
|
949
|
+
|
|
950
|
+
export type StackSettingsKubernetesUnion = StackSettingsKubernetes | any;
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Application log handling for a deployment.
|
|
954
|
+
*/
|
|
955
|
+
export type StackSettingsLogs = {
|
|
956
|
+
/**
|
|
957
|
+
* Normalize severity fields from supported structured application logs into
|
|
958
|
+
*
|
|
959
|
+
* @remarks
|
|
960
|
+
* the OTLP severity fields. The original log body is preserved. Disabled by
|
|
961
|
+
* default.
|
|
962
|
+
*/
|
|
963
|
+
parseApplicationLevels?: boolean | undefined;
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
export type StackSettingsLogsUnion = StackSettingsLogs | any;
|
|
967
|
+
|
|
968
|
+
export const StackSettingsTypeByoVnetAzure = {
|
|
969
|
+
ByoVnetAzure: "byo-vnet-azure",
|
|
970
|
+
} as const;
|
|
971
|
+
export type StackSettingsTypeByoVnetAzure = ClosedEnum<
|
|
972
|
+
typeof StackSettingsTypeByoVnetAzure
|
|
973
|
+
>;
|
|
974
|
+
|
|
975
|
+
export type StackSettingsNetworkByoVnetAzure = {
|
|
976
|
+
/**
|
|
977
|
+
* Name of the dedicated classic Application Gateway subnet within the VNet.
|
|
978
|
+
*/
|
|
979
|
+
applicationGatewaySubnetName?: string | null | undefined;
|
|
980
|
+
/**
|
|
981
|
+
* Name of the dedicated subnet that hosts Private Endpoints (e.g. for a
|
|
982
|
+
*
|
|
983
|
+
* @remarks
|
|
984
|
+
* Postgres Flexible Server). A Private Endpoint must not share the private
|
|
985
|
+
* subnet, which is already claimed by the Container Apps environment's
|
|
986
|
+
* `infrastructure_subnet_id`. Required only when the stack contains a
|
|
987
|
+
* Postgres resource; otherwise unused.
|
|
988
|
+
*/
|
|
989
|
+
privateEndpointSubnetName?: string | null | undefined;
|
|
990
|
+
/**
|
|
991
|
+
* Name of the private subnet within the VNet
|
|
992
|
+
*/
|
|
993
|
+
privateSubnetName: string;
|
|
994
|
+
/**
|
|
995
|
+
* Name of the public subnet within the VNet
|
|
996
|
+
*/
|
|
997
|
+
publicSubnetName: string;
|
|
998
|
+
type: StackSettingsTypeByoVnetAzure;
|
|
999
|
+
/**
|
|
1000
|
+
* The full resource ID of the existing VNet
|
|
1001
|
+
*/
|
|
1002
|
+
vnetResourceId: string;
|
|
1003
|
+
};
|
|
1004
|
+
|
|
1005
|
+
export const StackSettingsTypeByoVpcGcp = {
|
|
1006
|
+
ByoVpcGcp: "byo-vpc-gcp",
|
|
1007
|
+
} as const;
|
|
1008
|
+
export type StackSettingsTypeByoVpcGcp = ClosedEnum<
|
|
1009
|
+
typeof StackSettingsTypeByoVpcGcp
|
|
1010
|
+
>;
|
|
1011
|
+
|
|
1012
|
+
export type StackSettingsNetworkByoVpcGcp = {
|
|
1013
|
+
/**
|
|
1014
|
+
* The name of the existing VPC network
|
|
1015
|
+
*/
|
|
1016
|
+
networkName: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* The region of the subnet
|
|
1019
|
+
*/
|
|
1020
|
+
region: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* The name of the subnet to use
|
|
1023
|
+
*/
|
|
1024
|
+
subnetName: string;
|
|
1025
|
+
type: StackSettingsTypeByoVpcGcp;
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
export const StackSettingsTypeByoVpcAws = {
|
|
1029
|
+
ByoVpcAws: "byo-vpc-aws",
|
|
1030
|
+
} as const;
|
|
1031
|
+
export type StackSettingsTypeByoVpcAws = ClosedEnum<
|
|
1032
|
+
typeof StackSettingsTypeByoVpcAws
|
|
1033
|
+
>;
|
|
1034
|
+
|
|
1035
|
+
export type StackSettingsNetworkByoVpcAws = {
|
|
1036
|
+
/**
|
|
1037
|
+
* IDs of private subnets
|
|
1038
|
+
*/
|
|
1039
|
+
privateSubnetIds: Array<string>;
|
|
1040
|
+
/**
|
|
1041
|
+
* IDs of public subnets (required for public ingress)
|
|
1042
|
+
*/
|
|
1043
|
+
publicSubnetIds: Array<string>;
|
|
1044
|
+
/**
|
|
1045
|
+
* Optional security group IDs to use
|
|
1046
|
+
*/
|
|
1047
|
+
securityGroupIds?: Array<string> | undefined;
|
|
1048
|
+
type: StackSettingsTypeByoVpcAws;
|
|
1049
|
+
/**
|
|
1050
|
+
* The ID of the existing VPC
|
|
1051
|
+
*/
|
|
1052
|
+
vpcId: string;
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
export const StackSettingsTypeCreate = {
|
|
1056
|
+
Create: "create",
|
|
1057
|
+
} as const;
|
|
1058
|
+
export type StackSettingsTypeCreate = ClosedEnum<
|
|
1059
|
+
typeof StackSettingsTypeCreate
|
|
1060
|
+
>;
|
|
1061
|
+
|
|
1062
|
+
export type StackSettingsNetworkCreate = {
|
|
1063
|
+
/**
|
|
1064
|
+
* Number of availability zones (default: 2).
|
|
1065
|
+
*/
|
|
1066
|
+
availabilityZones?: number | undefined;
|
|
1067
|
+
/**
|
|
1068
|
+
* VPC/VNet CIDR block. If not specified, auto-generated from stack ID
|
|
1069
|
+
*
|
|
1070
|
+
* @remarks
|
|
1071
|
+
* to reduce conflicts (e.g., "10.{hash}.0.0/16").
|
|
1072
|
+
*/
|
|
1073
|
+
cidr?: string | null | undefined;
|
|
1074
|
+
type: StackSettingsTypeCreate;
|
|
1075
|
+
};
|
|
1076
|
+
|
|
1077
|
+
export const StackSettingsTypeUseDefault = {
|
|
1078
|
+
UseDefault: "use-default",
|
|
1079
|
+
} as const;
|
|
1080
|
+
export type StackSettingsTypeUseDefault = ClosedEnum<
|
|
1081
|
+
typeof StackSettingsTypeUseDefault
|
|
1082
|
+
>;
|
|
1083
|
+
|
|
1084
|
+
export type StackSettingsNetworkUseDefault = {
|
|
1085
|
+
type: StackSettingsTypeUseDefault;
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
export type StackSettingsNetworkUnion =
|
|
1089
|
+
| StackSettingsNetworkByoVpcAws
|
|
1090
|
+
| StackSettingsNetworkByoVpcGcp
|
|
1091
|
+
| StackSettingsNetworkByoVnetAzure
|
|
1092
|
+
| StackSettingsNetworkUseDefault
|
|
1093
|
+
| StackSettingsNetworkCreate
|
|
1094
|
+
| any;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* How telemetry (logs, metrics, traces) is handled.
|
|
1098
|
+
*/
|
|
1099
|
+
export const StackSettingsTelemetry = {
|
|
1100
|
+
Off: "off",
|
|
1101
|
+
Auto: "auto",
|
|
1102
|
+
ApprovalRequired: "approval-required",
|
|
1103
|
+
} as const;
|
|
1104
|
+
/**
|
|
1105
|
+
* How telemetry (logs, metrics, traces) is handled.
|
|
1106
|
+
*/
|
|
1107
|
+
export type StackSettingsTelemetry = ClosedEnum<typeof StackSettingsTelemetry>;
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* How updates are delivered to the deployment.
|
|
1111
|
+
*/
|
|
1112
|
+
export const StackSettingsUpdates = {
|
|
1113
|
+
Auto: "auto",
|
|
1114
|
+
ApprovalRequired: "approval-required",
|
|
1115
|
+
} as const;
|
|
1116
|
+
/**
|
|
1117
|
+
* How updates are delivered to the deployment.
|
|
1118
|
+
*/
|
|
1119
|
+
export type StackSettingsUpdates = ClosedEnum<typeof StackSettingsUpdates>;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* User-customizable deployment settings specified at deploy time.
|
|
1123
|
+
*
|
|
1124
|
+
* @remarks
|
|
1125
|
+
*
|
|
1126
|
+
* These settings are provided by the customer via CloudFormation parameters,
|
|
1127
|
+
* Terraform attributes, CLI flags, or Helm values. They customize how the
|
|
1128
|
+
* deployment runs and what capabilities are enabled.
|
|
1129
|
+
*
|
|
1130
|
+
* **Key distinction**: StackSettings is user-customizable, while ManagementConfig
|
|
1131
|
+
* is platform-derived (from the Manager's ServiceAccount).
|
|
1132
|
+
*/
|
|
1133
|
+
export type StackSettings = {
|
|
1134
|
+
compute?: StackSettingsCompute | any | null | undefined;
|
|
1135
|
+
/**
|
|
1136
|
+
* Deployment model: how updates are delivered to the remote environment.
|
|
1137
|
+
*/
|
|
1138
|
+
deploymentModel?: StackSettingsDeploymentModel | undefined;
|
|
1139
|
+
domains?: StackSettingsDomains | any | null | undefined;
|
|
1140
|
+
/**
|
|
1141
|
+
* External bindings for pre-existing infrastructure.
|
|
1142
|
+
*
|
|
1143
|
+
* @remarks
|
|
1144
|
+
* Allows using existing resources (MinIO, Redis, shared Container Apps
|
|
1145
|
+
* Environment, etc.) instead of having Alien provision them.
|
|
1146
|
+
* Required for Kubernetes platform, optional for cloud platforms.
|
|
1147
|
+
*/
|
|
1148
|
+
externalBindings?: StackSettingsExternalBindings | null | undefined;
|
|
1149
|
+
/**
|
|
1150
|
+
* How heartbeat health checks are handled.
|
|
1151
|
+
*/
|
|
1152
|
+
heartbeats?: StackSettingsHeartbeats | undefined;
|
|
1153
|
+
kubernetes?: StackSettingsKubernetes | any | null | undefined;
|
|
1154
|
+
logs?: StackSettingsLogs | any | null | undefined;
|
|
1155
|
+
network?:
|
|
1156
|
+
| StackSettingsNetworkByoVpcAws
|
|
1157
|
+
| StackSettingsNetworkByoVpcGcp
|
|
1158
|
+
| StackSettingsNetworkByoVnetAzure
|
|
1159
|
+
| StackSettingsNetworkUseDefault
|
|
1160
|
+
| StackSettingsNetworkCreate
|
|
1161
|
+
| any
|
|
1162
|
+
| null
|
|
1163
|
+
| undefined;
|
|
1164
|
+
/**
|
|
1165
|
+
* Exact externally managed endpoint URLs, keyed by resource ID and endpoint name.
|
|
1166
|
+
*
|
|
1167
|
+
* @remarks
|
|
1168
|
+
*
|
|
1169
|
+
* This is intended for adopted Machines deployments whose DNS and certificates remain
|
|
1170
|
+
* customer-owned. The platform passes these URLs to the runtime without creating or
|
|
1171
|
+
* replacing DNS records or certificates.
|
|
1172
|
+
*/
|
|
1173
|
+
publicEndpoints?: { [k: string]: { [k: string]: string } } | null | undefined;
|
|
1174
|
+
/**
|
|
1175
|
+
* How telemetry (logs, metrics, traces) is handled.
|
|
1176
|
+
*/
|
|
1177
|
+
telemetry?: StackSettingsTelemetry | undefined;
|
|
1178
|
+
/**
|
|
1179
|
+
* How updates are delivered to the deployment.
|
|
1180
|
+
*/
|
|
1181
|
+
updates?: StackSettingsUpdates | undefined;
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
/** @internal */
|
|
1185
|
+
export type StackSettingsFailureDomains2$Outbound = {
|
|
1186
|
+
selectedFailureDomains?: Array<string> | undefined;
|
|
1187
|
+
spread: number;
|
|
1188
|
+
};
|
|
1189
|
+
|
|
1190
|
+
/** @internal */
|
|
1191
|
+
export const StackSettingsFailureDomains2$outboundSchema: z.ZodType<
|
|
1192
|
+
StackSettingsFailureDomains2$Outbound,
|
|
1193
|
+
StackSettingsFailureDomains2
|
|
1194
|
+
> = z.object({
|
|
1195
|
+
selectedFailureDomains: z.array(z.string()).optional(),
|
|
1196
|
+
spread: z.int(),
|
|
1197
|
+
});
|
|
1198
|
+
|
|
1199
|
+
export function stackSettingsFailureDomains2ToJSON(
|
|
1200
|
+
stackSettingsFailureDomains2: StackSettingsFailureDomains2,
|
|
1201
|
+
): string {
|
|
1202
|
+
return JSON.stringify(
|
|
1203
|
+
StackSettingsFailureDomains2$outboundSchema.parse(
|
|
1204
|
+
stackSettingsFailureDomains2,
|
|
1205
|
+
),
|
|
1206
|
+
);
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
/** @internal */
|
|
1210
|
+
export type StackSettingsFailureDomainsUnion2$Outbound =
|
|
1211
|
+
| StackSettingsFailureDomains2$Outbound
|
|
1212
|
+
| any;
|
|
1213
|
+
|
|
1214
|
+
/** @internal */
|
|
1215
|
+
export const StackSettingsFailureDomainsUnion2$outboundSchema: z.ZodType<
|
|
1216
|
+
StackSettingsFailureDomainsUnion2$Outbound,
|
|
1217
|
+
StackSettingsFailureDomainsUnion2
|
|
1218
|
+
> = z.union([
|
|
1219
|
+
z.lazy(() => StackSettingsFailureDomains2$outboundSchema),
|
|
1220
|
+
z.any(),
|
|
1221
|
+
]);
|
|
1222
|
+
|
|
1223
|
+
export function stackSettingsFailureDomainsUnion2ToJSON(
|
|
1224
|
+
stackSettingsFailureDomainsUnion2: StackSettingsFailureDomainsUnion2,
|
|
1225
|
+
): string {
|
|
1226
|
+
return JSON.stringify(
|
|
1227
|
+
StackSettingsFailureDomainsUnion2$outboundSchema.parse(
|
|
1228
|
+
stackSettingsFailureDomainsUnion2,
|
|
1229
|
+
),
|
|
1230
|
+
);
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
/** @internal */
|
|
1234
|
+
export type StackSettingsPoolsAutoscale$Outbound = {
|
|
1235
|
+
failure_domains?:
|
|
1236
|
+
| StackSettingsFailureDomains2$Outbound
|
|
1237
|
+
| any
|
|
1238
|
+
| null
|
|
1239
|
+
| undefined;
|
|
1240
|
+
machine?: string | null | undefined;
|
|
1241
|
+
max: number;
|
|
1242
|
+
min: number;
|
|
1243
|
+
mode: "autoscale";
|
|
1244
|
+
};
|
|
1245
|
+
|
|
1246
|
+
/** @internal */
|
|
1247
|
+
export const StackSettingsPoolsAutoscale$outboundSchema: z.ZodType<
|
|
1248
|
+
StackSettingsPoolsAutoscale$Outbound,
|
|
1249
|
+
StackSettingsPoolsAutoscale
|
|
1250
|
+
> = z.object({
|
|
1251
|
+
failureDomains: z.nullable(
|
|
1252
|
+
z.union([
|
|
1253
|
+
z.lazy(() => StackSettingsFailureDomains2$outboundSchema),
|
|
1254
|
+
z.any(),
|
|
1255
|
+
]),
|
|
1256
|
+
).optional(),
|
|
1257
|
+
machine: z.nullable(z.string()).optional(),
|
|
1258
|
+
max: z.int(),
|
|
1259
|
+
min: z.int(),
|
|
1260
|
+
mode: z.literal("autoscale"),
|
|
1261
|
+
}).transform((v) => {
|
|
1262
|
+
return remap$(v, {
|
|
1263
|
+
failureDomains: "failure_domains",
|
|
1264
|
+
});
|
|
1265
|
+
});
|
|
1266
|
+
|
|
1267
|
+
export function stackSettingsPoolsAutoscaleToJSON(
|
|
1268
|
+
stackSettingsPoolsAutoscale: StackSettingsPoolsAutoscale,
|
|
1269
|
+
): string {
|
|
1270
|
+
return JSON.stringify(
|
|
1271
|
+
StackSettingsPoolsAutoscale$outboundSchema.parse(
|
|
1272
|
+
stackSettingsPoolsAutoscale,
|
|
1273
|
+
),
|
|
1274
|
+
);
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/** @internal */
|
|
1278
|
+
export type StackSettingsFailureDomains1$Outbound = {
|
|
1279
|
+
selectedFailureDomains?: Array<string> | undefined;
|
|
1280
|
+
spread: number;
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1283
|
+
/** @internal */
|
|
1284
|
+
export const StackSettingsFailureDomains1$outboundSchema: z.ZodType<
|
|
1285
|
+
StackSettingsFailureDomains1$Outbound,
|
|
1286
|
+
StackSettingsFailureDomains1
|
|
1287
|
+
> = z.object({
|
|
1288
|
+
selectedFailureDomains: z.array(z.string()).optional(),
|
|
1289
|
+
spread: z.int(),
|
|
1290
|
+
});
|
|
1291
|
+
|
|
1292
|
+
export function stackSettingsFailureDomains1ToJSON(
|
|
1293
|
+
stackSettingsFailureDomains1: StackSettingsFailureDomains1,
|
|
1294
|
+
): string {
|
|
1295
|
+
return JSON.stringify(
|
|
1296
|
+
StackSettingsFailureDomains1$outboundSchema.parse(
|
|
1297
|
+
stackSettingsFailureDomains1,
|
|
1298
|
+
),
|
|
1299
|
+
);
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
/** @internal */
|
|
1303
|
+
export type StackSettingsFailureDomainsUnion1$Outbound =
|
|
1304
|
+
| StackSettingsFailureDomains1$Outbound
|
|
1305
|
+
| any;
|
|
1306
|
+
|
|
1307
|
+
/** @internal */
|
|
1308
|
+
export const StackSettingsFailureDomainsUnion1$outboundSchema: z.ZodType<
|
|
1309
|
+
StackSettingsFailureDomainsUnion1$Outbound,
|
|
1310
|
+
StackSettingsFailureDomainsUnion1
|
|
1311
|
+
> = z.union([
|
|
1312
|
+
z.lazy(() => StackSettingsFailureDomains1$outboundSchema),
|
|
1313
|
+
z.any(),
|
|
1314
|
+
]);
|
|
1315
|
+
|
|
1316
|
+
export function stackSettingsFailureDomainsUnion1ToJSON(
|
|
1317
|
+
stackSettingsFailureDomainsUnion1: StackSettingsFailureDomainsUnion1,
|
|
1318
|
+
): string {
|
|
1319
|
+
return JSON.stringify(
|
|
1320
|
+
StackSettingsFailureDomainsUnion1$outboundSchema.parse(
|
|
1321
|
+
stackSettingsFailureDomainsUnion1,
|
|
1322
|
+
),
|
|
1323
|
+
);
|
|
1324
|
+
}
|
|
1325
|
+
|
|
1326
|
+
/** @internal */
|
|
1327
|
+
export type StackSettingsPoolsFixed$Outbound = {
|
|
1328
|
+
failure_domains?:
|
|
1329
|
+
| StackSettingsFailureDomains1$Outbound
|
|
1330
|
+
| any
|
|
1331
|
+
| null
|
|
1332
|
+
| undefined;
|
|
1333
|
+
machine?: string | null | undefined;
|
|
1334
|
+
machines: number;
|
|
1335
|
+
mode: "fixed";
|
|
1336
|
+
};
|
|
1337
|
+
|
|
1338
|
+
/** @internal */
|
|
1339
|
+
export const StackSettingsPoolsFixed$outboundSchema: z.ZodType<
|
|
1340
|
+
StackSettingsPoolsFixed$Outbound,
|
|
1341
|
+
StackSettingsPoolsFixed
|
|
1342
|
+
> = z.object({
|
|
1343
|
+
failureDomains: z.nullable(
|
|
1344
|
+
z.union([
|
|
1345
|
+
z.lazy(() => StackSettingsFailureDomains1$outboundSchema),
|
|
1346
|
+
z.any(),
|
|
1347
|
+
]),
|
|
1348
|
+
).optional(),
|
|
1349
|
+
machine: z.nullable(z.string()).optional(),
|
|
1350
|
+
machines: z.int(),
|
|
1351
|
+
mode: z.literal("fixed"),
|
|
1352
|
+
}).transform((v) => {
|
|
1353
|
+
return remap$(v, {
|
|
1354
|
+
failureDomains: "failure_domains",
|
|
1355
|
+
});
|
|
1356
|
+
});
|
|
1357
|
+
|
|
1358
|
+
export function stackSettingsPoolsFixedToJSON(
|
|
1359
|
+
stackSettingsPoolsFixed: StackSettingsPoolsFixed,
|
|
1360
|
+
): string {
|
|
1361
|
+
return JSON.stringify(
|
|
1362
|
+
StackSettingsPoolsFixed$outboundSchema.parse(stackSettingsPoolsFixed),
|
|
1363
|
+
);
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
/** @internal */
|
|
1367
|
+
export type StackSettingsPoolsUnion$Outbound =
|
|
1368
|
+
| StackSettingsPoolsFixed$Outbound
|
|
1369
|
+
| StackSettingsPoolsAutoscale$Outbound;
|
|
1370
|
+
|
|
1371
|
+
/** @internal */
|
|
1372
|
+
export const StackSettingsPoolsUnion$outboundSchema: z.ZodType<
|
|
1373
|
+
StackSettingsPoolsUnion$Outbound,
|
|
1374
|
+
StackSettingsPoolsUnion
|
|
1375
|
+
> = z.union([
|
|
1376
|
+
z.lazy(() => StackSettingsPoolsFixed$outboundSchema),
|
|
1377
|
+
z.lazy(() => StackSettingsPoolsAutoscale$outboundSchema),
|
|
1378
|
+
]);
|
|
1379
|
+
|
|
1380
|
+
export function stackSettingsPoolsUnionToJSON(
|
|
1381
|
+
stackSettingsPoolsUnion: StackSettingsPoolsUnion,
|
|
1382
|
+
): string {
|
|
1383
|
+
return JSON.stringify(
|
|
1384
|
+
StackSettingsPoolsUnion$outboundSchema.parse(stackSettingsPoolsUnion),
|
|
1385
|
+
);
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
/** @internal */
|
|
1389
|
+
export type StackSettingsCompute$Outbound = {
|
|
1390
|
+
pools?: {
|
|
1391
|
+
[k: string]:
|
|
1392
|
+
| StackSettingsPoolsFixed$Outbound
|
|
1393
|
+
| StackSettingsPoolsAutoscale$Outbound;
|
|
1394
|
+
} | undefined;
|
|
1395
|
+
};
|
|
1396
|
+
|
|
1397
|
+
/** @internal */
|
|
1398
|
+
export const StackSettingsCompute$outboundSchema: z.ZodType<
|
|
1399
|
+
StackSettingsCompute$Outbound,
|
|
1400
|
+
StackSettingsCompute
|
|
1401
|
+
> = z.object({
|
|
1402
|
+
pools: z.record(
|
|
1403
|
+
z.string(),
|
|
1404
|
+
z.union([
|
|
1405
|
+
z.lazy(() => StackSettingsPoolsFixed$outboundSchema),
|
|
1406
|
+
z.lazy(() => StackSettingsPoolsAutoscale$outboundSchema),
|
|
1407
|
+
]),
|
|
1408
|
+
).optional(),
|
|
1409
|
+
});
|
|
1410
|
+
|
|
1411
|
+
export function stackSettingsComputeToJSON(
|
|
1412
|
+
stackSettingsCompute: StackSettingsCompute,
|
|
1413
|
+
): string {
|
|
1414
|
+
return JSON.stringify(
|
|
1415
|
+
StackSettingsCompute$outboundSchema.parse(stackSettingsCompute),
|
|
1416
|
+
);
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
/** @internal */
|
|
1420
|
+
export type StackSettingsComputeUnion$Outbound =
|
|
1421
|
+
| StackSettingsCompute$Outbound
|
|
1422
|
+
| any;
|
|
1423
|
+
|
|
1424
|
+
/** @internal */
|
|
1425
|
+
export const StackSettingsComputeUnion$outboundSchema: z.ZodType<
|
|
1426
|
+
StackSettingsComputeUnion$Outbound,
|
|
1427
|
+
StackSettingsComputeUnion
|
|
1428
|
+
> = z.union([z.lazy(() => StackSettingsCompute$outboundSchema), z.any()]);
|
|
1429
|
+
|
|
1430
|
+
export function stackSettingsComputeUnionToJSON(
|
|
1431
|
+
stackSettingsComputeUnion: StackSettingsComputeUnion,
|
|
1432
|
+
): string {
|
|
1433
|
+
return JSON.stringify(
|
|
1434
|
+
StackSettingsComputeUnion$outboundSchema.parse(stackSettingsComputeUnion),
|
|
1435
|
+
);
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
/** @internal */
|
|
1439
|
+
export const StackSettingsDeploymentModel$outboundSchema: z.ZodEnum<
|
|
1440
|
+
typeof StackSettingsDeploymentModel
|
|
1441
|
+
> = z.enum(StackSettingsDeploymentModel);
|
|
1442
|
+
|
|
1443
|
+
/** @internal */
|
|
1444
|
+
export type StackSettingsAws$Outbound = {
|
|
1445
|
+
certificateArn: string;
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
/** @internal */
|
|
1449
|
+
export const StackSettingsAws$outboundSchema: z.ZodType<
|
|
1450
|
+
StackSettingsAws$Outbound,
|
|
1451
|
+
StackSettingsAws
|
|
1452
|
+
> = z.object({
|
|
1453
|
+
certificateArn: z.string(),
|
|
1454
|
+
});
|
|
1455
|
+
|
|
1456
|
+
export function stackSettingsAwsToJSON(
|
|
1457
|
+
stackSettingsAws: StackSettingsAws,
|
|
1458
|
+
): string {
|
|
1459
|
+
return JSON.stringify(
|
|
1460
|
+
StackSettingsAws$outboundSchema.parse(stackSettingsAws),
|
|
1461
|
+
);
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
/** @internal */
|
|
1465
|
+
export type StackSettingsAwsUnion$Outbound = StackSettingsAws$Outbound | any;
|
|
1466
|
+
|
|
1467
|
+
/** @internal */
|
|
1468
|
+
export const StackSettingsAwsUnion$outboundSchema: z.ZodType<
|
|
1469
|
+
StackSettingsAwsUnion$Outbound,
|
|
1470
|
+
StackSettingsAwsUnion
|
|
1471
|
+
> = z.union([z.lazy(() => StackSettingsAws$outboundSchema), z.any()]);
|
|
1472
|
+
|
|
1473
|
+
export function stackSettingsAwsUnionToJSON(
|
|
1474
|
+
stackSettingsAwsUnion: StackSettingsAwsUnion,
|
|
1475
|
+
): string {
|
|
1476
|
+
return JSON.stringify(
|
|
1477
|
+
StackSettingsAwsUnion$outboundSchema.parse(stackSettingsAwsUnion),
|
|
1478
|
+
);
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
/** @internal */
|
|
1482
|
+
export type StackSettingsAzure$Outbound = {
|
|
1483
|
+
keyVaultCertificateId: string;
|
|
1484
|
+
keyVaultResourceId?: string | null | undefined;
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
/** @internal */
|
|
1488
|
+
export const StackSettingsAzure$outboundSchema: z.ZodType<
|
|
1489
|
+
StackSettingsAzure$Outbound,
|
|
1490
|
+
StackSettingsAzure
|
|
1491
|
+
> = z.object({
|
|
1492
|
+
keyVaultCertificateId: z.string(),
|
|
1493
|
+
keyVaultResourceId: z.nullable(z.string()).optional(),
|
|
1494
|
+
});
|
|
1495
|
+
|
|
1496
|
+
export function stackSettingsAzureToJSON(
|
|
1497
|
+
stackSettingsAzure: StackSettingsAzure,
|
|
1498
|
+
): string {
|
|
1499
|
+
return JSON.stringify(
|
|
1500
|
+
StackSettingsAzure$outboundSchema.parse(stackSettingsAzure),
|
|
1501
|
+
);
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
/** @internal */
|
|
1505
|
+
export type StackSettingsAzureUnion$Outbound =
|
|
1506
|
+
| StackSettingsAzure$Outbound
|
|
1507
|
+
| any;
|
|
1508
|
+
|
|
1509
|
+
/** @internal */
|
|
1510
|
+
export const StackSettingsAzureUnion$outboundSchema: z.ZodType<
|
|
1511
|
+
StackSettingsAzureUnion$Outbound,
|
|
1512
|
+
StackSettingsAzureUnion
|
|
1513
|
+
> = z.union([z.lazy(() => StackSettingsAzure$outboundSchema), z.any()]);
|
|
1514
|
+
|
|
1515
|
+
export function stackSettingsAzureUnionToJSON(
|
|
1516
|
+
stackSettingsAzureUnion: StackSettingsAzureUnion,
|
|
1517
|
+
): string {
|
|
1518
|
+
return JSON.stringify(
|
|
1519
|
+
StackSettingsAzureUnion$outboundSchema.parse(stackSettingsAzureUnion),
|
|
1520
|
+
);
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
/** @internal */
|
|
1524
|
+
export type StackSettingsGcp$Outbound = {
|
|
1525
|
+
certificateName: string;
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
/** @internal */
|
|
1529
|
+
export const StackSettingsGcp$outboundSchema: z.ZodType<
|
|
1530
|
+
StackSettingsGcp$Outbound,
|
|
1531
|
+
StackSettingsGcp
|
|
1532
|
+
> = z.object({
|
|
1533
|
+
certificateName: z.string(),
|
|
1534
|
+
});
|
|
1535
|
+
|
|
1536
|
+
export function stackSettingsGcpToJSON(
|
|
1537
|
+
stackSettingsGcp: StackSettingsGcp,
|
|
1538
|
+
): string {
|
|
1539
|
+
return JSON.stringify(
|
|
1540
|
+
StackSettingsGcp$outboundSchema.parse(stackSettingsGcp),
|
|
1541
|
+
);
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
/** @internal */
|
|
1545
|
+
export type StackSettingsGcpUnion$Outbound = StackSettingsGcp$Outbound | any;
|
|
1546
|
+
|
|
1547
|
+
/** @internal */
|
|
1548
|
+
export const StackSettingsGcpUnion$outboundSchema: z.ZodType<
|
|
1549
|
+
StackSettingsGcpUnion$Outbound,
|
|
1550
|
+
StackSettingsGcpUnion
|
|
1551
|
+
> = z.union([z.lazy(() => StackSettingsGcp$outboundSchema), z.any()]);
|
|
1552
|
+
|
|
1553
|
+
export function stackSettingsGcpUnionToJSON(
|
|
1554
|
+
stackSettingsGcpUnion: StackSettingsGcpUnion,
|
|
1555
|
+
): string {
|
|
1556
|
+
return JSON.stringify(
|
|
1557
|
+
StackSettingsGcpUnion$outboundSchema.parse(stackSettingsGcpUnion),
|
|
1558
|
+
);
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
/** @internal */
|
|
1562
|
+
export type StackSettingsTlsSecretRef$Outbound = {
|
|
1563
|
+
namespace?: string | null | undefined;
|
|
1564
|
+
secretName: string;
|
|
1565
|
+
};
|
|
1566
|
+
|
|
1567
|
+
/** @internal */
|
|
1568
|
+
export const StackSettingsTlsSecretRef$outboundSchema: z.ZodType<
|
|
1569
|
+
StackSettingsTlsSecretRef$Outbound,
|
|
1570
|
+
StackSettingsTlsSecretRef
|
|
1571
|
+
> = z.object({
|
|
1572
|
+
namespace: z.nullable(z.string()).optional(),
|
|
1573
|
+
secretName: z.string(),
|
|
1574
|
+
});
|
|
1575
|
+
|
|
1576
|
+
export function stackSettingsTlsSecretRefToJSON(
|
|
1577
|
+
stackSettingsTlsSecretRef: StackSettingsTlsSecretRef,
|
|
1578
|
+
): string {
|
|
1579
|
+
return JSON.stringify(
|
|
1580
|
+
StackSettingsTlsSecretRef$outboundSchema.parse(stackSettingsTlsSecretRef),
|
|
1581
|
+
);
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
/** @internal */
|
|
1585
|
+
export type StackSettingsDomainsKubernetes$Outbound = {
|
|
1586
|
+
tlsSecretRef: StackSettingsTlsSecretRef$Outbound;
|
|
1587
|
+
};
|
|
1588
|
+
|
|
1589
|
+
/** @internal */
|
|
1590
|
+
export const StackSettingsDomainsKubernetes$outboundSchema: z.ZodType<
|
|
1591
|
+
StackSettingsDomainsKubernetes$Outbound,
|
|
1592
|
+
StackSettingsDomainsKubernetes
|
|
1593
|
+
> = z.object({
|
|
1594
|
+
tlsSecretRef: z.lazy(() => StackSettingsTlsSecretRef$outboundSchema),
|
|
1595
|
+
});
|
|
1596
|
+
|
|
1597
|
+
export function stackSettingsDomainsKubernetesToJSON(
|
|
1598
|
+
stackSettingsDomainsKubernetes: StackSettingsDomainsKubernetes,
|
|
1599
|
+
): string {
|
|
1600
|
+
return JSON.stringify(
|
|
1601
|
+
StackSettingsDomainsKubernetes$outboundSchema.parse(
|
|
1602
|
+
stackSettingsDomainsKubernetes,
|
|
1603
|
+
),
|
|
1604
|
+
);
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
/** @internal */
|
|
1608
|
+
export type StackSettingsDomainsKubernetesUnion$Outbound =
|
|
1609
|
+
| StackSettingsDomainsKubernetes$Outbound
|
|
1610
|
+
| any;
|
|
1611
|
+
|
|
1612
|
+
/** @internal */
|
|
1613
|
+
export const StackSettingsDomainsKubernetesUnion$outboundSchema: z.ZodType<
|
|
1614
|
+
StackSettingsDomainsKubernetesUnion$Outbound,
|
|
1615
|
+
StackSettingsDomainsKubernetesUnion
|
|
1616
|
+
> = z.union([
|
|
1617
|
+
z.lazy(() => StackSettingsDomainsKubernetes$outboundSchema),
|
|
1618
|
+
z.any(),
|
|
1619
|
+
]);
|
|
1620
|
+
|
|
1621
|
+
export function stackSettingsDomainsKubernetesUnionToJSON(
|
|
1622
|
+
stackSettingsDomainsKubernetesUnion: StackSettingsDomainsKubernetesUnion,
|
|
1623
|
+
): string {
|
|
1624
|
+
return JSON.stringify(
|
|
1625
|
+
StackSettingsDomainsKubernetesUnion$outboundSchema.parse(
|
|
1626
|
+
stackSettingsDomainsKubernetesUnion,
|
|
1627
|
+
),
|
|
1628
|
+
);
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
/** @internal */
|
|
1632
|
+
export type StackSettingsDomainsCertificate$Outbound = {
|
|
1633
|
+
aws?: StackSettingsAws$Outbound | any | null | undefined;
|
|
1634
|
+
azure?: StackSettingsAzure$Outbound | any | null | undefined;
|
|
1635
|
+
gcp?: StackSettingsGcp$Outbound | any | null | undefined;
|
|
1636
|
+
kubernetes?: StackSettingsDomainsKubernetes$Outbound | any | null | undefined;
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
/** @internal */
|
|
1640
|
+
export const StackSettingsDomainsCertificate$outboundSchema: z.ZodType<
|
|
1641
|
+
StackSettingsDomainsCertificate$Outbound,
|
|
1642
|
+
StackSettingsDomainsCertificate
|
|
1643
|
+
> = z.object({
|
|
1644
|
+
aws: z.nullable(
|
|
1645
|
+
z.union([z.lazy(() => StackSettingsAws$outboundSchema), z.any()]),
|
|
1646
|
+
).optional(),
|
|
1647
|
+
azure: z.nullable(
|
|
1648
|
+
z.union([z.lazy(() => StackSettingsAzure$outboundSchema), z.any()]),
|
|
1649
|
+
).optional(),
|
|
1650
|
+
gcp: z.nullable(
|
|
1651
|
+
z.union([z.lazy(() => StackSettingsGcp$outboundSchema), z.any()]),
|
|
1652
|
+
).optional(),
|
|
1653
|
+
kubernetes: z.nullable(
|
|
1654
|
+
z.union([
|
|
1655
|
+
z.lazy(() => StackSettingsDomainsKubernetes$outboundSchema),
|
|
1656
|
+
z.any(),
|
|
1657
|
+
]),
|
|
1658
|
+
).optional(),
|
|
1659
|
+
});
|
|
1660
|
+
|
|
1661
|
+
export function stackSettingsDomainsCertificateToJSON(
|
|
1662
|
+
stackSettingsDomainsCertificate: StackSettingsDomainsCertificate,
|
|
1663
|
+
): string {
|
|
1664
|
+
return JSON.stringify(
|
|
1665
|
+
StackSettingsDomainsCertificate$outboundSchema.parse(
|
|
1666
|
+
stackSettingsDomainsCertificate,
|
|
1667
|
+
),
|
|
1668
|
+
);
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
/** @internal */
|
|
1672
|
+
export type StackSettingsCustomDomains$Outbound = {
|
|
1673
|
+
certificate: StackSettingsDomainsCertificate$Outbound;
|
|
1674
|
+
domain: string;
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1677
|
+
/** @internal */
|
|
1678
|
+
export const StackSettingsCustomDomains$outboundSchema: z.ZodType<
|
|
1679
|
+
StackSettingsCustomDomains$Outbound,
|
|
1680
|
+
StackSettingsCustomDomains
|
|
1681
|
+
> = z.object({
|
|
1682
|
+
certificate: z.lazy(() => StackSettingsDomainsCertificate$outboundSchema),
|
|
1683
|
+
domain: z.string(),
|
|
1684
|
+
});
|
|
1685
|
+
|
|
1686
|
+
export function stackSettingsCustomDomainsToJSON(
|
|
1687
|
+
stackSettingsCustomDomains: StackSettingsCustomDomains,
|
|
1688
|
+
): string {
|
|
1689
|
+
return JSON.stringify(
|
|
1690
|
+
StackSettingsCustomDomains$outboundSchema.parse(stackSettingsCustomDomains),
|
|
1691
|
+
);
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
/** @internal */
|
|
1695
|
+
export const StackSettingsModeLoadBalancer$outboundSchema: z.ZodEnum<
|
|
1696
|
+
typeof StackSettingsModeLoadBalancer
|
|
1697
|
+
> = z.enum(StackSettingsModeLoadBalancer);
|
|
1698
|
+
|
|
1699
|
+
/** @internal */
|
|
1700
|
+
export type StackSettingsPublicEndpointTargetLoadBalancer$Outbound = {
|
|
1701
|
+
cnameTarget: string;
|
|
1702
|
+
mode: string;
|
|
1703
|
+
};
|
|
1704
|
+
|
|
1705
|
+
/** @internal */
|
|
1706
|
+
export const StackSettingsPublicEndpointTargetLoadBalancer$outboundSchema:
|
|
1707
|
+
z.ZodType<
|
|
1708
|
+
StackSettingsPublicEndpointTargetLoadBalancer$Outbound,
|
|
1709
|
+
StackSettingsPublicEndpointTargetLoadBalancer
|
|
1710
|
+
> = z.object({
|
|
1711
|
+
cnameTarget: z.string(),
|
|
1712
|
+
mode: StackSettingsModeLoadBalancer$outboundSchema,
|
|
1713
|
+
});
|
|
1714
|
+
|
|
1715
|
+
export function stackSettingsPublicEndpointTargetLoadBalancerToJSON(
|
|
1716
|
+
stackSettingsPublicEndpointTargetLoadBalancer:
|
|
1717
|
+
StackSettingsPublicEndpointTargetLoadBalancer,
|
|
1718
|
+
): string {
|
|
1719
|
+
return JSON.stringify(
|
|
1720
|
+
StackSettingsPublicEndpointTargetLoadBalancer$outboundSchema.parse(
|
|
1721
|
+
stackSettingsPublicEndpointTargetLoadBalancer,
|
|
1722
|
+
),
|
|
1723
|
+
);
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
/** @internal */
|
|
1727
|
+
export const StackSettingsModeMachineAddresses$outboundSchema: z.ZodEnum<
|
|
1728
|
+
typeof StackSettingsModeMachineAddresses
|
|
1729
|
+
> = z.enum(StackSettingsModeMachineAddresses);
|
|
1730
|
+
|
|
1731
|
+
/** @internal */
|
|
1732
|
+
export type StackSettingsPublicEndpointTargetMachineAddresses$Outbound = {
|
|
1733
|
+
mode: string;
|
|
1734
|
+
};
|
|
1735
|
+
|
|
1736
|
+
/** @internal */
|
|
1737
|
+
export const StackSettingsPublicEndpointTargetMachineAddresses$outboundSchema:
|
|
1738
|
+
z.ZodType<
|
|
1739
|
+
StackSettingsPublicEndpointTargetMachineAddresses$Outbound,
|
|
1740
|
+
StackSettingsPublicEndpointTargetMachineAddresses
|
|
1741
|
+
> = z.object({
|
|
1742
|
+
mode: StackSettingsModeMachineAddresses$outboundSchema,
|
|
1743
|
+
});
|
|
1744
|
+
|
|
1745
|
+
export function stackSettingsPublicEndpointTargetMachineAddressesToJSON(
|
|
1746
|
+
stackSettingsPublicEndpointTargetMachineAddresses:
|
|
1747
|
+
StackSettingsPublicEndpointTargetMachineAddresses,
|
|
1748
|
+
): string {
|
|
1749
|
+
return JSON.stringify(
|
|
1750
|
+
StackSettingsPublicEndpointTargetMachineAddresses$outboundSchema.parse(
|
|
1751
|
+
stackSettingsPublicEndpointTargetMachineAddresses,
|
|
1752
|
+
),
|
|
1753
|
+
);
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
/** @internal */
|
|
1757
|
+
export type StackSettingsPublicEndpointTargetUnion$Outbound =
|
|
1758
|
+
| StackSettingsPublicEndpointTargetLoadBalancer$Outbound
|
|
1759
|
+
| StackSettingsPublicEndpointTargetMachineAddresses$Outbound
|
|
1760
|
+
| any;
|
|
1761
|
+
|
|
1762
|
+
/** @internal */
|
|
1763
|
+
export const StackSettingsPublicEndpointTargetUnion$outboundSchema: z.ZodType<
|
|
1764
|
+
StackSettingsPublicEndpointTargetUnion$Outbound,
|
|
1765
|
+
StackSettingsPublicEndpointTargetUnion
|
|
1766
|
+
> = z.union([
|
|
1767
|
+
z.lazy(() => StackSettingsPublicEndpointTargetLoadBalancer$outboundSchema),
|
|
1768
|
+
z.lazy(() =>
|
|
1769
|
+
StackSettingsPublicEndpointTargetMachineAddresses$outboundSchema
|
|
1770
|
+
),
|
|
1771
|
+
z.any(),
|
|
1772
|
+
]);
|
|
1773
|
+
|
|
1774
|
+
export function stackSettingsPublicEndpointTargetUnionToJSON(
|
|
1775
|
+
stackSettingsPublicEndpointTargetUnion:
|
|
1776
|
+
StackSettingsPublicEndpointTargetUnion,
|
|
1777
|
+
): string {
|
|
1778
|
+
return JSON.stringify(
|
|
1779
|
+
StackSettingsPublicEndpointTargetUnion$outboundSchema.parse(
|
|
1780
|
+
stackSettingsPublicEndpointTargetUnion,
|
|
1781
|
+
),
|
|
1782
|
+
);
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
/** @internal */
|
|
1786
|
+
export type StackSettingsDomains$Outbound = {
|
|
1787
|
+
customDomains?:
|
|
1788
|
+
| { [k: string]: StackSettingsCustomDomains$Outbound }
|
|
1789
|
+
| null
|
|
1790
|
+
| undefined;
|
|
1791
|
+
publicEndpointTarget?:
|
|
1792
|
+
| StackSettingsPublicEndpointTargetLoadBalancer$Outbound
|
|
1793
|
+
| StackSettingsPublicEndpointTargetMachineAddresses$Outbound
|
|
1794
|
+
| any
|
|
1795
|
+
| null
|
|
1796
|
+
| undefined;
|
|
1797
|
+
};
|
|
1798
|
+
|
|
1799
|
+
/** @internal */
|
|
1800
|
+
export const StackSettingsDomains$outboundSchema: z.ZodType<
|
|
1801
|
+
StackSettingsDomains$Outbound,
|
|
1802
|
+
StackSettingsDomains
|
|
1803
|
+
> = z.object({
|
|
1804
|
+
customDomains: z.nullable(
|
|
1805
|
+
z.record(
|
|
1806
|
+
z.string(),
|
|
1807
|
+
z.lazy(() => StackSettingsCustomDomains$outboundSchema),
|
|
1808
|
+
),
|
|
1809
|
+
).optional(),
|
|
1810
|
+
publicEndpointTarget: z.nullable(
|
|
1811
|
+
z.union([
|
|
1812
|
+
z.lazy(() =>
|
|
1813
|
+
StackSettingsPublicEndpointTargetLoadBalancer$outboundSchema
|
|
1814
|
+
),
|
|
1815
|
+
z.lazy(() =>
|
|
1816
|
+
StackSettingsPublicEndpointTargetMachineAddresses$outboundSchema
|
|
1817
|
+
),
|
|
1818
|
+
z.any(),
|
|
1819
|
+
]),
|
|
1820
|
+
).optional(),
|
|
1821
|
+
});
|
|
1822
|
+
|
|
1823
|
+
export function stackSettingsDomainsToJSON(
|
|
1824
|
+
stackSettingsDomains: StackSettingsDomains,
|
|
1825
|
+
): string {
|
|
1826
|
+
return JSON.stringify(
|
|
1827
|
+
StackSettingsDomains$outboundSchema.parse(stackSettingsDomains),
|
|
1828
|
+
);
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
/** @internal */
|
|
1832
|
+
export type StackSettingsDomainsUnion$Outbound =
|
|
1833
|
+
| StackSettingsDomains$Outbound
|
|
1834
|
+
| any;
|
|
1835
|
+
|
|
1836
|
+
/** @internal */
|
|
1837
|
+
export const StackSettingsDomainsUnion$outboundSchema: z.ZodType<
|
|
1838
|
+
StackSettingsDomainsUnion$Outbound,
|
|
1839
|
+
StackSettingsDomainsUnion
|
|
1840
|
+
> = z.union([z.lazy(() => StackSettingsDomains$outboundSchema), z.any()]);
|
|
1841
|
+
|
|
1842
|
+
export function stackSettingsDomainsUnionToJSON(
|
|
1843
|
+
stackSettingsDomainsUnion: StackSettingsDomainsUnion,
|
|
1844
|
+
): string {
|
|
1845
|
+
return JSON.stringify(
|
|
1846
|
+
StackSettingsDomainsUnion$outboundSchema.parse(stackSettingsDomainsUnion),
|
|
1847
|
+
);
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
/** @internal */
|
|
1851
|
+
export type StackSettingsExternalBindings$Outbound = {};
|
|
1852
|
+
|
|
1853
|
+
/** @internal */
|
|
1854
|
+
export const StackSettingsExternalBindings$outboundSchema: z.ZodType<
|
|
1855
|
+
StackSettingsExternalBindings$Outbound,
|
|
1856
|
+
StackSettingsExternalBindings
|
|
1857
|
+
> = z.object({});
|
|
1858
|
+
|
|
1859
|
+
export function stackSettingsExternalBindingsToJSON(
|
|
1860
|
+
stackSettingsExternalBindings: StackSettingsExternalBindings,
|
|
1861
|
+
): string {
|
|
1862
|
+
return JSON.stringify(
|
|
1863
|
+
StackSettingsExternalBindings$outboundSchema.parse(
|
|
1864
|
+
stackSettingsExternalBindings,
|
|
1865
|
+
),
|
|
1866
|
+
);
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
/** @internal */
|
|
1870
|
+
export const StackSettingsHeartbeats$outboundSchema: z.ZodEnum<
|
|
1871
|
+
typeof StackSettingsHeartbeats
|
|
1872
|
+
> = z.enum(StackSettingsHeartbeats);
|
|
1873
|
+
|
|
1874
|
+
/** @internal */
|
|
1875
|
+
export type StackSettingsCloud$Outbound = {
|
|
1876
|
+
accountId?: string | null | undefined;
|
|
1877
|
+
clusterId?: string | null | undefined;
|
|
1878
|
+
clusterName?: string | null | undefined;
|
|
1879
|
+
projectId?: string | null | undefined;
|
|
1880
|
+
region?: string | null | undefined;
|
|
1881
|
+
resourceGroup?: string | null | undefined;
|
|
1882
|
+
subscriptionId?: string | null | undefined;
|
|
1883
|
+
};
|
|
1884
|
+
|
|
1885
|
+
/** @internal */
|
|
1886
|
+
export const StackSettingsCloud$outboundSchema: z.ZodType<
|
|
1887
|
+
StackSettingsCloud$Outbound,
|
|
1888
|
+
StackSettingsCloud
|
|
1889
|
+
> = z.object({
|
|
1890
|
+
accountId: z.nullable(z.string()).optional(),
|
|
1891
|
+
clusterId: z.nullable(z.string()).optional(),
|
|
1892
|
+
clusterName: z.nullable(z.string()).optional(),
|
|
1893
|
+
projectId: z.nullable(z.string()).optional(),
|
|
1894
|
+
region: z.nullable(z.string()).optional(),
|
|
1895
|
+
resourceGroup: z.nullable(z.string()).optional(),
|
|
1896
|
+
subscriptionId: z.nullable(z.string()).optional(),
|
|
1897
|
+
});
|
|
1898
|
+
|
|
1899
|
+
export function stackSettingsCloudToJSON(
|
|
1900
|
+
stackSettingsCloud: StackSettingsCloud,
|
|
1901
|
+
): string {
|
|
1902
|
+
return JSON.stringify(
|
|
1903
|
+
StackSettingsCloud$outboundSchema.parse(stackSettingsCloud),
|
|
1904
|
+
);
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
/** @internal */
|
|
1908
|
+
export type StackSettingsCloudUnion$Outbound =
|
|
1909
|
+
| StackSettingsCloud$Outbound
|
|
1910
|
+
| any;
|
|
1911
|
+
|
|
1912
|
+
/** @internal */
|
|
1913
|
+
export const StackSettingsCloudUnion$outboundSchema: z.ZodType<
|
|
1914
|
+
StackSettingsCloudUnion$Outbound,
|
|
1915
|
+
StackSettingsCloudUnion
|
|
1916
|
+
> = z.union([z.lazy(() => StackSettingsCloud$outboundSchema), z.any()]);
|
|
1917
|
+
|
|
1918
|
+
export function stackSettingsCloudUnionToJSON(
|
|
1919
|
+
stackSettingsCloudUnion: StackSettingsCloudUnion,
|
|
1920
|
+
): string {
|
|
1921
|
+
return JSON.stringify(
|
|
1922
|
+
StackSettingsCloudUnion$outboundSchema.parse(stackSettingsCloudUnion),
|
|
1923
|
+
);
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
/** @internal */
|
|
1927
|
+
export const StackSettingsOwnership$outboundSchema: z.ZodEnum<
|
|
1928
|
+
typeof StackSettingsOwnership
|
|
1929
|
+
> = z.enum(StackSettingsOwnership);
|
|
1930
|
+
|
|
1931
|
+
/** @internal */
|
|
1932
|
+
export type StackSettingsCluster$Outbound = {
|
|
1933
|
+
cloud?: StackSettingsCloud$Outbound | any | null | undefined;
|
|
1934
|
+
namespace?: string | null | undefined;
|
|
1935
|
+
ownership: string;
|
|
1936
|
+
};
|
|
1937
|
+
|
|
1938
|
+
/** @internal */
|
|
1939
|
+
export const StackSettingsCluster$outboundSchema: z.ZodType<
|
|
1940
|
+
StackSettingsCluster$Outbound,
|
|
1941
|
+
StackSettingsCluster
|
|
1942
|
+
> = z.object({
|
|
1943
|
+
cloud: z.nullable(
|
|
1944
|
+
z.union([z.lazy(() => StackSettingsCloud$outboundSchema), z.any()]),
|
|
1945
|
+
).optional(),
|
|
1946
|
+
namespace: z.nullable(z.string()).optional(),
|
|
1947
|
+
ownership: StackSettingsOwnership$outboundSchema,
|
|
1948
|
+
});
|
|
1949
|
+
|
|
1950
|
+
export function stackSettingsClusterToJSON(
|
|
1951
|
+
stackSettingsCluster: StackSettingsCluster,
|
|
1952
|
+
): string {
|
|
1953
|
+
return JSON.stringify(
|
|
1954
|
+
StackSettingsCluster$outboundSchema.parse(stackSettingsCluster),
|
|
1955
|
+
);
|
|
1956
|
+
}
|
|
1957
|
+
|
|
1958
|
+
/** @internal */
|
|
1959
|
+
export type StackSettingsClusterUnion$Outbound =
|
|
1960
|
+
| StackSettingsCluster$Outbound
|
|
1961
|
+
| any;
|
|
1962
|
+
|
|
1963
|
+
/** @internal */
|
|
1964
|
+
export const StackSettingsClusterUnion$outboundSchema: z.ZodType<
|
|
1965
|
+
StackSettingsClusterUnion$Outbound,
|
|
1966
|
+
StackSettingsClusterUnion
|
|
1967
|
+
> = z.union([z.lazy(() => StackSettingsCluster$outboundSchema), z.any()]);
|
|
1968
|
+
|
|
1969
|
+
export function stackSettingsClusterUnionToJSON(
|
|
1970
|
+
stackSettingsClusterUnion: StackSettingsClusterUnion,
|
|
1971
|
+
): string {
|
|
1972
|
+
return JSON.stringify(
|
|
1973
|
+
StackSettingsClusterUnion$outboundSchema.parse(stackSettingsClusterUnion),
|
|
1974
|
+
);
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
/** @internal */
|
|
1978
|
+
export type StackSettingsCertificateNone2$Outbound = {
|
|
1979
|
+
mode: "none";
|
|
1980
|
+
};
|
|
1981
|
+
|
|
1982
|
+
/** @internal */
|
|
1983
|
+
export const StackSettingsCertificateNone2$outboundSchema: z.ZodType<
|
|
1984
|
+
StackSettingsCertificateNone2$Outbound,
|
|
1985
|
+
StackSettingsCertificateNone2
|
|
1986
|
+
> = z.object({
|
|
1987
|
+
mode: z.literal("none"),
|
|
1988
|
+
});
|
|
1989
|
+
|
|
1990
|
+
export function stackSettingsCertificateNone2ToJSON(
|
|
1991
|
+
stackSettingsCertificateNone2: StackSettingsCertificateNone2,
|
|
1992
|
+
): string {
|
|
1993
|
+
return JSON.stringify(
|
|
1994
|
+
StackSettingsCertificateNone2$outboundSchema.parse(
|
|
1995
|
+
stackSettingsCertificateNone2,
|
|
1996
|
+
),
|
|
1997
|
+
);
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
/** @internal */
|
|
2001
|
+
export type StackSettingsCertificateManagedTLSSecret2$Outbound = {
|
|
2002
|
+
mode: "managedTlsSecret";
|
|
2003
|
+
secretNameTemplate: string;
|
|
2004
|
+
};
|
|
2005
|
+
|
|
2006
|
+
/** @internal */
|
|
2007
|
+
export const StackSettingsCertificateManagedTLSSecret2$outboundSchema:
|
|
2008
|
+
z.ZodType<
|
|
2009
|
+
StackSettingsCertificateManagedTLSSecret2$Outbound,
|
|
2010
|
+
StackSettingsCertificateManagedTLSSecret2
|
|
2011
|
+
> = z.object({
|
|
2012
|
+
mode: z.literal("managedTlsSecret"),
|
|
2013
|
+
secretNameTemplate: z.string(),
|
|
2014
|
+
});
|
|
2015
|
+
|
|
2016
|
+
export function stackSettingsCertificateManagedTLSSecret2ToJSON(
|
|
2017
|
+
stackSettingsCertificateManagedTLSSecret2:
|
|
2018
|
+
StackSettingsCertificateManagedTLSSecret2,
|
|
2019
|
+
): string {
|
|
2020
|
+
return JSON.stringify(
|
|
2021
|
+
StackSettingsCertificateManagedTLSSecret2$outboundSchema.parse(
|
|
2022
|
+
stackSettingsCertificateManagedTLSSecret2,
|
|
2023
|
+
),
|
|
2024
|
+
);
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
/** @internal */
|
|
2028
|
+
export type StackSettingsCertificateAwsAcmArn2$Outbound = {
|
|
2029
|
+
certificateArn: string;
|
|
2030
|
+
mode: "awsAcmArn";
|
|
2031
|
+
};
|
|
2032
|
+
|
|
2033
|
+
/** @internal */
|
|
2034
|
+
export const StackSettingsCertificateAwsAcmArn2$outboundSchema: z.ZodType<
|
|
2035
|
+
StackSettingsCertificateAwsAcmArn2$Outbound,
|
|
2036
|
+
StackSettingsCertificateAwsAcmArn2
|
|
2037
|
+
> = z.object({
|
|
2038
|
+
certificateArn: z.string(),
|
|
2039
|
+
mode: z.literal("awsAcmArn"),
|
|
2040
|
+
});
|
|
2041
|
+
|
|
2042
|
+
export function stackSettingsCertificateAwsAcmArn2ToJSON(
|
|
2043
|
+
stackSettingsCertificateAwsAcmArn2: StackSettingsCertificateAwsAcmArn2,
|
|
2044
|
+
): string {
|
|
2045
|
+
return JSON.stringify(
|
|
2046
|
+
StackSettingsCertificateAwsAcmArn2$outboundSchema.parse(
|
|
2047
|
+
stackSettingsCertificateAwsAcmArn2,
|
|
2048
|
+
),
|
|
2049
|
+
);
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
/** @internal */
|
|
2053
|
+
export type StackSettingsCertificateManagedAcmImport2$Outbound = {
|
|
2054
|
+
mode: "managedAcmImport";
|
|
2055
|
+
region?: string | null | undefined;
|
|
2056
|
+
tags?: { [k: string]: string } | undefined;
|
|
2057
|
+
};
|
|
2058
|
+
|
|
2059
|
+
/** @internal */
|
|
2060
|
+
export const StackSettingsCertificateManagedAcmImport2$outboundSchema:
|
|
2061
|
+
z.ZodType<
|
|
2062
|
+
StackSettingsCertificateManagedAcmImport2$Outbound,
|
|
2063
|
+
StackSettingsCertificateManagedAcmImport2
|
|
2064
|
+
> = z.object({
|
|
2065
|
+
mode: z.literal("managedAcmImport"),
|
|
2066
|
+
region: z.nullable(z.string()).optional(),
|
|
2067
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
2068
|
+
});
|
|
2069
|
+
|
|
2070
|
+
export function stackSettingsCertificateManagedAcmImport2ToJSON(
|
|
2071
|
+
stackSettingsCertificateManagedAcmImport2:
|
|
2072
|
+
StackSettingsCertificateManagedAcmImport2,
|
|
2073
|
+
): string {
|
|
2074
|
+
return JSON.stringify(
|
|
2075
|
+
StackSettingsCertificateManagedAcmImport2$outboundSchema.parse(
|
|
2076
|
+
stackSettingsCertificateManagedAcmImport2,
|
|
2077
|
+
),
|
|
2078
|
+
);
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
/** @internal */
|
|
2082
|
+
export type StackSettingsCertificateTLSSecretRef2$Outbound = {
|
|
2083
|
+
namespace?: string | null | undefined;
|
|
2084
|
+
secretName: string;
|
|
2085
|
+
mode: "tlsSecretRef";
|
|
2086
|
+
};
|
|
2087
|
+
|
|
2088
|
+
/** @internal */
|
|
2089
|
+
export const StackSettingsCertificateTLSSecretRef2$outboundSchema: z.ZodType<
|
|
2090
|
+
StackSettingsCertificateTLSSecretRef2$Outbound,
|
|
2091
|
+
StackSettingsCertificateTLSSecretRef2
|
|
2092
|
+
> = z.object({
|
|
2093
|
+
namespace: z.nullable(z.string()).optional(),
|
|
2094
|
+
secretName: z.string(),
|
|
2095
|
+
mode: z.literal("tlsSecretRef"),
|
|
2096
|
+
});
|
|
2097
|
+
|
|
2098
|
+
export function stackSettingsCertificateTLSSecretRef2ToJSON(
|
|
2099
|
+
stackSettingsCertificateTLSSecretRef2: StackSettingsCertificateTLSSecretRef2,
|
|
2100
|
+
): string {
|
|
2101
|
+
return JSON.stringify(
|
|
2102
|
+
StackSettingsCertificateTLSSecretRef2$outboundSchema.parse(
|
|
2103
|
+
stackSettingsCertificateTLSSecretRef2,
|
|
2104
|
+
),
|
|
2105
|
+
);
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
/** @internal */
|
|
2109
|
+
export type StackSettingsCertificateUnion2$Outbound =
|
|
2110
|
+
| StackSettingsCertificateTLSSecretRef2$Outbound
|
|
2111
|
+
| StackSettingsCertificateManagedAcmImport2$Outbound
|
|
2112
|
+
| StackSettingsCertificateAwsAcmArn2$Outbound
|
|
2113
|
+
| StackSettingsCertificateManagedTLSSecret2$Outbound
|
|
2114
|
+
| StackSettingsCertificateNone2$Outbound;
|
|
2115
|
+
|
|
2116
|
+
/** @internal */
|
|
2117
|
+
export const StackSettingsCertificateUnion2$outboundSchema: z.ZodType<
|
|
2118
|
+
StackSettingsCertificateUnion2$Outbound,
|
|
2119
|
+
StackSettingsCertificateUnion2
|
|
2120
|
+
> = z.union([
|
|
2121
|
+
z.lazy(() => StackSettingsCertificateTLSSecretRef2$outboundSchema),
|
|
2122
|
+
z.lazy(() => StackSettingsCertificateManagedAcmImport2$outboundSchema),
|
|
2123
|
+
z.lazy(() => StackSettingsCertificateAwsAcmArn2$outboundSchema),
|
|
2124
|
+
z.lazy(() => StackSettingsCertificateManagedTLSSecret2$outboundSchema),
|
|
2125
|
+
z.lazy(() => StackSettingsCertificateNone2$outboundSchema),
|
|
2126
|
+
]);
|
|
2127
|
+
|
|
2128
|
+
export function stackSettingsCertificateUnion2ToJSON(
|
|
2129
|
+
stackSettingsCertificateUnion2: StackSettingsCertificateUnion2,
|
|
2130
|
+
): string {
|
|
2131
|
+
return JSON.stringify(
|
|
2132
|
+
StackSettingsCertificateUnion2$outboundSchema.parse(
|
|
2133
|
+
stackSettingsCertificateUnion2,
|
|
2134
|
+
),
|
|
2135
|
+
);
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
/** @internal */
|
|
2139
|
+
export const StackSettingsModeCustom$outboundSchema: z.ZodEnum<
|
|
2140
|
+
typeof StackSettingsModeCustom
|
|
2141
|
+
> = z.enum(StackSettingsModeCustom);
|
|
2142
|
+
|
|
2143
|
+
/** @internal */
|
|
2144
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainersEnum4$outboundSchema:
|
|
2145
|
+
z.ZodEnum<
|
|
2146
|
+
typeof StackSettingsProviderAzureApplicationGatewayForContainersEnum4
|
|
2147
|
+
> = z.enum(StackSettingsProviderAzureApplicationGatewayForContainersEnum4);
|
|
2148
|
+
|
|
2149
|
+
/** @internal */
|
|
2150
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainers4$Outbound =
|
|
2151
|
+
{
|
|
2152
|
+
albName?: string | null | undefined;
|
|
2153
|
+
albNamespace?: string | null | undefined;
|
|
2154
|
+
frontend: string;
|
|
2155
|
+
provider: string;
|
|
2156
|
+
};
|
|
2157
|
+
|
|
2158
|
+
/** @internal */
|
|
2159
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainers4$outboundSchema:
|
|
2160
|
+
z.ZodType<
|
|
2161
|
+
StackSettingsProviderAzureApplicationGatewayForContainers4$Outbound,
|
|
2162
|
+
StackSettingsProviderAzureApplicationGatewayForContainers4
|
|
2163
|
+
> = z.object({
|
|
2164
|
+
albName: z.nullable(z.string()).optional(),
|
|
2165
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
2166
|
+
frontend: z.string(),
|
|
2167
|
+
provider:
|
|
2168
|
+
StackSettingsProviderAzureApplicationGatewayForContainersEnum4$outboundSchema,
|
|
2169
|
+
});
|
|
2170
|
+
|
|
2171
|
+
export function stackSettingsProviderAzureApplicationGatewayForContainers4ToJSON(
|
|
2172
|
+
stackSettingsProviderAzureApplicationGatewayForContainers4:
|
|
2173
|
+
StackSettingsProviderAzureApplicationGatewayForContainers4,
|
|
2174
|
+
): string {
|
|
2175
|
+
return JSON.stringify(
|
|
2176
|
+
StackSettingsProviderAzureApplicationGatewayForContainers4$outboundSchema
|
|
2177
|
+
.parse(stackSettingsProviderAzureApplicationGatewayForContainers4),
|
|
2178
|
+
);
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
/** @internal */
|
|
2182
|
+
export const StackSettingsProviderGkeGatewayEnum4$outboundSchema: z.ZodEnum<
|
|
2183
|
+
typeof StackSettingsProviderGkeGatewayEnum4
|
|
2184
|
+
> = z.enum(StackSettingsProviderGkeGatewayEnum4);
|
|
2185
|
+
|
|
2186
|
+
/** @internal */
|
|
2187
|
+
export type StackSettingsProviderGkeGateway4$Outbound = {
|
|
2188
|
+
provider: string;
|
|
2189
|
+
staticAddressName?: string | null | undefined;
|
|
2190
|
+
};
|
|
2191
|
+
|
|
2192
|
+
/** @internal */
|
|
2193
|
+
export const StackSettingsProviderGkeGateway4$outboundSchema: z.ZodType<
|
|
2194
|
+
StackSettingsProviderGkeGateway4$Outbound,
|
|
2195
|
+
StackSettingsProviderGkeGateway4
|
|
2196
|
+
> = z.object({
|
|
2197
|
+
provider: StackSettingsProviderGkeGatewayEnum4$outboundSchema,
|
|
2198
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
2199
|
+
});
|
|
2200
|
+
|
|
2201
|
+
export function stackSettingsProviderGkeGateway4ToJSON(
|
|
2202
|
+
stackSettingsProviderGkeGateway4: StackSettingsProviderGkeGateway4,
|
|
2203
|
+
): string {
|
|
2204
|
+
return JSON.stringify(
|
|
2205
|
+
StackSettingsProviderGkeGateway4$outboundSchema.parse(
|
|
2206
|
+
stackSettingsProviderGkeGateway4,
|
|
2207
|
+
),
|
|
2208
|
+
);
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
/** @internal */
|
|
2212
|
+
export const StackSettingsProviderAwsAlbEnum4$outboundSchema: z.ZodEnum<
|
|
2213
|
+
typeof StackSettingsProviderAwsAlbEnum4
|
|
2214
|
+
> = z.enum(StackSettingsProviderAwsAlbEnum4);
|
|
2215
|
+
|
|
2216
|
+
/** @internal */
|
|
2217
|
+
export type StackSettingsProviderAwsAlb4$Outbound = {
|
|
2218
|
+
ipAddressType?: string | null | undefined;
|
|
2219
|
+
provider: string;
|
|
2220
|
+
scheme: string;
|
|
2221
|
+
subnetIds?: Array<string> | undefined;
|
|
2222
|
+
targetType: string;
|
|
2223
|
+
};
|
|
2224
|
+
|
|
2225
|
+
/** @internal */
|
|
2226
|
+
export const StackSettingsProviderAwsAlb4$outboundSchema: z.ZodType<
|
|
2227
|
+
StackSettingsProviderAwsAlb4$Outbound,
|
|
2228
|
+
StackSettingsProviderAwsAlb4
|
|
2229
|
+
> = z.object({
|
|
2230
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
2231
|
+
provider: StackSettingsProviderAwsAlbEnum4$outboundSchema,
|
|
2232
|
+
scheme: z.string(),
|
|
2233
|
+
subnetIds: z.array(z.string()).optional(),
|
|
2234
|
+
targetType: z.string(),
|
|
2235
|
+
});
|
|
2236
|
+
|
|
2237
|
+
export function stackSettingsProviderAwsAlb4ToJSON(
|
|
2238
|
+
stackSettingsProviderAwsAlb4: StackSettingsProviderAwsAlb4,
|
|
2239
|
+
): string {
|
|
2240
|
+
return JSON.stringify(
|
|
2241
|
+
StackSettingsProviderAwsAlb4$outboundSchema.parse(
|
|
2242
|
+
stackSettingsProviderAwsAlb4,
|
|
2243
|
+
),
|
|
2244
|
+
);
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
/** @internal */
|
|
2248
|
+
export type StackSettingsProviderUnion4$Outbound =
|
|
2249
|
+
| StackSettingsProviderAwsAlb4$Outbound
|
|
2250
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers4$Outbound
|
|
2251
|
+
| StackSettingsProviderGkeGateway4$Outbound
|
|
2252
|
+
| any;
|
|
2253
|
+
|
|
2254
|
+
/** @internal */
|
|
2255
|
+
export const StackSettingsProviderUnion4$outboundSchema: z.ZodType<
|
|
2256
|
+
StackSettingsProviderUnion4$Outbound,
|
|
2257
|
+
StackSettingsProviderUnion4
|
|
2258
|
+
> = z.union([
|
|
2259
|
+
z.lazy(() => StackSettingsProviderAwsAlb4$outboundSchema),
|
|
2260
|
+
z.lazy(() =>
|
|
2261
|
+
StackSettingsProviderAzureApplicationGatewayForContainers4$outboundSchema
|
|
2262
|
+
),
|
|
2263
|
+
z.lazy(() => StackSettingsProviderGkeGateway4$outboundSchema),
|
|
2264
|
+
z.any(),
|
|
2265
|
+
]);
|
|
2266
|
+
|
|
2267
|
+
export function stackSettingsProviderUnion4ToJSON(
|
|
2268
|
+
stackSettingsProviderUnion4: StackSettingsProviderUnion4,
|
|
2269
|
+
): string {
|
|
2270
|
+
return JSON.stringify(
|
|
2271
|
+
StackSettingsProviderUnion4$outboundSchema.parse(
|
|
2272
|
+
stackSettingsProviderUnion4,
|
|
2273
|
+
),
|
|
2274
|
+
);
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2277
|
+
/** @internal */
|
|
2278
|
+
export type StackSettingsRouteGateway2$Outbound = {
|
|
2279
|
+
annotations?: { [k: string]: string } | undefined;
|
|
2280
|
+
controller?: string | null | undefined;
|
|
2281
|
+
gatewayClassName: string;
|
|
2282
|
+
labels?: { [k: string]: string } | undefined;
|
|
2283
|
+
listenerPort: number;
|
|
2284
|
+
provider?:
|
|
2285
|
+
| StackSettingsProviderAwsAlb4$Outbound
|
|
2286
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers4$Outbound
|
|
2287
|
+
| StackSettingsProviderGkeGateway4$Outbound
|
|
2288
|
+
| any
|
|
2289
|
+
| null
|
|
2290
|
+
| undefined;
|
|
2291
|
+
routeApi: "gateway";
|
|
2292
|
+
};
|
|
2293
|
+
|
|
2294
|
+
/** @internal */
|
|
2295
|
+
export const StackSettingsRouteGateway2$outboundSchema: z.ZodType<
|
|
2296
|
+
StackSettingsRouteGateway2$Outbound,
|
|
2297
|
+
StackSettingsRouteGateway2
|
|
2298
|
+
> = z.object({
|
|
2299
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
2300
|
+
controller: z.nullable(z.string()).optional(),
|
|
2301
|
+
gatewayClassName: z.string(),
|
|
2302
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
2303
|
+
listenerPort: z.int(),
|
|
2304
|
+
provider: z.nullable(
|
|
2305
|
+
z.union([
|
|
2306
|
+
z.lazy(() => StackSettingsProviderAwsAlb4$outboundSchema),
|
|
2307
|
+
z.lazy(() =>
|
|
2308
|
+
StackSettingsProviderAzureApplicationGatewayForContainers4$outboundSchema
|
|
2309
|
+
),
|
|
2310
|
+
z.lazy(() => StackSettingsProviderGkeGateway4$outboundSchema),
|
|
2311
|
+
z.any(),
|
|
2312
|
+
]),
|
|
2313
|
+
).optional(),
|
|
2314
|
+
routeApi: z.literal("gateway"),
|
|
2315
|
+
});
|
|
2316
|
+
|
|
2317
|
+
export function stackSettingsRouteGateway2ToJSON(
|
|
2318
|
+
stackSettingsRouteGateway2: StackSettingsRouteGateway2,
|
|
2319
|
+
): string {
|
|
2320
|
+
return JSON.stringify(
|
|
2321
|
+
StackSettingsRouteGateway2$outboundSchema.parse(stackSettingsRouteGateway2),
|
|
2322
|
+
);
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
/** @internal */
|
|
2326
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainersEnum3$outboundSchema:
|
|
2327
|
+
z.ZodEnum<
|
|
2328
|
+
typeof StackSettingsProviderAzureApplicationGatewayForContainersEnum3
|
|
2329
|
+
> = z.enum(StackSettingsProviderAzureApplicationGatewayForContainersEnum3);
|
|
2330
|
+
|
|
2331
|
+
/** @internal */
|
|
2332
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainers3$Outbound =
|
|
2333
|
+
{
|
|
2334
|
+
albName?: string | null | undefined;
|
|
2335
|
+
albNamespace?: string | null | undefined;
|
|
2336
|
+
frontend: string;
|
|
2337
|
+
provider: string;
|
|
2338
|
+
};
|
|
2339
|
+
|
|
2340
|
+
/** @internal */
|
|
2341
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainers3$outboundSchema:
|
|
2342
|
+
z.ZodType<
|
|
2343
|
+
StackSettingsProviderAzureApplicationGatewayForContainers3$Outbound,
|
|
2344
|
+
StackSettingsProviderAzureApplicationGatewayForContainers3
|
|
2345
|
+
> = z.object({
|
|
2346
|
+
albName: z.nullable(z.string()).optional(),
|
|
2347
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
2348
|
+
frontend: z.string(),
|
|
2349
|
+
provider:
|
|
2350
|
+
StackSettingsProviderAzureApplicationGatewayForContainersEnum3$outboundSchema,
|
|
2351
|
+
});
|
|
2352
|
+
|
|
2353
|
+
export function stackSettingsProviderAzureApplicationGatewayForContainers3ToJSON(
|
|
2354
|
+
stackSettingsProviderAzureApplicationGatewayForContainers3:
|
|
2355
|
+
StackSettingsProviderAzureApplicationGatewayForContainers3,
|
|
2356
|
+
): string {
|
|
2357
|
+
return JSON.stringify(
|
|
2358
|
+
StackSettingsProviderAzureApplicationGatewayForContainers3$outboundSchema
|
|
2359
|
+
.parse(stackSettingsProviderAzureApplicationGatewayForContainers3),
|
|
2360
|
+
);
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
/** @internal */
|
|
2364
|
+
export const StackSettingsProviderGkeGatewayEnum3$outboundSchema: z.ZodEnum<
|
|
2365
|
+
typeof StackSettingsProviderGkeGatewayEnum3
|
|
2366
|
+
> = z.enum(StackSettingsProviderGkeGatewayEnum3);
|
|
2367
|
+
|
|
2368
|
+
/** @internal */
|
|
2369
|
+
export type StackSettingsProviderGkeGateway3$Outbound = {
|
|
2370
|
+
provider: string;
|
|
2371
|
+
staticAddressName?: string | null | undefined;
|
|
2372
|
+
};
|
|
2373
|
+
|
|
2374
|
+
/** @internal */
|
|
2375
|
+
export const StackSettingsProviderGkeGateway3$outboundSchema: z.ZodType<
|
|
2376
|
+
StackSettingsProviderGkeGateway3$Outbound,
|
|
2377
|
+
StackSettingsProviderGkeGateway3
|
|
2378
|
+
> = z.object({
|
|
2379
|
+
provider: StackSettingsProviderGkeGatewayEnum3$outboundSchema,
|
|
2380
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
2381
|
+
});
|
|
2382
|
+
|
|
2383
|
+
export function stackSettingsProviderGkeGateway3ToJSON(
|
|
2384
|
+
stackSettingsProviderGkeGateway3: StackSettingsProviderGkeGateway3,
|
|
2385
|
+
): string {
|
|
2386
|
+
return JSON.stringify(
|
|
2387
|
+
StackSettingsProviderGkeGateway3$outboundSchema.parse(
|
|
2388
|
+
stackSettingsProviderGkeGateway3,
|
|
2389
|
+
),
|
|
2390
|
+
);
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
/** @internal */
|
|
2394
|
+
export const StackSettingsProviderAwsAlbEnum3$outboundSchema: z.ZodEnum<
|
|
2395
|
+
typeof StackSettingsProviderAwsAlbEnum3
|
|
2396
|
+
> = z.enum(StackSettingsProviderAwsAlbEnum3);
|
|
2397
|
+
|
|
2398
|
+
/** @internal */
|
|
2399
|
+
export type StackSettingsProviderAwsAlb3$Outbound = {
|
|
2400
|
+
ipAddressType?: string | null | undefined;
|
|
2401
|
+
provider: string;
|
|
2402
|
+
scheme: string;
|
|
2403
|
+
subnetIds?: Array<string> | undefined;
|
|
2404
|
+
targetType: string;
|
|
2405
|
+
};
|
|
2406
|
+
|
|
2407
|
+
/** @internal */
|
|
2408
|
+
export const StackSettingsProviderAwsAlb3$outboundSchema: z.ZodType<
|
|
2409
|
+
StackSettingsProviderAwsAlb3$Outbound,
|
|
2410
|
+
StackSettingsProviderAwsAlb3
|
|
2411
|
+
> = z.object({
|
|
2412
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
2413
|
+
provider: StackSettingsProviderAwsAlbEnum3$outboundSchema,
|
|
2414
|
+
scheme: z.string(),
|
|
2415
|
+
subnetIds: z.array(z.string()).optional(),
|
|
2416
|
+
targetType: z.string(),
|
|
2417
|
+
});
|
|
2418
|
+
|
|
2419
|
+
export function stackSettingsProviderAwsAlb3ToJSON(
|
|
2420
|
+
stackSettingsProviderAwsAlb3: StackSettingsProviderAwsAlb3,
|
|
2421
|
+
): string {
|
|
2422
|
+
return JSON.stringify(
|
|
2423
|
+
StackSettingsProviderAwsAlb3$outboundSchema.parse(
|
|
2424
|
+
stackSettingsProviderAwsAlb3,
|
|
2425
|
+
),
|
|
2426
|
+
);
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
/** @internal */
|
|
2430
|
+
export type StackSettingsProviderUnion3$Outbound =
|
|
2431
|
+
| StackSettingsProviderAwsAlb3$Outbound
|
|
2432
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers3$Outbound
|
|
2433
|
+
| StackSettingsProviderGkeGateway3$Outbound
|
|
2434
|
+
| any;
|
|
2435
|
+
|
|
2436
|
+
/** @internal */
|
|
2437
|
+
export const StackSettingsProviderUnion3$outboundSchema: z.ZodType<
|
|
2438
|
+
StackSettingsProviderUnion3$Outbound,
|
|
2439
|
+
StackSettingsProviderUnion3
|
|
2440
|
+
> = z.union([
|
|
2441
|
+
z.lazy(() => StackSettingsProviderAwsAlb3$outboundSchema),
|
|
2442
|
+
z.lazy(() =>
|
|
2443
|
+
StackSettingsProviderAzureApplicationGatewayForContainers3$outboundSchema
|
|
2444
|
+
),
|
|
2445
|
+
z.lazy(() => StackSettingsProviderGkeGateway3$outboundSchema),
|
|
2446
|
+
z.any(),
|
|
2447
|
+
]);
|
|
2448
|
+
|
|
2449
|
+
export function stackSettingsProviderUnion3ToJSON(
|
|
2450
|
+
stackSettingsProviderUnion3: StackSettingsProviderUnion3,
|
|
2451
|
+
): string {
|
|
2452
|
+
return JSON.stringify(
|
|
2453
|
+
StackSettingsProviderUnion3$outboundSchema.parse(
|
|
2454
|
+
stackSettingsProviderUnion3,
|
|
2455
|
+
),
|
|
2456
|
+
);
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2459
|
+
/** @internal */
|
|
2460
|
+
export type StackSettingsRouteIngress2$Outbound = {
|
|
2461
|
+
annotations?: { [k: string]: string } | undefined;
|
|
2462
|
+
controller?: string | null | undefined;
|
|
2463
|
+
ingressClassName: string;
|
|
2464
|
+
labels?: { [k: string]: string } | undefined;
|
|
2465
|
+
provider?:
|
|
2466
|
+
| StackSettingsProviderAwsAlb3$Outbound
|
|
2467
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers3$Outbound
|
|
2468
|
+
| StackSettingsProviderGkeGateway3$Outbound
|
|
2469
|
+
| any
|
|
2470
|
+
| null
|
|
2471
|
+
| undefined;
|
|
2472
|
+
routeApi: "ingress";
|
|
2473
|
+
};
|
|
2474
|
+
|
|
2475
|
+
/** @internal */
|
|
2476
|
+
export const StackSettingsRouteIngress2$outboundSchema: z.ZodType<
|
|
2477
|
+
StackSettingsRouteIngress2$Outbound,
|
|
2478
|
+
StackSettingsRouteIngress2
|
|
2479
|
+
> = z.object({
|
|
2480
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
2481
|
+
controller: z.nullable(z.string()).optional(),
|
|
2482
|
+
ingressClassName: z.string(),
|
|
2483
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
2484
|
+
provider: z.nullable(
|
|
2485
|
+
z.union([
|
|
2486
|
+
z.lazy(() => StackSettingsProviderAwsAlb3$outboundSchema),
|
|
2487
|
+
z.lazy(() =>
|
|
2488
|
+
StackSettingsProviderAzureApplicationGatewayForContainers3$outboundSchema
|
|
2489
|
+
),
|
|
2490
|
+
z.lazy(() => StackSettingsProviderGkeGateway3$outboundSchema),
|
|
2491
|
+
z.any(),
|
|
2492
|
+
]),
|
|
2493
|
+
).optional(),
|
|
2494
|
+
routeApi: z.literal("ingress"),
|
|
2495
|
+
});
|
|
2496
|
+
|
|
2497
|
+
export function stackSettingsRouteIngress2ToJSON(
|
|
2498
|
+
stackSettingsRouteIngress2: StackSettingsRouteIngress2,
|
|
2499
|
+
): string {
|
|
2500
|
+
return JSON.stringify(
|
|
2501
|
+
StackSettingsRouteIngress2$outboundSchema.parse(stackSettingsRouteIngress2),
|
|
2502
|
+
);
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
/** @internal */
|
|
2506
|
+
export type StackSettingsRouteUnion2$Outbound =
|
|
2507
|
+
| StackSettingsRouteIngress2$Outbound
|
|
2508
|
+
| StackSettingsRouteGateway2$Outbound;
|
|
2509
|
+
|
|
2510
|
+
/** @internal */
|
|
2511
|
+
export const StackSettingsRouteUnion2$outboundSchema: z.ZodType<
|
|
2512
|
+
StackSettingsRouteUnion2$Outbound,
|
|
2513
|
+
StackSettingsRouteUnion2
|
|
2514
|
+
> = z.union([
|
|
2515
|
+
z.lazy(() => StackSettingsRouteIngress2$outboundSchema),
|
|
2516
|
+
z.lazy(() => StackSettingsRouteGateway2$outboundSchema),
|
|
2517
|
+
]);
|
|
2518
|
+
|
|
2519
|
+
export function stackSettingsRouteUnion2ToJSON(
|
|
2520
|
+
stackSettingsRouteUnion2: StackSettingsRouteUnion2,
|
|
2521
|
+
): string {
|
|
2522
|
+
return JSON.stringify(
|
|
2523
|
+
StackSettingsRouteUnion2$outboundSchema.parse(stackSettingsRouteUnion2),
|
|
2524
|
+
);
|
|
2525
|
+
}
|
|
2526
|
+
|
|
2527
|
+
/** @internal */
|
|
2528
|
+
export type StackSettingsExposureCustom$Outbound = {
|
|
2529
|
+
certificate:
|
|
2530
|
+
| StackSettingsCertificateTLSSecretRef2$Outbound
|
|
2531
|
+
| StackSettingsCertificateManagedAcmImport2$Outbound
|
|
2532
|
+
| StackSettingsCertificateAwsAcmArn2$Outbound
|
|
2533
|
+
| StackSettingsCertificateManagedTLSSecret2$Outbound
|
|
2534
|
+
| StackSettingsCertificateNone2$Outbound;
|
|
2535
|
+
domain: string;
|
|
2536
|
+
mode: string;
|
|
2537
|
+
route:
|
|
2538
|
+
| StackSettingsRouteIngress2$Outbound
|
|
2539
|
+
| StackSettingsRouteGateway2$Outbound;
|
|
2540
|
+
};
|
|
2541
|
+
|
|
2542
|
+
/** @internal */
|
|
2543
|
+
export const StackSettingsExposureCustom$outboundSchema: z.ZodType<
|
|
2544
|
+
StackSettingsExposureCustom$Outbound,
|
|
2545
|
+
StackSettingsExposureCustom
|
|
2546
|
+
> = z.object({
|
|
2547
|
+
certificate: z.union([
|
|
2548
|
+
z.lazy(() => StackSettingsCertificateTLSSecretRef2$outboundSchema),
|
|
2549
|
+
z.lazy(() => StackSettingsCertificateManagedAcmImport2$outboundSchema),
|
|
2550
|
+
z.lazy(() => StackSettingsCertificateAwsAcmArn2$outboundSchema),
|
|
2551
|
+
z.lazy(() => StackSettingsCertificateManagedTLSSecret2$outboundSchema),
|
|
2552
|
+
z.lazy(() => StackSettingsCertificateNone2$outboundSchema),
|
|
2553
|
+
]),
|
|
2554
|
+
domain: z.string(),
|
|
2555
|
+
mode: StackSettingsModeCustom$outboundSchema,
|
|
2556
|
+
route: z.union([
|
|
2557
|
+
z.lazy(() => StackSettingsRouteIngress2$outboundSchema),
|
|
2558
|
+
z.lazy(() => StackSettingsRouteGateway2$outboundSchema),
|
|
2559
|
+
]),
|
|
2560
|
+
});
|
|
2561
|
+
|
|
2562
|
+
export function stackSettingsExposureCustomToJSON(
|
|
2563
|
+
stackSettingsExposureCustom: StackSettingsExposureCustom,
|
|
2564
|
+
): string {
|
|
2565
|
+
return JSON.stringify(
|
|
2566
|
+
StackSettingsExposureCustom$outboundSchema.parse(
|
|
2567
|
+
stackSettingsExposureCustom,
|
|
2568
|
+
),
|
|
2569
|
+
);
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
/** @internal */
|
|
2573
|
+
export type StackSettingsCertificateNone1$Outbound = {
|
|
2574
|
+
mode: "none";
|
|
2575
|
+
};
|
|
2576
|
+
|
|
2577
|
+
/** @internal */
|
|
2578
|
+
export const StackSettingsCertificateNone1$outboundSchema: z.ZodType<
|
|
2579
|
+
StackSettingsCertificateNone1$Outbound,
|
|
2580
|
+
StackSettingsCertificateNone1
|
|
2581
|
+
> = z.object({
|
|
2582
|
+
mode: z.literal("none"),
|
|
2583
|
+
});
|
|
2584
|
+
|
|
2585
|
+
export function stackSettingsCertificateNone1ToJSON(
|
|
2586
|
+
stackSettingsCertificateNone1: StackSettingsCertificateNone1,
|
|
2587
|
+
): string {
|
|
2588
|
+
return JSON.stringify(
|
|
2589
|
+
StackSettingsCertificateNone1$outboundSchema.parse(
|
|
2590
|
+
stackSettingsCertificateNone1,
|
|
2591
|
+
),
|
|
2592
|
+
);
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
/** @internal */
|
|
2596
|
+
export type StackSettingsCertificateManagedTLSSecret1$Outbound = {
|
|
2597
|
+
mode: "managedTlsSecret";
|
|
2598
|
+
secretNameTemplate: string;
|
|
2599
|
+
};
|
|
2600
|
+
|
|
2601
|
+
/** @internal */
|
|
2602
|
+
export const StackSettingsCertificateManagedTLSSecret1$outboundSchema:
|
|
2603
|
+
z.ZodType<
|
|
2604
|
+
StackSettingsCertificateManagedTLSSecret1$Outbound,
|
|
2605
|
+
StackSettingsCertificateManagedTLSSecret1
|
|
2606
|
+
> = z.object({
|
|
2607
|
+
mode: z.literal("managedTlsSecret"),
|
|
2608
|
+
secretNameTemplate: z.string(),
|
|
2609
|
+
});
|
|
2610
|
+
|
|
2611
|
+
export function stackSettingsCertificateManagedTLSSecret1ToJSON(
|
|
2612
|
+
stackSettingsCertificateManagedTLSSecret1:
|
|
2613
|
+
StackSettingsCertificateManagedTLSSecret1,
|
|
2614
|
+
): string {
|
|
2615
|
+
return JSON.stringify(
|
|
2616
|
+
StackSettingsCertificateManagedTLSSecret1$outboundSchema.parse(
|
|
2617
|
+
stackSettingsCertificateManagedTLSSecret1,
|
|
2618
|
+
),
|
|
2619
|
+
);
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
/** @internal */
|
|
2623
|
+
export type StackSettingsCertificateAwsAcmArn1$Outbound = {
|
|
2624
|
+
certificateArn: string;
|
|
2625
|
+
mode: "awsAcmArn";
|
|
2626
|
+
};
|
|
2627
|
+
|
|
2628
|
+
/** @internal */
|
|
2629
|
+
export const StackSettingsCertificateAwsAcmArn1$outboundSchema: z.ZodType<
|
|
2630
|
+
StackSettingsCertificateAwsAcmArn1$Outbound,
|
|
2631
|
+
StackSettingsCertificateAwsAcmArn1
|
|
2632
|
+
> = z.object({
|
|
2633
|
+
certificateArn: z.string(),
|
|
2634
|
+
mode: z.literal("awsAcmArn"),
|
|
2635
|
+
});
|
|
2636
|
+
|
|
2637
|
+
export function stackSettingsCertificateAwsAcmArn1ToJSON(
|
|
2638
|
+
stackSettingsCertificateAwsAcmArn1: StackSettingsCertificateAwsAcmArn1,
|
|
2639
|
+
): string {
|
|
2640
|
+
return JSON.stringify(
|
|
2641
|
+
StackSettingsCertificateAwsAcmArn1$outboundSchema.parse(
|
|
2642
|
+
stackSettingsCertificateAwsAcmArn1,
|
|
2643
|
+
),
|
|
2644
|
+
);
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
/** @internal */
|
|
2648
|
+
export type StackSettingsCertificateManagedAcmImport1$Outbound = {
|
|
2649
|
+
mode: "managedAcmImport";
|
|
2650
|
+
region?: string | null | undefined;
|
|
2651
|
+
tags?: { [k: string]: string } | undefined;
|
|
2652
|
+
};
|
|
2653
|
+
|
|
2654
|
+
/** @internal */
|
|
2655
|
+
export const StackSettingsCertificateManagedAcmImport1$outboundSchema:
|
|
2656
|
+
z.ZodType<
|
|
2657
|
+
StackSettingsCertificateManagedAcmImport1$Outbound,
|
|
2658
|
+
StackSettingsCertificateManagedAcmImport1
|
|
2659
|
+
> = z.object({
|
|
2660
|
+
mode: z.literal("managedAcmImport"),
|
|
2661
|
+
region: z.nullable(z.string()).optional(),
|
|
2662
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
2663
|
+
});
|
|
2664
|
+
|
|
2665
|
+
export function stackSettingsCertificateManagedAcmImport1ToJSON(
|
|
2666
|
+
stackSettingsCertificateManagedAcmImport1:
|
|
2667
|
+
StackSettingsCertificateManagedAcmImport1,
|
|
2668
|
+
): string {
|
|
2669
|
+
return JSON.stringify(
|
|
2670
|
+
StackSettingsCertificateManagedAcmImport1$outboundSchema.parse(
|
|
2671
|
+
stackSettingsCertificateManagedAcmImport1,
|
|
2672
|
+
),
|
|
2673
|
+
);
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
/** @internal */
|
|
2677
|
+
export type StackSettingsCertificateTLSSecretRef1$Outbound = {
|
|
2678
|
+
namespace?: string | null | undefined;
|
|
2679
|
+
secretName: string;
|
|
2680
|
+
mode: "tlsSecretRef";
|
|
2681
|
+
};
|
|
2682
|
+
|
|
2683
|
+
/** @internal */
|
|
2684
|
+
export const StackSettingsCertificateTLSSecretRef1$outboundSchema: z.ZodType<
|
|
2685
|
+
StackSettingsCertificateTLSSecretRef1$Outbound,
|
|
2686
|
+
StackSettingsCertificateTLSSecretRef1
|
|
2687
|
+
> = z.object({
|
|
2688
|
+
namespace: z.nullable(z.string()).optional(),
|
|
2689
|
+
secretName: z.string(),
|
|
2690
|
+
mode: z.literal("tlsSecretRef"),
|
|
2691
|
+
});
|
|
2692
|
+
|
|
2693
|
+
export function stackSettingsCertificateTLSSecretRef1ToJSON(
|
|
2694
|
+
stackSettingsCertificateTLSSecretRef1: StackSettingsCertificateTLSSecretRef1,
|
|
2695
|
+
): string {
|
|
2696
|
+
return JSON.stringify(
|
|
2697
|
+
StackSettingsCertificateTLSSecretRef1$outboundSchema.parse(
|
|
2698
|
+
stackSettingsCertificateTLSSecretRef1,
|
|
2699
|
+
),
|
|
2700
|
+
);
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
/** @internal */
|
|
2704
|
+
export type StackSettingsCertificateUnion1$Outbound =
|
|
2705
|
+
| StackSettingsCertificateTLSSecretRef1$Outbound
|
|
2706
|
+
| StackSettingsCertificateManagedAcmImport1$Outbound
|
|
2707
|
+
| StackSettingsCertificateAwsAcmArn1$Outbound
|
|
2708
|
+
| StackSettingsCertificateManagedTLSSecret1$Outbound
|
|
2709
|
+
| StackSettingsCertificateNone1$Outbound;
|
|
2710
|
+
|
|
2711
|
+
/** @internal */
|
|
2712
|
+
export const StackSettingsCertificateUnion1$outboundSchema: z.ZodType<
|
|
2713
|
+
StackSettingsCertificateUnion1$Outbound,
|
|
2714
|
+
StackSettingsCertificateUnion1
|
|
2715
|
+
> = z.union([
|
|
2716
|
+
z.lazy(() => StackSettingsCertificateTLSSecretRef1$outboundSchema),
|
|
2717
|
+
z.lazy(() => StackSettingsCertificateManagedAcmImport1$outboundSchema),
|
|
2718
|
+
z.lazy(() => StackSettingsCertificateAwsAcmArn1$outboundSchema),
|
|
2719
|
+
z.lazy(() => StackSettingsCertificateManagedTLSSecret1$outboundSchema),
|
|
2720
|
+
z.lazy(() => StackSettingsCertificateNone1$outboundSchema),
|
|
2721
|
+
]);
|
|
2722
|
+
|
|
2723
|
+
export function stackSettingsCertificateUnion1ToJSON(
|
|
2724
|
+
stackSettingsCertificateUnion1: StackSettingsCertificateUnion1,
|
|
2725
|
+
): string {
|
|
2726
|
+
return JSON.stringify(
|
|
2727
|
+
StackSettingsCertificateUnion1$outboundSchema.parse(
|
|
2728
|
+
stackSettingsCertificateUnion1,
|
|
2729
|
+
),
|
|
2730
|
+
);
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2733
|
+
/** @internal */
|
|
2734
|
+
export const StackSettingsModeGenerated$outboundSchema: z.ZodEnum<
|
|
2735
|
+
typeof StackSettingsModeGenerated
|
|
2736
|
+
> = z.enum(StackSettingsModeGenerated);
|
|
2737
|
+
|
|
2738
|
+
/** @internal */
|
|
2739
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainersEnum2$outboundSchema:
|
|
2740
|
+
z.ZodEnum<
|
|
2741
|
+
typeof StackSettingsProviderAzureApplicationGatewayForContainersEnum2
|
|
2742
|
+
> = z.enum(StackSettingsProviderAzureApplicationGatewayForContainersEnum2);
|
|
2743
|
+
|
|
2744
|
+
/** @internal */
|
|
2745
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainers2$Outbound =
|
|
2746
|
+
{
|
|
2747
|
+
albName?: string | null | undefined;
|
|
2748
|
+
albNamespace?: string | null | undefined;
|
|
2749
|
+
frontend: string;
|
|
2750
|
+
provider: string;
|
|
2751
|
+
};
|
|
2752
|
+
|
|
2753
|
+
/** @internal */
|
|
2754
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainers2$outboundSchema:
|
|
2755
|
+
z.ZodType<
|
|
2756
|
+
StackSettingsProviderAzureApplicationGatewayForContainers2$Outbound,
|
|
2757
|
+
StackSettingsProviderAzureApplicationGatewayForContainers2
|
|
2758
|
+
> = z.object({
|
|
2759
|
+
albName: z.nullable(z.string()).optional(),
|
|
2760
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
2761
|
+
frontend: z.string(),
|
|
2762
|
+
provider:
|
|
2763
|
+
StackSettingsProviderAzureApplicationGatewayForContainersEnum2$outboundSchema,
|
|
2764
|
+
});
|
|
2765
|
+
|
|
2766
|
+
export function stackSettingsProviderAzureApplicationGatewayForContainers2ToJSON(
|
|
2767
|
+
stackSettingsProviderAzureApplicationGatewayForContainers2:
|
|
2768
|
+
StackSettingsProviderAzureApplicationGatewayForContainers2,
|
|
2769
|
+
): string {
|
|
2770
|
+
return JSON.stringify(
|
|
2771
|
+
StackSettingsProviderAzureApplicationGatewayForContainers2$outboundSchema
|
|
2772
|
+
.parse(stackSettingsProviderAzureApplicationGatewayForContainers2),
|
|
2773
|
+
);
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
/** @internal */
|
|
2777
|
+
export const StackSettingsProviderGkeGatewayEnum2$outboundSchema: z.ZodEnum<
|
|
2778
|
+
typeof StackSettingsProviderGkeGatewayEnum2
|
|
2779
|
+
> = z.enum(StackSettingsProviderGkeGatewayEnum2);
|
|
2780
|
+
|
|
2781
|
+
/** @internal */
|
|
2782
|
+
export type StackSettingsProviderGkeGateway2$Outbound = {
|
|
2783
|
+
provider: string;
|
|
2784
|
+
staticAddressName?: string | null | undefined;
|
|
2785
|
+
};
|
|
2786
|
+
|
|
2787
|
+
/** @internal */
|
|
2788
|
+
export const StackSettingsProviderGkeGateway2$outboundSchema: z.ZodType<
|
|
2789
|
+
StackSettingsProviderGkeGateway2$Outbound,
|
|
2790
|
+
StackSettingsProviderGkeGateway2
|
|
2791
|
+
> = z.object({
|
|
2792
|
+
provider: StackSettingsProviderGkeGatewayEnum2$outboundSchema,
|
|
2793
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
2794
|
+
});
|
|
2795
|
+
|
|
2796
|
+
export function stackSettingsProviderGkeGateway2ToJSON(
|
|
2797
|
+
stackSettingsProviderGkeGateway2: StackSettingsProviderGkeGateway2,
|
|
2798
|
+
): string {
|
|
2799
|
+
return JSON.stringify(
|
|
2800
|
+
StackSettingsProviderGkeGateway2$outboundSchema.parse(
|
|
2801
|
+
stackSettingsProviderGkeGateway2,
|
|
2802
|
+
),
|
|
2803
|
+
);
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
/** @internal */
|
|
2807
|
+
export const StackSettingsProviderAwsAlbEnum2$outboundSchema: z.ZodEnum<
|
|
2808
|
+
typeof StackSettingsProviderAwsAlbEnum2
|
|
2809
|
+
> = z.enum(StackSettingsProviderAwsAlbEnum2);
|
|
2810
|
+
|
|
2811
|
+
/** @internal */
|
|
2812
|
+
export type StackSettingsProviderAwsAlb2$Outbound = {
|
|
2813
|
+
ipAddressType?: string | null | undefined;
|
|
2814
|
+
provider: string;
|
|
2815
|
+
scheme: string;
|
|
2816
|
+
subnetIds?: Array<string> | undefined;
|
|
2817
|
+
targetType: string;
|
|
2818
|
+
};
|
|
2819
|
+
|
|
2820
|
+
/** @internal */
|
|
2821
|
+
export const StackSettingsProviderAwsAlb2$outboundSchema: z.ZodType<
|
|
2822
|
+
StackSettingsProviderAwsAlb2$Outbound,
|
|
2823
|
+
StackSettingsProviderAwsAlb2
|
|
2824
|
+
> = z.object({
|
|
2825
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
2826
|
+
provider: StackSettingsProviderAwsAlbEnum2$outboundSchema,
|
|
2827
|
+
scheme: z.string(),
|
|
2828
|
+
subnetIds: z.array(z.string()).optional(),
|
|
2829
|
+
targetType: z.string(),
|
|
2830
|
+
});
|
|
2831
|
+
|
|
2832
|
+
export function stackSettingsProviderAwsAlb2ToJSON(
|
|
2833
|
+
stackSettingsProviderAwsAlb2: StackSettingsProviderAwsAlb2,
|
|
2834
|
+
): string {
|
|
2835
|
+
return JSON.stringify(
|
|
2836
|
+
StackSettingsProviderAwsAlb2$outboundSchema.parse(
|
|
2837
|
+
stackSettingsProviderAwsAlb2,
|
|
2838
|
+
),
|
|
2839
|
+
);
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2842
|
+
/** @internal */
|
|
2843
|
+
export type StackSettingsProviderUnion2$Outbound =
|
|
2844
|
+
| StackSettingsProviderAwsAlb2$Outbound
|
|
2845
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers2$Outbound
|
|
2846
|
+
| StackSettingsProviderGkeGateway2$Outbound
|
|
2847
|
+
| any;
|
|
2848
|
+
|
|
2849
|
+
/** @internal */
|
|
2850
|
+
export const StackSettingsProviderUnion2$outboundSchema: z.ZodType<
|
|
2851
|
+
StackSettingsProviderUnion2$Outbound,
|
|
2852
|
+
StackSettingsProviderUnion2
|
|
2853
|
+
> = z.union([
|
|
2854
|
+
z.lazy(() => StackSettingsProviderAwsAlb2$outboundSchema),
|
|
2855
|
+
z.lazy(() =>
|
|
2856
|
+
StackSettingsProviderAzureApplicationGatewayForContainers2$outboundSchema
|
|
2857
|
+
),
|
|
2858
|
+
z.lazy(() => StackSettingsProviderGkeGateway2$outboundSchema),
|
|
2859
|
+
z.any(),
|
|
2860
|
+
]);
|
|
2861
|
+
|
|
2862
|
+
export function stackSettingsProviderUnion2ToJSON(
|
|
2863
|
+
stackSettingsProviderUnion2: StackSettingsProviderUnion2,
|
|
2864
|
+
): string {
|
|
2865
|
+
return JSON.stringify(
|
|
2866
|
+
StackSettingsProviderUnion2$outboundSchema.parse(
|
|
2867
|
+
stackSettingsProviderUnion2,
|
|
2868
|
+
),
|
|
2869
|
+
);
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2872
|
+
/** @internal */
|
|
2873
|
+
export type StackSettingsRouteGateway1$Outbound = {
|
|
2874
|
+
annotations?: { [k: string]: string } | undefined;
|
|
2875
|
+
controller?: string | null | undefined;
|
|
2876
|
+
gatewayClassName: string;
|
|
2877
|
+
labels?: { [k: string]: string } | undefined;
|
|
2878
|
+
listenerPort: number;
|
|
2879
|
+
provider?:
|
|
2880
|
+
| StackSettingsProviderAwsAlb2$Outbound
|
|
2881
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers2$Outbound
|
|
2882
|
+
| StackSettingsProviderGkeGateway2$Outbound
|
|
2883
|
+
| any
|
|
2884
|
+
| null
|
|
2885
|
+
| undefined;
|
|
2886
|
+
routeApi: "gateway";
|
|
2887
|
+
};
|
|
2888
|
+
|
|
2889
|
+
/** @internal */
|
|
2890
|
+
export const StackSettingsRouteGateway1$outboundSchema: z.ZodType<
|
|
2891
|
+
StackSettingsRouteGateway1$Outbound,
|
|
2892
|
+
StackSettingsRouteGateway1
|
|
2893
|
+
> = z.object({
|
|
2894
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
2895
|
+
controller: z.nullable(z.string()).optional(),
|
|
2896
|
+
gatewayClassName: z.string(),
|
|
2897
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
2898
|
+
listenerPort: z.int(),
|
|
2899
|
+
provider: z.nullable(
|
|
2900
|
+
z.union([
|
|
2901
|
+
z.lazy(() => StackSettingsProviderAwsAlb2$outboundSchema),
|
|
2902
|
+
z.lazy(() =>
|
|
2903
|
+
StackSettingsProviderAzureApplicationGatewayForContainers2$outboundSchema
|
|
2904
|
+
),
|
|
2905
|
+
z.lazy(() => StackSettingsProviderGkeGateway2$outboundSchema),
|
|
2906
|
+
z.any(),
|
|
2907
|
+
]),
|
|
2908
|
+
).optional(),
|
|
2909
|
+
routeApi: z.literal("gateway"),
|
|
2910
|
+
});
|
|
2911
|
+
|
|
2912
|
+
export function stackSettingsRouteGateway1ToJSON(
|
|
2913
|
+
stackSettingsRouteGateway1: StackSettingsRouteGateway1,
|
|
2914
|
+
): string {
|
|
2915
|
+
return JSON.stringify(
|
|
2916
|
+
StackSettingsRouteGateway1$outboundSchema.parse(stackSettingsRouteGateway1),
|
|
2917
|
+
);
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2920
|
+
/** @internal */
|
|
2921
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainersEnum1$outboundSchema:
|
|
2922
|
+
z.ZodEnum<
|
|
2923
|
+
typeof StackSettingsProviderAzureApplicationGatewayForContainersEnum1
|
|
2924
|
+
> = z.enum(StackSettingsProviderAzureApplicationGatewayForContainersEnum1);
|
|
2925
|
+
|
|
2926
|
+
/** @internal */
|
|
2927
|
+
export type StackSettingsProviderAzureApplicationGatewayForContainers1$Outbound =
|
|
2928
|
+
{
|
|
2929
|
+
albName?: string | null | undefined;
|
|
2930
|
+
albNamespace?: string | null | undefined;
|
|
2931
|
+
frontend: string;
|
|
2932
|
+
provider: string;
|
|
2933
|
+
};
|
|
2934
|
+
|
|
2935
|
+
/** @internal */
|
|
2936
|
+
export const StackSettingsProviderAzureApplicationGatewayForContainers1$outboundSchema:
|
|
2937
|
+
z.ZodType<
|
|
2938
|
+
StackSettingsProviderAzureApplicationGatewayForContainers1$Outbound,
|
|
2939
|
+
StackSettingsProviderAzureApplicationGatewayForContainers1
|
|
2940
|
+
> = z.object({
|
|
2941
|
+
albName: z.nullable(z.string()).optional(),
|
|
2942
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
2943
|
+
frontend: z.string(),
|
|
2944
|
+
provider:
|
|
2945
|
+
StackSettingsProviderAzureApplicationGatewayForContainersEnum1$outboundSchema,
|
|
2946
|
+
});
|
|
2947
|
+
|
|
2948
|
+
export function stackSettingsProviderAzureApplicationGatewayForContainers1ToJSON(
|
|
2949
|
+
stackSettingsProviderAzureApplicationGatewayForContainers1:
|
|
2950
|
+
StackSettingsProviderAzureApplicationGatewayForContainers1,
|
|
2951
|
+
): string {
|
|
2952
|
+
return JSON.stringify(
|
|
2953
|
+
StackSettingsProviderAzureApplicationGatewayForContainers1$outboundSchema
|
|
2954
|
+
.parse(stackSettingsProviderAzureApplicationGatewayForContainers1),
|
|
2955
|
+
);
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
/** @internal */
|
|
2959
|
+
export const StackSettingsProviderGkeGatewayEnum1$outboundSchema: z.ZodEnum<
|
|
2960
|
+
typeof StackSettingsProviderGkeGatewayEnum1
|
|
2961
|
+
> = z.enum(StackSettingsProviderGkeGatewayEnum1);
|
|
2962
|
+
|
|
2963
|
+
/** @internal */
|
|
2964
|
+
export type StackSettingsProviderGkeGateway1$Outbound = {
|
|
2965
|
+
provider: string;
|
|
2966
|
+
staticAddressName?: string | null | undefined;
|
|
2967
|
+
};
|
|
2968
|
+
|
|
2969
|
+
/** @internal */
|
|
2970
|
+
export const StackSettingsProviderGkeGateway1$outboundSchema: z.ZodType<
|
|
2971
|
+
StackSettingsProviderGkeGateway1$Outbound,
|
|
2972
|
+
StackSettingsProviderGkeGateway1
|
|
2973
|
+
> = z.object({
|
|
2974
|
+
provider: StackSettingsProviderGkeGatewayEnum1$outboundSchema,
|
|
2975
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
2976
|
+
});
|
|
2977
|
+
|
|
2978
|
+
export function stackSettingsProviderGkeGateway1ToJSON(
|
|
2979
|
+
stackSettingsProviderGkeGateway1: StackSettingsProviderGkeGateway1,
|
|
2980
|
+
): string {
|
|
2981
|
+
return JSON.stringify(
|
|
2982
|
+
StackSettingsProviderGkeGateway1$outboundSchema.parse(
|
|
2983
|
+
stackSettingsProviderGkeGateway1,
|
|
2984
|
+
),
|
|
2985
|
+
);
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
/** @internal */
|
|
2989
|
+
export const StackSettingsProviderAwsAlbEnum1$outboundSchema: z.ZodEnum<
|
|
2990
|
+
typeof StackSettingsProviderAwsAlbEnum1
|
|
2991
|
+
> = z.enum(StackSettingsProviderAwsAlbEnum1);
|
|
2992
|
+
|
|
2993
|
+
/** @internal */
|
|
2994
|
+
export type StackSettingsProviderAwsAlb1$Outbound = {
|
|
2995
|
+
ipAddressType?: string | null | undefined;
|
|
2996
|
+
provider: string;
|
|
2997
|
+
scheme: string;
|
|
2998
|
+
subnetIds?: Array<string> | undefined;
|
|
2999
|
+
targetType: string;
|
|
3000
|
+
};
|
|
3001
|
+
|
|
3002
|
+
/** @internal */
|
|
3003
|
+
export const StackSettingsProviderAwsAlb1$outboundSchema: z.ZodType<
|
|
3004
|
+
StackSettingsProviderAwsAlb1$Outbound,
|
|
3005
|
+
StackSettingsProviderAwsAlb1
|
|
3006
|
+
> = z.object({
|
|
3007
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
3008
|
+
provider: StackSettingsProviderAwsAlbEnum1$outboundSchema,
|
|
3009
|
+
scheme: z.string(),
|
|
3010
|
+
subnetIds: z.array(z.string()).optional(),
|
|
3011
|
+
targetType: z.string(),
|
|
3012
|
+
});
|
|
3013
|
+
|
|
3014
|
+
export function stackSettingsProviderAwsAlb1ToJSON(
|
|
3015
|
+
stackSettingsProviderAwsAlb1: StackSettingsProviderAwsAlb1,
|
|
3016
|
+
): string {
|
|
3017
|
+
return JSON.stringify(
|
|
3018
|
+
StackSettingsProviderAwsAlb1$outboundSchema.parse(
|
|
3019
|
+
stackSettingsProviderAwsAlb1,
|
|
3020
|
+
),
|
|
3021
|
+
);
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3024
|
+
/** @internal */
|
|
3025
|
+
export type StackSettingsProviderUnion1$Outbound =
|
|
3026
|
+
| StackSettingsProviderAwsAlb1$Outbound
|
|
3027
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers1$Outbound
|
|
3028
|
+
| StackSettingsProviderGkeGateway1$Outbound
|
|
3029
|
+
| any;
|
|
3030
|
+
|
|
3031
|
+
/** @internal */
|
|
3032
|
+
export const StackSettingsProviderUnion1$outboundSchema: z.ZodType<
|
|
3033
|
+
StackSettingsProviderUnion1$Outbound,
|
|
3034
|
+
StackSettingsProviderUnion1
|
|
3035
|
+
> = z.union([
|
|
3036
|
+
z.lazy(() => StackSettingsProviderAwsAlb1$outboundSchema),
|
|
3037
|
+
z.lazy(() =>
|
|
3038
|
+
StackSettingsProviderAzureApplicationGatewayForContainers1$outboundSchema
|
|
3039
|
+
),
|
|
3040
|
+
z.lazy(() => StackSettingsProviderGkeGateway1$outboundSchema),
|
|
3041
|
+
z.any(),
|
|
3042
|
+
]);
|
|
3043
|
+
|
|
3044
|
+
export function stackSettingsProviderUnion1ToJSON(
|
|
3045
|
+
stackSettingsProviderUnion1: StackSettingsProviderUnion1,
|
|
3046
|
+
): string {
|
|
3047
|
+
return JSON.stringify(
|
|
3048
|
+
StackSettingsProviderUnion1$outboundSchema.parse(
|
|
3049
|
+
stackSettingsProviderUnion1,
|
|
3050
|
+
),
|
|
3051
|
+
);
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
/** @internal */
|
|
3055
|
+
export type StackSettingsRouteIngress1$Outbound = {
|
|
3056
|
+
annotations?: { [k: string]: string } | undefined;
|
|
3057
|
+
controller?: string | null | undefined;
|
|
3058
|
+
ingressClassName: string;
|
|
3059
|
+
labels?: { [k: string]: string } | undefined;
|
|
3060
|
+
provider?:
|
|
3061
|
+
| StackSettingsProviderAwsAlb1$Outbound
|
|
3062
|
+
| StackSettingsProviderAzureApplicationGatewayForContainers1$Outbound
|
|
3063
|
+
| StackSettingsProviderGkeGateway1$Outbound
|
|
3064
|
+
| any
|
|
3065
|
+
| null
|
|
3066
|
+
| undefined;
|
|
3067
|
+
routeApi: "ingress";
|
|
3068
|
+
};
|
|
3069
|
+
|
|
3070
|
+
/** @internal */
|
|
3071
|
+
export const StackSettingsRouteIngress1$outboundSchema: z.ZodType<
|
|
3072
|
+
StackSettingsRouteIngress1$Outbound,
|
|
3073
|
+
StackSettingsRouteIngress1
|
|
3074
|
+
> = z.object({
|
|
3075
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
3076
|
+
controller: z.nullable(z.string()).optional(),
|
|
3077
|
+
ingressClassName: z.string(),
|
|
3078
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
3079
|
+
provider: z.nullable(
|
|
3080
|
+
z.union([
|
|
3081
|
+
z.lazy(() => StackSettingsProviderAwsAlb1$outboundSchema),
|
|
3082
|
+
z.lazy(() =>
|
|
3083
|
+
StackSettingsProviderAzureApplicationGatewayForContainers1$outboundSchema
|
|
3084
|
+
),
|
|
3085
|
+
z.lazy(() => StackSettingsProviderGkeGateway1$outboundSchema),
|
|
3086
|
+
z.any(),
|
|
3087
|
+
]),
|
|
3088
|
+
).optional(),
|
|
3089
|
+
routeApi: z.literal("ingress"),
|
|
3090
|
+
});
|
|
3091
|
+
|
|
3092
|
+
export function stackSettingsRouteIngress1ToJSON(
|
|
3093
|
+
stackSettingsRouteIngress1: StackSettingsRouteIngress1,
|
|
3094
|
+
): string {
|
|
3095
|
+
return JSON.stringify(
|
|
3096
|
+
StackSettingsRouteIngress1$outboundSchema.parse(stackSettingsRouteIngress1),
|
|
3097
|
+
);
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
/** @internal */
|
|
3101
|
+
export type StackSettingsRouteUnion1$Outbound =
|
|
3102
|
+
| StackSettingsRouteIngress1$Outbound
|
|
3103
|
+
| StackSettingsRouteGateway1$Outbound;
|
|
3104
|
+
|
|
3105
|
+
/** @internal */
|
|
3106
|
+
export const StackSettingsRouteUnion1$outboundSchema: z.ZodType<
|
|
3107
|
+
StackSettingsRouteUnion1$Outbound,
|
|
3108
|
+
StackSettingsRouteUnion1
|
|
3109
|
+
> = z.union([
|
|
3110
|
+
z.lazy(() => StackSettingsRouteIngress1$outboundSchema),
|
|
3111
|
+
z.lazy(() => StackSettingsRouteGateway1$outboundSchema),
|
|
3112
|
+
]);
|
|
3113
|
+
|
|
3114
|
+
export function stackSettingsRouteUnion1ToJSON(
|
|
3115
|
+
stackSettingsRouteUnion1: StackSettingsRouteUnion1,
|
|
3116
|
+
): string {
|
|
3117
|
+
return JSON.stringify(
|
|
3118
|
+
StackSettingsRouteUnion1$outboundSchema.parse(stackSettingsRouteUnion1),
|
|
3119
|
+
);
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
/** @internal */
|
|
3123
|
+
export type StackSettingsExposureGenerated$Outbound = {
|
|
3124
|
+
certificate:
|
|
3125
|
+
| StackSettingsCertificateTLSSecretRef1$Outbound
|
|
3126
|
+
| StackSettingsCertificateManagedAcmImport1$Outbound
|
|
3127
|
+
| StackSettingsCertificateAwsAcmArn1$Outbound
|
|
3128
|
+
| StackSettingsCertificateManagedTLSSecret1$Outbound
|
|
3129
|
+
| StackSettingsCertificateNone1$Outbound;
|
|
3130
|
+
mode: string;
|
|
3131
|
+
route:
|
|
3132
|
+
| StackSettingsRouteIngress1$Outbound
|
|
3133
|
+
| StackSettingsRouteGateway1$Outbound;
|
|
3134
|
+
};
|
|
3135
|
+
|
|
3136
|
+
/** @internal */
|
|
3137
|
+
export const StackSettingsExposureGenerated$outboundSchema: z.ZodType<
|
|
3138
|
+
StackSettingsExposureGenerated$Outbound,
|
|
3139
|
+
StackSettingsExposureGenerated
|
|
3140
|
+
> = z.object({
|
|
3141
|
+
certificate: z.union([
|
|
3142
|
+
z.lazy(() => StackSettingsCertificateTLSSecretRef1$outboundSchema),
|
|
3143
|
+
z.lazy(() => StackSettingsCertificateManagedAcmImport1$outboundSchema),
|
|
3144
|
+
z.lazy(() => StackSettingsCertificateAwsAcmArn1$outboundSchema),
|
|
3145
|
+
z.lazy(() => StackSettingsCertificateManagedTLSSecret1$outboundSchema),
|
|
3146
|
+
z.lazy(() => StackSettingsCertificateNone1$outboundSchema),
|
|
3147
|
+
]),
|
|
3148
|
+
mode: StackSettingsModeGenerated$outboundSchema,
|
|
3149
|
+
route: z.union([
|
|
3150
|
+
z.lazy(() => StackSettingsRouteIngress1$outboundSchema),
|
|
3151
|
+
z.lazy(() => StackSettingsRouteGateway1$outboundSchema),
|
|
3152
|
+
]),
|
|
3153
|
+
});
|
|
3154
|
+
|
|
3155
|
+
export function stackSettingsExposureGeneratedToJSON(
|
|
3156
|
+
stackSettingsExposureGenerated: StackSettingsExposureGenerated,
|
|
3157
|
+
): string {
|
|
3158
|
+
return JSON.stringify(
|
|
3159
|
+
StackSettingsExposureGenerated$outboundSchema.parse(
|
|
3160
|
+
stackSettingsExposureGenerated,
|
|
3161
|
+
),
|
|
3162
|
+
);
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
/** @internal */
|
|
3166
|
+
export const StackSettingsModeDisabled$outboundSchema: z.ZodEnum<
|
|
3167
|
+
typeof StackSettingsModeDisabled
|
|
3168
|
+
> = z.enum(StackSettingsModeDisabled);
|
|
3169
|
+
|
|
3170
|
+
/** @internal */
|
|
3171
|
+
export type StackSettingsExposureDisabled$Outbound = {
|
|
3172
|
+
mode: string;
|
|
3173
|
+
};
|
|
3174
|
+
|
|
3175
|
+
/** @internal */
|
|
3176
|
+
export const StackSettingsExposureDisabled$outboundSchema: z.ZodType<
|
|
3177
|
+
StackSettingsExposureDisabled$Outbound,
|
|
3178
|
+
StackSettingsExposureDisabled
|
|
3179
|
+
> = z.object({
|
|
3180
|
+
mode: StackSettingsModeDisabled$outboundSchema,
|
|
3181
|
+
});
|
|
3182
|
+
|
|
3183
|
+
export function stackSettingsExposureDisabledToJSON(
|
|
3184
|
+
stackSettingsExposureDisabled: StackSettingsExposureDisabled,
|
|
3185
|
+
): string {
|
|
3186
|
+
return JSON.stringify(
|
|
3187
|
+
StackSettingsExposureDisabled$outboundSchema.parse(
|
|
3188
|
+
stackSettingsExposureDisabled,
|
|
3189
|
+
),
|
|
3190
|
+
);
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3193
|
+
/** @internal */
|
|
3194
|
+
export type StackSettingsExposureUnion$Outbound =
|
|
3195
|
+
| StackSettingsExposureCustom$Outbound
|
|
3196
|
+
| StackSettingsExposureGenerated$Outbound
|
|
3197
|
+
| StackSettingsExposureDisabled$Outbound
|
|
3198
|
+
| any;
|
|
3199
|
+
|
|
3200
|
+
/** @internal */
|
|
3201
|
+
export const StackSettingsExposureUnion$outboundSchema: z.ZodType<
|
|
3202
|
+
StackSettingsExposureUnion$Outbound,
|
|
3203
|
+
StackSettingsExposureUnion
|
|
3204
|
+
> = z.union([
|
|
3205
|
+
z.lazy(() => StackSettingsExposureCustom$outboundSchema),
|
|
3206
|
+
z.lazy(() => StackSettingsExposureGenerated$outboundSchema),
|
|
3207
|
+
z.lazy(() => StackSettingsExposureDisabled$outboundSchema),
|
|
3208
|
+
z.any(),
|
|
3209
|
+
]);
|
|
3210
|
+
|
|
3211
|
+
export function stackSettingsExposureUnionToJSON(
|
|
3212
|
+
stackSettingsExposureUnion: StackSettingsExposureUnion,
|
|
3213
|
+
): string {
|
|
3214
|
+
return JSON.stringify(
|
|
3215
|
+
StackSettingsExposureUnion$outboundSchema.parse(stackSettingsExposureUnion),
|
|
3216
|
+
);
|
|
3217
|
+
}
|
|
3218
|
+
|
|
3219
|
+
/** @internal */
|
|
3220
|
+
export type StackSettingsKubernetes$Outbound = {
|
|
3221
|
+
cluster?: StackSettingsCluster$Outbound | any | null | undefined;
|
|
3222
|
+
exposure?:
|
|
3223
|
+
| StackSettingsExposureCustom$Outbound
|
|
3224
|
+
| StackSettingsExposureGenerated$Outbound
|
|
3225
|
+
| StackSettingsExposureDisabled$Outbound
|
|
3226
|
+
| any
|
|
3227
|
+
| null
|
|
3228
|
+
| undefined;
|
|
3229
|
+
};
|
|
3230
|
+
|
|
3231
|
+
/** @internal */
|
|
3232
|
+
export const StackSettingsKubernetes$outboundSchema: z.ZodType<
|
|
3233
|
+
StackSettingsKubernetes$Outbound,
|
|
3234
|
+
StackSettingsKubernetes
|
|
3235
|
+
> = z.object({
|
|
3236
|
+
cluster: z.nullable(
|
|
3237
|
+
z.union([z.lazy(() => StackSettingsCluster$outboundSchema), z.any()]),
|
|
3238
|
+
).optional(),
|
|
3239
|
+
exposure: z.nullable(
|
|
3240
|
+
z.union([
|
|
3241
|
+
z.lazy(() => StackSettingsExposureCustom$outboundSchema),
|
|
3242
|
+
z.lazy(() => StackSettingsExposureGenerated$outboundSchema),
|
|
3243
|
+
z.lazy(() => StackSettingsExposureDisabled$outboundSchema),
|
|
3244
|
+
z.any(),
|
|
3245
|
+
]),
|
|
3246
|
+
).optional(),
|
|
3247
|
+
});
|
|
3248
|
+
|
|
3249
|
+
export function stackSettingsKubernetesToJSON(
|
|
3250
|
+
stackSettingsKubernetes: StackSettingsKubernetes,
|
|
3251
|
+
): string {
|
|
3252
|
+
return JSON.stringify(
|
|
3253
|
+
StackSettingsKubernetes$outboundSchema.parse(stackSettingsKubernetes),
|
|
3254
|
+
);
|
|
3255
|
+
}
|
|
3256
|
+
|
|
3257
|
+
/** @internal */
|
|
3258
|
+
export type StackSettingsKubernetesUnion$Outbound =
|
|
3259
|
+
| StackSettingsKubernetes$Outbound
|
|
3260
|
+
| any;
|
|
3261
|
+
|
|
3262
|
+
/** @internal */
|
|
3263
|
+
export const StackSettingsKubernetesUnion$outboundSchema: z.ZodType<
|
|
3264
|
+
StackSettingsKubernetesUnion$Outbound,
|
|
3265
|
+
StackSettingsKubernetesUnion
|
|
3266
|
+
> = z.union([z.lazy(() => StackSettingsKubernetes$outboundSchema), z.any()]);
|
|
3267
|
+
|
|
3268
|
+
export function stackSettingsKubernetesUnionToJSON(
|
|
3269
|
+
stackSettingsKubernetesUnion: StackSettingsKubernetesUnion,
|
|
3270
|
+
): string {
|
|
3271
|
+
return JSON.stringify(
|
|
3272
|
+
StackSettingsKubernetesUnion$outboundSchema.parse(
|
|
3273
|
+
stackSettingsKubernetesUnion,
|
|
3274
|
+
),
|
|
3275
|
+
);
|
|
3276
|
+
}
|
|
3277
|
+
|
|
3278
|
+
/** @internal */
|
|
3279
|
+
export type StackSettingsLogs$Outbound = {
|
|
3280
|
+
parseApplicationLevels?: boolean | undefined;
|
|
3281
|
+
};
|
|
3282
|
+
|
|
3283
|
+
/** @internal */
|
|
3284
|
+
export const StackSettingsLogs$outboundSchema: z.ZodType<
|
|
3285
|
+
StackSettingsLogs$Outbound,
|
|
3286
|
+
StackSettingsLogs
|
|
3287
|
+
> = z.object({
|
|
3288
|
+
parseApplicationLevels: z.boolean().optional(),
|
|
3289
|
+
});
|
|
3290
|
+
|
|
3291
|
+
export function stackSettingsLogsToJSON(
|
|
3292
|
+
stackSettingsLogs: StackSettingsLogs,
|
|
3293
|
+
): string {
|
|
3294
|
+
return JSON.stringify(
|
|
3295
|
+
StackSettingsLogs$outboundSchema.parse(stackSettingsLogs),
|
|
3296
|
+
);
|
|
3297
|
+
}
|
|
3298
|
+
|
|
3299
|
+
/** @internal */
|
|
3300
|
+
export type StackSettingsLogsUnion$Outbound = StackSettingsLogs$Outbound | any;
|
|
3301
|
+
|
|
3302
|
+
/** @internal */
|
|
3303
|
+
export const StackSettingsLogsUnion$outboundSchema: z.ZodType<
|
|
3304
|
+
StackSettingsLogsUnion$Outbound,
|
|
3305
|
+
StackSettingsLogsUnion
|
|
3306
|
+
> = z.union([z.lazy(() => StackSettingsLogs$outboundSchema), z.any()]);
|
|
3307
|
+
|
|
3308
|
+
export function stackSettingsLogsUnionToJSON(
|
|
3309
|
+
stackSettingsLogsUnion: StackSettingsLogsUnion,
|
|
3310
|
+
): string {
|
|
3311
|
+
return JSON.stringify(
|
|
3312
|
+
StackSettingsLogsUnion$outboundSchema.parse(stackSettingsLogsUnion),
|
|
3313
|
+
);
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
/** @internal */
|
|
3317
|
+
export const StackSettingsTypeByoVnetAzure$outboundSchema: z.ZodEnum<
|
|
3318
|
+
typeof StackSettingsTypeByoVnetAzure
|
|
3319
|
+
> = z.enum(StackSettingsTypeByoVnetAzure);
|
|
3320
|
+
|
|
3321
|
+
/** @internal */
|
|
3322
|
+
export type StackSettingsNetworkByoVnetAzure$Outbound = {
|
|
3323
|
+
application_gateway_subnet_name?: string | null | undefined;
|
|
3324
|
+
private_endpoint_subnet_name?: string | null | undefined;
|
|
3325
|
+
private_subnet_name: string;
|
|
3326
|
+
public_subnet_name: string;
|
|
3327
|
+
type: string;
|
|
3328
|
+
vnet_resource_id: string;
|
|
3329
|
+
};
|
|
3330
|
+
|
|
3331
|
+
/** @internal */
|
|
3332
|
+
export const StackSettingsNetworkByoVnetAzure$outboundSchema: z.ZodType<
|
|
3333
|
+
StackSettingsNetworkByoVnetAzure$Outbound,
|
|
3334
|
+
StackSettingsNetworkByoVnetAzure
|
|
3335
|
+
> = z.object({
|
|
3336
|
+
applicationGatewaySubnetName: z.nullable(z.string()).optional(),
|
|
3337
|
+
privateEndpointSubnetName: z.nullable(z.string()).optional(),
|
|
3338
|
+
privateSubnetName: z.string(),
|
|
3339
|
+
publicSubnetName: z.string(),
|
|
3340
|
+
type: StackSettingsTypeByoVnetAzure$outboundSchema,
|
|
3341
|
+
vnetResourceId: z.string(),
|
|
3342
|
+
}).transform((v) => {
|
|
3343
|
+
return remap$(v, {
|
|
3344
|
+
applicationGatewaySubnetName: "application_gateway_subnet_name",
|
|
3345
|
+
privateEndpointSubnetName: "private_endpoint_subnet_name",
|
|
3346
|
+
privateSubnetName: "private_subnet_name",
|
|
3347
|
+
publicSubnetName: "public_subnet_name",
|
|
3348
|
+
vnetResourceId: "vnet_resource_id",
|
|
3349
|
+
});
|
|
3350
|
+
});
|
|
3351
|
+
|
|
3352
|
+
export function stackSettingsNetworkByoVnetAzureToJSON(
|
|
3353
|
+
stackSettingsNetworkByoVnetAzure: StackSettingsNetworkByoVnetAzure,
|
|
3354
|
+
): string {
|
|
3355
|
+
return JSON.stringify(
|
|
3356
|
+
StackSettingsNetworkByoVnetAzure$outboundSchema.parse(
|
|
3357
|
+
stackSettingsNetworkByoVnetAzure,
|
|
3358
|
+
),
|
|
3359
|
+
);
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
/** @internal */
|
|
3363
|
+
export const StackSettingsTypeByoVpcGcp$outboundSchema: z.ZodEnum<
|
|
3364
|
+
typeof StackSettingsTypeByoVpcGcp
|
|
3365
|
+
> = z.enum(StackSettingsTypeByoVpcGcp);
|
|
3366
|
+
|
|
3367
|
+
/** @internal */
|
|
3368
|
+
export type StackSettingsNetworkByoVpcGcp$Outbound = {
|
|
3369
|
+
network_name: string;
|
|
3370
|
+
region: string;
|
|
3371
|
+
subnet_name: string;
|
|
3372
|
+
type: string;
|
|
3373
|
+
};
|
|
3374
|
+
|
|
3375
|
+
/** @internal */
|
|
3376
|
+
export const StackSettingsNetworkByoVpcGcp$outboundSchema: z.ZodType<
|
|
3377
|
+
StackSettingsNetworkByoVpcGcp$Outbound,
|
|
3378
|
+
StackSettingsNetworkByoVpcGcp
|
|
3379
|
+
> = z.object({
|
|
3380
|
+
networkName: z.string(),
|
|
3381
|
+
region: z.string(),
|
|
3382
|
+
subnetName: z.string(),
|
|
3383
|
+
type: StackSettingsTypeByoVpcGcp$outboundSchema,
|
|
3384
|
+
}).transform((v) => {
|
|
3385
|
+
return remap$(v, {
|
|
3386
|
+
networkName: "network_name",
|
|
3387
|
+
subnetName: "subnet_name",
|
|
3388
|
+
});
|
|
3389
|
+
});
|
|
3390
|
+
|
|
3391
|
+
export function stackSettingsNetworkByoVpcGcpToJSON(
|
|
3392
|
+
stackSettingsNetworkByoVpcGcp: StackSettingsNetworkByoVpcGcp,
|
|
3393
|
+
): string {
|
|
3394
|
+
return JSON.stringify(
|
|
3395
|
+
StackSettingsNetworkByoVpcGcp$outboundSchema.parse(
|
|
3396
|
+
stackSettingsNetworkByoVpcGcp,
|
|
3397
|
+
),
|
|
3398
|
+
);
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
/** @internal */
|
|
3402
|
+
export const StackSettingsTypeByoVpcAws$outboundSchema: z.ZodEnum<
|
|
3403
|
+
typeof StackSettingsTypeByoVpcAws
|
|
3404
|
+
> = z.enum(StackSettingsTypeByoVpcAws);
|
|
3405
|
+
|
|
3406
|
+
/** @internal */
|
|
3407
|
+
export type StackSettingsNetworkByoVpcAws$Outbound = {
|
|
3408
|
+
private_subnet_ids: Array<string>;
|
|
3409
|
+
public_subnet_ids: Array<string>;
|
|
3410
|
+
security_group_ids?: Array<string> | undefined;
|
|
3411
|
+
type: string;
|
|
3412
|
+
vpc_id: string;
|
|
3413
|
+
};
|
|
3414
|
+
|
|
3415
|
+
/** @internal */
|
|
3416
|
+
export const StackSettingsNetworkByoVpcAws$outboundSchema: z.ZodType<
|
|
3417
|
+
StackSettingsNetworkByoVpcAws$Outbound,
|
|
3418
|
+
StackSettingsNetworkByoVpcAws
|
|
3419
|
+
> = z.object({
|
|
3420
|
+
privateSubnetIds: z.array(z.string()),
|
|
3421
|
+
publicSubnetIds: z.array(z.string()),
|
|
3422
|
+
securityGroupIds: z.array(z.string()).optional(),
|
|
3423
|
+
type: StackSettingsTypeByoVpcAws$outboundSchema,
|
|
3424
|
+
vpcId: z.string(),
|
|
3425
|
+
}).transform((v) => {
|
|
3426
|
+
return remap$(v, {
|
|
3427
|
+
privateSubnetIds: "private_subnet_ids",
|
|
3428
|
+
publicSubnetIds: "public_subnet_ids",
|
|
3429
|
+
securityGroupIds: "security_group_ids",
|
|
3430
|
+
vpcId: "vpc_id",
|
|
3431
|
+
});
|
|
3432
|
+
});
|
|
3433
|
+
|
|
3434
|
+
export function stackSettingsNetworkByoVpcAwsToJSON(
|
|
3435
|
+
stackSettingsNetworkByoVpcAws: StackSettingsNetworkByoVpcAws,
|
|
3436
|
+
): string {
|
|
3437
|
+
return JSON.stringify(
|
|
3438
|
+
StackSettingsNetworkByoVpcAws$outboundSchema.parse(
|
|
3439
|
+
stackSettingsNetworkByoVpcAws,
|
|
3440
|
+
),
|
|
3441
|
+
);
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
/** @internal */
|
|
3445
|
+
export const StackSettingsTypeCreate$outboundSchema: z.ZodEnum<
|
|
3446
|
+
typeof StackSettingsTypeCreate
|
|
3447
|
+
> = z.enum(StackSettingsTypeCreate);
|
|
3448
|
+
|
|
3449
|
+
/** @internal */
|
|
3450
|
+
export type StackSettingsNetworkCreate$Outbound = {
|
|
3451
|
+
availability_zones?: number | undefined;
|
|
3452
|
+
cidr?: string | null | undefined;
|
|
3453
|
+
type: string;
|
|
3454
|
+
};
|
|
3455
|
+
|
|
3456
|
+
/** @internal */
|
|
3457
|
+
export const StackSettingsNetworkCreate$outboundSchema: z.ZodType<
|
|
3458
|
+
StackSettingsNetworkCreate$Outbound,
|
|
3459
|
+
StackSettingsNetworkCreate
|
|
3460
|
+
> = z.object({
|
|
3461
|
+
availabilityZones: z.int().optional(),
|
|
3462
|
+
cidr: z.nullable(z.string()).optional(),
|
|
3463
|
+
type: StackSettingsTypeCreate$outboundSchema,
|
|
3464
|
+
}).transform((v) => {
|
|
3465
|
+
return remap$(v, {
|
|
3466
|
+
availabilityZones: "availability_zones",
|
|
3467
|
+
});
|
|
3468
|
+
});
|
|
3469
|
+
|
|
3470
|
+
export function stackSettingsNetworkCreateToJSON(
|
|
3471
|
+
stackSettingsNetworkCreate: StackSettingsNetworkCreate,
|
|
3472
|
+
): string {
|
|
3473
|
+
return JSON.stringify(
|
|
3474
|
+
StackSettingsNetworkCreate$outboundSchema.parse(stackSettingsNetworkCreate),
|
|
3475
|
+
);
|
|
3476
|
+
}
|
|
3477
|
+
|
|
3478
|
+
/** @internal */
|
|
3479
|
+
export const StackSettingsTypeUseDefault$outboundSchema: z.ZodEnum<
|
|
3480
|
+
typeof StackSettingsTypeUseDefault
|
|
3481
|
+
> = z.enum(StackSettingsTypeUseDefault);
|
|
3482
|
+
|
|
3483
|
+
/** @internal */
|
|
3484
|
+
export type StackSettingsNetworkUseDefault$Outbound = {
|
|
3485
|
+
type: string;
|
|
3486
|
+
};
|
|
3487
|
+
|
|
3488
|
+
/** @internal */
|
|
3489
|
+
export const StackSettingsNetworkUseDefault$outboundSchema: z.ZodType<
|
|
3490
|
+
StackSettingsNetworkUseDefault$Outbound,
|
|
3491
|
+
StackSettingsNetworkUseDefault
|
|
3492
|
+
> = z.object({
|
|
3493
|
+
type: StackSettingsTypeUseDefault$outboundSchema,
|
|
3494
|
+
});
|
|
3495
|
+
|
|
3496
|
+
export function stackSettingsNetworkUseDefaultToJSON(
|
|
3497
|
+
stackSettingsNetworkUseDefault: StackSettingsNetworkUseDefault,
|
|
3498
|
+
): string {
|
|
3499
|
+
return JSON.stringify(
|
|
3500
|
+
StackSettingsNetworkUseDefault$outboundSchema.parse(
|
|
3501
|
+
stackSettingsNetworkUseDefault,
|
|
3502
|
+
),
|
|
3503
|
+
);
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
/** @internal */
|
|
3507
|
+
export type StackSettingsNetworkUnion$Outbound =
|
|
3508
|
+
| StackSettingsNetworkByoVpcAws$Outbound
|
|
3509
|
+
| StackSettingsNetworkByoVpcGcp$Outbound
|
|
3510
|
+
| StackSettingsNetworkByoVnetAzure$Outbound
|
|
3511
|
+
| StackSettingsNetworkUseDefault$Outbound
|
|
3512
|
+
| StackSettingsNetworkCreate$Outbound
|
|
3513
|
+
| any;
|
|
3514
|
+
|
|
3515
|
+
/** @internal */
|
|
3516
|
+
export const StackSettingsNetworkUnion$outboundSchema: z.ZodType<
|
|
3517
|
+
StackSettingsNetworkUnion$Outbound,
|
|
3518
|
+
StackSettingsNetworkUnion
|
|
3519
|
+
> = z.union([
|
|
3520
|
+
z.lazy(() => StackSettingsNetworkByoVpcAws$outboundSchema),
|
|
3521
|
+
z.lazy(() => StackSettingsNetworkByoVpcGcp$outboundSchema),
|
|
3522
|
+
z.lazy(() => StackSettingsNetworkByoVnetAzure$outboundSchema),
|
|
3523
|
+
z.lazy(() => StackSettingsNetworkUseDefault$outboundSchema),
|
|
3524
|
+
z.lazy(() => StackSettingsNetworkCreate$outboundSchema),
|
|
3525
|
+
z.any(),
|
|
3526
|
+
]);
|
|
3527
|
+
|
|
3528
|
+
export function stackSettingsNetworkUnionToJSON(
|
|
3529
|
+
stackSettingsNetworkUnion: StackSettingsNetworkUnion,
|
|
3530
|
+
): string {
|
|
3531
|
+
return JSON.stringify(
|
|
3532
|
+
StackSettingsNetworkUnion$outboundSchema.parse(stackSettingsNetworkUnion),
|
|
3533
|
+
);
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3536
|
+
/** @internal */
|
|
3537
|
+
export const StackSettingsTelemetry$outboundSchema: z.ZodEnum<
|
|
3538
|
+
typeof StackSettingsTelemetry
|
|
3539
|
+
> = z.enum(StackSettingsTelemetry);
|
|
3540
|
+
|
|
3541
|
+
/** @internal */
|
|
3542
|
+
export const StackSettingsUpdates$outboundSchema: z.ZodEnum<
|
|
3543
|
+
typeof StackSettingsUpdates
|
|
3544
|
+
> = z.enum(StackSettingsUpdates);
|
|
3545
|
+
|
|
3546
|
+
/** @internal */
|
|
3547
|
+
export type StackSettings$Outbound = {
|
|
3548
|
+
compute?: StackSettingsCompute$Outbound | any | null | undefined;
|
|
3549
|
+
deploymentModel?: string | undefined;
|
|
3550
|
+
domains?: StackSettingsDomains$Outbound | any | null | undefined;
|
|
3551
|
+
externalBindings?: StackSettingsExternalBindings$Outbound | null | undefined;
|
|
3552
|
+
heartbeats?: string | undefined;
|
|
3553
|
+
kubernetes?: StackSettingsKubernetes$Outbound | any | null | undefined;
|
|
3554
|
+
logs?: StackSettingsLogs$Outbound | any | null | undefined;
|
|
3555
|
+
network?:
|
|
3556
|
+
| StackSettingsNetworkByoVpcAws$Outbound
|
|
3557
|
+
| StackSettingsNetworkByoVpcGcp$Outbound
|
|
3558
|
+
| StackSettingsNetworkByoVnetAzure$Outbound
|
|
3559
|
+
| StackSettingsNetworkUseDefault$Outbound
|
|
3560
|
+
| StackSettingsNetworkCreate$Outbound
|
|
3561
|
+
| any
|
|
3562
|
+
| null
|
|
3563
|
+
| undefined;
|
|
3564
|
+
publicEndpoints?: { [k: string]: { [k: string]: string } } | null | undefined;
|
|
3565
|
+
telemetry?: string | undefined;
|
|
3566
|
+
updates?: string | undefined;
|
|
3567
|
+
};
|
|
3568
|
+
|
|
3569
|
+
/** @internal */
|
|
3570
|
+
export const StackSettings$outboundSchema: z.ZodType<
|
|
3571
|
+
StackSettings$Outbound,
|
|
3572
|
+
StackSettings
|
|
3573
|
+
> = z.object({
|
|
3574
|
+
compute: z.nullable(
|
|
3575
|
+
z.union([z.lazy(() => StackSettingsCompute$outboundSchema), z.any()]),
|
|
3576
|
+
).optional(),
|
|
3577
|
+
deploymentModel: StackSettingsDeploymentModel$outboundSchema.optional(),
|
|
3578
|
+
domains: z.nullable(
|
|
3579
|
+
z.union([z.lazy(() => StackSettingsDomains$outboundSchema), z.any()]),
|
|
3580
|
+
).optional(),
|
|
3581
|
+
externalBindings: z.nullable(
|
|
3582
|
+
z.lazy(() => StackSettingsExternalBindings$outboundSchema),
|
|
3583
|
+
).optional(),
|
|
3584
|
+
heartbeats: StackSettingsHeartbeats$outboundSchema.optional(),
|
|
3585
|
+
kubernetes: z.nullable(
|
|
3586
|
+
z.union([z.lazy(() => StackSettingsKubernetes$outboundSchema), z.any()]),
|
|
3587
|
+
).optional(),
|
|
3588
|
+
logs: z.nullable(
|
|
3589
|
+
z.union([z.lazy(() => StackSettingsLogs$outboundSchema), z.any()]),
|
|
3590
|
+
).optional(),
|
|
3591
|
+
network: z.nullable(
|
|
3592
|
+
z.union([
|
|
3593
|
+
z.lazy(() => StackSettingsNetworkByoVpcAws$outboundSchema),
|
|
3594
|
+
z.lazy(() => StackSettingsNetworkByoVpcGcp$outboundSchema),
|
|
3595
|
+
z.lazy(() => StackSettingsNetworkByoVnetAzure$outboundSchema),
|
|
3596
|
+
z.lazy(() => StackSettingsNetworkUseDefault$outboundSchema),
|
|
3597
|
+
z.lazy(() => StackSettingsNetworkCreate$outboundSchema),
|
|
3598
|
+
z.any(),
|
|
3599
|
+
]),
|
|
3600
|
+
).optional(),
|
|
3601
|
+
publicEndpoints: z.nullable(
|
|
3602
|
+
z.record(z.string(), z.record(z.string(), z.string())),
|
|
3603
|
+
).optional(),
|
|
3604
|
+
telemetry: StackSettingsTelemetry$outboundSchema.optional(),
|
|
3605
|
+
updates: StackSettingsUpdates$outboundSchema.optional(),
|
|
3606
|
+
});
|
|
3607
|
+
|
|
3608
|
+
export function stackSettingsToJSON(stackSettings: StackSettings): string {
|
|
3609
|
+
return JSON.stringify(StackSettings$outboundSchema.parse(stackSettings));
|
|
3610
|
+
}
|