@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/teamRoles.js ADDED
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.TeamRoles = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Team Roles resource
10
+ */
11
+ class TeamRoles extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing TeamRoles resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name, id, state, opts) {
22
+ return new TeamRoles(name, state, Object.assign(Object.assign({}, opts), { id: id }));
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of TeamRoles. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj) {
29
+ if (obj === undefined || obj === null) {
30
+ return false;
31
+ }
32
+ return obj['__pulumiType'] === TeamRoles.__pulumiType;
33
+ }
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["deploymentRoles"] = state ? state.deploymentRoles : undefined;
40
+ resourceInputs["organizationRole"] = state ? state.organizationRole : undefined;
41
+ resourceInputs["teamId"] = state ? state.teamId : undefined;
42
+ resourceInputs["workspaceRoles"] = state ? state.workspaceRoles : undefined;
43
+ }
44
+ else {
45
+ const args = argsOrState;
46
+ if ((!args || args.organizationRole === undefined) && !opts.urn) {
47
+ throw new Error("Missing required property 'organizationRole'");
48
+ }
49
+ if ((!args || args.teamId === undefined) && !opts.urn) {
50
+ throw new Error("Missing required property 'teamId'");
51
+ }
52
+ resourceInputs["deploymentRoles"] = args ? args.deploymentRoles : undefined;
53
+ resourceInputs["organizationRole"] = args ? args.organizationRole : undefined;
54
+ resourceInputs["teamId"] = args ? args.teamId : undefined;
55
+ resourceInputs["workspaceRoles"] = args ? args.workspaceRoles : undefined;
56
+ }
57
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
58
+ super(TeamRoles.__pulumiType, name, resourceInputs, opts);
59
+ }
60
+ }
61
+ exports.TeamRoles = TeamRoles;
62
+ /** @internal */
63
+ TeamRoles.__pulumiType = 'astronomer:index/teamRoles:TeamRoles';
64
+ //# sourceMappingURL=teamRoles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"teamRoles.js","sourceRoot":"","sources":["../teamRoles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;aAAM;YACH,MAAM,IAAI,GAAG,WAAwC,CAAC;YACtD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7D,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;aACnE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACnD,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA7EL,8BA8EC;AAhEG,gBAAgB;AACO,sBAAY,GAAG,sCAAsC,CAAC"}
package/types/input.d.ts CHANGED
@@ -1,56 +1,342 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- export interface ClusterK8sTag {
2
+ import * as inputs from "../types/input";
3
+ export interface ApiTokenCreatedBy {
4
+ apiTokenName?: pulumi.Input<string>;
5
+ avatarUrl?: pulumi.Input<string>;
6
+ fullName?: pulumi.Input<string>;
7
+ id?: pulumi.Input<string>;
8
+ subjectType?: pulumi.Input<string>;
9
+ username?: pulumi.Input<string>;
10
+ }
11
+ export interface ApiTokenRole {
3
12
  /**
4
- * The tag's key.
13
+ * The ID of the entity to assign the role to
5
14
  */
6
- key: pulumi.Input<string>;
15
+ entityId: pulumi.Input<string>;
16
+ /**
17
+ * The type of entity to assign the role to
18
+ */
19
+ entityType: pulumi.Input<string>;
20
+ /**
21
+ * The role to assign to the entity
22
+ */
23
+ role: pulumi.Input<string>;
24
+ }
25
+ export interface ApiTokenUpdatedBy {
26
+ apiTokenName?: pulumi.Input<string>;
27
+ avatarUrl?: pulumi.Input<string>;
28
+ fullName?: pulumi.Input<string>;
29
+ id?: pulumi.Input<string>;
30
+ subjectType?: pulumi.Input<string>;
31
+ username?: pulumi.Input<string>;
32
+ }
33
+ export interface ClusterHealthStatus {
34
+ /**
35
+ * Cluster health status details
36
+ */
37
+ details?: pulumi.Input<pulumi.Input<inputs.ClusterHealthStatusDetail>[]>;
38
+ /**
39
+ * Cluster health status value
40
+ */
41
+ value?: pulumi.Input<string>;
42
+ }
43
+ export interface ClusterHealthStatusDetail {
7
44
  /**
8
- * The tag's value.
45
+ * Cluster health status detail code
9
46
  */
10
- value: pulumi.Input<string>;
47
+ code?: pulumi.Input<string>;
48
+ /**
49
+ * Cluster health status detail description
50
+ */
51
+ description?: pulumi.Input<string>;
52
+ /**
53
+ * Cluster health status detail severity
54
+ */
55
+ severity?: pulumi.Input<string>;
11
56
  }
12
57
  export interface ClusterMetadata {
58
+ /**
59
+ * Cluster external IPs
60
+ */
13
61
  externalIps?: pulumi.Input<pulumi.Input<string>[]>;
62
+ /**
63
+ * Cluster kube DNS IP
64
+ */
65
+ kubeDnsIp?: pulumi.Input<string>;
66
+ /**
67
+ * Cluster OIDC issuer URL
68
+ */
14
69
  oidcIssuerUrl?: pulumi.Input<string>;
15
70
  }
16
71
  export interface ClusterNodePool {
17
72
  /**
18
- * Whether the node pool is the default node pool of the cluster.
73
+ * Node pool cloud provider
74
+ */
75
+ cloudProvider?: pulumi.Input<string>;
76
+ /**
77
+ * Node pool cluster identifier
78
+ */
79
+ clusterId?: pulumi.Input<string>;
80
+ /**
81
+ * Node pool creation timestamp
82
+ */
83
+ createdAt?: pulumi.Input<string>;
84
+ /**
85
+ * Node pool identifier
86
+ */
87
+ id?: pulumi.Input<string>;
88
+ /**
89
+ * Whether the node pool is the default node pool of the cluster
19
90
  */
20
91
  isDefault?: pulumi.Input<boolean>;
21
92
  /**
22
- * The maximum number of nodes that can be created in the node pool.
93
+ * Node pool maximum node count
23
94
  */
24
- maxNodeCount: pulumi.Input<number>;
95
+ maxNodeCount?: pulumi.Input<number>;
25
96
  /**
26
- * The name of the node pool.
97
+ * Node pool name
27
98
  */
28
- name: pulumi.Input<string>;
99
+ name?: pulumi.Input<string>;
100
+ /**
101
+ * Node pool node instance type
102
+ */
103
+ nodeInstanceType?: pulumi.Input<string>;
104
+ /**
105
+ * Node pool supported Astro machines
106
+ */
107
+ supportedAstroMachines?: pulumi.Input<pulumi.Input<string>[]>;
29
108
  /**
30
- * The type of node instance that is used for the node pool.
109
+ * Node pool last updated timestamp
31
110
  */
32
- nodeInstanceType: pulumi.Input<string>;
111
+ updatedAt?: pulumi.Input<string>;
112
+ }
113
+ export interface ClusterTimeouts {
114
+ /**
115
+ * 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).
116
+ */
117
+ create?: pulumi.Input<string>;
118
+ /**
119
+ * 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.
120
+ */
121
+ delete?: pulumi.Input<string>;
122
+ /**
123
+ * 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).
124
+ */
125
+ update?: pulumi.Input<string>;
126
+ }
127
+ export interface DeploymentCreatedBy {
128
+ apiTokenName?: pulumi.Input<string>;
129
+ avatarUrl?: pulumi.Input<string>;
130
+ fullName?: pulumi.Input<string>;
131
+ id?: pulumi.Input<string>;
132
+ subjectType?: pulumi.Input<string>;
133
+ username?: pulumi.Input<string>;
33
134
  }
34
135
  export interface DeploymentEnvironmentVariable {
35
136
  /**
36
- * Whether the environment variable is a secret.
137
+ * Whether Environment variable is a secret
37
138
  */
38
139
  isSecret: pulumi.Input<boolean>;
39
140
  /**
40
- * The environment variable key, used to call the value in code.
141
+ * Environment variable key
41
142
  */
42
143
  key: pulumi.Input<string>;
43
144
  /**
44
- * The environment variable value.
145
+ * Environment variable last updated timestamp
146
+ */
147
+ updatedAt?: pulumi.Input<string>;
148
+ /**
149
+ * Environment variable value
45
150
  */
46
151
  value?: pulumi.Input<string>;
47
152
  }
48
- export interface DeploymentWorkerQueue {
49
- astroMachine: pulumi.Input<string>;
153
+ export interface DeploymentScalingSpec {
154
+ /**
155
+ * 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.
156
+ */
157
+ hibernationSpec: pulumi.Input<inputs.DeploymentScalingSpecHibernationSpec>;
158
+ }
159
+ export interface DeploymentScalingSpecHibernationSpec {
160
+ /**
161
+ * Hibernation override configuration. Set to null to remove the override.
162
+ */
163
+ override?: pulumi.Input<inputs.DeploymentScalingSpecHibernationSpecOverride>;
164
+ /**
165
+ * List of hibernation schedules. Set to null to remove all schedules.
166
+ */
167
+ schedules?: pulumi.Input<pulumi.Input<inputs.DeploymentScalingSpecHibernationSpecSchedule>[]>;
168
+ }
169
+ export interface DeploymentScalingSpecHibernationSpecOverride {
170
+ isActive?: pulumi.Input<boolean>;
171
+ isHibernating: pulumi.Input<boolean>;
172
+ overrideUntil?: pulumi.Input<string>;
173
+ }
174
+ export interface DeploymentScalingSpecHibernationSpecSchedule {
175
+ description?: pulumi.Input<string>;
176
+ hibernateAtCron: pulumi.Input<string>;
177
+ isEnabled: pulumi.Input<boolean>;
178
+ wakeAtCron: pulumi.Input<string>;
179
+ }
180
+ export interface DeploymentScalingStatus {
181
+ hibernationStatus?: pulumi.Input<inputs.DeploymentScalingStatusHibernationStatus>;
182
+ }
183
+ export interface DeploymentScalingStatusHibernationStatus {
184
+ isHibernating?: pulumi.Input<boolean>;
185
+ nextEventAt?: pulumi.Input<string>;
186
+ nextEventType?: pulumi.Input<string>;
187
+ reason?: pulumi.Input<string>;
188
+ }
189
+ export interface DeploymentUpdatedBy {
190
+ apiTokenName?: pulumi.Input<string>;
191
+ avatarUrl?: pulumi.Input<string>;
192
+ fullName?: pulumi.Input<string>;
50
193
  id?: pulumi.Input<string>;
194
+ subjectType?: pulumi.Input<string>;
195
+ username?: pulumi.Input<string>;
196
+ }
197
+ export interface DeploymentWorkerQueue {
198
+ /**
199
+ * Worker queue Astro machine value - required for 'STANDARD' and 'DEDICATED' deployments
200
+ */
201
+ astroMachine?: pulumi.Input<string>;
202
+ /**
203
+ * Worker queue default
204
+ */
51
205
  isDefault: pulumi.Input<boolean>;
206
+ /**
207
+ * Worker queue max worker count
208
+ */
52
209
  maxWorkerCount: pulumi.Input<number>;
210
+ /**
211
+ * Worker queue min worker count
212
+ */
53
213
  minWorkerCount: pulumi.Input<number>;
214
+ /**
215
+ * Worker queue name
216
+ */
54
217
  name: pulumi.Input<string>;
218
+ /**
219
+ * Worker queue Node pool identifier - required for 'HYBRID' deployments
220
+ */
221
+ nodePoolId?: pulumi.Input<string>;
222
+ /**
223
+ * Worker queue pod CPU
224
+ */
225
+ podCpu?: pulumi.Input<string>;
226
+ /**
227
+ * Worker queue pod memory
228
+ */
229
+ podMemory?: pulumi.Input<string>;
230
+ /**
231
+ * Worker queue worker concurrency
232
+ */
55
233
  workerConcurrency: pulumi.Input<number>;
56
234
  }
235
+ export interface TeamCreatedBy {
236
+ apiTokenName?: pulumi.Input<string>;
237
+ avatarUrl?: pulumi.Input<string>;
238
+ fullName?: pulumi.Input<string>;
239
+ id?: pulumi.Input<string>;
240
+ subjectType?: pulumi.Input<string>;
241
+ username?: pulumi.Input<string>;
242
+ }
243
+ export interface TeamDeploymentRole {
244
+ /**
245
+ * The ID of the deployment to assign the role to
246
+ */
247
+ deploymentId: pulumi.Input<string>;
248
+ /**
249
+ * The role to assign to the deployment
250
+ */
251
+ role: pulumi.Input<string>;
252
+ }
253
+ export interface TeamRolesDeploymentRole {
254
+ /**
255
+ * The ID of the deployment to assign the role to
256
+ */
257
+ deploymentId: pulumi.Input<string>;
258
+ /**
259
+ * The role to assign to the deployment
260
+ */
261
+ role: pulumi.Input<string>;
262
+ }
263
+ export interface TeamRolesWorkspaceRole {
264
+ /**
265
+ * The role to assign to the workspace
266
+ */
267
+ role: pulumi.Input<string>;
268
+ /**
269
+ * The ID of the workspace to assign the role to
270
+ */
271
+ workspaceId: pulumi.Input<string>;
272
+ }
273
+ export interface TeamUpdatedBy {
274
+ apiTokenName?: pulumi.Input<string>;
275
+ avatarUrl?: pulumi.Input<string>;
276
+ fullName?: pulumi.Input<string>;
277
+ id?: pulumi.Input<string>;
278
+ subjectType?: pulumi.Input<string>;
279
+ username?: pulumi.Input<string>;
280
+ }
281
+ export interface TeamWorkspaceRole {
282
+ /**
283
+ * The role to assign to the workspace
284
+ */
285
+ role: pulumi.Input<string>;
286
+ /**
287
+ * The ID of the workspace to assign the role to
288
+ */
289
+ workspaceId: pulumi.Input<string>;
290
+ }
291
+ export interface UserInviteInvitee {
292
+ apiTokenName?: pulumi.Input<string>;
293
+ avatarUrl?: pulumi.Input<string>;
294
+ fullName?: pulumi.Input<string>;
295
+ id?: pulumi.Input<string>;
296
+ subjectType?: pulumi.Input<string>;
297
+ username?: pulumi.Input<string>;
298
+ }
299
+ export interface UserInviteInviter {
300
+ apiTokenName?: pulumi.Input<string>;
301
+ avatarUrl?: pulumi.Input<string>;
302
+ fullName?: pulumi.Input<string>;
303
+ id?: pulumi.Input<string>;
304
+ subjectType?: pulumi.Input<string>;
305
+ username?: pulumi.Input<string>;
306
+ }
307
+ export interface UserRolesDeploymentRole {
308
+ /**
309
+ * The ID of the deployment to assign the role to
310
+ */
311
+ deploymentId: pulumi.Input<string>;
312
+ /**
313
+ * The role to assign to the deployment
314
+ */
315
+ role: pulumi.Input<string>;
316
+ }
317
+ export interface UserRolesWorkspaceRole {
318
+ /**
319
+ * The role to assign to the workspace
320
+ */
321
+ role: pulumi.Input<string>;
322
+ /**
323
+ * The ID of the workspace to assign the role to
324
+ */
325
+ workspaceId: pulumi.Input<string>;
326
+ }
327
+ export interface WorkspaceCreatedBy {
328
+ apiTokenName?: pulumi.Input<string>;
329
+ avatarUrl?: pulumi.Input<string>;
330
+ fullName?: pulumi.Input<string>;
331
+ id?: pulumi.Input<string>;
332
+ subjectType?: pulumi.Input<string>;
333
+ username?: pulumi.Input<string>;
334
+ }
335
+ export interface WorkspaceUpdatedBy {
336
+ apiTokenName?: pulumi.Input<string>;
337
+ avatarUrl?: pulumi.Input<string>;
338
+ fullName?: pulumi.Input<string>;
339
+ id?: pulumi.Input<string>;
340
+ subjectType?: pulumi.Input<string>;
341
+ username?: pulumi.Input<string>;
342
+ }