@ryan-pip/pulumi_astronomer 0.0.11 → 0.2.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.
Files changed (86) hide show
  1. package/README.md +1 -2
  2. package/apiToken.d.ts +167 -0
  3. package/apiToken.js +86 -0
  4. package/apiToken.js.map +1 -0
  5. package/cluster.d.ts +110 -85
  6. package/cluster.js +51 -19
  7. package/cluster.js.map +1 -1
  8. package/config/vars.d.ts +6 -2
  9. package/config/vars.js +7 -1
  10. package/config/vars.js.map +1 -1
  11. package/deployment.d.ts +305 -90
  12. package/deployment.js +61 -21
  13. package/deployment.js.map +1 -1
  14. package/getApiToken.d.ts +113 -0
  15. package/getApiToken.js +49 -0
  16. package/getApiToken.js.map +1 -0
  17. package/getApiTokens.d.ts +77 -0
  18. package/getApiTokens.js +66 -0
  19. package/getApiTokens.js.map +1 -0
  20. package/getCluster.d.ts +46 -32
  21. package/getCluster.js +8 -6
  22. package/getCluster.js.map +1 -1
  23. package/getClusterOptions.d.ts +68 -0
  24. package/getClusterOptions.js +58 -0
  25. package/getClusterOptions.js.map +1 -0
  26. package/getClusters.d.ts +68 -0
  27. package/getClusters.js +59 -0
  28. package/getClusters.js.map +1 -0
  29. package/getDeployment.d.ts +198 -13
  30. package/getDeployment.js +26 -2
  31. package/getDeployment.js.map +1 -1
  32. package/getDeploymentOptions.d.ts +149 -0
  33. package/getDeploymentOptions.js +73 -0
  34. package/getDeploymentOptions.js.map +1 -0
  35. package/getDeployments.d.ts +77 -0
  36. package/getDeployments.js +66 -0
  37. package/getDeployments.js.map +1 -0
  38. package/getOrganization.d.ts +28 -46
  39. package/getOrganization.js +10 -15
  40. package/getOrganization.js.map +1 -1
  41. package/getTeam.d.ts +105 -0
  42. package/getTeam.js +49 -0
  43. package/getTeam.js.map +1 -0
  44. package/getTeams.d.ts +65 -0
  45. package/getTeams.js +58 -0
  46. package/getTeams.js.map +1 -0
  47. package/getUser.d.ts +97 -0
  48. package/getUser.js +49 -0
  49. package/getUser.js.map +1 -0
  50. package/getUsers.d.ts +68 -0
  51. package/getUsers.js +59 -0
  52. package/getUsers.js.map +1 -0
  53. package/getWorkspace.d.ts +31 -12
  54. package/getWorkspace.js +8 -6
  55. package/getWorkspace.js.map +1 -1
  56. package/getWorkspaces.d.ts +80 -0
  57. package/getWorkspaces.js +71 -0
  58. package/getWorkspaces.js.map +1 -0
  59. package/hybridClusterWorkspaceAuthorization.d.ts +82 -0
  60. package/hybridClusterWorkspaceAuthorization.js +76 -0
  61. package/hybridClusterWorkspaceAuthorization.js.map +1 -0
  62. package/index.d.ts +52 -1
  63. package/index.js +64 -1
  64. package/index.js.map +1 -1
  65. package/package.json +2 -2
  66. package/package.json.bak +1 -1
  67. package/provider.d.ts +13 -5
  68. package/provider.js +3 -2
  69. package/provider.js.map +1 -1
  70. package/team.d.ts +161 -0
  71. package/team.js +77 -0
  72. package/team.js.map +1 -0
  73. package/teamRoles.d.ts +89 -0
  74. package/teamRoles.js +64 -0
  75. package/teamRoles.js.map +1 -0
  76. package/types/input.d.ts +303 -17
  77. package/types/output.d.ts +1737 -33
  78. package/userInvite.d.ts +117 -0
  79. package/userInvite.js +82 -0
  80. package/userInvite.js.map +1 -0
  81. package/userRoles.d.ts +89 -0
  82. package/userRoles.js +64 -0
  83. package/userRoles.js.map +1 -0
  84. package/workspace.d.ts +55 -17
  85. package/workspace.js +21 -3
  86. package/workspace.js.map +1 -1
package/types/output.d.ts CHANGED
@@ -1,95 +1,1799 @@
1
- export interface ClusterK8sTag {
1
+ import * as outputs from "../types/output";
2
+ export interface ApiTokenCreatedBy {
3
+ apiTokenName: string;
4
+ avatarUrl: string;
5
+ fullName: string;
6
+ id: string;
7
+ subjectType: string;
8
+ username: string;
9
+ }
10
+ export interface ApiTokenRole {
2
11
  /**
3
- * The tag's key.
12
+ * The ID of the entity to assign the role to
4
13
  */
5
- key: string;
14
+ entityId: string;
15
+ /**
16
+ * The type of entity to assign the role to
17
+ */
18
+ entityType: string;
19
+ /**
20
+ * The role to assign to the entity
21
+ */
22
+ role: string;
23
+ }
24
+ export interface ApiTokenUpdatedBy {
25
+ apiTokenName: string;
26
+ avatarUrl: string;
27
+ fullName: string;
28
+ id: string;
29
+ subjectType: string;
30
+ username: string;
31
+ }
32
+ export interface ClusterHealthStatus {
33
+ /**
34
+ * Cluster health status details
35
+ */
36
+ details: outputs.ClusterHealthStatusDetail[];
6
37
  /**
7
- * The tag's value.
38
+ * Cluster health status value
8
39
  */
9
40
  value: string;
10
41
  }
42
+ export interface ClusterHealthStatusDetail {
43
+ /**
44
+ * Cluster health status detail code
45
+ */
46
+ code: string;
47
+ /**
48
+ * Cluster health status detail description
49
+ */
50
+ description: string;
51
+ /**
52
+ * Cluster health status detail severity
53
+ */
54
+ severity: string;
55
+ }
11
56
  export interface ClusterMetadata {
12
- externalIps?: string[];
13
- oidcIssuerUrl?: string;
57
+ /**
58
+ * Cluster external IPs
59
+ */
60
+ externalIps: string[];
61
+ /**
62
+ * Cluster kube DNS IP
63
+ */
64
+ kubeDnsIp: string;
65
+ /**
66
+ * Cluster OIDC issuer URL
67
+ */
68
+ oidcIssuerUrl: string;
14
69
  }
15
70
  export interface ClusterNodePool {
16
71
  /**
17
- * Whether the node pool is the default node pool of the cluster.
72
+ * Node pool cloud provider
73
+ */
74
+ cloudProvider: string;
75
+ /**
76
+ * Node pool cluster identifier
77
+ */
78
+ clusterId: string;
79
+ /**
80
+ * Node pool creation timestamp
81
+ */
82
+ createdAt: string;
83
+ /**
84
+ * Node pool identifier
18
85
  */
19
- isDefault?: boolean;
86
+ id: string;
87
+ /**
88
+ * Whether the node pool is the default node pool of the cluster
89
+ */
90
+ isDefault: boolean;
20
91
  /**
21
- * The maximum number of nodes that can be created in the node pool.
92
+ * Node pool maximum node count
22
93
  */
23
94
  maxNodeCount: number;
24
95
  /**
25
- * The name of the node pool.
96
+ * Node pool name
26
97
  */
27
98
  name: string;
28
99
  /**
29
- * The type of node instance that is used for the node pool.
100
+ * Node pool node instance type
30
101
  */
31
102
  nodeInstanceType: string;
103
+ /**
104
+ * Node pool supported Astro machines
105
+ */
106
+ supportedAstroMachines: string[];
107
+ /**
108
+ * Node pool last updated timestamp
109
+ */
110
+ updatedAt: string;
111
+ }
112
+ export interface ClusterTimeouts {
113
+ /**
114
+ * 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).
115
+ */
116
+ create?: string;
117
+ /**
118
+ * 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.
119
+ */
120
+ delete?: string;
121
+ /**
122
+ * 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).
123
+ */
124
+ update?: string;
125
+ }
126
+ export interface DeploymentCreatedBy {
127
+ apiTokenName: string;
128
+ avatarUrl: string;
129
+ fullName: string;
130
+ id: string;
131
+ subjectType: string;
132
+ username: string;
32
133
  }
33
134
  export interface DeploymentEnvironmentVariable {
34
135
  /**
35
- * Whether the environment variable is a secret.
136
+ * Whether Environment variable is a secret
36
137
  */
37
138
  isSecret: boolean;
38
139
  /**
39
- * The environment variable key, used to call the value in code.
140
+ * Environment variable key
40
141
  */
41
142
  key: string;
42
143
  /**
43
- * The environment variable value.
144
+ * Environment variable last updated timestamp
145
+ */
146
+ updatedAt: string;
147
+ /**
148
+ * Environment variable value
44
149
  */
45
150
  value?: string;
46
151
  }
47
- export interface DeploymentWorkerQueue {
48
- astroMachine: string;
152
+ export interface DeploymentScalingSpec {
153
+ /**
154
+ * 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.
155
+ */
156
+ hibernationSpec: outputs.DeploymentScalingSpecHibernationSpec;
157
+ }
158
+ export interface DeploymentScalingSpecHibernationSpec {
159
+ /**
160
+ * Hibernation override configuration. Set to null to remove the override.
161
+ */
162
+ override?: outputs.DeploymentScalingSpecHibernationSpecOverride;
163
+ /**
164
+ * List of hibernation schedules. Set to null to remove all schedules.
165
+ */
166
+ schedules?: outputs.DeploymentScalingSpecHibernationSpecSchedule[];
167
+ }
168
+ export interface DeploymentScalingSpecHibernationSpecOverride {
169
+ isActive: boolean;
170
+ isHibernating: boolean;
171
+ overrideUntil?: string;
172
+ }
173
+ export interface DeploymentScalingSpecHibernationSpecSchedule {
174
+ description?: string;
175
+ hibernateAtCron: string;
176
+ isEnabled: boolean;
177
+ wakeAtCron: string;
178
+ }
179
+ export interface DeploymentScalingStatus {
180
+ hibernationStatus: outputs.DeploymentScalingStatusHibernationStatus;
181
+ }
182
+ export interface DeploymentScalingStatusHibernationStatus {
183
+ isHibernating: boolean;
184
+ nextEventAt: string;
185
+ nextEventType: string;
186
+ reason: string;
187
+ }
188
+ export interface DeploymentUpdatedBy {
189
+ apiTokenName: string;
190
+ avatarUrl: string;
191
+ fullName: string;
49
192
  id: string;
193
+ subjectType: string;
194
+ username: string;
195
+ }
196
+ export interface DeploymentWorkerQueue {
197
+ /**
198
+ * Worker queue Astro machine value - required for 'STANDARD' and 'DEDICATED' deployments
199
+ */
200
+ astroMachine?: string;
201
+ /**
202
+ * Worker queue default
203
+ */
50
204
  isDefault: boolean;
205
+ /**
206
+ * Worker queue max worker count
207
+ */
51
208
  maxWorkerCount: number;
209
+ /**
210
+ * Worker queue min worker count
211
+ */
52
212
  minWorkerCount: number;
213
+ /**
214
+ * Worker queue name
215
+ */
53
216
  name: string;
217
+ /**
218
+ * Worker queue Node pool identifier - required for 'HYBRID' deployments
219
+ */
220
+ nodePoolId?: string;
221
+ /**
222
+ * Worker queue pod CPU
223
+ */
224
+ podCpu: string;
225
+ /**
226
+ * Worker queue pod memory
227
+ */
228
+ podMemory: string;
229
+ /**
230
+ * Worker queue worker concurrency
231
+ */
54
232
  workerConcurrency: number;
55
233
  }
56
- export interface GetClusterK8sTag {
234
+ export interface GetApiTokenCreatedBy {
235
+ apiTokenName: string;
236
+ avatarUrl: string;
237
+ fullName: string;
238
+ id: string;
239
+ subjectType: string;
240
+ username: string;
241
+ }
242
+ export interface GetApiTokenRole {
57
243
  /**
58
- * The tag's key.
244
+ * The ID of the entity to assign the role to
59
245
  */
60
- key: string;
246
+ entityId: string;
247
+ /**
248
+ * The type of entity to assign the role to
249
+ */
250
+ entityType: string;
251
+ /**
252
+ * The role to assign to the entity
253
+ */
254
+ role: string;
255
+ }
256
+ export interface GetApiTokenUpdatedBy {
257
+ apiTokenName: string;
258
+ avatarUrl: string;
259
+ fullName: string;
260
+ id: string;
261
+ subjectType: string;
262
+ username: string;
263
+ }
264
+ export interface GetApiTokensApiToken {
265
+ /**
266
+ * API Token creation timestamp
267
+ */
268
+ createdAt: string;
269
+ /**
270
+ * API Token creator
271
+ */
272
+ createdBy: outputs.GetApiTokensApiTokenCreatedBy;
273
+ /**
274
+ * API Token description
275
+ */
276
+ description: string;
277
+ /**
278
+ * time when the API token will expire in UTC
279
+ */
280
+ endAt: string;
281
+ /**
282
+ * API Token expiry period in days
283
+ */
284
+ expiryPeriodInDays: number;
285
+ /**
286
+ * API Token identifier
287
+ */
288
+ id: string;
289
+ /**
290
+ * API Token last used timestamp
291
+ */
292
+ lastUsedAt: string;
293
+ /**
294
+ * API Token name
295
+ */
296
+ name: string;
297
+ /**
298
+ * The roles assigned to the API Token
299
+ */
300
+ roles: outputs.GetApiTokensApiTokenRole[];
301
+ /**
302
+ * API Token short token
303
+ */
304
+ shortToken: string;
305
+ /**
306
+ * time when the API token will become valid in UTC
307
+ */
308
+ startAt: string;
309
+ /**
310
+ * API Token type
311
+ */
312
+ type: string;
313
+ /**
314
+ * API Token last updated timestamp
315
+ */
316
+ updatedAt: string;
317
+ /**
318
+ * API Token updater
319
+ */
320
+ updatedBy: outputs.GetApiTokensApiTokenUpdatedBy;
321
+ }
322
+ export interface GetApiTokensApiTokenCreatedBy {
323
+ apiTokenName: string;
324
+ avatarUrl: string;
325
+ fullName: string;
326
+ id: string;
327
+ subjectType: string;
328
+ username: string;
329
+ }
330
+ export interface GetApiTokensApiTokenRole {
331
+ /**
332
+ * The ID of the entity to assign the role to
333
+ */
334
+ entityId: string;
335
+ /**
336
+ * The type of entity to assign the role to
337
+ */
338
+ entityType: string;
61
339
  /**
62
- * The tag's value.
340
+ * The role to assign to the entity
341
+ */
342
+ role: string;
343
+ }
344
+ export interface GetApiTokensApiTokenUpdatedBy {
345
+ apiTokenName: string;
346
+ avatarUrl: string;
347
+ fullName: string;
348
+ id: string;
349
+ subjectType: string;
350
+ username: string;
351
+ }
352
+ export interface GetClusterHealthStatus {
353
+ /**
354
+ * Cluster health status details
355
+ */
356
+ details: outputs.GetClusterHealthStatusDetail[];
357
+ /**
358
+ * Cluster health status value
63
359
  */
64
360
  value: string;
65
361
  }
362
+ export interface GetClusterHealthStatusDetail {
363
+ /**
364
+ * Cluster health status detail code
365
+ */
366
+ code: string;
367
+ /**
368
+ * Cluster health status detail description
369
+ */
370
+ description: string;
371
+ /**
372
+ * Cluster health status detail severity
373
+ */
374
+ severity: string;
375
+ }
66
376
  export interface GetClusterMetadata {
67
- externalIps?: string[];
68
- oidcIssuerUrl?: string;
377
+ /**
378
+ * Cluster external IPs
379
+ */
380
+ externalIps: string[];
381
+ /**
382
+ * Cluster kube DNS IP
383
+ */
384
+ kubeDnsIp: string;
385
+ /**
386
+ * Cluster OIDC issuer URL
387
+ */
388
+ oidcIssuerUrl: string;
69
389
  }
70
390
  export interface GetClusterNodePool {
71
391
  /**
72
- * Whether the node pool is the default node pool of the cluster.
392
+ * Node pool cloud provider
393
+ */
394
+ cloudProvider: string;
395
+ /**
396
+ * Node pool cluster identifier
397
+ */
398
+ clusterId: string;
399
+ /**
400
+ * Node pool creation timestamp
73
401
  */
74
- isDefault?: boolean;
402
+ createdAt: string;
403
+ /**
404
+ * Node pool identifier
405
+ */
406
+ id: string;
75
407
  /**
76
- * The maximum number of nodes that can be created in the node pool.
408
+ * Whether the node pool is the default node pool of the cluster
409
+ */
410
+ isDefault: boolean;
411
+ /**
412
+ * Node pool maximum node count
77
413
  */
78
414
  maxNodeCount: number;
79
415
  /**
80
- * The name of the node pool.
416
+ * Node pool name
81
417
  */
82
418
  name: string;
83
419
  /**
84
- * The type of node instance that is used for the node pool.
420
+ * Node pool node instance type
85
421
  */
86
422
  nodeInstanceType: string;
423
+ /**
424
+ * Node pool supported Astro machines
425
+ */
426
+ supportedAstroMachines: string[];
427
+ /**
428
+ * Node pool last updated timestamp
429
+ */
430
+ updatedAt: string;
87
431
  }
88
- export interface GetOrganizationManagedDomain {
89
- createdAt: string;
90
- enforcedLogins: string[];
91
- id: boolean;
432
+ export interface GetClusterOptionsClusterOption {
433
+ /**
434
+ * ClusterOption database instances
435
+ */
436
+ databaseInstances: outputs.GetClusterOptionsClusterOptionDatabaseInstance[];
437
+ /**
438
+ * ClusterOption default database instance
439
+ */
440
+ defaultDatabaseInstance: outputs.GetClusterOptionsClusterOptionDefaultDatabaseInstance;
441
+ /**
442
+ * ClusterOption default node instance
443
+ */
444
+ defaultNodeInstance: outputs.GetClusterOptionsClusterOptionDefaultNodeInstance;
445
+ /**
446
+ * ClusterOption default pod subnet range
447
+ */
448
+ defaultPodSubnetRange: string;
449
+ /**
450
+ * ClusterOption default region
451
+ */
452
+ defaultRegion: outputs.GetClusterOptionsClusterOptionDefaultRegion;
453
+ /**
454
+ * ClusterOption default service peering range
455
+ */
456
+ defaultServicePeeringRange: string;
457
+ /**
458
+ * ClusterOption default service subnet range
459
+ */
460
+ defaultServiceSubnetRange: string;
461
+ /**
462
+ * ClusterOption default vps subnet range
463
+ */
464
+ defaultVpcSubnetRange: string;
465
+ /**
466
+ * ClusterOption node count default
467
+ */
468
+ nodeCountDefault: number;
469
+ /**
470
+ * ClusterOption node count max
471
+ */
472
+ nodeCountMax: number;
473
+ /**
474
+ * ClusterOption node count min
475
+ */
476
+ nodeCountMin: number;
477
+ /**
478
+ * ClusterOption node instances
479
+ */
480
+ nodeInstances: outputs.GetClusterOptionsClusterOptionNodeInstance[];
481
+ /**
482
+ * ClusterOption provider
483
+ */
484
+ provider: string;
485
+ /**
486
+ * ClusterOption regions
487
+ */
488
+ regions: outputs.GetClusterOptionsClusterOptionRegion[];
489
+ }
490
+ export interface GetClusterOptionsClusterOptionDatabaseInstance {
491
+ /**
492
+ * Provider instance cpu
493
+ */
494
+ cpu: number;
495
+ /**
496
+ * Provider instance memory
497
+ */
498
+ memory: string;
499
+ /**
500
+ * Provider instance name
501
+ */
92
502
  name: string;
93
- status: string;
94
- updatedAt: string;
503
+ }
504
+ export interface GetClusterOptionsClusterOptionDefaultDatabaseInstance {
505
+ /**
506
+ * Provider instance cpu
507
+ */
508
+ cpu: number;
509
+ /**
510
+ * Provider instance memory
511
+ */
512
+ memory: string;
513
+ /**
514
+ * Provider instance name
515
+ */
516
+ name: string;
517
+ }
518
+ export interface GetClusterOptionsClusterOptionDefaultNodeInstance {
519
+ /**
520
+ * Provider instance cpu
521
+ */
522
+ cpu: number;
523
+ /**
524
+ * Provider instance memory
525
+ */
526
+ memory: string;
527
+ /**
528
+ * Provider instance name
529
+ */
530
+ name: string;
531
+ }
532
+ export interface GetClusterOptionsClusterOptionDefaultRegion {
533
+ /**
534
+ * Region banned instances
535
+ */
536
+ bannedInstances: string[];
537
+ /**
538
+ * Region is limited bool
539
+ */
540
+ limited: boolean;
541
+ /**
542
+ * Region is limited bool
543
+ */
544
+ name: string;
545
+ }
546
+ export interface GetClusterOptionsClusterOptionNodeInstance {
547
+ /**
548
+ * Provider instance cpu
549
+ */
550
+ cpu: number;
551
+ /**
552
+ * Provider instance memory
553
+ */
554
+ memory: string;
555
+ /**
556
+ * Provider instance name
557
+ */
558
+ name: string;
559
+ }
560
+ export interface GetClusterOptionsClusterOptionRegion {
561
+ /**
562
+ * Region banned instances
563
+ */
564
+ bannedInstances: string[];
565
+ /**
566
+ * Region is limited bool
567
+ */
568
+ limited: boolean;
569
+ /**
570
+ * Region is limited bool
571
+ */
572
+ name: string;
573
+ }
574
+ export interface GetClusterTag {
575
+ /**
576
+ * Cluster tag key
577
+ */
578
+ key: string;
579
+ /**
580
+ * Cluster tag value
581
+ */
582
+ value: string;
583
+ }
584
+ export interface GetClustersCluster {
585
+ /**
586
+ * Cluster cloud provider
587
+ */
588
+ cloudProvider: string;
589
+ /**
590
+ * Cluster creation timestamp
591
+ */
592
+ createdAt: string;
593
+ /**
594
+ * Cluster database instance type
595
+ */
596
+ dbInstanceType: string;
597
+ /**
598
+ * Cluster health status
599
+ */
600
+ healthStatus: outputs.GetClustersClusterHealthStatus;
601
+ /**
602
+ * Cluster identifier
603
+ */
604
+ id: string;
605
+ /**
606
+ * Whether the cluster is limited
607
+ */
608
+ isLimited: boolean;
609
+ /**
610
+ * Cluster metadata
611
+ */
612
+ metadata: outputs.GetClustersClusterMetadata;
613
+ /**
614
+ * Cluster name
615
+ */
616
+ name: string;
617
+ /**
618
+ * Cluster node pools
619
+ */
620
+ nodePools: outputs.GetClustersClusterNodePool[];
621
+ /**
622
+ * Cluster pod subnet range
623
+ */
624
+ podSubnetRange: string;
625
+ /**
626
+ * Cluster provider account
627
+ */
628
+ providerAccount: string;
629
+ /**
630
+ * Cluster region
631
+ */
632
+ region: string;
633
+ /**
634
+ * Cluster service peering range
635
+ */
636
+ servicePeeringRange: string;
637
+ /**
638
+ * Cluster service subnet range
639
+ */
640
+ serviceSubnetRange: string;
641
+ /**
642
+ * Cluster status
643
+ */
644
+ status: string;
645
+ /**
646
+ * Cluster tags
647
+ */
648
+ tags: outputs.GetClustersClusterTag[];
649
+ /**
650
+ * Cluster tenant ID
651
+ */
652
+ tenantId: string;
653
+ /**
654
+ * Cluster type
655
+ */
656
+ type: string;
657
+ /**
658
+ * Cluster last updated timestamp
659
+ */
660
+ updatedAt: string;
661
+ /**
662
+ * Cluster VPC subnet range
663
+ */
664
+ vpcSubnetRange: string;
665
+ /**
666
+ * Cluster workspace IDs
667
+ */
668
+ workspaceIds: string[];
669
+ }
670
+ export interface GetClustersClusterHealthStatus {
671
+ /**
672
+ * Cluster health status details
673
+ */
674
+ details: outputs.GetClustersClusterHealthStatusDetail[];
675
+ /**
676
+ * Cluster health status value
677
+ */
678
+ value: string;
679
+ }
680
+ export interface GetClustersClusterHealthStatusDetail {
681
+ /**
682
+ * Cluster health status detail code
683
+ */
684
+ code: string;
685
+ /**
686
+ * Cluster health status detail description
687
+ */
688
+ description: string;
689
+ /**
690
+ * Cluster health status detail severity
691
+ */
692
+ severity: string;
693
+ }
694
+ export interface GetClustersClusterMetadata {
695
+ /**
696
+ * Cluster external IPs
697
+ */
698
+ externalIps: string[];
699
+ /**
700
+ * Cluster kube DNS IP
701
+ */
702
+ kubeDnsIp: string;
703
+ /**
704
+ * Cluster OIDC issuer URL
705
+ */
706
+ oidcIssuerUrl: string;
707
+ }
708
+ export interface GetClustersClusterNodePool {
709
+ /**
710
+ * Node pool cloud provider
711
+ */
712
+ cloudProvider: string;
713
+ /**
714
+ * Node pool cluster identifier
715
+ */
716
+ clusterId: string;
717
+ /**
718
+ * Node pool creation timestamp
719
+ */
720
+ createdAt: string;
721
+ /**
722
+ * Node pool identifier
723
+ */
724
+ id: string;
725
+ /**
726
+ * Whether the node pool is the default node pool of the cluster
727
+ */
728
+ isDefault: boolean;
729
+ /**
730
+ * Node pool maximum node count
731
+ */
732
+ maxNodeCount: number;
733
+ /**
734
+ * Node pool name
735
+ */
736
+ name: string;
737
+ /**
738
+ * Node pool node instance type
739
+ */
740
+ nodeInstanceType: string;
741
+ /**
742
+ * Node pool supported Astro machines
743
+ */
744
+ supportedAstroMachines: string[];
745
+ /**
746
+ * Node pool last updated timestamp
747
+ */
748
+ updatedAt: string;
749
+ }
750
+ export interface GetClustersClusterTag {
751
+ /**
752
+ * Cluster tag key
753
+ */
754
+ key: string;
755
+ /**
756
+ * Cluster tag value
757
+ */
758
+ value: string;
759
+ }
760
+ export interface GetDeploymentCreatedBy {
761
+ apiTokenName: string;
762
+ avatarUrl: string;
763
+ fullName: string;
764
+ id: string;
765
+ subjectType: string;
766
+ username: string;
767
+ }
768
+ export interface GetDeploymentEnvironmentVariable {
769
+ /**
770
+ * Whether Environment variable is a secret
771
+ */
772
+ isSecret: boolean;
773
+ /**
774
+ * Environment variable key
775
+ */
776
+ key: string;
777
+ /**
778
+ * Environment variable last updated timestamp
779
+ */
780
+ updatedAt: string;
781
+ /**
782
+ * Environment variable value
783
+ */
784
+ value: string;
785
+ }
786
+ export interface GetDeploymentOptionsResourceQuotas {
787
+ /**
788
+ * Default pod size options
789
+ */
790
+ defaultPodSize: outputs.GetDeploymentOptionsResourceQuotasDefaultPodSize;
791
+ /**
792
+ * Resource quota options
793
+ */
794
+ resourceQuota: outputs.GetDeploymentOptionsResourceQuotasResourceQuota;
795
+ }
796
+ export interface GetDeploymentOptionsResourceQuotasDefaultPodSize {
797
+ /**
798
+ * CPU resource range
799
+ */
800
+ cpu: outputs.GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu;
801
+ /**
802
+ * Memory resource range
803
+ */
804
+ memory: outputs.GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory;
805
+ }
806
+ export interface GetDeploymentOptionsResourceQuotasDefaultPodSizeCpu {
807
+ /**
808
+ * Resource range ceiling
809
+ */
810
+ ceiling: string;
811
+ /**
812
+ * Resource range default
813
+ */
814
+ default: string;
815
+ /**
816
+ * Resource range floor
817
+ */
818
+ floor: string;
819
+ }
820
+ export interface GetDeploymentOptionsResourceQuotasDefaultPodSizeMemory {
821
+ /**
822
+ * Resource range ceiling
823
+ */
824
+ ceiling: string;
825
+ /**
826
+ * Resource range default
827
+ */
828
+ default: string;
829
+ /**
830
+ * Resource range floor
831
+ */
832
+ floor: string;
833
+ }
834
+ export interface GetDeploymentOptionsResourceQuotasResourceQuota {
835
+ /**
836
+ * CPU resource range
837
+ */
838
+ cpu: outputs.GetDeploymentOptionsResourceQuotasResourceQuotaCpu;
839
+ /**
840
+ * Memory resource range
841
+ */
842
+ memory: outputs.GetDeploymentOptionsResourceQuotasResourceQuotaMemory;
843
+ }
844
+ export interface GetDeploymentOptionsResourceQuotasResourceQuotaCpu {
845
+ /**
846
+ * Resource range ceiling
847
+ */
848
+ ceiling: string;
849
+ /**
850
+ * Resource range default
851
+ */
852
+ default: string;
853
+ /**
854
+ * Resource range floor
855
+ */
856
+ floor: string;
857
+ }
858
+ export interface GetDeploymentOptionsResourceQuotasResourceQuotaMemory {
859
+ /**
860
+ * Resource range ceiling
861
+ */
862
+ ceiling: string;
863
+ /**
864
+ * Resource range default
865
+ */
866
+ default: string;
867
+ /**
868
+ * Resource range floor
869
+ */
870
+ floor: string;
871
+ }
872
+ export interface GetDeploymentOptionsRuntimeRelease {
873
+ airflowDatabaseMigration: boolean;
874
+ airflowVersion: string;
875
+ channel: string;
876
+ releaseDate: string;
877
+ stellarDatabaseMigration: boolean;
878
+ version: string;
879
+ }
880
+ export interface GetDeploymentOptionsSchedulerMachine {
881
+ name: string;
882
+ spec: outputs.GetDeploymentOptionsSchedulerMachineSpec;
883
+ }
884
+ export interface GetDeploymentOptionsSchedulerMachineSpec {
885
+ concurrency: string;
886
+ cpu: string;
887
+ ephemeralStorage: string;
888
+ memory: string;
889
+ }
890
+ export interface GetDeploymentOptionsWorkerMachine {
891
+ concurrency: outputs.GetDeploymentOptionsWorkerMachineConcurrency;
892
+ name: string;
893
+ spec: outputs.GetDeploymentOptionsWorkerMachineSpec;
894
+ }
895
+ export interface GetDeploymentOptionsWorkerMachineConcurrency {
896
+ ceiling: string;
897
+ default: string;
898
+ floor: string;
899
+ }
900
+ export interface GetDeploymentOptionsWorkerMachineSpec {
901
+ concurrency: string;
902
+ cpu: string;
903
+ ephemeralStorage: string;
904
+ memory: string;
905
+ }
906
+ export interface GetDeploymentOptionsWorkerQueues {
907
+ /**
908
+ * Worker queue maximum workers
909
+ */
910
+ maxWorkers: outputs.GetDeploymentOptionsWorkerQueuesMaxWorkers;
911
+ /**
912
+ * Worker queue minimum workers
913
+ */
914
+ minWorkers: outputs.GetDeploymentOptionsWorkerQueuesMinWorkers;
915
+ /**
916
+ * Worker queue worker concurrency
917
+ */
918
+ workerConcurrency: outputs.GetDeploymentOptionsWorkerQueuesWorkerConcurrency;
919
+ }
920
+ export interface GetDeploymentOptionsWorkerQueuesMaxWorkers {
921
+ /**
922
+ * Resource range ceiling
923
+ */
924
+ ceiling: string;
925
+ /**
926
+ * Resource range default
927
+ */
928
+ default: string;
929
+ /**
930
+ * Resource range floor
931
+ */
932
+ floor: string;
933
+ }
934
+ export interface GetDeploymentOptionsWorkerQueuesMinWorkers {
935
+ /**
936
+ * Resource range ceiling
937
+ */
938
+ ceiling: string;
939
+ /**
940
+ * Resource range default
941
+ */
942
+ default: string;
943
+ /**
944
+ * Resource range floor
945
+ */
946
+ floor: string;
947
+ }
948
+ export interface GetDeploymentOptionsWorkerQueuesWorkerConcurrency {
949
+ /**
950
+ * Resource range ceiling
951
+ */
952
+ ceiling: string;
953
+ /**
954
+ * Resource range default
955
+ */
956
+ default: string;
957
+ /**
958
+ * Resource range floor
959
+ */
960
+ floor: string;
961
+ }
962
+ export interface GetDeploymentOptionsWorkloadIdentityOption {
963
+ label: string;
964
+ role: string;
965
+ }
966
+ export interface GetDeploymentScalingSpec {
967
+ hibernationSpec: outputs.GetDeploymentScalingSpecHibernationSpec;
968
+ }
969
+ export interface GetDeploymentScalingSpecHibernationSpec {
970
+ override: outputs.GetDeploymentScalingSpecHibernationSpecOverride;
971
+ schedules: outputs.GetDeploymentScalingSpecHibernationSpecSchedule[];
972
+ }
973
+ export interface GetDeploymentScalingSpecHibernationSpecOverride {
974
+ /**
975
+ * Whether the override is active
976
+ */
977
+ isActive: boolean;
978
+ /**
979
+ * Whether the override is hibernating
980
+ */
981
+ isHibernating: boolean;
982
+ /**
983
+ * Time until the override is active
984
+ */
985
+ overrideUntil: string;
986
+ }
987
+ export interface GetDeploymentScalingSpecHibernationSpecSchedule {
988
+ /**
989
+ * Description of the schedule
990
+ */
991
+ description: string;
992
+ /**
993
+ * Cron expression for hibernation
994
+ */
995
+ hibernateAtCron: string;
996
+ /**
997
+ * Whether the schedule is enabled
998
+ */
999
+ isEnabled: boolean;
1000
+ /**
1001
+ * Cron expression for waking
1002
+ */
1003
+ wakeAtCron: string;
1004
+ }
1005
+ export interface GetDeploymentScalingStatus {
1006
+ hibernationStatus: outputs.GetDeploymentScalingStatusHibernationStatus;
1007
+ }
1008
+ export interface GetDeploymentScalingStatusHibernationStatus {
1009
+ /**
1010
+ * Whether the deployment is hibernating
1011
+ */
1012
+ isHibernating: boolean;
1013
+ /**
1014
+ * Time of the next event
1015
+ */
1016
+ nextEventAt: string;
1017
+ /**
1018
+ * Type of the next event
1019
+ */
1020
+ nextEventType: string;
1021
+ /**
1022
+ * Reason for the current state
1023
+ */
1024
+ reason: string;
1025
+ }
1026
+ export interface GetDeploymentUpdatedBy {
1027
+ apiTokenName: string;
1028
+ avatarUrl: string;
1029
+ fullName: string;
1030
+ id: string;
1031
+ subjectType: string;
1032
+ username: string;
1033
+ }
1034
+ export interface GetDeploymentWorkerQueue {
1035
+ /**
1036
+ * Worker queue Astro machine value
1037
+ */
1038
+ astroMachine: string;
1039
+ /**
1040
+ * Worker queue identifier
1041
+ */
1042
+ id: string;
1043
+ /**
1044
+ * Whether Worker queue is default
1045
+ */
1046
+ isDefault: boolean;
1047
+ /**
1048
+ * Worker queue max worker count
1049
+ */
1050
+ maxWorkerCount: number;
1051
+ /**
1052
+ * Worker queue min worker count
1053
+ */
1054
+ minWorkerCount: number;
1055
+ /**
1056
+ * Worker queue name
1057
+ */
1058
+ name: string;
1059
+ /**
1060
+ * Worker queue node pool identifier
1061
+ */
1062
+ nodePoolId: string;
1063
+ /**
1064
+ * Worker queue pod CPU
1065
+ */
1066
+ podCpu: string;
1067
+ /**
1068
+ * Worker queue pod memory
1069
+ */
1070
+ podMemory: string;
1071
+ /**
1072
+ * Worker queue worker concurrency
1073
+ */
1074
+ workerConcurrency: number;
1075
+ }
1076
+ export interface GetDeploymentsDeployment {
1077
+ /**
1078
+ * Deployment Airflow version
1079
+ */
1080
+ airflowVersion: string;
1081
+ /**
1082
+ * Deployment Astro Runtime version
1083
+ */
1084
+ astroRuntimeVersion: string;
1085
+ /**
1086
+ * Deployment cloud provider
1087
+ */
1088
+ cloudProvider: string;
1089
+ /**
1090
+ * Deployment cluster identifier
1091
+ */
1092
+ clusterId: string;
1093
+ /**
1094
+ * Deployment contact emails
1095
+ */
1096
+ contactEmails: string[];
1097
+ /**
1098
+ * Deployment creation timestamp
1099
+ */
1100
+ createdAt: string;
1101
+ /**
1102
+ * Deployment creator
1103
+ */
1104
+ createdBy: outputs.GetDeploymentsDeploymentCreatedBy;
1105
+ /**
1106
+ * Deployment DAG tarball version
1107
+ */
1108
+ dagTarballVersion: string;
1109
+ /**
1110
+ * Deployment default task pod CPU
1111
+ */
1112
+ defaultTaskPodCpu: string;
1113
+ /**
1114
+ * Deployment default task pod memory
1115
+ */
1116
+ defaultTaskPodMemory: string;
1117
+ /**
1118
+ * Deployment description
1119
+ */
1120
+ description: string;
1121
+ /**
1122
+ * Deployment desired DAG tarball version
1123
+ */
1124
+ desiredDagTarballVersion: string;
1125
+ /**
1126
+ * Deployment environment variables
1127
+ */
1128
+ environmentVariables: outputs.GetDeploymentsDeploymentEnvironmentVariable[];
1129
+ /**
1130
+ * Deployment executor
1131
+ */
1132
+ executor: string;
1133
+ /**
1134
+ * Deployment external IPs
1135
+ */
1136
+ externalIps: string[];
1137
+ /**
1138
+ * Deployment identifier
1139
+ */
1140
+ id: string;
1141
+ /**
1142
+ * Deployment image repository
1143
+ */
1144
+ imageRepository: string;
1145
+ /**
1146
+ * Deployment image tag
1147
+ */
1148
+ imageTag: string;
1149
+ /**
1150
+ * Deployment image version
1151
+ */
1152
+ imageVersion: string;
1153
+ /**
1154
+ * Whether the Deployment enforces CI/CD deploys
1155
+ */
1156
+ isCicdEnforced: boolean;
1157
+ /**
1158
+ * Whether DAG deploy is enabled
1159
+ */
1160
+ isDagDeployEnabled: boolean;
1161
+ /**
1162
+ * Whether Deployment is in development mode
1163
+ */
1164
+ isDevelopmentMode: boolean;
1165
+ /**
1166
+ * Whether Deployment has high availability
1167
+ */
1168
+ isHighAvailability: boolean;
1169
+ /**
1170
+ * Deployment name
1171
+ */
1172
+ name: string;
1173
+ /**
1174
+ * Deployment namespace
1175
+ */
1176
+ namespace: string;
1177
+ /**
1178
+ * Deployment OIDC issuer URL
1179
+ */
1180
+ oidcIssuerUrl: string;
1181
+ /**
1182
+ * Deployment region
1183
+ */
1184
+ region: string;
1185
+ /**
1186
+ * Deployment resource quota CPU
1187
+ */
1188
+ resourceQuotaCpu: string;
1189
+ /**
1190
+ * Deployment resource quota memory
1191
+ */
1192
+ resourceQuotaMemory: string;
1193
+ /**
1194
+ * Deployment scaling spec
1195
+ */
1196
+ scalingSpec: outputs.GetDeploymentsDeploymentScalingSpec;
1197
+ /**
1198
+ * Deployment scaling status
1199
+ */
1200
+ scalingStatus: outputs.GetDeploymentsDeploymentScalingStatus;
1201
+ /**
1202
+ * Deployment scheduler AU
1203
+ */
1204
+ schedulerAu: number;
1205
+ /**
1206
+ * Deployment scheduler CPU
1207
+ */
1208
+ schedulerCpu: string;
1209
+ /**
1210
+ * Deployment scheduler memory
1211
+ */
1212
+ schedulerMemory: string;
1213
+ /**
1214
+ * Deployment scheduler replicas
1215
+ */
1216
+ schedulerReplicas: number;
1217
+ /**
1218
+ * Deployment scheduler size
1219
+ */
1220
+ schedulerSize: string;
1221
+ /**
1222
+ * Deployment status
1223
+ */
1224
+ status: string;
1225
+ /**
1226
+ * Deployment status reason
1227
+ */
1228
+ statusReason: string;
1229
+ /**
1230
+ * Deployment task pod node pool identifier
1231
+ */
1232
+ taskPodNodePoolId: string;
1233
+ /**
1234
+ * Deployment type
1235
+ */
1236
+ type: string;
1237
+ /**
1238
+ * Deployment last updated timestamp
1239
+ */
1240
+ updatedAt: string;
1241
+ /**
1242
+ * Deployment updater
1243
+ */
1244
+ updatedBy: outputs.GetDeploymentsDeploymentUpdatedBy;
1245
+ /**
1246
+ * Deployment webserver Airflow API URL
1247
+ */
1248
+ webserverAirflowApiUrl: string;
1249
+ /**
1250
+ * Deployment webserver ingress hostname
1251
+ */
1252
+ webserverIngressHostname: string;
1253
+ /**
1254
+ * Deployment webserver URL
1255
+ */
1256
+ webserverUrl: string;
1257
+ /**
1258
+ * Deployment worker queues
1259
+ */
1260
+ workerQueues: outputs.GetDeploymentsDeploymentWorkerQueue[];
1261
+ /**
1262
+ * Deployment workload identity
1263
+ */
1264
+ workloadIdentity: string;
1265
+ /**
1266
+ * Deployment workspace identifier
1267
+ */
1268
+ workspaceId: string;
1269
+ }
1270
+ export interface GetDeploymentsDeploymentCreatedBy {
1271
+ apiTokenName: string;
1272
+ avatarUrl: string;
1273
+ fullName: string;
1274
+ id: string;
1275
+ subjectType: string;
1276
+ username: string;
1277
+ }
1278
+ export interface GetDeploymentsDeploymentEnvironmentVariable {
1279
+ /**
1280
+ * Whether Environment variable is a secret
1281
+ */
1282
+ isSecret: boolean;
1283
+ /**
1284
+ * Environment variable key
1285
+ */
1286
+ key: string;
1287
+ /**
1288
+ * Environment variable last updated timestamp
1289
+ */
1290
+ updatedAt: string;
1291
+ /**
1292
+ * Environment variable value
1293
+ */
1294
+ value: string;
1295
+ }
1296
+ export interface GetDeploymentsDeploymentScalingSpec {
1297
+ hibernationSpec: outputs.GetDeploymentsDeploymentScalingSpecHibernationSpec;
1298
+ }
1299
+ export interface GetDeploymentsDeploymentScalingSpecHibernationSpec {
1300
+ override: outputs.GetDeploymentsDeploymentScalingSpecHibernationSpecOverride;
1301
+ schedules: outputs.GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule[];
1302
+ }
1303
+ export interface GetDeploymentsDeploymentScalingSpecHibernationSpecOverride {
1304
+ /**
1305
+ * Whether the override is active
1306
+ */
1307
+ isActive: boolean;
1308
+ /**
1309
+ * Whether the override is hibernating
1310
+ */
1311
+ isHibernating: boolean;
1312
+ /**
1313
+ * Time until the override is active
1314
+ */
1315
+ overrideUntil: string;
1316
+ }
1317
+ export interface GetDeploymentsDeploymentScalingSpecHibernationSpecSchedule {
1318
+ /**
1319
+ * Description of the schedule
1320
+ */
1321
+ description: string;
1322
+ /**
1323
+ * Cron expression for hibernation
1324
+ */
1325
+ hibernateAtCron: string;
1326
+ /**
1327
+ * Whether the schedule is enabled
1328
+ */
1329
+ isEnabled: boolean;
1330
+ /**
1331
+ * Cron expression for waking
1332
+ */
1333
+ wakeAtCron: string;
1334
+ }
1335
+ export interface GetDeploymentsDeploymentScalingStatus {
1336
+ hibernationStatus: outputs.GetDeploymentsDeploymentScalingStatusHibernationStatus;
1337
+ }
1338
+ export interface GetDeploymentsDeploymentScalingStatusHibernationStatus {
1339
+ /**
1340
+ * Whether the deployment is hibernating
1341
+ */
1342
+ isHibernating: boolean;
1343
+ /**
1344
+ * Time of the next event
1345
+ */
1346
+ nextEventAt: string;
1347
+ /**
1348
+ * Type of the next event
1349
+ */
1350
+ nextEventType: string;
1351
+ /**
1352
+ * Reason for the current state
1353
+ */
1354
+ reason: string;
1355
+ }
1356
+ export interface GetDeploymentsDeploymentUpdatedBy {
1357
+ apiTokenName: string;
1358
+ avatarUrl: string;
1359
+ fullName: string;
1360
+ id: string;
1361
+ subjectType: string;
1362
+ username: string;
1363
+ }
1364
+ export interface GetDeploymentsDeploymentWorkerQueue {
1365
+ /**
1366
+ * Worker queue Astro machine value
1367
+ */
1368
+ astroMachine: string;
1369
+ /**
1370
+ * Worker queue identifier
1371
+ */
1372
+ id: string;
1373
+ /**
1374
+ * Whether Worker queue is default
1375
+ */
1376
+ isDefault: boolean;
1377
+ /**
1378
+ * Worker queue max worker count
1379
+ */
1380
+ maxWorkerCount: number;
1381
+ /**
1382
+ * Worker queue min worker count
1383
+ */
1384
+ minWorkerCount: number;
1385
+ /**
1386
+ * Worker queue name
1387
+ */
1388
+ name: string;
1389
+ /**
1390
+ * Worker queue node pool identifier
1391
+ */
1392
+ nodePoolId: string;
1393
+ /**
1394
+ * Worker queue pod CPU
1395
+ */
1396
+ podCpu: string;
1397
+ /**
1398
+ * Worker queue pod memory
1399
+ */
1400
+ podMemory: string;
1401
+ /**
1402
+ * Worker queue worker concurrency
1403
+ */
1404
+ workerConcurrency: number;
1405
+ }
1406
+ export interface GetOrganizationCreatedBy {
1407
+ apiTokenName: string;
1408
+ avatarUrl: string;
1409
+ fullName: string;
1410
+ id: string;
1411
+ subjectType: string;
1412
+ username: string;
1413
+ }
1414
+ export interface GetOrganizationUpdatedBy {
1415
+ apiTokenName: string;
1416
+ avatarUrl: string;
1417
+ fullName: string;
1418
+ id: string;
1419
+ subjectType: string;
1420
+ username: string;
1421
+ }
1422
+ export interface GetTeamCreatedBy {
1423
+ apiTokenName: string;
1424
+ avatarUrl: string;
1425
+ fullName: string;
1426
+ id: string;
1427
+ subjectType: string;
1428
+ username: string;
1429
+ }
1430
+ export interface GetTeamDeploymentRole {
1431
+ /**
1432
+ * The ID of the deployment the role is assigned to
1433
+ */
1434
+ deploymentId: string;
1435
+ /**
1436
+ * The role assigned to the deployment
1437
+ */
1438
+ role: string;
1439
+ }
1440
+ export interface GetTeamUpdatedBy {
1441
+ apiTokenName: string;
1442
+ avatarUrl: string;
1443
+ fullName: string;
1444
+ id: string;
1445
+ subjectType: string;
1446
+ username: string;
1447
+ }
1448
+ export interface GetTeamWorkspaceRole {
1449
+ /**
1450
+ * The role assigned to the workspace
1451
+ */
1452
+ role: string;
1453
+ /**
1454
+ * The ID of the workspace the role is assigned to
1455
+ */
1456
+ workspaceId: string;
1457
+ }
1458
+ export interface GetTeamsTeam {
1459
+ /**
1460
+ * Team creation timestamp
1461
+ */
1462
+ createdAt: string;
1463
+ /**
1464
+ * Team creator
1465
+ */
1466
+ createdBy: outputs.GetTeamsTeamCreatedBy;
1467
+ /**
1468
+ * The roles assigned to the Deployments
1469
+ */
1470
+ deploymentRoles: outputs.GetTeamsTeamDeploymentRole[];
1471
+ /**
1472
+ * Team description
1473
+ */
1474
+ description: string;
1475
+ /**
1476
+ * Team ID
1477
+ */
1478
+ id: string;
1479
+ /**
1480
+ * Whether the Team is managed by an identity provider
1481
+ */
1482
+ isIdpManaged: boolean;
1483
+ /**
1484
+ * Team name
1485
+ */
1486
+ name: string;
1487
+ /**
1488
+ * The role assigned to the Organization
1489
+ */
1490
+ organizationRole: string;
1491
+ /**
1492
+ * Number of roles assigned to the Team
1493
+ */
1494
+ rolesCount: number;
1495
+ /**
1496
+ * Team last updated timestamp
1497
+ */
1498
+ updatedAt: string;
1499
+ /**
1500
+ * Team updater
1501
+ */
1502
+ updatedBy: outputs.GetTeamsTeamUpdatedBy;
1503
+ /**
1504
+ * The roles assigned to the Workspaces
1505
+ */
1506
+ workspaceRoles: outputs.GetTeamsTeamWorkspaceRole[];
1507
+ }
1508
+ export interface GetTeamsTeamCreatedBy {
1509
+ apiTokenName: string;
1510
+ avatarUrl: string;
1511
+ fullName: string;
1512
+ id: string;
1513
+ subjectType: string;
1514
+ username: string;
1515
+ }
1516
+ export interface GetTeamsTeamDeploymentRole {
1517
+ /**
1518
+ * The ID of the deployment the role is assigned to
1519
+ */
1520
+ deploymentId: string;
1521
+ /**
1522
+ * The role assigned to the deployment
1523
+ */
1524
+ role: string;
1525
+ }
1526
+ export interface GetTeamsTeamUpdatedBy {
1527
+ apiTokenName: string;
1528
+ avatarUrl: string;
1529
+ fullName: string;
1530
+ id: string;
1531
+ subjectType: string;
1532
+ username: string;
1533
+ }
1534
+ export interface GetTeamsTeamWorkspaceRole {
1535
+ /**
1536
+ * The role assigned to the workspace
1537
+ */
1538
+ role: string;
1539
+ /**
1540
+ * The ID of the workspace the role is assigned to
1541
+ */
1542
+ workspaceId: string;
1543
+ }
1544
+ export interface GetUserDeploymentRole {
1545
+ /**
1546
+ * The ID of the deployment the role is assigned to
1547
+ */
1548
+ deploymentId: string;
1549
+ /**
1550
+ * The role assigned to the deployment
1551
+ */
1552
+ role: string;
1553
+ }
1554
+ export interface GetUserWorkspaceRole {
1555
+ /**
1556
+ * The role assigned to the workspace
1557
+ */
1558
+ role: string;
1559
+ /**
1560
+ * The ID of the workspace the role is assigned to
1561
+ */
1562
+ workspaceId: string;
1563
+ }
1564
+ export interface GetUsersUser {
1565
+ /**
1566
+ * User avatar URL
1567
+ */
1568
+ avatarUrl: string;
1569
+ /**
1570
+ * User creation timestamp
1571
+ */
1572
+ createdAt: string;
1573
+ /**
1574
+ * The roles assigned to the deployments
1575
+ */
1576
+ deploymentRoles: outputs.GetUsersUserDeploymentRole[];
1577
+ /**
1578
+ * User full name
1579
+ */
1580
+ fullName: string;
1581
+ /**
1582
+ * User identifier
1583
+ */
1584
+ id: string;
1585
+ /**
1586
+ * The role assigned to the organization
1587
+ */
1588
+ organizationRole: string;
1589
+ /**
1590
+ * User status
1591
+ */
1592
+ status: string;
1593
+ /**
1594
+ * User last updated timestamp
1595
+ */
1596
+ updatedAt: string;
1597
+ /**
1598
+ * User username
1599
+ */
1600
+ username: string;
1601
+ /**
1602
+ * The roles assigned to the workspaces
1603
+ */
1604
+ workspaceRoles: outputs.GetUsersUserWorkspaceRole[];
1605
+ }
1606
+ export interface GetUsersUserDeploymentRole {
1607
+ /**
1608
+ * The ID of the deployment the role is assigned to
1609
+ */
1610
+ deploymentId: string;
1611
+ /**
1612
+ * The role assigned to the deployment
1613
+ */
1614
+ role: string;
1615
+ }
1616
+ export interface GetUsersUserWorkspaceRole {
1617
+ /**
1618
+ * The role assigned to the workspace
1619
+ */
1620
+ role: string;
1621
+ /**
1622
+ * The ID of the workspace the role is assigned to
1623
+ */
1624
+ workspaceId: string;
1625
+ }
1626
+ export interface GetWorkspaceCreatedBy {
1627
+ apiTokenName: string;
1628
+ avatarUrl: string;
1629
+ fullName: string;
1630
+ id: string;
1631
+ subjectType: string;
1632
+ username: string;
1633
+ }
1634
+ export interface GetWorkspaceUpdatedBy {
1635
+ apiTokenName: string;
1636
+ avatarUrl: string;
1637
+ fullName: string;
1638
+ id: string;
1639
+ subjectType: string;
1640
+ username: string;
1641
+ }
1642
+ export interface GetWorkspacesWorkspace {
1643
+ /**
1644
+ * Whether new Deployments enforce CI/CD deploys by default
1645
+ */
1646
+ cicdEnforcedDefault: boolean;
1647
+ /**
1648
+ * Workspace creation timestamp
1649
+ */
1650
+ createdAt: string;
1651
+ /**
1652
+ * Workspace creator
1653
+ */
1654
+ createdBy: outputs.GetWorkspacesWorkspaceCreatedBy;
1655
+ /**
1656
+ * Workspace description
1657
+ */
1658
+ description: string;
1659
+ /**
1660
+ * Workspace identifier
1661
+ */
1662
+ id: string;
1663
+ /**
1664
+ * Workspace name
1665
+ */
1666
+ name: string;
1667
+ /**
1668
+ * Workspace last updated timestamp
1669
+ */
1670
+ updatedAt: string;
1671
+ /**
1672
+ * Workspace updater
1673
+ */
1674
+ updatedBy: outputs.GetWorkspacesWorkspaceUpdatedBy;
1675
+ }
1676
+ export interface GetWorkspacesWorkspaceCreatedBy {
1677
+ apiTokenName: string;
1678
+ avatarUrl: string;
1679
+ fullName: string;
1680
+ id: string;
1681
+ subjectType: string;
1682
+ username: string;
1683
+ }
1684
+ export interface GetWorkspacesWorkspaceUpdatedBy {
1685
+ apiTokenName: string;
1686
+ avatarUrl: string;
1687
+ fullName: string;
1688
+ id: string;
1689
+ subjectType: string;
1690
+ username: string;
1691
+ }
1692
+ export interface TeamCreatedBy {
1693
+ apiTokenName: string;
1694
+ avatarUrl: string;
1695
+ fullName: string;
1696
+ id: string;
1697
+ subjectType: string;
1698
+ username: string;
1699
+ }
1700
+ export interface TeamDeploymentRole {
1701
+ /**
1702
+ * The ID of the deployment to assign the role to
1703
+ */
1704
+ deploymentId: string;
1705
+ /**
1706
+ * The role to assign to the deployment
1707
+ */
1708
+ role: string;
1709
+ }
1710
+ export interface TeamRolesDeploymentRole {
1711
+ /**
1712
+ * The ID of the deployment to assign the role to
1713
+ */
1714
+ deploymentId: string;
1715
+ /**
1716
+ * The role to assign to the deployment
1717
+ */
1718
+ role: string;
1719
+ }
1720
+ export interface TeamRolesWorkspaceRole {
1721
+ /**
1722
+ * The role to assign to the workspace
1723
+ */
1724
+ role: string;
1725
+ /**
1726
+ * The ID of the workspace to assign the role to
1727
+ */
1728
+ workspaceId: string;
1729
+ }
1730
+ export interface TeamUpdatedBy {
1731
+ apiTokenName: string;
1732
+ avatarUrl: string;
1733
+ fullName: string;
1734
+ id: string;
1735
+ subjectType: string;
1736
+ username: string;
1737
+ }
1738
+ export interface TeamWorkspaceRole {
1739
+ /**
1740
+ * The role to assign to the workspace
1741
+ */
1742
+ role: string;
1743
+ /**
1744
+ * The ID of the workspace to assign the role to
1745
+ */
1746
+ workspaceId: string;
1747
+ }
1748
+ export interface UserInviteInvitee {
1749
+ apiTokenName: string;
1750
+ avatarUrl: string;
1751
+ fullName: string;
1752
+ id: string;
1753
+ subjectType: string;
1754
+ username: string;
1755
+ }
1756
+ export interface UserInviteInviter {
1757
+ apiTokenName: string;
1758
+ avatarUrl: string;
1759
+ fullName: string;
1760
+ id: string;
1761
+ subjectType: string;
1762
+ username: string;
1763
+ }
1764
+ export interface UserRolesDeploymentRole {
1765
+ /**
1766
+ * The ID of the deployment to assign the role to
1767
+ */
1768
+ deploymentId: string;
1769
+ /**
1770
+ * The role to assign to the deployment
1771
+ */
1772
+ role: string;
1773
+ }
1774
+ export interface UserRolesWorkspaceRole {
1775
+ /**
1776
+ * The role to assign to the workspace
1777
+ */
1778
+ role: string;
1779
+ /**
1780
+ * The ID of the workspace to assign the role to
1781
+ */
1782
+ workspaceId: string;
1783
+ }
1784
+ export interface WorkspaceCreatedBy {
1785
+ apiTokenName: string;
1786
+ avatarUrl: string;
1787
+ fullName: string;
1788
+ id: string;
1789
+ subjectType: string;
1790
+ username: string;
1791
+ }
1792
+ export interface WorkspaceUpdatedBy {
1793
+ apiTokenName: string;
1794
+ avatarUrl: string;
1795
+ fullName: string;
1796
+ id: string;
1797
+ subjectType: string;
1798
+ username: string;
95
1799
  }