pulumi-aiven 6.43.0a1756184863__py3-none-any.whl → 6.47.0a1767071446__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.
Files changed (102) hide show
  1. pulumi_aiven/__init__.py +4 -0
  2. pulumi_aiven/_inputs.py +3087 -602
  3. pulumi_aiven/account_team.py +6 -12
  4. pulumi_aiven/account_team_member.py +6 -12
  5. pulumi_aiven/account_team_project.py +6 -12
  6. pulumi_aiven/alloydbomni.py +72 -23
  7. pulumi_aiven/alloydbomni_database.py +26 -0
  8. pulumi_aiven/alloydbomni_user.py +135 -8
  9. pulumi_aiven/billing_group.py +225 -114
  10. pulumi_aiven/cassandra.py +46 -23
  11. pulumi_aiven/cassandra_user.py +110 -9
  12. pulumi_aiven/clickhouse.py +46 -23
  13. pulumi_aiven/clickhouse_user.py +127 -7
  14. pulumi_aiven/dragonfly.py +46 -23
  15. pulumi_aiven/flink.py +46 -23
  16. pulumi_aiven/get_account_team.py +6 -12
  17. pulumi_aiven/get_account_team_member.py +6 -12
  18. pulumi_aiven/get_account_team_project.py +6 -12
  19. pulumi_aiven/get_alloydbomni.py +43 -3
  20. pulumi_aiven/get_alloydbomni_database.py +26 -0
  21. pulumi_aiven/get_alloydbomni_user.py +27 -1
  22. pulumi_aiven/get_billing_group.py +47 -15
  23. pulumi_aiven/get_cassanda.py +17 -3
  24. pulumi_aiven/get_cassandra.py +17 -3
  25. pulumi_aiven/get_cassandra_user.py +1 -1
  26. pulumi_aiven/get_clickhouse.py +17 -3
  27. pulumi_aiven/get_clickhouse_user.py +1 -1
  28. pulumi_aiven/get_dragonfly.py +17 -3
  29. pulumi_aiven/get_flink.py +17 -3
  30. pulumi_aiven/get_grafana.py +17 -3
  31. pulumi_aiven/get_influx_db.py +12 -1
  32. pulumi_aiven/get_kafka.py +17 -3
  33. pulumi_aiven/get_kafka_connect.py +17 -3
  34. pulumi_aiven/get_kafka_mirror_maker.py +17 -3
  35. pulumi_aiven/get_kafka_user.py +1 -1
  36. pulumi_aiven/get_m3_aggregator.py +14 -112
  37. pulumi_aiven/get_m3_db.py +14 -124
  38. pulumi_aiven/get_m3db_user.py +2 -61
  39. pulumi_aiven/get_my_sql.py +17 -3
  40. pulumi_aiven/get_mysql_user.py +1 -1
  41. pulumi_aiven/get_open_search.py +17 -3
  42. pulumi_aiven/get_opensearch_user.py +1 -1
  43. pulumi_aiven/get_organization.py +1 -1
  44. pulumi_aiven/get_organization_address.py +1 -1
  45. pulumi_aiven/get_organization_application_user.py +29 -11
  46. pulumi_aiven/get_organization_billing_group.py +3 -3
  47. pulumi_aiven/get_organization_project.py +2 -8
  48. pulumi_aiven/get_organization_user_group_list.py +131 -0
  49. pulumi_aiven/get_organization_user_group_member_list.py +171 -0
  50. pulumi_aiven/get_organization_user_list.py +33 -11
  51. pulumi_aiven/get_organizational_unit.py +4 -0
  52. pulumi_aiven/get_pg.py +17 -3
  53. pulumi_aiven/get_pg_user.py +1 -1
  54. pulumi_aiven/get_redis.py +14 -128
  55. pulumi_aiven/get_redis_user.py +2 -77
  56. pulumi_aiven/get_service_component.py +3 -3
  57. pulumi_aiven/get_service_plan.py +309 -0
  58. pulumi_aiven/get_service_plan_list.py +151 -0
  59. pulumi_aiven/get_thanos.py +17 -3
  60. pulumi_aiven/get_valkey.py +17 -3
  61. pulumi_aiven/get_valkey_user.py +4 -4
  62. pulumi_aiven/governance_access.py +12 -0
  63. pulumi_aiven/grafana.py +46 -23
  64. pulumi_aiven/influx_db.py +133 -291
  65. pulumi_aiven/influxdb_database.py +14 -28
  66. pulumi_aiven/influxdb_user.py +21 -42
  67. pulumi_aiven/kafka.py +46 -23
  68. pulumi_aiven/kafka_connect.py +48 -25
  69. pulumi_aiven/kafka_mirror_maker.py +46 -23
  70. pulumi_aiven/kafka_schema.py +20 -20
  71. pulumi_aiven/kafka_user.py +110 -9
  72. pulumi_aiven/m3_aggregator.py +48 -75
  73. pulumi_aiven/m3_db.py +48 -95
  74. pulumi_aiven/m3db_user.py +2 -54
  75. pulumi_aiven/my_sql.py +46 -23
  76. pulumi_aiven/mysql_user.py +110 -9
  77. pulumi_aiven/open_search.py +46 -23
  78. pulumi_aiven/opensearch_user.py +110 -9
  79. pulumi_aiven/organization.py +6 -6
  80. pulumi_aiven/organization_address.py +12 -0
  81. pulumi_aiven/organization_application_user.py +76 -48
  82. pulumi_aiven/organization_application_user_token.py +127 -91
  83. pulumi_aiven/organization_billing_group.py +33 -21
  84. pulumi_aiven/organization_permission.py +82 -49
  85. pulumi_aiven/organization_project.py +9 -15
  86. pulumi_aiven/organization_user.py +8 -8
  87. pulumi_aiven/organization_user_group_member.py +29 -35
  88. pulumi_aiven/outputs.py +2042 -326
  89. pulumi_aiven/pg.py +112 -23
  90. pulumi_aiven/pg_user.py +109 -8
  91. pulumi_aiven/project.py +2 -24
  92. pulumi_aiven/pulumi-plugin.json +1 -1
  93. pulumi_aiven/redis.py +57 -97
  94. pulumi_aiven/redis_user.py +23 -79
  95. pulumi_aiven/thanos.py +46 -23
  96. pulumi_aiven/valkey.py +46 -23
  97. pulumi_aiven/valkey_user.py +130 -29
  98. {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/METADATA +1 -1
  99. pulumi_aiven-6.47.0a1767071446.dist-info/RECORD +193 -0
  100. pulumi_aiven-6.43.0a1756184863.dist-info/RECORD +0 -189
  101. {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/WHEEL +0 -0
  102. {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/top_level.txt +0 -0
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
16
18
 
17
19
  __all__ = ['OrganizationApplicationUserTokenArgs', 'OrganizationApplicationUserToken']
18
20
 
@@ -25,16 +27,17 @@ class OrganizationApplicationUserTokenArgs:
25
27
  extend_when_used: Optional[pulumi.Input[_builtins.bool]] = None,
26
28
  ip_allowlists: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
27
29
  max_age_seconds: Optional[pulumi.Input[_builtins.int]] = None,
28
- scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
30
+ scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
31
+ timeouts: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']] = None):
29
32
  """
30
33
  The set of arguments for constructing a OrganizationApplicationUserToken resource.
31
- :param pulumi.Input[_builtins.str] organization_id: The ID of the organization the application user belongs to.
32
- :param pulumi.Input[_builtins.str] user_id: The ID of the application user the token is created for.
33
- :param pulumi.Input[_builtins.str] description: Description of the token.
34
- :param pulumi.Input[_builtins.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`.
35
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_allowlists: List of allowed IP ranges.
36
- :param pulumi.Input[_builtins.int] max_age_seconds: The number of hours after which a token expires. If not set, it never expires.
37
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] scopes: Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
34
+ :param pulumi.Input[_builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
35
+ :param pulumi.Input[_builtins.str] user_id: User ID. Changing this property forces recreation of the resource.
36
+ :param pulumi.Input[_builtins.str] description: Description. Maximum length: `1000`. Changing this property forces recreation of the resource.
37
+ :param pulumi.Input[_builtins.bool] extend_when_used: Extend token expiration time when token is used. Only applicable if max*age*seconds is specified. The default value is `false`. Changing this property forces recreation of the resource.
38
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_allowlists: List of allowed IP ranges. Changing this property forces recreation of the resource.
39
+ :param pulumi.Input[_builtins.int] max_age_seconds: Time the token remains valid since creation (or since last use if extend*when*used is true). Changing this property forces recreation of the resource.
40
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] scopes: Scopes this token is restricted to if specified. Changing this property forces recreation of the resource.
38
41
  """
39
42
  pulumi.set(__self__, "organization_id", organization_id)
40
43
  pulumi.set(__self__, "user_id", user_id)
@@ -48,12 +51,14 @@ class OrganizationApplicationUserTokenArgs:
48
51
  pulumi.set(__self__, "max_age_seconds", max_age_seconds)
49
52
  if scopes is not None:
50
53
  pulumi.set(__self__, "scopes", scopes)
54
+ if timeouts is not None:
55
+ pulumi.set(__self__, "timeouts", timeouts)
51
56
 
52
57
  @_builtins.property
53
58
  @pulumi.getter(name="organizationId")
54
59
  def organization_id(self) -> pulumi.Input[_builtins.str]:
55
60
  """
56
- The ID of the organization the application user belongs to.
61
+ ID of an organization. Changing this property forces recreation of the resource.
57
62
  """
58
63
  return pulumi.get(self, "organization_id")
59
64
 
@@ -65,7 +70,7 @@ class OrganizationApplicationUserTokenArgs:
65
70
  @pulumi.getter(name="userId")
66
71
  def user_id(self) -> pulumi.Input[_builtins.str]:
67
72
  """
68
- The ID of the application user the token is created for.
73
+ User ID. Changing this property forces recreation of the resource.
69
74
  """
70
75
  return pulumi.get(self, "user_id")
71
76
 
@@ -77,7 +82,7 @@ class OrganizationApplicationUserTokenArgs:
77
82
  @pulumi.getter
78
83
  def description(self) -> Optional[pulumi.Input[_builtins.str]]:
79
84
  """
80
- Description of the token.
85
+ Description. Maximum length: `1000`. Changing this property forces recreation of the resource.
81
86
  """
82
87
  return pulumi.get(self, "description")
83
88
 
@@ -89,7 +94,7 @@ class OrganizationApplicationUserTokenArgs:
89
94
  @pulumi.getter(name="extendWhenUsed")
90
95
  def extend_when_used(self) -> Optional[pulumi.Input[_builtins.bool]]:
91
96
  """
92
- Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
97
+ Extend token expiration time when token is used. Only applicable if max*age*seconds is specified. The default value is `false`. Changing this property forces recreation of the resource.
93
98
  """
94
99
  return pulumi.get(self, "extend_when_used")
95
100
 
@@ -101,7 +106,7 @@ class OrganizationApplicationUserTokenArgs:
101
106
  @pulumi.getter(name="ipAllowlists")
102
107
  def ip_allowlists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
103
108
  """
104
- List of allowed IP ranges.
109
+ List of allowed IP ranges. Changing this property forces recreation of the resource.
105
110
  """
106
111
  return pulumi.get(self, "ip_allowlists")
107
112
 
@@ -113,7 +118,7 @@ class OrganizationApplicationUserTokenArgs:
113
118
  @pulumi.getter(name="maxAgeSeconds")
114
119
  def max_age_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
115
120
  """
116
- The number of hours after which a token expires. If not set, it never expires.
121
+ Time the token remains valid since creation (or since last use if extend*when*used is true). Changing this property forces recreation of the resource.
117
122
  """
118
123
  return pulumi.get(self, "max_age_seconds")
119
124
 
@@ -125,7 +130,7 @@ class OrganizationApplicationUserTokenArgs:
125
130
  @pulumi.getter
126
131
  def scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
127
132
  """
128
- Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
133
+ Scopes this token is restricted to if specified. Changing this property forces recreation of the resource.
129
134
  """
130
135
  return pulumi.get(self, "scopes")
131
136
 
@@ -133,6 +138,15 @@ class OrganizationApplicationUserTokenArgs:
133
138
  def scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
134
139
  pulumi.set(self, "scopes", value)
135
140
 
141
+ @_builtins.property
142
+ @pulumi.getter
143
+ def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]:
144
+ return pulumi.get(self, "timeouts")
145
+
146
+ @timeouts.setter
147
+ def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]):
148
+ pulumi.set(self, "timeouts", value)
149
+
136
150
 
137
151
  @pulumi.input_type
138
152
  class _OrganizationApplicationUserTokenState:
@@ -152,27 +166,28 @@ class _OrganizationApplicationUserTokenState:
152
166
  max_age_seconds: Optional[pulumi.Input[_builtins.int]] = None,
153
167
  organization_id: Optional[pulumi.Input[_builtins.str]] = None,
154
168
  scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
169
+ timeouts: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']] = None,
155
170
  token_prefix: Optional[pulumi.Input[_builtins.str]] = None,
156
171
  user_id: Optional[pulumi.Input[_builtins.str]] = None):
157
172
  """
158
173
  Input properties used for looking up and filtering OrganizationApplicationUserToken resources.
159
- :param pulumi.Input[_builtins.str] create_time: Time when the token was created.
160
- :param pulumi.Input[_builtins.bool] created_manually: True for tokens explicitly created using the `access_tokens` API. False for tokens created when a user logs in.
161
- :param pulumi.Input[_builtins.bool] currently_active: True if the API request was made with this token.
162
- :param pulumi.Input[_builtins.str] description: Description of the token.
163
- :param pulumi.Input[_builtins.str] expiry_time: Timestamp when the access token will expire unless extended.
164
- :param pulumi.Input[_builtins.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`.
165
- :param pulumi.Input[_builtins.str] full_token: Full token.
166
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_allowlists: List of allowed IP ranges.
167
- :param pulumi.Input[_builtins.str] last_ip: IP address of the last request made with this token.
168
- :param pulumi.Input[_builtins.str] last_used_time: Timestamp when the access token was last used.
169
- :param pulumi.Input[_builtins.str] last_user_agent: User agent of the last request made with this token.
170
- :param pulumi.Input[_builtins.str] last_user_agent_human_readable: User agent of the last request made with this token in human-readable format.
171
- :param pulumi.Input[_builtins.int] max_age_seconds: The number of hours after which a token expires. If not set, it never expires.
172
- :param pulumi.Input[_builtins.str] organization_id: The ID of the organization the application user belongs to.
173
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] scopes: Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
174
- :param pulumi.Input[_builtins.str] token_prefix: Prefix of the token.
175
- :param pulumi.Input[_builtins.str] user_id: The ID of the application user the token is created for.
174
+ :param pulumi.Input[_builtins.str] create_time: Create Time.
175
+ :param pulumi.Input[_builtins.bool] created_manually: True for tokens explicitly created via the access_tokens API, false for tokens created via login.
176
+ :param pulumi.Input[_builtins.bool] currently_active: true if API request was made with this access token.
177
+ :param pulumi.Input[_builtins.str] description: Description. Maximum length: `1000`. Changing this property forces recreation of the resource.
178
+ :param pulumi.Input[_builtins.str] expiry_time: Timestamp when the access token will expire unless extended, if ever.
179
+ :param pulumi.Input[_builtins.bool] extend_when_used: Extend token expiration time when token is used. Only applicable if max*age*seconds is specified. The default value is `false`. Changing this property forces recreation of the resource.
180
+ :param pulumi.Input[_builtins.str] full_token: Full Token.
181
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_allowlists: List of allowed IP ranges. Changing this property forces recreation of the resource.
182
+ :param pulumi.Input[_builtins.str] last_ip: IP address the access token was last used from in case it has ever been used.
183
+ :param pulumi.Input[_builtins.str] last_used_time: Timestamp when the access token was last used, if ever.
184
+ :param pulumi.Input[_builtins.str] last_user_agent: User agent string of the client that last used the token in case it has ever been used.
185
+ :param pulumi.Input[_builtins.str] last_user_agent_human_readable: Human readable user agent string of the client that last used the token in case user agent is known.
186
+ :param pulumi.Input[_builtins.int] max_age_seconds: Time the token remains valid since creation (or since last use if extend*when*used is true). Changing this property forces recreation of the resource.
187
+ :param pulumi.Input[_builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
188
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] scopes: Scopes this token is restricted to if specified. Changing this property forces recreation of the resource.
189
+ :param pulumi.Input[_builtins.str] token_prefix: First characters of the actual token value. Full value is only exposed after creation. This value is used when updating or revoking tokens. Note that the value may contain /, + and = characters and must be URL encoded when used (/ => %2F, + => %2B, = => %3D).
190
+ :param pulumi.Input[_builtins.str] user_id: User ID. Changing this property forces recreation of the resource.
176
191
  """
177
192
  if create_time is not None:
178
193
  pulumi.set(__self__, "create_time", create_time)
@@ -204,6 +219,8 @@ class _OrganizationApplicationUserTokenState:
204
219
  pulumi.set(__self__, "organization_id", organization_id)
205
220
  if scopes is not None:
206
221
  pulumi.set(__self__, "scopes", scopes)
222
+ if timeouts is not None:
223
+ pulumi.set(__self__, "timeouts", timeouts)
207
224
  if token_prefix is not None:
208
225
  pulumi.set(__self__, "token_prefix", token_prefix)
209
226
  if user_id is not None:
@@ -213,7 +230,7 @@ class _OrganizationApplicationUserTokenState:
213
230
  @pulumi.getter(name="createTime")
214
231
  def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
215
232
  """
216
- Time when the token was created.
233
+ Create Time.
217
234
  """
218
235
  return pulumi.get(self, "create_time")
219
236
 
@@ -225,7 +242,7 @@ class _OrganizationApplicationUserTokenState:
225
242
  @pulumi.getter(name="createdManually")
226
243
  def created_manually(self) -> Optional[pulumi.Input[_builtins.bool]]:
227
244
  """
228
- True for tokens explicitly created using the `access_tokens` API. False for tokens created when a user logs in.
245
+ True for tokens explicitly created via the access_tokens API, false for tokens created via login.
229
246
  """
230
247
  return pulumi.get(self, "created_manually")
231
248
 
@@ -237,7 +254,7 @@ class _OrganizationApplicationUserTokenState:
237
254
  @pulumi.getter(name="currentlyActive")
238
255
  def currently_active(self) -> Optional[pulumi.Input[_builtins.bool]]:
239
256
  """
240
- True if the API request was made with this token.
257
+ true if API request was made with this access token.
241
258
  """
242
259
  return pulumi.get(self, "currently_active")
243
260
 
@@ -249,7 +266,7 @@ class _OrganizationApplicationUserTokenState:
249
266
  @pulumi.getter
250
267
  def description(self) -> Optional[pulumi.Input[_builtins.str]]:
251
268
  """
252
- Description of the token.
269
+ Description. Maximum length: `1000`. Changing this property forces recreation of the resource.
253
270
  """
254
271
  return pulumi.get(self, "description")
255
272
 
@@ -261,7 +278,7 @@ class _OrganizationApplicationUserTokenState:
261
278
  @pulumi.getter(name="expiryTime")
262
279
  def expiry_time(self) -> Optional[pulumi.Input[_builtins.str]]:
263
280
  """
264
- Timestamp when the access token will expire unless extended.
281
+ Timestamp when the access token will expire unless extended, if ever.
265
282
  """
266
283
  return pulumi.get(self, "expiry_time")
267
284
 
@@ -273,7 +290,7 @@ class _OrganizationApplicationUserTokenState:
273
290
  @pulumi.getter(name="extendWhenUsed")
274
291
  def extend_when_used(self) -> Optional[pulumi.Input[_builtins.bool]]:
275
292
  """
276
- Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
293
+ Extend token expiration time when token is used. Only applicable if max*age*seconds is specified. The default value is `false`. Changing this property forces recreation of the resource.
277
294
  """
278
295
  return pulumi.get(self, "extend_when_used")
279
296
 
@@ -285,7 +302,7 @@ class _OrganizationApplicationUserTokenState:
285
302
  @pulumi.getter(name="fullToken")
286
303
  def full_token(self) -> Optional[pulumi.Input[_builtins.str]]:
287
304
  """
288
- Full token.
305
+ Full Token.
289
306
  """
290
307
  return pulumi.get(self, "full_token")
291
308
 
@@ -297,7 +314,7 @@ class _OrganizationApplicationUserTokenState:
297
314
  @pulumi.getter(name="ipAllowlists")
298
315
  def ip_allowlists(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
299
316
  """
300
- List of allowed IP ranges.
317
+ List of allowed IP ranges. Changing this property forces recreation of the resource.
301
318
  """
302
319
  return pulumi.get(self, "ip_allowlists")
303
320
 
@@ -309,7 +326,7 @@ class _OrganizationApplicationUserTokenState:
309
326
  @pulumi.getter(name="lastIp")
310
327
  def last_ip(self) -> Optional[pulumi.Input[_builtins.str]]:
311
328
  """
312
- IP address of the last request made with this token.
329
+ IP address the access token was last used from in case it has ever been used.
313
330
  """
314
331
  return pulumi.get(self, "last_ip")
315
332
 
@@ -321,7 +338,7 @@ class _OrganizationApplicationUserTokenState:
321
338
  @pulumi.getter(name="lastUsedTime")
322
339
  def last_used_time(self) -> Optional[pulumi.Input[_builtins.str]]:
323
340
  """
324
- Timestamp when the access token was last used.
341
+ Timestamp when the access token was last used, if ever.
325
342
  """
326
343
  return pulumi.get(self, "last_used_time")
327
344
 
@@ -333,7 +350,7 @@ class _OrganizationApplicationUserTokenState:
333
350
  @pulumi.getter(name="lastUserAgent")
334
351
  def last_user_agent(self) -> Optional[pulumi.Input[_builtins.str]]:
335
352
  """
336
- User agent of the last request made with this token.
353
+ User agent string of the client that last used the token in case it has ever been used.
337
354
  """
338
355
  return pulumi.get(self, "last_user_agent")
339
356
 
@@ -345,7 +362,7 @@ class _OrganizationApplicationUserTokenState:
345
362
  @pulumi.getter(name="lastUserAgentHumanReadable")
346
363
  def last_user_agent_human_readable(self) -> Optional[pulumi.Input[_builtins.str]]:
347
364
  """
348
- User agent of the last request made with this token in human-readable format.
365
+ Human readable user agent string of the client that last used the token in case user agent is known.
349
366
  """
350
367
  return pulumi.get(self, "last_user_agent_human_readable")
351
368
 
@@ -357,7 +374,7 @@ class _OrganizationApplicationUserTokenState:
357
374
  @pulumi.getter(name="maxAgeSeconds")
358
375
  def max_age_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
359
376
  """
360
- The number of hours after which a token expires. If not set, it never expires.
377
+ Time the token remains valid since creation (or since last use if extend*when*used is true). Changing this property forces recreation of the resource.
361
378
  """
362
379
  return pulumi.get(self, "max_age_seconds")
363
380
 
@@ -369,7 +386,7 @@ class _OrganizationApplicationUserTokenState:
369
386
  @pulumi.getter(name="organizationId")
370
387
  def organization_id(self) -> Optional[pulumi.Input[_builtins.str]]:
371
388
  """
372
- The ID of the organization the application user belongs to.
389
+ ID of an organization. Changing this property forces recreation of the resource.
373
390
  """
374
391
  return pulumi.get(self, "organization_id")
375
392
 
@@ -381,7 +398,7 @@ class _OrganizationApplicationUserTokenState:
381
398
  @pulumi.getter
382
399
  def scopes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
383
400
  """
384
- Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
401
+ Scopes this token is restricted to if specified. Changing this property forces recreation of the resource.
385
402
  """
386
403
  return pulumi.get(self, "scopes")
387
404
 
@@ -389,11 +406,20 @@ class _OrganizationApplicationUserTokenState:
389
406
  def scopes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
390
407
  pulumi.set(self, "scopes", value)
391
408
 
409
+ @_builtins.property
410
+ @pulumi.getter
411
+ def timeouts(self) -> Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]:
412
+ return pulumi.get(self, "timeouts")
413
+
414
+ @timeouts.setter
415
+ def timeouts(self, value: Optional[pulumi.Input['OrganizationApplicationUserTokenTimeoutsArgs']]):
416
+ pulumi.set(self, "timeouts", value)
417
+
392
418
  @_builtins.property
393
419
  @pulumi.getter(name="tokenPrefix")
394
420
  def token_prefix(self) -> Optional[pulumi.Input[_builtins.str]]:
395
421
  """
396
- Prefix of the token.
422
+ First characters of the actual token value. Full value is only exposed after creation. This value is used when updating or revoking tokens. Note that the value may contain /, + and = characters and must be URL encoded when used (/ => %2F, + => %2B, = => %3D).
397
423
  """
398
424
  return pulumi.get(self, "token_prefix")
399
425
 
@@ -405,7 +431,7 @@ class _OrganizationApplicationUserTokenState:
405
431
  @pulumi.getter(name="userId")
406
432
  def user_id(self) -> Optional[pulumi.Input[_builtins.str]]:
407
433
  """
408
- The ID of the application user the token is created for.
434
+ User ID. Changing this property forces recreation of the resource.
409
435
  """
410
436
  return pulumi.get(self, "user_id")
411
437
 
@@ -426,6 +452,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
426
452
  max_age_seconds: Optional[pulumi.Input[_builtins.int]] = None,
427
453
  organization_id: Optional[pulumi.Input[_builtins.str]] = None,
428
454
  scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
455
+ timeouts: Optional[pulumi.Input[Union['OrganizationApplicationUserTokenTimeoutsArgs', 'OrganizationApplicationUserTokenTimeoutsArgsDict']]] = None,
429
456
  user_id: Optional[pulumi.Input[_builtins.str]] = None,
430
457
  __props__=None):
431
458
  """
@@ -454,13 +481,13 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
454
481
 
455
482
  :param str resource_name: The name of the resource.
456
483
  :param pulumi.ResourceOptions opts: Options for the resource.
457
- :param pulumi.Input[_builtins.str] description: Description of the token.
458
- :param pulumi.Input[_builtins.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`.
459
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_allowlists: List of allowed IP ranges.
460
- :param pulumi.Input[_builtins.int] max_age_seconds: The number of hours after which a token expires. If not set, it never expires.
461
- :param pulumi.Input[_builtins.str] organization_id: The ID of the organization the application user belongs to.
462
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] scopes: Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
463
- :param pulumi.Input[_builtins.str] user_id: The ID of the application user the token is created for.
484
+ :param pulumi.Input[_builtins.str] description: Description. Maximum length: `1000`. Changing this property forces recreation of the resource.
485
+ :param pulumi.Input[_builtins.bool] extend_when_used: Extend token expiration time when token is used. Only applicable if max*age*seconds is specified. The default value is `false`. Changing this property forces recreation of the resource.
486
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_allowlists: List of allowed IP ranges. Changing this property forces recreation of the resource.
487
+ :param pulumi.Input[_builtins.int] max_age_seconds: Time the token remains valid since creation (or since last use if extend*when*used is true). Changing this property forces recreation of the resource.
488
+ :param pulumi.Input[_builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
489
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] scopes: Scopes this token is restricted to if specified. Changing this property forces recreation of the resource.
490
+ :param pulumi.Input[_builtins.str] user_id: User ID. Changing this property forces recreation of the resource.
464
491
  """
465
492
  ...
466
493
  @overload
@@ -513,6 +540,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
513
540
  max_age_seconds: Optional[pulumi.Input[_builtins.int]] = None,
514
541
  organization_id: Optional[pulumi.Input[_builtins.str]] = None,
515
542
  scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
543
+ timeouts: Optional[pulumi.Input[Union['OrganizationApplicationUserTokenTimeoutsArgs', 'OrganizationApplicationUserTokenTimeoutsArgsDict']]] = None,
516
544
  user_id: Optional[pulumi.Input[_builtins.str]] = None,
517
545
  __props__=None):
518
546
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -531,6 +559,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
531
559
  raise TypeError("Missing required property 'organization_id'")
532
560
  __props__.__dict__["organization_id"] = organization_id
533
561
  __props__.__dict__["scopes"] = scopes
562
+ __props__.__dict__["timeouts"] = timeouts
534
563
  if user_id is None and not opts.urn:
535
564
  raise TypeError("Missing required property 'user_id'")
536
565
  __props__.__dict__["user_id"] = user_id
@@ -571,6 +600,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
571
600
  max_age_seconds: Optional[pulumi.Input[_builtins.int]] = None,
572
601
  organization_id: Optional[pulumi.Input[_builtins.str]] = None,
573
602
  scopes: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
603
+ timeouts: Optional[pulumi.Input[Union['OrganizationApplicationUserTokenTimeoutsArgs', 'OrganizationApplicationUserTokenTimeoutsArgsDict']]] = None,
574
604
  token_prefix: Optional[pulumi.Input[_builtins.str]] = None,
575
605
  user_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'OrganizationApplicationUserToken':
576
606
  """
@@ -580,23 +610,23 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
580
610
  :param str resource_name: The unique name of the resulting resource.
581
611
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
582
612
  :param pulumi.ResourceOptions opts: Options for the resource.
583
- :param pulumi.Input[_builtins.str] create_time: Time when the token was created.
584
- :param pulumi.Input[_builtins.bool] created_manually: True for tokens explicitly created using the `access_tokens` API. False for tokens created when a user logs in.
585
- :param pulumi.Input[_builtins.bool] currently_active: True if the API request was made with this token.
586
- :param pulumi.Input[_builtins.str] description: Description of the token.
587
- :param pulumi.Input[_builtins.str] expiry_time: Timestamp when the access token will expire unless extended.
588
- :param pulumi.Input[_builtins.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`.
589
- :param pulumi.Input[_builtins.str] full_token: Full token.
590
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_allowlists: List of allowed IP ranges.
591
- :param pulumi.Input[_builtins.str] last_ip: IP address of the last request made with this token.
592
- :param pulumi.Input[_builtins.str] last_used_time: Timestamp when the access token was last used.
593
- :param pulumi.Input[_builtins.str] last_user_agent: User agent of the last request made with this token.
594
- :param pulumi.Input[_builtins.str] last_user_agent_human_readable: User agent of the last request made with this token in human-readable format.
595
- :param pulumi.Input[_builtins.int] max_age_seconds: The number of hours after which a token expires. If not set, it never expires.
596
- :param pulumi.Input[_builtins.str] organization_id: The ID of the organization the application user belongs to.
597
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] scopes: Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
598
- :param pulumi.Input[_builtins.str] token_prefix: Prefix of the token.
599
- :param pulumi.Input[_builtins.str] user_id: The ID of the application user the token is created for.
613
+ :param pulumi.Input[_builtins.str] create_time: Create Time.
614
+ :param pulumi.Input[_builtins.bool] created_manually: True for tokens explicitly created via the access_tokens API, false for tokens created via login.
615
+ :param pulumi.Input[_builtins.bool] currently_active: true if API request was made with this access token.
616
+ :param pulumi.Input[_builtins.str] description: Description. Maximum length: `1000`. Changing this property forces recreation of the resource.
617
+ :param pulumi.Input[_builtins.str] expiry_time: Timestamp when the access token will expire unless extended, if ever.
618
+ :param pulumi.Input[_builtins.bool] extend_when_used: Extend token expiration time when token is used. Only applicable if max*age*seconds is specified. The default value is `false`. Changing this property forces recreation of the resource.
619
+ :param pulumi.Input[_builtins.str] full_token: Full Token.
620
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ip_allowlists: List of allowed IP ranges. Changing this property forces recreation of the resource.
621
+ :param pulumi.Input[_builtins.str] last_ip: IP address the access token was last used from in case it has ever been used.
622
+ :param pulumi.Input[_builtins.str] last_used_time: Timestamp when the access token was last used, if ever.
623
+ :param pulumi.Input[_builtins.str] last_user_agent: User agent string of the client that last used the token in case it has ever been used.
624
+ :param pulumi.Input[_builtins.str] last_user_agent_human_readable: Human readable user agent string of the client that last used the token in case user agent is known.
625
+ :param pulumi.Input[_builtins.int] max_age_seconds: Time the token remains valid since creation (or since last use if extend*when*used is true). Changing this property forces recreation of the resource.
626
+ :param pulumi.Input[_builtins.str] organization_id: ID of an organization. Changing this property forces recreation of the resource.
627
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] scopes: Scopes this token is restricted to if specified. Changing this property forces recreation of the resource.
628
+ :param pulumi.Input[_builtins.str] token_prefix: First characters of the actual token value. Full value is only exposed after creation. This value is used when updating or revoking tokens. Note that the value may contain /, + and = characters and must be URL encoded when used (/ => %2F, + => %2B, = => %3D).
629
+ :param pulumi.Input[_builtins.str] user_id: User ID. Changing this property forces recreation of the resource.
600
630
  """
601
631
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
602
632
 
@@ -617,6 +647,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
617
647
  __props__.__dict__["max_age_seconds"] = max_age_seconds
618
648
  __props__.__dict__["organization_id"] = organization_id
619
649
  __props__.__dict__["scopes"] = scopes
650
+ __props__.__dict__["timeouts"] = timeouts
620
651
  __props__.__dict__["token_prefix"] = token_prefix
621
652
  __props__.__dict__["user_id"] = user_id
622
653
  return OrganizationApplicationUserToken(resource_name, opts=opts, __props__=__props__)
@@ -625,7 +656,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
625
656
  @pulumi.getter(name="createTime")
626
657
  def create_time(self) -> pulumi.Output[_builtins.str]:
627
658
  """
628
- Time when the token was created.
659
+ Create Time.
629
660
  """
630
661
  return pulumi.get(self, "create_time")
631
662
 
@@ -633,7 +664,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
633
664
  @pulumi.getter(name="createdManually")
634
665
  def created_manually(self) -> pulumi.Output[_builtins.bool]:
635
666
  """
636
- True for tokens explicitly created using the `access_tokens` API. False for tokens created when a user logs in.
667
+ True for tokens explicitly created via the access_tokens API, false for tokens created via login.
637
668
  """
638
669
  return pulumi.get(self, "created_manually")
639
670
 
@@ -641,7 +672,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
641
672
  @pulumi.getter(name="currentlyActive")
642
673
  def currently_active(self) -> pulumi.Output[_builtins.bool]:
643
674
  """
644
- True if the API request was made with this token.
675
+ true if API request was made with this access token.
645
676
  """
646
677
  return pulumi.get(self, "currently_active")
647
678
 
@@ -649,7 +680,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
649
680
  @pulumi.getter
650
681
  def description(self) -> pulumi.Output[Optional[_builtins.str]]:
651
682
  """
652
- Description of the token.
683
+ Description. Maximum length: `1000`. Changing this property forces recreation of the resource.
653
684
  """
654
685
  return pulumi.get(self, "description")
655
686
 
@@ -657,15 +688,15 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
657
688
  @pulumi.getter(name="expiryTime")
658
689
  def expiry_time(self) -> pulumi.Output[_builtins.str]:
659
690
  """
660
- Timestamp when the access token will expire unless extended.
691
+ Timestamp when the access token will expire unless extended, if ever.
661
692
  """
662
693
  return pulumi.get(self, "expiry_time")
663
694
 
664
695
  @_builtins.property
665
696
  @pulumi.getter(name="extendWhenUsed")
666
- def extend_when_used(self) -> pulumi.Output[Optional[_builtins.bool]]:
697
+ def extend_when_used(self) -> pulumi.Output[_builtins.bool]:
667
698
  """
668
- Extends the token session duration when the token is used. Only applicable if a value is set for `max_age_seconds`.
699
+ Extend token expiration time when token is used. Only applicable if max*age*seconds is specified. The default value is `false`. Changing this property forces recreation of the resource.
669
700
  """
670
701
  return pulumi.get(self, "extend_when_used")
671
702
 
@@ -673,7 +704,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
673
704
  @pulumi.getter(name="fullToken")
674
705
  def full_token(self) -> pulumi.Output[_builtins.str]:
675
706
  """
676
- Full token.
707
+ Full Token.
677
708
  """
678
709
  return pulumi.get(self, "full_token")
679
710
 
@@ -681,7 +712,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
681
712
  @pulumi.getter(name="ipAllowlists")
682
713
  def ip_allowlists(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
683
714
  """
684
- List of allowed IP ranges.
715
+ List of allowed IP ranges. Changing this property forces recreation of the resource.
685
716
  """
686
717
  return pulumi.get(self, "ip_allowlists")
687
718
 
@@ -689,7 +720,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
689
720
  @pulumi.getter(name="lastIp")
690
721
  def last_ip(self) -> pulumi.Output[_builtins.str]:
691
722
  """
692
- IP address of the last request made with this token.
723
+ IP address the access token was last used from in case it has ever been used.
693
724
  """
694
725
  return pulumi.get(self, "last_ip")
695
726
 
@@ -697,7 +728,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
697
728
  @pulumi.getter(name="lastUsedTime")
698
729
  def last_used_time(self) -> pulumi.Output[_builtins.str]:
699
730
  """
700
- Timestamp when the access token was last used.
731
+ Timestamp when the access token was last used, if ever.
701
732
  """
702
733
  return pulumi.get(self, "last_used_time")
703
734
 
@@ -705,7 +736,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
705
736
  @pulumi.getter(name="lastUserAgent")
706
737
  def last_user_agent(self) -> pulumi.Output[_builtins.str]:
707
738
  """
708
- User agent of the last request made with this token.
739
+ User agent string of the client that last used the token in case it has ever been used.
709
740
  """
710
741
  return pulumi.get(self, "last_user_agent")
711
742
 
@@ -713,7 +744,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
713
744
  @pulumi.getter(name="lastUserAgentHumanReadable")
714
745
  def last_user_agent_human_readable(self) -> pulumi.Output[_builtins.str]:
715
746
  """
716
- User agent of the last request made with this token in human-readable format.
747
+ Human readable user agent string of the client that last used the token in case user agent is known.
717
748
  """
718
749
  return pulumi.get(self, "last_user_agent_human_readable")
719
750
 
@@ -721,7 +752,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
721
752
  @pulumi.getter(name="maxAgeSeconds")
722
753
  def max_age_seconds(self) -> pulumi.Output[Optional[_builtins.int]]:
723
754
  """
724
- The number of hours after which a token expires. If not set, it never expires.
755
+ Time the token remains valid since creation (or since last use if extend*when*used is true). Changing this property forces recreation of the resource.
725
756
  """
726
757
  return pulumi.get(self, "max_age_seconds")
727
758
 
@@ -729,7 +760,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
729
760
  @pulumi.getter(name="organizationId")
730
761
  def organization_id(self) -> pulumi.Output[_builtins.str]:
731
762
  """
732
- The ID of the organization the application user belongs to.
763
+ ID of an organization. Changing this property forces recreation of the resource.
733
764
  """
734
765
  return pulumi.get(self, "organization_id")
735
766
 
@@ -737,15 +768,20 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
737
768
  @pulumi.getter
738
769
  def scopes(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
739
770
  """
740
- Limits access to specific resources by granting read or write privileges to them. For example: `billing:read`. Available scopes are: `authentication`, `billing`, `payments` for [payment methods](https://aiven.io/docs/platform/howto/list-billing), `privatelink`, `projects`, `services`, `static_ips`, and `user`.
771
+ Scopes this token is restricted to if specified. Changing this property forces recreation of the resource.
741
772
  """
742
773
  return pulumi.get(self, "scopes")
743
774
 
775
+ @_builtins.property
776
+ @pulumi.getter
777
+ def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationApplicationUserTokenTimeouts']]:
778
+ return pulumi.get(self, "timeouts")
779
+
744
780
  @_builtins.property
745
781
  @pulumi.getter(name="tokenPrefix")
746
782
  def token_prefix(self) -> pulumi.Output[_builtins.str]:
747
783
  """
748
- Prefix of the token.
784
+ First characters of the actual token value. Full value is only exposed after creation. This value is used when updating or revoking tokens. Note that the value may contain /, + and = characters and must be URL encoded when used (/ => %2F, + => %2B, = => %3D).
749
785
  """
750
786
  return pulumi.get(self, "token_prefix")
751
787
 
@@ -753,7 +789,7 @@ class OrganizationApplicationUserToken(pulumi.CustomResource):
753
789
  @pulumi.getter(name="userId")
754
790
  def user_id(self) -> pulumi.Output[_builtins.str]:
755
791
  """
756
- The ID of the application user the token is created for.
792
+ User ID. Changing this property forces recreation of the resource.
757
793
  """
758
794
  return pulumi.get(self, "user_id")
759
795