@ryan-pip/pulumi_astronomer 0.0.11 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/cluster.d.ts +104 -87
- package/cluster.js +49 -19
- package/cluster.js.map +1 -1
- package/config/vars.d.ts +6 -2
- package/config/vars.js +7 -1
- package/config/vars.js.map +1 -1
- package/deployment.d.ts +305 -90
- package/deployment.js +61 -21
- package/deployment.js.map +1 -1
- package/getCluster.d.ts +40 -32
- package/getCluster.js +6 -6
- package/getCluster.js.map +1 -1
- package/getClusterOptions.d.ts +66 -0
- package/getClusterOptions.js +56 -0
- package/getClusterOptions.js.map +1 -0
- package/getClusters.d.ts +66 -0
- package/getClusters.js +57 -0
- package/getClusters.js.map +1 -0
- package/getDeployment.d.ts +196 -13
- package/getDeployment.js +24 -2
- package/getDeployment.js.map +1 -1
- package/getDeploymentOptions.d.ts +147 -0
- package/getDeploymentOptions.js +71 -0
- package/getDeploymentOptions.js.map +1 -0
- package/getDeployments.d.ts +75 -0
- package/getDeployments.js +64 -0
- package/getDeployments.js.map +1 -0
- package/getOrganization.d.ts +26 -46
- package/getOrganization.js +8 -15
- package/getOrganization.js.map +1 -1
- package/getTeam.d.ts +103 -0
- package/getTeam.js +47 -0
- package/getTeam.js.map +1 -0
- package/getTeams.d.ts +63 -0
- package/getTeams.js +56 -0
- package/getTeams.js.map +1 -0
- package/getWorkspace.d.ts +29 -12
- package/getWorkspace.js +6 -6
- package/getWorkspace.js.map +1 -1
- package/getWorkspaces.d.ts +78 -0
- package/getWorkspaces.js +69 -0
- package/getWorkspaces.js.map +1 -0
- package/hybridClusterWorkspaceAuthorization.d.ts +82 -0
- package/hybridClusterWorkspaceAuthorization.js +76 -0
- package/hybridClusterWorkspaceAuthorization.js.map +1 -0
- package/index.d.ts +28 -1
- package/index.js +32 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.bak +1 -1
- package/provider.d.ts +13 -5
- package/provider.js +3 -2
- package/provider.js.map +1 -1
- package/teamRoles.d.ts +89 -0
- package/teamRoles.js +64 -0
- package/teamRoles.js.map +1 -0
- package/types/input.d.ts +176 -20
- package/types/output.d.ts +1350 -36
- package/workspace.d.ts +55 -17
- package/workspace.js +21 -3
- package/workspace.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -1,95 +1,1409 @@
|
|
|
1
|
-
|
|
1
|
+
import * as outputs from "../types/output";
|
|
2
|
+
export interface ClusterMetadata {
|
|
2
3
|
/**
|
|
3
|
-
*
|
|
4
|
+
* Cluster external IPs
|
|
4
5
|
*/
|
|
5
|
-
|
|
6
|
+
externalIps: string[];
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
+
* Cluster OIDC issuer URL
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
export interface ClusterMetadata {
|
|
12
|
-
externalIps?: string[];
|
|
13
|
-
oidcIssuerUrl?: string;
|
|
10
|
+
oidcIssuerUrl: string;
|
|
14
11
|
}
|
|
15
12
|
export interface ClusterNodePool {
|
|
16
13
|
/**
|
|
17
|
-
*
|
|
14
|
+
* Node pool cloud provider
|
|
15
|
+
*/
|
|
16
|
+
cloudProvider: string;
|
|
17
|
+
/**
|
|
18
|
+
* Node pool cluster identifier
|
|
19
|
+
*/
|
|
20
|
+
clusterId: string;
|
|
21
|
+
/**
|
|
22
|
+
* Node pool creation timestamp
|
|
23
|
+
*/
|
|
24
|
+
createdAt: string;
|
|
25
|
+
/**
|
|
26
|
+
* Node pool identifier
|
|
18
27
|
*/
|
|
19
|
-
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the node pool is the default node pool of the cluster
|
|
31
|
+
*/
|
|
32
|
+
isDefault: boolean;
|
|
20
33
|
/**
|
|
21
|
-
*
|
|
34
|
+
* Node pool maximum node count
|
|
22
35
|
*/
|
|
23
36
|
maxNodeCount: number;
|
|
24
37
|
/**
|
|
25
|
-
*
|
|
38
|
+
* Node pool name
|
|
26
39
|
*/
|
|
27
40
|
name: string;
|
|
28
41
|
/**
|
|
29
|
-
*
|
|
42
|
+
* Node pool node instance type
|
|
30
43
|
*/
|
|
31
44
|
nodeInstanceType: string;
|
|
45
|
+
/**
|
|
46
|
+
* Node pool supported Astro machines
|
|
47
|
+
*/
|
|
48
|
+
supportedAstroMachines: string[];
|
|
49
|
+
/**
|
|
50
|
+
* Node pool last updated timestamp
|
|
51
|
+
*/
|
|
52
|
+
updatedAt: string;
|
|
53
|
+
}
|
|
54
|
+
export interface ClusterTimeouts {
|
|
55
|
+
/**
|
|
56
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
57
|
+
*/
|
|
58
|
+
create?: string;
|
|
59
|
+
/**
|
|
60
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
|
|
61
|
+
*/
|
|
62
|
+
delete?: string;
|
|
63
|
+
/**
|
|
64
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
65
|
+
*/
|
|
66
|
+
update?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface DeploymentCreatedBy {
|
|
69
|
+
apiTokenName: string;
|
|
70
|
+
avatarUrl: string;
|
|
71
|
+
fullName: string;
|
|
72
|
+
id: string;
|
|
73
|
+
subjectType: string;
|
|
74
|
+
username: string;
|
|
32
75
|
}
|
|
33
76
|
export interface DeploymentEnvironmentVariable {
|
|
34
77
|
/**
|
|
35
|
-
* Whether
|
|
78
|
+
* Whether Environment variable is a secret
|
|
36
79
|
*/
|
|
37
80
|
isSecret: boolean;
|
|
38
81
|
/**
|
|
39
|
-
*
|
|
82
|
+
* Environment variable key
|
|
40
83
|
*/
|
|
41
84
|
key: string;
|
|
42
85
|
/**
|
|
43
|
-
*
|
|
86
|
+
* Environment variable last updated timestamp
|
|
87
|
+
*/
|
|
88
|
+
updatedAt: string;
|
|
89
|
+
/**
|
|
90
|
+
* Environment variable value
|
|
44
91
|
*/
|
|
45
92
|
value?: string;
|
|
46
93
|
}
|
|
47
|
-
export interface
|
|
48
|
-
|
|
94
|
+
export interface DeploymentScalingSpec {
|
|
95
|
+
/**
|
|
96
|
+
* Hibernation configuration for the deployment. The deployment will hibernate according to the schedules defined in this configuration. To remove the hibernation configuration, set scaling*spec to null.
|
|
97
|
+
*/
|
|
98
|
+
hibernationSpec: outputs.DeploymentScalingSpecHibernationSpec;
|
|
99
|
+
}
|
|
100
|
+
export interface DeploymentScalingSpecHibernationSpec {
|
|
101
|
+
/**
|
|
102
|
+
* Hibernation override configuration. Set to null to remove the override.
|
|
103
|
+
*/
|
|
104
|
+
override?: outputs.DeploymentScalingSpecHibernationSpecOverride;
|
|
105
|
+
/**
|
|
106
|
+
* List of hibernation schedules. Set to null to remove all schedules.
|
|
107
|
+
*/
|
|
108
|
+
schedules?: outputs.DeploymentScalingSpecHibernationSpecSchedule[];
|
|
109
|
+
}
|
|
110
|
+
export interface DeploymentScalingSpecHibernationSpecOverride {
|
|
111
|
+
isActive: boolean;
|
|
112
|
+
isHibernating: boolean;
|
|
113
|
+
overrideUntil?: string;
|
|
114
|
+
}
|
|
115
|
+
export interface DeploymentScalingSpecHibernationSpecSchedule {
|
|
116
|
+
description?: string;
|
|
117
|
+
hibernateAtCron: string;
|
|
118
|
+
isEnabled: boolean;
|
|
119
|
+
wakeAtCron: string;
|
|
120
|
+
}
|
|
121
|
+
export interface DeploymentScalingStatus {
|
|
122
|
+
hibernationStatus: outputs.DeploymentScalingStatusHibernationStatus;
|
|
123
|
+
}
|
|
124
|
+
export interface DeploymentScalingStatusHibernationStatus {
|
|
125
|
+
isHibernating: boolean;
|
|
126
|
+
nextEventAt: string;
|
|
127
|
+
nextEventType: string;
|
|
128
|
+
reason: string;
|
|
129
|
+
}
|
|
130
|
+
export interface DeploymentUpdatedBy {
|
|
131
|
+
apiTokenName: string;
|
|
132
|
+
avatarUrl: string;
|
|
133
|
+
fullName: string;
|
|
49
134
|
id: string;
|
|
135
|
+
subjectType: string;
|
|
136
|
+
username: string;
|
|
137
|
+
}
|
|
138
|
+
export interface DeploymentWorkerQueue {
|
|
139
|
+
/**
|
|
140
|
+
* Worker queue Astro machine value - required for 'STANDARD' and 'DEDICATED' deployments
|
|
141
|
+
*/
|
|
142
|
+
astroMachine?: string;
|
|
143
|
+
/**
|
|
144
|
+
* Worker queue default
|
|
145
|
+
*/
|
|
50
146
|
isDefault: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Worker queue max worker count
|
|
149
|
+
*/
|
|
51
150
|
maxWorkerCount: number;
|
|
151
|
+
/**
|
|
152
|
+
* Worker queue min worker count
|
|
153
|
+
*/
|
|
52
154
|
minWorkerCount: number;
|
|
155
|
+
/**
|
|
156
|
+
* Worker queue name
|
|
157
|
+
*/
|
|
53
158
|
name: string;
|
|
54
|
-
workerConcurrency: number;
|
|
55
|
-
}
|
|
56
|
-
export interface GetClusterK8sTag {
|
|
57
159
|
/**
|
|
58
|
-
*
|
|
160
|
+
* Worker queue Node pool identifier - required for 'HYBRID' deployments
|
|
59
161
|
*/
|
|
60
|
-
|
|
162
|
+
nodePoolId?: string;
|
|
61
163
|
/**
|
|
62
|
-
*
|
|
164
|
+
* Worker queue pod CPU
|
|
63
165
|
*/
|
|
64
|
-
|
|
166
|
+
podCpu: string;
|
|
167
|
+
/**
|
|
168
|
+
* Worker queue pod memory
|
|
169
|
+
*/
|
|
170
|
+
podMemory: string;
|
|
171
|
+
/**
|
|
172
|
+
* Worker queue worker concurrency
|
|
173
|
+
*/
|
|
174
|
+
workerConcurrency: number;
|
|
65
175
|
}
|
|
66
176
|
export interface GetClusterMetadata {
|
|
67
|
-
|
|
68
|
-
|
|
177
|
+
/**
|
|
178
|
+
* Cluster external IPs
|
|
179
|
+
*/
|
|
180
|
+
externalIps: string[];
|
|
181
|
+
/**
|
|
182
|
+
* Cluster OIDC issuer URL
|
|
183
|
+
*/
|
|
184
|
+
oidcIssuerUrl: string;
|
|
69
185
|
}
|
|
70
186
|
export interface GetClusterNodePool {
|
|
71
187
|
/**
|
|
72
|
-
*
|
|
188
|
+
* Node pool cloud provider
|
|
189
|
+
*/
|
|
190
|
+
cloudProvider: string;
|
|
191
|
+
/**
|
|
192
|
+
* Node pool cluster identifier
|
|
193
|
+
*/
|
|
194
|
+
clusterId: string;
|
|
195
|
+
/**
|
|
196
|
+
* Node pool creation timestamp
|
|
197
|
+
*/
|
|
198
|
+
createdAt: string;
|
|
199
|
+
/**
|
|
200
|
+
* Node pool identifier
|
|
201
|
+
*/
|
|
202
|
+
id: string;
|
|
203
|
+
/**
|
|
204
|
+
* Whether the node pool is the default node pool of the cluster
|
|
73
205
|
*/
|
|
74
|
-
isDefault
|
|
206
|
+
isDefault: boolean;
|
|
75
207
|
/**
|
|
76
|
-
*
|
|
208
|
+
* Node pool maximum node count
|
|
77
209
|
*/
|
|
78
210
|
maxNodeCount: number;
|
|
79
211
|
/**
|
|
80
|
-
*
|
|
212
|
+
* Node pool name
|
|
81
213
|
*/
|
|
82
214
|
name: string;
|
|
83
215
|
/**
|
|
84
|
-
*
|
|
216
|
+
* Node pool node instance type
|
|
85
217
|
*/
|
|
86
218
|
nodeInstanceType: string;
|
|
219
|
+
/**
|
|
220
|
+
* Node pool supported Astro machines
|
|
221
|
+
*/
|
|
222
|
+
supportedAstroMachines: string[];
|
|
223
|
+
/**
|
|
224
|
+
* Node pool last updated timestamp
|
|
225
|
+
*/
|
|
226
|
+
updatedAt: string;
|
|
227
|
+
}
|
|
228
|
+
export interface GetClusterOptionsClusterOption {
|
|
229
|
+
/**
|
|
230
|
+
* ClusterOption database instances
|
|
231
|
+
*/
|
|
232
|
+
databaseInstances: outputs.GetClusterOptionsClusterOptionDatabaseInstance[];
|
|
233
|
+
/**
|
|
234
|
+
* ClusterOption default database instance
|
|
235
|
+
*/
|
|
236
|
+
defaultDatabaseInstance: outputs.GetClusterOptionsClusterOptionDefaultDatabaseInstance;
|
|
237
|
+
/**
|
|
238
|
+
* ClusterOption default node instance
|
|
239
|
+
*/
|
|
240
|
+
defaultNodeInstance: outputs.GetClusterOptionsClusterOptionDefaultNodeInstance;
|
|
241
|
+
/**
|
|
242
|
+
* ClusterOption default pod subnet range
|
|
243
|
+
*/
|
|
244
|
+
defaultPodSubnetRange: string;
|
|
245
|
+
/**
|
|
246
|
+
* ClusterOption default region
|
|
247
|
+
*/
|
|
248
|
+
defaultRegion: outputs.GetClusterOptionsClusterOptionDefaultRegion;
|
|
249
|
+
/**
|
|
250
|
+
* ClusterOption default service peering range
|
|
251
|
+
*/
|
|
252
|
+
defaultServicePeeringRange: string;
|
|
253
|
+
/**
|
|
254
|
+
* ClusterOption default service subnet range
|
|
255
|
+
*/
|
|
256
|
+
defaultServiceSubnetRange: string;
|
|
257
|
+
/**
|
|
258
|
+
* ClusterOption default vps subnet range
|
|
259
|
+
*/
|
|
260
|
+
defaultVpcSubnetRange: string;
|
|
261
|
+
/**
|
|
262
|
+
* ClusterOption node count default
|
|
263
|
+
*/
|
|
264
|
+
nodeCountDefault: number;
|
|
265
|
+
/**
|
|
266
|
+
* ClusterOption node count max
|
|
267
|
+
*/
|
|
268
|
+
nodeCountMax: number;
|
|
269
|
+
/**
|
|
270
|
+
* ClusterOption node count min
|
|
271
|
+
*/
|
|
272
|
+
nodeCountMin: number;
|
|
273
|
+
/**
|
|
274
|
+
* ClusterOption node instances
|
|
275
|
+
*/
|
|
276
|
+
nodeInstances: outputs.GetClusterOptionsClusterOptionNodeInstance[];
|
|
277
|
+
/**
|
|
278
|
+
* ClusterOption provider
|
|
279
|
+
*/
|
|
280
|
+
provider: string;
|
|
281
|
+
/**
|
|
282
|
+
* ClusterOption regions
|
|
283
|
+
*/
|
|
284
|
+
regions: outputs.GetClusterOptionsClusterOptionRegion[];
|
|
285
|
+
}
|
|
286
|
+
export interface GetClusterOptionsClusterOptionDatabaseInstance {
|
|
287
|
+
/**
|
|
288
|
+
* Provider instance cpu
|
|
289
|
+
*/
|
|
290
|
+
cpu: number;
|
|
291
|
+
/**
|
|
292
|
+
* Provider instance memory
|
|
293
|
+
*/
|
|
294
|
+
memory: string;
|
|
295
|
+
/**
|
|
296
|
+
* Provider instance name
|
|
297
|
+
*/
|
|
298
|
+
name: string;
|
|
299
|
+
}
|
|
300
|
+
export interface GetClusterOptionsClusterOptionDefaultDatabaseInstance {
|
|
301
|
+
/**
|
|
302
|
+
* Provider instance cpu
|
|
303
|
+
*/
|
|
304
|
+
cpu: number;
|
|
305
|
+
/**
|
|
306
|
+
* Provider instance memory
|
|
307
|
+
*/
|
|
308
|
+
memory: string;
|
|
309
|
+
/**
|
|
310
|
+
* Provider instance name
|
|
311
|
+
*/
|
|
312
|
+
name: string;
|
|
313
|
+
}
|
|
314
|
+
export interface GetClusterOptionsClusterOptionDefaultNodeInstance {
|
|
315
|
+
/**
|
|
316
|
+
* Provider instance cpu
|
|
317
|
+
*/
|
|
318
|
+
cpu: number;
|
|
319
|
+
/**
|
|
320
|
+
* Provider instance memory
|
|
321
|
+
*/
|
|
322
|
+
memory: string;
|
|
323
|
+
/**
|
|
324
|
+
* Provider instance name
|
|
325
|
+
*/
|
|
326
|
+
name: string;
|
|
327
|
+
}
|
|
328
|
+
export interface GetClusterOptionsClusterOptionDefaultRegion {
|
|
329
|
+
/**
|
|
330
|
+
* Region banned instances
|
|
331
|
+
*/
|
|
332
|
+
bannedInstances: string[];
|
|
333
|
+
/**
|
|
334
|
+
* Region is limited bool
|
|
335
|
+
*/
|
|
336
|
+
limited: boolean;
|
|
337
|
+
/**
|
|
338
|
+
* Region is limited bool
|
|
339
|
+
*/
|
|
340
|
+
name: string;
|
|
341
|
+
}
|
|
342
|
+
export interface GetClusterOptionsClusterOptionNodeInstance {
|
|
343
|
+
/**
|
|
344
|
+
* Provider instance cpu
|
|
345
|
+
*/
|
|
346
|
+
cpu: number;
|
|
347
|
+
/**
|
|
348
|
+
* Provider instance memory
|
|
349
|
+
*/
|
|
350
|
+
memory: string;
|
|
351
|
+
/**
|
|
352
|
+
* Provider instance name
|
|
353
|
+
*/
|
|
354
|
+
name: string;
|
|
355
|
+
}
|
|
356
|
+
export interface GetClusterOptionsClusterOptionRegion {
|
|
357
|
+
/**
|
|
358
|
+
* Region banned instances
|
|
359
|
+
*/
|
|
360
|
+
bannedInstances: string[];
|
|
361
|
+
/**
|
|
362
|
+
* Region is limited bool
|
|
363
|
+
*/
|
|
364
|
+
limited: boolean;
|
|
365
|
+
/**
|
|
366
|
+
* Region is limited bool
|
|
367
|
+
*/
|
|
368
|
+
name: string;
|
|
369
|
+
}
|
|
370
|
+
export interface GetClusterTag {
|
|
371
|
+
/**
|
|
372
|
+
* Cluster tag key
|
|
373
|
+
*/
|
|
374
|
+
key: string;
|
|
375
|
+
/**
|
|
376
|
+
* Cluster tag value
|
|
377
|
+
*/
|
|
378
|
+
value: string;
|
|
87
379
|
}
|
|
88
|
-
export interface
|
|
380
|
+
export interface GetClustersCluster {
|
|
381
|
+
/**
|
|
382
|
+
* Cluster cloud provider
|
|
383
|
+
*/
|
|
384
|
+
cloudProvider: string;
|
|
385
|
+
/**
|
|
386
|
+
* Cluster creation timestamp
|
|
387
|
+
*/
|
|
89
388
|
createdAt: string;
|
|
90
|
-
|
|
91
|
-
|
|
389
|
+
/**
|
|
390
|
+
* Cluster database instance type
|
|
391
|
+
*/
|
|
392
|
+
dbInstanceType: string;
|
|
393
|
+
/**
|
|
394
|
+
* Cluster identifier
|
|
395
|
+
*/
|
|
396
|
+
id: string;
|
|
397
|
+
/**
|
|
398
|
+
* Whether the cluster is limited
|
|
399
|
+
*/
|
|
400
|
+
isLimited: boolean;
|
|
401
|
+
/**
|
|
402
|
+
* Cluster metadata
|
|
403
|
+
*/
|
|
404
|
+
metadata: outputs.GetClustersClusterMetadata;
|
|
405
|
+
/**
|
|
406
|
+
* Cluster name
|
|
407
|
+
*/
|
|
92
408
|
name: string;
|
|
409
|
+
/**
|
|
410
|
+
* Cluster node pools
|
|
411
|
+
*/
|
|
412
|
+
nodePools: outputs.GetClustersClusterNodePool[];
|
|
413
|
+
/**
|
|
414
|
+
* Cluster pod subnet range
|
|
415
|
+
*/
|
|
416
|
+
podSubnetRange: string;
|
|
417
|
+
/**
|
|
418
|
+
* Cluster provider account
|
|
419
|
+
*/
|
|
420
|
+
providerAccount: string;
|
|
421
|
+
/**
|
|
422
|
+
* Cluster region
|
|
423
|
+
*/
|
|
424
|
+
region: string;
|
|
425
|
+
/**
|
|
426
|
+
* Cluster service peering range
|
|
427
|
+
*/
|
|
428
|
+
servicePeeringRange: string;
|
|
429
|
+
/**
|
|
430
|
+
* Cluster service subnet range
|
|
431
|
+
*/
|
|
432
|
+
serviceSubnetRange: string;
|
|
433
|
+
/**
|
|
434
|
+
* Cluster status
|
|
435
|
+
*/
|
|
93
436
|
status: string;
|
|
437
|
+
/**
|
|
438
|
+
* Cluster tags
|
|
439
|
+
*/
|
|
440
|
+
tags: outputs.GetClustersClusterTag[];
|
|
441
|
+
/**
|
|
442
|
+
* Cluster tenant ID
|
|
443
|
+
*/
|
|
444
|
+
tenantId: string;
|
|
445
|
+
/**
|
|
446
|
+
* Cluster type
|
|
447
|
+
*/
|
|
448
|
+
type: string;
|
|
449
|
+
/**
|
|
450
|
+
* Cluster last updated timestamp
|
|
451
|
+
*/
|
|
452
|
+
updatedAt: string;
|
|
453
|
+
/**
|
|
454
|
+
* Cluster VPC subnet range
|
|
455
|
+
*/
|
|
456
|
+
vpcSubnetRange: string;
|
|
457
|
+
/**
|
|
458
|
+
* Cluster workspace IDs
|
|
459
|
+
*/
|
|
460
|
+
workspaceIds: string[];
|
|
461
|
+
}
|
|
462
|
+
export interface GetClustersClusterMetadata {
|
|
463
|
+
/**
|
|
464
|
+
* Cluster external IPs
|
|
465
|
+
*/
|
|
466
|
+
externalIps: string[];
|
|
467
|
+
/**
|
|
468
|
+
* Cluster OIDC issuer URL
|
|
469
|
+
*/
|
|
470
|
+
oidcIssuerUrl: string;
|
|
471
|
+
}
|
|
472
|
+
export interface GetClustersClusterNodePool {
|
|
473
|
+
/**
|
|
474
|
+
* Node pool cloud provider
|
|
475
|
+
*/
|
|
476
|
+
cloudProvider: string;
|
|
477
|
+
/**
|
|
478
|
+
* Node pool cluster identifier
|
|
479
|
+
*/
|
|
480
|
+
clusterId: string;
|
|
481
|
+
/**
|
|
482
|
+
* Node pool creation timestamp
|
|
483
|
+
*/
|
|
484
|
+
createdAt: string;
|
|
485
|
+
/**
|
|
486
|
+
* Node pool identifier
|
|
487
|
+
*/
|
|
488
|
+
id: string;
|
|
489
|
+
/**
|
|
490
|
+
* Whether the node pool is the default node pool of the cluster
|
|
491
|
+
*/
|
|
492
|
+
isDefault: boolean;
|
|
493
|
+
/**
|
|
494
|
+
* Node pool maximum node count
|
|
495
|
+
*/
|
|
496
|
+
maxNodeCount: number;
|
|
497
|
+
/**
|
|
498
|
+
* Node pool name
|
|
499
|
+
*/
|
|
500
|
+
name: string;
|
|
501
|
+
/**
|
|
502
|
+
* Node pool node instance type
|
|
503
|
+
*/
|
|
504
|
+
nodeInstanceType: string;
|
|
505
|
+
/**
|
|
506
|
+
* Node pool supported Astro machines
|
|
507
|
+
*/
|
|
508
|
+
supportedAstroMachines: string[];
|
|
509
|
+
/**
|
|
510
|
+
* Node pool last updated timestamp
|
|
511
|
+
*/
|
|
94
512
|
updatedAt: string;
|
|
95
513
|
}
|
|
514
|
+
export interface GetClustersClusterTag {
|
|
515
|
+
/**
|
|
516
|
+
* Cluster tag key
|
|
517
|
+
*/
|
|
518
|
+
key: string;
|
|
519
|
+
/**
|
|
520
|
+
* Cluster tag value
|
|
521
|
+
*/
|
|
522
|
+
value: string;
|
|
523
|
+
}
|
|
524
|
+
export interface GetDeploymentCreatedBy {
|
|
525
|
+
apiTokenName: string;
|
|
526
|
+
avatarUrl: string;
|
|
527
|
+
fullName: string;
|
|
528
|
+
id: string;
|
|
529
|
+
subjectType: string;
|
|
530
|
+
username: string;
|
|
531
|
+
}
|
|
532
|
+
export interface GetDeploymentEnvironmentVariable {
|
|
533
|
+
/**
|
|
534
|
+
* Whether Environment variable is a secret
|
|
535
|
+
*/
|
|
536
|
+
isSecret: boolean;
|
|
537
|
+
/**
|
|
538
|
+
* Environment variable key
|
|
539
|
+
*/
|
|
540
|
+
key: string;
|
|
541
|
+
/**
|
|
542
|
+
* Environment variable last updated timestamp
|
|
543
|
+
*/
|
|
544
|
+
updatedAt: string;
|
|
545
|
+
/**
|
|
546
|
+
* Environment variable value
|
|
547
|
+
*/
|
|
548
|
+
value: string;
|
|
549
|
+
}
|
|
550
|
+
export interface GetDeploymentOptionsResourceQuotas {
|
|
551
|
+
/**
|
|
552
|
+
* Default pod size options
|
|
553
|
+
*/
|
|
554
|
+
defaultPodSize: outputs.GetDeploymentOptionsResourceQuotasDefaultPodSize;
|
|
555
|
+
/**
|
|
556
|
+
* Resource quota options
|
|
557
|
+
*/
|
|
558
|
+
resourceQuota: outputs.GetDeploymentOptionsResourceQuotasResourceQuota;
|
|
559
|
+
}
|
|
560
|
+
export interface GetDeploymentOptionsResourceQuotasDefaultPodSize {
|
|
561
|
+
/**
|
|
562
|
+
* CPU resource range
|
|
563
|
+
*/
|
|
564
|
+
cpu: outputs.GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu;
|
|
565
|
+
/**
|
|
566
|
+
* Memory resource range
|
|
567
|
+
*/
|
|
568
|
+
memory: outputs.GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory;
|
|
569
|
+
}
|
|
570
|
+
export interface GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu {
|
|
571
|
+
/**
|
|
572
|
+
* Resource range ceiling
|
|
573
|
+
*/
|
|
574
|
+
ceiling: string;
|
|
575
|
+
/**
|
|
576
|
+
* Resource range default
|
|
577
|
+
*/
|
|
578
|
+
default: string;
|
|
579
|
+
/**
|
|
580
|
+
* Resource range floor
|
|
581
|
+
*/
|
|
582
|
+
floor: string;
|
|
583
|
+
}
|
|
584
|
+
export interface GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory {
|
|
585
|
+
/**
|
|
586
|
+
* Resource range ceiling
|
|
587
|
+
*/
|
|
588
|
+
ceiling: string;
|
|
589
|
+
/**
|
|
590
|
+
* Resource range default
|
|
591
|
+
*/
|
|
592
|
+
default: string;
|
|
593
|
+
/**
|
|
594
|
+
* Resource range floor
|
|
595
|
+
*/
|
|
596
|
+
floor: string;
|
|
597
|
+
}
|
|
598
|
+
export interface GetDeploymentOptionsResourceQuotasResourceQuota {
|
|
599
|
+
/**
|
|
600
|
+
* CPU resource range
|
|
601
|
+
*/
|
|
602
|
+
cpu: outputs.GetDeploymentOptionsResourceQuotasResourceQuotaCpu;
|
|
603
|
+
/**
|
|
604
|
+
* Memory resource range
|
|
605
|
+
*/
|
|
606
|
+
memory: outputs.GetDeploymentOptionsResourceQuotasResourceQuotaMemory;
|
|
607
|
+
}
|
|
608
|
+
export interface GetDeploymentOptionsResourceQuotasResourceQuotaCpu {
|
|
609
|
+
/**
|
|
610
|
+
* Resource range ceiling
|
|
611
|
+
*/
|
|
612
|
+
ceiling: string;
|
|
613
|
+
/**
|
|
614
|
+
* Resource range default
|
|
615
|
+
*/
|
|
616
|
+
default: string;
|
|
617
|
+
/**
|
|
618
|
+
* Resource range floor
|
|
619
|
+
*/
|
|
620
|
+
floor: string;
|
|
621
|
+
}
|
|
622
|
+
export interface GetDeploymentOptionsResourceQuotasResourceQuotaMemory {
|
|
623
|
+
/**
|
|
624
|
+
* Resource range ceiling
|
|
625
|
+
*/
|
|
626
|
+
ceiling: string;
|
|
627
|
+
/**
|
|
628
|
+
* Resource range default
|
|
629
|
+
*/
|
|
630
|
+
default: string;
|
|
631
|
+
/**
|
|
632
|
+
* Resource range floor
|
|
633
|
+
*/
|
|
634
|
+
floor: string;
|
|
635
|
+
}
|
|
636
|
+
export interface GetDeploymentOptionsRuntimeRelease {
|
|
637
|
+
airflowDatabaseMigration: boolean;
|
|
638
|
+
airflowVersion: string;
|
|
639
|
+
channel: string;
|
|
640
|
+
releaseDate: string;
|
|
641
|
+
stellarDatabaseMigration: boolean;
|
|
642
|
+
version: string;
|
|
643
|
+
}
|
|
644
|
+
export interface GetDeploymentOptionsSchedulerMachine {
|
|
645
|
+
name: string;
|
|
646
|
+
spec: outputs.GetDeploymentOptionsSchedulerMachineSpec;
|
|
647
|
+
}
|
|
648
|
+
export interface GetDeploymentOptionsSchedulerMachineSpec {
|
|
649
|
+
concurrency: string;
|
|
650
|
+
cpu: string;
|
|
651
|
+
ephemeralStorage: string;
|
|
652
|
+
memory: string;
|
|
653
|
+
}
|
|
654
|
+
export interface GetDeploymentOptionsWorkerMachine {
|
|
655
|
+
concurrency: outputs.GetDeploymentOptionsWorkerMachineConcurrency;
|
|
656
|
+
name: string;
|
|
657
|
+
spec: outputs.GetDeploymentOptionsWorkerMachineSpec;
|
|
658
|
+
}
|
|
659
|
+
export interface GetDeploymentOptionsWorkerMachineConcurrency {
|
|
660
|
+
ceiling: string;
|
|
661
|
+
default: string;
|
|
662
|
+
floor: string;
|
|
663
|
+
}
|
|
664
|
+
export interface GetDeploymentOptionsWorkerMachineSpec {
|
|
665
|
+
concurrency: string;
|
|
666
|
+
cpu: string;
|
|
667
|
+
ephemeralStorage: string;
|
|
668
|
+
memory: string;
|
|
669
|
+
}
|
|
670
|
+
export interface GetDeploymentOptionsWorkerQueues {
|
|
671
|
+
/**
|
|
672
|
+
* Worker queue maximum workers
|
|
673
|
+
*/
|
|
674
|
+
maxWorkers: outputs.GetDeploymentOptionsWorkerQueuesMaxWorkers;
|
|
675
|
+
/**
|
|
676
|
+
* Worker queue minimum workers
|
|
677
|
+
*/
|
|
678
|
+
minWorkers: outputs.GetDeploymentOptionsWorkerQueuesMinWorkers;
|
|
679
|
+
/**
|
|
680
|
+
* Worker queue worker concurrency
|
|
681
|
+
*/
|
|
682
|
+
workerConcurrency: outputs.GetDeploymentOptionsWorkerQueuesWorkerConcurrency;
|
|
683
|
+
}
|
|
684
|
+
export interface GetDeploymentOptionsWorkerQueuesMaxWorkers {
|
|
685
|
+
/**
|
|
686
|
+
* Resource range ceiling
|
|
687
|
+
*/
|
|
688
|
+
ceiling: string;
|
|
689
|
+
/**
|
|
690
|
+
* Resource range default
|
|
691
|
+
*/
|
|
692
|
+
default: string;
|
|
693
|
+
/**
|
|
694
|
+
* Resource range floor
|
|
695
|
+
*/
|
|
696
|
+
floor: string;
|
|
697
|
+
}
|
|
698
|
+
export interface GetDeploymentOptionsWorkerQueuesMinWorkers {
|
|
699
|
+
/**
|
|
700
|
+
* Resource range ceiling
|
|
701
|
+
*/
|
|
702
|
+
ceiling: string;
|
|
703
|
+
/**
|
|
704
|
+
* Resource range default
|
|
705
|
+
*/
|
|
706
|
+
default: string;
|
|
707
|
+
/**
|
|
708
|
+
* Resource range floor
|
|
709
|
+
*/
|
|
710
|
+
floor: string;
|
|
711
|
+
}
|
|
712
|
+
export interface GetDeploymentOptionsWorkerQueuesWorkerConcurrency {
|
|
713
|
+
/**
|
|
714
|
+
* Resource range ceiling
|
|
715
|
+
*/
|
|
716
|
+
ceiling: string;
|
|
717
|
+
/**
|
|
718
|
+
* Resource range default
|
|
719
|
+
*/
|
|
720
|
+
default: string;
|
|
721
|
+
/**
|
|
722
|
+
* Resource range floor
|
|
723
|
+
*/
|
|
724
|
+
floor: string;
|
|
725
|
+
}
|
|
726
|
+
export interface GetDeploymentOptionsWorkloadIdentityOption {
|
|
727
|
+
label: string;
|
|
728
|
+
role: string;
|
|
729
|
+
}
|
|
730
|
+
export interface GetDeploymentScalingSpec {
|
|
731
|
+
hibernationSpec: outputs.GetDeploymentScalingSpecHibernationSpec;
|
|
732
|
+
}
|
|
733
|
+
export interface GetDeploymentScalingSpecHibernationSpec {
|
|
734
|
+
override: outputs.GetDeploymentScalingSpecHibernationSpecOverride;
|
|
735
|
+
schedules: outputs.GetDeploymentScalingSpecHibernationSpecSchedule[];
|
|
736
|
+
}
|
|
737
|
+
export interface GetDeploymentScalingSpecHibernationSpecOverride {
|
|
738
|
+
/**
|
|
739
|
+
* Whether the override is active
|
|
740
|
+
*/
|
|
741
|
+
isActive: boolean;
|
|
742
|
+
/**
|
|
743
|
+
* Whether the override is hibernating
|
|
744
|
+
*/
|
|
745
|
+
isHibernating: boolean;
|
|
746
|
+
/**
|
|
747
|
+
* Time until the override is active
|
|
748
|
+
*/
|
|
749
|
+
overrideUntil: string;
|
|
750
|
+
}
|
|
751
|
+
export interface GetDeploymentScalingSpecHibernationSpecSchedule {
|
|
752
|
+
/**
|
|
753
|
+
* Description of the schedule
|
|
754
|
+
*/
|
|
755
|
+
description: string;
|
|
756
|
+
/**
|
|
757
|
+
* Cron expression for hibernation
|
|
758
|
+
*/
|
|
759
|
+
hibernateAtCron: string;
|
|
760
|
+
/**
|
|
761
|
+
* Whether the schedule is enabled
|
|
762
|
+
*/
|
|
763
|
+
isEnabled: boolean;
|
|
764
|
+
/**
|
|
765
|
+
* Cron expression for waking
|
|
766
|
+
*/
|
|
767
|
+
wakeAtCron: string;
|
|
768
|
+
}
|
|
769
|
+
export interface GetDeploymentScalingStatus {
|
|
770
|
+
hibernationStatus: outputs.GetDeploymentScalingStatusHibernationStatus;
|
|
771
|
+
}
|
|
772
|
+
export interface GetDeploymentScalingStatusHibernationStatus {
|
|
773
|
+
/**
|
|
774
|
+
* Whether the deployment is hibernating
|
|
775
|
+
*/
|
|
776
|
+
isHibernating: boolean;
|
|
777
|
+
/**
|
|
778
|
+
* Time of the next event
|
|
779
|
+
*/
|
|
780
|
+
nextEventAt: string;
|
|
781
|
+
/**
|
|
782
|
+
* Type of the next event
|
|
783
|
+
*/
|
|
784
|
+
nextEventType: string;
|
|
785
|
+
/**
|
|
786
|
+
* Reason for the current state
|
|
787
|
+
*/
|
|
788
|
+
reason: string;
|
|
789
|
+
}
|
|
790
|
+
export interface GetDeploymentUpdatedBy {
|
|
791
|
+
apiTokenName: string;
|
|
792
|
+
avatarUrl: string;
|
|
793
|
+
fullName: string;
|
|
794
|
+
id: string;
|
|
795
|
+
subjectType: string;
|
|
796
|
+
username: string;
|
|
797
|
+
}
|
|
798
|
+
export interface GetDeploymentWorkerQueue {
|
|
799
|
+
/**
|
|
800
|
+
* Worker queue Astro machine value
|
|
801
|
+
*/
|
|
802
|
+
astroMachine: string;
|
|
803
|
+
/**
|
|
804
|
+
* Worker queue identifier
|
|
805
|
+
*/
|
|
806
|
+
id: string;
|
|
807
|
+
/**
|
|
808
|
+
* Whether Worker queue is default
|
|
809
|
+
*/
|
|
810
|
+
isDefault: boolean;
|
|
811
|
+
/**
|
|
812
|
+
* Worker queue max worker count
|
|
813
|
+
*/
|
|
814
|
+
maxWorkerCount: number;
|
|
815
|
+
/**
|
|
816
|
+
* Worker queue min worker count
|
|
817
|
+
*/
|
|
818
|
+
minWorkerCount: number;
|
|
819
|
+
/**
|
|
820
|
+
* Worker queue name
|
|
821
|
+
*/
|
|
822
|
+
name: string;
|
|
823
|
+
/**
|
|
824
|
+
* Worker queue node pool identifier
|
|
825
|
+
*/
|
|
826
|
+
nodePoolId: string;
|
|
827
|
+
/**
|
|
828
|
+
* Worker queue pod CPU
|
|
829
|
+
*/
|
|
830
|
+
podCpu: string;
|
|
831
|
+
/**
|
|
832
|
+
* Worker queue pod memory
|
|
833
|
+
*/
|
|
834
|
+
podMemory: string;
|
|
835
|
+
/**
|
|
836
|
+
* Worker queue worker concurrency
|
|
837
|
+
*/
|
|
838
|
+
workerConcurrency: number;
|
|
839
|
+
}
|
|
840
|
+
export interface GetDeploymentsDeployment {
|
|
841
|
+
/**
|
|
842
|
+
* Deployment Airflow version
|
|
843
|
+
*/
|
|
844
|
+
airflowVersion: string;
|
|
845
|
+
/**
|
|
846
|
+
* Deployment Astro Runtime version
|
|
847
|
+
*/
|
|
848
|
+
astroRuntimeVersion: string;
|
|
849
|
+
/**
|
|
850
|
+
* Deployment cloud provider
|
|
851
|
+
*/
|
|
852
|
+
cloudProvider: string;
|
|
853
|
+
/**
|
|
854
|
+
* Deployment cluster identifier
|
|
855
|
+
*/
|
|
856
|
+
clusterId: string;
|
|
857
|
+
/**
|
|
858
|
+
* Deployment contact emails
|
|
859
|
+
*/
|
|
860
|
+
contactEmails: string[];
|
|
861
|
+
/**
|
|
862
|
+
* Deployment creation timestamp
|
|
863
|
+
*/
|
|
864
|
+
createdAt: string;
|
|
865
|
+
/**
|
|
866
|
+
* Deployment creator
|
|
867
|
+
*/
|
|
868
|
+
createdBy: outputs.GetDeploymentsDeploymentCreatedBy;
|
|
869
|
+
/**
|
|
870
|
+
* Deployment DAG tarball version
|
|
871
|
+
*/
|
|
872
|
+
dagTarballVersion: string;
|
|
873
|
+
/**
|
|
874
|
+
* Deployment default task pod CPU
|
|
875
|
+
*/
|
|
876
|
+
defaultTaskPodCpu: string;
|
|
877
|
+
/**
|
|
878
|
+
* Deployment default task pod memory
|
|
879
|
+
*/
|
|
880
|
+
defaultTaskPodMemory: string;
|
|
881
|
+
/**
|
|
882
|
+
* Deployment description
|
|
883
|
+
*/
|
|
884
|
+
description: string;
|
|
885
|
+
/**
|
|
886
|
+
* Deployment desired DAG tarball version
|
|
887
|
+
*/
|
|
888
|
+
desiredDagTarballVersion: string;
|
|
889
|
+
/**
|
|
890
|
+
* Deployment environment variables
|
|
891
|
+
*/
|
|
892
|
+
environmentVariables: outputs.GetDeploymentsDeploymentEnvironmentVariable[];
|
|
893
|
+
/**
|
|
894
|
+
* Deployment executor
|
|
895
|
+
*/
|
|
896
|
+
executor: string;
|
|
897
|
+
/**
|
|
898
|
+
* Deployment external IPs
|
|
899
|
+
*/
|
|
900
|
+
externalIps: string[];
|
|
901
|
+
/**
|
|
902
|
+
* Deployment identifier
|
|
903
|
+
*/
|
|
904
|
+
id: string;
|
|
905
|
+
/**
|
|
906
|
+
* Deployment image repository
|
|
907
|
+
*/
|
|
908
|
+
imageRepository: string;
|
|
909
|
+
/**
|
|
910
|
+
* Deployment image tag
|
|
911
|
+
*/
|
|
912
|
+
imageTag: string;
|
|
913
|
+
/**
|
|
914
|
+
* Deployment image version
|
|
915
|
+
*/
|
|
916
|
+
imageVersion: string;
|
|
917
|
+
/**
|
|
918
|
+
* Whether the Deployment enforces CI/CD deploys
|
|
919
|
+
*/
|
|
920
|
+
isCicdEnforced: boolean;
|
|
921
|
+
/**
|
|
922
|
+
* Whether DAG deploy is enabled
|
|
923
|
+
*/
|
|
924
|
+
isDagDeployEnabled: boolean;
|
|
925
|
+
/**
|
|
926
|
+
* Whether Deployment is in development mode
|
|
927
|
+
*/
|
|
928
|
+
isDevelopmentMode: boolean;
|
|
929
|
+
/**
|
|
930
|
+
* Whether Deployment has high availability
|
|
931
|
+
*/
|
|
932
|
+
isHighAvailability: boolean;
|
|
933
|
+
/**
|
|
934
|
+
* Deployment name
|
|
935
|
+
*/
|
|
936
|
+
name: string;
|
|
937
|
+
/**
|
|
938
|
+
* Deployment namespace
|
|
939
|
+
*/
|
|
940
|
+
namespace: string;
|
|
941
|
+
/**
|
|
942
|
+
* Deployment OIDC issuer URL
|
|
943
|
+
*/
|
|
944
|
+
oidcIssuerUrl: string;
|
|
945
|
+
/**
|
|
946
|
+
* Deployment region
|
|
947
|
+
*/
|
|
948
|
+
region: string;
|
|
949
|
+
/**
|
|
950
|
+
* Deployment resource quota CPU
|
|
951
|
+
*/
|
|
952
|
+
resourceQuotaCpu: string;
|
|
953
|
+
/**
|
|
954
|
+
* Deployment resource quota memory
|
|
955
|
+
*/
|
|
956
|
+
resourceQuotaMemory: string;
|
|
957
|
+
/**
|
|
958
|
+
* Deployment scaling spec
|
|
959
|
+
*/
|
|
960
|
+
scalingSpec: outputs.GetDeploymentsDeploymentScalingSpec;
|
|
961
|
+
/**
|
|
962
|
+
* Deployment scaling status
|
|
963
|
+
*/
|
|
964
|
+
scalingStatus: outputs.GetDeploymentsDeploymentScalingStatus;
|
|
965
|
+
/**
|
|
966
|
+
* Deployment scheduler AU
|
|
967
|
+
*/
|
|
968
|
+
schedulerAu: number;
|
|
969
|
+
/**
|
|
970
|
+
* Deployment scheduler CPU
|
|
971
|
+
*/
|
|
972
|
+
schedulerCpu: string;
|
|
973
|
+
/**
|
|
974
|
+
* Deployment scheduler memory
|
|
975
|
+
*/
|
|
976
|
+
schedulerMemory: string;
|
|
977
|
+
/**
|
|
978
|
+
* Deployment scheduler replicas
|
|
979
|
+
*/
|
|
980
|
+
schedulerReplicas: number;
|
|
981
|
+
/**
|
|
982
|
+
* Deployment scheduler size
|
|
983
|
+
*/
|
|
984
|
+
schedulerSize: string;
|
|
985
|
+
/**
|
|
986
|
+
* Deployment status
|
|
987
|
+
*/
|
|
988
|
+
status: string;
|
|
989
|
+
/**
|
|
990
|
+
* Deployment status reason
|
|
991
|
+
*/
|
|
992
|
+
statusReason: string;
|
|
993
|
+
/**
|
|
994
|
+
* Deployment task pod node pool identifier
|
|
995
|
+
*/
|
|
996
|
+
taskPodNodePoolId: string;
|
|
997
|
+
/**
|
|
998
|
+
* Deployment type
|
|
999
|
+
*/
|
|
1000
|
+
type: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* Deployment last updated timestamp
|
|
1003
|
+
*/
|
|
1004
|
+
updatedAt: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* Deployment updater
|
|
1007
|
+
*/
|
|
1008
|
+
updatedBy: outputs.GetDeploymentsDeploymentUpdatedBy;
|
|
1009
|
+
/**
|
|
1010
|
+
* Deployment webserver Airflow API URL
|
|
1011
|
+
*/
|
|
1012
|
+
webserverAirflowApiUrl: string;
|
|
1013
|
+
/**
|
|
1014
|
+
* Deployment webserver ingress hostname
|
|
1015
|
+
*/
|
|
1016
|
+
webserverIngressHostname: string;
|
|
1017
|
+
/**
|
|
1018
|
+
* Deployment webserver URL
|
|
1019
|
+
*/
|
|
1020
|
+
webserverUrl: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* Deployment worker queues
|
|
1023
|
+
*/
|
|
1024
|
+
workerQueues: outputs.GetDeploymentsDeploymentWorkerQueue[];
|
|
1025
|
+
/**
|
|
1026
|
+
* Deployment workload identity
|
|
1027
|
+
*/
|
|
1028
|
+
workloadIdentity: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* Deployment workspace identifier
|
|
1031
|
+
*/
|
|
1032
|
+
workspaceId: string;
|
|
1033
|
+
}
|
|
1034
|
+
export interface GetDeploymentsDeploymentCreatedBy {
|
|
1035
|
+
apiTokenName: string;
|
|
1036
|
+
avatarUrl: string;
|
|
1037
|
+
fullName: string;
|
|
1038
|
+
id: string;
|
|
1039
|
+
subjectType: string;
|
|
1040
|
+
username: string;
|
|
1041
|
+
}
|
|
1042
|
+
export interface GetDeploymentsDeploymentEnvironmentVariable {
|
|
1043
|
+
/**
|
|
1044
|
+
* Whether Environment variable is a secret
|
|
1045
|
+
*/
|
|
1046
|
+
isSecret: boolean;
|
|
1047
|
+
/**
|
|
1048
|
+
* Environment variable key
|
|
1049
|
+
*/
|
|
1050
|
+
key: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* Environment variable last updated timestamp
|
|
1053
|
+
*/
|
|
1054
|
+
updatedAt: string;
|
|
1055
|
+
/**
|
|
1056
|
+
* Environment variable value
|
|
1057
|
+
*/
|
|
1058
|
+
value: string;
|
|
1059
|
+
}
|
|
1060
|
+
export interface GetDeploymentsDeploymentScalingSpec {
|
|
1061
|
+
hibernationSpec: outputs.GetDeploymentsDeploymentScalingSpecHibernationSpec;
|
|
1062
|
+
}
|
|
1063
|
+
export interface GetDeploymentsDeploymentScalingSpecHibernationSpec {
|
|
1064
|
+
override: outputs.GetDeploymentsDeploymentScalingSpecHibernationSpecOverride;
|
|
1065
|
+
schedules: outputs.GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule[];
|
|
1066
|
+
}
|
|
1067
|
+
export interface GetDeploymentsDeploymentScalingSpecHibernationSpecOverride {
|
|
1068
|
+
/**
|
|
1069
|
+
* Whether the override is active
|
|
1070
|
+
*/
|
|
1071
|
+
isActive: boolean;
|
|
1072
|
+
/**
|
|
1073
|
+
* Whether the override is hibernating
|
|
1074
|
+
*/
|
|
1075
|
+
isHibernating: boolean;
|
|
1076
|
+
/**
|
|
1077
|
+
* Time until the override is active
|
|
1078
|
+
*/
|
|
1079
|
+
overrideUntil: string;
|
|
1080
|
+
}
|
|
1081
|
+
export interface GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule {
|
|
1082
|
+
/**
|
|
1083
|
+
* Description of the schedule
|
|
1084
|
+
*/
|
|
1085
|
+
description: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* Cron expression for hibernation
|
|
1088
|
+
*/
|
|
1089
|
+
hibernateAtCron: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* Whether the schedule is enabled
|
|
1092
|
+
*/
|
|
1093
|
+
isEnabled: boolean;
|
|
1094
|
+
/**
|
|
1095
|
+
* Cron expression for waking
|
|
1096
|
+
*/
|
|
1097
|
+
wakeAtCron: string;
|
|
1098
|
+
}
|
|
1099
|
+
export interface GetDeploymentsDeploymentScalingStatus {
|
|
1100
|
+
hibernationStatus: outputs.GetDeploymentsDeploymentScalingStatusHibernationStatus;
|
|
1101
|
+
}
|
|
1102
|
+
export interface GetDeploymentsDeploymentScalingStatusHibernationStatus {
|
|
1103
|
+
/**
|
|
1104
|
+
* Whether the deployment is hibernating
|
|
1105
|
+
*/
|
|
1106
|
+
isHibernating: boolean;
|
|
1107
|
+
/**
|
|
1108
|
+
* Time of the next event
|
|
1109
|
+
*/
|
|
1110
|
+
nextEventAt: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* Type of the next event
|
|
1113
|
+
*/
|
|
1114
|
+
nextEventType: string;
|
|
1115
|
+
/**
|
|
1116
|
+
* Reason for the current state
|
|
1117
|
+
*/
|
|
1118
|
+
reason: string;
|
|
1119
|
+
}
|
|
1120
|
+
export interface GetDeploymentsDeploymentUpdatedBy {
|
|
1121
|
+
apiTokenName: string;
|
|
1122
|
+
avatarUrl: string;
|
|
1123
|
+
fullName: string;
|
|
1124
|
+
id: string;
|
|
1125
|
+
subjectType: string;
|
|
1126
|
+
username: string;
|
|
1127
|
+
}
|
|
1128
|
+
export interface GetDeploymentsDeploymentWorkerQueue {
|
|
1129
|
+
/**
|
|
1130
|
+
* Worker queue Astro machine value
|
|
1131
|
+
*/
|
|
1132
|
+
astroMachine: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* Worker queue identifier
|
|
1135
|
+
*/
|
|
1136
|
+
id: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* Whether Worker queue is default
|
|
1139
|
+
*/
|
|
1140
|
+
isDefault: boolean;
|
|
1141
|
+
/**
|
|
1142
|
+
* Worker queue max worker count
|
|
1143
|
+
*/
|
|
1144
|
+
maxWorkerCount: number;
|
|
1145
|
+
/**
|
|
1146
|
+
* Worker queue min worker count
|
|
1147
|
+
*/
|
|
1148
|
+
minWorkerCount: number;
|
|
1149
|
+
/**
|
|
1150
|
+
* Worker queue name
|
|
1151
|
+
*/
|
|
1152
|
+
name: string;
|
|
1153
|
+
/**
|
|
1154
|
+
* Worker queue node pool identifier
|
|
1155
|
+
*/
|
|
1156
|
+
nodePoolId: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* Worker queue pod CPU
|
|
1159
|
+
*/
|
|
1160
|
+
podCpu: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* Worker queue pod memory
|
|
1163
|
+
*/
|
|
1164
|
+
podMemory: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* Worker queue worker concurrency
|
|
1167
|
+
*/
|
|
1168
|
+
workerConcurrency: number;
|
|
1169
|
+
}
|
|
1170
|
+
export interface GetOrganizationCreatedBy {
|
|
1171
|
+
apiTokenName: string;
|
|
1172
|
+
avatarUrl: string;
|
|
1173
|
+
fullName: string;
|
|
1174
|
+
id: string;
|
|
1175
|
+
subjectType: string;
|
|
1176
|
+
username: string;
|
|
1177
|
+
}
|
|
1178
|
+
export interface GetOrganizationUpdatedBy {
|
|
1179
|
+
apiTokenName: string;
|
|
1180
|
+
avatarUrl: string;
|
|
1181
|
+
fullName: string;
|
|
1182
|
+
id: string;
|
|
1183
|
+
subjectType: string;
|
|
1184
|
+
username: string;
|
|
1185
|
+
}
|
|
1186
|
+
export interface GetTeamCreatedBy {
|
|
1187
|
+
apiTokenName: string;
|
|
1188
|
+
avatarUrl: string;
|
|
1189
|
+
fullName: string;
|
|
1190
|
+
id: string;
|
|
1191
|
+
subjectType: string;
|
|
1192
|
+
username: string;
|
|
1193
|
+
}
|
|
1194
|
+
export interface GetTeamDeploymentRole {
|
|
1195
|
+
/**
|
|
1196
|
+
* The ID of the deployment the role is assigned to
|
|
1197
|
+
*/
|
|
1198
|
+
deploymentId: string;
|
|
1199
|
+
/**
|
|
1200
|
+
* The role assigned to the deployment
|
|
1201
|
+
*/
|
|
1202
|
+
role: string;
|
|
1203
|
+
}
|
|
1204
|
+
export interface GetTeamUpdatedBy {
|
|
1205
|
+
apiTokenName: string;
|
|
1206
|
+
avatarUrl: string;
|
|
1207
|
+
fullName: string;
|
|
1208
|
+
id: string;
|
|
1209
|
+
subjectType: string;
|
|
1210
|
+
username: string;
|
|
1211
|
+
}
|
|
1212
|
+
export interface GetTeamWorkspaceRole {
|
|
1213
|
+
/**
|
|
1214
|
+
* The role assigned to the workspace
|
|
1215
|
+
*/
|
|
1216
|
+
role: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* The ID of the workspace the role is assigned to
|
|
1219
|
+
*/
|
|
1220
|
+
workspaceId: string;
|
|
1221
|
+
}
|
|
1222
|
+
export interface GetTeamsTeam {
|
|
1223
|
+
/**
|
|
1224
|
+
* Team creation timestamp
|
|
1225
|
+
*/
|
|
1226
|
+
createdAt: string;
|
|
1227
|
+
/**
|
|
1228
|
+
* Team creator
|
|
1229
|
+
*/
|
|
1230
|
+
createdBy: outputs.GetTeamsTeamCreatedBy;
|
|
1231
|
+
/**
|
|
1232
|
+
* The roles assigned to the deployments
|
|
1233
|
+
*/
|
|
1234
|
+
deploymentRoles: outputs.GetTeamsTeamDeploymentRole[];
|
|
1235
|
+
/**
|
|
1236
|
+
* Team description
|
|
1237
|
+
*/
|
|
1238
|
+
description: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* Team identifier
|
|
1241
|
+
*/
|
|
1242
|
+
id: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* Whether the team is managed by an identity provider
|
|
1245
|
+
*/
|
|
1246
|
+
isIdpManaged: boolean;
|
|
1247
|
+
/**
|
|
1248
|
+
* Team name
|
|
1249
|
+
*/
|
|
1250
|
+
name: string;
|
|
1251
|
+
/**
|
|
1252
|
+
* The role assigned to the organization
|
|
1253
|
+
*/
|
|
1254
|
+
organizationRole: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* Number of roles assigned to the team
|
|
1257
|
+
*/
|
|
1258
|
+
rolesCount: number;
|
|
1259
|
+
/**
|
|
1260
|
+
* Team last updated timestamp
|
|
1261
|
+
*/
|
|
1262
|
+
updatedAt: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* Team updater
|
|
1265
|
+
*/
|
|
1266
|
+
updatedBy: outputs.GetTeamsTeamUpdatedBy;
|
|
1267
|
+
/**
|
|
1268
|
+
* The roles assigned to the workspaces
|
|
1269
|
+
*/
|
|
1270
|
+
workspaceRoles: outputs.GetTeamsTeamWorkspaceRole[];
|
|
1271
|
+
}
|
|
1272
|
+
export interface GetTeamsTeamCreatedBy {
|
|
1273
|
+
apiTokenName: string;
|
|
1274
|
+
avatarUrl: string;
|
|
1275
|
+
fullName: string;
|
|
1276
|
+
id: string;
|
|
1277
|
+
subjectType: string;
|
|
1278
|
+
username: string;
|
|
1279
|
+
}
|
|
1280
|
+
export interface GetTeamsTeamDeploymentRole {
|
|
1281
|
+
/**
|
|
1282
|
+
* The ID of the deployment the role is assigned to
|
|
1283
|
+
*/
|
|
1284
|
+
deploymentId: string;
|
|
1285
|
+
/**
|
|
1286
|
+
* The role assigned to the deployment
|
|
1287
|
+
*/
|
|
1288
|
+
role: string;
|
|
1289
|
+
}
|
|
1290
|
+
export interface GetTeamsTeamUpdatedBy {
|
|
1291
|
+
apiTokenName: string;
|
|
1292
|
+
avatarUrl: string;
|
|
1293
|
+
fullName: string;
|
|
1294
|
+
id: string;
|
|
1295
|
+
subjectType: string;
|
|
1296
|
+
username: string;
|
|
1297
|
+
}
|
|
1298
|
+
export interface GetTeamsTeamWorkspaceRole {
|
|
1299
|
+
/**
|
|
1300
|
+
* The role assigned to the workspace
|
|
1301
|
+
*/
|
|
1302
|
+
role: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* The ID of the workspace the role is assigned to
|
|
1305
|
+
*/
|
|
1306
|
+
workspaceId: string;
|
|
1307
|
+
}
|
|
1308
|
+
export interface GetWorkspaceCreatedBy {
|
|
1309
|
+
apiTokenName: string;
|
|
1310
|
+
avatarUrl: string;
|
|
1311
|
+
fullName: string;
|
|
1312
|
+
id: string;
|
|
1313
|
+
subjectType: string;
|
|
1314
|
+
username: string;
|
|
1315
|
+
}
|
|
1316
|
+
export interface GetWorkspaceUpdatedBy {
|
|
1317
|
+
apiTokenName: string;
|
|
1318
|
+
avatarUrl: string;
|
|
1319
|
+
fullName: string;
|
|
1320
|
+
id: string;
|
|
1321
|
+
subjectType: string;
|
|
1322
|
+
username: string;
|
|
1323
|
+
}
|
|
1324
|
+
export interface GetWorkspacesWorkspace {
|
|
1325
|
+
/**
|
|
1326
|
+
* Whether new Deployments enforce CI/CD deploys by default
|
|
1327
|
+
*/
|
|
1328
|
+
cicdEnforcedDefault: boolean;
|
|
1329
|
+
/**
|
|
1330
|
+
* Workspace creation timestamp
|
|
1331
|
+
*/
|
|
1332
|
+
createdAt: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Workspace creator
|
|
1335
|
+
*/
|
|
1336
|
+
createdBy: outputs.GetWorkspacesWorkspaceCreatedBy;
|
|
1337
|
+
/**
|
|
1338
|
+
* Workspace description
|
|
1339
|
+
*/
|
|
1340
|
+
description: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* Workspace identifier
|
|
1343
|
+
*/
|
|
1344
|
+
id: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* Workspace name
|
|
1347
|
+
*/
|
|
1348
|
+
name: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* Workspace last updated timestamp
|
|
1351
|
+
*/
|
|
1352
|
+
updatedAt: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* Workspace updater
|
|
1355
|
+
*/
|
|
1356
|
+
updatedBy: outputs.GetWorkspacesWorkspaceUpdatedBy;
|
|
1357
|
+
}
|
|
1358
|
+
export interface GetWorkspacesWorkspaceCreatedBy {
|
|
1359
|
+
apiTokenName: string;
|
|
1360
|
+
avatarUrl: string;
|
|
1361
|
+
fullName: string;
|
|
1362
|
+
id: string;
|
|
1363
|
+
subjectType: string;
|
|
1364
|
+
username: string;
|
|
1365
|
+
}
|
|
1366
|
+
export interface GetWorkspacesWorkspaceUpdatedBy {
|
|
1367
|
+
apiTokenName: string;
|
|
1368
|
+
avatarUrl: string;
|
|
1369
|
+
fullName: string;
|
|
1370
|
+
id: string;
|
|
1371
|
+
subjectType: string;
|
|
1372
|
+
username: string;
|
|
1373
|
+
}
|
|
1374
|
+
export interface TeamRolesDeploymentRole {
|
|
1375
|
+
/**
|
|
1376
|
+
* The ID of the deployment to assign the role to
|
|
1377
|
+
*/
|
|
1378
|
+
deploymentId: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* The role to assign to the deployment
|
|
1381
|
+
*/
|
|
1382
|
+
role: string;
|
|
1383
|
+
}
|
|
1384
|
+
export interface TeamRolesWorkspaceRole {
|
|
1385
|
+
/**
|
|
1386
|
+
* The role to assign to the workspace
|
|
1387
|
+
*/
|
|
1388
|
+
role: string;
|
|
1389
|
+
/**
|
|
1390
|
+
* The ID of the workspace to assign the role to
|
|
1391
|
+
*/
|
|
1392
|
+
workspaceId: string;
|
|
1393
|
+
}
|
|
1394
|
+
export interface WorkspaceCreatedBy {
|
|
1395
|
+
apiTokenName: string;
|
|
1396
|
+
avatarUrl: string;
|
|
1397
|
+
fullName: string;
|
|
1398
|
+
id: string;
|
|
1399
|
+
subjectType: string;
|
|
1400
|
+
username: string;
|
|
1401
|
+
}
|
|
1402
|
+
export interface WorkspaceUpdatedBy {
|
|
1403
|
+
apiTokenName: string;
|
|
1404
|
+
avatarUrl: string;
|
|
1405
|
+
fullName: string;
|
|
1406
|
+
id: string;
|
|
1407
|
+
subjectType: string;
|
|
1408
|
+
username: string;
|
|
1409
|
+
}
|