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