pulumi-harness 0.8.0a1750226873__py3-none-any.whl → 0.8.0a1752696115__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-harness might be problematic. Click here for more details.

@@ -26,18 +26,20 @@ class DelegatetokenArgs:
26
26
  name: Optional[pulumi.Input[builtins.str]] = None,
27
27
  org_id: Optional[pulumi.Input[builtins.str]] = None,
28
28
  project_id: Optional[pulumi.Input[builtins.str]] = None,
29
+ revoke_after: Optional[pulumi.Input[builtins.int]] = None,
29
30
  token_status: Optional[pulumi.Input[builtins.str]] = None,
30
31
  value: Optional[pulumi.Input[builtins.str]] = None):
31
32
  """
32
33
  The set of arguments for constructing a Delegatetoken resource.
33
34
  :param pulumi.Input[builtins.str] account_id: Account Identifier for the Entity
34
- :param pulumi.Input[builtins.int] created_at: Time when the delegate token is created.
35
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] created_by: created by details.
36
- :param pulumi.Input[builtins.str] name: Name of the resource.
37
- :param pulumi.Input[builtins.str] org_id: Unique identifier of the organization.
38
- :param pulumi.Input[builtins.str] project_id: Unique identifier of the project.
39
- :param pulumi.Input[builtins.str] token_status: Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
40
- :param pulumi.Input[builtins.str] value: Value of the delegate Token
35
+ :param pulumi.Input[builtins.int] created_at: Time when the delegate token is created. This is an epoch timestamp.
36
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] created_by: created by details
37
+ :param pulumi.Input[builtins.str] name: Name of the delegate token
38
+ :param pulumi.Input[builtins.str] org_id: Org Identifier for the Entity
39
+ :param pulumi.Input[builtins.str] project_id: Project Identifier for the Entity
40
+ :param pulumi.Input[builtins.int] revoke_after: Epoch time in milliseconds after which the token will be marked as revoked. There can be a delay of up to one hour from the epoch value provided and actual revoking of the token.
41
+ :param pulumi.Input[builtins.str] token_status: Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed
42
+ :param pulumi.Input[builtins.str] value: Value of the delegate token. Encoded in base64.
41
43
  """
42
44
  pulumi.set(__self__, "account_id", account_id)
43
45
  if created_at is not None:
@@ -50,6 +52,8 @@ class DelegatetokenArgs:
50
52
  pulumi.set(__self__, "org_id", org_id)
51
53
  if project_id is not None:
52
54
  pulumi.set(__self__, "project_id", project_id)
55
+ if revoke_after is not None:
56
+ pulumi.set(__self__, "revoke_after", revoke_after)
53
57
  if token_status is not None:
54
58
  pulumi.set(__self__, "token_status", token_status)
55
59
  if value is not None:
@@ -71,7 +75,7 @@ class DelegatetokenArgs:
71
75
  @pulumi.getter(name="createdAt")
72
76
  def created_at(self) -> Optional[pulumi.Input[builtins.int]]:
73
77
  """
74
- Time when the delegate token is created.
78
+ Time when the delegate token is created. This is an epoch timestamp.
75
79
  """
76
80
  return pulumi.get(self, "created_at")
77
81
 
@@ -83,7 +87,7 @@ class DelegatetokenArgs:
83
87
  @pulumi.getter(name="createdBy")
84
88
  def created_by(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
85
89
  """
86
- created by details.
90
+ created by details
87
91
  """
88
92
  return pulumi.get(self, "created_by")
89
93
 
@@ -95,7 +99,7 @@ class DelegatetokenArgs:
95
99
  @pulumi.getter
96
100
  def name(self) -> Optional[pulumi.Input[builtins.str]]:
97
101
  """
98
- Name of the resource.
102
+ Name of the delegate token
99
103
  """
100
104
  return pulumi.get(self, "name")
101
105
 
@@ -107,7 +111,7 @@ class DelegatetokenArgs:
107
111
  @pulumi.getter(name="orgId")
108
112
  def org_id(self) -> Optional[pulumi.Input[builtins.str]]:
109
113
  """
110
- Unique identifier of the organization.
114
+ Org Identifier for the Entity
111
115
  """
112
116
  return pulumi.get(self, "org_id")
113
117
 
@@ -119,7 +123,7 @@ class DelegatetokenArgs:
119
123
  @pulumi.getter(name="projectId")
120
124
  def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
121
125
  """
122
- Unique identifier of the project.
126
+ Project Identifier for the Entity
123
127
  """
124
128
  return pulumi.get(self, "project_id")
125
129
 
@@ -127,11 +131,23 @@ class DelegatetokenArgs:
127
131
  def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
128
132
  pulumi.set(self, "project_id", value)
129
133
 
134
+ @property
135
+ @pulumi.getter(name="revokeAfter")
136
+ def revoke_after(self) -> Optional[pulumi.Input[builtins.int]]:
137
+ """
138
+ Epoch time in milliseconds after which the token will be marked as revoked. There can be a delay of up to one hour from the epoch value provided and actual revoking of the token.
139
+ """
140
+ return pulumi.get(self, "revoke_after")
141
+
142
+ @revoke_after.setter
143
+ def revoke_after(self, value: Optional[pulumi.Input[builtins.int]]):
144
+ pulumi.set(self, "revoke_after", value)
145
+
130
146
  @property
131
147
  @pulumi.getter(name="tokenStatus")
132
148
  def token_status(self) -> Optional[pulumi.Input[builtins.str]]:
133
149
  """
134
- Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
150
+ Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed
135
151
  """
136
152
  return pulumi.get(self, "token_status")
137
153
 
@@ -143,7 +159,7 @@ class DelegatetokenArgs:
143
159
  @pulumi.getter
144
160
  def value(self) -> Optional[pulumi.Input[builtins.str]]:
145
161
  """
146
- Value of the delegate Token
162
+ Value of the delegate token. Encoded in base64.
147
163
  """
148
164
  return pulumi.get(self, "value")
149
165
 
@@ -161,18 +177,20 @@ class _DelegatetokenState:
161
177
  name: Optional[pulumi.Input[builtins.str]] = None,
162
178
  org_id: Optional[pulumi.Input[builtins.str]] = None,
163
179
  project_id: Optional[pulumi.Input[builtins.str]] = None,
180
+ revoke_after: Optional[pulumi.Input[builtins.int]] = None,
164
181
  token_status: Optional[pulumi.Input[builtins.str]] = None,
165
182
  value: Optional[pulumi.Input[builtins.str]] = None):
166
183
  """
167
184
  Input properties used for looking up and filtering Delegatetoken resources.
168
185
  :param pulumi.Input[builtins.str] account_id: Account Identifier for the Entity
169
- :param pulumi.Input[builtins.int] created_at: Time when the delegate token is created.
170
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] created_by: created by details.
171
- :param pulumi.Input[builtins.str] name: Name of the resource.
172
- :param pulumi.Input[builtins.str] org_id: Unique identifier of the organization.
173
- :param pulumi.Input[builtins.str] project_id: Unique identifier of the project.
174
- :param pulumi.Input[builtins.str] token_status: Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
175
- :param pulumi.Input[builtins.str] value: Value of the delegate Token
186
+ :param pulumi.Input[builtins.int] created_at: Time when the delegate token is created. This is an epoch timestamp.
187
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] created_by: created by details
188
+ :param pulumi.Input[builtins.str] name: Name of the delegate token
189
+ :param pulumi.Input[builtins.str] org_id: Org Identifier for the Entity
190
+ :param pulumi.Input[builtins.str] project_id: Project Identifier for the Entity
191
+ :param pulumi.Input[builtins.int] revoke_after: Epoch time in milliseconds after which the token will be marked as revoked. There can be a delay of up to one hour from the epoch value provided and actual revoking of the token.
192
+ :param pulumi.Input[builtins.str] token_status: Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed
193
+ :param pulumi.Input[builtins.str] value: Value of the delegate token. Encoded in base64.
176
194
  """
177
195
  if account_id is not None:
178
196
  pulumi.set(__self__, "account_id", account_id)
@@ -186,6 +204,8 @@ class _DelegatetokenState:
186
204
  pulumi.set(__self__, "org_id", org_id)
187
205
  if project_id is not None:
188
206
  pulumi.set(__self__, "project_id", project_id)
207
+ if revoke_after is not None:
208
+ pulumi.set(__self__, "revoke_after", revoke_after)
189
209
  if token_status is not None:
190
210
  pulumi.set(__self__, "token_status", token_status)
191
211
  if value is not None:
@@ -207,7 +227,7 @@ class _DelegatetokenState:
207
227
  @pulumi.getter(name="createdAt")
208
228
  def created_at(self) -> Optional[pulumi.Input[builtins.int]]:
209
229
  """
210
- Time when the delegate token is created.
230
+ Time when the delegate token is created. This is an epoch timestamp.
211
231
  """
212
232
  return pulumi.get(self, "created_at")
213
233
 
@@ -219,7 +239,7 @@ class _DelegatetokenState:
219
239
  @pulumi.getter(name="createdBy")
220
240
  def created_by(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
221
241
  """
222
- created by details.
242
+ created by details
223
243
  """
224
244
  return pulumi.get(self, "created_by")
225
245
 
@@ -231,7 +251,7 @@ class _DelegatetokenState:
231
251
  @pulumi.getter
232
252
  def name(self) -> Optional[pulumi.Input[builtins.str]]:
233
253
  """
234
- Name of the resource.
254
+ Name of the delegate token
235
255
  """
236
256
  return pulumi.get(self, "name")
237
257
 
@@ -243,7 +263,7 @@ class _DelegatetokenState:
243
263
  @pulumi.getter(name="orgId")
244
264
  def org_id(self) -> Optional[pulumi.Input[builtins.str]]:
245
265
  """
246
- Unique identifier of the organization.
266
+ Org Identifier for the Entity
247
267
  """
248
268
  return pulumi.get(self, "org_id")
249
269
 
@@ -255,7 +275,7 @@ class _DelegatetokenState:
255
275
  @pulumi.getter(name="projectId")
256
276
  def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
257
277
  """
258
- Unique identifier of the project.
278
+ Project Identifier for the Entity
259
279
  """
260
280
  return pulumi.get(self, "project_id")
261
281
 
@@ -263,11 +283,23 @@ class _DelegatetokenState:
263
283
  def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
264
284
  pulumi.set(self, "project_id", value)
265
285
 
286
+ @property
287
+ @pulumi.getter(name="revokeAfter")
288
+ def revoke_after(self) -> Optional[pulumi.Input[builtins.int]]:
289
+ """
290
+ Epoch time in milliseconds after which the token will be marked as revoked. There can be a delay of up to one hour from the epoch value provided and actual revoking of the token.
291
+ """
292
+ return pulumi.get(self, "revoke_after")
293
+
294
+ @revoke_after.setter
295
+ def revoke_after(self, value: Optional[pulumi.Input[builtins.int]]):
296
+ pulumi.set(self, "revoke_after", value)
297
+
266
298
  @property
267
299
  @pulumi.getter(name="tokenStatus")
268
300
  def token_status(self) -> Optional[pulumi.Input[builtins.str]]:
269
301
  """
270
- Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
302
+ Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed
271
303
  """
272
304
  return pulumi.get(self, "token_status")
273
305
 
@@ -279,7 +311,7 @@ class _DelegatetokenState:
279
311
  @pulumi.getter
280
312
  def value(self) -> Optional[pulumi.Input[builtins.str]]:
281
313
  """
282
- Value of the delegate Token
314
+ Value of the delegate token. Encoded in base64.
283
315
  """
284
316
  return pulumi.get(self, "value")
285
317
 
@@ -300,42 +332,50 @@ class Delegatetoken(pulumi.CustomResource):
300
332
  name: Optional[pulumi.Input[builtins.str]] = None,
301
333
  org_id: Optional[pulumi.Input[builtins.str]] = None,
302
334
  project_id: Optional[pulumi.Input[builtins.str]] = None,
335
+ revoke_after: Optional[pulumi.Input[builtins.int]] = None,
303
336
  token_status: Optional[pulumi.Input[builtins.str]] = None,
304
337
  value: Optional[pulumi.Input[builtins.str]] = None,
305
338
  __props__=None):
306
339
  """
307
- Resource for creating delegate tokens.
308
-
309
- ## Import
310
-
311
- Import account level delegate token
312
-
313
- ```sh
314
- $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <token_id>
315
- ```
316
-
317
- Import org level delegate token
318
-
319
- ```sh
320
- $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <org_id>/<token_id>
321
- ```
322
-
323
- Import project level delegate token
324
-
325
- ```sh
326
- $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <org_id>/<project_id>/<token_id>
340
+ ## Example Usage
341
+
342
+ ```python
343
+ import pulumi
344
+ import pulumi_harness as harness
345
+
346
+ # Create delegate token at account level
347
+ account_level = harness.platform.Delegatetoken("account_level",
348
+ name="account-delegate-token",
349
+ account_id="account_id")
350
+ # Create delegate token at organization level
351
+ org_level = harness.platform.Delegatetoken("org_level",
352
+ name="org-delegate-token",
353
+ account_id="account_id",
354
+ org_id="org_id")
355
+ # Create delegate token at project level
356
+ project_level = harness.platform.Delegatetoken("project_level",
357
+ name="project-delegate-token",
358
+ account_id="account_id",
359
+ org_id="org_id",
360
+ project_id="project_id")
361
+ # Create delegate token with auto-expiry
362
+ expiry_token = harness.platform.Delegatetoken("expiry_token",
363
+ name="expiry-delegate-token",
364
+ account_id="account_id",
365
+ revoke_after=1769689600000)
327
366
  ```
328
367
 
329
368
  :param str resource_name: The name of the resource.
330
369
  :param pulumi.ResourceOptions opts: Options for the resource.
331
370
  :param pulumi.Input[builtins.str] account_id: Account Identifier for the Entity
332
- :param pulumi.Input[builtins.int] created_at: Time when the delegate token is created.
333
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] created_by: created by details.
334
- :param pulumi.Input[builtins.str] name: Name of the resource.
335
- :param pulumi.Input[builtins.str] org_id: Unique identifier of the organization.
336
- :param pulumi.Input[builtins.str] project_id: Unique identifier of the project.
337
- :param pulumi.Input[builtins.str] token_status: Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
338
- :param pulumi.Input[builtins.str] value: Value of the delegate Token
371
+ :param pulumi.Input[builtins.int] created_at: Time when the delegate token is created. This is an epoch timestamp.
372
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] created_by: created by details
373
+ :param pulumi.Input[builtins.str] name: Name of the delegate token
374
+ :param pulumi.Input[builtins.str] org_id: Org Identifier for the Entity
375
+ :param pulumi.Input[builtins.str] project_id: Project Identifier for the Entity
376
+ :param pulumi.Input[builtins.int] revoke_after: Epoch time in milliseconds after which the token will be marked as revoked. There can be a delay of up to one hour from the epoch value provided and actual revoking of the token.
377
+ :param pulumi.Input[builtins.str] token_status: Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed
378
+ :param pulumi.Input[builtins.str] value: Value of the delegate token. Encoded in base64.
339
379
  """
340
380
  ...
341
381
  @overload
@@ -344,26 +384,32 @@ class Delegatetoken(pulumi.CustomResource):
344
384
  args: DelegatetokenArgs,
345
385
  opts: Optional[pulumi.ResourceOptions] = None):
346
386
  """
347
- Resource for creating delegate tokens.
348
-
349
- ## Import
350
-
351
- Import account level delegate token
352
-
353
- ```sh
354
- $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <token_id>
355
- ```
356
-
357
- Import org level delegate token
358
-
359
- ```sh
360
- $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <org_id>/<token_id>
361
- ```
362
-
363
- Import project level delegate token
364
-
365
- ```sh
366
- $ pulumi import harness:platform/delegatetoken:Delegatetoken harness_platform_delegatetoken <org_id>/<project_id>/<token_id>
387
+ ## Example Usage
388
+
389
+ ```python
390
+ import pulumi
391
+ import pulumi_harness as harness
392
+
393
+ # Create delegate token at account level
394
+ account_level = harness.platform.Delegatetoken("account_level",
395
+ name="account-delegate-token",
396
+ account_id="account_id")
397
+ # Create delegate token at organization level
398
+ org_level = harness.platform.Delegatetoken("org_level",
399
+ name="org-delegate-token",
400
+ account_id="account_id",
401
+ org_id="org_id")
402
+ # Create delegate token at project level
403
+ project_level = harness.platform.Delegatetoken("project_level",
404
+ name="project-delegate-token",
405
+ account_id="account_id",
406
+ org_id="org_id",
407
+ project_id="project_id")
408
+ # Create delegate token with auto-expiry
409
+ expiry_token = harness.platform.Delegatetoken("expiry_token",
410
+ name="expiry-delegate-token",
411
+ account_id="account_id",
412
+ revoke_after=1769689600000)
367
413
  ```
368
414
 
369
415
  :param str resource_name: The name of the resource.
@@ -387,6 +433,7 @@ class Delegatetoken(pulumi.CustomResource):
387
433
  name: Optional[pulumi.Input[builtins.str]] = None,
388
434
  org_id: Optional[pulumi.Input[builtins.str]] = None,
389
435
  project_id: Optional[pulumi.Input[builtins.str]] = None,
436
+ revoke_after: Optional[pulumi.Input[builtins.int]] = None,
390
437
  token_status: Optional[pulumi.Input[builtins.str]] = None,
391
438
  value: Optional[pulumi.Input[builtins.str]] = None,
392
439
  __props__=None):
@@ -406,6 +453,7 @@ class Delegatetoken(pulumi.CustomResource):
406
453
  __props__.__dict__["name"] = name
407
454
  __props__.__dict__["org_id"] = org_id
408
455
  __props__.__dict__["project_id"] = project_id
456
+ __props__.__dict__["revoke_after"] = revoke_after
409
457
  __props__.__dict__["token_status"] = token_status
410
458
  __props__.__dict__["value"] = value
411
459
  super(Delegatetoken, __self__).__init__(
@@ -424,6 +472,7 @@ class Delegatetoken(pulumi.CustomResource):
424
472
  name: Optional[pulumi.Input[builtins.str]] = None,
425
473
  org_id: Optional[pulumi.Input[builtins.str]] = None,
426
474
  project_id: Optional[pulumi.Input[builtins.str]] = None,
475
+ revoke_after: Optional[pulumi.Input[builtins.int]] = None,
427
476
  token_status: Optional[pulumi.Input[builtins.str]] = None,
428
477
  value: Optional[pulumi.Input[builtins.str]] = None) -> 'Delegatetoken':
429
478
  """
@@ -434,13 +483,14 @@ class Delegatetoken(pulumi.CustomResource):
434
483
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
435
484
  :param pulumi.ResourceOptions opts: Options for the resource.
436
485
  :param pulumi.Input[builtins.str] account_id: Account Identifier for the Entity
437
- :param pulumi.Input[builtins.int] created_at: Time when the delegate token is created.
438
- :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] created_by: created by details.
439
- :param pulumi.Input[builtins.str] name: Name of the resource.
440
- :param pulumi.Input[builtins.str] org_id: Unique identifier of the organization.
441
- :param pulumi.Input[builtins.str] project_id: Unique identifier of the project.
442
- :param pulumi.Input[builtins.str] token_status: Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
443
- :param pulumi.Input[builtins.str] value: Value of the delegate Token
486
+ :param pulumi.Input[builtins.int] created_at: Time when the delegate token is created. This is an epoch timestamp.
487
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] created_by: created by details
488
+ :param pulumi.Input[builtins.str] name: Name of the delegate token
489
+ :param pulumi.Input[builtins.str] org_id: Org Identifier for the Entity
490
+ :param pulumi.Input[builtins.str] project_id: Project Identifier for the Entity
491
+ :param pulumi.Input[builtins.int] revoke_after: Epoch time in milliseconds after which the token will be marked as revoked. There can be a delay of up to one hour from the epoch value provided and actual revoking of the token.
492
+ :param pulumi.Input[builtins.str] token_status: Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed
493
+ :param pulumi.Input[builtins.str] value: Value of the delegate token. Encoded in base64.
444
494
  """
445
495
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
446
496
 
@@ -452,6 +502,7 @@ class Delegatetoken(pulumi.CustomResource):
452
502
  __props__.__dict__["name"] = name
453
503
  __props__.__dict__["org_id"] = org_id
454
504
  __props__.__dict__["project_id"] = project_id
505
+ __props__.__dict__["revoke_after"] = revoke_after
455
506
  __props__.__dict__["token_status"] = token_status
456
507
  __props__.__dict__["value"] = value
457
508
  return Delegatetoken(resource_name, opts=opts, __props__=__props__)
@@ -468,7 +519,7 @@ class Delegatetoken(pulumi.CustomResource):
468
519
  @pulumi.getter(name="createdAt")
469
520
  def created_at(self) -> pulumi.Output[builtins.int]:
470
521
  """
471
- Time when the delegate token is created.
522
+ Time when the delegate token is created. This is an epoch timestamp.
472
523
  """
473
524
  return pulumi.get(self, "created_at")
474
525
 
@@ -476,7 +527,7 @@ class Delegatetoken(pulumi.CustomResource):
476
527
  @pulumi.getter(name="createdBy")
477
528
  def created_by(self) -> pulumi.Output[Mapping[str, builtins.str]]:
478
529
  """
479
- created by details.
530
+ created by details
480
531
  """
481
532
  return pulumi.get(self, "created_by")
482
533
 
@@ -484,7 +535,7 @@ class Delegatetoken(pulumi.CustomResource):
484
535
  @pulumi.getter
485
536
  def name(self) -> pulumi.Output[builtins.str]:
486
537
  """
487
- Name of the resource.
538
+ Name of the delegate token
488
539
  """
489
540
  return pulumi.get(self, "name")
490
541
 
@@ -492,7 +543,7 @@ class Delegatetoken(pulumi.CustomResource):
492
543
  @pulumi.getter(name="orgId")
493
544
  def org_id(self) -> pulumi.Output[Optional[builtins.str]]:
494
545
  """
495
- Unique identifier of the organization.
546
+ Org Identifier for the Entity
496
547
  """
497
548
  return pulumi.get(self, "org_id")
498
549
 
@@ -500,15 +551,23 @@ class Delegatetoken(pulumi.CustomResource):
500
551
  @pulumi.getter(name="projectId")
501
552
  def project_id(self) -> pulumi.Output[Optional[builtins.str]]:
502
553
  """
503
- Unique identifier of the project.
554
+ Project Identifier for the Entity
504
555
  """
505
556
  return pulumi.get(self, "project_id")
506
557
 
558
+ @property
559
+ @pulumi.getter(name="revokeAfter")
560
+ def revoke_after(self) -> pulumi.Output[Optional[builtins.int]]:
561
+ """
562
+ Epoch time in milliseconds after which the token will be marked as revoked. There can be a delay of up to one hour from the epoch value provided and actual revoking of the token.
563
+ """
564
+ return pulumi.get(self, "revoke_after")
565
+
507
566
  @property
508
567
  @pulumi.getter(name="tokenStatus")
509
568
  def token_status(self) -> pulumi.Output[builtins.str]:
510
569
  """
511
- Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed.
570
+ Status of Delegate Token (ACTIVE or REVOKED). If left empty both active and revoked tokens will be assumed
512
571
  """
513
572
  return pulumi.get(self, "token_status")
514
573
 
@@ -516,7 +575,7 @@ class Delegatetoken(pulumi.CustomResource):
516
575
  @pulumi.getter
517
576
  def value(self) -> pulumi.Output[builtins.str]:
518
577
  """
519
- Value of the delegate Token
578
+ Value of the delegate token. Encoded in base64.
520
579
  """
521
580
  return pulumi.get(self, "value")
522
581