@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
|
@@ -35,24 +35,106 @@ export type PlanDeploymentComputePlatform = ClosedEnum<
|
|
|
35
35
|
typeof PlanDeploymentComputePlatform
|
|
36
36
|
>;
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Failure-domain policy selected for a compute pool.
|
|
40
|
+
*/
|
|
41
|
+
export type PlanDeploymentComputeFailureDomains2 = {
|
|
42
|
+
/**
|
|
43
|
+
* Concrete provider domains selected during setup.
|
|
44
|
+
*
|
|
45
|
+
* @remarks
|
|
46
|
+
* Empty delegates deterministic selection to the provider setup implementation.
|
|
47
|
+
*/
|
|
48
|
+
selectedFailureDomains?: Array<string> | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Number of distinct failure domains across which new stateful replicas may be spread.
|
|
51
|
+
*/
|
|
52
|
+
spread: number;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export type PlanDeploymentComputeFailureDomainsUnion2 =
|
|
56
|
+
| PlanDeploymentComputeFailureDomains2
|
|
57
|
+
| any;
|
|
58
|
+
|
|
38
59
|
export type PlanDeploymentComputePoolsAutoscale = {
|
|
39
|
-
|
|
40
|
-
|
|
60
|
+
failureDomains?:
|
|
61
|
+
| PlanDeploymentComputeFailureDomains2
|
|
62
|
+
| any
|
|
63
|
+
| null
|
|
64
|
+
| undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Provider machine type selected for this deployment.
|
|
67
|
+
*/
|
|
68
|
+
machine?: string | null | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Maximum machine count.
|
|
71
|
+
*/
|
|
41
72
|
max: number;
|
|
42
|
-
|
|
73
|
+
/**
|
|
74
|
+
* Minimum machine count.
|
|
75
|
+
*/
|
|
76
|
+
min: number;
|
|
77
|
+
mode: "autoscale";
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Failure-domain policy selected for a compute pool.
|
|
82
|
+
*/
|
|
83
|
+
export type PlanDeploymentComputeFailureDomains1 = {
|
|
84
|
+
/**
|
|
85
|
+
* Concrete provider domains selected during setup.
|
|
86
|
+
*
|
|
87
|
+
* @remarks
|
|
88
|
+
* Empty delegates deterministic selection to the provider setup implementation.
|
|
89
|
+
*/
|
|
90
|
+
selectedFailureDomains?: Array<string> | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Number of distinct failure domains across which new stateful replicas may be spread.
|
|
93
|
+
*/
|
|
94
|
+
spread: number;
|
|
43
95
|
};
|
|
44
96
|
|
|
97
|
+
export type PlanDeploymentComputeFailureDomainsUnion1 =
|
|
98
|
+
| PlanDeploymentComputeFailureDomains1
|
|
99
|
+
| any;
|
|
100
|
+
|
|
45
101
|
export type PlanDeploymentComputePoolsFixed = {
|
|
46
|
-
|
|
102
|
+
failureDomains?:
|
|
103
|
+
| PlanDeploymentComputeFailureDomains1
|
|
104
|
+
| any
|
|
105
|
+
| null
|
|
106
|
+
| undefined;
|
|
107
|
+
/**
|
|
108
|
+
* Provider machine type selected for this deployment.
|
|
109
|
+
*/
|
|
110
|
+
machine?: string | null | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* Number of machines to run.
|
|
113
|
+
*/
|
|
47
114
|
machines: number;
|
|
48
|
-
|
|
115
|
+
mode: "fixed";
|
|
49
116
|
};
|
|
50
117
|
|
|
118
|
+
/**
|
|
119
|
+
* User-selected deployment settings for one compute pool.
|
|
120
|
+
*/
|
|
51
121
|
export type PlanDeploymentComputePoolsUnion =
|
|
52
122
|
| PlanDeploymentComputePoolsFixed
|
|
53
123
|
| PlanDeploymentComputePoolsAutoscale;
|
|
54
124
|
|
|
125
|
+
/**
|
|
126
|
+
* Deployment-time compute choices for Alien-managed compute pools.
|
|
127
|
+
*
|
|
128
|
+
* @remarks
|
|
129
|
+
*
|
|
130
|
+
* Application source declares portable pool requirements. This settings
|
|
131
|
+
* object stores the concrete choices made for one deployment, such as the
|
|
132
|
+
* provider machine type and selected machine counts.
|
|
133
|
+
*/
|
|
55
134
|
export type PlanDeploymentComputeCompute = {
|
|
135
|
+
/**
|
|
136
|
+
* Selected compute choices keyed by pool ID.
|
|
137
|
+
*/
|
|
56
138
|
pools?: {
|
|
57
139
|
[k: string]:
|
|
58
140
|
| PlanDeploymentComputePoolsFixed
|
|
@@ -60,6 +142,10 @@ export type PlanDeploymentComputeCompute = {
|
|
|
60
142
|
} | undefined;
|
|
61
143
|
};
|
|
62
144
|
|
|
145
|
+
export type PlanDeploymentComputeComputeUnion =
|
|
146
|
+
| PlanDeploymentComputeCompute
|
|
147
|
+
| any;
|
|
148
|
+
|
|
63
149
|
/**
|
|
64
150
|
* Deployment model: how updates are delivered to the remote environment.
|
|
65
151
|
*/
|
|
@@ -932,22 +1018,6 @@ export type PlanDeploymentComputeKubernetesUnion =
|
|
|
932
1018
|
| PlanDeploymentComputeKubernetes
|
|
933
1019
|
| any;
|
|
934
1020
|
|
|
935
|
-
/**
|
|
936
|
-
* Application log handling for a deployment.
|
|
937
|
-
*/
|
|
938
|
-
export type PlanDeploymentComputeLogs = {
|
|
939
|
-
/**
|
|
940
|
-
* Normalize severity fields from supported structured application logs into
|
|
941
|
-
*
|
|
942
|
-
* @remarks
|
|
943
|
-
* the OTLP severity fields. The original log body is preserved. Disabled by
|
|
944
|
-
* default.
|
|
945
|
-
*/
|
|
946
|
-
parseApplicationLevels?: boolean | undefined;
|
|
947
|
-
};
|
|
948
|
-
|
|
949
|
-
export type PlanDeploymentComputeLogsUnion = PlanDeploymentComputeLogs | any;
|
|
950
|
-
|
|
951
1021
|
export const PlanDeploymentComputeTypeByoVnetAzure = {
|
|
952
1022
|
ByoVnetAzure: "byo-vnet-azure",
|
|
953
1023
|
} as const;
|
|
@@ -1105,8 +1175,20 @@ export type PlanDeploymentComputeUpdates = ClosedEnum<
|
|
|
1105
1175
|
typeof PlanDeploymentComputeUpdates
|
|
1106
1176
|
>;
|
|
1107
1177
|
|
|
1178
|
+
/**
|
|
1179
|
+
* User-customizable deployment settings specified at deploy time.
|
|
1180
|
+
*
|
|
1181
|
+
* @remarks
|
|
1182
|
+
*
|
|
1183
|
+
* These settings are provided by the customer via CloudFormation parameters,
|
|
1184
|
+
* Terraform attributes, CLI flags, or Helm values. They customize how the
|
|
1185
|
+
* deployment runs and what capabilities are enabled.
|
|
1186
|
+
*
|
|
1187
|
+
* **Key distinction**: StackSettings is user-customizable, while ManagementConfig
|
|
1188
|
+
* is platform-derived (from the Manager's ServiceAccount).
|
|
1189
|
+
*/
|
|
1108
1190
|
export type PlanDeploymentComputeStackSettings = {
|
|
1109
|
-
compute?: PlanDeploymentComputeCompute | undefined;
|
|
1191
|
+
compute?: PlanDeploymentComputeCompute | any | null | undefined;
|
|
1110
1192
|
/**
|
|
1111
1193
|
* Deployment model: how updates are delivered to the remote environment.
|
|
1112
1194
|
*/
|
|
@@ -1126,7 +1208,6 @@ export type PlanDeploymentComputeStackSettings = {
|
|
|
1126
1208
|
*/
|
|
1127
1209
|
heartbeats?: PlanDeploymentComputeHeartbeats | undefined;
|
|
1128
1210
|
kubernetes?: PlanDeploymentComputeKubernetes | any | null | undefined;
|
|
1129
|
-
logs?: PlanDeploymentComputeLogs | any | null | undefined;
|
|
1130
1211
|
network?:
|
|
1131
1212
|
| PlanDeploymentComputeNetworkByoVpcAws
|
|
1132
1213
|
| PlanDeploymentComputeNetworkByoVpcGcp
|
|
@@ -1158,9 +1239,23 @@ export type PlanDeploymentComputeStackSettings = {
|
|
|
1158
1239
|
|
|
1159
1240
|
export type PlanDeploymentComputeRequest = {
|
|
1160
1241
|
setupItem?: PlanDeploymentComputeSetupItem | undefined;
|
|
1242
|
+
deploymentId?: string | undefined;
|
|
1243
|
+
updateOperationId?: string | undefined;
|
|
1161
1244
|
platform: PlanDeploymentComputePlatform;
|
|
1162
1245
|
setupMethod: models.DeploymentSetupMethod;
|
|
1163
1246
|
region?: string | undefined;
|
|
1247
|
+
/**
|
|
1248
|
+
* User-customizable deployment settings specified at deploy time.
|
|
1249
|
+
*
|
|
1250
|
+
* @remarks
|
|
1251
|
+
*
|
|
1252
|
+
* These settings are provided by the customer via CloudFormation parameters,
|
|
1253
|
+
* Terraform attributes, CLI flags, or Helm values. They customize how the
|
|
1254
|
+
* deployment runs and what capabilities are enabled.
|
|
1255
|
+
*
|
|
1256
|
+
* **Key distinction**: StackSettings is user-customizable, while ManagementConfig
|
|
1257
|
+
* is platform-derived (from the Manager's ServiceAccount).
|
|
1258
|
+
*/
|
|
1164
1259
|
stackSettings: PlanDeploymentComputeStackSettings;
|
|
1165
1260
|
};
|
|
1166
1261
|
|
|
@@ -1174,12 +1269,68 @@ export const PlanDeploymentComputePlatform$outboundSchema: z.ZodEnum<
|
|
|
1174
1269
|
typeof PlanDeploymentComputePlatform
|
|
1175
1270
|
> = z.enum(PlanDeploymentComputePlatform);
|
|
1176
1271
|
|
|
1272
|
+
/** @internal */
|
|
1273
|
+
export type PlanDeploymentComputeFailureDomains2$Outbound = {
|
|
1274
|
+
selectedFailureDomains?: Array<string> | undefined;
|
|
1275
|
+
spread: number;
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
/** @internal */
|
|
1279
|
+
export const PlanDeploymentComputeFailureDomains2$outboundSchema: z.ZodType<
|
|
1280
|
+
PlanDeploymentComputeFailureDomains2$Outbound,
|
|
1281
|
+
PlanDeploymentComputeFailureDomains2
|
|
1282
|
+
> = z.object({
|
|
1283
|
+
selectedFailureDomains: z.array(z.string()).optional(),
|
|
1284
|
+
spread: z.int(),
|
|
1285
|
+
});
|
|
1286
|
+
|
|
1287
|
+
export function planDeploymentComputeFailureDomains2ToJSON(
|
|
1288
|
+
planDeploymentComputeFailureDomains2: PlanDeploymentComputeFailureDomains2,
|
|
1289
|
+
): string {
|
|
1290
|
+
return JSON.stringify(
|
|
1291
|
+
PlanDeploymentComputeFailureDomains2$outboundSchema.parse(
|
|
1292
|
+
planDeploymentComputeFailureDomains2,
|
|
1293
|
+
),
|
|
1294
|
+
);
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
/** @internal */
|
|
1298
|
+
export type PlanDeploymentComputeFailureDomainsUnion2$Outbound =
|
|
1299
|
+
| PlanDeploymentComputeFailureDomains2$Outbound
|
|
1300
|
+
| any;
|
|
1301
|
+
|
|
1302
|
+
/** @internal */
|
|
1303
|
+
export const PlanDeploymentComputeFailureDomainsUnion2$outboundSchema:
|
|
1304
|
+
z.ZodType<
|
|
1305
|
+
PlanDeploymentComputeFailureDomainsUnion2$Outbound,
|
|
1306
|
+
PlanDeploymentComputeFailureDomainsUnion2
|
|
1307
|
+
> = z.union([
|
|
1308
|
+
z.lazy(() => PlanDeploymentComputeFailureDomains2$outboundSchema),
|
|
1309
|
+
z.any(),
|
|
1310
|
+
]);
|
|
1311
|
+
|
|
1312
|
+
export function planDeploymentComputeFailureDomainsUnion2ToJSON(
|
|
1313
|
+
planDeploymentComputeFailureDomainsUnion2:
|
|
1314
|
+
PlanDeploymentComputeFailureDomainsUnion2,
|
|
1315
|
+
): string {
|
|
1316
|
+
return JSON.stringify(
|
|
1317
|
+
PlanDeploymentComputeFailureDomainsUnion2$outboundSchema.parse(
|
|
1318
|
+
planDeploymentComputeFailureDomainsUnion2,
|
|
1319
|
+
),
|
|
1320
|
+
);
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1177
1323
|
/** @internal */
|
|
1178
1324
|
export type PlanDeploymentComputePoolsAutoscale$Outbound = {
|
|
1179
|
-
|
|
1180
|
-
|
|
1325
|
+
failure_domains?:
|
|
1326
|
+
| PlanDeploymentComputeFailureDomains2$Outbound
|
|
1327
|
+
| any
|
|
1328
|
+
| null
|
|
1329
|
+
| undefined;
|
|
1330
|
+
machine?: string | null | undefined;
|
|
1181
1331
|
max: number;
|
|
1182
|
-
|
|
1332
|
+
min: number;
|
|
1333
|
+
mode: "autoscale";
|
|
1183
1334
|
};
|
|
1184
1335
|
|
|
1185
1336
|
/** @internal */
|
|
@@ -1187,10 +1338,20 @@ export const PlanDeploymentComputePoolsAutoscale$outboundSchema: z.ZodType<
|
|
|
1187
1338
|
PlanDeploymentComputePoolsAutoscale$Outbound,
|
|
1188
1339
|
PlanDeploymentComputePoolsAutoscale
|
|
1189
1340
|
> = z.object({
|
|
1190
|
-
|
|
1191
|
-
|
|
1341
|
+
failureDomains: z.nullable(
|
|
1342
|
+
z.union([
|
|
1343
|
+
z.lazy(() => PlanDeploymentComputeFailureDomains2$outboundSchema),
|
|
1344
|
+
z.any(),
|
|
1345
|
+
]),
|
|
1346
|
+
).optional(),
|
|
1347
|
+
machine: z.nullable(z.string()).optional(),
|
|
1192
1348
|
max: z.int(),
|
|
1193
|
-
|
|
1349
|
+
min: z.int(),
|
|
1350
|
+
mode: z.literal("autoscale"),
|
|
1351
|
+
}).transform((v) => {
|
|
1352
|
+
return remap$(v, {
|
|
1353
|
+
failureDomains: "failure_domains",
|
|
1354
|
+
});
|
|
1194
1355
|
});
|
|
1195
1356
|
|
|
1196
1357
|
export function planDeploymentComputePoolsAutoscaleToJSON(
|
|
@@ -1203,11 +1364,67 @@ export function planDeploymentComputePoolsAutoscaleToJSON(
|
|
|
1203
1364
|
);
|
|
1204
1365
|
}
|
|
1205
1366
|
|
|
1367
|
+
/** @internal */
|
|
1368
|
+
export type PlanDeploymentComputeFailureDomains1$Outbound = {
|
|
1369
|
+
selectedFailureDomains?: Array<string> | undefined;
|
|
1370
|
+
spread: number;
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
/** @internal */
|
|
1374
|
+
export const PlanDeploymentComputeFailureDomains1$outboundSchema: z.ZodType<
|
|
1375
|
+
PlanDeploymentComputeFailureDomains1$Outbound,
|
|
1376
|
+
PlanDeploymentComputeFailureDomains1
|
|
1377
|
+
> = z.object({
|
|
1378
|
+
selectedFailureDomains: z.array(z.string()).optional(),
|
|
1379
|
+
spread: z.int(),
|
|
1380
|
+
});
|
|
1381
|
+
|
|
1382
|
+
export function planDeploymentComputeFailureDomains1ToJSON(
|
|
1383
|
+
planDeploymentComputeFailureDomains1: PlanDeploymentComputeFailureDomains1,
|
|
1384
|
+
): string {
|
|
1385
|
+
return JSON.stringify(
|
|
1386
|
+
PlanDeploymentComputeFailureDomains1$outboundSchema.parse(
|
|
1387
|
+
planDeploymentComputeFailureDomains1,
|
|
1388
|
+
),
|
|
1389
|
+
);
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
/** @internal */
|
|
1393
|
+
export type PlanDeploymentComputeFailureDomainsUnion1$Outbound =
|
|
1394
|
+
| PlanDeploymentComputeFailureDomains1$Outbound
|
|
1395
|
+
| any;
|
|
1396
|
+
|
|
1397
|
+
/** @internal */
|
|
1398
|
+
export const PlanDeploymentComputeFailureDomainsUnion1$outboundSchema:
|
|
1399
|
+
z.ZodType<
|
|
1400
|
+
PlanDeploymentComputeFailureDomainsUnion1$Outbound,
|
|
1401
|
+
PlanDeploymentComputeFailureDomainsUnion1
|
|
1402
|
+
> = z.union([
|
|
1403
|
+
z.lazy(() => PlanDeploymentComputeFailureDomains1$outboundSchema),
|
|
1404
|
+
z.any(),
|
|
1405
|
+
]);
|
|
1406
|
+
|
|
1407
|
+
export function planDeploymentComputeFailureDomainsUnion1ToJSON(
|
|
1408
|
+
planDeploymentComputeFailureDomainsUnion1:
|
|
1409
|
+
PlanDeploymentComputeFailureDomainsUnion1,
|
|
1410
|
+
): string {
|
|
1411
|
+
return JSON.stringify(
|
|
1412
|
+
PlanDeploymentComputeFailureDomainsUnion1$outboundSchema.parse(
|
|
1413
|
+
planDeploymentComputeFailureDomainsUnion1,
|
|
1414
|
+
),
|
|
1415
|
+
);
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1206
1418
|
/** @internal */
|
|
1207
1419
|
export type PlanDeploymentComputePoolsFixed$Outbound = {
|
|
1208
|
-
|
|
1420
|
+
failure_domains?:
|
|
1421
|
+
| PlanDeploymentComputeFailureDomains1$Outbound
|
|
1422
|
+
| any
|
|
1423
|
+
| null
|
|
1424
|
+
| undefined;
|
|
1425
|
+
machine?: string | null | undefined;
|
|
1209
1426
|
machines: number;
|
|
1210
|
-
|
|
1427
|
+
mode: "fixed";
|
|
1211
1428
|
};
|
|
1212
1429
|
|
|
1213
1430
|
/** @internal */
|
|
@@ -1215,9 +1432,19 @@ export const PlanDeploymentComputePoolsFixed$outboundSchema: z.ZodType<
|
|
|
1215
1432
|
PlanDeploymentComputePoolsFixed$Outbound,
|
|
1216
1433
|
PlanDeploymentComputePoolsFixed
|
|
1217
1434
|
> = z.object({
|
|
1218
|
-
|
|
1435
|
+
failureDomains: z.nullable(
|
|
1436
|
+
z.union([
|
|
1437
|
+
z.lazy(() => PlanDeploymentComputeFailureDomains1$outboundSchema),
|
|
1438
|
+
z.any(),
|
|
1439
|
+
]),
|
|
1440
|
+
).optional(),
|
|
1441
|
+
machine: z.nullable(z.string()).optional(),
|
|
1219
1442
|
machines: z.int(),
|
|
1220
|
-
|
|
1443
|
+
mode: z.literal("fixed"),
|
|
1444
|
+
}).transform((v) => {
|
|
1445
|
+
return remap$(v, {
|
|
1446
|
+
failureDomains: "failure_domains",
|
|
1447
|
+
});
|
|
1221
1448
|
});
|
|
1222
1449
|
|
|
1223
1450
|
export function planDeploymentComputePoolsFixedToJSON(
|
|
@@ -1287,6 +1514,30 @@ export function planDeploymentComputeComputeToJSON(
|
|
|
1287
1514
|
);
|
|
1288
1515
|
}
|
|
1289
1516
|
|
|
1517
|
+
/** @internal */
|
|
1518
|
+
export type PlanDeploymentComputeComputeUnion$Outbound =
|
|
1519
|
+
| PlanDeploymentComputeCompute$Outbound
|
|
1520
|
+
| any;
|
|
1521
|
+
|
|
1522
|
+
/** @internal */
|
|
1523
|
+
export const PlanDeploymentComputeComputeUnion$outboundSchema: z.ZodType<
|
|
1524
|
+
PlanDeploymentComputeComputeUnion$Outbound,
|
|
1525
|
+
PlanDeploymentComputeComputeUnion
|
|
1526
|
+
> = z.union([
|
|
1527
|
+
z.lazy(() => PlanDeploymentComputeCompute$outboundSchema),
|
|
1528
|
+
z.any(),
|
|
1529
|
+
]);
|
|
1530
|
+
|
|
1531
|
+
export function planDeploymentComputeComputeUnionToJSON(
|
|
1532
|
+
planDeploymentComputeComputeUnion: PlanDeploymentComputeComputeUnion,
|
|
1533
|
+
): string {
|
|
1534
|
+
return JSON.stringify(
|
|
1535
|
+
PlanDeploymentComputeComputeUnion$outboundSchema.parse(
|
|
1536
|
+
planDeploymentComputeComputeUnion,
|
|
1537
|
+
),
|
|
1538
|
+
);
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1290
1541
|
/** @internal */
|
|
1291
1542
|
export const PlanDeploymentComputeDeploymentModel$outboundSchema: z.ZodEnum<
|
|
1292
1543
|
typeof PlanDeploymentComputeDeploymentModel
|
|
@@ -3244,48 +3495,6 @@ export function planDeploymentComputeKubernetesUnionToJSON(
|
|
|
3244
3495
|
);
|
|
3245
3496
|
}
|
|
3246
3497
|
|
|
3247
|
-
/** @internal */
|
|
3248
|
-
export type PlanDeploymentComputeLogs$Outbound = {
|
|
3249
|
-
parseApplicationLevels?: boolean | undefined;
|
|
3250
|
-
};
|
|
3251
|
-
|
|
3252
|
-
/** @internal */
|
|
3253
|
-
export const PlanDeploymentComputeLogs$outboundSchema: z.ZodType<
|
|
3254
|
-
PlanDeploymentComputeLogs$Outbound,
|
|
3255
|
-
PlanDeploymentComputeLogs
|
|
3256
|
-
> = z.object({
|
|
3257
|
-
parseApplicationLevels: z.boolean().optional(),
|
|
3258
|
-
});
|
|
3259
|
-
|
|
3260
|
-
export function planDeploymentComputeLogsToJSON(
|
|
3261
|
-
planDeploymentComputeLogs: PlanDeploymentComputeLogs,
|
|
3262
|
-
): string {
|
|
3263
|
-
return JSON.stringify(
|
|
3264
|
-
PlanDeploymentComputeLogs$outboundSchema.parse(planDeploymentComputeLogs),
|
|
3265
|
-
);
|
|
3266
|
-
}
|
|
3267
|
-
|
|
3268
|
-
/** @internal */
|
|
3269
|
-
export type PlanDeploymentComputeLogsUnion$Outbound =
|
|
3270
|
-
| PlanDeploymentComputeLogs$Outbound
|
|
3271
|
-
| any;
|
|
3272
|
-
|
|
3273
|
-
/** @internal */
|
|
3274
|
-
export const PlanDeploymentComputeLogsUnion$outboundSchema: z.ZodType<
|
|
3275
|
-
PlanDeploymentComputeLogsUnion$Outbound,
|
|
3276
|
-
PlanDeploymentComputeLogsUnion
|
|
3277
|
-
> = z.union([z.lazy(() => PlanDeploymentComputeLogs$outboundSchema), z.any()]);
|
|
3278
|
-
|
|
3279
|
-
export function planDeploymentComputeLogsUnionToJSON(
|
|
3280
|
-
planDeploymentComputeLogsUnion: PlanDeploymentComputeLogsUnion,
|
|
3281
|
-
): string {
|
|
3282
|
-
return JSON.stringify(
|
|
3283
|
-
PlanDeploymentComputeLogsUnion$outboundSchema.parse(
|
|
3284
|
-
planDeploymentComputeLogsUnion,
|
|
3285
|
-
),
|
|
3286
|
-
);
|
|
3287
|
-
}
|
|
3288
|
-
|
|
3289
3498
|
/** @internal */
|
|
3290
3499
|
export const PlanDeploymentComputeTypeByoVnetAzure$outboundSchema: z.ZodEnum<
|
|
3291
3500
|
typeof PlanDeploymentComputeTypeByoVnetAzure
|
|
@@ -3524,7 +3733,7 @@ export const PlanDeploymentComputeUpdates$outboundSchema: z.ZodEnum<
|
|
|
3524
3733
|
|
|
3525
3734
|
/** @internal */
|
|
3526
3735
|
export type PlanDeploymentComputeStackSettings$Outbound = {
|
|
3527
|
-
compute?: PlanDeploymentComputeCompute$Outbound | undefined;
|
|
3736
|
+
compute?: PlanDeploymentComputeCompute$Outbound | any | null | undefined;
|
|
3528
3737
|
deploymentModel?: string | undefined;
|
|
3529
3738
|
domains?: PlanDeploymentComputeDomains$Outbound | any | null | undefined;
|
|
3530
3739
|
externalBindings?:
|
|
@@ -3537,7 +3746,6 @@ export type PlanDeploymentComputeStackSettings$Outbound = {
|
|
|
3537
3746
|
| any
|
|
3538
3747
|
| null
|
|
3539
3748
|
| undefined;
|
|
3540
|
-
logs?: PlanDeploymentComputeLogs$Outbound | any | null | undefined;
|
|
3541
3749
|
network?:
|
|
3542
3750
|
| PlanDeploymentComputeNetworkByoVpcAws$Outbound
|
|
3543
3751
|
| PlanDeploymentComputeNetworkByoVpcGcp$Outbound
|
|
@@ -3557,7 +3765,12 @@ export const PlanDeploymentComputeStackSettings$outboundSchema: z.ZodType<
|
|
|
3557
3765
|
PlanDeploymentComputeStackSettings$Outbound,
|
|
3558
3766
|
PlanDeploymentComputeStackSettings
|
|
3559
3767
|
> = z.object({
|
|
3560
|
-
compute: z.
|
|
3768
|
+
compute: z.nullable(
|
|
3769
|
+
z.union([
|
|
3770
|
+
z.lazy(() => PlanDeploymentComputeCompute$outboundSchema),
|
|
3771
|
+
z.any(),
|
|
3772
|
+
]),
|
|
3773
|
+
).optional(),
|
|
3561
3774
|
deploymentModel: PlanDeploymentComputeDeploymentModel$outboundSchema
|
|
3562
3775
|
.optional(),
|
|
3563
3776
|
domains: z.nullable(
|
|
@@ -3576,9 +3789,6 @@ export const PlanDeploymentComputeStackSettings$outboundSchema: z.ZodType<
|
|
|
3576
3789
|
z.any(),
|
|
3577
3790
|
]),
|
|
3578
3791
|
).optional(),
|
|
3579
|
-
logs: z.nullable(
|
|
3580
|
-
z.union([z.lazy(() => PlanDeploymentComputeLogs$outboundSchema), z.any()]),
|
|
3581
|
-
).optional(),
|
|
3582
3792
|
network: z.nullable(
|
|
3583
3793
|
z.union([
|
|
3584
3794
|
z.lazy(() => PlanDeploymentComputeNetworkByoVpcAws$outboundSchema),
|
|
@@ -3609,6 +3819,8 @@ export function planDeploymentComputeStackSettingsToJSON(
|
|
|
3609
3819
|
/** @internal */
|
|
3610
3820
|
export type PlanDeploymentComputeRequest$Outbound = {
|
|
3611
3821
|
setupItem?: string | undefined;
|
|
3822
|
+
deploymentId?: string | undefined;
|
|
3823
|
+
updateOperationId?: string | undefined;
|
|
3612
3824
|
platform: string;
|
|
3613
3825
|
setupMethod: string;
|
|
3614
3826
|
region?: string | undefined;
|
|
@@ -3621,6 +3833,8 @@ export const PlanDeploymentComputeRequest$outboundSchema: z.ZodType<
|
|
|
3621
3833
|
PlanDeploymentComputeRequest
|
|
3622
3834
|
> = z.object({
|
|
3623
3835
|
setupItem: PlanDeploymentComputeSetupItem$outboundSchema.optional(),
|
|
3836
|
+
deploymentId: z.string().optional(),
|
|
3837
|
+
updateOperationId: z.string().optional(),
|
|
3624
3838
|
platform: PlanDeploymentComputePlatform$outboundSchema,
|
|
3625
3839
|
setupMethod: models.DeploymentSetupMethod$outboundSchema,
|
|
3626
3840
|
region: z.string().optional(),
|