@alienplatform/platform-api 3.3.19 → 3.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +1 -1
- package/README.md +4 -0
- package/esm/funcs/deploymentGetInfo.js +4 -2
- package/esm/funcs/deploymentGetInfo.js.map +1 -1
- package/esm/funcs/deploymentPlanCompute.js +2 -2
- package/esm/funcs/deploymentPlanCompute.js.map +1 -1
- package/esm/funcs/deploymentPrepareStack.js +2 -2
- package/esm/funcs/deploymentPrepareStack.js.map +1 -1
- package/esm/funcs/deploymentsRetry.js +2 -2
- package/esm/funcs/deploymentsRetry.js.map +1 -1
- package/esm/funcs/operationsApproveAccessRequest.d.ts +15 -0
- package/esm/funcs/operationsApproveAccessRequest.d.ts.map +1 -0
- package/esm/funcs/operationsApproveAccessRequest.js +89 -0
- package/esm/funcs/operationsApproveAccessRequest.js.map +1 -0
- package/esm/funcs/operationsDenyAccessRequest.d.ts +15 -0
- package/esm/funcs/operationsDenyAccessRequest.d.ts.map +1 -0
- package/esm/funcs/operationsDenyAccessRequest.js +89 -0
- package/esm/funcs/operationsDenyAccessRequest.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/lib/config.js.map +1 -1
- package/esm/models/createmanagerresponse.d.ts +0 -63
- package/esm/models/createmanagerresponse.d.ts.map +1 -1
- package/esm/models/createmanagerresponse.js +0 -39
- package/esm/models/createmanagerresponse.js.map +1 -1
- package/esm/models/createsetuplinkresponse.d.ts +4 -0
- package/esm/models/createsetuplinkresponse.d.ts.map +1 -1
- package/esm/models/createsetuplinkresponse.js +1 -0
- package/esm/models/createsetuplinkresponse.js.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.d.ts +0 -28
- package/esm/models/createsetupregistrationoperationrequest.d.ts.map +1 -1
- package/esm/models/createsetupregistrationoperationrequest.js +0 -19
- package/esm/models/createsetupregistrationoperationrequest.js.map +1 -1
- package/esm/models/deployment.d.ts +0 -21
- package/esm/models/deployment.d.ts.map +1 -1
- package/esm/models/deployment.js +0 -13
- package/esm/models/deployment.js.map +1 -1
- package/esm/models/deploymentcomputeplan.d.ts +148 -10
- package/esm/models/deploymentcomputeplan.d.ts.map +1 -1
- package/esm/models/deploymentcomputeplan.js +83 -10
- package/esm/models/deploymentcomputeplan.js.map +1 -1
- package/esm/models/deploymentdetailresponse.d.ts +0 -21
- package/esm/models/deploymentdetailresponse.d.ts.map +1 -1
- package/esm/models/deploymentdetailresponse.js +0 -19
- package/esm/models/deploymentdetailresponse.js.map +1 -1
- package/esm/models/deploymentinfo.d.ts +1276 -8
- package/esm/models/deploymentinfo.d.ts.map +1 -1
- package/esm/models/deploymentinfo.js +987 -7
- package/esm/models/deploymentinfo.js.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts +0 -34
- package/esm/models/deploymentsetupstacksettingspolicy.d.ts.map +1 -1
- package/esm/models/deploymentsetupstacksettingspolicy.js +0 -38
- package/esm/models/deploymentsetupstacksettingspolicy.js.map +1 -1
- package/esm/models/deploymentupdateoperationstatus.d.ts +1 -0
- package/esm/models/deploymentupdateoperationstatus.d.ts.map +1 -1
- package/esm/models/deploymentupdateoperationstatus.js +1 -0
- package/esm/models/deploymentupdateoperationstatus.js.map +1 -1
- package/esm/models/deploymentupdateoperationsummary.d.ts +4 -0
- package/esm/models/deploymentupdateoperationsummary.d.ts.map +1 -1
- package/esm/models/deploymentupdateoperationsummary.js +1 -0
- package/esm/models/deploymentupdateoperationsummary.js.map +1 -1
- package/esm/models/importsource.d.ts +0 -28
- package/esm/models/importsource.d.ts.map +1 -1
- package/esm/models/importsource.js +0 -13
- package/esm/models/importsource.js.map +1 -1
- package/esm/models/managerretryresponse.d.ts +0 -63
- package/esm/models/managerretryresponse.d.ts.map +1 -1
- package/esm/models/managerretryresponse.js +0 -39
- package/esm/models/managerretryresponse.js.map +1 -1
- package/esm/models/newdeploymentrequest.d.ts +0 -28
- package/esm/models/newdeploymentrequest.d.ts.map +1 -1
- package/esm/models/newdeploymentrequest.js +0 -13
- package/esm/models/newdeploymentrequest.js.map +1 -1
- package/esm/models/operations/approveaccessrequest.d.ts +115 -0
- package/esm/models/operations/approveaccessrequest.d.ts.map +1 -0
- package/esm/models/operations/approveaccessrequest.js +89 -0
- package/esm/models/operations/approveaccessrequest.js.map +1 -0
- package/esm/models/operations/denyaccessrequest.d.ts +112 -0
- package/esm/models/operations/denyaccessrequest.d.ts.map +1 -0
- package/esm/models/operations/denyaccessrequest.js +87 -0
- package/esm/models/operations/denyaccessrequest.js.map +1 -0
- package/esm/models/operations/getdeploymentinfo.d.ts +4 -0
- package/esm/models/operations/getdeploymentinfo.d.ts.map +1 -1
- package/esm/models/operations/getdeploymentinfo.js +2 -0
- package/esm/models/operations/getdeploymentinfo.js.map +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.d.ts +107 -21
- package/esm/models/operations/getresourcedeploymentdetail.d.ts.map +1 -1
- package/esm/models/operations/getresourcedeploymentdetail.js +86 -13
- package/esm/models/operations/getresourcedeploymentdetail.js.map +1 -1
- package/esm/models/operations/index.d.ts +2 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +2 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/plandeploymentcompute.d.ts +140 -40
- package/esm/models/operations/plandeploymentcompute.d.ts.map +1 -1
- package/esm/models/operations/plandeploymentcompute.js +67 -19
- package/esm/models/operations/plandeploymentcompute.js.map +1 -1
- package/esm/models/operations/preparedeploymentstack.d.ts +145 -40
- package/esm/models/operations/preparedeploymentstack.d.ts.map +1 -1
- package/esm/models/operations/preparedeploymentstack.js +68 -20
- package/esm/models/operations/preparedeploymentstack.js.map +1 -1
- package/esm/models/operationspluginoperation.d.ts +4 -0
- package/esm/models/operationspluginoperation.d.ts.map +1 -1
- package/esm/models/operationspluginoperation.js +1 -0
- package/esm/models/operationspluginoperation.js.map +1 -1
- package/esm/models/package.d.ts +9 -3
- package/esm/models/package.d.ts.map +1 -1
- package/esm/models/package.js.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.d.ts +0 -28
- package/esm/models/persistimporteddeploymentrequest.d.ts.map +1 -1
- package/esm/models/persistimporteddeploymentrequest.js +0 -19
- package/esm/models/persistimporteddeploymentrequest.js.map +1 -1
- package/esm/models/prepareddeploymentstack.d.ts +1 -0
- package/esm/models/prepareddeploymentstack.d.ts.map +1 -1
- package/esm/models/prepareddeploymentstack.js +1 -0
- package/esm/models/prepareddeploymentstack.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/syncacquireresponsedeployment.d.ts +8 -0
- package/esm/models/syncacquireresponsedeployment.d.ts.map +1 -1
- package/esm/models/syncacquireresponsedeployment.js +2 -0
- package/esm/models/syncacquireresponsedeployment.js.map +1 -1
- package/esm/models/synclistresponse.d.ts +0 -21
- package/esm/models/synclistresponse.d.ts.map +1 -1
- package/esm/models/synclistresponse.js +0 -13
- package/esm/models/synclistresponse.js.map +1 -1
- package/esm/models/syncreconcilerequest.d.ts +150 -31
- package/esm/models/syncreconcilerequest.d.ts.map +1 -1
- package/esm/models/syncreconcilerequest.js +86 -12
- package/esm/models/syncreconcilerequest.js.map +1 -1
- package/esm/models/syncreleaserequest.d.ts +10 -0
- package/esm/models/syncreleaserequest.d.ts.map +1 -1
- package/esm/models/syncreleaserequest.js +2 -0
- package/esm/models/syncreleaserequest.js.map +1 -1
- package/esm/models/syncrenewrequest.d.ts +28 -0
- package/esm/models/syncrenewrequest.d.ts.map +1 -1
- package/esm/models/syncrenewrequest.js +10 -0
- package/esm/models/syncrenewrequest.js.map +1 -1
- package/esm/sdk/operations.d.ts +8 -0
- package/esm/sdk/operations.d.ts.map +1 -1
- package/esm/sdk/operations.js +14 -0
- package/esm/sdk/operations.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/deploymentGetInfo.ts +4 -2
- package/src/funcs/deploymentPlanCompute.ts +2 -2
- package/src/funcs/deploymentPrepareStack.ts +2 -2
- package/src/funcs/deploymentsRetry.ts +2 -2
- package/src/funcs/operationsApproveAccessRequest.ts +179 -0
- package/src/funcs/operationsDenyAccessRequest.ts +178 -0
- package/src/lib/config.ts +2 -2
- package/src/models/createmanagerresponse.ts +0 -162
- package/src/models/createsetuplinkresponse.ts +7 -0
- package/src/models/createsetupregistrationoperationrequest.ts +0 -83
- package/src/models/deployment.ts +0 -52
- package/src/models/deploymentcomputeplan.ts +311 -20
- package/src/models/deploymentdetailresponse.ts +0 -62
- package/src/models/deploymentinfo.ts +3599 -453
- package/src/models/deploymentsetupstacksettingspolicy.ts +0 -124
- package/src/models/deploymentupdateoperationstatus.ts +1 -0
- package/src/models/deploymentupdateoperationsummary.ts +5 -0
- package/src/models/importsource.ts +0 -59
- package/src/models/managerretryresponse.ts +0 -162
- package/src/models/newdeploymentrequest.ts +0 -63
- package/src/models/operations/approveaccessrequest.ts +237 -0
- package/src/models/operations/denyaccessrequest.ts +228 -0
- package/src/models/operations/getdeploymentinfo.ts +6 -0
- package/src/models/operations/getresourcedeploymentdetail.ts +203 -36
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/plandeploymentcompute.ts +295 -81
- package/src/models/operations/preparedeploymentstack.ts +301 -82
- package/src/models/operationspluginoperation.ts +5 -0
- package/src/models/package.ts +9 -3
- package/src/models/persistimporteddeploymentrequest.ts +0 -75
- package/src/models/prepareddeploymentstack.ts +2 -0
- package/src/models/syncacquirerequest.ts +6 -0
- package/src/models/syncacquireresponsedeployment.ts +10 -0
- package/src/models/synclistresponse.ts +0 -54
- package/src/models/syncreconcilerequest.ts +251 -40
- package/src/models/syncreleaserequest.ts +12 -0
- package/src/models/syncrenewrequest.ts +39 -0
- package/src/sdk/operations.ts +30 -0
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
6
7
|
import { safeParse } from "../lib/schemas.js";
|
|
7
8
|
import { ClosedEnum } from "../types/enums.js";
|
|
8
9
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
@@ -28,24 +29,10 @@ import {
|
|
|
28
29
|
SupportedCloudRegions$inboundSchema,
|
|
29
30
|
} from "./supportedcloudregions.js";
|
|
30
31
|
|
|
31
|
-
/**
|
|
32
|
-
* Type of token used to authenticate this request
|
|
33
|
-
*/
|
|
34
|
-
export const DeploymentInfoTokenType = {
|
|
35
|
-
Deployment: "deployment",
|
|
36
|
-
DeploymentGroup: "deployment-group",
|
|
37
|
-
} as const;
|
|
38
|
-
/**
|
|
39
|
-
* Type of token used to authenticate this request
|
|
40
|
-
*/
|
|
41
|
-
export type DeploymentInfoTokenType = ClosedEnum<
|
|
42
|
-
typeof DeploymentInfoTokenType
|
|
43
|
-
>;
|
|
44
|
-
|
|
45
32
|
/**
|
|
46
33
|
* Represents the target cloud platform.
|
|
47
34
|
*/
|
|
48
|
-
export const
|
|
35
|
+
export const SetupUpdatePlatform = {
|
|
49
36
|
Aws: "aws",
|
|
50
37
|
Gcp: "gcp",
|
|
51
38
|
Azure: "azure",
|
|
@@ -57,719 +44,3877 @@ export const DeploymentInfoDeploymentPlatform = {
|
|
|
57
44
|
/**
|
|
58
45
|
* Represents the target cloud platform.
|
|
59
46
|
*/
|
|
60
|
-
export type
|
|
61
|
-
|
|
47
|
+
export type SetupUpdatePlatform = ClosedEnum<typeof SetupUpdatePlatform>;
|
|
48
|
+
|
|
49
|
+
export const DeploymentInfoSetupMethod = {
|
|
50
|
+
Cloudformation: "cloudformation",
|
|
51
|
+
GoogleOauth: "google-oauth",
|
|
52
|
+
Terraform: "terraform",
|
|
53
|
+
Helm: "helm",
|
|
54
|
+
Cli: "cli",
|
|
55
|
+
Manual: "manual",
|
|
56
|
+
} as const;
|
|
57
|
+
export type DeploymentInfoSetupMethod = ClosedEnum<
|
|
58
|
+
typeof DeploymentInfoSetupMethod
|
|
62
59
|
>;
|
|
63
60
|
|
|
64
61
|
/**
|
|
65
|
-
*
|
|
62
|
+
* Failure-domain policy selected for a compute pool.
|
|
66
63
|
*/
|
|
67
|
-
export type
|
|
68
|
-
name: string;
|
|
64
|
+
export type DeploymentInfoFailureDomains2 = {
|
|
69
65
|
/**
|
|
70
|
-
*
|
|
66
|
+
* Concrete provider domains selected during setup.
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Empty delegates deterministic selection to the provider setup implementation.
|
|
71
70
|
*/
|
|
72
|
-
|
|
71
|
+
selectedFailureDomains?: Array<string> | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Number of distinct failure domains across which new stateful replicas may be spread.
|
|
74
|
+
*/
|
|
75
|
+
spread: number;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export type DeploymentInfoFailureDomainsUnion2 =
|
|
79
|
+
| DeploymentInfoFailureDomains2
|
|
80
|
+
| any;
|
|
81
|
+
|
|
82
|
+
export type DeploymentInfoPoolsAutoscale = {
|
|
83
|
+
failureDomains?: DeploymentInfoFailureDomains2 | any | null | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* Provider machine type selected for this deployment.
|
|
86
|
+
*/
|
|
87
|
+
machine?: string | null | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* Maximum machine count.
|
|
90
|
+
*/
|
|
91
|
+
max: number;
|
|
92
|
+
/**
|
|
93
|
+
* Minimum machine count.
|
|
94
|
+
*/
|
|
95
|
+
min: number;
|
|
96
|
+
mode: "autoscale";
|
|
73
97
|
};
|
|
74
98
|
|
|
75
99
|
/**
|
|
76
|
-
*
|
|
100
|
+
* Failure-domain policy selected for a compute pool.
|
|
77
101
|
*/
|
|
78
|
-
export type
|
|
102
|
+
export type DeploymentInfoFailureDomains1 = {
|
|
79
103
|
/**
|
|
80
|
-
*
|
|
104
|
+
* Concrete provider domains selected during setup.
|
|
105
|
+
*
|
|
106
|
+
* @remarks
|
|
107
|
+
* Empty delegates deterministic selection to the provider setup implementation.
|
|
81
108
|
*/
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
109
|
+
selectedFailureDomains?: Array<string> | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Number of distinct failure domains across which new stateful replicas may be spread.
|
|
112
|
+
*/
|
|
113
|
+
spread: number;
|
|
85
114
|
};
|
|
86
115
|
|
|
87
|
-
export type
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
116
|
+
export type DeploymentInfoFailureDomainsUnion1 =
|
|
117
|
+
| DeploymentInfoFailureDomains1
|
|
118
|
+
| any;
|
|
119
|
+
|
|
120
|
+
export type DeploymentInfoPoolsFixed = {
|
|
121
|
+
failureDomains?: DeploymentInfoFailureDomains1 | any | null | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Provider machine type selected for this deployment.
|
|
124
|
+
*/
|
|
125
|
+
machine?: string | null | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* Number of machines to run.
|
|
128
|
+
*/
|
|
129
|
+
machines: number;
|
|
130
|
+
mode: "fixed";
|
|
91
131
|
};
|
|
92
132
|
|
|
93
|
-
|
|
94
|
-
|
|
133
|
+
/**
|
|
134
|
+
* User-selected deployment settings for one compute pool.
|
|
135
|
+
*/
|
|
136
|
+
export type DeploymentInfoPoolsUnion =
|
|
137
|
+
| DeploymentInfoPoolsFixed
|
|
138
|
+
| DeploymentInfoPoolsAutoscale;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Deployment-time compute choices for Alien-managed compute pools.
|
|
142
|
+
*
|
|
143
|
+
* @remarks
|
|
144
|
+
*
|
|
145
|
+
* Application source declares portable pool requirements. This settings
|
|
146
|
+
* object stores the concrete choices made for one deployment, such as the
|
|
147
|
+
* provider machine type and selected machine counts.
|
|
148
|
+
*/
|
|
149
|
+
export type DeploymentInfoCompute = {
|
|
150
|
+
/**
|
|
151
|
+
* Selected compute choices keyed by pool ID.
|
|
152
|
+
*/
|
|
153
|
+
pools?: {
|
|
154
|
+
[k: string]: DeploymentInfoPoolsFixed | DeploymentInfoPoolsAutoscale;
|
|
155
|
+
} | undefined;
|
|
95
156
|
};
|
|
96
157
|
|
|
158
|
+
export type DeploymentInfoComputeUnion = DeploymentInfoCompute | any;
|
|
159
|
+
|
|
97
160
|
/**
|
|
98
|
-
*
|
|
161
|
+
* Deployment model: how updates are delivered to the remote environment.
|
|
99
162
|
*/
|
|
100
|
-
export const
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
Azure: "azure",
|
|
104
|
-
Kubernetes: "kubernetes",
|
|
105
|
-
Machines: "machines",
|
|
106
|
-
Local: "local",
|
|
107
|
-
Test: "test",
|
|
163
|
+
export const DeploymentInfoDeploymentModel = {
|
|
164
|
+
Push: "push",
|
|
165
|
+
Pull: "pull",
|
|
108
166
|
} as const;
|
|
109
167
|
/**
|
|
110
|
-
*
|
|
168
|
+
* Deployment model: how updates are delivered to the remote environment.
|
|
111
169
|
*/
|
|
112
|
-
export type
|
|
170
|
+
export type DeploymentInfoDeploymentModel = ClosedEnum<
|
|
171
|
+
typeof DeploymentInfoDeploymentModel
|
|
172
|
+
>;
|
|
113
173
|
|
|
114
|
-
export type
|
|
115
|
-
|
|
116
|
-
|
|
174
|
+
export type DeploymentInfoAws = {
|
|
175
|
+
certificateArn: string;
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export type DeploymentInfoAwsUnion = DeploymentInfoAws | any;
|
|
179
|
+
|
|
180
|
+
export type DeploymentInfoAzure = {
|
|
181
|
+
keyVaultCertificateId: string;
|
|
182
|
+
keyVaultResourceId?: string | null | undefined;
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export type DeploymentInfoAzureUnion = DeploymentInfoAzure | any;
|
|
186
|
+
|
|
187
|
+
export type DeploymentInfoGcp = {
|
|
188
|
+
certificateName: string;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
export type DeploymentInfoGcpUnion = DeploymentInfoGcp | any;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Namespace-scoped Kubernetes TLS Secret reference.
|
|
195
|
+
*/
|
|
196
|
+
export type DeploymentInfoTlsSecretRef = {
|
|
117
197
|
/**
|
|
118
|
-
*
|
|
198
|
+
* Secret namespace. Defaults to the release namespace when omitted.
|
|
119
199
|
*/
|
|
120
|
-
|
|
200
|
+
namespace?: string | null | undefined;
|
|
121
201
|
/**
|
|
122
|
-
*
|
|
202
|
+
* Secret name.
|
|
123
203
|
*/
|
|
124
|
-
|
|
204
|
+
secretName: string;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
export type DeploymentInfoDomainsKubernetes = {
|
|
125
208
|
/**
|
|
126
|
-
*
|
|
209
|
+
* Namespace-scoped Kubernetes TLS Secret reference.
|
|
127
210
|
*/
|
|
128
|
-
|
|
129
|
-
total: number;
|
|
211
|
+
tlsSecretRef: DeploymentInfoTlsSecretRef;
|
|
130
212
|
};
|
|
131
213
|
|
|
132
|
-
export type
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
214
|
+
export type DeploymentInfoDomainsKubernetesUnion =
|
|
215
|
+
| DeploymentInfoDomainsKubernetes
|
|
216
|
+
| any;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Platform-specific certificate references for custom domains.
|
|
220
|
+
*/
|
|
221
|
+
export type DeploymentInfoDomainsCertificate = {
|
|
222
|
+
aws?: DeploymentInfoAws | any | null | undefined;
|
|
223
|
+
azure?: DeploymentInfoAzure | any | null | undefined;
|
|
224
|
+
gcp?: DeploymentInfoGcp | any | null | undefined;
|
|
225
|
+
kubernetes?: DeploymentInfoDomainsKubernetes | any | null | undefined;
|
|
137
226
|
};
|
|
138
227
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
platforms: Array<StackSummaryPlatform>;
|
|
228
|
+
/**
|
|
229
|
+
* Custom domain configuration for a single resource.
|
|
230
|
+
*/
|
|
231
|
+
export type DeploymentInfoCustomDomains = {
|
|
144
232
|
/**
|
|
145
|
-
*
|
|
233
|
+
* Platform-specific certificate references for custom domains.
|
|
146
234
|
*/
|
|
147
|
-
|
|
235
|
+
certificate: DeploymentInfoDomainsCertificate;
|
|
148
236
|
/**
|
|
149
|
-
*
|
|
237
|
+
* Fully qualified domain name to use.
|
|
150
238
|
*/
|
|
151
|
-
|
|
152
|
-
|
|
239
|
+
domain: string;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
export const SetupUpdateModeLoadBalancer = {
|
|
243
|
+
LoadBalancer: "loadBalancer",
|
|
244
|
+
} as const;
|
|
245
|
+
export type SetupUpdateModeLoadBalancer = ClosedEnum<
|
|
246
|
+
typeof SetupUpdateModeLoadBalancer
|
|
247
|
+
>;
|
|
248
|
+
|
|
249
|
+
export type DeploymentInfoPublicEndpointTargetLoadBalancer = {
|
|
153
250
|
/**
|
|
154
|
-
*
|
|
251
|
+
* DNS name or URL for the external load balancer.
|
|
155
252
|
*/
|
|
156
|
-
|
|
253
|
+
cnameTarget: string;
|
|
254
|
+
mode: SetupUpdateModeLoadBalancer;
|
|
157
255
|
};
|
|
158
256
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
export type
|
|
163
|
-
|
|
164
|
-
|
|
257
|
+
export const SetupUpdateModeMachineAddresses = {
|
|
258
|
+
MachineAddresses: "machineAddresses",
|
|
259
|
+
} as const;
|
|
260
|
+
export type SetupUpdateModeMachineAddresses = ClosedEnum<
|
|
261
|
+
typeof SetupUpdateModeMachineAddresses
|
|
262
|
+
>;
|
|
263
|
+
|
|
264
|
+
export type DeploymentInfoPublicEndpointTargetMachineAddresses = {
|
|
265
|
+
mode: SetupUpdateModeMachineAddresses;
|
|
165
266
|
};
|
|
166
267
|
|
|
167
|
-
export type
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
268
|
+
export type DeploymentInfoPublicEndpointTargetUnion =
|
|
269
|
+
| DeploymentInfoPublicEndpointTargetLoadBalancer
|
|
270
|
+
| DeploymentInfoPublicEndpointTargetMachineAddresses
|
|
271
|
+
| any;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Domain configuration for the stack.
|
|
275
|
+
*
|
|
276
|
+
* @remarks
|
|
277
|
+
*
|
|
278
|
+
* When `custom_domains` is set, the specified resources use customer-provided
|
|
279
|
+
* domains and certificates. Otherwise, Alien auto-generates domains.
|
|
280
|
+
*/
|
|
281
|
+
export type DeploymentInfoDomains = {
|
|
171
282
|
/**
|
|
172
|
-
*
|
|
283
|
+
* Custom domain configuration per resource ID.
|
|
173
284
|
*/
|
|
174
|
-
|
|
285
|
+
customDomains?:
|
|
286
|
+
| { [k: string]: DeploymentInfoCustomDomains }
|
|
287
|
+
| null
|
|
288
|
+
| undefined;
|
|
289
|
+
publicEndpointTarget?:
|
|
290
|
+
| DeploymentInfoPublicEndpointTargetLoadBalancer
|
|
291
|
+
| DeploymentInfoPublicEndpointTargetMachineAddresses
|
|
292
|
+
| any
|
|
293
|
+
| null
|
|
294
|
+
| undefined;
|
|
175
295
|
};
|
|
176
296
|
|
|
297
|
+
export type DeploymentInfoDomainsUnion = DeploymentInfoDomains | any;
|
|
298
|
+
|
|
177
299
|
/**
|
|
178
|
-
*
|
|
300
|
+
* External bindings for pre-existing infrastructure.
|
|
301
|
+
*
|
|
302
|
+
* @remarks
|
|
303
|
+
* Allows using existing resources (MinIO, Redis, shared Container Apps
|
|
304
|
+
* Environment, etc.) instead of having Alien provision them.
|
|
305
|
+
* Required for Kubernetes platform, optional for cloud platforms.
|
|
179
306
|
*/
|
|
180
|
-
export
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
307
|
+
export type DeploymentInfoExternalBindings = {};
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* How heartbeat health checks are handled.
|
|
311
|
+
*/
|
|
312
|
+
export const DeploymentInfoHeartbeats = {
|
|
313
|
+
Off: "off",
|
|
314
|
+
On: "on",
|
|
186
315
|
} as const;
|
|
187
316
|
/**
|
|
188
|
-
*
|
|
317
|
+
* How heartbeat health checks are handled.
|
|
189
318
|
*/
|
|
190
|
-
export type
|
|
319
|
+
export type DeploymentInfoHeartbeats = ClosedEnum<
|
|
320
|
+
typeof DeploymentInfoHeartbeats
|
|
321
|
+
>;
|
|
191
322
|
|
|
192
323
|
/**
|
|
193
|
-
*
|
|
324
|
+
* Optional provider-specific identity for a cloud-backed Kubernetes cluster.
|
|
194
325
|
*/
|
|
195
|
-
export type
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
size: number;
|
|
204
|
-
/**
|
|
205
|
-
* Download URL for the binary
|
|
206
|
-
*/
|
|
207
|
-
url: string;
|
|
326
|
+
export type DeploymentInfoCloud = {
|
|
327
|
+
accountId?: string | null | undefined;
|
|
328
|
+
clusterId?: string | null | undefined;
|
|
329
|
+
clusterName?: string | null | undefined;
|
|
330
|
+
projectId?: string | null | undefined;
|
|
331
|
+
region?: string | null | undefined;
|
|
332
|
+
resourceGroup?: string | null | undefined;
|
|
333
|
+
subscriptionId?: string | null | undefined;
|
|
208
334
|
};
|
|
209
335
|
|
|
336
|
+
export type DeploymentInfoCloudUnion = DeploymentInfoCloud | any;
|
|
337
|
+
|
|
210
338
|
/**
|
|
211
|
-
*
|
|
339
|
+
* Ownership model for the Kubernetes cluster.
|
|
212
340
|
*/
|
|
213
|
-
export
|
|
341
|
+
export const DeploymentInfoOwnership = {
|
|
342
|
+
Managed: "managed",
|
|
343
|
+
Existing: "existing",
|
|
344
|
+
External: "external",
|
|
345
|
+
} as const;
|
|
346
|
+
/**
|
|
347
|
+
* Ownership model for the Kubernetes cluster.
|
|
348
|
+
*/
|
|
349
|
+
export type DeploymentInfoOwnership = ClosedEnum<
|
|
350
|
+
typeof DeploymentInfoOwnership
|
|
351
|
+
>;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Kubernetes cluster setup settings.
|
|
355
|
+
*/
|
|
356
|
+
export type DeploymentInfoCluster = {
|
|
357
|
+
cloud?: DeploymentInfoCloud | any | null | undefined;
|
|
214
358
|
/**
|
|
215
|
-
*
|
|
359
|
+
* Namespace where the Alien chart and application resources run.
|
|
216
360
|
*/
|
|
217
|
-
|
|
361
|
+
namespace?: string | null | undefined;
|
|
218
362
|
/**
|
|
219
|
-
*
|
|
363
|
+
* Ownership model for the Kubernetes cluster.
|
|
220
364
|
*/
|
|
221
|
-
|
|
365
|
+
ownership: DeploymentInfoOwnership;
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
export type DeploymentInfoClusterUnion = DeploymentInfoCluster | any;
|
|
369
|
+
|
|
370
|
+
export type DeploymentInfoCertificateNone2 = {
|
|
371
|
+
mode: "none";
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
export type DeploymentInfoCertificateManagedTLSSecret2 = {
|
|
375
|
+
mode: "managedTlsSecret";
|
|
222
376
|
/**
|
|
223
|
-
*
|
|
377
|
+
* Secret name template. Runtime may substitute resource/deployment tokens.
|
|
224
378
|
*/
|
|
225
|
-
|
|
379
|
+
secretNameTemplate: string;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
export type DeploymentInfoCertificateAwsAcmArn2 = {
|
|
226
383
|
/**
|
|
227
|
-
*
|
|
384
|
+
* Existing ACM certificate ARN.
|
|
228
385
|
*/
|
|
229
|
-
|
|
386
|
+
certificateArn: string;
|
|
387
|
+
mode: "awsAcmArn";
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
export type DeploymentInfoCertificateManagedAcmImport2 = {
|
|
391
|
+
mode: "managedAcmImport";
|
|
230
392
|
/**
|
|
231
|
-
*
|
|
393
|
+
* ACM region. Defaults to the deployment region when omitted.
|
|
232
394
|
*/
|
|
233
|
-
|
|
395
|
+
region?: string | null | undefined;
|
|
234
396
|
/**
|
|
235
|
-
*
|
|
397
|
+
* Tags applied to runtime-imported ACM certificates.
|
|
236
398
|
*/
|
|
237
|
-
|
|
399
|
+
tags?: { [k: string]: string } | undefined;
|
|
238
400
|
};
|
|
239
401
|
|
|
240
402
|
/**
|
|
241
|
-
*
|
|
403
|
+
* Namespace-scoped Kubernetes TLS Secret reference.
|
|
242
404
|
*/
|
|
243
|
-
export type
|
|
405
|
+
export type DeploymentInfoCertificateTLSSecretRef2 = {
|
|
244
406
|
/**
|
|
245
|
-
*
|
|
407
|
+
* Secret namespace. Defaults to the release namespace when omitted.
|
|
246
408
|
*/
|
|
247
|
-
|
|
409
|
+
namespace?: string | null | undefined;
|
|
248
410
|
/**
|
|
249
|
-
*
|
|
411
|
+
* Secret name.
|
|
250
412
|
*/
|
|
251
|
-
|
|
413
|
+
secretName: string;
|
|
414
|
+
mode: "tlsSecretRef";
|
|
252
415
|
};
|
|
253
416
|
|
|
254
417
|
/**
|
|
255
|
-
*
|
|
418
|
+
* Certificate publication or reference mode for Kubernetes public endpoints.
|
|
256
419
|
*/
|
|
257
|
-
export type
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
420
|
+
export type DeploymentInfoCertificateUnion2 =
|
|
421
|
+
| DeploymentInfoCertificateTLSSecretRef2
|
|
422
|
+
| DeploymentInfoCertificateManagedAcmImport2
|
|
423
|
+
| DeploymentInfoCertificateAwsAcmArn2
|
|
424
|
+
| DeploymentInfoCertificateManagedTLSSecret2
|
|
425
|
+
| DeploymentInfoCertificateNone2;
|
|
426
|
+
|
|
427
|
+
export const SetupUpdateModeCustom = {
|
|
428
|
+
Custom: "custom",
|
|
429
|
+
} as const;
|
|
430
|
+
export type SetupUpdateModeCustom = ClosedEnum<typeof SetupUpdateModeCustom>;
|
|
262
431
|
|
|
263
|
-
export
|
|
432
|
+
export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum4 = {
|
|
433
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
434
|
+
} as const;
|
|
435
|
+
export type SetupUpdateProviderAzureApplicationGatewayForContainersEnum4 =
|
|
436
|
+
ClosedEnum<
|
|
437
|
+
typeof SetupUpdateProviderAzureApplicationGatewayForContainersEnum4
|
|
438
|
+
>;
|
|
439
|
+
|
|
440
|
+
export type ProviderSetupUpdateAzureApplicationGatewayForContainers4 = {
|
|
264
441
|
/**
|
|
265
|
-
*
|
|
442
|
+
* Optional ALB name when using BYO Application Gateway resources.
|
|
266
443
|
*/
|
|
267
|
-
|
|
444
|
+
albName?: string | null | undefined;
|
|
268
445
|
/**
|
|
269
|
-
*
|
|
446
|
+
* Optional ALB namespace when using BYO Application Gateway resources.
|
|
270
447
|
*/
|
|
271
|
-
|
|
272
|
-
version?: string | undefined;
|
|
448
|
+
albNamespace?: string | null | undefined;
|
|
273
449
|
/**
|
|
274
|
-
*
|
|
450
|
+
* Public or internal frontend exposure.
|
|
275
451
|
*/
|
|
276
|
-
|
|
277
|
-
|
|
452
|
+
frontend: string;
|
|
453
|
+
provider: SetupUpdateProviderAzureApplicationGatewayForContainersEnum4;
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
export const SetupUpdateProviderGkeGatewayEnum4 = {
|
|
457
|
+
GkeGateway: "gkeGateway",
|
|
458
|
+
} as const;
|
|
459
|
+
export type SetupUpdateProviderGkeGatewayEnum4 = ClosedEnum<
|
|
460
|
+
typeof SetupUpdateProviderGkeGatewayEnum4
|
|
461
|
+
>;
|
|
462
|
+
|
|
463
|
+
export type ProviderSetupUpdateGkeGateway4 = {
|
|
464
|
+
provider: SetupUpdateProviderGkeGatewayEnum4;
|
|
278
465
|
/**
|
|
279
|
-
*
|
|
466
|
+
* Optional static address name for the Gateway frontend.
|
|
280
467
|
*/
|
|
281
|
-
|
|
468
|
+
staticAddressName?: string | null | undefined;
|
|
282
469
|
};
|
|
283
470
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
*/
|
|
287
|
-
export const CloudformationStatus = {
|
|
288
|
-
Pending: "pending",
|
|
289
|
-
Building: "building",
|
|
290
|
-
Ready: "ready",
|
|
291
|
-
Failed: "failed",
|
|
292
|
-
Canceled: "canceled",
|
|
471
|
+
export const SetupUpdateProviderAwsAlbEnum4 = {
|
|
472
|
+
AwsAlb: "awsAlb",
|
|
293
473
|
} as const;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
474
|
+
export type SetupUpdateProviderAwsAlbEnum4 = ClosedEnum<
|
|
475
|
+
typeof SetupUpdateProviderAwsAlbEnum4
|
|
476
|
+
>;
|
|
477
|
+
|
|
478
|
+
export type ProviderSetupUpdateAwsAlb4 = {
|
|
479
|
+
/**
|
|
480
|
+
* Optional ALB IP address type, such as `dualstack`.
|
|
481
|
+
*/
|
|
482
|
+
ipAddressType?: string | null | undefined;
|
|
483
|
+
provider: SetupUpdateProviderAwsAlbEnum4;
|
|
484
|
+
/**
|
|
485
|
+
* Internet-facing or internal ALB scheme.
|
|
486
|
+
*/
|
|
487
|
+
scheme: string;
|
|
488
|
+
/**
|
|
489
|
+
* Explicit subnet IDs when the profile cannot rely on controller discovery.
|
|
490
|
+
*/
|
|
491
|
+
subnetIds?: Array<string> | undefined;
|
|
492
|
+
/**
|
|
493
|
+
* ALB target type, usually `ip`.
|
|
494
|
+
*/
|
|
495
|
+
targetType: string;
|
|
496
|
+
};
|
|
497
|
+
|
|
498
|
+
export type SetupUpdateProviderUnion4 =
|
|
499
|
+
| ProviderSetupUpdateAwsAlb4
|
|
500
|
+
| ProviderSetupUpdateAzureApplicationGatewayForContainers4
|
|
501
|
+
| ProviderSetupUpdateGkeGateway4
|
|
502
|
+
| any;
|
|
298
503
|
|
|
299
504
|
/**
|
|
300
|
-
*
|
|
505
|
+
* Shared Gateway API route profile values.
|
|
301
506
|
*/
|
|
302
|
-
export type
|
|
507
|
+
export type DeploymentInfoRouteGateway2 = {
|
|
303
508
|
/**
|
|
304
|
-
*
|
|
509
|
+
* Annotations applied to route objects.
|
|
305
510
|
*/
|
|
306
|
-
|
|
511
|
+
annotations?: { [k: string]: string } | undefined;
|
|
307
512
|
/**
|
|
308
|
-
*
|
|
513
|
+
* Route controller identifier, for example a cloud Gateway controller.
|
|
309
514
|
*/
|
|
310
|
-
|
|
515
|
+
controller?: string | null | undefined;
|
|
311
516
|
/**
|
|
312
|
-
*
|
|
517
|
+
* GatewayClass selected for generated Gateways.
|
|
313
518
|
*/
|
|
314
|
-
|
|
519
|
+
gatewayClassName: string;
|
|
315
520
|
/**
|
|
316
|
-
*
|
|
521
|
+
* Labels applied to route objects.
|
|
317
522
|
*/
|
|
318
|
-
|
|
523
|
+
labels?: { [k: string]: string } | undefined;
|
|
319
524
|
/**
|
|
320
|
-
*
|
|
525
|
+
* Listener port, usually 443.
|
|
321
526
|
*/
|
|
322
|
-
|
|
527
|
+
listenerPort: number;
|
|
528
|
+
provider?:
|
|
529
|
+
| ProviderSetupUpdateAwsAlb4
|
|
530
|
+
| ProviderSetupUpdateAzureApplicationGatewayForContainers4
|
|
531
|
+
| ProviderSetupUpdateGkeGateway4
|
|
532
|
+
| any
|
|
533
|
+
| null
|
|
534
|
+
| undefined;
|
|
535
|
+
routeApi: "gateway";
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum3 = {
|
|
539
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
540
|
+
} as const;
|
|
541
|
+
export type SetupUpdateProviderAzureApplicationGatewayForContainersEnum3 =
|
|
542
|
+
ClosedEnum<
|
|
543
|
+
typeof SetupUpdateProviderAzureApplicationGatewayForContainersEnum3
|
|
544
|
+
>;
|
|
545
|
+
|
|
546
|
+
export type ProviderSetupUpdateAzureApplicationGatewayForContainers3 = {
|
|
323
547
|
/**
|
|
324
|
-
*
|
|
548
|
+
* Optional ALB name when using BYO Application Gateway resources.
|
|
325
549
|
*/
|
|
326
|
-
|
|
550
|
+
albName?: string | null | undefined;
|
|
551
|
+
/**
|
|
552
|
+
* Optional ALB namespace when using BYO Application Gateway resources.
|
|
553
|
+
*/
|
|
554
|
+
albNamespace?: string | null | undefined;
|
|
555
|
+
/**
|
|
556
|
+
* Public or internal frontend exposure.
|
|
557
|
+
*/
|
|
558
|
+
frontend: string;
|
|
559
|
+
provider: SetupUpdateProviderAzureApplicationGatewayForContainersEnum3;
|
|
327
560
|
};
|
|
328
561
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
export type
|
|
562
|
+
export const SetupUpdateProviderGkeGatewayEnum3 = {
|
|
563
|
+
GkeGateway: "gkeGateway",
|
|
564
|
+
} as const;
|
|
565
|
+
export type SetupUpdateProviderGkeGatewayEnum3 = ClosedEnum<
|
|
566
|
+
typeof SetupUpdateProviderGkeGatewayEnum3
|
|
567
|
+
>;
|
|
568
|
+
|
|
569
|
+
export type ProviderSetupUpdateGkeGateway3 = {
|
|
570
|
+
provider: SetupUpdateProviderGkeGatewayEnum3;
|
|
333
571
|
/**
|
|
334
|
-
*
|
|
572
|
+
* Optional static address name for the Gateway frontend.
|
|
335
573
|
*/
|
|
336
|
-
|
|
574
|
+
staticAddressName?: string | null | undefined;
|
|
337
575
|
};
|
|
338
576
|
|
|
339
|
-
export const
|
|
340
|
-
|
|
341
|
-
Outputs: "outputs",
|
|
577
|
+
export const SetupUpdateProviderAwsAlbEnum3 = {
|
|
578
|
+
AwsAlb: "awsAlb",
|
|
342
579
|
} as const;
|
|
343
|
-
export type
|
|
580
|
+
export type SetupUpdateProviderAwsAlbEnum3 = ClosedEnum<
|
|
581
|
+
typeof SetupUpdateProviderAwsAlbEnum3
|
|
582
|
+
>;
|
|
344
583
|
|
|
345
|
-
export type
|
|
584
|
+
export type ProviderSetupUpdateAwsAlb3 = {
|
|
346
585
|
/**
|
|
347
|
-
*
|
|
586
|
+
* Optional ALB IP address type, such as `dualstack`.
|
|
348
587
|
*/
|
|
349
|
-
|
|
350
|
-
|
|
588
|
+
ipAddressType?: string | null | undefined;
|
|
589
|
+
provider: SetupUpdateProviderAwsAlbEnum3;
|
|
351
590
|
/**
|
|
352
|
-
*
|
|
591
|
+
* Internet-facing or internal ALB scheme.
|
|
353
592
|
*/
|
|
354
|
-
|
|
355
|
-
error?: any | null | undefined;
|
|
356
|
-
mode: DeploymentInfoMode;
|
|
593
|
+
scheme: string;
|
|
357
594
|
/**
|
|
358
|
-
*
|
|
595
|
+
* Explicit subnet IDs when the profile cannot rely on controller discovery.
|
|
359
596
|
*/
|
|
360
|
-
|
|
361
|
-
|
|
597
|
+
subnetIds?: Array<string> | undefined;
|
|
598
|
+
/**
|
|
599
|
+
* ALB target type, usually `ip`.
|
|
600
|
+
*/
|
|
601
|
+
targetType: string;
|
|
362
602
|
};
|
|
363
603
|
|
|
604
|
+
export type SetupUpdateProviderUnion3 =
|
|
605
|
+
| ProviderSetupUpdateAwsAlb3
|
|
606
|
+
| ProviderSetupUpdateAzureApplicationGatewayForContainers3
|
|
607
|
+
| ProviderSetupUpdateGkeGateway3
|
|
608
|
+
| any;
|
|
609
|
+
|
|
364
610
|
/**
|
|
365
|
-
*
|
|
366
|
-
*/
|
|
367
|
-
export const TerraformStatus = {
|
|
368
|
-
Pending: "pending",
|
|
369
|
-
Building: "building",
|
|
370
|
-
Ready: "ready",
|
|
371
|
-
Failed: "failed",
|
|
372
|
-
Canceled: "canceled",
|
|
373
|
-
} as const;
|
|
374
|
-
/**
|
|
375
|
-
* Status of a package build
|
|
611
|
+
* Shared Ingress route profile values.
|
|
376
612
|
*/
|
|
377
|
-
export type
|
|
613
|
+
export type DeploymentInfoRouteIngress2 = {
|
|
614
|
+
/**
|
|
615
|
+
* Annotations applied to route objects.
|
|
616
|
+
*/
|
|
617
|
+
annotations?: { [k: string]: string } | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* Route controller identifier, for example `eks.amazonaws.com/alb`.
|
|
620
|
+
*/
|
|
621
|
+
controller?: string | null | undefined;
|
|
622
|
+
/**
|
|
623
|
+
* `spec.ingressClassName` for generated Ingresses.
|
|
624
|
+
*/
|
|
625
|
+
ingressClassName: string;
|
|
626
|
+
/**
|
|
627
|
+
* Labels applied to route objects.
|
|
628
|
+
*/
|
|
629
|
+
labels?: { [k: string]: string } | undefined;
|
|
630
|
+
provider?:
|
|
631
|
+
| ProviderSetupUpdateAwsAlb3
|
|
632
|
+
| ProviderSetupUpdateAzureApplicationGatewayForContainers3
|
|
633
|
+
| ProviderSetupUpdateGkeGateway3
|
|
634
|
+
| any
|
|
635
|
+
| null
|
|
636
|
+
| undefined;
|
|
637
|
+
routeApi: "ingress";
|
|
638
|
+
};
|
|
378
639
|
|
|
379
640
|
/**
|
|
380
|
-
*
|
|
641
|
+
* Kubernetes route API selected for public endpoints.
|
|
381
642
|
*/
|
|
382
|
-
export type
|
|
643
|
+
export type DeploymentInfoRouteUnion2 =
|
|
644
|
+
| DeploymentInfoRouteIngress2
|
|
645
|
+
| DeploymentInfoRouteGateway2;
|
|
646
|
+
|
|
647
|
+
export type DeploymentInfoExposureCustom = {
|
|
383
648
|
/**
|
|
384
|
-
*
|
|
649
|
+
* Certificate publication or reference mode for Kubernetes public endpoints.
|
|
385
650
|
*/
|
|
386
|
-
|
|
651
|
+
certificate:
|
|
652
|
+
| DeploymentInfoCertificateTLSSecretRef2
|
|
653
|
+
| DeploymentInfoCertificateManagedAcmImport2
|
|
654
|
+
| DeploymentInfoCertificateAwsAcmArn2
|
|
655
|
+
| DeploymentInfoCertificateManagedTLSSecret2
|
|
656
|
+
| DeploymentInfoCertificateNone2;
|
|
387
657
|
/**
|
|
388
|
-
*
|
|
658
|
+
* Hostname routed by the Kubernetes public endpoint.
|
|
389
659
|
*/
|
|
390
|
-
|
|
660
|
+
domain: string;
|
|
661
|
+
mode: SetupUpdateModeCustom;
|
|
391
662
|
/**
|
|
392
|
-
*
|
|
663
|
+
* Kubernetes route API selected for public endpoints.
|
|
393
664
|
*/
|
|
394
|
-
|
|
665
|
+
route: DeploymentInfoRouteIngress2 | DeploymentInfoRouteGateway2;
|
|
666
|
+
};
|
|
667
|
+
|
|
668
|
+
export type DeploymentInfoCertificateNone1 = {
|
|
669
|
+
mode: "none";
|
|
670
|
+
};
|
|
671
|
+
|
|
672
|
+
export type DeploymentInfoCertificateManagedTLSSecret1 = {
|
|
673
|
+
mode: "managedTlsSecret";
|
|
395
674
|
/**
|
|
396
|
-
*
|
|
675
|
+
* Secret name template. Runtime may substitute resource/deployment tokens.
|
|
397
676
|
*/
|
|
398
|
-
|
|
677
|
+
secretNameTemplate: string;
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
export type DeploymentInfoCertificateAwsAcmArn1 = {
|
|
399
681
|
/**
|
|
400
|
-
*
|
|
682
|
+
* Existing ACM certificate ARN.
|
|
401
683
|
*/
|
|
402
|
-
|
|
684
|
+
certificateArn: string;
|
|
685
|
+
mode: "awsAcmArn";
|
|
686
|
+
};
|
|
687
|
+
|
|
688
|
+
export type DeploymentInfoCertificateManagedAcmImport1 = {
|
|
689
|
+
mode: "managedAcmImport";
|
|
403
690
|
/**
|
|
404
|
-
*
|
|
691
|
+
* ACM region. Defaults to the deployment region when omitted.
|
|
405
692
|
*/
|
|
406
|
-
|
|
693
|
+
region?: string | null | undefined;
|
|
407
694
|
/**
|
|
408
|
-
*
|
|
695
|
+
* Tags applied to runtime-imported ACM certificates.
|
|
409
696
|
*/
|
|
410
|
-
|
|
697
|
+
tags?: { [k: string]: string } | undefined;
|
|
411
698
|
};
|
|
412
699
|
|
|
413
700
|
/**
|
|
414
|
-
*
|
|
701
|
+
* Namespace-scoped Kubernetes TLS Secret reference.
|
|
415
702
|
*/
|
|
416
|
-
export type
|
|
703
|
+
export type DeploymentInfoCertificateTLSSecretRef1 = {
|
|
417
704
|
/**
|
|
418
|
-
*
|
|
705
|
+
* Secret namespace. Defaults to the release namespace when omitted.
|
|
419
706
|
*/
|
|
420
|
-
|
|
707
|
+
namespace?: string | null | undefined;
|
|
421
708
|
/**
|
|
422
|
-
*
|
|
709
|
+
* Secret name.
|
|
423
710
|
*/
|
|
424
|
-
|
|
711
|
+
secretName: string;
|
|
712
|
+
mode: "tlsSecretRef";
|
|
425
713
|
};
|
|
426
714
|
|
|
427
715
|
/**
|
|
428
|
-
*
|
|
716
|
+
* Certificate publication or reference mode for Kubernetes public endpoints.
|
|
429
717
|
*/
|
|
430
|
-
export type
|
|
718
|
+
export type DeploymentInfoCertificateUnion1 =
|
|
719
|
+
| DeploymentInfoCertificateTLSSecretRef1
|
|
720
|
+
| DeploymentInfoCertificateManagedAcmImport1
|
|
721
|
+
| DeploymentInfoCertificateAwsAcmArn1
|
|
722
|
+
| DeploymentInfoCertificateManagedTLSSecret1
|
|
723
|
+
| DeploymentInfoCertificateNone1;
|
|
724
|
+
|
|
725
|
+
export const SetupUpdateModeGenerated = {
|
|
726
|
+
Generated: "generated",
|
|
727
|
+
} as const;
|
|
728
|
+
export type SetupUpdateModeGenerated = ClosedEnum<
|
|
729
|
+
typeof SetupUpdateModeGenerated
|
|
730
|
+
>;
|
|
731
|
+
|
|
732
|
+
export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum2 = {
|
|
733
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
734
|
+
} as const;
|
|
735
|
+
export type SetupUpdateProviderAzureApplicationGatewayForContainersEnum2 =
|
|
736
|
+
ClosedEnum<
|
|
737
|
+
typeof SetupUpdateProviderAzureApplicationGatewayForContainersEnum2
|
|
738
|
+
>;
|
|
739
|
+
|
|
740
|
+
export type ProviderSetupUpdateAzureApplicationGatewayForContainers2 = {
|
|
431
741
|
/**
|
|
432
|
-
*
|
|
742
|
+
* Optional ALB name when using BYO Application Gateway resources.
|
|
433
743
|
*/
|
|
434
|
-
|
|
744
|
+
albName?: string | null | undefined;
|
|
435
745
|
/**
|
|
436
|
-
*
|
|
746
|
+
* Optional ALB namespace when using BYO Application Gateway resources.
|
|
437
747
|
*/
|
|
438
|
-
|
|
748
|
+
albNamespace?: string | null | undefined;
|
|
439
749
|
/**
|
|
440
|
-
*
|
|
750
|
+
* Public or internal frontend exposure.
|
|
441
751
|
*/
|
|
442
|
-
|
|
752
|
+
frontend: string;
|
|
753
|
+
provider: SetupUpdateProviderAzureApplicationGatewayForContainersEnum2;
|
|
754
|
+
};
|
|
755
|
+
|
|
756
|
+
export const SetupUpdateProviderGkeGatewayEnum2 = {
|
|
757
|
+
GkeGateway: "gkeGateway",
|
|
758
|
+
} as const;
|
|
759
|
+
export type SetupUpdateProviderGkeGatewayEnum2 = ClosedEnum<
|
|
760
|
+
typeof SetupUpdateProviderGkeGatewayEnum2
|
|
761
|
+
>;
|
|
762
|
+
|
|
763
|
+
export type ProviderSetupUpdateGkeGateway2 = {
|
|
764
|
+
provider: SetupUpdateProviderGkeGatewayEnum2;
|
|
443
765
|
/**
|
|
444
|
-
*
|
|
766
|
+
* Optional static address name for the Gateway frontend.
|
|
445
767
|
*/
|
|
446
|
-
|
|
768
|
+
staticAddressName?: string | null | undefined;
|
|
769
|
+
};
|
|
770
|
+
|
|
771
|
+
export const SetupUpdateProviderAwsAlbEnum2 = {
|
|
772
|
+
AwsAlb: "awsAlb",
|
|
773
|
+
} as const;
|
|
774
|
+
export type SetupUpdateProviderAwsAlbEnum2 = ClosedEnum<
|
|
775
|
+
typeof SetupUpdateProviderAwsAlbEnum2
|
|
776
|
+
>;
|
|
777
|
+
|
|
778
|
+
export type ProviderSetupUpdateAwsAlb2 = {
|
|
447
779
|
/**
|
|
448
|
-
*
|
|
780
|
+
* Optional ALB IP address type, such as `dualstack`.
|
|
449
781
|
*/
|
|
450
|
-
|
|
782
|
+
ipAddressType?: string | null | undefined;
|
|
783
|
+
provider: SetupUpdateProviderAwsAlbEnum2;
|
|
451
784
|
/**
|
|
452
|
-
*
|
|
785
|
+
* Internet-facing or internal ALB scheme.
|
|
453
786
|
*/
|
|
454
|
-
|
|
787
|
+
scheme: string;
|
|
788
|
+
/**
|
|
789
|
+
* Explicit subnet IDs when the profile cannot rely on controller discovery.
|
|
790
|
+
*/
|
|
791
|
+
subnetIds?: Array<string> | undefined;
|
|
792
|
+
/**
|
|
793
|
+
* ALB target type, usually `ip`.
|
|
794
|
+
*/
|
|
795
|
+
targetType: string;
|
|
455
796
|
};
|
|
456
797
|
|
|
798
|
+
export type SetupUpdateProviderUnion2 =
|
|
799
|
+
| ProviderSetupUpdateAwsAlb2
|
|
800
|
+
| ProviderSetupUpdateAzureApplicationGatewayForContainers2
|
|
801
|
+
| ProviderSetupUpdateGkeGateway2
|
|
802
|
+
| any;
|
|
803
|
+
|
|
457
804
|
/**
|
|
458
|
-
*
|
|
805
|
+
* Shared Gateway API route profile values.
|
|
459
806
|
*/
|
|
460
|
-
export type
|
|
807
|
+
export type DeploymentInfoRouteGateway1 = {
|
|
461
808
|
/**
|
|
462
|
-
*
|
|
809
|
+
* Annotations applied to route objects.
|
|
463
810
|
*/
|
|
464
|
-
|
|
811
|
+
annotations?: { [k: string]: string } | undefined;
|
|
465
812
|
/**
|
|
466
|
-
*
|
|
813
|
+
* Route controller identifier, for example a cloud Gateway controller.
|
|
467
814
|
*/
|
|
468
|
-
|
|
815
|
+
controller?: string | null | undefined;
|
|
469
816
|
/**
|
|
470
|
-
*
|
|
817
|
+
* GatewayClass selected for generated Gateways.
|
|
471
818
|
*/
|
|
472
|
-
|
|
819
|
+
gatewayClassName: string;
|
|
820
|
+
/**
|
|
821
|
+
* Labels applied to route objects.
|
|
822
|
+
*/
|
|
823
|
+
labels?: { [k: string]: string } | undefined;
|
|
824
|
+
/**
|
|
825
|
+
* Listener port, usually 443.
|
|
826
|
+
*/
|
|
827
|
+
listenerPort: number;
|
|
828
|
+
provider?:
|
|
829
|
+
| ProviderSetupUpdateAwsAlb2
|
|
830
|
+
| ProviderSetupUpdateAzureApplicationGatewayForContainers2
|
|
831
|
+
| ProviderSetupUpdateGkeGateway2
|
|
832
|
+
| any
|
|
833
|
+
| null
|
|
834
|
+
| undefined;
|
|
835
|
+
routeApi: "gateway";
|
|
473
836
|
};
|
|
474
837
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
export type
|
|
838
|
+
export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum1 = {
|
|
839
|
+
AzureApplicationGatewayForContainers: "azureApplicationGatewayForContainers",
|
|
840
|
+
} as const;
|
|
841
|
+
export type SetupUpdateProviderAzureApplicationGatewayForContainersEnum1 =
|
|
842
|
+
ClosedEnum<
|
|
843
|
+
typeof SetupUpdateProviderAzureApplicationGatewayForContainersEnum1
|
|
844
|
+
>;
|
|
845
|
+
|
|
846
|
+
export type ProviderSetupUpdateAzureApplicationGatewayForContainers1 = {
|
|
479
847
|
/**
|
|
480
|
-
*
|
|
848
|
+
* Optional ALB name when using BYO Application Gateway resources.
|
|
481
849
|
*/
|
|
482
|
-
|
|
850
|
+
albName?: string | null | undefined;
|
|
483
851
|
/**
|
|
484
|
-
*
|
|
852
|
+
* Optional ALB namespace when using BYO Application Gateway resources.
|
|
485
853
|
*/
|
|
486
|
-
|
|
854
|
+
albNamespace?: string | null | undefined;
|
|
855
|
+
/**
|
|
856
|
+
* Public or internal frontend exposure.
|
|
857
|
+
*/
|
|
858
|
+
frontend: string;
|
|
859
|
+
provider: SetupUpdateProviderAzureApplicationGatewayForContainersEnum1;
|
|
487
860
|
};
|
|
488
861
|
|
|
489
|
-
export
|
|
862
|
+
export const SetupUpdateProviderGkeGatewayEnum1 = {
|
|
863
|
+
GkeGateway: "gkeGateway",
|
|
864
|
+
} as const;
|
|
865
|
+
export type SetupUpdateProviderGkeGatewayEnum1 = ClosedEnum<
|
|
866
|
+
typeof SetupUpdateProviderGkeGatewayEnum1
|
|
867
|
+
>;
|
|
868
|
+
|
|
869
|
+
export type ProviderSetupUpdateGkeGateway1 = {
|
|
870
|
+
provider: SetupUpdateProviderGkeGatewayEnum1;
|
|
490
871
|
/**
|
|
491
|
-
*
|
|
872
|
+
* Optional static address name for the Gateway frontend.
|
|
492
873
|
*/
|
|
493
|
-
|
|
494
|
-
|
|
874
|
+
staticAddressName?: string | null | undefined;
|
|
875
|
+
};
|
|
876
|
+
|
|
877
|
+
export const SetupUpdateProviderAwsAlbEnum1 = {
|
|
878
|
+
AwsAlb: "awsAlb",
|
|
879
|
+
} as const;
|
|
880
|
+
export type SetupUpdateProviderAwsAlbEnum1 = ClosedEnum<
|
|
881
|
+
typeof SetupUpdateProviderAwsAlbEnum1
|
|
882
|
+
>;
|
|
883
|
+
|
|
884
|
+
export type ProviderSetupUpdateAwsAlb1 = {
|
|
495
885
|
/**
|
|
496
|
-
*
|
|
886
|
+
* Optional ALB IP address type, such as `dualstack`.
|
|
497
887
|
*/
|
|
498
|
-
|
|
499
|
-
|
|
888
|
+
ipAddressType?: string | null | undefined;
|
|
889
|
+
provider: SetupUpdateProviderAwsAlbEnum1;
|
|
500
890
|
/**
|
|
501
|
-
*
|
|
891
|
+
* Internet-facing or internal ALB scheme.
|
|
502
892
|
*/
|
|
503
|
-
|
|
893
|
+
scheme: string;
|
|
504
894
|
/**
|
|
505
|
-
*
|
|
895
|
+
* Explicit subnet IDs when the profile cannot rely on controller discovery.
|
|
506
896
|
*/
|
|
507
|
-
|
|
508
|
-
moduleVersion?: string | undefined;
|
|
897
|
+
subnetIds?: Array<string> | undefined;
|
|
509
898
|
/**
|
|
510
|
-
*
|
|
899
|
+
* ALB target type, usually `ip`.
|
|
511
900
|
*/
|
|
512
|
-
|
|
901
|
+
targetType: string;
|
|
513
902
|
};
|
|
514
903
|
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
Building: "building",
|
|
521
|
-
Ready: "ready",
|
|
522
|
-
Failed: "failed",
|
|
523
|
-
Canceled: "canceled",
|
|
524
|
-
} as const;
|
|
525
|
-
/**
|
|
526
|
-
* Status of a package build
|
|
527
|
-
*/
|
|
528
|
-
export type HelmStatus = ClosedEnum<typeof HelmStatus>;
|
|
904
|
+
export type SetupUpdateProviderUnion1 =
|
|
905
|
+
| ProviderSetupUpdateAwsAlb1
|
|
906
|
+
| ProviderSetupUpdateAzureApplicationGatewayForContainers1
|
|
907
|
+
| ProviderSetupUpdateGkeGateway1
|
|
908
|
+
| any;
|
|
529
909
|
|
|
530
910
|
/**
|
|
531
|
-
*
|
|
911
|
+
* Shared Ingress route profile values.
|
|
532
912
|
*/
|
|
533
|
-
export type
|
|
534
|
-
/**
|
|
535
|
-
* OCI chart reference (e.g., "oci://public.ecr.aws/acme/charts/project-id")
|
|
536
|
-
*/
|
|
537
|
-
chart: string;
|
|
913
|
+
export type DeploymentInfoRouteIngress1 = {
|
|
538
914
|
/**
|
|
539
|
-
*
|
|
915
|
+
* Annotations applied to route objects.
|
|
540
916
|
*/
|
|
541
|
-
|
|
542
|
-
};
|
|
543
|
-
|
|
544
|
-
export type DeploymentInfoHelm = {
|
|
917
|
+
annotations?: { [k: string]: string } | undefined;
|
|
545
918
|
/**
|
|
546
|
-
*
|
|
919
|
+
* Route controller identifier, for example `eks.amazonaws.com/alb`.
|
|
547
920
|
*/
|
|
548
|
-
|
|
549
|
-
version?: string | undefined;
|
|
921
|
+
controller?: string | null | undefined;
|
|
550
922
|
/**
|
|
551
|
-
*
|
|
923
|
+
* `spec.ingressClassName` for generated Ingresses.
|
|
552
924
|
*/
|
|
553
|
-
|
|
554
|
-
error?: any | null | undefined;
|
|
925
|
+
ingressClassName: string;
|
|
555
926
|
/**
|
|
556
|
-
*
|
|
927
|
+
* Labels applied to route objects.
|
|
557
928
|
*/
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
929
|
+
labels?: { [k: string]: string } | undefined;
|
|
930
|
+
provider?:
|
|
931
|
+
| ProviderSetupUpdateAwsAlb1
|
|
932
|
+
| ProviderSetupUpdateAzureApplicationGatewayForContainers1
|
|
933
|
+
| ProviderSetupUpdateGkeGateway1
|
|
934
|
+
| any
|
|
935
|
+
| null
|
|
936
|
+
| undefined;
|
|
937
|
+
routeApi: "ingress";
|
|
561
938
|
};
|
|
562
939
|
|
|
563
|
-
|
|
940
|
+
/**
|
|
941
|
+
* Kubernetes route API selected for public endpoints.
|
|
942
|
+
*/
|
|
943
|
+
export type DeploymentInfoRouteUnion1 =
|
|
944
|
+
| DeploymentInfoRouteIngress1
|
|
945
|
+
| DeploymentInfoRouteGateway1;
|
|
946
|
+
|
|
947
|
+
export type DeploymentInfoExposureGenerated = {
|
|
564
948
|
/**
|
|
565
|
-
*
|
|
949
|
+
* Certificate publication or reference mode for Kubernetes public endpoints.
|
|
566
950
|
*/
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
951
|
+
certificate:
|
|
952
|
+
| DeploymentInfoCertificateTLSSecretRef1
|
|
953
|
+
| DeploymentInfoCertificateManagedAcmImport1
|
|
954
|
+
| DeploymentInfoCertificateAwsAcmArn1
|
|
955
|
+
| DeploymentInfoCertificateManagedTLSSecret1
|
|
956
|
+
| DeploymentInfoCertificateNone1;
|
|
957
|
+
mode: SetupUpdateModeGenerated;
|
|
958
|
+
/**
|
|
959
|
+
* Kubernetes route API selected for public endpoints.
|
|
960
|
+
*/
|
|
961
|
+
route: DeploymentInfoRouteIngress1 | DeploymentInfoRouteGateway1;
|
|
572
962
|
};
|
|
573
963
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
*/
|
|
577
|
-
export const TargetsPlatform = {
|
|
578
|
-
Aws: "aws",
|
|
579
|
-
Gcp: "gcp",
|
|
580
|
-
Azure: "azure",
|
|
581
|
-
Kubernetes: "kubernetes",
|
|
582
|
-
Machines: "machines",
|
|
583
|
-
Local: "local",
|
|
584
|
-
Test: "test",
|
|
964
|
+
export const SetupUpdateModeDisabled = {
|
|
965
|
+
Disabled: "disabled",
|
|
585
966
|
} as const;
|
|
967
|
+
export type SetupUpdateModeDisabled = ClosedEnum<
|
|
968
|
+
typeof SetupUpdateModeDisabled
|
|
969
|
+
>;
|
|
970
|
+
|
|
971
|
+
export type DeploymentInfoExposureDisabled = {
|
|
972
|
+
mode: SetupUpdateModeDisabled;
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
export type DeploymentInfoExposureUnion =
|
|
976
|
+
| DeploymentInfoExposureCustom
|
|
977
|
+
| DeploymentInfoExposureGenerated
|
|
978
|
+
| DeploymentInfoExposureDisabled
|
|
979
|
+
| any;
|
|
980
|
+
|
|
586
981
|
/**
|
|
587
|
-
*
|
|
982
|
+
* Kubernetes runtime substrate configuration.
|
|
983
|
+
*
|
|
984
|
+
* @remarks
|
|
985
|
+
*
|
|
986
|
+
* This controls how setup chooses the cluster backing `Platform::Kubernetes`
|
|
987
|
+
* deployments. When omitted, cloud-backed Kubernetes deployments default to a
|
|
988
|
+
* managed cluster and generic/on-prem Kubernetes defaults to an external
|
|
989
|
+
* cluster.
|
|
588
990
|
*/
|
|
589
|
-
export type
|
|
991
|
+
export type DeploymentInfoKubernetes = {
|
|
992
|
+
cluster?: DeploymentInfoCluster | any | null | undefined;
|
|
993
|
+
exposure?:
|
|
994
|
+
| DeploymentInfoExposureCustom
|
|
995
|
+
| DeploymentInfoExposureGenerated
|
|
996
|
+
| DeploymentInfoExposureDisabled
|
|
997
|
+
| any
|
|
998
|
+
| null
|
|
999
|
+
| undefined;
|
|
1000
|
+
};
|
|
590
1001
|
|
|
591
|
-
export
|
|
592
|
-
|
|
1002
|
+
export type DeploymentInfoKubernetesUnion = DeploymentInfoKubernetes | any;
|
|
1003
|
+
|
|
1004
|
+
export const DeploymentInfoTypeByoVnetAzure = {
|
|
1005
|
+
ByoVnetAzure: "byo-vnet-azure",
|
|
593
1006
|
} as const;
|
|
594
|
-
export type
|
|
595
|
-
typeof
|
|
1007
|
+
export type DeploymentInfoTypeByoVnetAzure = ClosedEnum<
|
|
1008
|
+
typeof DeploymentInfoTypeByoVnetAzure
|
|
596
1009
|
>;
|
|
597
1010
|
|
|
598
|
-
export type
|
|
599
|
-
|
|
1011
|
+
export type DeploymentInfoNetworkByoVnetAzure = {
|
|
1012
|
+
/**
|
|
1013
|
+
* Name of the dedicated classic Application Gateway subnet within the VNet.
|
|
1014
|
+
*/
|
|
1015
|
+
applicationGatewaySubnetName?: string | null | undefined;
|
|
1016
|
+
/**
|
|
1017
|
+
* Name of the dedicated subnet that hosts Private Endpoints (e.g. for a
|
|
1018
|
+
*
|
|
1019
|
+
* @remarks
|
|
1020
|
+
* Postgres Flexible Server). A Private Endpoint must not share the private
|
|
1021
|
+
* subnet, which is already claimed by the Container Apps environment's
|
|
1022
|
+
* `infrastructure_subnet_id`. Required only when the stack contains a
|
|
1023
|
+
* Postgres resource; otherwise unused.
|
|
1024
|
+
*/
|
|
1025
|
+
privateEndpointSubnetName?: string | null | undefined;
|
|
1026
|
+
/**
|
|
1027
|
+
* Name of the private subnet within the VNet
|
|
1028
|
+
*/
|
|
1029
|
+
privateSubnetName: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* Name of the public subnet within the VNet
|
|
1032
|
+
*/
|
|
1033
|
+
publicSubnetName: string;
|
|
1034
|
+
type: DeploymentInfoTypeByoVnetAzure;
|
|
1035
|
+
/**
|
|
1036
|
+
* The full resource ID of the existing VNet
|
|
1037
|
+
*/
|
|
1038
|
+
vnetResourceId: string;
|
|
600
1039
|
};
|
|
601
1040
|
|
|
602
|
-
export const
|
|
603
|
-
|
|
1041
|
+
export const DeploymentInfoTypeByoVpcGcp = {
|
|
1042
|
+
ByoVpcGcp: "byo-vpc-gcp",
|
|
604
1043
|
} as const;
|
|
605
|
-
export type
|
|
1044
|
+
export type DeploymentInfoTypeByoVpcGcp = ClosedEnum<
|
|
1045
|
+
typeof DeploymentInfoTypeByoVpcGcp
|
|
1046
|
+
>;
|
|
606
1047
|
|
|
607
|
-
|
|
608
|
-
* Azure management configuration extracted from stack settings
|
|
609
|
-
*/
|
|
610
|
-
export type DeploymentInfoManagementConfigAzure = {
|
|
1048
|
+
export type DeploymentInfoNetworkByoVpcGcp = {
|
|
611
1049
|
/**
|
|
612
|
-
* The
|
|
1050
|
+
* The name of the existing VPC network
|
|
613
1051
|
*/
|
|
614
|
-
|
|
1052
|
+
networkName: string;
|
|
615
1053
|
/**
|
|
616
|
-
*
|
|
1054
|
+
* The region of the subnet
|
|
617
1055
|
*/
|
|
618
|
-
|
|
1056
|
+
region: string;
|
|
619
1057
|
/**
|
|
620
|
-
*
|
|
1058
|
+
* The name of the subnet to use
|
|
621
1059
|
*/
|
|
622
|
-
|
|
623
|
-
|
|
1060
|
+
subnetName: string;
|
|
1061
|
+
type: DeploymentInfoTypeByoVpcGcp;
|
|
624
1062
|
};
|
|
625
1063
|
|
|
626
|
-
export const
|
|
627
|
-
|
|
1064
|
+
export const DeploymentInfoTypeByoVpcAws = {
|
|
1065
|
+
ByoVpcAws: "byo-vpc-aws",
|
|
628
1066
|
} as const;
|
|
629
|
-
export type
|
|
1067
|
+
export type DeploymentInfoTypeByoVpcAws = ClosedEnum<
|
|
1068
|
+
typeof DeploymentInfoTypeByoVpcAws
|
|
1069
|
+
>;
|
|
630
1070
|
|
|
631
|
-
|
|
632
|
-
* GCP management configuration extracted from stack settings
|
|
633
|
-
*/
|
|
634
|
-
export type DeploymentInfoManagementConfigGcp = {
|
|
1071
|
+
export type DeploymentInfoNetworkByoVpcAws = {
|
|
635
1072
|
/**
|
|
636
|
-
*
|
|
1073
|
+
* IDs of private subnets
|
|
637
1074
|
*/
|
|
638
|
-
|
|
639
|
-
|
|
1075
|
+
privateSubnetIds: Array<string>;
|
|
1076
|
+
/**
|
|
1077
|
+
* IDs of public subnets (required for public ingress)
|
|
1078
|
+
*/
|
|
1079
|
+
publicSubnetIds: Array<string>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Optional security group IDs to use
|
|
1082
|
+
*/
|
|
1083
|
+
securityGroupIds?: Array<string> | undefined;
|
|
1084
|
+
type: DeploymentInfoTypeByoVpcAws;
|
|
1085
|
+
/**
|
|
1086
|
+
* The ID of the existing VPC
|
|
1087
|
+
*/
|
|
1088
|
+
vpcId: string;
|
|
640
1089
|
};
|
|
641
1090
|
|
|
642
|
-
export const
|
|
643
|
-
|
|
1091
|
+
export const DeploymentInfoTypeCreate = {
|
|
1092
|
+
Create: "create",
|
|
644
1093
|
} as const;
|
|
645
|
-
export type
|
|
1094
|
+
export type DeploymentInfoTypeCreate = ClosedEnum<
|
|
1095
|
+
typeof DeploymentInfoTypeCreate
|
|
1096
|
+
>;
|
|
646
1097
|
|
|
647
|
-
|
|
648
|
-
* AWS management configuration extracted from stack settings
|
|
649
|
-
*/
|
|
650
|
-
export type DeploymentInfoManagementConfigAws = {
|
|
1098
|
+
export type DeploymentInfoNetworkCreate = {
|
|
651
1099
|
/**
|
|
652
|
-
*
|
|
1100
|
+
* Number of availability zones (default: 2).
|
|
653
1101
|
*/
|
|
654
|
-
|
|
655
|
-
|
|
1102
|
+
availabilityZones?: number | undefined;
|
|
1103
|
+
/**
|
|
1104
|
+
* VPC/VNet CIDR block. If not specified, auto-generated from stack ID
|
|
1105
|
+
*
|
|
1106
|
+
* @remarks
|
|
1107
|
+
* to reduce conflicts (e.g., "10.{hash}.0.0/16").
|
|
1108
|
+
*/
|
|
1109
|
+
cidr?: string | null | undefined;
|
|
1110
|
+
type: DeploymentInfoTypeCreate;
|
|
1111
|
+
};
|
|
1112
|
+
|
|
1113
|
+
export const DeploymentInfoTypeUseDefault = {
|
|
1114
|
+
UseDefault: "use-default",
|
|
1115
|
+
} as const;
|
|
1116
|
+
export type DeploymentInfoTypeUseDefault = ClosedEnum<
|
|
1117
|
+
typeof DeploymentInfoTypeUseDefault
|
|
1118
|
+
>;
|
|
1119
|
+
|
|
1120
|
+
export type DeploymentInfoNetworkUseDefault = {
|
|
1121
|
+
type: DeploymentInfoTypeUseDefault;
|
|
656
1122
|
};
|
|
657
1123
|
|
|
1124
|
+
export type DeploymentInfoNetworkUnion =
|
|
1125
|
+
| DeploymentInfoNetworkByoVpcAws
|
|
1126
|
+
| DeploymentInfoNetworkByoVpcGcp
|
|
1127
|
+
| DeploymentInfoNetworkByoVnetAzure
|
|
1128
|
+
| DeploymentInfoNetworkUseDefault
|
|
1129
|
+
| DeploymentInfoNetworkCreate
|
|
1130
|
+
| any;
|
|
1131
|
+
|
|
658
1132
|
/**
|
|
659
|
-
*
|
|
1133
|
+
* How telemetry (logs, metrics, traces) is handled.
|
|
1134
|
+
*/
|
|
1135
|
+
export const DeploymentInfoTelemetry = {
|
|
1136
|
+
Off: "off",
|
|
1137
|
+
Auto: "auto",
|
|
1138
|
+
ApprovalRequired: "approval-required",
|
|
1139
|
+
} as const;
|
|
1140
|
+
/**
|
|
1141
|
+
* How telemetry (logs, metrics, traces) is handled.
|
|
1142
|
+
*/
|
|
1143
|
+
export type DeploymentInfoTelemetry = ClosedEnum<
|
|
1144
|
+
typeof DeploymentInfoTelemetry
|
|
1145
|
+
>;
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* How updates are delivered to the deployment.
|
|
1149
|
+
*/
|
|
1150
|
+
export const DeploymentInfoUpdates = {
|
|
1151
|
+
Auto: "auto",
|
|
1152
|
+
ApprovalRequired: "approval-required",
|
|
1153
|
+
} as const;
|
|
1154
|
+
/**
|
|
1155
|
+
* How updates are delivered to the deployment.
|
|
1156
|
+
*/
|
|
1157
|
+
export type DeploymentInfoUpdates = ClosedEnum<typeof DeploymentInfoUpdates>;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* User-customizable deployment settings specified at deploy time.
|
|
660
1161
|
*
|
|
661
1162
|
* @remarks
|
|
662
1163
|
*
|
|
663
|
-
*
|
|
664
|
-
*
|
|
1164
|
+
* These settings are provided by the customer via CloudFormation parameters,
|
|
1165
|
+
* Terraform attributes, CLI flags, or Helm values. They customize how the
|
|
1166
|
+
* deployment runs and what capabilities are enabled.
|
|
1167
|
+
*
|
|
1168
|
+
* **Key distinction**: StackSettings is user-customizable, while ManagementConfig
|
|
1169
|
+
* is platform-derived (from the Manager's ServiceAccount).
|
|
665
1170
|
*/
|
|
666
|
-
export type
|
|
667
|
-
|
|
|
668
|
-
| DeploymentInfoManagementConfigAws
|
|
669
|
-
| DeploymentInfoManagementConfigGcp
|
|
670
|
-
| DeploymentInfoManagementConfigKubernetes
|
|
671
|
-
| any;
|
|
672
|
-
|
|
673
|
-
export type InstallContextTargets = {
|
|
1171
|
+
export type DeploymentInfoStackSettings = {
|
|
1172
|
+
compute?: DeploymentInfoCompute | any | null | undefined;
|
|
674
1173
|
/**
|
|
675
|
-
*
|
|
1174
|
+
* Deployment model: how updates are delivered to the remote environment.
|
|
676
1175
|
*/
|
|
677
|
-
|
|
678
|
-
|
|
1176
|
+
deploymentModel?: DeploymentInfoDeploymentModel | undefined;
|
|
1177
|
+
domains?: DeploymentInfoDomains | any | null | undefined;
|
|
679
1178
|
/**
|
|
680
|
-
*
|
|
1179
|
+
* External bindings for pre-existing infrastructure.
|
|
681
1180
|
*
|
|
682
1181
|
* @remarks
|
|
683
|
-
*
|
|
684
|
-
*
|
|
685
|
-
*
|
|
1182
|
+
* Allows using existing resources (MinIO, Redis, shared Container Apps
|
|
1183
|
+
* Environment, etc.) instead of having Alien provision them.
|
|
1184
|
+
* Required for Kubernetes platform, optional for cloud platforms.
|
|
686
1185
|
*/
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
1186
|
+
externalBindings?: DeploymentInfoExternalBindings | null | undefined;
|
|
1187
|
+
/**
|
|
1188
|
+
* How heartbeat health checks are handled.
|
|
1189
|
+
*/
|
|
1190
|
+
heartbeats?: DeploymentInfoHeartbeats | undefined;
|
|
1191
|
+
kubernetes?: DeploymentInfoKubernetes | any | null | undefined;
|
|
1192
|
+
network?:
|
|
1193
|
+
| DeploymentInfoNetworkByoVpcAws
|
|
1194
|
+
| DeploymentInfoNetworkByoVpcGcp
|
|
1195
|
+
| DeploymentInfoNetworkByoVnetAzure
|
|
1196
|
+
| DeploymentInfoNetworkUseDefault
|
|
1197
|
+
| DeploymentInfoNetworkCreate
|
|
692
1198
|
| any
|
|
693
1199
|
| null
|
|
694
1200
|
| undefined;
|
|
695
|
-
|
|
1201
|
+
/**
|
|
1202
|
+
* Exact externally managed endpoint URLs, keyed by resource ID and endpoint name.
|
|
1203
|
+
*
|
|
1204
|
+
* @remarks
|
|
1205
|
+
*
|
|
1206
|
+
* This is intended for adopted Machines deployments whose DNS and certificates remain
|
|
1207
|
+
* customer-owned. The platform passes these URLs to the runtime without creating or
|
|
1208
|
+
* replacing DNS records or certificates.
|
|
1209
|
+
*/
|
|
1210
|
+
publicEndpoints?: { [k: string]: { [k: string]: string } } | null | undefined;
|
|
1211
|
+
/**
|
|
1212
|
+
* How telemetry (logs, metrics, traces) is handled.
|
|
1213
|
+
*/
|
|
1214
|
+
telemetry?: DeploymentInfoTelemetry | undefined;
|
|
1215
|
+
/**
|
|
1216
|
+
* How updates are delivered to the deployment.
|
|
1217
|
+
*/
|
|
1218
|
+
updates?: DeploymentInfoUpdates | undefined;
|
|
696
1219
|
};
|
|
697
1220
|
|
|
698
|
-
export type
|
|
1221
|
+
export type SetupUpdate = {
|
|
1222
|
+
deploymentId: string;
|
|
1223
|
+
updateOperationId: string;
|
|
1224
|
+
releaseId: string;
|
|
1225
|
+
name: string;
|
|
699
1226
|
/**
|
|
700
|
-
*
|
|
1227
|
+
* Represents the target cloud platform.
|
|
701
1228
|
*/
|
|
702
|
-
|
|
1229
|
+
platform: SetupUpdatePlatform;
|
|
1230
|
+
setupMethod: DeploymentInfoSetupMethod | null;
|
|
1231
|
+
setupMetadata: { [k: string]: any | null } | null;
|
|
1232
|
+
setupTarget: string | null;
|
|
1233
|
+
resourcePrefix: string | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* User-customizable deployment settings specified at deploy time.
|
|
1236
|
+
*
|
|
1237
|
+
* @remarks
|
|
1238
|
+
*
|
|
1239
|
+
* These settings are provided by the customer via CloudFormation parameters,
|
|
1240
|
+
* Terraform attributes, CLI flags, or Helm values. They customize how the
|
|
1241
|
+
* deployment runs and what capabilities are enabled.
|
|
1242
|
+
*
|
|
1243
|
+
* **Key distinction**: StackSettings is user-customizable, while ManagementConfig
|
|
1244
|
+
* is platform-derived (from the Manager's ServiceAccount).
|
|
1245
|
+
*/
|
|
1246
|
+
stackSettings: DeploymentInfoStackSettings;
|
|
703
1247
|
};
|
|
704
1248
|
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
1249
|
+
/**
|
|
1250
|
+
* Type of token used to authenticate this request
|
|
1251
|
+
*/
|
|
1252
|
+
export const DeploymentInfoTokenType = {
|
|
1253
|
+
Deployment: "deployment",
|
|
1254
|
+
DeploymentGroup: "deployment-group",
|
|
709
1255
|
} as const;
|
|
710
|
-
|
|
711
|
-
|
|
1256
|
+
/**
|
|
1257
|
+
* Type of token used to authenticate this request
|
|
1258
|
+
*/
|
|
1259
|
+
export type DeploymentInfoTokenType = ClosedEnum<
|
|
1260
|
+
typeof DeploymentInfoTokenType
|
|
712
1261
|
>;
|
|
713
1262
|
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
Unknown: "unknown",
|
|
1263
|
+
/**
|
|
1264
|
+
* Represents the target cloud platform.
|
|
1265
|
+
*/
|
|
1266
|
+
export const DeploymentInfoDeploymentPlatform = {
|
|
1267
|
+
Aws: "aws",
|
|
1268
|
+
Gcp: "gcp",
|
|
1269
|
+
Azure: "azure",
|
|
1270
|
+
Kubernetes: "kubernetes",
|
|
1271
|
+
Machines: "machines",
|
|
1272
|
+
Local: "local",
|
|
1273
|
+
Test: "test",
|
|
726
1274
|
} as const;
|
|
727
|
-
|
|
1275
|
+
/**
|
|
1276
|
+
* Represents the target cloud platform.
|
|
1277
|
+
*/
|
|
1278
|
+
export type DeploymentInfoDeploymentPlatform = ClosedEnum<
|
|
1279
|
+
typeof DeploymentInfoDeploymentPlatform
|
|
1280
|
+
>;
|
|
728
1281
|
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
1282
|
+
/**
|
|
1283
|
+
* Deployment details (present when using a deployment-scoped token)
|
|
1284
|
+
*/
|
|
1285
|
+
export type DeploymentInfoDeployment = {
|
|
1286
|
+
name: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* Represents the target cloud platform.
|
|
1289
|
+
*/
|
|
1290
|
+
platform: DeploymentInfoDeploymentPlatform;
|
|
1291
|
+
};
|
|
736
1292
|
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
1293
|
+
/**
|
|
1294
|
+
* Deployment group details (present when using a deployment-group token)
|
|
1295
|
+
*/
|
|
1296
|
+
export type DeploymentInfoDeploymentGroup = {
|
|
1297
|
+
/**
|
|
1298
|
+
* Unique identifier for the deployment group.
|
|
1299
|
+
*/
|
|
1300
|
+
id: string;
|
|
1301
|
+
name: string;
|
|
1302
|
+
pinnedSubdomain: string | null;
|
|
742
1303
|
};
|
|
743
1304
|
|
|
744
|
-
export type
|
|
745
|
-
|
|
746
|
-
|
|
1305
|
+
export type DeploymentInfoWorkspace = {
|
|
1306
|
+
id: string;
|
|
1307
|
+
name: string;
|
|
1308
|
+
avatarUrl?: string | null | undefined;
|
|
747
1309
|
};
|
|
748
1310
|
|
|
749
|
-
export type
|
|
1311
|
+
export type Portal = {
|
|
1312
|
+
appearance: DeploymentPortalAppearance;
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* Represents the target cloud platform.
|
|
1317
|
+
*/
|
|
1318
|
+
export const StackSummaryPlatform = {
|
|
1319
|
+
Aws: "aws",
|
|
1320
|
+
Gcp: "gcp",
|
|
1321
|
+
Azure: "azure",
|
|
1322
|
+
Kubernetes: "kubernetes",
|
|
1323
|
+
Machines: "machines",
|
|
1324
|
+
Local: "local",
|
|
1325
|
+
Test: "test",
|
|
1326
|
+
} as const;
|
|
1327
|
+
/**
|
|
1328
|
+
* Represents the target cloud platform.
|
|
1329
|
+
*/
|
|
1330
|
+
export type StackSummaryPlatform = ClosedEnum<typeof StackSummaryPlatform>;
|
|
1331
|
+
|
|
1332
|
+
export type ResourceCounts = {
|
|
1333
|
+
workers: number;
|
|
1334
|
+
containers: number;
|
|
750
1335
|
/**
|
|
751
|
-
*
|
|
1336
|
+
* Daemon resources that run on managed runtime machines
|
|
752
1337
|
*/
|
|
753
|
-
|
|
1338
|
+
daemons?: number | undefined;
|
|
754
1339
|
/**
|
|
755
|
-
*
|
|
1340
|
+
* Resources that declare managed public HTTPS endpoint setup
|
|
756
1341
|
*/
|
|
757
|
-
|
|
1342
|
+
publicHttpsEndpoints: number;
|
|
758
1343
|
/**
|
|
759
|
-
*
|
|
1344
|
+
* Storage, queue, KV, vault, database, or cache resources that Kubernetes needs Terraform to provision
|
|
760
1345
|
*/
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
1346
|
+
externalInfra: number;
|
|
1347
|
+
total: number;
|
|
1348
|
+
};
|
|
1349
|
+
|
|
1350
|
+
export type PublicEndpoint = {
|
|
1351
|
+
resourceId: string;
|
|
1352
|
+
endpointName: string;
|
|
1353
|
+
hostLabel: string;
|
|
1354
|
+
wildcardSubdomains: boolean;
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1357
|
+
export type StackSummary = {
|
|
1358
|
+
/**
|
|
1359
|
+
* Platforms supported by the active release
|
|
1360
|
+
*/
|
|
1361
|
+
platforms: Array<StackSummaryPlatform>;
|
|
1362
|
+
/**
|
|
1363
|
+
* Whether the stack contains resources that require cloud VPC networking
|
|
1364
|
+
*/
|
|
1365
|
+
requiresNetwork: boolean;
|
|
1366
|
+
/**
|
|
1367
|
+
* Whether this release offers one remotely accessible AI resource
|
|
1368
|
+
*/
|
|
1369
|
+
customerModels: boolean;
|
|
1370
|
+
resourceCounts: ResourceCounts;
|
|
1371
|
+
/**
|
|
1372
|
+
* Public endpoints declared by the active release stack
|
|
1373
|
+
*/
|
|
1374
|
+
publicEndpoints: Array<PublicEndpoint>;
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* Parent domain for generated deployment URLs. Chosen public subdomains are only allowed when isSystem is false.
|
|
1379
|
+
*/
|
|
1380
|
+
export type GeneratedDomain = {
|
|
1381
|
+
domain: string;
|
|
1382
|
+
isSystem: boolean;
|
|
1383
|
+
};
|
|
1384
|
+
|
|
1385
|
+
export type DeploymentInfoProject = {
|
|
1386
|
+
name: string;
|
|
1387
|
+
portal: Portal;
|
|
1388
|
+
stackSummary?: StackSummary | null | undefined;
|
|
1389
|
+
/**
|
|
1390
|
+
* Parent domain for generated deployment URLs. Chosen public subdomains are only allowed when isSystem is false.
|
|
1391
|
+
*/
|
|
1392
|
+
generatedDomain?: GeneratedDomain | null | undefined;
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Status of a package build
|
|
1397
|
+
*/
|
|
1398
|
+
export const CliStatus = {
|
|
1399
|
+
Pending: "pending",
|
|
1400
|
+
Building: "building",
|
|
1401
|
+
Ready: "ready",
|
|
1402
|
+
Failed: "failed",
|
|
1403
|
+
Canceled: "canceled",
|
|
1404
|
+
} as const;
|
|
1405
|
+
/**
|
|
1406
|
+
* Status of a package build
|
|
1407
|
+
*/
|
|
1408
|
+
export type CliStatus = ClosedEnum<typeof CliStatus>;
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* Information about a single binary artifact
|
|
1412
|
+
*/
|
|
1413
|
+
export type DeploymentInfoBinaries = {
|
|
1414
|
+
/**
|
|
1415
|
+
* SHA256 checksum
|
|
1416
|
+
*/
|
|
1417
|
+
sha256: string;
|
|
1418
|
+
/**
|
|
1419
|
+
* File size in bytes
|
|
1420
|
+
*/
|
|
1421
|
+
size: number;
|
|
1422
|
+
/**
|
|
1423
|
+
* Download URL for the binary
|
|
1424
|
+
*/
|
|
1425
|
+
url: string;
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Source provenance for a generated CLI package.
|
|
1430
|
+
*/
|
|
1431
|
+
export type DeploymentInfoBuildInfo = {
|
|
1432
|
+
/**
|
|
1433
|
+
* Alien source commit used to build the source CLI and agent binaries.
|
|
1434
|
+
*/
|
|
1435
|
+
alienSha: string;
|
|
1436
|
+
/**
|
|
1437
|
+
* Compute backend source revision used by optional package extensions, if applicable.
|
|
1438
|
+
*/
|
|
1439
|
+
horizonSha: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* Machine runtime release manifest embedded into the generated CLI.
|
|
1442
|
+
*/
|
|
1443
|
+
machineBundleManifestUrl?: string | null | undefined;
|
|
1444
|
+
/**
|
|
1445
|
+
* Source revision used to build the package service and optional extensions.
|
|
1446
|
+
*/
|
|
1447
|
+
platformSha: string;
|
|
1448
|
+
/**
|
|
1449
|
+
* SHA256 checksum of the source runtime helper binary shipped with the CLI package, when present.
|
|
1450
|
+
*/
|
|
1451
|
+
sourceAgentBinarySha256?: string | null | undefined;
|
|
1452
|
+
/**
|
|
1453
|
+
* SHA256 checksum of the source deploy CLI binary before white-label config is appended.
|
|
1454
|
+
*/
|
|
1455
|
+
sourceCliBinarySha256: string;
|
|
1456
|
+
};
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* Outputs from a CLI package build
|
|
1460
|
+
*/
|
|
1461
|
+
export type CliOutputs = {
|
|
1462
|
+
/**
|
|
1463
|
+
* Binary information for each target platform
|
|
1464
|
+
*/
|
|
1465
|
+
binaries: { [k: string]: DeploymentInfoBinaries };
|
|
1466
|
+
/**
|
|
1467
|
+
* Source provenance for a generated CLI package.
|
|
1468
|
+
*/
|
|
1469
|
+
buildInfo: DeploymentInfoBuildInfo;
|
|
1470
|
+
};
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* Install script URLs for each OS
|
|
1474
|
+
*/
|
|
1475
|
+
export type InstallScripts = {
|
|
1476
|
+
windows: string;
|
|
1477
|
+
mac: string;
|
|
1478
|
+
linux: string;
|
|
1479
|
+
};
|
|
1480
|
+
|
|
1481
|
+
export type DeploymentInfoCli = {
|
|
1482
|
+
/**
|
|
1483
|
+
* Status of a package build
|
|
1484
|
+
*/
|
|
1485
|
+
status: CliStatus;
|
|
1486
|
+
/**
|
|
1487
|
+
* CLI command name to use in install instructions
|
|
1488
|
+
*/
|
|
1489
|
+
commandName: string;
|
|
1490
|
+
version?: string | undefined;
|
|
1491
|
+
/**
|
|
1492
|
+
* Outputs from a CLI package build
|
|
1493
|
+
*/
|
|
1494
|
+
outputs?: CliOutputs | undefined;
|
|
1495
|
+
error?: any | null | undefined;
|
|
1496
|
+
/**
|
|
1497
|
+
* Install script URLs for each OS
|
|
1498
|
+
*/
|
|
1499
|
+
installScripts: InstallScripts;
|
|
1500
|
+
};
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* Status of a package build
|
|
1504
|
+
*/
|
|
1505
|
+
export const CloudformationStatus = {
|
|
1506
|
+
Pending: "pending",
|
|
1507
|
+
Building: "building",
|
|
1508
|
+
Ready: "ready",
|
|
1509
|
+
Failed: "failed",
|
|
1510
|
+
Canceled: "canceled",
|
|
1511
|
+
} as const;
|
|
1512
|
+
/**
|
|
1513
|
+
* Status of a package build
|
|
1514
|
+
*/
|
|
1515
|
+
export type CloudformationStatus = ClosedEnum<typeof CloudformationStatus>;
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* Information about a single CloudFormation template package for one target.
|
|
1519
|
+
*/
|
|
1520
|
+
export type CloudformationTargets = {
|
|
1521
|
+
/**
|
|
1522
|
+
* AWS Console quick-launch URL
|
|
1523
|
+
*/
|
|
1524
|
+
launchStackUrl: string;
|
|
1525
|
+
/**
|
|
1526
|
+
* SHA256 checksum of the template
|
|
1527
|
+
*/
|
|
1528
|
+
sha256: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* Template size in bytes
|
|
1531
|
+
*/
|
|
1532
|
+
size: number;
|
|
1533
|
+
/**
|
|
1534
|
+
* S3 URL to the CloudFormation stack policy
|
|
1535
|
+
*/
|
|
1536
|
+
stackPolicyUrl: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* CloudFormation target (aws, eks)
|
|
1539
|
+
*/
|
|
1540
|
+
target: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* S3 URL to the CloudFormation template
|
|
1543
|
+
*/
|
|
1544
|
+
templateUrl: string;
|
|
1545
|
+
};
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* Outputs from a CloudFormation package build.
|
|
1549
|
+
*/
|
|
1550
|
+
export type CloudformationOutputs = {
|
|
1551
|
+
/**
|
|
1552
|
+
* Template artifacts by CloudFormation target.
|
|
1553
|
+
*/
|
|
1554
|
+
targets: { [k: string]: CloudformationTargets };
|
|
771
1555
|
};
|
|
772
1556
|
|
|
1557
|
+
export const CloudformationMode = {
|
|
1558
|
+
Auto: "auto",
|
|
1559
|
+
Outputs: "outputs",
|
|
1560
|
+
} as const;
|
|
1561
|
+
export type CloudformationMode = ClosedEnum<typeof CloudformationMode>;
|
|
1562
|
+
|
|
1563
|
+
export type DeploymentInfoCloudformation = {
|
|
1564
|
+
/**
|
|
1565
|
+
* Status of a package build
|
|
1566
|
+
*/
|
|
1567
|
+
status: CloudformationStatus;
|
|
1568
|
+
version?: string | undefined;
|
|
1569
|
+
/**
|
|
1570
|
+
* Outputs from a CloudFormation package build.
|
|
1571
|
+
*/
|
|
1572
|
+
outputs?: CloudformationOutputs | undefined;
|
|
1573
|
+
error?: any | null | undefined;
|
|
1574
|
+
mode: CloudformationMode;
|
|
1575
|
+
/**
|
|
1576
|
+
* CloudFormation launch URL
|
|
1577
|
+
*/
|
|
1578
|
+
launchUrl: string;
|
|
1579
|
+
outputsSchema?: any | null | undefined;
|
|
1580
|
+
};
|
|
1581
|
+
|
|
1582
|
+
/**
|
|
1583
|
+
* Status of a package build
|
|
1584
|
+
*/
|
|
1585
|
+
export const TerraformStatus = {
|
|
1586
|
+
Pending: "pending",
|
|
1587
|
+
Building: "building",
|
|
1588
|
+
Ready: "ready",
|
|
1589
|
+
Failed: "failed",
|
|
1590
|
+
Canceled: "canceled",
|
|
1591
|
+
} as const;
|
|
1592
|
+
/**
|
|
1593
|
+
* Status of a package build
|
|
1594
|
+
*/
|
|
1595
|
+
export type TerraformStatus = ClosedEnum<typeof TerraformStatus>;
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* Information about a single Terraform module package for one target.
|
|
1599
|
+
*/
|
|
1600
|
+
export type DeploymentInfoModules = {
|
|
1601
|
+
/**
|
|
1602
|
+
* Download URL for the module archive
|
|
1603
|
+
*/
|
|
1604
|
+
downloadUrl: string;
|
|
1605
|
+
/**
|
|
1606
|
+
* Filename of the module archive
|
|
1607
|
+
*/
|
|
1608
|
+
filename: string;
|
|
1609
|
+
/**
|
|
1610
|
+
* SHA256 checksum of the archive
|
|
1611
|
+
*/
|
|
1612
|
+
shasum: string;
|
|
1613
|
+
/**
|
|
1614
|
+
* Size of the archive in bytes
|
|
1615
|
+
*/
|
|
1616
|
+
size: number;
|
|
1617
|
+
/**
|
|
1618
|
+
* Terraform module source (hostname/namespace/name/provider, without scheme)
|
|
1619
|
+
*/
|
|
1620
|
+
source: string;
|
|
1621
|
+
/**
|
|
1622
|
+
* Terraform module target (aws, gcp, azure, eks, gke, aks)
|
|
1623
|
+
*/
|
|
1624
|
+
target: string;
|
|
1625
|
+
/**
|
|
1626
|
+
* Terraform input variables exposed by this module.
|
|
1627
|
+
*/
|
|
1628
|
+
variables?: Array<string> | undefined;
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* GPG public key for Terraform provider signature verification
|
|
1633
|
+
*/
|
|
1634
|
+
export type DeploymentInfoGpgPublicKey = {
|
|
1635
|
+
/**
|
|
1636
|
+
* ASCII-armored public key
|
|
1637
|
+
*/
|
|
1638
|
+
asciiArmor: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* GPG key ID
|
|
1641
|
+
*/
|
|
1642
|
+
keyId: string;
|
|
1643
|
+
};
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* Information about a single Terraform provider package for a specific platform
|
|
1647
|
+
*/
|
|
1648
|
+
export type DeploymentInfoPlatforms = {
|
|
1649
|
+
/**
|
|
1650
|
+
* Download URL for the provider zip
|
|
1651
|
+
*/
|
|
1652
|
+
downloadUrl: string;
|
|
1653
|
+
/**
|
|
1654
|
+
* Filename of the provider zip
|
|
1655
|
+
*/
|
|
1656
|
+
filename: string;
|
|
1657
|
+
/**
|
|
1658
|
+
* SHA256 checksum of the zip file
|
|
1659
|
+
*/
|
|
1660
|
+
shasum: string;
|
|
1661
|
+
/**
|
|
1662
|
+
* URL to the shasums signature file
|
|
1663
|
+
*/
|
|
1664
|
+
shasumsSignatureUrl: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* URL to the shasums file
|
|
1667
|
+
*/
|
|
1668
|
+
shasumsUrl: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* Size of the zip file in bytes
|
|
1671
|
+
*/
|
|
1672
|
+
size: number;
|
|
1673
|
+
};
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Terraform provider registry outputs.
|
|
1677
|
+
*/
|
|
1678
|
+
export type TerraformProvider = {
|
|
1679
|
+
/**
|
|
1680
|
+
* GPG public key for Terraform provider signature verification
|
|
1681
|
+
*/
|
|
1682
|
+
gpgPublicKey: DeploymentInfoGpgPublicKey;
|
|
1683
|
+
/**
|
|
1684
|
+
* Provider packages for each target platform
|
|
1685
|
+
*/
|
|
1686
|
+
platforms: { [k: string]: DeploymentInfoPlatforms };
|
|
1687
|
+
/**
|
|
1688
|
+
* Terraform provider source (hostname/namespace/type, without scheme)
|
|
1689
|
+
*/
|
|
1690
|
+
source: string;
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* Outputs from a Terraform package build.
|
|
1695
|
+
*/
|
|
1696
|
+
export type TerraformOutputs = {
|
|
1697
|
+
/**
|
|
1698
|
+
* Module registry artifacts by Terraform target.
|
|
1699
|
+
*/
|
|
1700
|
+
modules: { [k: string]: DeploymentInfoModules };
|
|
1701
|
+
/**
|
|
1702
|
+
* Terraform provider registry outputs.
|
|
1703
|
+
*/
|
|
1704
|
+
provider: TerraformProvider;
|
|
1705
|
+
};
|
|
1706
|
+
|
|
1707
|
+
export type DeploymentInfoTerraform = {
|
|
1708
|
+
/**
|
|
1709
|
+
* Status of a package build
|
|
1710
|
+
*/
|
|
1711
|
+
status: TerraformStatus;
|
|
1712
|
+
version?: string | undefined;
|
|
1713
|
+
/**
|
|
1714
|
+
* Outputs from a Terraform package build.
|
|
1715
|
+
*/
|
|
1716
|
+
outputs?: TerraformOutputs | undefined;
|
|
1717
|
+
error?: any | null | undefined;
|
|
1718
|
+
/**
|
|
1719
|
+
* Terraform provider source (without https://)
|
|
1720
|
+
*/
|
|
1721
|
+
providerSource: string;
|
|
1722
|
+
/**
|
|
1723
|
+
* Terraform module sources by target
|
|
1724
|
+
*/
|
|
1725
|
+
moduleSources: { [k: string]: string };
|
|
1726
|
+
moduleVersion?: string | undefined;
|
|
1727
|
+
/**
|
|
1728
|
+
* Manager URLs by Terraform target
|
|
1729
|
+
*/
|
|
1730
|
+
managerUrls: { [k: string]: string };
|
|
1731
|
+
};
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* Status of a package build
|
|
1735
|
+
*/
|
|
1736
|
+
export const HelmStatus = {
|
|
1737
|
+
Pending: "pending",
|
|
1738
|
+
Building: "building",
|
|
1739
|
+
Ready: "ready",
|
|
1740
|
+
Failed: "failed",
|
|
1741
|
+
Canceled: "canceled",
|
|
1742
|
+
} as const;
|
|
1743
|
+
/**
|
|
1744
|
+
* Status of a package build
|
|
1745
|
+
*/
|
|
1746
|
+
export type HelmStatus = ClosedEnum<typeof HelmStatus>;
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* Outputs from a Helm chart package build
|
|
1750
|
+
*/
|
|
1751
|
+
export type HelmOutputs = {
|
|
1752
|
+
/**
|
|
1753
|
+
* OCI chart reference (e.g., "oci://public.ecr.aws/acme/charts/project-id")
|
|
1754
|
+
*/
|
|
1755
|
+
chart: string;
|
|
1756
|
+
/**
|
|
1757
|
+
* Chart version (e.g., "1.2.3")
|
|
1758
|
+
*/
|
|
1759
|
+
version: string;
|
|
1760
|
+
};
|
|
1761
|
+
|
|
1762
|
+
export type DeploymentInfoHelm = {
|
|
1763
|
+
/**
|
|
1764
|
+
* Status of a package build
|
|
1765
|
+
*/
|
|
1766
|
+
status: HelmStatus;
|
|
1767
|
+
version?: string | undefined;
|
|
1768
|
+
/**
|
|
1769
|
+
* Outputs from a Helm chart package build
|
|
1770
|
+
*/
|
|
1771
|
+
outputs?: HelmOutputs | undefined;
|
|
1772
|
+
error?: any | null | undefined;
|
|
1773
|
+
/**
|
|
1774
|
+
* OCI chart reference
|
|
1775
|
+
*/
|
|
1776
|
+
chartRef: string;
|
|
1777
|
+
managerFetchExample?: string | undefined;
|
|
1778
|
+
localImportExample?: string | undefined;
|
|
1779
|
+
};
|
|
1780
|
+
|
|
1781
|
+
export type Packages = {
|
|
1782
|
+
/**
|
|
1783
|
+
* True if all enabled packages are ready for deployment
|
|
1784
|
+
*/
|
|
1785
|
+
ready: boolean;
|
|
1786
|
+
cli?: DeploymentInfoCli | undefined;
|
|
1787
|
+
cloudformation?: DeploymentInfoCloudformation | undefined;
|
|
1788
|
+
terraform?: DeploymentInfoTerraform | undefined;
|
|
1789
|
+
helm?: DeploymentInfoHelm | undefined;
|
|
1790
|
+
};
|
|
1791
|
+
|
|
1792
|
+
/**
|
|
1793
|
+
* Represents the target cloud platform.
|
|
1794
|
+
*/
|
|
1795
|
+
export const TargetsPlatform = {
|
|
1796
|
+
Aws: "aws",
|
|
1797
|
+
Gcp: "gcp",
|
|
1798
|
+
Azure: "azure",
|
|
1799
|
+
Kubernetes: "kubernetes",
|
|
1800
|
+
Machines: "machines",
|
|
1801
|
+
Local: "local",
|
|
1802
|
+
Test: "test",
|
|
1803
|
+
} as const;
|
|
1804
|
+
/**
|
|
1805
|
+
* Represents the target cloud platform.
|
|
1806
|
+
*/
|
|
1807
|
+
export type TargetsPlatform = ClosedEnum<typeof TargetsPlatform>;
|
|
1808
|
+
|
|
1809
|
+
export const TargetsPlatformKubernetes = {
|
|
1810
|
+
Kubernetes: "kubernetes",
|
|
1811
|
+
} as const;
|
|
1812
|
+
export type TargetsPlatformKubernetes = ClosedEnum<
|
|
1813
|
+
typeof TargetsPlatformKubernetes
|
|
1814
|
+
>;
|
|
1815
|
+
|
|
1816
|
+
export type DeploymentInfoManagementConfigKubernetes = {
|
|
1817
|
+
platform: TargetsPlatformKubernetes;
|
|
1818
|
+
};
|
|
1819
|
+
|
|
1820
|
+
export const TargetsPlatformAzure = {
|
|
1821
|
+
Azure: "azure",
|
|
1822
|
+
} as const;
|
|
1823
|
+
export type TargetsPlatformAzure = ClosedEnum<typeof TargetsPlatformAzure>;
|
|
1824
|
+
|
|
1825
|
+
/**
|
|
1826
|
+
* Azure management configuration extracted from stack settings
|
|
1827
|
+
*/
|
|
1828
|
+
export type DeploymentInfoManagementConfigAzure = {
|
|
1829
|
+
/**
|
|
1830
|
+
* The managing Azure Tenant ID for cross-tenant access
|
|
1831
|
+
*/
|
|
1832
|
+
managingTenantId: string;
|
|
1833
|
+
/**
|
|
1834
|
+
* OIDC issuer URL trusted by the target-side managed identity.
|
|
1835
|
+
*/
|
|
1836
|
+
oidcIssuer: string;
|
|
1837
|
+
/**
|
|
1838
|
+
* OIDC subject claim trusted by the target-side managed identity.
|
|
1839
|
+
*/
|
|
1840
|
+
oidcSubject: string;
|
|
1841
|
+
platform: TargetsPlatformAzure;
|
|
1842
|
+
};
|
|
1843
|
+
|
|
1844
|
+
export const TargetsPlatformGcp = {
|
|
1845
|
+
Gcp: "gcp",
|
|
1846
|
+
} as const;
|
|
1847
|
+
export type TargetsPlatformGcp = ClosedEnum<typeof TargetsPlatformGcp>;
|
|
1848
|
+
|
|
1849
|
+
/**
|
|
1850
|
+
* GCP management configuration extracted from stack settings
|
|
1851
|
+
*/
|
|
1852
|
+
export type DeploymentInfoManagementConfigGcp = {
|
|
1853
|
+
/**
|
|
1854
|
+
* Service account email for management roles
|
|
1855
|
+
*/
|
|
1856
|
+
serviceAccountEmail: string;
|
|
1857
|
+
platform: TargetsPlatformGcp;
|
|
1858
|
+
};
|
|
1859
|
+
|
|
1860
|
+
export const TargetsPlatformAws = {
|
|
1861
|
+
Aws: "aws",
|
|
1862
|
+
} as const;
|
|
1863
|
+
export type TargetsPlatformAws = ClosedEnum<typeof TargetsPlatformAws>;
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* AWS management configuration extracted from stack settings
|
|
1867
|
+
*/
|
|
1868
|
+
export type DeploymentInfoManagementConfigAws = {
|
|
1869
|
+
/**
|
|
1870
|
+
* The managing AWS IAM role ARN that can assume cross-account roles
|
|
1871
|
+
*/
|
|
1872
|
+
managingRoleArn: string;
|
|
1873
|
+
platform: TargetsPlatformAws;
|
|
1874
|
+
};
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* Management configuration for different cloud platforms.
|
|
1878
|
+
*
|
|
1879
|
+
* @remarks
|
|
1880
|
+
*
|
|
1881
|
+
* Platform-derived configuration for cross-account/cross-tenant access.
|
|
1882
|
+
* This is NOT user-specified - it's derived from the Manager's ServiceAccount.
|
|
1883
|
+
*/
|
|
1884
|
+
export type DeploymentInfoManagementConfigUnion =
|
|
1885
|
+
| DeploymentInfoManagementConfigAzure
|
|
1886
|
+
| DeploymentInfoManagementConfigAws
|
|
1887
|
+
| DeploymentInfoManagementConfigGcp
|
|
1888
|
+
| DeploymentInfoManagementConfigKubernetes
|
|
1889
|
+
| any;
|
|
1890
|
+
|
|
1891
|
+
export type InstallContextTargets = {
|
|
1892
|
+
/**
|
|
1893
|
+
* Represents the target cloud platform.
|
|
1894
|
+
*/
|
|
1895
|
+
platform: TargetsPlatform;
|
|
1896
|
+
managerUrl: string;
|
|
1897
|
+
/**
|
|
1898
|
+
* Management configuration for different cloud platforms.
|
|
1899
|
+
*
|
|
1900
|
+
* @remarks
|
|
1901
|
+
*
|
|
1902
|
+
* Platform-derived configuration for cross-account/cross-tenant access.
|
|
1903
|
+
* This is NOT user-specified - it's derived from the Manager's ServiceAccount.
|
|
1904
|
+
*/
|
|
1905
|
+
managementConfig?:
|
|
1906
|
+
| DeploymentInfoManagementConfigAzure
|
|
1907
|
+
| DeploymentInfoManagementConfigAws
|
|
1908
|
+
| DeploymentInfoManagementConfigGcp
|
|
1909
|
+
| DeploymentInfoManagementConfigKubernetes
|
|
1910
|
+
| any
|
|
1911
|
+
| null
|
|
1912
|
+
| undefined;
|
|
1913
|
+
awsManagingAccountId?: string | undefined;
|
|
1914
|
+
};
|
|
1915
|
+
|
|
1916
|
+
export type DeploymentInfoInstallContext = {
|
|
1917
|
+
/**
|
|
1918
|
+
* Deployment-session install context by Terraform/installer target
|
|
1919
|
+
*/
|
|
1920
|
+
targets: { [k: string]: InstallContextTargets };
|
|
1921
|
+
};
|
|
1922
|
+
|
|
1923
|
+
export const ModelAvailabilitySourceStatus = {
|
|
1924
|
+
Current: "current",
|
|
1925
|
+
Stale: "stale",
|
|
1926
|
+
Invalid: "invalid",
|
|
1927
|
+
} as const;
|
|
1928
|
+
export type ModelAvailabilitySourceStatus = ClosedEnum<
|
|
1929
|
+
typeof ModelAvailabilitySourceStatus
|
|
1930
|
+
>;
|
|
1931
|
+
|
|
1932
|
+
export type ModelAvailabilitySource = {
|
|
1933
|
+
deploymentId: string;
|
|
1934
|
+
resourceId: string;
|
|
1935
|
+
observedAt: Date;
|
|
1936
|
+
status: ModelAvailabilitySourceStatus;
|
|
1937
|
+
availability?: AiAvailabilityObservation | undefined;
|
|
1938
|
+
};
|
|
1939
|
+
|
|
1940
|
+
export const ReadinessStatus = {
|
|
1941
|
+
Ready: "ready",
|
|
1942
|
+
NotReady: "notReady",
|
|
1943
|
+
Unknown: "unknown",
|
|
1944
|
+
} as const;
|
|
1945
|
+
export type ReadinessStatus = ClosedEnum<typeof ReadinessStatus>;
|
|
1946
|
+
|
|
1947
|
+
export const CheckStatus = {
|
|
1948
|
+
Passed: "passed",
|
|
1949
|
+
Failed: "failed",
|
|
1950
|
+
Warning: "warning",
|
|
1951
|
+
Unknown: "unknown",
|
|
1952
|
+
} as const;
|
|
1953
|
+
export type CheckStatus = ClosedEnum<typeof CheckStatus>;
|
|
1954
|
+
|
|
1955
|
+
export type Check = {
|
|
1956
|
+
code: string;
|
|
1957
|
+
status: CheckStatus;
|
|
1958
|
+
message: string;
|
|
1959
|
+
checkedAt: string;
|
|
1960
|
+
};
|
|
1961
|
+
|
|
1962
|
+
export type Readiness = {
|
|
1963
|
+
status: ReadinessStatus;
|
|
1964
|
+
checks: Array<Check>;
|
|
1965
|
+
};
|
|
1966
|
+
|
|
1967
|
+
export type DeploymentInfo = {
|
|
1968
|
+
setupUpdate?: SetupUpdate | undefined;
|
|
1969
|
+
/**
|
|
1970
|
+
* Type of token used to authenticate this request
|
|
1971
|
+
*/
|
|
1972
|
+
tokenType: DeploymentInfoTokenType;
|
|
1973
|
+
/**
|
|
1974
|
+
* Deployment details (present when using a deployment-scoped token)
|
|
1975
|
+
*/
|
|
1976
|
+
deployment?: DeploymentInfoDeployment | undefined;
|
|
1977
|
+
/**
|
|
1978
|
+
* Deployment group details (present when using a deployment-group token)
|
|
1979
|
+
*/
|
|
1980
|
+
deploymentGroup?: DeploymentInfoDeploymentGroup | undefined;
|
|
1981
|
+
workspace: DeploymentInfoWorkspace;
|
|
1982
|
+
project: DeploymentInfoProject;
|
|
1983
|
+
packages: Packages;
|
|
1984
|
+
installContext: DeploymentInfoInstallContext;
|
|
1985
|
+
supportedRegions: SupportedCloudRegions;
|
|
1986
|
+
modelAvailabilitySources: Array<ModelAvailabilitySource>;
|
|
1987
|
+
setupItems?: Array<SetupItemStatus> | undefined;
|
|
1988
|
+
setupConfig?: DeploymentInfoSetupConfig | undefined;
|
|
1989
|
+
readiness?: Readiness | undefined;
|
|
1990
|
+
};
|
|
1991
|
+
|
|
1992
|
+
/** @internal */
|
|
1993
|
+
export const SetupUpdatePlatform$inboundSchema: z.ZodEnum<
|
|
1994
|
+
typeof SetupUpdatePlatform
|
|
1995
|
+
> = z.enum(SetupUpdatePlatform);
|
|
1996
|
+
|
|
1997
|
+
/** @internal */
|
|
1998
|
+
export const DeploymentInfoSetupMethod$inboundSchema: z.ZodEnum<
|
|
1999
|
+
typeof DeploymentInfoSetupMethod
|
|
2000
|
+
> = z.enum(DeploymentInfoSetupMethod);
|
|
2001
|
+
|
|
2002
|
+
/** @internal */
|
|
2003
|
+
export const DeploymentInfoFailureDomains2$inboundSchema: z.ZodType<
|
|
2004
|
+
DeploymentInfoFailureDomains2,
|
|
2005
|
+
unknown
|
|
2006
|
+
> = z.object({
|
|
2007
|
+
selectedFailureDomains: z.array(z.string()).optional(),
|
|
2008
|
+
spread: z.int(),
|
|
2009
|
+
});
|
|
2010
|
+
|
|
2011
|
+
export function deploymentInfoFailureDomains2FromJSON(
|
|
2012
|
+
jsonString: string,
|
|
2013
|
+
): SafeParseResult<DeploymentInfoFailureDomains2, SDKValidationError> {
|
|
2014
|
+
return safeParse(
|
|
2015
|
+
jsonString,
|
|
2016
|
+
(x) => DeploymentInfoFailureDomains2$inboundSchema.parse(JSON.parse(x)),
|
|
2017
|
+
`Failed to parse 'DeploymentInfoFailureDomains2' from JSON`,
|
|
2018
|
+
);
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
/** @internal */
|
|
2022
|
+
export const DeploymentInfoFailureDomainsUnion2$inboundSchema: z.ZodType<
|
|
2023
|
+
DeploymentInfoFailureDomainsUnion2,
|
|
2024
|
+
unknown
|
|
2025
|
+
> = z.union([
|
|
2026
|
+
z.lazy(() => DeploymentInfoFailureDomains2$inboundSchema),
|
|
2027
|
+
z.any(),
|
|
2028
|
+
]);
|
|
2029
|
+
|
|
2030
|
+
export function deploymentInfoFailureDomainsUnion2FromJSON(
|
|
2031
|
+
jsonString: string,
|
|
2032
|
+
): SafeParseResult<DeploymentInfoFailureDomainsUnion2, SDKValidationError> {
|
|
2033
|
+
return safeParse(
|
|
2034
|
+
jsonString,
|
|
2035
|
+
(x) =>
|
|
2036
|
+
DeploymentInfoFailureDomainsUnion2$inboundSchema.parse(JSON.parse(x)),
|
|
2037
|
+
`Failed to parse 'DeploymentInfoFailureDomainsUnion2' from JSON`,
|
|
2038
|
+
);
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
/** @internal */
|
|
2042
|
+
export const DeploymentInfoPoolsAutoscale$inboundSchema: z.ZodType<
|
|
2043
|
+
DeploymentInfoPoolsAutoscale,
|
|
2044
|
+
unknown
|
|
2045
|
+
> = z.object({
|
|
2046
|
+
failure_domains: z.nullable(
|
|
2047
|
+
z.union([
|
|
2048
|
+
z.lazy(() => DeploymentInfoFailureDomains2$inboundSchema),
|
|
2049
|
+
z.any(),
|
|
2050
|
+
]),
|
|
2051
|
+
).optional(),
|
|
2052
|
+
machine: z.nullable(z.string()).optional(),
|
|
2053
|
+
max: z.int(),
|
|
2054
|
+
min: z.int(),
|
|
2055
|
+
mode: z.literal("autoscale"),
|
|
2056
|
+
}).transform((v) => {
|
|
2057
|
+
return remap$(v, {
|
|
2058
|
+
"failure_domains": "failureDomains",
|
|
2059
|
+
});
|
|
2060
|
+
});
|
|
2061
|
+
|
|
2062
|
+
export function deploymentInfoPoolsAutoscaleFromJSON(
|
|
2063
|
+
jsonString: string,
|
|
2064
|
+
): SafeParseResult<DeploymentInfoPoolsAutoscale, SDKValidationError> {
|
|
2065
|
+
return safeParse(
|
|
2066
|
+
jsonString,
|
|
2067
|
+
(x) => DeploymentInfoPoolsAutoscale$inboundSchema.parse(JSON.parse(x)),
|
|
2068
|
+
`Failed to parse 'DeploymentInfoPoolsAutoscale' from JSON`,
|
|
2069
|
+
);
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
/** @internal */
|
|
2073
|
+
export const DeploymentInfoFailureDomains1$inboundSchema: z.ZodType<
|
|
2074
|
+
DeploymentInfoFailureDomains1,
|
|
2075
|
+
unknown
|
|
2076
|
+
> = z.object({
|
|
2077
|
+
selectedFailureDomains: z.array(z.string()).optional(),
|
|
2078
|
+
spread: z.int(),
|
|
2079
|
+
});
|
|
2080
|
+
|
|
2081
|
+
export function deploymentInfoFailureDomains1FromJSON(
|
|
2082
|
+
jsonString: string,
|
|
2083
|
+
): SafeParseResult<DeploymentInfoFailureDomains1, SDKValidationError> {
|
|
2084
|
+
return safeParse(
|
|
2085
|
+
jsonString,
|
|
2086
|
+
(x) => DeploymentInfoFailureDomains1$inboundSchema.parse(JSON.parse(x)),
|
|
2087
|
+
`Failed to parse 'DeploymentInfoFailureDomains1' from JSON`,
|
|
2088
|
+
);
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
/** @internal */
|
|
2092
|
+
export const DeploymentInfoFailureDomainsUnion1$inboundSchema: z.ZodType<
|
|
2093
|
+
DeploymentInfoFailureDomainsUnion1,
|
|
2094
|
+
unknown
|
|
2095
|
+
> = z.union([
|
|
2096
|
+
z.lazy(() => DeploymentInfoFailureDomains1$inboundSchema),
|
|
2097
|
+
z.any(),
|
|
2098
|
+
]);
|
|
2099
|
+
|
|
2100
|
+
export function deploymentInfoFailureDomainsUnion1FromJSON(
|
|
2101
|
+
jsonString: string,
|
|
2102
|
+
): SafeParseResult<DeploymentInfoFailureDomainsUnion1, SDKValidationError> {
|
|
2103
|
+
return safeParse(
|
|
2104
|
+
jsonString,
|
|
2105
|
+
(x) =>
|
|
2106
|
+
DeploymentInfoFailureDomainsUnion1$inboundSchema.parse(JSON.parse(x)),
|
|
2107
|
+
`Failed to parse 'DeploymentInfoFailureDomainsUnion1' from JSON`,
|
|
2108
|
+
);
|
|
2109
|
+
}
|
|
2110
|
+
|
|
2111
|
+
/** @internal */
|
|
2112
|
+
export const DeploymentInfoPoolsFixed$inboundSchema: z.ZodType<
|
|
2113
|
+
DeploymentInfoPoolsFixed,
|
|
2114
|
+
unknown
|
|
2115
|
+
> = z.object({
|
|
2116
|
+
failure_domains: z.nullable(
|
|
2117
|
+
z.union([
|
|
2118
|
+
z.lazy(() => DeploymentInfoFailureDomains1$inboundSchema),
|
|
2119
|
+
z.any(),
|
|
2120
|
+
]),
|
|
2121
|
+
).optional(),
|
|
2122
|
+
machine: z.nullable(z.string()).optional(),
|
|
2123
|
+
machines: z.int(),
|
|
2124
|
+
mode: z.literal("fixed"),
|
|
2125
|
+
}).transform((v) => {
|
|
2126
|
+
return remap$(v, {
|
|
2127
|
+
"failure_domains": "failureDomains",
|
|
2128
|
+
});
|
|
2129
|
+
});
|
|
2130
|
+
|
|
2131
|
+
export function deploymentInfoPoolsFixedFromJSON(
|
|
2132
|
+
jsonString: string,
|
|
2133
|
+
): SafeParseResult<DeploymentInfoPoolsFixed, SDKValidationError> {
|
|
2134
|
+
return safeParse(
|
|
2135
|
+
jsonString,
|
|
2136
|
+
(x) => DeploymentInfoPoolsFixed$inboundSchema.parse(JSON.parse(x)),
|
|
2137
|
+
`Failed to parse 'DeploymentInfoPoolsFixed' from JSON`,
|
|
2138
|
+
);
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
/** @internal */
|
|
2142
|
+
export const DeploymentInfoPoolsUnion$inboundSchema: z.ZodType<
|
|
2143
|
+
DeploymentInfoPoolsUnion,
|
|
2144
|
+
unknown
|
|
2145
|
+
> = z.union([
|
|
2146
|
+
z.lazy(() => DeploymentInfoPoolsFixed$inboundSchema),
|
|
2147
|
+
z.lazy(() => DeploymentInfoPoolsAutoscale$inboundSchema),
|
|
2148
|
+
]);
|
|
2149
|
+
|
|
2150
|
+
export function deploymentInfoPoolsUnionFromJSON(
|
|
2151
|
+
jsonString: string,
|
|
2152
|
+
): SafeParseResult<DeploymentInfoPoolsUnion, SDKValidationError> {
|
|
2153
|
+
return safeParse(
|
|
2154
|
+
jsonString,
|
|
2155
|
+
(x) => DeploymentInfoPoolsUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2156
|
+
`Failed to parse 'DeploymentInfoPoolsUnion' from JSON`,
|
|
2157
|
+
);
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2160
|
+
/** @internal */
|
|
2161
|
+
export const DeploymentInfoCompute$inboundSchema: z.ZodType<
|
|
2162
|
+
DeploymentInfoCompute,
|
|
2163
|
+
unknown
|
|
2164
|
+
> = z.object({
|
|
2165
|
+
pools: z.record(
|
|
2166
|
+
z.string(),
|
|
2167
|
+
z.union([
|
|
2168
|
+
z.lazy(() => DeploymentInfoPoolsFixed$inboundSchema),
|
|
2169
|
+
z.lazy(() => DeploymentInfoPoolsAutoscale$inboundSchema),
|
|
2170
|
+
]),
|
|
2171
|
+
).optional(),
|
|
2172
|
+
});
|
|
2173
|
+
|
|
2174
|
+
export function deploymentInfoComputeFromJSON(
|
|
2175
|
+
jsonString: string,
|
|
2176
|
+
): SafeParseResult<DeploymentInfoCompute, SDKValidationError> {
|
|
2177
|
+
return safeParse(
|
|
2178
|
+
jsonString,
|
|
2179
|
+
(x) => DeploymentInfoCompute$inboundSchema.parse(JSON.parse(x)),
|
|
2180
|
+
`Failed to parse 'DeploymentInfoCompute' from JSON`,
|
|
2181
|
+
);
|
|
2182
|
+
}
|
|
2183
|
+
|
|
2184
|
+
/** @internal */
|
|
2185
|
+
export const DeploymentInfoComputeUnion$inboundSchema: z.ZodType<
|
|
2186
|
+
DeploymentInfoComputeUnion,
|
|
2187
|
+
unknown
|
|
2188
|
+
> = z.union([z.lazy(() => DeploymentInfoCompute$inboundSchema), z.any()]);
|
|
2189
|
+
|
|
2190
|
+
export function deploymentInfoComputeUnionFromJSON(
|
|
2191
|
+
jsonString: string,
|
|
2192
|
+
): SafeParseResult<DeploymentInfoComputeUnion, SDKValidationError> {
|
|
2193
|
+
return safeParse(
|
|
2194
|
+
jsonString,
|
|
2195
|
+
(x) => DeploymentInfoComputeUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2196
|
+
`Failed to parse 'DeploymentInfoComputeUnion' from JSON`,
|
|
2197
|
+
);
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
/** @internal */
|
|
2201
|
+
export const DeploymentInfoDeploymentModel$inboundSchema: z.ZodEnum<
|
|
2202
|
+
typeof DeploymentInfoDeploymentModel
|
|
2203
|
+
> = z.enum(DeploymentInfoDeploymentModel);
|
|
2204
|
+
|
|
2205
|
+
/** @internal */
|
|
2206
|
+
export const DeploymentInfoAws$inboundSchema: z.ZodType<
|
|
2207
|
+
DeploymentInfoAws,
|
|
2208
|
+
unknown
|
|
2209
|
+
> = z.object({
|
|
2210
|
+
certificateArn: z.string(),
|
|
2211
|
+
});
|
|
2212
|
+
|
|
2213
|
+
export function deploymentInfoAwsFromJSON(
|
|
2214
|
+
jsonString: string,
|
|
2215
|
+
): SafeParseResult<DeploymentInfoAws, SDKValidationError> {
|
|
2216
|
+
return safeParse(
|
|
2217
|
+
jsonString,
|
|
2218
|
+
(x) => DeploymentInfoAws$inboundSchema.parse(JSON.parse(x)),
|
|
2219
|
+
`Failed to parse 'DeploymentInfoAws' from JSON`,
|
|
2220
|
+
);
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
/** @internal */
|
|
2224
|
+
export const DeploymentInfoAwsUnion$inboundSchema: z.ZodType<
|
|
2225
|
+
DeploymentInfoAwsUnion,
|
|
2226
|
+
unknown
|
|
2227
|
+
> = z.union([z.lazy(() => DeploymentInfoAws$inboundSchema), z.any()]);
|
|
2228
|
+
|
|
2229
|
+
export function deploymentInfoAwsUnionFromJSON(
|
|
2230
|
+
jsonString: string,
|
|
2231
|
+
): SafeParseResult<DeploymentInfoAwsUnion, SDKValidationError> {
|
|
2232
|
+
return safeParse(
|
|
2233
|
+
jsonString,
|
|
2234
|
+
(x) => DeploymentInfoAwsUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2235
|
+
`Failed to parse 'DeploymentInfoAwsUnion' from JSON`,
|
|
2236
|
+
);
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
/** @internal */
|
|
2240
|
+
export const DeploymentInfoAzure$inboundSchema: z.ZodType<
|
|
2241
|
+
DeploymentInfoAzure,
|
|
2242
|
+
unknown
|
|
2243
|
+
> = z.object({
|
|
2244
|
+
keyVaultCertificateId: z.string(),
|
|
2245
|
+
keyVaultResourceId: z.nullable(z.string()).optional(),
|
|
2246
|
+
});
|
|
2247
|
+
|
|
2248
|
+
export function deploymentInfoAzureFromJSON(
|
|
2249
|
+
jsonString: string,
|
|
2250
|
+
): SafeParseResult<DeploymentInfoAzure, SDKValidationError> {
|
|
2251
|
+
return safeParse(
|
|
2252
|
+
jsonString,
|
|
2253
|
+
(x) => DeploymentInfoAzure$inboundSchema.parse(JSON.parse(x)),
|
|
2254
|
+
`Failed to parse 'DeploymentInfoAzure' from JSON`,
|
|
2255
|
+
);
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
/** @internal */
|
|
2259
|
+
export const DeploymentInfoAzureUnion$inboundSchema: z.ZodType<
|
|
2260
|
+
DeploymentInfoAzureUnion,
|
|
2261
|
+
unknown
|
|
2262
|
+
> = z.union([z.lazy(() => DeploymentInfoAzure$inboundSchema), z.any()]);
|
|
2263
|
+
|
|
2264
|
+
export function deploymentInfoAzureUnionFromJSON(
|
|
2265
|
+
jsonString: string,
|
|
2266
|
+
): SafeParseResult<DeploymentInfoAzureUnion, SDKValidationError> {
|
|
2267
|
+
return safeParse(
|
|
2268
|
+
jsonString,
|
|
2269
|
+
(x) => DeploymentInfoAzureUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2270
|
+
`Failed to parse 'DeploymentInfoAzureUnion' from JSON`,
|
|
2271
|
+
);
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
/** @internal */
|
|
2275
|
+
export const DeploymentInfoGcp$inboundSchema: z.ZodType<
|
|
2276
|
+
DeploymentInfoGcp,
|
|
2277
|
+
unknown
|
|
2278
|
+
> = z.object({
|
|
2279
|
+
certificateName: z.string(),
|
|
2280
|
+
});
|
|
2281
|
+
|
|
2282
|
+
export function deploymentInfoGcpFromJSON(
|
|
2283
|
+
jsonString: string,
|
|
2284
|
+
): SafeParseResult<DeploymentInfoGcp, SDKValidationError> {
|
|
2285
|
+
return safeParse(
|
|
2286
|
+
jsonString,
|
|
2287
|
+
(x) => DeploymentInfoGcp$inboundSchema.parse(JSON.parse(x)),
|
|
2288
|
+
`Failed to parse 'DeploymentInfoGcp' from JSON`,
|
|
2289
|
+
);
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
/** @internal */
|
|
2293
|
+
export const DeploymentInfoGcpUnion$inboundSchema: z.ZodType<
|
|
2294
|
+
DeploymentInfoGcpUnion,
|
|
2295
|
+
unknown
|
|
2296
|
+
> = z.union([z.lazy(() => DeploymentInfoGcp$inboundSchema), z.any()]);
|
|
2297
|
+
|
|
2298
|
+
export function deploymentInfoGcpUnionFromJSON(
|
|
2299
|
+
jsonString: string,
|
|
2300
|
+
): SafeParseResult<DeploymentInfoGcpUnion, SDKValidationError> {
|
|
2301
|
+
return safeParse(
|
|
2302
|
+
jsonString,
|
|
2303
|
+
(x) => DeploymentInfoGcpUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2304
|
+
`Failed to parse 'DeploymentInfoGcpUnion' from JSON`,
|
|
2305
|
+
);
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
/** @internal */
|
|
2309
|
+
export const DeploymentInfoTlsSecretRef$inboundSchema: z.ZodType<
|
|
2310
|
+
DeploymentInfoTlsSecretRef,
|
|
2311
|
+
unknown
|
|
2312
|
+
> = z.object({
|
|
2313
|
+
namespace: z.nullable(z.string()).optional(),
|
|
2314
|
+
secretName: z.string(),
|
|
2315
|
+
});
|
|
2316
|
+
|
|
2317
|
+
export function deploymentInfoTlsSecretRefFromJSON(
|
|
2318
|
+
jsonString: string,
|
|
2319
|
+
): SafeParseResult<DeploymentInfoTlsSecretRef, SDKValidationError> {
|
|
2320
|
+
return safeParse(
|
|
2321
|
+
jsonString,
|
|
2322
|
+
(x) => DeploymentInfoTlsSecretRef$inboundSchema.parse(JSON.parse(x)),
|
|
2323
|
+
`Failed to parse 'DeploymentInfoTlsSecretRef' from JSON`,
|
|
2324
|
+
);
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
/** @internal */
|
|
2328
|
+
export const DeploymentInfoDomainsKubernetes$inboundSchema: z.ZodType<
|
|
2329
|
+
DeploymentInfoDomainsKubernetes,
|
|
2330
|
+
unknown
|
|
2331
|
+
> = z.object({
|
|
2332
|
+
tlsSecretRef: z.lazy(() => DeploymentInfoTlsSecretRef$inboundSchema),
|
|
2333
|
+
});
|
|
2334
|
+
|
|
2335
|
+
export function deploymentInfoDomainsKubernetesFromJSON(
|
|
2336
|
+
jsonString: string,
|
|
2337
|
+
): SafeParseResult<DeploymentInfoDomainsKubernetes, SDKValidationError> {
|
|
2338
|
+
return safeParse(
|
|
2339
|
+
jsonString,
|
|
2340
|
+
(x) => DeploymentInfoDomainsKubernetes$inboundSchema.parse(JSON.parse(x)),
|
|
2341
|
+
`Failed to parse 'DeploymentInfoDomainsKubernetes' from JSON`,
|
|
2342
|
+
);
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
/** @internal */
|
|
2346
|
+
export const DeploymentInfoDomainsKubernetesUnion$inboundSchema: z.ZodType<
|
|
2347
|
+
DeploymentInfoDomainsKubernetesUnion,
|
|
2348
|
+
unknown
|
|
2349
|
+
> = z.union([
|
|
2350
|
+
z.lazy(() => DeploymentInfoDomainsKubernetes$inboundSchema),
|
|
2351
|
+
z.any(),
|
|
2352
|
+
]);
|
|
2353
|
+
|
|
2354
|
+
export function deploymentInfoDomainsKubernetesUnionFromJSON(
|
|
2355
|
+
jsonString: string,
|
|
2356
|
+
): SafeParseResult<DeploymentInfoDomainsKubernetesUnion, SDKValidationError> {
|
|
2357
|
+
return safeParse(
|
|
2358
|
+
jsonString,
|
|
2359
|
+
(x) =>
|
|
2360
|
+
DeploymentInfoDomainsKubernetesUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2361
|
+
`Failed to parse 'DeploymentInfoDomainsKubernetesUnion' from JSON`,
|
|
2362
|
+
);
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
/** @internal */
|
|
2366
|
+
export const DeploymentInfoDomainsCertificate$inboundSchema: z.ZodType<
|
|
2367
|
+
DeploymentInfoDomainsCertificate,
|
|
2368
|
+
unknown
|
|
2369
|
+
> = z.object({
|
|
2370
|
+
aws: z.nullable(
|
|
2371
|
+
z.union([z.lazy(() => DeploymentInfoAws$inboundSchema), z.any()]),
|
|
2372
|
+
).optional(),
|
|
2373
|
+
azure: z.nullable(
|
|
2374
|
+
z.union([z.lazy(() => DeploymentInfoAzure$inboundSchema), z.any()]),
|
|
2375
|
+
).optional(),
|
|
2376
|
+
gcp: z.nullable(
|
|
2377
|
+
z.union([z.lazy(() => DeploymentInfoGcp$inboundSchema), z.any()]),
|
|
2378
|
+
).optional(),
|
|
2379
|
+
kubernetes: z.nullable(
|
|
2380
|
+
z.union([
|
|
2381
|
+
z.lazy(() => DeploymentInfoDomainsKubernetes$inboundSchema),
|
|
2382
|
+
z.any(),
|
|
2383
|
+
]),
|
|
2384
|
+
).optional(),
|
|
2385
|
+
});
|
|
2386
|
+
|
|
2387
|
+
export function deploymentInfoDomainsCertificateFromJSON(
|
|
2388
|
+
jsonString: string,
|
|
2389
|
+
): SafeParseResult<DeploymentInfoDomainsCertificate, SDKValidationError> {
|
|
2390
|
+
return safeParse(
|
|
2391
|
+
jsonString,
|
|
2392
|
+
(x) => DeploymentInfoDomainsCertificate$inboundSchema.parse(JSON.parse(x)),
|
|
2393
|
+
`Failed to parse 'DeploymentInfoDomainsCertificate' from JSON`,
|
|
2394
|
+
);
|
|
2395
|
+
}
|
|
2396
|
+
|
|
2397
|
+
/** @internal */
|
|
2398
|
+
export const DeploymentInfoCustomDomains$inboundSchema: z.ZodType<
|
|
2399
|
+
DeploymentInfoCustomDomains,
|
|
2400
|
+
unknown
|
|
2401
|
+
> = z.object({
|
|
2402
|
+
certificate: z.lazy(() => DeploymentInfoDomainsCertificate$inboundSchema),
|
|
2403
|
+
domain: z.string(),
|
|
2404
|
+
});
|
|
2405
|
+
|
|
2406
|
+
export function deploymentInfoCustomDomainsFromJSON(
|
|
2407
|
+
jsonString: string,
|
|
2408
|
+
): SafeParseResult<DeploymentInfoCustomDomains, SDKValidationError> {
|
|
2409
|
+
return safeParse(
|
|
2410
|
+
jsonString,
|
|
2411
|
+
(x) => DeploymentInfoCustomDomains$inboundSchema.parse(JSON.parse(x)),
|
|
2412
|
+
`Failed to parse 'DeploymentInfoCustomDomains' from JSON`,
|
|
2413
|
+
);
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
/** @internal */
|
|
2417
|
+
export const SetupUpdateModeLoadBalancer$inboundSchema: z.ZodEnum<
|
|
2418
|
+
typeof SetupUpdateModeLoadBalancer
|
|
2419
|
+
> = z.enum(SetupUpdateModeLoadBalancer);
|
|
2420
|
+
|
|
2421
|
+
/** @internal */
|
|
2422
|
+
export const DeploymentInfoPublicEndpointTargetLoadBalancer$inboundSchema:
|
|
2423
|
+
z.ZodType<DeploymentInfoPublicEndpointTargetLoadBalancer, unknown> = z.object(
|
|
2424
|
+
{
|
|
2425
|
+
cnameTarget: z.string(),
|
|
2426
|
+
mode: SetupUpdateModeLoadBalancer$inboundSchema,
|
|
2427
|
+
},
|
|
2428
|
+
);
|
|
2429
|
+
|
|
2430
|
+
export function deploymentInfoPublicEndpointTargetLoadBalancerFromJSON(
|
|
2431
|
+
jsonString: string,
|
|
2432
|
+
): SafeParseResult<
|
|
2433
|
+
DeploymentInfoPublicEndpointTargetLoadBalancer,
|
|
2434
|
+
SDKValidationError
|
|
2435
|
+
> {
|
|
2436
|
+
return safeParse(
|
|
2437
|
+
jsonString,
|
|
2438
|
+
(x) =>
|
|
2439
|
+
DeploymentInfoPublicEndpointTargetLoadBalancer$inboundSchema.parse(
|
|
2440
|
+
JSON.parse(x),
|
|
2441
|
+
),
|
|
2442
|
+
`Failed to parse 'DeploymentInfoPublicEndpointTargetLoadBalancer' from JSON`,
|
|
2443
|
+
);
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
/** @internal */
|
|
2447
|
+
export const SetupUpdateModeMachineAddresses$inboundSchema: z.ZodEnum<
|
|
2448
|
+
typeof SetupUpdateModeMachineAddresses
|
|
2449
|
+
> = z.enum(SetupUpdateModeMachineAddresses);
|
|
2450
|
+
|
|
2451
|
+
/** @internal */
|
|
2452
|
+
export const DeploymentInfoPublicEndpointTargetMachineAddresses$inboundSchema:
|
|
2453
|
+
z.ZodType<DeploymentInfoPublicEndpointTargetMachineAddresses, unknown> = z
|
|
2454
|
+
.object({
|
|
2455
|
+
mode: SetupUpdateModeMachineAddresses$inboundSchema,
|
|
2456
|
+
});
|
|
2457
|
+
|
|
2458
|
+
export function deploymentInfoPublicEndpointTargetMachineAddressesFromJSON(
|
|
2459
|
+
jsonString: string,
|
|
2460
|
+
): SafeParseResult<
|
|
2461
|
+
DeploymentInfoPublicEndpointTargetMachineAddresses,
|
|
2462
|
+
SDKValidationError
|
|
2463
|
+
> {
|
|
2464
|
+
return safeParse(
|
|
2465
|
+
jsonString,
|
|
2466
|
+
(x) =>
|
|
2467
|
+
DeploymentInfoPublicEndpointTargetMachineAddresses$inboundSchema.parse(
|
|
2468
|
+
JSON.parse(x),
|
|
2469
|
+
),
|
|
2470
|
+
`Failed to parse 'DeploymentInfoPublicEndpointTargetMachineAddresses' from JSON`,
|
|
2471
|
+
);
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2474
|
+
/** @internal */
|
|
2475
|
+
export const DeploymentInfoPublicEndpointTargetUnion$inboundSchema: z.ZodType<
|
|
2476
|
+
DeploymentInfoPublicEndpointTargetUnion,
|
|
2477
|
+
unknown
|
|
2478
|
+
> = z.union([
|
|
2479
|
+
z.lazy(() => DeploymentInfoPublicEndpointTargetLoadBalancer$inboundSchema),
|
|
2480
|
+
z.lazy(() =>
|
|
2481
|
+
DeploymentInfoPublicEndpointTargetMachineAddresses$inboundSchema
|
|
2482
|
+
),
|
|
2483
|
+
z.any(),
|
|
2484
|
+
]);
|
|
2485
|
+
|
|
2486
|
+
export function deploymentInfoPublicEndpointTargetUnionFromJSON(
|
|
2487
|
+
jsonString: string,
|
|
2488
|
+
): SafeParseResult<
|
|
2489
|
+
DeploymentInfoPublicEndpointTargetUnion,
|
|
2490
|
+
SDKValidationError
|
|
2491
|
+
> {
|
|
2492
|
+
return safeParse(
|
|
2493
|
+
jsonString,
|
|
2494
|
+
(x) =>
|
|
2495
|
+
DeploymentInfoPublicEndpointTargetUnion$inboundSchema.parse(
|
|
2496
|
+
JSON.parse(x),
|
|
2497
|
+
),
|
|
2498
|
+
`Failed to parse 'DeploymentInfoPublicEndpointTargetUnion' from JSON`,
|
|
2499
|
+
);
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
/** @internal */
|
|
2503
|
+
export const DeploymentInfoDomains$inboundSchema: z.ZodType<
|
|
2504
|
+
DeploymentInfoDomains,
|
|
2505
|
+
unknown
|
|
2506
|
+
> = z.object({
|
|
2507
|
+
customDomains: z.nullable(
|
|
2508
|
+
z.record(
|
|
2509
|
+
z.string(),
|
|
2510
|
+
z.lazy(() => DeploymentInfoCustomDomains$inboundSchema),
|
|
2511
|
+
),
|
|
2512
|
+
).optional(),
|
|
2513
|
+
publicEndpointTarget: z.nullable(
|
|
2514
|
+
z.union([
|
|
2515
|
+
z.lazy(() =>
|
|
2516
|
+
DeploymentInfoPublicEndpointTargetLoadBalancer$inboundSchema
|
|
2517
|
+
),
|
|
2518
|
+
z.lazy(() =>
|
|
2519
|
+
DeploymentInfoPublicEndpointTargetMachineAddresses$inboundSchema
|
|
2520
|
+
),
|
|
2521
|
+
z.any(),
|
|
2522
|
+
]),
|
|
2523
|
+
).optional(),
|
|
2524
|
+
});
|
|
2525
|
+
|
|
2526
|
+
export function deploymentInfoDomainsFromJSON(
|
|
2527
|
+
jsonString: string,
|
|
2528
|
+
): SafeParseResult<DeploymentInfoDomains, SDKValidationError> {
|
|
2529
|
+
return safeParse(
|
|
2530
|
+
jsonString,
|
|
2531
|
+
(x) => DeploymentInfoDomains$inboundSchema.parse(JSON.parse(x)),
|
|
2532
|
+
`Failed to parse 'DeploymentInfoDomains' from JSON`,
|
|
2533
|
+
);
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2536
|
+
/** @internal */
|
|
2537
|
+
export const DeploymentInfoDomainsUnion$inboundSchema: z.ZodType<
|
|
2538
|
+
DeploymentInfoDomainsUnion,
|
|
2539
|
+
unknown
|
|
2540
|
+
> = z.union([z.lazy(() => DeploymentInfoDomains$inboundSchema), z.any()]);
|
|
2541
|
+
|
|
2542
|
+
export function deploymentInfoDomainsUnionFromJSON(
|
|
2543
|
+
jsonString: string,
|
|
2544
|
+
): SafeParseResult<DeploymentInfoDomainsUnion, SDKValidationError> {
|
|
2545
|
+
return safeParse(
|
|
2546
|
+
jsonString,
|
|
2547
|
+
(x) => DeploymentInfoDomainsUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2548
|
+
`Failed to parse 'DeploymentInfoDomainsUnion' from JSON`,
|
|
2549
|
+
);
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2552
|
+
/** @internal */
|
|
2553
|
+
export const DeploymentInfoExternalBindings$inboundSchema: z.ZodType<
|
|
2554
|
+
DeploymentInfoExternalBindings,
|
|
2555
|
+
unknown
|
|
2556
|
+
> = z.object({});
|
|
2557
|
+
|
|
2558
|
+
export function deploymentInfoExternalBindingsFromJSON(
|
|
2559
|
+
jsonString: string,
|
|
2560
|
+
): SafeParseResult<DeploymentInfoExternalBindings, SDKValidationError> {
|
|
2561
|
+
return safeParse(
|
|
2562
|
+
jsonString,
|
|
2563
|
+
(x) => DeploymentInfoExternalBindings$inboundSchema.parse(JSON.parse(x)),
|
|
2564
|
+
`Failed to parse 'DeploymentInfoExternalBindings' from JSON`,
|
|
2565
|
+
);
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
/** @internal */
|
|
2569
|
+
export const DeploymentInfoHeartbeats$inboundSchema: z.ZodEnum<
|
|
2570
|
+
typeof DeploymentInfoHeartbeats
|
|
2571
|
+
> = z.enum(DeploymentInfoHeartbeats);
|
|
2572
|
+
|
|
2573
|
+
/** @internal */
|
|
2574
|
+
export const DeploymentInfoCloud$inboundSchema: z.ZodType<
|
|
2575
|
+
DeploymentInfoCloud,
|
|
2576
|
+
unknown
|
|
2577
|
+
> = z.object({
|
|
2578
|
+
accountId: z.nullable(z.string()).optional(),
|
|
2579
|
+
clusterId: z.nullable(z.string()).optional(),
|
|
2580
|
+
clusterName: z.nullable(z.string()).optional(),
|
|
2581
|
+
projectId: z.nullable(z.string()).optional(),
|
|
2582
|
+
region: z.nullable(z.string()).optional(),
|
|
2583
|
+
resourceGroup: z.nullable(z.string()).optional(),
|
|
2584
|
+
subscriptionId: z.nullable(z.string()).optional(),
|
|
2585
|
+
});
|
|
2586
|
+
|
|
2587
|
+
export function deploymentInfoCloudFromJSON(
|
|
2588
|
+
jsonString: string,
|
|
2589
|
+
): SafeParseResult<DeploymentInfoCloud, SDKValidationError> {
|
|
2590
|
+
return safeParse(
|
|
2591
|
+
jsonString,
|
|
2592
|
+
(x) => DeploymentInfoCloud$inboundSchema.parse(JSON.parse(x)),
|
|
2593
|
+
`Failed to parse 'DeploymentInfoCloud' from JSON`,
|
|
2594
|
+
);
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
/** @internal */
|
|
2598
|
+
export const DeploymentInfoCloudUnion$inboundSchema: z.ZodType<
|
|
2599
|
+
DeploymentInfoCloudUnion,
|
|
2600
|
+
unknown
|
|
2601
|
+
> = z.union([z.lazy(() => DeploymentInfoCloud$inboundSchema), z.any()]);
|
|
2602
|
+
|
|
2603
|
+
export function deploymentInfoCloudUnionFromJSON(
|
|
2604
|
+
jsonString: string,
|
|
2605
|
+
): SafeParseResult<DeploymentInfoCloudUnion, SDKValidationError> {
|
|
2606
|
+
return safeParse(
|
|
2607
|
+
jsonString,
|
|
2608
|
+
(x) => DeploymentInfoCloudUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2609
|
+
`Failed to parse 'DeploymentInfoCloudUnion' from JSON`,
|
|
2610
|
+
);
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2613
|
+
/** @internal */
|
|
2614
|
+
export const DeploymentInfoOwnership$inboundSchema: z.ZodEnum<
|
|
2615
|
+
typeof DeploymentInfoOwnership
|
|
2616
|
+
> = z.enum(DeploymentInfoOwnership);
|
|
2617
|
+
|
|
2618
|
+
/** @internal */
|
|
2619
|
+
export const DeploymentInfoCluster$inboundSchema: z.ZodType<
|
|
2620
|
+
DeploymentInfoCluster,
|
|
2621
|
+
unknown
|
|
2622
|
+
> = z.object({
|
|
2623
|
+
cloud: z.nullable(
|
|
2624
|
+
z.union([z.lazy(() => DeploymentInfoCloud$inboundSchema), z.any()]),
|
|
2625
|
+
).optional(),
|
|
2626
|
+
namespace: z.nullable(z.string()).optional(),
|
|
2627
|
+
ownership: DeploymentInfoOwnership$inboundSchema,
|
|
2628
|
+
});
|
|
2629
|
+
|
|
2630
|
+
export function deploymentInfoClusterFromJSON(
|
|
2631
|
+
jsonString: string,
|
|
2632
|
+
): SafeParseResult<DeploymentInfoCluster, SDKValidationError> {
|
|
2633
|
+
return safeParse(
|
|
2634
|
+
jsonString,
|
|
2635
|
+
(x) => DeploymentInfoCluster$inboundSchema.parse(JSON.parse(x)),
|
|
2636
|
+
`Failed to parse 'DeploymentInfoCluster' from JSON`,
|
|
2637
|
+
);
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
/** @internal */
|
|
2641
|
+
export const DeploymentInfoClusterUnion$inboundSchema: z.ZodType<
|
|
2642
|
+
DeploymentInfoClusterUnion,
|
|
2643
|
+
unknown
|
|
2644
|
+
> = z.union([z.lazy(() => DeploymentInfoCluster$inboundSchema), z.any()]);
|
|
2645
|
+
|
|
2646
|
+
export function deploymentInfoClusterUnionFromJSON(
|
|
2647
|
+
jsonString: string,
|
|
2648
|
+
): SafeParseResult<DeploymentInfoClusterUnion, SDKValidationError> {
|
|
2649
|
+
return safeParse(
|
|
2650
|
+
jsonString,
|
|
2651
|
+
(x) => DeploymentInfoClusterUnion$inboundSchema.parse(JSON.parse(x)),
|
|
2652
|
+
`Failed to parse 'DeploymentInfoClusterUnion' from JSON`,
|
|
2653
|
+
);
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
/** @internal */
|
|
2657
|
+
export const DeploymentInfoCertificateNone2$inboundSchema: z.ZodType<
|
|
2658
|
+
DeploymentInfoCertificateNone2,
|
|
2659
|
+
unknown
|
|
2660
|
+
> = z.object({
|
|
2661
|
+
mode: z.literal("none"),
|
|
2662
|
+
});
|
|
2663
|
+
|
|
2664
|
+
export function deploymentInfoCertificateNone2FromJSON(
|
|
2665
|
+
jsonString: string,
|
|
2666
|
+
): SafeParseResult<DeploymentInfoCertificateNone2, SDKValidationError> {
|
|
2667
|
+
return safeParse(
|
|
2668
|
+
jsonString,
|
|
2669
|
+
(x) => DeploymentInfoCertificateNone2$inboundSchema.parse(JSON.parse(x)),
|
|
2670
|
+
`Failed to parse 'DeploymentInfoCertificateNone2' from JSON`,
|
|
2671
|
+
);
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
/** @internal */
|
|
2675
|
+
export const DeploymentInfoCertificateManagedTLSSecret2$inboundSchema:
|
|
2676
|
+
z.ZodType<DeploymentInfoCertificateManagedTLSSecret2, unknown> = z.object({
|
|
2677
|
+
mode: z.literal("managedTlsSecret"),
|
|
2678
|
+
secretNameTemplate: z.string(),
|
|
2679
|
+
});
|
|
2680
|
+
|
|
2681
|
+
export function deploymentInfoCertificateManagedTLSSecret2FromJSON(
|
|
2682
|
+
jsonString: string,
|
|
2683
|
+
): SafeParseResult<
|
|
2684
|
+
DeploymentInfoCertificateManagedTLSSecret2,
|
|
2685
|
+
SDKValidationError
|
|
2686
|
+
> {
|
|
2687
|
+
return safeParse(
|
|
2688
|
+
jsonString,
|
|
2689
|
+
(x) =>
|
|
2690
|
+
DeploymentInfoCertificateManagedTLSSecret2$inboundSchema.parse(
|
|
2691
|
+
JSON.parse(x),
|
|
2692
|
+
),
|
|
2693
|
+
`Failed to parse 'DeploymentInfoCertificateManagedTLSSecret2' from JSON`,
|
|
2694
|
+
);
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2697
|
+
/** @internal */
|
|
2698
|
+
export const DeploymentInfoCertificateAwsAcmArn2$inboundSchema: z.ZodType<
|
|
2699
|
+
DeploymentInfoCertificateAwsAcmArn2,
|
|
2700
|
+
unknown
|
|
2701
|
+
> = z.object({
|
|
2702
|
+
certificateArn: z.string(),
|
|
2703
|
+
mode: z.literal("awsAcmArn"),
|
|
2704
|
+
});
|
|
2705
|
+
|
|
2706
|
+
export function deploymentInfoCertificateAwsAcmArn2FromJSON(
|
|
2707
|
+
jsonString: string,
|
|
2708
|
+
): SafeParseResult<DeploymentInfoCertificateAwsAcmArn2, SDKValidationError> {
|
|
2709
|
+
return safeParse(
|
|
2710
|
+
jsonString,
|
|
2711
|
+
(x) =>
|
|
2712
|
+
DeploymentInfoCertificateAwsAcmArn2$inboundSchema.parse(JSON.parse(x)),
|
|
2713
|
+
`Failed to parse 'DeploymentInfoCertificateAwsAcmArn2' from JSON`,
|
|
2714
|
+
);
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2717
|
+
/** @internal */
|
|
2718
|
+
export const DeploymentInfoCertificateManagedAcmImport2$inboundSchema:
|
|
2719
|
+
z.ZodType<DeploymentInfoCertificateManagedAcmImport2, unknown> = z.object({
|
|
2720
|
+
mode: z.literal("managedAcmImport"),
|
|
2721
|
+
region: z.nullable(z.string()).optional(),
|
|
2722
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
2723
|
+
});
|
|
2724
|
+
|
|
2725
|
+
export function deploymentInfoCertificateManagedAcmImport2FromJSON(
|
|
2726
|
+
jsonString: string,
|
|
2727
|
+
): SafeParseResult<
|
|
2728
|
+
DeploymentInfoCertificateManagedAcmImport2,
|
|
2729
|
+
SDKValidationError
|
|
2730
|
+
> {
|
|
2731
|
+
return safeParse(
|
|
2732
|
+
jsonString,
|
|
2733
|
+
(x) =>
|
|
2734
|
+
DeploymentInfoCertificateManagedAcmImport2$inboundSchema.parse(
|
|
2735
|
+
JSON.parse(x),
|
|
2736
|
+
),
|
|
2737
|
+
`Failed to parse 'DeploymentInfoCertificateManagedAcmImport2' from JSON`,
|
|
2738
|
+
);
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
/** @internal */
|
|
2742
|
+
export const DeploymentInfoCertificateTLSSecretRef2$inboundSchema: z.ZodType<
|
|
2743
|
+
DeploymentInfoCertificateTLSSecretRef2,
|
|
2744
|
+
unknown
|
|
2745
|
+
> = z.object({
|
|
2746
|
+
namespace: z.nullable(z.string()).optional(),
|
|
2747
|
+
secretName: z.string(),
|
|
2748
|
+
mode: z.literal("tlsSecretRef"),
|
|
2749
|
+
});
|
|
2750
|
+
|
|
2751
|
+
export function deploymentInfoCertificateTLSSecretRef2FromJSON(
|
|
2752
|
+
jsonString: string,
|
|
2753
|
+
): SafeParseResult<DeploymentInfoCertificateTLSSecretRef2, SDKValidationError> {
|
|
2754
|
+
return safeParse(
|
|
2755
|
+
jsonString,
|
|
2756
|
+
(x) =>
|
|
2757
|
+
DeploymentInfoCertificateTLSSecretRef2$inboundSchema.parse(JSON.parse(x)),
|
|
2758
|
+
`Failed to parse 'DeploymentInfoCertificateTLSSecretRef2' from JSON`,
|
|
2759
|
+
);
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
/** @internal */
|
|
2763
|
+
export const DeploymentInfoCertificateUnion2$inboundSchema: z.ZodType<
|
|
2764
|
+
DeploymentInfoCertificateUnion2,
|
|
2765
|
+
unknown
|
|
2766
|
+
> = z.union([
|
|
2767
|
+
z.lazy(() => DeploymentInfoCertificateTLSSecretRef2$inboundSchema),
|
|
2768
|
+
z.lazy(() => DeploymentInfoCertificateManagedAcmImport2$inboundSchema),
|
|
2769
|
+
z.lazy(() => DeploymentInfoCertificateAwsAcmArn2$inboundSchema),
|
|
2770
|
+
z.lazy(() => DeploymentInfoCertificateManagedTLSSecret2$inboundSchema),
|
|
2771
|
+
z.lazy(() => DeploymentInfoCertificateNone2$inboundSchema),
|
|
2772
|
+
]);
|
|
2773
|
+
|
|
2774
|
+
export function deploymentInfoCertificateUnion2FromJSON(
|
|
2775
|
+
jsonString: string,
|
|
2776
|
+
): SafeParseResult<DeploymentInfoCertificateUnion2, SDKValidationError> {
|
|
2777
|
+
return safeParse(
|
|
2778
|
+
jsonString,
|
|
2779
|
+
(x) => DeploymentInfoCertificateUnion2$inboundSchema.parse(JSON.parse(x)),
|
|
2780
|
+
`Failed to parse 'DeploymentInfoCertificateUnion2' from JSON`,
|
|
2781
|
+
);
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2784
|
+
/** @internal */
|
|
2785
|
+
export const SetupUpdateModeCustom$inboundSchema: z.ZodEnum<
|
|
2786
|
+
typeof SetupUpdateModeCustom
|
|
2787
|
+
> = z.enum(SetupUpdateModeCustom);
|
|
2788
|
+
|
|
2789
|
+
/** @internal */
|
|
2790
|
+
export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum4$inboundSchema:
|
|
2791
|
+
z.ZodEnum<
|
|
2792
|
+
typeof SetupUpdateProviderAzureApplicationGatewayForContainersEnum4
|
|
2793
|
+
> = z.enum(SetupUpdateProviderAzureApplicationGatewayForContainersEnum4);
|
|
2794
|
+
|
|
2795
|
+
/** @internal */
|
|
2796
|
+
export const ProviderSetupUpdateAzureApplicationGatewayForContainers4$inboundSchema:
|
|
2797
|
+
z.ZodType<ProviderSetupUpdateAzureApplicationGatewayForContainers4, unknown> =
|
|
2798
|
+
z.object({
|
|
2799
|
+
albName: z.nullable(z.string()).optional(),
|
|
2800
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
2801
|
+
frontend: z.string(),
|
|
2802
|
+
provider:
|
|
2803
|
+
SetupUpdateProviderAzureApplicationGatewayForContainersEnum4$inboundSchema,
|
|
2804
|
+
});
|
|
2805
|
+
|
|
2806
|
+
export function providerSetupUpdateAzureApplicationGatewayForContainers4FromJSON(
|
|
2807
|
+
jsonString: string,
|
|
2808
|
+
): SafeParseResult<
|
|
2809
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers4,
|
|
2810
|
+
SDKValidationError
|
|
2811
|
+
> {
|
|
2812
|
+
return safeParse(
|
|
2813
|
+
jsonString,
|
|
2814
|
+
(x) =>
|
|
2815
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers4$inboundSchema
|
|
2816
|
+
.parse(JSON.parse(x)),
|
|
2817
|
+
`Failed to parse 'ProviderSetupUpdateAzureApplicationGatewayForContainers4' from JSON`,
|
|
2818
|
+
);
|
|
2819
|
+
}
|
|
2820
|
+
|
|
2821
|
+
/** @internal */
|
|
2822
|
+
export const SetupUpdateProviderGkeGatewayEnum4$inboundSchema: z.ZodEnum<
|
|
2823
|
+
typeof SetupUpdateProviderGkeGatewayEnum4
|
|
2824
|
+
> = z.enum(SetupUpdateProviderGkeGatewayEnum4);
|
|
2825
|
+
|
|
2826
|
+
/** @internal */
|
|
2827
|
+
export const ProviderSetupUpdateGkeGateway4$inboundSchema: z.ZodType<
|
|
2828
|
+
ProviderSetupUpdateGkeGateway4,
|
|
2829
|
+
unknown
|
|
2830
|
+
> = z.object({
|
|
2831
|
+
provider: SetupUpdateProviderGkeGatewayEnum4$inboundSchema,
|
|
2832
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
2833
|
+
});
|
|
2834
|
+
|
|
2835
|
+
export function providerSetupUpdateGkeGateway4FromJSON(
|
|
2836
|
+
jsonString: string,
|
|
2837
|
+
): SafeParseResult<ProviderSetupUpdateGkeGateway4, SDKValidationError> {
|
|
2838
|
+
return safeParse(
|
|
2839
|
+
jsonString,
|
|
2840
|
+
(x) => ProviderSetupUpdateGkeGateway4$inboundSchema.parse(JSON.parse(x)),
|
|
2841
|
+
`Failed to parse 'ProviderSetupUpdateGkeGateway4' from JSON`,
|
|
2842
|
+
);
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
/** @internal */
|
|
2846
|
+
export const SetupUpdateProviderAwsAlbEnum4$inboundSchema: z.ZodEnum<
|
|
2847
|
+
typeof SetupUpdateProviderAwsAlbEnum4
|
|
2848
|
+
> = z.enum(SetupUpdateProviderAwsAlbEnum4);
|
|
2849
|
+
|
|
2850
|
+
/** @internal */
|
|
2851
|
+
export const ProviderSetupUpdateAwsAlb4$inboundSchema: z.ZodType<
|
|
2852
|
+
ProviderSetupUpdateAwsAlb4,
|
|
2853
|
+
unknown
|
|
2854
|
+
> = z.object({
|
|
2855
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
2856
|
+
provider: SetupUpdateProviderAwsAlbEnum4$inboundSchema,
|
|
2857
|
+
scheme: z.string(),
|
|
2858
|
+
subnetIds: z.array(z.string()).optional(),
|
|
2859
|
+
targetType: z.string(),
|
|
2860
|
+
});
|
|
2861
|
+
|
|
2862
|
+
export function providerSetupUpdateAwsAlb4FromJSON(
|
|
2863
|
+
jsonString: string,
|
|
2864
|
+
): SafeParseResult<ProviderSetupUpdateAwsAlb4, SDKValidationError> {
|
|
2865
|
+
return safeParse(
|
|
2866
|
+
jsonString,
|
|
2867
|
+
(x) => ProviderSetupUpdateAwsAlb4$inboundSchema.parse(JSON.parse(x)),
|
|
2868
|
+
`Failed to parse 'ProviderSetupUpdateAwsAlb4' from JSON`,
|
|
2869
|
+
);
|
|
2870
|
+
}
|
|
2871
|
+
|
|
2872
|
+
/** @internal */
|
|
2873
|
+
export const SetupUpdateProviderUnion4$inboundSchema: z.ZodType<
|
|
2874
|
+
SetupUpdateProviderUnion4,
|
|
2875
|
+
unknown
|
|
2876
|
+
> = z.union([
|
|
2877
|
+
z.lazy(() => ProviderSetupUpdateAwsAlb4$inboundSchema),
|
|
2878
|
+
z.lazy(() =>
|
|
2879
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers4$inboundSchema
|
|
2880
|
+
),
|
|
2881
|
+
z.lazy(() => ProviderSetupUpdateGkeGateway4$inboundSchema),
|
|
2882
|
+
z.any(),
|
|
2883
|
+
]);
|
|
2884
|
+
|
|
2885
|
+
export function setupUpdateProviderUnion4FromJSON(
|
|
2886
|
+
jsonString: string,
|
|
2887
|
+
): SafeParseResult<SetupUpdateProviderUnion4, SDKValidationError> {
|
|
2888
|
+
return safeParse(
|
|
2889
|
+
jsonString,
|
|
2890
|
+
(x) => SetupUpdateProviderUnion4$inboundSchema.parse(JSON.parse(x)),
|
|
2891
|
+
`Failed to parse 'SetupUpdateProviderUnion4' from JSON`,
|
|
2892
|
+
);
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2895
|
+
/** @internal */
|
|
2896
|
+
export const DeploymentInfoRouteGateway2$inboundSchema: z.ZodType<
|
|
2897
|
+
DeploymentInfoRouteGateway2,
|
|
2898
|
+
unknown
|
|
2899
|
+
> = z.object({
|
|
2900
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
2901
|
+
controller: z.nullable(z.string()).optional(),
|
|
2902
|
+
gatewayClassName: z.string(),
|
|
2903
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
2904
|
+
listenerPort: z.int(),
|
|
2905
|
+
provider: z.nullable(
|
|
2906
|
+
z.union([
|
|
2907
|
+
z.lazy(() => ProviderSetupUpdateAwsAlb4$inboundSchema),
|
|
2908
|
+
z.lazy(() =>
|
|
2909
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers4$inboundSchema
|
|
2910
|
+
),
|
|
2911
|
+
z.lazy(() => ProviderSetupUpdateGkeGateway4$inboundSchema),
|
|
2912
|
+
z.any(),
|
|
2913
|
+
]),
|
|
2914
|
+
).optional(),
|
|
2915
|
+
routeApi: z.literal("gateway"),
|
|
2916
|
+
});
|
|
2917
|
+
|
|
2918
|
+
export function deploymentInfoRouteGateway2FromJSON(
|
|
2919
|
+
jsonString: string,
|
|
2920
|
+
): SafeParseResult<DeploymentInfoRouteGateway2, SDKValidationError> {
|
|
2921
|
+
return safeParse(
|
|
2922
|
+
jsonString,
|
|
2923
|
+
(x) => DeploymentInfoRouteGateway2$inboundSchema.parse(JSON.parse(x)),
|
|
2924
|
+
`Failed to parse 'DeploymentInfoRouteGateway2' from JSON`,
|
|
2925
|
+
);
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
/** @internal */
|
|
2929
|
+
export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum3$inboundSchema:
|
|
2930
|
+
z.ZodEnum<
|
|
2931
|
+
typeof SetupUpdateProviderAzureApplicationGatewayForContainersEnum3
|
|
2932
|
+
> = z.enum(SetupUpdateProviderAzureApplicationGatewayForContainersEnum3);
|
|
2933
|
+
|
|
2934
|
+
/** @internal */
|
|
2935
|
+
export const ProviderSetupUpdateAzureApplicationGatewayForContainers3$inboundSchema:
|
|
2936
|
+
z.ZodType<ProviderSetupUpdateAzureApplicationGatewayForContainers3, unknown> =
|
|
2937
|
+
z.object({
|
|
2938
|
+
albName: z.nullable(z.string()).optional(),
|
|
2939
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
2940
|
+
frontend: z.string(),
|
|
2941
|
+
provider:
|
|
2942
|
+
SetupUpdateProviderAzureApplicationGatewayForContainersEnum3$inboundSchema,
|
|
2943
|
+
});
|
|
2944
|
+
|
|
2945
|
+
export function providerSetupUpdateAzureApplicationGatewayForContainers3FromJSON(
|
|
2946
|
+
jsonString: string,
|
|
2947
|
+
): SafeParseResult<
|
|
2948
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers3,
|
|
2949
|
+
SDKValidationError
|
|
2950
|
+
> {
|
|
2951
|
+
return safeParse(
|
|
2952
|
+
jsonString,
|
|
2953
|
+
(x) =>
|
|
2954
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers3$inboundSchema
|
|
2955
|
+
.parse(JSON.parse(x)),
|
|
2956
|
+
`Failed to parse 'ProviderSetupUpdateAzureApplicationGatewayForContainers3' from JSON`,
|
|
2957
|
+
);
|
|
2958
|
+
}
|
|
2959
|
+
|
|
2960
|
+
/** @internal */
|
|
2961
|
+
export const SetupUpdateProviderGkeGatewayEnum3$inboundSchema: z.ZodEnum<
|
|
2962
|
+
typeof SetupUpdateProviderGkeGatewayEnum3
|
|
2963
|
+
> = z.enum(SetupUpdateProviderGkeGatewayEnum3);
|
|
2964
|
+
|
|
2965
|
+
/** @internal */
|
|
2966
|
+
export const ProviderSetupUpdateGkeGateway3$inboundSchema: z.ZodType<
|
|
2967
|
+
ProviderSetupUpdateGkeGateway3,
|
|
2968
|
+
unknown
|
|
2969
|
+
> = z.object({
|
|
2970
|
+
provider: SetupUpdateProviderGkeGatewayEnum3$inboundSchema,
|
|
2971
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
2972
|
+
});
|
|
2973
|
+
|
|
2974
|
+
export function providerSetupUpdateGkeGateway3FromJSON(
|
|
2975
|
+
jsonString: string,
|
|
2976
|
+
): SafeParseResult<ProviderSetupUpdateGkeGateway3, SDKValidationError> {
|
|
2977
|
+
return safeParse(
|
|
2978
|
+
jsonString,
|
|
2979
|
+
(x) => ProviderSetupUpdateGkeGateway3$inboundSchema.parse(JSON.parse(x)),
|
|
2980
|
+
`Failed to parse 'ProviderSetupUpdateGkeGateway3' from JSON`,
|
|
2981
|
+
);
|
|
2982
|
+
}
|
|
2983
|
+
|
|
2984
|
+
/** @internal */
|
|
2985
|
+
export const SetupUpdateProviderAwsAlbEnum3$inboundSchema: z.ZodEnum<
|
|
2986
|
+
typeof SetupUpdateProviderAwsAlbEnum3
|
|
2987
|
+
> = z.enum(SetupUpdateProviderAwsAlbEnum3);
|
|
2988
|
+
|
|
2989
|
+
/** @internal */
|
|
2990
|
+
export const ProviderSetupUpdateAwsAlb3$inboundSchema: z.ZodType<
|
|
2991
|
+
ProviderSetupUpdateAwsAlb3,
|
|
2992
|
+
unknown
|
|
2993
|
+
> = z.object({
|
|
2994
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
2995
|
+
provider: SetupUpdateProviderAwsAlbEnum3$inboundSchema,
|
|
2996
|
+
scheme: z.string(),
|
|
2997
|
+
subnetIds: z.array(z.string()).optional(),
|
|
2998
|
+
targetType: z.string(),
|
|
2999
|
+
});
|
|
3000
|
+
|
|
3001
|
+
export function providerSetupUpdateAwsAlb3FromJSON(
|
|
3002
|
+
jsonString: string,
|
|
3003
|
+
): SafeParseResult<ProviderSetupUpdateAwsAlb3, SDKValidationError> {
|
|
3004
|
+
return safeParse(
|
|
3005
|
+
jsonString,
|
|
3006
|
+
(x) => ProviderSetupUpdateAwsAlb3$inboundSchema.parse(JSON.parse(x)),
|
|
3007
|
+
`Failed to parse 'ProviderSetupUpdateAwsAlb3' from JSON`,
|
|
3008
|
+
);
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
/** @internal */
|
|
3012
|
+
export const SetupUpdateProviderUnion3$inboundSchema: z.ZodType<
|
|
3013
|
+
SetupUpdateProviderUnion3,
|
|
3014
|
+
unknown
|
|
3015
|
+
> = z.union([
|
|
3016
|
+
z.lazy(() => ProviderSetupUpdateAwsAlb3$inboundSchema),
|
|
3017
|
+
z.lazy(() =>
|
|
3018
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers3$inboundSchema
|
|
3019
|
+
),
|
|
3020
|
+
z.lazy(() => ProviderSetupUpdateGkeGateway3$inboundSchema),
|
|
3021
|
+
z.any(),
|
|
3022
|
+
]);
|
|
3023
|
+
|
|
3024
|
+
export function setupUpdateProviderUnion3FromJSON(
|
|
3025
|
+
jsonString: string,
|
|
3026
|
+
): SafeParseResult<SetupUpdateProviderUnion3, SDKValidationError> {
|
|
3027
|
+
return safeParse(
|
|
3028
|
+
jsonString,
|
|
3029
|
+
(x) => SetupUpdateProviderUnion3$inboundSchema.parse(JSON.parse(x)),
|
|
3030
|
+
`Failed to parse 'SetupUpdateProviderUnion3' from JSON`,
|
|
3031
|
+
);
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
/** @internal */
|
|
3035
|
+
export const DeploymentInfoRouteIngress2$inboundSchema: z.ZodType<
|
|
3036
|
+
DeploymentInfoRouteIngress2,
|
|
3037
|
+
unknown
|
|
3038
|
+
> = z.object({
|
|
3039
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
3040
|
+
controller: z.nullable(z.string()).optional(),
|
|
3041
|
+
ingressClassName: z.string(),
|
|
3042
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
3043
|
+
provider: z.nullable(
|
|
3044
|
+
z.union([
|
|
3045
|
+
z.lazy(() => ProviderSetupUpdateAwsAlb3$inboundSchema),
|
|
3046
|
+
z.lazy(() =>
|
|
3047
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers3$inboundSchema
|
|
3048
|
+
),
|
|
3049
|
+
z.lazy(() => ProviderSetupUpdateGkeGateway3$inboundSchema),
|
|
3050
|
+
z.any(),
|
|
3051
|
+
]),
|
|
3052
|
+
).optional(),
|
|
3053
|
+
routeApi: z.literal("ingress"),
|
|
3054
|
+
});
|
|
3055
|
+
|
|
3056
|
+
export function deploymentInfoRouteIngress2FromJSON(
|
|
3057
|
+
jsonString: string,
|
|
3058
|
+
): SafeParseResult<DeploymentInfoRouteIngress2, SDKValidationError> {
|
|
3059
|
+
return safeParse(
|
|
3060
|
+
jsonString,
|
|
3061
|
+
(x) => DeploymentInfoRouteIngress2$inboundSchema.parse(JSON.parse(x)),
|
|
3062
|
+
`Failed to parse 'DeploymentInfoRouteIngress2' from JSON`,
|
|
3063
|
+
);
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
/** @internal */
|
|
3067
|
+
export const DeploymentInfoRouteUnion2$inboundSchema: z.ZodType<
|
|
3068
|
+
DeploymentInfoRouteUnion2,
|
|
3069
|
+
unknown
|
|
3070
|
+
> = z.union([
|
|
3071
|
+
z.lazy(() => DeploymentInfoRouteIngress2$inboundSchema),
|
|
3072
|
+
z.lazy(() => DeploymentInfoRouteGateway2$inboundSchema),
|
|
3073
|
+
]);
|
|
3074
|
+
|
|
3075
|
+
export function deploymentInfoRouteUnion2FromJSON(
|
|
3076
|
+
jsonString: string,
|
|
3077
|
+
): SafeParseResult<DeploymentInfoRouteUnion2, SDKValidationError> {
|
|
3078
|
+
return safeParse(
|
|
3079
|
+
jsonString,
|
|
3080
|
+
(x) => DeploymentInfoRouteUnion2$inboundSchema.parse(JSON.parse(x)),
|
|
3081
|
+
`Failed to parse 'DeploymentInfoRouteUnion2' from JSON`,
|
|
3082
|
+
);
|
|
3083
|
+
}
|
|
3084
|
+
|
|
3085
|
+
/** @internal */
|
|
3086
|
+
export const DeploymentInfoExposureCustom$inboundSchema: z.ZodType<
|
|
3087
|
+
DeploymentInfoExposureCustom,
|
|
3088
|
+
unknown
|
|
3089
|
+
> = z.object({
|
|
3090
|
+
certificate: z.union([
|
|
3091
|
+
z.lazy(() => DeploymentInfoCertificateTLSSecretRef2$inboundSchema),
|
|
3092
|
+
z.lazy(() => DeploymentInfoCertificateManagedAcmImport2$inboundSchema),
|
|
3093
|
+
z.lazy(() => DeploymentInfoCertificateAwsAcmArn2$inboundSchema),
|
|
3094
|
+
z.lazy(() => DeploymentInfoCertificateManagedTLSSecret2$inboundSchema),
|
|
3095
|
+
z.lazy(() => DeploymentInfoCertificateNone2$inboundSchema),
|
|
3096
|
+
]),
|
|
3097
|
+
domain: z.string(),
|
|
3098
|
+
mode: SetupUpdateModeCustom$inboundSchema,
|
|
3099
|
+
route: z.union([
|
|
3100
|
+
z.lazy(() => DeploymentInfoRouteIngress2$inboundSchema),
|
|
3101
|
+
z.lazy(() => DeploymentInfoRouteGateway2$inboundSchema),
|
|
3102
|
+
]),
|
|
3103
|
+
});
|
|
3104
|
+
|
|
3105
|
+
export function deploymentInfoExposureCustomFromJSON(
|
|
3106
|
+
jsonString: string,
|
|
3107
|
+
): SafeParseResult<DeploymentInfoExposureCustom, SDKValidationError> {
|
|
3108
|
+
return safeParse(
|
|
3109
|
+
jsonString,
|
|
3110
|
+
(x) => DeploymentInfoExposureCustom$inboundSchema.parse(JSON.parse(x)),
|
|
3111
|
+
`Failed to parse 'DeploymentInfoExposureCustom' from JSON`,
|
|
3112
|
+
);
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
/** @internal */
|
|
3116
|
+
export const DeploymentInfoCertificateNone1$inboundSchema: z.ZodType<
|
|
3117
|
+
DeploymentInfoCertificateNone1,
|
|
3118
|
+
unknown
|
|
3119
|
+
> = z.object({
|
|
3120
|
+
mode: z.literal("none"),
|
|
3121
|
+
});
|
|
3122
|
+
|
|
3123
|
+
export function deploymentInfoCertificateNone1FromJSON(
|
|
3124
|
+
jsonString: string,
|
|
3125
|
+
): SafeParseResult<DeploymentInfoCertificateNone1, SDKValidationError> {
|
|
3126
|
+
return safeParse(
|
|
3127
|
+
jsonString,
|
|
3128
|
+
(x) => DeploymentInfoCertificateNone1$inboundSchema.parse(JSON.parse(x)),
|
|
3129
|
+
`Failed to parse 'DeploymentInfoCertificateNone1' from JSON`,
|
|
3130
|
+
);
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
/** @internal */
|
|
3134
|
+
export const DeploymentInfoCertificateManagedTLSSecret1$inboundSchema:
|
|
3135
|
+
z.ZodType<DeploymentInfoCertificateManagedTLSSecret1, unknown> = z.object({
|
|
3136
|
+
mode: z.literal("managedTlsSecret"),
|
|
3137
|
+
secretNameTemplate: z.string(),
|
|
3138
|
+
});
|
|
3139
|
+
|
|
3140
|
+
export function deploymentInfoCertificateManagedTLSSecret1FromJSON(
|
|
3141
|
+
jsonString: string,
|
|
3142
|
+
): SafeParseResult<
|
|
3143
|
+
DeploymentInfoCertificateManagedTLSSecret1,
|
|
3144
|
+
SDKValidationError
|
|
3145
|
+
> {
|
|
3146
|
+
return safeParse(
|
|
3147
|
+
jsonString,
|
|
3148
|
+
(x) =>
|
|
3149
|
+
DeploymentInfoCertificateManagedTLSSecret1$inboundSchema.parse(
|
|
3150
|
+
JSON.parse(x),
|
|
3151
|
+
),
|
|
3152
|
+
`Failed to parse 'DeploymentInfoCertificateManagedTLSSecret1' from JSON`,
|
|
3153
|
+
);
|
|
3154
|
+
}
|
|
3155
|
+
|
|
3156
|
+
/** @internal */
|
|
3157
|
+
export const DeploymentInfoCertificateAwsAcmArn1$inboundSchema: z.ZodType<
|
|
3158
|
+
DeploymentInfoCertificateAwsAcmArn1,
|
|
3159
|
+
unknown
|
|
3160
|
+
> = z.object({
|
|
3161
|
+
certificateArn: z.string(),
|
|
3162
|
+
mode: z.literal("awsAcmArn"),
|
|
3163
|
+
});
|
|
3164
|
+
|
|
3165
|
+
export function deploymentInfoCertificateAwsAcmArn1FromJSON(
|
|
3166
|
+
jsonString: string,
|
|
3167
|
+
): SafeParseResult<DeploymentInfoCertificateAwsAcmArn1, SDKValidationError> {
|
|
3168
|
+
return safeParse(
|
|
3169
|
+
jsonString,
|
|
3170
|
+
(x) =>
|
|
3171
|
+
DeploymentInfoCertificateAwsAcmArn1$inboundSchema.parse(JSON.parse(x)),
|
|
3172
|
+
`Failed to parse 'DeploymentInfoCertificateAwsAcmArn1' from JSON`,
|
|
3173
|
+
);
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
/** @internal */
|
|
3177
|
+
export const DeploymentInfoCertificateManagedAcmImport1$inboundSchema:
|
|
3178
|
+
z.ZodType<DeploymentInfoCertificateManagedAcmImport1, unknown> = z.object({
|
|
3179
|
+
mode: z.literal("managedAcmImport"),
|
|
3180
|
+
region: z.nullable(z.string()).optional(),
|
|
3181
|
+
tags: z.record(z.string(), z.string()).optional(),
|
|
3182
|
+
});
|
|
3183
|
+
|
|
3184
|
+
export function deploymentInfoCertificateManagedAcmImport1FromJSON(
|
|
3185
|
+
jsonString: string,
|
|
3186
|
+
): SafeParseResult<
|
|
3187
|
+
DeploymentInfoCertificateManagedAcmImport1,
|
|
3188
|
+
SDKValidationError
|
|
3189
|
+
> {
|
|
3190
|
+
return safeParse(
|
|
3191
|
+
jsonString,
|
|
3192
|
+
(x) =>
|
|
3193
|
+
DeploymentInfoCertificateManagedAcmImport1$inboundSchema.parse(
|
|
3194
|
+
JSON.parse(x),
|
|
3195
|
+
),
|
|
3196
|
+
`Failed to parse 'DeploymentInfoCertificateManagedAcmImport1' from JSON`,
|
|
3197
|
+
);
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
/** @internal */
|
|
3201
|
+
export const DeploymentInfoCertificateTLSSecretRef1$inboundSchema: z.ZodType<
|
|
3202
|
+
DeploymentInfoCertificateTLSSecretRef1,
|
|
3203
|
+
unknown
|
|
3204
|
+
> = z.object({
|
|
3205
|
+
namespace: z.nullable(z.string()).optional(),
|
|
3206
|
+
secretName: z.string(),
|
|
3207
|
+
mode: z.literal("tlsSecretRef"),
|
|
3208
|
+
});
|
|
3209
|
+
|
|
3210
|
+
export function deploymentInfoCertificateTLSSecretRef1FromJSON(
|
|
3211
|
+
jsonString: string,
|
|
3212
|
+
): SafeParseResult<DeploymentInfoCertificateTLSSecretRef1, SDKValidationError> {
|
|
3213
|
+
return safeParse(
|
|
3214
|
+
jsonString,
|
|
3215
|
+
(x) =>
|
|
3216
|
+
DeploymentInfoCertificateTLSSecretRef1$inboundSchema.parse(JSON.parse(x)),
|
|
3217
|
+
`Failed to parse 'DeploymentInfoCertificateTLSSecretRef1' from JSON`,
|
|
3218
|
+
);
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3221
|
+
/** @internal */
|
|
3222
|
+
export const DeploymentInfoCertificateUnion1$inboundSchema: z.ZodType<
|
|
3223
|
+
DeploymentInfoCertificateUnion1,
|
|
3224
|
+
unknown
|
|
3225
|
+
> = z.union([
|
|
3226
|
+
z.lazy(() => DeploymentInfoCertificateTLSSecretRef1$inboundSchema),
|
|
3227
|
+
z.lazy(() => DeploymentInfoCertificateManagedAcmImport1$inboundSchema),
|
|
3228
|
+
z.lazy(() => DeploymentInfoCertificateAwsAcmArn1$inboundSchema),
|
|
3229
|
+
z.lazy(() => DeploymentInfoCertificateManagedTLSSecret1$inboundSchema),
|
|
3230
|
+
z.lazy(() => DeploymentInfoCertificateNone1$inboundSchema),
|
|
3231
|
+
]);
|
|
3232
|
+
|
|
3233
|
+
export function deploymentInfoCertificateUnion1FromJSON(
|
|
3234
|
+
jsonString: string,
|
|
3235
|
+
): SafeParseResult<DeploymentInfoCertificateUnion1, SDKValidationError> {
|
|
3236
|
+
return safeParse(
|
|
3237
|
+
jsonString,
|
|
3238
|
+
(x) => DeploymentInfoCertificateUnion1$inboundSchema.parse(JSON.parse(x)),
|
|
3239
|
+
`Failed to parse 'DeploymentInfoCertificateUnion1' from JSON`,
|
|
3240
|
+
);
|
|
3241
|
+
}
|
|
3242
|
+
|
|
3243
|
+
/** @internal */
|
|
3244
|
+
export const SetupUpdateModeGenerated$inboundSchema: z.ZodEnum<
|
|
3245
|
+
typeof SetupUpdateModeGenerated
|
|
3246
|
+
> = z.enum(SetupUpdateModeGenerated);
|
|
3247
|
+
|
|
3248
|
+
/** @internal */
|
|
3249
|
+
export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum2$inboundSchema:
|
|
3250
|
+
z.ZodEnum<
|
|
3251
|
+
typeof SetupUpdateProviderAzureApplicationGatewayForContainersEnum2
|
|
3252
|
+
> = z.enum(SetupUpdateProviderAzureApplicationGatewayForContainersEnum2);
|
|
3253
|
+
|
|
3254
|
+
/** @internal */
|
|
3255
|
+
export const ProviderSetupUpdateAzureApplicationGatewayForContainers2$inboundSchema:
|
|
3256
|
+
z.ZodType<ProviderSetupUpdateAzureApplicationGatewayForContainers2, unknown> =
|
|
3257
|
+
z.object({
|
|
3258
|
+
albName: z.nullable(z.string()).optional(),
|
|
3259
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
3260
|
+
frontend: z.string(),
|
|
3261
|
+
provider:
|
|
3262
|
+
SetupUpdateProviderAzureApplicationGatewayForContainersEnum2$inboundSchema,
|
|
3263
|
+
});
|
|
3264
|
+
|
|
3265
|
+
export function providerSetupUpdateAzureApplicationGatewayForContainers2FromJSON(
|
|
3266
|
+
jsonString: string,
|
|
3267
|
+
): SafeParseResult<
|
|
3268
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers2,
|
|
3269
|
+
SDKValidationError
|
|
3270
|
+
> {
|
|
3271
|
+
return safeParse(
|
|
3272
|
+
jsonString,
|
|
3273
|
+
(x) =>
|
|
3274
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers2$inboundSchema
|
|
3275
|
+
.parse(JSON.parse(x)),
|
|
3276
|
+
`Failed to parse 'ProviderSetupUpdateAzureApplicationGatewayForContainers2' from JSON`,
|
|
3277
|
+
);
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
/** @internal */
|
|
3281
|
+
export const SetupUpdateProviderGkeGatewayEnum2$inboundSchema: z.ZodEnum<
|
|
3282
|
+
typeof SetupUpdateProviderGkeGatewayEnum2
|
|
3283
|
+
> = z.enum(SetupUpdateProviderGkeGatewayEnum2);
|
|
3284
|
+
|
|
3285
|
+
/** @internal */
|
|
3286
|
+
export const ProviderSetupUpdateGkeGateway2$inboundSchema: z.ZodType<
|
|
3287
|
+
ProviderSetupUpdateGkeGateway2,
|
|
3288
|
+
unknown
|
|
3289
|
+
> = z.object({
|
|
3290
|
+
provider: SetupUpdateProviderGkeGatewayEnum2$inboundSchema,
|
|
3291
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
3292
|
+
});
|
|
3293
|
+
|
|
3294
|
+
export function providerSetupUpdateGkeGateway2FromJSON(
|
|
3295
|
+
jsonString: string,
|
|
3296
|
+
): SafeParseResult<ProviderSetupUpdateGkeGateway2, SDKValidationError> {
|
|
3297
|
+
return safeParse(
|
|
3298
|
+
jsonString,
|
|
3299
|
+
(x) => ProviderSetupUpdateGkeGateway2$inboundSchema.parse(JSON.parse(x)),
|
|
3300
|
+
`Failed to parse 'ProviderSetupUpdateGkeGateway2' from JSON`,
|
|
3301
|
+
);
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
/** @internal */
|
|
3305
|
+
export const SetupUpdateProviderAwsAlbEnum2$inboundSchema: z.ZodEnum<
|
|
3306
|
+
typeof SetupUpdateProviderAwsAlbEnum2
|
|
3307
|
+
> = z.enum(SetupUpdateProviderAwsAlbEnum2);
|
|
3308
|
+
|
|
3309
|
+
/** @internal */
|
|
3310
|
+
export const ProviderSetupUpdateAwsAlb2$inboundSchema: z.ZodType<
|
|
3311
|
+
ProviderSetupUpdateAwsAlb2,
|
|
3312
|
+
unknown
|
|
3313
|
+
> = z.object({
|
|
3314
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
3315
|
+
provider: SetupUpdateProviderAwsAlbEnum2$inboundSchema,
|
|
3316
|
+
scheme: z.string(),
|
|
3317
|
+
subnetIds: z.array(z.string()).optional(),
|
|
3318
|
+
targetType: z.string(),
|
|
3319
|
+
});
|
|
3320
|
+
|
|
3321
|
+
export function providerSetupUpdateAwsAlb2FromJSON(
|
|
3322
|
+
jsonString: string,
|
|
3323
|
+
): SafeParseResult<ProviderSetupUpdateAwsAlb2, SDKValidationError> {
|
|
3324
|
+
return safeParse(
|
|
3325
|
+
jsonString,
|
|
3326
|
+
(x) => ProviderSetupUpdateAwsAlb2$inboundSchema.parse(JSON.parse(x)),
|
|
3327
|
+
`Failed to parse 'ProviderSetupUpdateAwsAlb2' from JSON`,
|
|
3328
|
+
);
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
/** @internal */
|
|
3332
|
+
export const SetupUpdateProviderUnion2$inboundSchema: z.ZodType<
|
|
3333
|
+
SetupUpdateProviderUnion2,
|
|
3334
|
+
unknown
|
|
3335
|
+
> = z.union([
|
|
3336
|
+
z.lazy(() => ProviderSetupUpdateAwsAlb2$inboundSchema),
|
|
3337
|
+
z.lazy(() =>
|
|
3338
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers2$inboundSchema
|
|
3339
|
+
),
|
|
3340
|
+
z.lazy(() => ProviderSetupUpdateGkeGateway2$inboundSchema),
|
|
3341
|
+
z.any(),
|
|
3342
|
+
]);
|
|
3343
|
+
|
|
3344
|
+
export function setupUpdateProviderUnion2FromJSON(
|
|
3345
|
+
jsonString: string,
|
|
3346
|
+
): SafeParseResult<SetupUpdateProviderUnion2, SDKValidationError> {
|
|
3347
|
+
return safeParse(
|
|
3348
|
+
jsonString,
|
|
3349
|
+
(x) => SetupUpdateProviderUnion2$inboundSchema.parse(JSON.parse(x)),
|
|
3350
|
+
`Failed to parse 'SetupUpdateProviderUnion2' from JSON`,
|
|
3351
|
+
);
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3354
|
+
/** @internal */
|
|
3355
|
+
export const DeploymentInfoRouteGateway1$inboundSchema: z.ZodType<
|
|
3356
|
+
DeploymentInfoRouteGateway1,
|
|
3357
|
+
unknown
|
|
3358
|
+
> = z.object({
|
|
3359
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
3360
|
+
controller: z.nullable(z.string()).optional(),
|
|
3361
|
+
gatewayClassName: z.string(),
|
|
3362
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
3363
|
+
listenerPort: z.int(),
|
|
3364
|
+
provider: z.nullable(
|
|
3365
|
+
z.union([
|
|
3366
|
+
z.lazy(() => ProviderSetupUpdateAwsAlb2$inboundSchema),
|
|
3367
|
+
z.lazy(() =>
|
|
3368
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers2$inboundSchema
|
|
3369
|
+
),
|
|
3370
|
+
z.lazy(() => ProviderSetupUpdateGkeGateway2$inboundSchema),
|
|
3371
|
+
z.any(),
|
|
3372
|
+
]),
|
|
3373
|
+
).optional(),
|
|
3374
|
+
routeApi: z.literal("gateway"),
|
|
3375
|
+
});
|
|
3376
|
+
|
|
3377
|
+
export function deploymentInfoRouteGateway1FromJSON(
|
|
3378
|
+
jsonString: string,
|
|
3379
|
+
): SafeParseResult<DeploymentInfoRouteGateway1, SDKValidationError> {
|
|
3380
|
+
return safeParse(
|
|
3381
|
+
jsonString,
|
|
3382
|
+
(x) => DeploymentInfoRouteGateway1$inboundSchema.parse(JSON.parse(x)),
|
|
3383
|
+
`Failed to parse 'DeploymentInfoRouteGateway1' from JSON`,
|
|
3384
|
+
);
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3387
|
+
/** @internal */
|
|
3388
|
+
export const SetupUpdateProviderAzureApplicationGatewayForContainersEnum1$inboundSchema:
|
|
3389
|
+
z.ZodEnum<
|
|
3390
|
+
typeof SetupUpdateProviderAzureApplicationGatewayForContainersEnum1
|
|
3391
|
+
> = z.enum(SetupUpdateProviderAzureApplicationGatewayForContainersEnum1);
|
|
3392
|
+
|
|
3393
|
+
/** @internal */
|
|
3394
|
+
export const ProviderSetupUpdateAzureApplicationGatewayForContainers1$inboundSchema:
|
|
3395
|
+
z.ZodType<ProviderSetupUpdateAzureApplicationGatewayForContainers1, unknown> =
|
|
3396
|
+
z.object({
|
|
3397
|
+
albName: z.nullable(z.string()).optional(),
|
|
3398
|
+
albNamespace: z.nullable(z.string()).optional(),
|
|
3399
|
+
frontend: z.string(),
|
|
3400
|
+
provider:
|
|
3401
|
+
SetupUpdateProviderAzureApplicationGatewayForContainersEnum1$inboundSchema,
|
|
3402
|
+
});
|
|
3403
|
+
|
|
3404
|
+
export function providerSetupUpdateAzureApplicationGatewayForContainers1FromJSON(
|
|
3405
|
+
jsonString: string,
|
|
3406
|
+
): SafeParseResult<
|
|
3407
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers1,
|
|
3408
|
+
SDKValidationError
|
|
3409
|
+
> {
|
|
3410
|
+
return safeParse(
|
|
3411
|
+
jsonString,
|
|
3412
|
+
(x) =>
|
|
3413
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers1$inboundSchema
|
|
3414
|
+
.parse(JSON.parse(x)),
|
|
3415
|
+
`Failed to parse 'ProviderSetupUpdateAzureApplicationGatewayForContainers1' from JSON`,
|
|
3416
|
+
);
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3419
|
+
/** @internal */
|
|
3420
|
+
export const SetupUpdateProviderGkeGatewayEnum1$inboundSchema: z.ZodEnum<
|
|
3421
|
+
typeof SetupUpdateProviderGkeGatewayEnum1
|
|
3422
|
+
> = z.enum(SetupUpdateProviderGkeGatewayEnum1);
|
|
3423
|
+
|
|
3424
|
+
/** @internal */
|
|
3425
|
+
export const ProviderSetupUpdateGkeGateway1$inboundSchema: z.ZodType<
|
|
3426
|
+
ProviderSetupUpdateGkeGateway1,
|
|
3427
|
+
unknown
|
|
3428
|
+
> = z.object({
|
|
3429
|
+
provider: SetupUpdateProviderGkeGatewayEnum1$inboundSchema,
|
|
3430
|
+
staticAddressName: z.nullable(z.string()).optional(),
|
|
3431
|
+
});
|
|
3432
|
+
|
|
3433
|
+
export function providerSetupUpdateGkeGateway1FromJSON(
|
|
3434
|
+
jsonString: string,
|
|
3435
|
+
): SafeParseResult<ProviderSetupUpdateGkeGateway1, SDKValidationError> {
|
|
3436
|
+
return safeParse(
|
|
3437
|
+
jsonString,
|
|
3438
|
+
(x) => ProviderSetupUpdateGkeGateway1$inboundSchema.parse(JSON.parse(x)),
|
|
3439
|
+
`Failed to parse 'ProviderSetupUpdateGkeGateway1' from JSON`,
|
|
3440
|
+
);
|
|
3441
|
+
}
|
|
3442
|
+
|
|
3443
|
+
/** @internal */
|
|
3444
|
+
export const SetupUpdateProviderAwsAlbEnum1$inboundSchema: z.ZodEnum<
|
|
3445
|
+
typeof SetupUpdateProviderAwsAlbEnum1
|
|
3446
|
+
> = z.enum(SetupUpdateProviderAwsAlbEnum1);
|
|
3447
|
+
|
|
3448
|
+
/** @internal */
|
|
3449
|
+
export const ProviderSetupUpdateAwsAlb1$inboundSchema: z.ZodType<
|
|
3450
|
+
ProviderSetupUpdateAwsAlb1,
|
|
3451
|
+
unknown
|
|
3452
|
+
> = z.object({
|
|
3453
|
+
ipAddressType: z.nullable(z.string()).optional(),
|
|
3454
|
+
provider: SetupUpdateProviderAwsAlbEnum1$inboundSchema,
|
|
3455
|
+
scheme: z.string(),
|
|
3456
|
+
subnetIds: z.array(z.string()).optional(),
|
|
3457
|
+
targetType: z.string(),
|
|
3458
|
+
});
|
|
3459
|
+
|
|
3460
|
+
export function providerSetupUpdateAwsAlb1FromJSON(
|
|
3461
|
+
jsonString: string,
|
|
3462
|
+
): SafeParseResult<ProviderSetupUpdateAwsAlb1, SDKValidationError> {
|
|
3463
|
+
return safeParse(
|
|
3464
|
+
jsonString,
|
|
3465
|
+
(x) => ProviderSetupUpdateAwsAlb1$inboundSchema.parse(JSON.parse(x)),
|
|
3466
|
+
`Failed to parse 'ProviderSetupUpdateAwsAlb1' from JSON`,
|
|
3467
|
+
);
|
|
3468
|
+
}
|
|
3469
|
+
|
|
3470
|
+
/** @internal */
|
|
3471
|
+
export const SetupUpdateProviderUnion1$inboundSchema: z.ZodType<
|
|
3472
|
+
SetupUpdateProviderUnion1,
|
|
3473
|
+
unknown
|
|
3474
|
+
> = z.union([
|
|
3475
|
+
z.lazy(() => ProviderSetupUpdateAwsAlb1$inboundSchema),
|
|
3476
|
+
z.lazy(() =>
|
|
3477
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers1$inboundSchema
|
|
3478
|
+
),
|
|
3479
|
+
z.lazy(() => ProviderSetupUpdateGkeGateway1$inboundSchema),
|
|
3480
|
+
z.any(),
|
|
3481
|
+
]);
|
|
3482
|
+
|
|
3483
|
+
export function setupUpdateProviderUnion1FromJSON(
|
|
3484
|
+
jsonString: string,
|
|
3485
|
+
): SafeParseResult<SetupUpdateProviderUnion1, SDKValidationError> {
|
|
3486
|
+
return safeParse(
|
|
3487
|
+
jsonString,
|
|
3488
|
+
(x) => SetupUpdateProviderUnion1$inboundSchema.parse(JSON.parse(x)),
|
|
3489
|
+
`Failed to parse 'SetupUpdateProviderUnion1' from JSON`,
|
|
3490
|
+
);
|
|
3491
|
+
}
|
|
3492
|
+
|
|
3493
|
+
/** @internal */
|
|
3494
|
+
export const DeploymentInfoRouteIngress1$inboundSchema: z.ZodType<
|
|
3495
|
+
DeploymentInfoRouteIngress1,
|
|
3496
|
+
unknown
|
|
3497
|
+
> = z.object({
|
|
3498
|
+
annotations: z.record(z.string(), z.string()).optional(),
|
|
3499
|
+
controller: z.nullable(z.string()).optional(),
|
|
3500
|
+
ingressClassName: z.string(),
|
|
3501
|
+
labels: z.record(z.string(), z.string()).optional(),
|
|
3502
|
+
provider: z.nullable(
|
|
3503
|
+
z.union([
|
|
3504
|
+
z.lazy(() => ProviderSetupUpdateAwsAlb1$inboundSchema),
|
|
3505
|
+
z.lazy(() =>
|
|
3506
|
+
ProviderSetupUpdateAzureApplicationGatewayForContainers1$inboundSchema
|
|
3507
|
+
),
|
|
3508
|
+
z.lazy(() => ProviderSetupUpdateGkeGateway1$inboundSchema),
|
|
3509
|
+
z.any(),
|
|
3510
|
+
]),
|
|
3511
|
+
).optional(),
|
|
3512
|
+
routeApi: z.literal("ingress"),
|
|
3513
|
+
});
|
|
3514
|
+
|
|
3515
|
+
export function deploymentInfoRouteIngress1FromJSON(
|
|
3516
|
+
jsonString: string,
|
|
3517
|
+
): SafeParseResult<DeploymentInfoRouteIngress1, SDKValidationError> {
|
|
3518
|
+
return safeParse(
|
|
3519
|
+
jsonString,
|
|
3520
|
+
(x) => DeploymentInfoRouteIngress1$inboundSchema.parse(JSON.parse(x)),
|
|
3521
|
+
`Failed to parse 'DeploymentInfoRouteIngress1' from JSON`,
|
|
3522
|
+
);
|
|
3523
|
+
}
|
|
3524
|
+
|
|
3525
|
+
/** @internal */
|
|
3526
|
+
export const DeploymentInfoRouteUnion1$inboundSchema: z.ZodType<
|
|
3527
|
+
DeploymentInfoRouteUnion1,
|
|
3528
|
+
unknown
|
|
3529
|
+
> = z.union([
|
|
3530
|
+
z.lazy(() => DeploymentInfoRouteIngress1$inboundSchema),
|
|
3531
|
+
z.lazy(() => DeploymentInfoRouteGateway1$inboundSchema),
|
|
3532
|
+
]);
|
|
3533
|
+
|
|
3534
|
+
export function deploymentInfoRouteUnion1FromJSON(
|
|
3535
|
+
jsonString: string,
|
|
3536
|
+
): SafeParseResult<DeploymentInfoRouteUnion1, SDKValidationError> {
|
|
3537
|
+
return safeParse(
|
|
3538
|
+
jsonString,
|
|
3539
|
+
(x) => DeploymentInfoRouteUnion1$inboundSchema.parse(JSON.parse(x)),
|
|
3540
|
+
`Failed to parse 'DeploymentInfoRouteUnion1' from JSON`,
|
|
3541
|
+
);
|
|
3542
|
+
}
|
|
3543
|
+
|
|
3544
|
+
/** @internal */
|
|
3545
|
+
export const DeploymentInfoExposureGenerated$inboundSchema: z.ZodType<
|
|
3546
|
+
DeploymentInfoExposureGenerated,
|
|
3547
|
+
unknown
|
|
3548
|
+
> = z.object({
|
|
3549
|
+
certificate: z.union([
|
|
3550
|
+
z.lazy(() => DeploymentInfoCertificateTLSSecretRef1$inboundSchema),
|
|
3551
|
+
z.lazy(() => DeploymentInfoCertificateManagedAcmImport1$inboundSchema),
|
|
3552
|
+
z.lazy(() => DeploymentInfoCertificateAwsAcmArn1$inboundSchema),
|
|
3553
|
+
z.lazy(() => DeploymentInfoCertificateManagedTLSSecret1$inboundSchema),
|
|
3554
|
+
z.lazy(() => DeploymentInfoCertificateNone1$inboundSchema),
|
|
3555
|
+
]),
|
|
3556
|
+
mode: SetupUpdateModeGenerated$inboundSchema,
|
|
3557
|
+
route: z.union([
|
|
3558
|
+
z.lazy(() => DeploymentInfoRouteIngress1$inboundSchema),
|
|
3559
|
+
z.lazy(() => DeploymentInfoRouteGateway1$inboundSchema),
|
|
3560
|
+
]),
|
|
3561
|
+
});
|
|
3562
|
+
|
|
3563
|
+
export function deploymentInfoExposureGeneratedFromJSON(
|
|
3564
|
+
jsonString: string,
|
|
3565
|
+
): SafeParseResult<DeploymentInfoExposureGenerated, SDKValidationError> {
|
|
3566
|
+
return safeParse(
|
|
3567
|
+
jsonString,
|
|
3568
|
+
(x) => DeploymentInfoExposureGenerated$inboundSchema.parse(JSON.parse(x)),
|
|
3569
|
+
`Failed to parse 'DeploymentInfoExposureGenerated' from JSON`,
|
|
3570
|
+
);
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
/** @internal */
|
|
3574
|
+
export const SetupUpdateModeDisabled$inboundSchema: z.ZodEnum<
|
|
3575
|
+
typeof SetupUpdateModeDisabled
|
|
3576
|
+
> = z.enum(SetupUpdateModeDisabled);
|
|
3577
|
+
|
|
3578
|
+
/** @internal */
|
|
3579
|
+
export const DeploymentInfoExposureDisabled$inboundSchema: z.ZodType<
|
|
3580
|
+
DeploymentInfoExposureDisabled,
|
|
3581
|
+
unknown
|
|
3582
|
+
> = z.object({
|
|
3583
|
+
mode: SetupUpdateModeDisabled$inboundSchema,
|
|
3584
|
+
});
|
|
3585
|
+
|
|
3586
|
+
export function deploymentInfoExposureDisabledFromJSON(
|
|
3587
|
+
jsonString: string,
|
|
3588
|
+
): SafeParseResult<DeploymentInfoExposureDisabled, SDKValidationError> {
|
|
3589
|
+
return safeParse(
|
|
3590
|
+
jsonString,
|
|
3591
|
+
(x) => DeploymentInfoExposureDisabled$inboundSchema.parse(JSON.parse(x)),
|
|
3592
|
+
`Failed to parse 'DeploymentInfoExposureDisabled' from JSON`,
|
|
3593
|
+
);
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
/** @internal */
|
|
3597
|
+
export const DeploymentInfoExposureUnion$inboundSchema: z.ZodType<
|
|
3598
|
+
DeploymentInfoExposureUnion,
|
|
3599
|
+
unknown
|
|
3600
|
+
> = z.union([
|
|
3601
|
+
z.lazy(() => DeploymentInfoExposureCustom$inboundSchema),
|
|
3602
|
+
z.lazy(() => DeploymentInfoExposureGenerated$inboundSchema),
|
|
3603
|
+
z.lazy(() => DeploymentInfoExposureDisabled$inboundSchema),
|
|
3604
|
+
z.any(),
|
|
3605
|
+
]);
|
|
3606
|
+
|
|
3607
|
+
export function deploymentInfoExposureUnionFromJSON(
|
|
3608
|
+
jsonString: string,
|
|
3609
|
+
): SafeParseResult<DeploymentInfoExposureUnion, SDKValidationError> {
|
|
3610
|
+
return safeParse(
|
|
3611
|
+
jsonString,
|
|
3612
|
+
(x) => DeploymentInfoExposureUnion$inboundSchema.parse(JSON.parse(x)),
|
|
3613
|
+
`Failed to parse 'DeploymentInfoExposureUnion' from JSON`,
|
|
3614
|
+
);
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3617
|
+
/** @internal */
|
|
3618
|
+
export const DeploymentInfoKubernetes$inboundSchema: z.ZodType<
|
|
3619
|
+
DeploymentInfoKubernetes,
|
|
3620
|
+
unknown
|
|
3621
|
+
> = z.object({
|
|
3622
|
+
cluster: z.nullable(
|
|
3623
|
+
z.union([z.lazy(() => DeploymentInfoCluster$inboundSchema), z.any()]),
|
|
3624
|
+
).optional(),
|
|
3625
|
+
exposure: z.nullable(
|
|
3626
|
+
z.union([
|
|
3627
|
+
z.lazy(() => DeploymentInfoExposureCustom$inboundSchema),
|
|
3628
|
+
z.lazy(() => DeploymentInfoExposureGenerated$inboundSchema),
|
|
3629
|
+
z.lazy(() => DeploymentInfoExposureDisabled$inboundSchema),
|
|
3630
|
+
z.any(),
|
|
3631
|
+
]),
|
|
3632
|
+
).optional(),
|
|
3633
|
+
});
|
|
3634
|
+
|
|
3635
|
+
export function deploymentInfoKubernetesFromJSON(
|
|
3636
|
+
jsonString: string,
|
|
3637
|
+
): SafeParseResult<DeploymentInfoKubernetes, SDKValidationError> {
|
|
3638
|
+
return safeParse(
|
|
3639
|
+
jsonString,
|
|
3640
|
+
(x) => DeploymentInfoKubernetes$inboundSchema.parse(JSON.parse(x)),
|
|
3641
|
+
`Failed to parse 'DeploymentInfoKubernetes' from JSON`,
|
|
3642
|
+
);
|
|
3643
|
+
}
|
|
3644
|
+
|
|
3645
|
+
/** @internal */
|
|
3646
|
+
export const DeploymentInfoKubernetesUnion$inboundSchema: z.ZodType<
|
|
3647
|
+
DeploymentInfoKubernetesUnion,
|
|
3648
|
+
unknown
|
|
3649
|
+
> = z.union([z.lazy(() => DeploymentInfoKubernetes$inboundSchema), z.any()]);
|
|
3650
|
+
|
|
3651
|
+
export function deploymentInfoKubernetesUnionFromJSON(
|
|
3652
|
+
jsonString: string,
|
|
3653
|
+
): SafeParseResult<DeploymentInfoKubernetesUnion, SDKValidationError> {
|
|
3654
|
+
return safeParse(
|
|
3655
|
+
jsonString,
|
|
3656
|
+
(x) => DeploymentInfoKubernetesUnion$inboundSchema.parse(JSON.parse(x)),
|
|
3657
|
+
`Failed to parse 'DeploymentInfoKubernetesUnion' from JSON`,
|
|
3658
|
+
);
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
/** @internal */
|
|
3662
|
+
export const DeploymentInfoTypeByoVnetAzure$inboundSchema: z.ZodEnum<
|
|
3663
|
+
typeof DeploymentInfoTypeByoVnetAzure
|
|
3664
|
+
> = z.enum(DeploymentInfoTypeByoVnetAzure);
|
|
3665
|
+
|
|
3666
|
+
/** @internal */
|
|
3667
|
+
export const DeploymentInfoNetworkByoVnetAzure$inboundSchema: z.ZodType<
|
|
3668
|
+
DeploymentInfoNetworkByoVnetAzure,
|
|
3669
|
+
unknown
|
|
3670
|
+
> = z.object({
|
|
3671
|
+
application_gateway_subnet_name: z.nullable(z.string()).optional(),
|
|
3672
|
+
private_endpoint_subnet_name: z.nullable(z.string()).optional(),
|
|
3673
|
+
private_subnet_name: z.string(),
|
|
3674
|
+
public_subnet_name: z.string(),
|
|
3675
|
+
type: DeploymentInfoTypeByoVnetAzure$inboundSchema,
|
|
3676
|
+
vnet_resource_id: z.string(),
|
|
3677
|
+
}).transform((v) => {
|
|
3678
|
+
return remap$(v, {
|
|
3679
|
+
"application_gateway_subnet_name": "applicationGatewaySubnetName",
|
|
3680
|
+
"private_endpoint_subnet_name": "privateEndpointSubnetName",
|
|
3681
|
+
"private_subnet_name": "privateSubnetName",
|
|
3682
|
+
"public_subnet_name": "publicSubnetName",
|
|
3683
|
+
"vnet_resource_id": "vnetResourceId",
|
|
3684
|
+
});
|
|
3685
|
+
});
|
|
3686
|
+
|
|
3687
|
+
export function deploymentInfoNetworkByoVnetAzureFromJSON(
|
|
3688
|
+
jsonString: string,
|
|
3689
|
+
): SafeParseResult<DeploymentInfoNetworkByoVnetAzure, SDKValidationError> {
|
|
3690
|
+
return safeParse(
|
|
3691
|
+
jsonString,
|
|
3692
|
+
(x) => DeploymentInfoNetworkByoVnetAzure$inboundSchema.parse(JSON.parse(x)),
|
|
3693
|
+
`Failed to parse 'DeploymentInfoNetworkByoVnetAzure' from JSON`,
|
|
3694
|
+
);
|
|
3695
|
+
}
|
|
3696
|
+
|
|
3697
|
+
/** @internal */
|
|
3698
|
+
export const DeploymentInfoTypeByoVpcGcp$inboundSchema: z.ZodEnum<
|
|
3699
|
+
typeof DeploymentInfoTypeByoVpcGcp
|
|
3700
|
+
> = z.enum(DeploymentInfoTypeByoVpcGcp);
|
|
3701
|
+
|
|
3702
|
+
/** @internal */
|
|
3703
|
+
export const DeploymentInfoNetworkByoVpcGcp$inboundSchema: z.ZodType<
|
|
3704
|
+
DeploymentInfoNetworkByoVpcGcp,
|
|
3705
|
+
unknown
|
|
3706
|
+
> = z.object({
|
|
3707
|
+
network_name: z.string(),
|
|
3708
|
+
region: z.string(),
|
|
3709
|
+
subnet_name: z.string(),
|
|
3710
|
+
type: DeploymentInfoTypeByoVpcGcp$inboundSchema,
|
|
3711
|
+
}).transform((v) => {
|
|
3712
|
+
return remap$(v, {
|
|
3713
|
+
"network_name": "networkName",
|
|
3714
|
+
"subnet_name": "subnetName",
|
|
3715
|
+
});
|
|
3716
|
+
});
|
|
3717
|
+
|
|
3718
|
+
export function deploymentInfoNetworkByoVpcGcpFromJSON(
|
|
3719
|
+
jsonString: string,
|
|
3720
|
+
): SafeParseResult<DeploymentInfoNetworkByoVpcGcp, SDKValidationError> {
|
|
3721
|
+
return safeParse(
|
|
3722
|
+
jsonString,
|
|
3723
|
+
(x) => DeploymentInfoNetworkByoVpcGcp$inboundSchema.parse(JSON.parse(x)),
|
|
3724
|
+
`Failed to parse 'DeploymentInfoNetworkByoVpcGcp' from JSON`,
|
|
3725
|
+
);
|
|
3726
|
+
}
|
|
3727
|
+
|
|
3728
|
+
/** @internal */
|
|
3729
|
+
export const DeploymentInfoTypeByoVpcAws$inboundSchema: z.ZodEnum<
|
|
3730
|
+
typeof DeploymentInfoTypeByoVpcAws
|
|
3731
|
+
> = z.enum(DeploymentInfoTypeByoVpcAws);
|
|
3732
|
+
|
|
3733
|
+
/** @internal */
|
|
3734
|
+
export const DeploymentInfoNetworkByoVpcAws$inboundSchema: z.ZodType<
|
|
3735
|
+
DeploymentInfoNetworkByoVpcAws,
|
|
3736
|
+
unknown
|
|
3737
|
+
> = z.object({
|
|
3738
|
+
private_subnet_ids: z.array(z.string()),
|
|
3739
|
+
public_subnet_ids: z.array(z.string()),
|
|
3740
|
+
security_group_ids: z.array(z.string()).optional(),
|
|
3741
|
+
type: DeploymentInfoTypeByoVpcAws$inboundSchema,
|
|
3742
|
+
vpc_id: z.string(),
|
|
3743
|
+
}).transform((v) => {
|
|
3744
|
+
return remap$(v, {
|
|
3745
|
+
"private_subnet_ids": "privateSubnetIds",
|
|
3746
|
+
"public_subnet_ids": "publicSubnetIds",
|
|
3747
|
+
"security_group_ids": "securityGroupIds",
|
|
3748
|
+
"vpc_id": "vpcId",
|
|
3749
|
+
});
|
|
3750
|
+
});
|
|
3751
|
+
|
|
3752
|
+
export function deploymentInfoNetworkByoVpcAwsFromJSON(
|
|
3753
|
+
jsonString: string,
|
|
3754
|
+
): SafeParseResult<DeploymentInfoNetworkByoVpcAws, SDKValidationError> {
|
|
3755
|
+
return safeParse(
|
|
3756
|
+
jsonString,
|
|
3757
|
+
(x) => DeploymentInfoNetworkByoVpcAws$inboundSchema.parse(JSON.parse(x)),
|
|
3758
|
+
`Failed to parse 'DeploymentInfoNetworkByoVpcAws' from JSON`,
|
|
3759
|
+
);
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3762
|
+
/** @internal */
|
|
3763
|
+
export const DeploymentInfoTypeCreate$inboundSchema: z.ZodEnum<
|
|
3764
|
+
typeof DeploymentInfoTypeCreate
|
|
3765
|
+
> = z.enum(DeploymentInfoTypeCreate);
|
|
3766
|
+
|
|
3767
|
+
/** @internal */
|
|
3768
|
+
export const DeploymentInfoNetworkCreate$inboundSchema: z.ZodType<
|
|
3769
|
+
DeploymentInfoNetworkCreate,
|
|
3770
|
+
unknown
|
|
3771
|
+
> = z.object({
|
|
3772
|
+
availability_zones: z.int().optional(),
|
|
3773
|
+
cidr: z.nullable(z.string()).optional(),
|
|
3774
|
+
type: DeploymentInfoTypeCreate$inboundSchema,
|
|
3775
|
+
}).transform((v) => {
|
|
3776
|
+
return remap$(v, {
|
|
3777
|
+
"availability_zones": "availabilityZones",
|
|
3778
|
+
});
|
|
3779
|
+
});
|
|
3780
|
+
|
|
3781
|
+
export function deploymentInfoNetworkCreateFromJSON(
|
|
3782
|
+
jsonString: string,
|
|
3783
|
+
): SafeParseResult<DeploymentInfoNetworkCreate, SDKValidationError> {
|
|
3784
|
+
return safeParse(
|
|
3785
|
+
jsonString,
|
|
3786
|
+
(x) => DeploymentInfoNetworkCreate$inboundSchema.parse(JSON.parse(x)),
|
|
3787
|
+
`Failed to parse 'DeploymentInfoNetworkCreate' from JSON`,
|
|
3788
|
+
);
|
|
3789
|
+
}
|
|
3790
|
+
|
|
3791
|
+
/** @internal */
|
|
3792
|
+
export const DeploymentInfoTypeUseDefault$inboundSchema: z.ZodEnum<
|
|
3793
|
+
typeof DeploymentInfoTypeUseDefault
|
|
3794
|
+
> = z.enum(DeploymentInfoTypeUseDefault);
|
|
3795
|
+
|
|
3796
|
+
/** @internal */
|
|
3797
|
+
export const DeploymentInfoNetworkUseDefault$inboundSchema: z.ZodType<
|
|
3798
|
+
DeploymentInfoNetworkUseDefault,
|
|
3799
|
+
unknown
|
|
3800
|
+
> = z.object({
|
|
3801
|
+
type: DeploymentInfoTypeUseDefault$inboundSchema,
|
|
3802
|
+
});
|
|
3803
|
+
|
|
3804
|
+
export function deploymentInfoNetworkUseDefaultFromJSON(
|
|
3805
|
+
jsonString: string,
|
|
3806
|
+
): SafeParseResult<DeploymentInfoNetworkUseDefault, SDKValidationError> {
|
|
3807
|
+
return safeParse(
|
|
3808
|
+
jsonString,
|
|
3809
|
+
(x) => DeploymentInfoNetworkUseDefault$inboundSchema.parse(JSON.parse(x)),
|
|
3810
|
+
`Failed to parse 'DeploymentInfoNetworkUseDefault' from JSON`,
|
|
3811
|
+
);
|
|
3812
|
+
}
|
|
3813
|
+
|
|
3814
|
+
/** @internal */
|
|
3815
|
+
export const DeploymentInfoNetworkUnion$inboundSchema: z.ZodType<
|
|
3816
|
+
DeploymentInfoNetworkUnion,
|
|
3817
|
+
unknown
|
|
3818
|
+
> = z.union([
|
|
3819
|
+
z.lazy(() => DeploymentInfoNetworkByoVpcAws$inboundSchema),
|
|
3820
|
+
z.lazy(() => DeploymentInfoNetworkByoVpcGcp$inboundSchema),
|
|
3821
|
+
z.lazy(() => DeploymentInfoNetworkByoVnetAzure$inboundSchema),
|
|
3822
|
+
z.lazy(() => DeploymentInfoNetworkUseDefault$inboundSchema),
|
|
3823
|
+
z.lazy(() => DeploymentInfoNetworkCreate$inboundSchema),
|
|
3824
|
+
z.any(),
|
|
3825
|
+
]);
|
|
3826
|
+
|
|
3827
|
+
export function deploymentInfoNetworkUnionFromJSON(
|
|
3828
|
+
jsonString: string,
|
|
3829
|
+
): SafeParseResult<DeploymentInfoNetworkUnion, SDKValidationError> {
|
|
3830
|
+
return safeParse(
|
|
3831
|
+
jsonString,
|
|
3832
|
+
(x) => DeploymentInfoNetworkUnion$inboundSchema.parse(JSON.parse(x)),
|
|
3833
|
+
`Failed to parse 'DeploymentInfoNetworkUnion' from JSON`,
|
|
3834
|
+
);
|
|
3835
|
+
}
|
|
3836
|
+
|
|
3837
|
+
/** @internal */
|
|
3838
|
+
export const DeploymentInfoTelemetry$inboundSchema: z.ZodEnum<
|
|
3839
|
+
typeof DeploymentInfoTelemetry
|
|
3840
|
+
> = z.enum(DeploymentInfoTelemetry);
|
|
3841
|
+
|
|
3842
|
+
/** @internal */
|
|
3843
|
+
export const DeploymentInfoUpdates$inboundSchema: z.ZodEnum<
|
|
3844
|
+
typeof DeploymentInfoUpdates
|
|
3845
|
+
> = z.enum(DeploymentInfoUpdates);
|
|
3846
|
+
|
|
3847
|
+
/** @internal */
|
|
3848
|
+
export const DeploymentInfoStackSettings$inboundSchema: z.ZodType<
|
|
3849
|
+
DeploymentInfoStackSettings,
|
|
3850
|
+
unknown
|
|
3851
|
+
> = z.object({
|
|
3852
|
+
compute: z.nullable(
|
|
3853
|
+
z.union([z.lazy(() => DeploymentInfoCompute$inboundSchema), z.any()]),
|
|
3854
|
+
).optional(),
|
|
3855
|
+
deploymentModel: DeploymentInfoDeploymentModel$inboundSchema.optional(),
|
|
3856
|
+
domains: z.nullable(
|
|
3857
|
+
z.union([z.lazy(() => DeploymentInfoDomains$inboundSchema), z.any()]),
|
|
3858
|
+
).optional(),
|
|
3859
|
+
externalBindings: z.nullable(
|
|
3860
|
+
z.lazy(() => DeploymentInfoExternalBindings$inboundSchema),
|
|
3861
|
+
).optional(),
|
|
3862
|
+
heartbeats: DeploymentInfoHeartbeats$inboundSchema.optional(),
|
|
3863
|
+
kubernetes: z.nullable(
|
|
3864
|
+
z.union([z.lazy(() => DeploymentInfoKubernetes$inboundSchema), z.any()]),
|
|
3865
|
+
).optional(),
|
|
3866
|
+
network: z.nullable(
|
|
3867
|
+
z.union([
|
|
3868
|
+
z.lazy(() => DeploymentInfoNetworkByoVpcAws$inboundSchema),
|
|
3869
|
+
z.lazy(() => DeploymentInfoNetworkByoVpcGcp$inboundSchema),
|
|
3870
|
+
z.lazy(() => DeploymentInfoNetworkByoVnetAzure$inboundSchema),
|
|
3871
|
+
z.lazy(() => DeploymentInfoNetworkUseDefault$inboundSchema),
|
|
3872
|
+
z.lazy(() => DeploymentInfoNetworkCreate$inboundSchema),
|
|
3873
|
+
z.any(),
|
|
3874
|
+
]),
|
|
3875
|
+
).optional(),
|
|
3876
|
+
publicEndpoints: z.nullable(
|
|
3877
|
+
z.record(z.string(), z.record(z.string(), z.string())),
|
|
3878
|
+
).optional(),
|
|
3879
|
+
telemetry: DeploymentInfoTelemetry$inboundSchema.optional(),
|
|
3880
|
+
updates: DeploymentInfoUpdates$inboundSchema.optional(),
|
|
3881
|
+
});
|
|
3882
|
+
|
|
3883
|
+
export function deploymentInfoStackSettingsFromJSON(
|
|
3884
|
+
jsonString: string,
|
|
3885
|
+
): SafeParseResult<DeploymentInfoStackSettings, SDKValidationError> {
|
|
3886
|
+
return safeParse(
|
|
3887
|
+
jsonString,
|
|
3888
|
+
(x) => DeploymentInfoStackSettings$inboundSchema.parse(JSON.parse(x)),
|
|
3889
|
+
`Failed to parse 'DeploymentInfoStackSettings' from JSON`,
|
|
3890
|
+
);
|
|
3891
|
+
}
|
|
3892
|
+
|
|
3893
|
+
/** @internal */
|
|
3894
|
+
export const SetupUpdate$inboundSchema: z.ZodType<SetupUpdate, unknown> = z
|
|
3895
|
+
.object({
|
|
3896
|
+
deploymentId: z.string(),
|
|
3897
|
+
updateOperationId: z.string(),
|
|
3898
|
+
releaseId: z.string(),
|
|
3899
|
+
name: z.string(),
|
|
3900
|
+
platform: SetupUpdatePlatform$inboundSchema,
|
|
3901
|
+
setupMethod: z.nullable(DeploymentInfoSetupMethod$inboundSchema),
|
|
3902
|
+
setupMetadata: z.nullable(z.record(z.string(), z.nullable(z.any()))),
|
|
3903
|
+
setupTarget: z.nullable(z.string()),
|
|
3904
|
+
resourcePrefix: z.nullable(z.string()),
|
|
3905
|
+
stackSettings: z.lazy(() => DeploymentInfoStackSettings$inboundSchema),
|
|
3906
|
+
});
|
|
3907
|
+
|
|
3908
|
+
export function setupUpdateFromJSON(
|
|
3909
|
+
jsonString: string,
|
|
3910
|
+
): SafeParseResult<SetupUpdate, SDKValidationError> {
|
|
3911
|
+
return safeParse(
|
|
3912
|
+
jsonString,
|
|
3913
|
+
(x) => SetupUpdate$inboundSchema.parse(JSON.parse(x)),
|
|
3914
|
+
`Failed to parse 'SetupUpdate' from JSON`,
|
|
3915
|
+
);
|
|
3916
|
+
}
|
|
3917
|
+
|
|
773
3918
|
/** @internal */
|
|
774
3919
|
export const DeploymentInfoTokenType$inboundSchema: z.ZodEnum<
|
|
775
3920
|
typeof DeploymentInfoTokenType
|
|
@@ -1119,9 +4264,9 @@ export function cloudformationOutputsFromJSON(
|
|
|
1119
4264
|
}
|
|
1120
4265
|
|
|
1121
4266
|
/** @internal */
|
|
1122
|
-
export const
|
|
1123
|
-
typeof
|
|
1124
|
-
> = z.enum(
|
|
4267
|
+
export const CloudformationMode$inboundSchema: z.ZodEnum<
|
|
4268
|
+
typeof CloudformationMode
|
|
4269
|
+
> = z.enum(CloudformationMode);
|
|
1125
4270
|
|
|
1126
4271
|
/** @internal */
|
|
1127
4272
|
export const DeploymentInfoCloudformation$inboundSchema: z.ZodType<
|
|
@@ -1132,7 +4277,7 @@ export const DeploymentInfoCloudformation$inboundSchema: z.ZodType<
|
|
|
1132
4277
|
version: z.string().optional(),
|
|
1133
4278
|
outputs: z.lazy(() => CloudformationOutputs$inboundSchema).optional(),
|
|
1134
4279
|
error: z.nullable(z.any()).optional(),
|
|
1135
|
-
mode:
|
|
4280
|
+
mode: CloudformationMode$inboundSchema,
|
|
1136
4281
|
launchUrl: z.string(),
|
|
1137
4282
|
outputsSchema: z.nullable(z.any()).optional(),
|
|
1138
4283
|
});
|
|
@@ -1218,8 +4363,8 @@ export function deploymentInfoPlatformsFromJSON(
|
|
|
1218
4363
|
}
|
|
1219
4364
|
|
|
1220
4365
|
/** @internal */
|
|
1221
|
-
export const
|
|
1222
|
-
|
|
4366
|
+
export const TerraformProvider$inboundSchema: z.ZodType<
|
|
4367
|
+
TerraformProvider,
|
|
1223
4368
|
unknown
|
|
1224
4369
|
> = z.object({
|
|
1225
4370
|
gpgPublicKey: z.lazy(() => DeploymentInfoGpgPublicKey$inboundSchema),
|
|
@@ -1230,13 +4375,13 @@ export const DeploymentInfoProvider$inboundSchema: z.ZodType<
|
|
|
1230
4375
|
source: z.string(),
|
|
1231
4376
|
});
|
|
1232
4377
|
|
|
1233
|
-
export function
|
|
4378
|
+
export function terraformProviderFromJSON(
|
|
1234
4379
|
jsonString: string,
|
|
1235
|
-
): SafeParseResult<
|
|
4380
|
+
): SafeParseResult<TerraformProvider, SDKValidationError> {
|
|
1236
4381
|
return safeParse(
|
|
1237
4382
|
jsonString,
|
|
1238
|
-
(x) =>
|
|
1239
|
-
`Failed to parse '
|
|
4383
|
+
(x) => TerraformProvider$inboundSchema.parse(JSON.parse(x)),
|
|
4384
|
+
`Failed to parse 'TerraformProvider' from JSON`,
|
|
1240
4385
|
);
|
|
1241
4386
|
}
|
|
1242
4387
|
|
|
@@ -1249,7 +4394,7 @@ export const TerraformOutputs$inboundSchema: z.ZodType<
|
|
|
1249
4394
|
z.string(),
|
|
1250
4395
|
z.lazy(() => DeploymentInfoModules$inboundSchema),
|
|
1251
4396
|
),
|
|
1252
|
-
provider: z.lazy(() =>
|
|
4397
|
+
provider: z.lazy(() => TerraformProvider$inboundSchema),
|
|
1253
4398
|
});
|
|
1254
4399
|
|
|
1255
4400
|
export function terraformOutputsFromJSON(
|
|
@@ -1607,6 +4752,7 @@ export function readinessFromJSON(
|
|
|
1607
4752
|
/** @internal */
|
|
1608
4753
|
export const DeploymentInfo$inboundSchema: z.ZodType<DeploymentInfo, unknown> =
|
|
1609
4754
|
z.object({
|
|
4755
|
+
setupUpdate: z.lazy(() => SetupUpdate$inboundSchema).optional(),
|
|
1610
4756
|
tokenType: DeploymentInfoTokenType$inboundSchema,
|
|
1611
4757
|
deployment: z.lazy(() => DeploymentInfoDeployment$inboundSchema).optional(),
|
|
1612
4758
|
deploymentGroup: z.lazy(() => DeploymentInfoDeploymentGroup$inboundSchema)
|