pulumi-aiven 6.16.0a1716504562__py3-none-any.whl → 6.17.0__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 +1133 -397
- pulumi_aiven/cassandra.py +48 -1
- pulumi_aiven/clickhouse.py +48 -1
- pulumi_aiven/dragonfly.py +48 -1
- pulumi_aiven/flink.py +2 -2
- pulumi_aiven/flink_application_deployment.py +56 -30
- pulumi_aiven/gcp_privatelink.py +52 -30
- pulumi_aiven/gcp_privatelink_connection_approval.py +54 -30
- pulumi_aiven/get_cassanda.py +14 -1
- pulumi_aiven/get_cassandra.py +14 -1
- pulumi_aiven/get_clickhouse.py +14 -1
- pulumi_aiven/get_dragonfly.py +14 -1
- pulumi_aiven/get_gcp_privatelink.py +45 -2
- pulumi_aiven/get_grafana.py +14 -1
- pulumi_aiven/get_m3_aggregator.py +14 -1
- pulumi_aiven/get_m3_db.py +14 -1
- pulumi_aiven/get_mirror_maker_replication_flow.py +15 -2
- pulumi_aiven/get_my_sql.py +14 -1
- pulumi_aiven/get_organization_application_user.py +15 -8
- pulumi_aiven/get_redis.py +14 -1
- pulumi_aiven/get_service_integration.py +3 -3
- pulumi_aiven/get_service_integration_endpoint.py +1 -1
- pulumi_aiven/grafana.py +48 -1
- pulumi_aiven/influx_db.py +21 -2
- pulumi_aiven/kafka.py +20 -1
- pulumi_aiven/m3_aggregator.py +48 -1
- pulumi_aiven/m3_db.py +48 -1
- pulumi_aiven/mirror_maker_replication_flow.py +54 -7
- pulumi_aiven/my_sql.py +48 -1
- pulumi_aiven/open_search.py +21 -2
- pulumi_aiven/organization_application_user.py +52 -45
- pulumi_aiven/organization_application_user_token.py +15 -51
- pulumi_aiven/outputs.py +1758 -397
- pulumi_aiven/pg.py +2 -2
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +48 -1
- pulumi_aiven/service_integration.py +7 -7
- pulumi_aiven/service_integration_endpoint.py +7 -7
- {pulumi_aiven-6.16.0a1716504562.dist-info → pulumi_aiven-6.17.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.16.0a1716504562.dist-info → pulumi_aiven-6.17.0.dist-info}/RECORD +42 -42
- {pulumi_aiven-6.16.0a1716504562.dist-info → pulumi_aiven-6.17.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.16.0a1716504562.dist-info → pulumi_aiven-6.17.0.dist-info}/top_level.txt +0 -0
|
@@ -8,8 +8,6 @@ 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 *
|
|
13
11
|
|
|
14
12
|
__all__ = ['OrganizationApplicationUserArgs', 'OrganizationApplicationUser']
|
|
15
13
|
|
|
@@ -17,18 +15,19 @@ __all__ = ['OrganizationApplicationUserArgs', 'OrganizationApplicationUser']
|
|
|
17
15
|
class OrganizationApplicationUserArgs:
|
|
18
16
|
def __init__(__self__, *,
|
|
19
17
|
organization_id: pulumi.Input[str],
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
19
|
+
name: Optional[pulumi.Input[str]] = None):
|
|
22
20
|
"""
|
|
23
21
|
The set of arguments for constructing a OrganizationApplicationUser resource.
|
|
24
22
|
: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.
|
|
25
24
|
:param pulumi.Input[str] name: Name of the application user.
|
|
26
25
|
"""
|
|
27
26
|
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)
|
|
28
29
|
if name is not None:
|
|
29
30
|
pulumi.set(__self__, "name", name)
|
|
30
|
-
if timeouts is not None:
|
|
31
|
-
pulumi.set(__self__, "timeouts", timeouts)
|
|
32
31
|
|
|
33
32
|
@property
|
|
34
33
|
@pulumi.getter(name="organizationId")
|
|
@@ -42,6 +41,18 @@ class OrganizationApplicationUserArgs:
|
|
|
42
41
|
def organization_id(self, value: pulumi.Input[str]):
|
|
43
42
|
pulumi.set(self, "organization_id", value)
|
|
44
43
|
|
|
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
|
+
|
|
45
56
|
@property
|
|
46
57
|
@pulumi.getter
|
|
47
58
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -54,40 +65,31 @@ class OrganizationApplicationUserArgs:
|
|
|
54
65
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
55
66
|
pulumi.set(self, "name", value)
|
|
56
67
|
|
|
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
|
-
|
|
66
68
|
|
|
67
69
|
@pulumi.input_type
|
|
68
70
|
class _OrganizationApplicationUserState:
|
|
69
71
|
def __init__(__self__, *,
|
|
70
72
|
email: Optional[pulumi.Input[str]] = None,
|
|
73
|
+
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
71
74
|
name: Optional[pulumi.Input[str]] = None,
|
|
72
75
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
73
|
-
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTimeoutsArgs']] = None,
|
|
74
76
|
user_id: Optional[pulumi.Input[str]] = None):
|
|
75
77
|
"""
|
|
76
78
|
Input properties used for looking up and filtering OrganizationApplicationUser resources.
|
|
77
|
-
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user.
|
|
78
|
-
|
|
79
|
+
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
80
|
+
: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.
|
|
79
81
|
:param pulumi.Input[str] name: Name of the application user.
|
|
80
82
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
81
83
|
:param pulumi.Input[str] user_id: The ID of the application user.
|
|
82
84
|
"""
|
|
83
85
|
if email is not None:
|
|
84
86
|
pulumi.set(__self__, "email", email)
|
|
87
|
+
if is_super_admin is not None:
|
|
88
|
+
pulumi.set(__self__, "is_super_admin", is_super_admin)
|
|
85
89
|
if name is not None:
|
|
86
90
|
pulumi.set(__self__, "name", name)
|
|
87
91
|
if organization_id is not None:
|
|
88
92
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
89
|
-
if timeouts is not None:
|
|
90
|
-
pulumi.set(__self__, "timeouts", timeouts)
|
|
91
93
|
if user_id is not None:
|
|
92
94
|
pulumi.set(__self__, "user_id", user_id)
|
|
93
95
|
|
|
@@ -95,8 +97,7 @@ class _OrganizationApplicationUserState:
|
|
|
95
97
|
@pulumi.getter
|
|
96
98
|
def email(self) -> Optional[pulumi.Input[str]]:
|
|
97
99
|
"""
|
|
98
|
-
An email address automatically generated by Aiven to help identify the application user.
|
|
99
|
-
No notifications are sent to this email.
|
|
100
|
+
An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
100
101
|
"""
|
|
101
102
|
return pulumi.get(self, "email")
|
|
102
103
|
|
|
@@ -104,6 +105,18 @@ class _OrganizationApplicationUserState:
|
|
|
104
105
|
def email(self, value: Optional[pulumi.Input[str]]):
|
|
105
106
|
pulumi.set(self, "email", value)
|
|
106
107
|
|
|
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
|
+
|
|
107
120
|
@property
|
|
108
121
|
@pulumi.getter
|
|
109
122
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -128,15 +141,6 @@ class _OrganizationApplicationUserState:
|
|
|
128
141
|
def organization_id(self, value: Optional[pulumi.Input[str]]):
|
|
129
142
|
pulumi.set(self, "organization_id", value)
|
|
130
143
|
|
|
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
|
-
|
|
140
144
|
@property
|
|
141
145
|
@pulumi.getter(name="userId")
|
|
142
146
|
def user_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -155,9 +159,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
155
159
|
def __init__(__self__,
|
|
156
160
|
resource_name: str,
|
|
157
161
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
162
|
+
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
158
163
|
name: Optional[pulumi.Input[str]] = None,
|
|
159
164
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
160
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTimeoutsArgs']]] = None,
|
|
161
165
|
__props__=None):
|
|
162
166
|
"""
|
|
163
167
|
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.
|
|
@@ -181,6 +185,7 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
181
185
|
|
|
182
186
|
:param str resource_name: The name of the resource.
|
|
183
187
|
: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.
|
|
184
189
|
:param pulumi.Input[str] name: Name of the application user.
|
|
185
190
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
186
191
|
"""
|
|
@@ -225,9 +230,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
225
230
|
def _internal_init(__self__,
|
|
226
231
|
resource_name: str,
|
|
227
232
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
233
|
+
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
228
234
|
name: Optional[pulumi.Input[str]] = None,
|
|
229
235
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
230
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTimeoutsArgs']]] = None,
|
|
231
236
|
__props__=None):
|
|
232
237
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
233
238
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -237,11 +242,11 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
237
242
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
238
243
|
__props__ = OrganizationApplicationUserArgs.__new__(OrganizationApplicationUserArgs)
|
|
239
244
|
|
|
245
|
+
__props__.__dict__["is_super_admin"] = is_super_admin
|
|
240
246
|
__props__.__dict__["name"] = name
|
|
241
247
|
if organization_id is None and not opts.urn:
|
|
242
248
|
raise TypeError("Missing required property 'organization_id'")
|
|
243
249
|
__props__.__dict__["organization_id"] = organization_id
|
|
244
|
-
__props__.__dict__["timeouts"] = timeouts
|
|
245
250
|
__props__.__dict__["email"] = None
|
|
246
251
|
__props__.__dict__["user_id"] = None
|
|
247
252
|
super(OrganizationApplicationUser, __self__).__init__(
|
|
@@ -255,9 +260,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
255
260
|
id: pulumi.Input[str],
|
|
256
261
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
257
262
|
email: Optional[pulumi.Input[str]] = None,
|
|
263
|
+
is_super_admin: Optional[pulumi.Input[bool]] = None,
|
|
258
264
|
name: Optional[pulumi.Input[str]] = None,
|
|
259
265
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
260
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTimeoutsArgs']]] = None,
|
|
261
266
|
user_id: Optional[pulumi.Input[str]] = None) -> 'OrganizationApplicationUser':
|
|
262
267
|
"""
|
|
263
268
|
Get an existing OrganizationApplicationUser resource's state with the given name, id, and optional extra
|
|
@@ -266,8 +271,8 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
266
271
|
:param str resource_name: The unique name of the resulting resource.
|
|
267
272
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
268
273
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
269
|
-
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user.
|
|
270
|
-
|
|
274
|
+
:param pulumi.Input[str] email: An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
275
|
+
: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.
|
|
271
276
|
:param pulumi.Input[str] name: Name of the application user.
|
|
272
277
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
273
278
|
:param pulumi.Input[str] user_id: The ID of the application user.
|
|
@@ -277,9 +282,9 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
277
282
|
__props__ = _OrganizationApplicationUserState.__new__(_OrganizationApplicationUserState)
|
|
278
283
|
|
|
279
284
|
__props__.__dict__["email"] = email
|
|
285
|
+
__props__.__dict__["is_super_admin"] = is_super_admin
|
|
280
286
|
__props__.__dict__["name"] = name
|
|
281
287
|
__props__.__dict__["organization_id"] = organization_id
|
|
282
|
-
__props__.__dict__["timeouts"] = timeouts
|
|
283
288
|
__props__.__dict__["user_id"] = user_id
|
|
284
289
|
return OrganizationApplicationUser(resource_name, opts=opts, __props__=__props__)
|
|
285
290
|
|
|
@@ -287,11 +292,18 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
287
292
|
@pulumi.getter
|
|
288
293
|
def email(self) -> pulumi.Output[str]:
|
|
289
294
|
"""
|
|
290
|
-
An email address automatically generated by Aiven to help identify the application user.
|
|
291
|
-
No notifications are sent to this email.
|
|
295
|
+
An email address automatically generated by Aiven to help identify the application user. No notifications are sent to this email.
|
|
292
296
|
"""
|
|
293
297
|
return pulumi.get(self, "email")
|
|
294
298
|
|
|
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
|
+
|
|
295
307
|
@property
|
|
296
308
|
@pulumi.getter
|
|
297
309
|
def name(self) -> pulumi.Output[str]:
|
|
@@ -308,11 +320,6 @@ class OrganizationApplicationUser(pulumi.CustomResource):
|
|
|
308
320
|
"""
|
|
309
321
|
return pulumi.get(self, "organization_id")
|
|
310
322
|
|
|
311
|
-
@property
|
|
312
|
-
@pulumi.getter
|
|
313
|
-
def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationApplicationUserTimeouts']]:
|
|
314
|
-
return pulumi.get(self, "timeouts")
|
|
315
|
-
|
|
316
323
|
@property
|
|
317
324
|
@pulumi.getter(name="userId")
|
|
318
325
|
def user_id(self) -> pulumi.Output[str]:
|
|
@@ -8,8 +8,6 @@ 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 *
|
|
13
11
|
|
|
14
12
|
__all__ = ['OrganizationApplicationUserTokenArgs', 'OrganizationApplicationUserToken']
|
|
15
13
|
|
|
@@ -20,16 +18,15 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
20
18
|
user_id: pulumi.Input[str],
|
|
21
19
|
description: Optional[pulumi.Input[str]] = None,
|
|
22
20
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
23
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
24
|
-
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
|
25
|
-
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']] = None):
|
|
21
|
+
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
22
|
+
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
26
23
|
"""
|
|
27
24
|
The set of arguments for constructing a OrganizationApplicationUserToken resource.
|
|
28
25
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
29
26
|
:param pulumi.Input[str] user_id: The ID of the application user the token is created for.
|
|
30
27
|
:param pulumi.Input[str] description: Description of the token.
|
|
31
28
|
: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`.
|
|
32
|
-
:param pulumi.Input[
|
|
29
|
+
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
33
30
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
34
31
|
"""
|
|
35
32
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
@@ -42,8 +39,6 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
42
39
|
pulumi.set(__self__, "max_age_seconds", max_age_seconds)
|
|
43
40
|
if scopes is not None:
|
|
44
41
|
pulumi.set(__self__, "scopes", scopes)
|
|
45
|
-
if timeouts is not None:
|
|
46
|
-
pulumi.set(__self__, "timeouts", timeouts)
|
|
47
42
|
|
|
48
43
|
@property
|
|
49
44
|
@pulumi.getter(name="organizationId")
|
|
@@ -95,14 +90,14 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
95
90
|
|
|
96
91
|
@property
|
|
97
92
|
@pulumi.getter(name="maxAgeSeconds")
|
|
98
|
-
def max_age_seconds(self) -> Optional[pulumi.Input[
|
|
93
|
+
def max_age_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
99
94
|
"""
|
|
100
95
|
The number of hours after which a token expires. Default session duration is 10 hours.
|
|
101
96
|
"""
|
|
102
97
|
return pulumi.get(self, "max_age_seconds")
|
|
103
98
|
|
|
104
99
|
@max_age_seconds.setter
|
|
105
|
-
def max_age_seconds(self, value: Optional[pulumi.Input[
|
|
100
|
+
def max_age_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
106
101
|
pulumi.set(self, "max_age_seconds", value)
|
|
107
102
|
|
|
108
103
|
@property
|
|
@@ -117,15 +112,6 @@ class OrganizationApplicationUserTokenArgs:
|
|
|
117
112
|
def scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
118
113
|
pulumi.set(self, "scopes", value)
|
|
119
114
|
|
|
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
|
-
|
|
129
115
|
|
|
130
116
|
@pulumi.input_type
|
|
131
117
|
class _OrganizationApplicationUserTokenState:
|
|
@@ -141,10 +127,9 @@ class _OrganizationApplicationUserTokenState:
|
|
|
141
127
|
last_used_time: Optional[pulumi.Input[str]] = None,
|
|
142
128
|
last_user_agent: Optional[pulumi.Input[str]] = None,
|
|
143
129
|
last_user_agent_human_readable: Optional[pulumi.Input[str]] = None,
|
|
144
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
130
|
+
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
145
131
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
146
132
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
147
|
-
timeouts: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']] = None,
|
|
148
133
|
token_prefix: Optional[pulumi.Input[str]] = None,
|
|
149
134
|
user_id: Optional[pulumi.Input[str]] = None):
|
|
150
135
|
"""
|
|
@@ -160,7 +145,7 @@ class _OrganizationApplicationUserTokenState:
|
|
|
160
145
|
:param pulumi.Input[str] last_used_time: Timestamp when the access token was last used.
|
|
161
146
|
:param pulumi.Input[str] last_user_agent: User agent of the last request made with this token.
|
|
162
147
|
:param pulumi.Input[str] last_user_agent_human_readable: User agent of the last request made with this token in human-readable format.
|
|
163
|
-
:param pulumi.Input[
|
|
148
|
+
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
164
149
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
165
150
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
166
151
|
:param pulumi.Input[str] token_prefix: Prefix of the token.
|
|
@@ -194,8 +179,6 @@ class _OrganizationApplicationUserTokenState:
|
|
|
194
179
|
pulumi.set(__self__, "organization_id", organization_id)
|
|
195
180
|
if scopes is not None:
|
|
196
181
|
pulumi.set(__self__, "scopes", scopes)
|
|
197
|
-
if timeouts is not None:
|
|
198
|
-
pulumi.set(__self__, "timeouts", timeouts)
|
|
199
182
|
if token_prefix is not None:
|
|
200
183
|
pulumi.set(__self__, "token_prefix", token_prefix)
|
|
201
184
|
if user_id is not None:
|
|
@@ -335,14 +318,14 @@ class _OrganizationApplicationUserTokenState:
|
|
|
335
318
|
|
|
336
319
|
@property
|
|
337
320
|
@pulumi.getter(name="maxAgeSeconds")
|
|
338
|
-
def max_age_seconds(self) -> Optional[pulumi.Input[
|
|
321
|
+
def max_age_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
339
322
|
"""
|
|
340
323
|
The number of hours after which a token expires. Default session duration is 10 hours.
|
|
341
324
|
"""
|
|
342
325
|
return pulumi.get(self, "max_age_seconds")
|
|
343
326
|
|
|
344
327
|
@max_age_seconds.setter
|
|
345
|
-
def max_age_seconds(self, value: Optional[pulumi.Input[
|
|
328
|
+
def max_age_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
346
329
|
pulumi.set(self, "max_age_seconds", value)
|
|
347
330
|
|
|
348
331
|
@property
|
|
@@ -369,15 +352,6 @@ class _OrganizationApplicationUserTokenState:
|
|
|
369
352
|
def scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
370
353
|
pulumi.set(self, "scopes", value)
|
|
371
354
|
|
|
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
|
-
|
|
381
355
|
@property
|
|
382
356
|
@pulumi.getter(name="tokenPrefix")
|
|
383
357
|
def token_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -410,10 +384,9 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
410
384
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
411
385
|
description: Optional[pulumi.Input[str]] = None,
|
|
412
386
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
413
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
387
|
+
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
414
388
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
415
389
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
416
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTokenTimeoutsArgs']]] = None,
|
|
417
390
|
user_id: Optional[pulumi.Input[str]] = None,
|
|
418
391
|
__props__=None):
|
|
419
392
|
"""
|
|
@@ -444,7 +417,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
444
417
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
445
418
|
:param pulumi.Input[str] description: Description of the token.
|
|
446
419
|
: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`.
|
|
447
|
-
:param pulumi.Input[
|
|
420
|
+
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
448
421
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
449
422
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
450
423
|
:param pulumi.Input[str] user_id: The ID of the application user the token is created for.
|
|
@@ -496,10 +469,9 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
496
469
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
497
470
|
description: Optional[pulumi.Input[str]] = None,
|
|
498
471
|
extend_when_used: Optional[pulumi.Input[bool]] = None,
|
|
499
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
472
|
+
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
500
473
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
501
474
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
502
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTokenTimeoutsArgs']]] = None,
|
|
503
475
|
user_id: Optional[pulumi.Input[str]] = None,
|
|
504
476
|
__props__=None):
|
|
505
477
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -517,7 +489,6 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
517
489
|
raise TypeError("Missing required property 'organization_id'")
|
|
518
490
|
__props__.__dict__["organization_id"] = organization_id
|
|
519
491
|
__props__.__dict__["scopes"] = scopes
|
|
520
|
-
__props__.__dict__["timeouts"] = timeouts
|
|
521
492
|
if user_id is None and not opts.urn:
|
|
522
493
|
raise TypeError("Missing required property 'user_id'")
|
|
523
494
|
__props__.__dict__["user_id"] = user_id
|
|
@@ -554,10 +525,9 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
554
525
|
last_used_time: Optional[pulumi.Input[str]] = None,
|
|
555
526
|
last_user_agent: Optional[pulumi.Input[str]] = None,
|
|
556
527
|
last_user_agent_human_readable: Optional[pulumi.Input[str]] = None,
|
|
557
|
-
max_age_seconds: Optional[pulumi.Input[
|
|
528
|
+
max_age_seconds: Optional[pulumi.Input[int]] = None,
|
|
558
529
|
organization_id: Optional[pulumi.Input[str]] = None,
|
|
559
530
|
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
560
|
-
timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationApplicationUserTokenTimeoutsArgs']]] = None,
|
|
561
531
|
token_prefix: Optional[pulumi.Input[str]] = None,
|
|
562
532
|
user_id: Optional[pulumi.Input[str]] = None) -> 'OrganizationApplicationUserToken':
|
|
563
533
|
"""
|
|
@@ -578,7 +548,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
578
548
|
:param pulumi.Input[str] last_used_time: Timestamp when the access token was last used.
|
|
579
549
|
:param pulumi.Input[str] last_user_agent: User agent of the last request made with this token.
|
|
580
550
|
:param pulumi.Input[str] last_user_agent_human_readable: User agent of the last request made with this token in human-readable format.
|
|
581
|
-
:param pulumi.Input[
|
|
551
|
+
:param pulumi.Input[int] max_age_seconds: The number of hours after which a token expires. Default session duration is 10 hours.
|
|
582
552
|
:param pulumi.Input[str] organization_id: The ID of the organization the application user belongs to.
|
|
583
553
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] scopes: Restricts the scopes for this token.
|
|
584
554
|
:param pulumi.Input[str] token_prefix: Prefix of the token.
|
|
@@ -602,7 +572,6 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
602
572
|
__props__.__dict__["max_age_seconds"] = max_age_seconds
|
|
603
573
|
__props__.__dict__["organization_id"] = organization_id
|
|
604
574
|
__props__.__dict__["scopes"] = scopes
|
|
605
|
-
__props__.__dict__["timeouts"] = timeouts
|
|
606
575
|
__props__.__dict__["token_prefix"] = token_prefix
|
|
607
576
|
__props__.__dict__["user_id"] = user_id
|
|
608
577
|
return OrganizationApplicationUserToken(resource_name, opts=opts, __props__=__props__)
|
|
@@ -697,7 +666,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
697
666
|
|
|
698
667
|
@property
|
|
699
668
|
@pulumi.getter(name="maxAgeSeconds")
|
|
700
|
-
def max_age_seconds(self) -> pulumi.Output[Optional[
|
|
669
|
+
def max_age_seconds(self) -> pulumi.Output[Optional[int]]:
|
|
701
670
|
"""
|
|
702
671
|
The number of hours after which a token expires. Default session duration is 10 hours.
|
|
703
672
|
"""
|
|
@@ -719,11 +688,6 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
|
|
|
719
688
|
"""
|
|
720
689
|
return pulumi.get(self, "scopes")
|
|
721
690
|
|
|
722
|
-
@property
|
|
723
|
-
@pulumi.getter
|
|
724
|
-
def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationApplicationUserTokenTimeouts']]:
|
|
725
|
-
return pulumi.get(self, "timeouts")
|
|
726
|
-
|
|
727
691
|
@property
|
|
728
692
|
@pulumi.getter(name="tokenPrefix")
|
|
729
693
|
def token_prefix(self) -> pulumi.Output[str]:
|