pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__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.

Files changed (168) hide show
  1. pulumi_aiven/__init__.py +127 -0
  2. pulumi_aiven/_inputs.py +32826 -13922
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +34 -43
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +37 -12
  7. pulumi_aiven/account_team_member.py +48 -35
  8. pulumi_aiven/account_team_project.py +42 -25
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -39
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -57
  14. pulumi_aiven/azure_privatelink.py +54 -49
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -73
  17. pulumi_aiven/billing_group.py +33 -30
  18. pulumi_aiven/cassandra.py +145 -122
  19. pulumi_aiven/cassandra_user.py +59 -54
  20. pulumi_aiven/clickhouse.py +133 -110
  21. pulumi_aiven/clickhouse_database.py +58 -58
  22. pulumi_aiven/clickhouse_grant.py +135 -130
  23. pulumi_aiven/clickhouse_role.py +36 -45
  24. pulumi_aiven/clickhouse_user.py +50 -45
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -62
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -100
  30. pulumi_aiven/flink_application.py +58 -51
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
  36. pulumi_aiven/get_account.py +20 -5
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -20
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
  46. pulumi_aiven/get_azure_privatelink.py +37 -22
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -19
  50. pulumi_aiven/get_cassandra.py +55 -19
  51. pulumi_aiven/get_cassandra_user.py +42 -26
  52. pulumi_aiven/get_clickhouse.py +55 -19
  53. pulumi_aiven/get_clickhouse_database.py +35 -22
  54. pulumi_aiven/get_clickhouse_user.py +40 -25
  55. pulumi_aiven/get_connection_pool.py +43 -26
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -19
  59. pulumi_aiven/get_flink_application.py +44 -27
  60. pulumi_aiven/get_flink_application_version.py +55 -33
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
  63. pulumi_aiven/get_grafana.py +55 -19
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -21
  68. pulumi_aiven/get_kafka_acl.py +50 -33
  69. pulumi_aiven/get_kafka_connect.py +54 -32
  70. pulumi_aiven/get_kafka_connector.py +44 -24
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -28
  72. pulumi_aiven/get_kafka_schema.py +35 -19
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -17
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -25
  76. pulumi_aiven/get_kafka_user.py +42 -26
  77. pulumi_aiven/get_m3_aggregator.py +51 -15
  78. pulumi_aiven/get_m3_db.py +55 -19
  79. pulumi_aiven/get_m3db_user.py +38 -24
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
  81. pulumi_aiven/get_my_sql.py +50 -14
  82. pulumi_aiven/get_mysql_database.py +31 -18
  83. pulumi_aiven/get_mysql_user.py +36 -19
  84. pulumi_aiven/get_open_search.py +50 -14
  85. pulumi_aiven/get_open_search_acl_config.py +27 -15
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -21
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
  88. pulumi_aiven/get_opensearch_user.py +32 -18
  89. pulumi_aiven/get_organization.py +25 -13
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -19
  96. pulumi_aiven/get_pg_database.py +39 -24
  97. pulumi_aiven/get_pg_user.py +44 -27
  98. pulumi_aiven/get_project.py +43 -22
  99. pulumi_aiven/get_project_user.py +27 -15
  100. pulumi_aiven/get_project_vpc.py +31 -19
  101. pulumi_aiven/get_redis.py +50 -14
  102. pulumi_aiven/get_redis_user.py +40 -22
  103. pulumi_aiven/get_service_component.py +40 -18
  104. pulumi_aiven/get_service_integration.py +163 -49
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -33
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -318
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -140
  115. pulumi_aiven/kafka_acl.py +64 -53
  116. pulumi_aiven/kafka_connect.py +201 -328
  117. pulumi_aiven/kafka_connector.py +67 -56
  118. pulumi_aiven/kafka_mirror_maker.py +139 -318
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +65 -56
  121. pulumi_aiven/kafka_schema_configuration.py +25 -20
  122. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  123. pulumi_aiven/kafka_topic.py +184 -65
  124. pulumi_aiven/kafka_user.py +59 -54
  125. pulumi_aiven/m3_aggregator.py +176 -308
  126. pulumi_aiven/m3_db.py +190 -322
  127. pulumi_aiven/m3db_user.py +51 -46
  128. pulumi_aiven/mirror_maker_replication_flow.py +217 -53
  129. pulumi_aiven/my_sql.py +190 -322
  130. pulumi_aiven/mysql_database.py +32 -47
  131. pulumi_aiven/mysql_user.py +37 -32
  132. pulumi_aiven/open_search.py +128 -105
  133. pulumi_aiven/open_search_acl_config.py +33 -32
  134. pulumi_aiven/open_search_acl_rule.py +55 -50
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -25
  137. pulumi_aiven/organization.py +18 -13
  138. pulumi_aiven/organization_application_user.py +345 -0
  139. pulumi_aiven/organization_application_user_token.py +711 -0
  140. pulumi_aiven/organization_group_project.py +349 -0
  141. pulumi_aiven/organization_permission.py +421 -0
  142. pulumi_aiven/organization_user.py +25 -46
  143. pulumi_aiven/organization_user_group.py +64 -23
  144. pulumi_aiven/organization_user_group_member.py +359 -0
  145. pulumi_aiven/organizational_unit.py +41 -32
  146. pulumi_aiven/outputs.py +38509 -21612
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -67
  149. pulumi_aiven/pg_user.py +80 -61
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -31
  152. pulumi_aiven/project_vpc.py +58 -29
  153. pulumi_aiven/provider.py +5 -0
  154. pulumi_aiven/pulumi-plugin.json +2 -1
  155. pulumi_aiven/redis.py +163 -295
  156. pulumi_aiven/redis_user.py +58 -53
  157. pulumi_aiven/service_integration.py +511 -161
  158. pulumi_aiven/service_integration_endpoint.py +466 -158
  159. pulumi_aiven/static_ip.py +21 -16
  160. pulumi_aiven/thanos.py +1262 -0
  161. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
  165. pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
  166. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['AccountTeamMemberArgs', 'AccountTeamMember']
@@ -19,9 +24,9 @@ class AccountTeamMemberArgs:
19
24
  user_email: pulumi.Input[str]):
20
25
  """
21
26
  The set of arguments for constructing a AccountTeamMember resource.
22
- :param pulumi.Input[str] account_id: The unique account id. This property cannot be changed, doing so forces recreation of the resource.
23
- :param pulumi.Input[str] team_id: An account team id. This property cannot be changed, doing so forces recreation of the resource.
24
- :param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
27
+ :param pulumi.Input[str] account_id: The unique account id. Changing this property forces recreation of the resource.
28
+ :param pulumi.Input[str] team_id: An account team id. Changing this property forces recreation of the resource.
29
+ :param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
25
30
  """
26
31
  pulumi.set(__self__, "account_id", account_id)
27
32
  pulumi.set(__self__, "team_id", team_id)
@@ -31,7 +36,7 @@ class AccountTeamMemberArgs:
31
36
  @pulumi.getter(name="accountId")
32
37
  def account_id(self) -> pulumi.Input[str]:
33
38
  """
34
- The unique account id. This property cannot be changed, doing so forces recreation of the resource.
39
+ The unique account id. Changing this property forces recreation of the resource.
35
40
  """
36
41
  return pulumi.get(self, "account_id")
37
42
 
@@ -43,7 +48,7 @@ class AccountTeamMemberArgs:
43
48
  @pulumi.getter(name="teamId")
44
49
  def team_id(self) -> pulumi.Input[str]:
45
50
  """
46
- An account team id. This property cannot be changed, doing so forces recreation of the resource.
51
+ An account team id. Changing this property forces recreation of the resource.
47
52
  """
48
53
  return pulumi.get(self, "team_id")
49
54
 
@@ -55,7 +60,7 @@ class AccountTeamMemberArgs:
55
60
  @pulumi.getter(name="userEmail")
56
61
  def user_email(self) -> pulumi.Input[str]:
57
62
  """
58
- Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
63
+ Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
59
64
  """
60
65
  return pulumi.get(self, "user_email")
61
66
 
@@ -76,11 +81,11 @@ class _AccountTeamMemberState:
76
81
  """
77
82
  Input properties used for looking up and filtering AccountTeamMember resources.
78
83
  :param pulumi.Input[bool] accepted: is a boolean flag that determines whether an invitation was accepted or not by the user. `false` value means that the invitation was sent to the user but not yet accepted. `true` means that the user accepted the invitation and now a member of an account team.
79
- :param pulumi.Input[str] account_id: The unique account id. This property cannot be changed, doing so forces recreation of the resource.
84
+ :param pulumi.Input[str] account_id: The unique account id. Changing this property forces recreation of the resource.
80
85
  :param pulumi.Input[str] create_time: Time of creation
81
86
  :param pulumi.Input[str] invited_by_user_email: The email address that invited this user.
82
- :param pulumi.Input[str] team_id: An account team id. This property cannot be changed, doing so forces recreation of the resource.
83
- :param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
87
+ :param pulumi.Input[str] team_id: An account team id. Changing this property forces recreation of the resource.
88
+ :param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
84
89
  """
85
90
  if accepted is not None:
86
91
  pulumi.set(__self__, "accepted", accepted)
@@ -111,7 +116,7 @@ class _AccountTeamMemberState:
111
116
  @pulumi.getter(name="accountId")
112
117
  def account_id(self) -> Optional[pulumi.Input[str]]:
113
118
  """
114
- The unique account id. This property cannot be changed, doing so forces recreation of the resource.
119
+ The unique account id. Changing this property forces recreation of the resource.
115
120
  """
116
121
  return pulumi.get(self, "account_id")
117
122
 
@@ -147,7 +152,7 @@ class _AccountTeamMemberState:
147
152
  @pulumi.getter(name="teamId")
148
153
  def team_id(self) -> Optional[pulumi.Input[str]]:
149
154
  """
150
- An account team id. This property cannot be changed, doing so forces recreation of the resource.
155
+ An account team id. Changing this property forces recreation of the resource.
151
156
  """
152
157
  return pulumi.get(self, "team_id")
153
158
 
@@ -159,7 +164,7 @@ class _AccountTeamMemberState:
159
164
  @pulumi.getter(name="userEmail")
160
165
  def user_email(self) -> Optional[pulumi.Input[str]]:
161
166
  """
162
- Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
167
+ Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
163
168
  """
164
169
  return pulumi.get(self, "user_email")
165
170
 
@@ -178,16 +183,20 @@ class AccountTeamMember(pulumi.CustomResource):
178
183
  user_email: Optional[pulumi.Input[str]] = None,
179
184
  __props__=None):
180
185
  """
186
+ **This resource is deprecated.** Use `OrganizationUserGroupMember` instead.
187
+
181
188
  Adds a user as a team member.
182
189
 
183
190
  During the creation of this resource, an invite is sent to the address specified in `user_email`.
184
191
  The user is added to the team after they accept the invite. Deleting `AccountTeamMember`
185
192
  deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
186
193
 
187
- > **Teams are becoming groups**
188
- Groups are an easier way to control access to your organization's projects and
189
- services for a group of users.
190
- Migrate your teams to groups.
194
+ > **Teams have been deprecated and are being migrated to groups**
195
+ **On 30 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
196
+ The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on existing permissions.
197
+ **From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
198
+ this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
199
+ migration guide for more information on the changes and migrating to groups.
191
200
 
192
201
  ## Example Usage
193
202
 
@@ -196,22 +205,22 @@ class AccountTeamMember(pulumi.CustomResource):
196
205
  import pulumi_aiven as aiven
197
206
 
198
207
  main = aiven.AccountTeamMember("main",
199
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
200
- team_id=aiven_account_team["TEAM_RESOURCE_NAME"]["team_id"],
208
+ account_id=accoun_t__resourc_e__name["accountId"],
209
+ team_id=tea_m__resourc_e__name["teamId"],
201
210
  user_email="user+1@example.com")
202
211
  ```
203
212
 
204
213
  ## Import
205
214
 
206
215
  ```sh
207
- $ pulumi import aiven:index/accountTeamMember:AccountTeamMember foo account_id/team_id/user_email
216
+ $ pulumi import aiven:index/accountTeamMember:AccountTeamMember foo ACCOUNT_ID/TEAM_ID/USER_EMAIL
208
217
  ```
209
218
 
210
219
  :param str resource_name: The name of the resource.
211
220
  :param pulumi.ResourceOptions opts: Options for the resource.
212
- :param pulumi.Input[str] account_id: The unique account id. This property cannot be changed, doing so forces recreation of the resource.
213
- :param pulumi.Input[str] team_id: An account team id. This property cannot be changed, doing so forces recreation of the resource.
214
- :param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
221
+ :param pulumi.Input[str] account_id: The unique account id. Changing this property forces recreation of the resource.
222
+ :param pulumi.Input[str] team_id: An account team id. Changing this property forces recreation of the resource.
223
+ :param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
215
224
  """
216
225
  ...
217
226
  @overload
@@ -220,16 +229,20 @@ class AccountTeamMember(pulumi.CustomResource):
220
229
  args: AccountTeamMemberArgs,
221
230
  opts: Optional[pulumi.ResourceOptions] = None):
222
231
  """
232
+ **This resource is deprecated.** Use `OrganizationUserGroupMember` instead.
233
+
223
234
  Adds a user as a team member.
224
235
 
225
236
  During the creation of this resource, an invite is sent to the address specified in `user_email`.
226
237
  The user is added to the team after they accept the invite. Deleting `AccountTeamMember`
227
238
  deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
228
239
 
229
- > **Teams are becoming groups**
230
- Groups are an easier way to control access to your organization's projects and
231
- services for a group of users.
232
- Migrate your teams to groups.
240
+ > **Teams have been deprecated and are being migrated to groups**
241
+ **On 30 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
242
+ The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on existing permissions.
243
+ **From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
244
+ this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
245
+ migration guide for more information on the changes and migrating to groups.
233
246
 
234
247
  ## Example Usage
235
248
 
@@ -238,15 +251,15 @@ class AccountTeamMember(pulumi.CustomResource):
238
251
  import pulumi_aiven as aiven
239
252
 
240
253
  main = aiven.AccountTeamMember("main",
241
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
242
- team_id=aiven_account_team["TEAM_RESOURCE_NAME"]["team_id"],
254
+ account_id=accoun_t__resourc_e__name["accountId"],
255
+ team_id=tea_m__resourc_e__name["teamId"],
243
256
  user_email="user+1@example.com")
244
257
  ```
245
258
 
246
259
  ## Import
247
260
 
248
261
  ```sh
249
- $ pulumi import aiven:index/accountTeamMember:AccountTeamMember foo account_id/team_id/user_email
262
+ $ pulumi import aiven:index/accountTeamMember:AccountTeamMember foo ACCOUNT_ID/TEAM_ID/USER_EMAIL
250
263
  ```
251
264
 
252
265
  :param str resource_name: The name of the resource.
@@ -312,11 +325,11 @@ class AccountTeamMember(pulumi.CustomResource):
312
325
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
313
326
  :param pulumi.ResourceOptions opts: Options for the resource.
314
327
  :param pulumi.Input[bool] accepted: is a boolean flag that determines whether an invitation was accepted or not by the user. `false` value means that the invitation was sent to the user but not yet accepted. `true` means that the user accepted the invitation and now a member of an account team.
315
- :param pulumi.Input[str] account_id: The unique account id. This property cannot be changed, doing so forces recreation of the resource.
328
+ :param pulumi.Input[str] account_id: The unique account id. Changing this property forces recreation of the resource.
316
329
  :param pulumi.Input[str] create_time: Time of creation
317
330
  :param pulumi.Input[str] invited_by_user_email: The email address that invited this user.
318
- :param pulumi.Input[str] team_id: An account team id. This property cannot be changed, doing so forces recreation of the resource.
319
- :param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
331
+ :param pulumi.Input[str] team_id: An account team id. Changing this property forces recreation of the resource.
332
+ :param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
320
333
  """
321
334
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
322
335
 
@@ -342,7 +355,7 @@ class AccountTeamMember(pulumi.CustomResource):
342
355
  @pulumi.getter(name="accountId")
343
356
  def account_id(self) -> pulumi.Output[str]:
344
357
  """
345
- The unique account id. This property cannot be changed, doing so forces recreation of the resource.
358
+ The unique account id. Changing this property forces recreation of the resource.
346
359
  """
347
360
  return pulumi.get(self, "account_id")
348
361
 
@@ -366,7 +379,7 @@ class AccountTeamMember(pulumi.CustomResource):
366
379
  @pulumi.getter(name="teamId")
367
380
  def team_id(self) -> pulumi.Output[str]:
368
381
  """
369
- An account team id. This property cannot be changed, doing so forces recreation of the resource.
382
+ An account team id. Changing this property forces recreation of the resource.
370
383
  """
371
384
  return pulumi.get(self, "team_id")
372
385
 
@@ -374,7 +387,7 @@ class AccountTeamMember(pulumi.CustomResource):
374
387
  @pulumi.getter(name="userEmail")
375
388
  def user_email(self) -> pulumi.Output[str]:
376
389
  """
377
- Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
390
+ Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
378
391
  """
379
392
  return pulumi.get(self, "user_email")
380
393
 
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['AccountTeamProjectArgs', 'AccountTeamProject']
@@ -23,7 +28,7 @@ class AccountTeamProjectArgs:
23
28
  :param pulumi.Input[str] account_id: The unique account id
24
29
  :param pulumi.Input[str] team_id: An account team id
25
30
  :param pulumi.Input[str] project_name: The name of an already existing project
26
- :param pulumi.Input[str] team_type: The Account team project type. The possible values are `admin`, `developer`, `operator` and `read_only`.
31
+ :param pulumi.Input[str] team_type: The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
27
32
  """
28
33
  pulumi.set(__self__, "account_id", account_id)
29
34
  pulumi.set(__self__, "team_id", team_id)
@@ -72,7 +77,7 @@ class AccountTeamProjectArgs:
72
77
  @pulumi.getter(name="teamType")
73
78
  def team_type(self) -> Optional[pulumi.Input[str]]:
74
79
  """
75
- The Account team project type. The possible values are `admin`, `developer`, `operator` and `read_only`.
80
+ The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
76
81
  """
77
82
  return pulumi.get(self, "team_type")
78
83
 
@@ -93,7 +98,7 @@ class _AccountTeamProjectState:
93
98
  :param pulumi.Input[str] account_id: The unique account id
94
99
  :param pulumi.Input[str] project_name: The name of an already existing project
95
100
  :param pulumi.Input[str] team_id: An account team id
96
- :param pulumi.Input[str] team_type: The Account team project type. The possible values are `admin`, `developer`, `operator` and `read_only`.
101
+ :param pulumi.Input[str] team_type: The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
97
102
  """
98
103
  if account_id is not None:
99
104
  pulumi.set(__self__, "account_id", account_id)
@@ -144,7 +149,7 @@ class _AccountTeamProjectState:
144
149
  @pulumi.getter(name="teamType")
145
150
  def team_type(self) -> Optional[pulumi.Input[str]]:
146
151
  """
147
- The Account team project type. The possible values are `admin`, `developer`, `operator` and `read_only`.
152
+ The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
148
153
  """
149
154
  return pulumi.get(self, "team_type")
150
155
 
@@ -164,12 +169,16 @@ class AccountTeamProject(pulumi.CustomResource):
164
169
  team_type: Optional[pulumi.Input[str]] = None,
165
170
  __props__=None):
166
171
  """
172
+ **This resource is deprecated.** Use `OrganizationGroupProject` instead.
173
+
167
174
  Links an existing project to an existing team. Both the project and team should have the same `account_id`.
168
175
 
169
- > **Teams are becoming groups**
170
- Groups are an easier way to control access to your organization's projects and
171
- services for a group of users.
172
- Migrate your teams to groups.
176
+ > **Teams have been deprecated and are being migrated to groups**
177
+ **On 30 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
178
+ The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on existing permissions.
179
+ **From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
180
+ this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
181
+ migration guide for more information on the changes and migrating to groups.
173
182
 
174
183
  ## Example Usage
175
184
 
@@ -177,12 +186,14 @@ class AccountTeamProject(pulumi.CustomResource):
177
186
  import pulumi
178
187
  import pulumi_aiven as aiven
179
188
 
180
- example_project = aiven.Project("exampleProject",
189
+ example_project = aiven.Project("example_project",
181
190
  project="project-1",
182
- account_id=aiven_account_team["ACCOUNT_RESOURCE_NAME"]["account_id"])
183
- example_team = aiven.AccountTeam("exampleTeam", account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"])
191
+ account_id=accoun_t__resourc_e__name["accountId"])
192
+ example_team = aiven.AccountTeam("example_team",
193
+ account_id=accoun_t__resourc_e__name_aiven_account["accountId"],
194
+ name="Example team")
184
195
  main = aiven.AccountTeamProject("main",
185
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
196
+ account_id=accoun_t__resourc_e__name_aiven_account["accountId"],
186
197
  team_id=example_team.team_id,
187
198
  project_name=example_project.project,
188
199
  team_type="admin")
@@ -191,7 +202,7 @@ class AccountTeamProject(pulumi.CustomResource):
191
202
  ## Import
192
203
 
193
204
  ```sh
194
- $ pulumi import aiven:index/accountTeamProject:AccountTeamProject account_team_project1 account_id/team_id/project_name
205
+ $ pulumi import aiven:index/accountTeamProject:AccountTeamProject account_team_project1 account_id/team_id/project_name
195
206
  ```
196
207
 
197
208
  :param str resource_name: The name of the resource.
@@ -199,7 +210,7 @@ class AccountTeamProject(pulumi.CustomResource):
199
210
  :param pulumi.Input[str] account_id: The unique account id
200
211
  :param pulumi.Input[str] project_name: The name of an already existing project
201
212
  :param pulumi.Input[str] team_id: An account team id
202
- :param pulumi.Input[str] team_type: The Account team project type. The possible values are `admin`, `developer`, `operator` and `read_only`.
213
+ :param pulumi.Input[str] team_type: The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
203
214
  """
204
215
  ...
205
216
  @overload
@@ -208,12 +219,16 @@ class AccountTeamProject(pulumi.CustomResource):
208
219
  args: AccountTeamProjectArgs,
209
220
  opts: Optional[pulumi.ResourceOptions] = None):
210
221
  """
222
+ **This resource is deprecated.** Use `OrganizationGroupProject` instead.
223
+
211
224
  Links an existing project to an existing team. Both the project and team should have the same `account_id`.
212
225
 
213
- > **Teams are becoming groups**
214
- Groups are an easier way to control access to your organization's projects and
215
- services for a group of users.
216
- Migrate your teams to groups.
226
+ > **Teams have been deprecated and are being migrated to groups**
227
+ **On 30 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
228
+ The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on existing permissions.
229
+ **From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
230
+ this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
231
+ migration guide for more information on the changes and migrating to groups.
217
232
 
218
233
  ## Example Usage
219
234
 
@@ -221,12 +236,14 @@ class AccountTeamProject(pulumi.CustomResource):
221
236
  import pulumi
222
237
  import pulumi_aiven as aiven
223
238
 
224
- example_project = aiven.Project("exampleProject",
239
+ example_project = aiven.Project("example_project",
225
240
  project="project-1",
226
- account_id=aiven_account_team["ACCOUNT_RESOURCE_NAME"]["account_id"])
227
- example_team = aiven.AccountTeam("exampleTeam", account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"])
241
+ account_id=accoun_t__resourc_e__name["accountId"])
242
+ example_team = aiven.AccountTeam("example_team",
243
+ account_id=accoun_t__resourc_e__name_aiven_account["accountId"],
244
+ name="Example team")
228
245
  main = aiven.AccountTeamProject("main",
229
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
246
+ account_id=accoun_t__resourc_e__name_aiven_account["accountId"],
230
247
  team_id=example_team.team_id,
231
248
  project_name=example_project.project,
232
249
  team_type="admin")
@@ -235,7 +252,7 @@ class AccountTeamProject(pulumi.CustomResource):
235
252
  ## Import
236
253
 
237
254
  ```sh
238
- $ pulumi import aiven:index/accountTeamProject:AccountTeamProject account_team_project1 account_id/team_id/project_name
255
+ $ pulumi import aiven:index/accountTeamProject:AccountTeamProject account_team_project1 account_id/team_id/project_name
239
256
  ```
240
257
 
241
258
  :param str resource_name: The name of the resource.
@@ -298,7 +315,7 @@ class AccountTeamProject(pulumi.CustomResource):
298
315
  :param pulumi.Input[str] account_id: The unique account id
299
316
  :param pulumi.Input[str] project_name: The name of an already existing project
300
317
  :param pulumi.Input[str] team_id: An account team id
301
- :param pulumi.Input[str] team_type: The Account team project type. The possible values are `admin`, `developer`, `operator` and `read_only`.
318
+ :param pulumi.Input[str] team_type: The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
302
319
  """
303
320
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
304
321
 
@@ -338,7 +355,7 @@ class AccountTeamProject(pulumi.CustomResource):
338
355
  @pulumi.getter(name="teamType")
339
356
  def team_type(self) -> pulumi.Output[Optional[str]]:
340
357
  """
341
- The Account team project type. The possible values are `admin`, `developer`, `operator` and `read_only`.
358
+ The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
342
359
  """
343
360
  return pulumi.get(self, "team_type")
344
361