pulumi-aiven 6.17.0__py3-none-any.whl → 6.17.0a1716959607__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-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +174 -30
- pulumi_aiven/get_mirror_maker_replication_flow.py +1 -14
- pulumi_aiven/get_organization_application_user.py +8 -15
- pulumi_aiven/mirror_maker_replication_flow.py +0 -47
- pulumi_aiven/organization_application_user.py +45 -52
- pulumi_aiven/organization_application_user_token.py +51 -15
- pulumi_aiven/outputs.py +174 -62
- pulumi_aiven/pulumi-plugin.json +1 -1
- {pulumi_aiven-6.17.0.dist-info → pulumi_aiven-6.17.0a1716959607.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.17.0.dist-info → pulumi_aiven-6.17.0a1716959607.dist-info}/RECORD +12 -12
- {pulumi_aiven-6.17.0.dist-info → pulumi_aiven-6.17.0a1716959607.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.17.0.dist-info → pulumi_aiven-6.17.0a1716959607.dist-info}/top_level.txt +0 -0
|
@@ -23,7 +23,6 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
23
23
|
target_cluster: pulumi.Input[str],
|
|
24
24
|
emit_backward_heartbeats_enabled: Optional[pulumi.Input[bool]] = None,
|
|
25
25
|
emit_heartbeats_enabled: Optional[pulumi.Input[bool]] = None,
|
|
26
|
-
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
27
26
|
sync_group_offsets_enabled: Optional[pulumi.Input[bool]] = None,
|
|
28
27
|
sync_group_offsets_interval_seconds: Optional[pulumi.Input[int]] = None,
|
|
29
28
|
topics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -39,7 +38,6 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
39
38
|
:param pulumi.Input[str] target_cluster: Target cluster alias. Maximum length: `128`.
|
|
40
39
|
:param pulumi.Input[bool] emit_backward_heartbeats_enabled: Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is `false`.
|
|
41
40
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
42
|
-
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
43
41
|
:param pulumi.Input[bool] sync_group_offsets_enabled: Sync consumer group offsets. The default value is `false`.
|
|
44
42
|
:param pulumi.Input[int] sync_group_offsets_interval_seconds: Frequency of consumer group offset sync. The default value is `1`.
|
|
45
43
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] topics: List of topics and/or regular expressions to replicate
|
|
@@ -56,8 +54,6 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
56
54
|
pulumi.set(__self__, "emit_backward_heartbeats_enabled", emit_backward_heartbeats_enabled)
|
|
57
55
|
if emit_heartbeats_enabled is not None:
|
|
58
56
|
pulumi.set(__self__, "emit_heartbeats_enabled", emit_heartbeats_enabled)
|
|
59
|
-
if replication_factor is not None:
|
|
60
|
-
pulumi.set(__self__, "replication_factor", replication_factor)
|
|
61
57
|
if sync_group_offsets_enabled is not None:
|
|
62
58
|
pulumi.set(__self__, "sync_group_offsets_enabled", sync_group_offsets_enabled)
|
|
63
59
|
if sync_group_offsets_interval_seconds is not None:
|
|
@@ -175,18 +171,6 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
175
171
|
def emit_heartbeats_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
176
172
|
pulumi.set(self, "emit_heartbeats_enabled", value)
|
|
177
173
|
|
|
178
|
-
@property
|
|
179
|
-
@pulumi.getter(name="replicationFactor")
|
|
180
|
-
def replication_factor(self) -> Optional[pulumi.Input[int]]:
|
|
181
|
-
"""
|
|
182
|
-
Replication factor, `>= 1`.
|
|
183
|
-
"""
|
|
184
|
-
return pulumi.get(self, "replication_factor")
|
|
185
|
-
|
|
186
|
-
@replication_factor.setter
|
|
187
|
-
def replication_factor(self, value: Optional[pulumi.Input[int]]):
|
|
188
|
-
pulumi.set(self, "replication_factor", value)
|
|
189
|
-
|
|
190
174
|
@property
|
|
191
175
|
@pulumi.getter(name="syncGroupOffsetsEnabled")
|
|
192
176
|
def sync_group_offsets_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -244,7 +228,6 @@ class _MirrorMakerReplicationFlowState:
|
|
|
244
228
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
245
229
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
246
230
|
project: Optional[pulumi.Input[str]] = None,
|
|
247
|
-
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
248
231
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
249
232
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
250
233
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -260,7 +243,6 @@ class _MirrorMakerReplicationFlowState:
|
|
|
260
243
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
261
244
|
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
262
245
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
263
|
-
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
264
246
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
265
247
|
:param pulumi.Input[str] service_name: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
266
248
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
@@ -280,8 +262,6 @@ class _MirrorMakerReplicationFlowState:
|
|
|
280
262
|
pulumi.set(__self__, "offset_syncs_topic_location", offset_syncs_topic_location)
|
|
281
263
|
if project is not None:
|
|
282
264
|
pulumi.set(__self__, "project", project)
|
|
283
|
-
if replication_factor is not None:
|
|
284
|
-
pulumi.set(__self__, "replication_factor", replication_factor)
|
|
285
265
|
if replication_policy_class is not None:
|
|
286
266
|
pulumi.set(__self__, "replication_policy_class", replication_policy_class)
|
|
287
267
|
if service_name is not None:
|
|
@@ -359,18 +339,6 @@ class _MirrorMakerReplicationFlowState:
|
|
|
359
339
|
def project(self, value: Optional[pulumi.Input[str]]):
|
|
360
340
|
pulumi.set(self, "project", value)
|
|
361
341
|
|
|
362
|
-
@property
|
|
363
|
-
@pulumi.getter(name="replicationFactor")
|
|
364
|
-
def replication_factor(self) -> Optional[pulumi.Input[int]]:
|
|
365
|
-
"""
|
|
366
|
-
Replication factor, `>= 1`.
|
|
367
|
-
"""
|
|
368
|
-
return pulumi.get(self, "replication_factor")
|
|
369
|
-
|
|
370
|
-
@replication_factor.setter
|
|
371
|
-
def replication_factor(self, value: Optional[pulumi.Input[int]]):
|
|
372
|
-
pulumi.set(self, "replication_factor", value)
|
|
373
|
-
|
|
374
342
|
@property
|
|
375
343
|
@pulumi.getter(name="replicationPolicyClass")
|
|
376
344
|
def replication_policy_class(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -478,7 +446,6 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
478
446
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
479
447
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
480
448
|
project: Optional[pulumi.Input[str]] = None,
|
|
481
|
-
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
482
449
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
483
450
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
484
451
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -524,7 +491,6 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
524
491
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
525
492
|
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
526
493
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
527
|
-
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
528
494
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
529
495
|
:param pulumi.Input[str] service_name: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
530
496
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
@@ -589,7 +555,6 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
589
555
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
590
556
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
591
557
|
project: Optional[pulumi.Input[str]] = None,
|
|
592
|
-
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
593
558
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
594
559
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
595
560
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -618,7 +583,6 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
618
583
|
if project is None and not opts.urn:
|
|
619
584
|
raise TypeError("Missing required property 'project'")
|
|
620
585
|
__props__.__dict__["project"] = project
|
|
621
|
-
__props__.__dict__["replication_factor"] = replication_factor
|
|
622
586
|
if replication_policy_class is None and not opts.urn:
|
|
623
587
|
raise TypeError("Missing required property 'replication_policy_class'")
|
|
624
588
|
__props__.__dict__["replication_policy_class"] = replication_policy_class
|
|
@@ -650,7 +614,6 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
650
614
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
651
615
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
652
616
|
project: Optional[pulumi.Input[str]] = None,
|
|
653
|
-
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
654
617
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
655
618
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
656
619
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -671,7 +634,6 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
671
634
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
672
635
|
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
673
636
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
674
|
-
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
675
637
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
676
638
|
:param pulumi.Input[str] service_name: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
677
639
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
@@ -690,7 +652,6 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
690
652
|
__props__.__dict__["enable"] = enable
|
|
691
653
|
__props__.__dict__["offset_syncs_topic_location"] = offset_syncs_topic_location
|
|
692
654
|
__props__.__dict__["project"] = project
|
|
693
|
-
__props__.__dict__["replication_factor"] = replication_factor
|
|
694
655
|
__props__.__dict__["replication_policy_class"] = replication_policy_class
|
|
695
656
|
__props__.__dict__["service_name"] = service_name
|
|
696
657
|
__props__.__dict__["source_cluster"] = source_cluster
|
|
@@ -741,14 +702,6 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
741
702
|
"""
|
|
742
703
|
return pulumi.get(self, "project")
|
|
743
704
|
|
|
744
|
-
@property
|
|
745
|
-
@pulumi.getter(name="replicationFactor")
|
|
746
|
-
def replication_factor(self) -> pulumi.Output[Optional[int]]:
|
|
747
|
-
"""
|
|
748
|
-
Replication factor, `>= 1`.
|
|
749
|
-
"""
|
|
750
|
-
return pulumi.get(self, "replication_factor")
|
|
751
|
-
|
|
752
705
|
@property
|
|
753
706
|
@pulumi.getter(name="replicationPolicyClass")
|
|
754
707
|
def replication_policy_class(self) -> pulumi.Output[str]:
|
|
@@ -8,6 +8,8 @@ import pulumi
|
|
|
8
8
|
import pulumi.runtime
|
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ._inputs import *
|
|
11
13
|
|
|
12
14
|
__all__ = ['OrganizationApplicationUserArgs', 'OrganizationApplicationUser']
|
|
13
15
|
|
|
@@ -15,19 +17,18 @@ __all__ = ['OrganizationApplicationUserArgs', 'OrganizationApplicationUser']
|
|
|
15
17
|
class OrganizationApplicationUserArgs:
|
|
16
18
|
def __init__(__self__, *,
|
|
17
19
|
organization_id: pulumi.Input[str],
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
21
|
+
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']] = None):
|
|
20
22
|
"""
|
|
21
23
|
The set of arguments for constructing a OrganizationApplicationUser resource.
|
|
22
24
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
23
|
-
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
24
25
|
:param pulumi.Input[str] name: Name of the application user.
|
|
25
26
|
"""
|
|
26
27
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
27
|
-
if is_super_admin is not None:
|
|
28
|
-
pulumi.set(__self__, "is_super_admin", is_super_admin)
|
|
29
28
|
if name is not None:
|
|
30
29
|
pulumi.set(__self__, "name", name)
|
|
30
|
+
if timeouts is not None:
|
|
31
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
31
32
|
|
|
32
33
|
@property
|
|
33
34
|
@pulumi.getter(name="organizationId")
|
|
@@ -41,18 +42,6 @@ class OrganizationApplicationUserArgs:
|
|
|
41
42
|
def organization_id(self, value: pulumi.Input[str]):
|
|
42
43
|
pulumi.set(self, "organization_id", value)
|
|
43
44
|
|
|
44
|
-
@property
|
|
45
|
-
@pulumi.getter(name="isSuperAdmin")
|
|
46
|
-
def is_super_admin(self) -> Optional[pulumi.Input[bool]]:
|
|
47
|
-
"""
|
|
48
|
-
Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
49
|
-
"""
|
|
50
|
-
return pulumi.get(self, "is_super_admin")
|
|
51
|
-
|
|
52
|
-
@is_super_admin.setter
|
|
53
|
-
def is_super_admin(self, value: Optional[pulumi.Input[bool]]):
|
|
54
|
-
pulumi.set(self, "is_super_admin", value)
|
|
55
|
-
|
|
56
45
|
@property
|
|
57
46
|
@pulumi.getter
|
|
58
47
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -65,31 +54,40 @@ class OrganizationApplicationUserArgs:
|
|
|
65
54
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
66
55
|
pulumi.set(self, "name", value)
|
|
67
56
|
|
|
57
|
+
@property
|
|
58
|
+
@pulumi.getter
|
|
59
|
+
def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]:
|
|
60
|
+
return pulumi.get(self, "timeouts")
|
|
61
|
+
|
|
62
|
+
@timeouts.setter
|
|
63
|
+
def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]):
|
|
64
|
+
pulumi.set(self, "timeouts", value)
|
|
65
|
+
|
|
68
66
|
|
|
69
67
|
@pulumi.input_type
|
|
70
68
|
class _OrganizationApplicationUserState:
|
|
71
69
|
def __init__(__self__, *,
|
|
72
70
|
email: Optional[pulumi.Input[str]] = None,
|
|
73
|
-
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
74
71
|
name: Optional[pulumi.Input[str]] = None,
|
|
75
72
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
73
|
+
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']] = None,
|
|
76
74
|
user_id: Optional[pulumi.Input[str]] = None):
|
|
77
75
|
"""
|
|
78
76
|
Input properties used for looking up and filtering OrganizationApplicationUser resources.
|
|
79
|
-
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user.
|
|
80
|
-
|
|
77
|
+
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user.
|
|
78
|
+
No notifications are sent to this email.
|
|
81
79
|
:param pulumi.Input[str] name: Name of the application user.
|
|
82
80
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
83
81
|
:param pulumi.Input[str] user_id: The ID of the application user.
|
|
84
82
|
"""
|
|
85
83
|
if email is not None:
|
|
86
84
|
pulumi.set(__self__, "email", email)
|
|
87
|
-
if is_super_admin is not None:
|
|
88
|
-
pulumi.set(__self__, "is_super_admin", is_super_admin)
|
|
89
85
|
if name is not None:
|
|
90
86
|
pulumi.set(__self__, "name", name)
|
|
91
87
|
if organization_id is not None:
|
|
92
88
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
89
|
+
if timeouts is not None:
|
|
90
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
93
91
|
if user_id is not None:
|
|
94
92
|
pulumi.set(__self__, "user_id", user_id)
|
|
95
93
|
|
|
@@ -97,7 +95,8 @@ class _OrganizationApplicationUserState:
|
|
|
97
95
|
@pulumi.getter
|
|
98
96
|
def email(self) -> Optional[pulumi.Input[str]]:
|
|
99
97
|
"""
|
|
100
|
-
An email address automatically generated by Aiven to help identify the application user.
|
|
98
|
+
An email address automatically generated by Aiven to help identify the application user.
|
|
99
|
+
No notifications are sent to this email.
|
|
101
100
|
"""
|
|
102
101
|
return pulumi.get(self, "email")
|
|
103
102
|
|
|
@@ -105,18 +104,6 @@ class _OrganizationApplicationUserState:
|
|
|
105
104
|
def email(self, value: Optional[pulumi.Input[str]]):
|
|
106
105
|
pulumi.set(self, "email", value)
|
|
107
106
|
|
|
108
|
-
@property
|
|
109
|
-
@pulumi.getter(name="isSuperAdmin")
|
|
110
|
-
def is_super_admin(self) -> Optional[pulumi.Input[bool]]:
|
|
111
|
-
"""
|
|
112
|
-
Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
113
|
-
"""
|
|
114
|
-
return pulumi.get(self, "is_super_admin")
|
|
115
|
-
|
|
116
|
-
@is_super_admin.setter
|
|
117
|
-
def is_super_admin(self, value: Optional[pulumi.Input[bool]]):
|
|
118
|
-
pulumi.set(self, "is_super_admin", value)
|
|
119
|
-
|
|
120
107
|
@property
|
|
121
108
|
@pulumi.getter
|
|
122
109
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -141,6 +128,15 @@ class _OrganizationApplicationUserState:
|
|
|
141
128
|
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
|
142
129
|
pulumi.set(self, "organization_id", value)
|
|
143
130
|
|
|
131
|
+
@property
|
|
132
|
+
@pulumi.getter
|
|
133
|
+
def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]:
|
|
134
|
+
return pulumi.get(self, "timeouts")
|
|
135
|
+
|
|
136
|
+
@timeouts.setter
|
|
137
|
+
def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']]):
|
|
138
|
+
pulumi.set(self, "timeouts", value)
|
|
139
|
+
|
|
144
140
|
@property
|
|
145
141
|
@pulumi.getter(name="userId")
|
|
146
142
|
def user_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -159,9 +155,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
159
155
|
def __init__(__self__,
|
|
160
156
|
resource_name: str,
|
|
161
157
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
162
|
-
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
163
158
|
name: Optional[pulumi.Input[str]] = None,
|
|
164
159
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
160
|
+
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTimeoutsArgs']]] = None,
|
|
165
161
|
__props__=None):
|
|
166
162
|
"""
|
|
167
163
|
Creates and manages an organization application user. [Application users](https://aiven.io/docs/platform/howto/manage-application-users) can be used for programmatic access to the platform.
|
|
@@ -185,7 +181,6 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
185
181
|
|
|
186
182
|
:param str resource_name: The name of the resource.
|
|
187
183
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
188
|
-
:param pulumi.Input[bool] is_super_admin: Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
189
184
|
:param pulumi.Input[str] name: Name of the application user.
|
|
190
185
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
191
186
|
"""
|
|
@@ -230,9 +225,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
230
225
|
def _internal_init(__self__,
|
|
231
226
|
resource_name: str,
|
|
232
227
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
233
|
-
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
234
228
|
name: Optional[pulumi.Input[str]] = None,
|
|
235
229
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
230
|
+
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTimeoutsArgs']]] = None,
|
|
236
231
|
__props__=None):
|
|
237
232
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
238
233
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -242,11 +237,11 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
242
237
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
243
238
|
__props__ = OrganizationApplicationUserArgs.__new__(OrganizationApplicationUserArgs)
|
|
244
239
|
|
|
245
|
-
__props__.__dict__["is_super_admin"] = is_super_admin
|
|
246
240
|
__props__.__dict__["name"] = name
|
|
247
241
|
if organization_id is None and not opts.urn:
|
|
248
242
|
raise TypeError("Missing required property 'organization_id'")
|
|
249
243
|
__props__.__dict__["organization_id"] = organization_id
|
|
244
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
250
245
|
__props__.__dict__["email"] = None
|
|
251
246
|
__props__.__dict__["user_id"] = None
|
|
252
247
|
super(OrganizationApplicationUser, __self__).__init__(
|
|
@@ -260,9 +255,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
260
255
|
id: pulumi.Input[str],
|
|
261
256
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
262
257
|
email: Optional[pulumi.Input[str]] = None,
|
|
263
|
-
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
264
258
|
name: Optional[pulumi.Input[str]] = None,
|
|
265
259
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
260
|
+
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTimeoutsArgs']]] = None,
|
|
266
261
|
user_id: Optional[pulumi.Input[str]] = None) -> 'OrganizationApplicationUser':
|
|
267
262
|
"""
|
|
268
263
|
Get an existing OrganizationApplicationUser resource's state with the given name, id, and optional extra
|
|
@@ -271,8 +266,8 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
271
266
|
:param str resource_name: The unique name of the resulting resource.
|
|
272
267
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
273
268
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
274
|
-
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user.
|
|
275
|
-
|
|
269
|
+
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user.
|
|
270
|
+
No notifications are sent to this email.
|
|
276
271
|
:param pulumi.Input[str] name: Name of the application user.
|
|
277
272
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
278
273
|
:param pulumi.Input[str] user_id: The ID of the application user.
|
|
@@ -282,9 +277,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
282
277
|
__props__ = _OrganizationApplicationUserState.__new__(_OrganizationApplicationUserState)
|
|
283
278
|
|
|
284
279
|
__props__.__dict__["email"] = email
|
|
285
|
-
__props__.__dict__["is_super_admin"] = is_super_admin
|
|
286
280
|
__props__.__dict__["name"] = name
|
|
287
281
|
__props__.__dict__["organization_id"] = organization_id
|
|
282
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
288
283
|
__props__.__dict__["user_id"] = user_id
|
|
289
284
|
return OrganizationApplicationUser(resource_name, opts=opts, __props__=__props__)
|
|
290
285
|
|
|
@@ -292,18 +287,11 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
292
287
|
@pulumi.getter
|
|
293
288
|
def email(self) -> pulumi.Output[str]:
|
|
294
289
|
"""
|
|
295
|
-
An email address automatically generated by Aiven to help identify the application user.
|
|
290
|
+
An email address automatically generated by Aiven to help identify the application user.
|
|
291
|
+
No notifications are sent to this email.
|
|
296
292
|
"""
|
|
297
293
|
return pulumi.get(self, "email")
|
|
298
294
|
|
|
299
|
-
@property
|
|
300
|
-
@pulumi.getter(name="isSuperAdmin")
|
|
301
|
-
def is_super_admin(self) -> pulumi.Output[Optional[bool]]:
|
|
302
|
-
"""
|
|
303
|
-
Makes the application user a super admin. The super admin role has full access to an organization, its billing and settings, and all its organizational units, projects, and services.
|
|
304
|
-
"""
|
|
305
|
-
return pulumi.get(self, "is_super_admin")
|
|
306
|
-
|
|
307
295
|
@property
|
|
308
296
|
@pulumi.getter
|
|
309
297
|
def name(self) -> pulumi.Output[str]:
|
|
@@ -320,6 +308,11 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
320
308
|
"""
|
|
321
309
|
return pulumi.get(self, "organization_id")
|
|
322
310
|
|
|
311
|
+
@property
|
|
312
|
+
@pulumi.getter
|
|
313
|
+
def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationApplicationUserTimeouts']]:
|
|
314
|
+
return pulumi.get(self, "timeouts")
|
|
315
|
+
|
|
323
316
|
@property
|
|
324
317
|
@pulumi.getter(name="userId")
|
|
325
318
|
def user_id(self) -> pulumi.Output[str]:
|
|
@@ -8,6 +8,8 @@ import pulumi
|
|
|
8
8
|
import pulumi.runtime
|
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
|
+
from . import outputs
|
|
12
|
+
from ._inputs import *
|
|
11
13
|
|
|
12
14
|
__all__ = ['OrganizationApplicationUserTokenArgs', 'OrganizationApplicationUserToken']
|
|
13
15
|
|
|
@@ -18,15 +20,16 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
18
20
|
user_id: pulumi.Input[str],
|
|
19
21
|
description: Optional[pulumi.Input[str]] = None,
|
|
20
22
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
21
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
22
|
-
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
|
23
|
+
max_age_seconds: Optional[pulumi.Input[float]] = None,
|
|
24
|
+
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
25
|
+
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']] = None):
|
|
23
26
|
"""
|
|
24
27
|
The set of arguments for constructing a OrganizationApplicationUserToken resource.
|
|
25
28
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
26
29
|
:param pulumi.Input[str] user_id: The ID of the application user the token is created for.
|
|
27
30
|
:param pulumi.Input[str] description: Description of the token.
|
|
28
31
|
:param pulumi.Input[bool] extend_when_used: Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
|
|
29
|
-
:param pulumi.Input[
|
|
32
|
+
:param pulumi.Input[float] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
30
33
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
31
34
|
"""
|
|
32
35
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
@@ -39,6 +42,8 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
39
42
|
pulumi.set(__self__, "max_age_seconds", max_age_seconds)
|
|
40
43
|
if scopes is not None:
|
|
41
44
|
pulumi.set(__self__, "scopes", scopes)
|
|
45
|
+
if timeouts is not None:
|
|
46
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
42
47
|
|
|
43
48
|
@property
|
|
44
49
|
@pulumi.getter(name="organizationId")
|
|
@@ -90,14 +95,14 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
90
95
|
|
|
91
96
|
@property
|
|
92
97
|
@pulumi.getter(name="maxAgeSeconds")
|
|
93
|
-
def max_age_seconds(self) -> Optional[pulumi.Input[
|
|
98
|
+
def max_age_seconds(self) -> Optional[pulumi.Input[float]]:
|
|
94
99
|
"""
|
|
95
100
|
The number of hours after which a token expires. Default session duration is 10 hours.
|
|
96
101
|
"""
|
|
97
102
|
return pulumi.get(self, "max_age_seconds")
|
|
98
103
|
|
|
99
104
|
@max_age_seconds.setter
|
|
100
|
-
def max_age_seconds(self, value: Optional[pulumi.Input[
|
|
105
|
+
def max_age_seconds(self, value: Optional[pulumi.Input[float]]):
|
|
101
106
|
pulumi.set(self, "max_age_seconds", value)
|
|
102
107
|
|
|
103
108
|
@property
|
|
@@ -112,6 +117,15 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
112
117
|
def scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
113
118
|
pulumi.set(self, "scopes", value)
|
|
114
119
|
|
|
120
|
+
@property
|
|
121
|
+
@pulumi.getter
|
|
122
|
+
def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]:
|
|
123
|
+
return pulumi.get(self, "timeouts")
|
|
124
|
+
|
|
125
|
+
@timeouts.setter
|
|
126
|
+
def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]):
|
|
127
|
+
pulumi.set(self, "timeouts", value)
|
|
128
|
+
|
|
115
129
|
|
|
116
130
|
@pulumi.input_type
|
|
117
131
|
class _OrganizationApplicationUserTokenState:
|
|
@@ -127,9 +141,10 @@ class _OrganizationApplicationUserTokenState:
|
|
|
127
141
|
last_used_time: Optional[pulumi.Input[str]] = None,
|
|
128
142
|
last_user_agent: Optional[pulumi.Input[str]] = None,
|
|
129
143
|
last_user_agent_human_readable: Optional[pulumi.Input[str]] = None,
|
|
130
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
144
|
+
max_age_seconds: Optional[pulumi.Input[float]] = None,
|
|
131
145
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
132
146
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
147
|
+
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']] = None,
|
|
133
148
|
token_prefix: Optional[pulumi.Input[str]] = None,
|
|
134
149
|
user_id: Optional[pulumi.Input[str]] = None):
|
|
135
150
|
"""
|
|
@@ -145,7 +160,7 @@ class _OrganizationApplicationUserTokenState:
|
|
|
145
160
|
:param pulumi.Input[str] last_used_time: Timestamp when the access token was last used.
|
|
146
161
|
:param pulumi.Input[str] last_user_agent: User agent of the last request made with this token.
|
|
147
162
|
:param pulumi.Input[str] last_user_agent_human_readable: User agent of the last request made with this token in human-readable format.
|
|
148
|
-
:param pulumi.Input[
|
|
163
|
+
:param pulumi.Input[float] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
149
164
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
150
165
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
151
166
|
:param pulumi.Input[str] token_prefix: Prefix of the token.
|
|
@@ -179,6 +194,8 @@ class _OrganizationApplicationUserTokenState:
|
|
|
179
194
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
180
195
|
if scopes is not None:
|
|
181
196
|
pulumi.set(__self__, "scopes", scopes)
|
|
197
|
+
if timeouts is not None:
|
|
198
|
+
pulumi.set(__self__, "timeouts", timeouts)
|
|
182
199
|
if token_prefix is not None:
|
|
183
200
|
pulumi.set(__self__, "token_prefix", token_prefix)
|
|
184
201
|
if user_id is not None:
|
|
@@ -318,14 +335,14 @@ class _OrganizationApplicationUserTokenState:
|
|
|
318
335
|
|
|
319
336
|
@property
|
|
320
337
|
@pulumi.getter(name="maxAgeSeconds")
|
|
321
|
-
def max_age_seconds(self) -> Optional[pulumi.Input[
|
|
338
|
+
def max_age_seconds(self) -> Optional[pulumi.Input[float]]:
|
|
322
339
|
"""
|
|
323
340
|
The number of hours after which a token expires. Default session duration is 10 hours.
|
|
324
341
|
"""
|
|
325
342
|
return pulumi.get(self, "max_age_seconds")
|
|
326
343
|
|
|
327
344
|
@max_age_seconds.setter
|
|
328
|
-
def max_age_seconds(self, value: Optional[pulumi.Input[
|
|
345
|
+
def max_age_seconds(self, value: Optional[pulumi.Input[float]]):
|
|
329
346
|
pulumi.set(self, "max_age_seconds", value)
|
|
330
347
|
|
|
331
348
|
@property
|
|
@@ -352,6 +369,15 @@ class _OrganizationApplicationUserTokenState:
|
|
|
352
369
|
def scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
353
370
|
pulumi.set(self, "scopes", value)
|
|
354
371
|
|
|
372
|
+
@property
|
|
373
|
+
@pulumi.getter
|
|
374
|
+
def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]:
|
|
375
|
+
return pulumi.get(self, "timeouts")
|
|
376
|
+
|
|
377
|
+
@timeouts.setter
|
|
378
|
+
def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]):
|
|
379
|
+
pulumi.set(self, "timeouts", value)
|
|
380
|
+
|
|
355
381
|
@property
|
|
356
382
|
@pulumi.getter(name="tokenPrefix")
|
|
357
383
|
def token_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -384,9 +410,10 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
384
410
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
385
411
|
description: Optional[pulumi.Input[str]] = None,
|
|
386
412
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
387
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
413
|
+
max_age_seconds: Optional[pulumi.Input[float]] = None,
|
|
388
414
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
389
415
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
416
|
+
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTokenTimeoutsArgs']]] = None,
|
|
390
417
|
user_id: Optional[pulumi.Input[str]] = None,
|
|
391
418
|
__props__=None):
|
|
392
419
|
"""
|
|
@@ -417,7 +444,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
417
444
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
418
445
|
:param pulumi.Input[str] description: Description of the token.
|
|
419
446
|
:param pulumi.Input[bool] extend_when_used: Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
|
|
420
|
-
:param pulumi.Input[
|
|
447
|
+
:param pulumi.Input[float] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
421
448
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
422
449
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
423
450
|
:param pulumi.Input[str] user_id: The ID of the application user the token is created for.
|
|
@@ -469,9 +496,10 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
469
496
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
470
497
|
description: Optional[pulumi.Input[str]] = None,
|
|
471
498
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
472
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
499
|
+
max_age_seconds: Optional[pulumi.Input[float]] = None,
|
|
473
500
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
474
501
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
502
|
+
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTokenTimeoutsArgs']]] = None,
|
|
475
503
|
user_id: Optional[pulumi.Input[str]] = None,
|
|
476
504
|
__props__=None):
|
|
477
505
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -489,6 +517,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
489
517
|
raise TypeError("Missing required property 'organization_id'")
|
|
490
518
|
__props__.__dict__["organization_id"] = organization_id
|
|
491
519
|
__props__.__dict__["scopes"] = scopes
|
|
520
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
492
521
|
if user_id is None and not opts.urn:
|
|
493
522
|
raise TypeError("Missing required property 'user_id'")
|
|
494
523
|
__props__.__dict__["user_id"] = user_id
|
|
@@ -525,9 +554,10 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
525
554
|
last_used_time: Optional[pulumi.Input[str]] = None,
|
|
526
555
|
last_user_agent: Optional[pulumi.Input[str]] = None,
|
|
527
556
|
last_user_agent_human_readable: Optional[pulumi.Input[str]] = None,
|
|
528
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
557
|
+
max_age_seconds: Optional[pulumi.Input[float]] = None,
|
|
529
558
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
530
559
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
560
|
+
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTokenTimeoutsArgs']]] = None,
|
|
531
561
|
token_prefix: Optional[pulumi.Input[str]] = None,
|
|
532
562
|
user_id: Optional[pulumi.Input[str]] = None) -> 'OrganizationApplicationUserToken':
|
|
533
563
|
"""
|
|
@@ -548,7 +578,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
548
578
|
:param pulumi.Input[str] last_used_time: Timestamp when the access token was last used.
|
|
549
579
|
:param pulumi.Input[str] last_user_agent: User agent of the last request made with this token.
|
|
550
580
|
:param pulumi.Input[str] last_user_agent_human_readable: User agent of the last request made with this token in human-readable format.
|
|
551
|
-
:param pulumi.Input[
|
|
581
|
+
:param pulumi.Input[float] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
552
582
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
553
583
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
554
584
|
:param pulumi.Input[str] token_prefix: Prefix of the token.
|
|
@@ -572,6 +602,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
572
602
|
__props__.__dict__["max_age_seconds"] = max_age_seconds
|
|
573
603
|
__props__.__dict__["organization_id"] = organization_id
|
|
574
604
|
__props__.__dict__["scopes"] = scopes
|
|
605
|
+
__props__.__dict__["timeouts"] = timeouts
|
|
575
606
|
__props__.__dict__["token_prefix"] = token_prefix
|
|
576
607
|
__props__.__dict__["user_id"] = user_id
|
|
577
608
|
return OrganizationApplicationUserToken(resource_name, opts=opts, __props__=__props__)
|
|
@@ -666,7 +697,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
666
697
|
|
|
667
698
|
@property
|
|
668
699
|
@pulumi.getter(name="maxAgeSeconds")
|
|
669
|
-
def max_age_seconds(self) -> pulumi.Output[Optional[
|
|
700
|
+
def max_age_seconds(self) -> pulumi.Output[Optional[float]]:
|
|
670
701
|
"""
|
|
671
702
|
The number of hours after which a token expires. Default session duration is 10 hours.
|
|
672
703
|
"""
|
|
@@ -688,6 +719,11 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
688
719
|
"""
|
|
689
720
|
return pulumi.get(self, "scopes")
|
|
690
721
|
|
|
722
|
+
@property
|
|
723
|
+
@pulumi.getter
|
|
724
|
+
def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationApplicationUserTokenTimeouts']]:
|
|
725
|
+
return pulumi.get(self, "timeouts")
|
|
726
|
+
|
|
691
727
|
@property
|
|
692
728
|
@pulumi.getter(name="tokenPrefix")
|
|
693
729
|
def token_prefix(self) -> pulumi.Output[str]:
|