pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.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.

Files changed (169) hide show
  1. pulumi_aiven/__init__.py +136 -0
  2. pulumi_aiven/_inputs.py +32749 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  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 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  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 -48
  36. pulumi_aiven/get_account.py +20 -9
  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 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  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 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  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 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  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 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  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 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_quota.py +604 -0
  121. pulumi_aiven/kafka_schema.py +63 -58
  122. pulumi_aiven/kafka_schema_configuration.py +25 -24
  123. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  124. pulumi_aiven/kafka_topic.py +184 -65
  125. pulumi_aiven/kafka_user.py +59 -58
  126. pulumi_aiven/m3_aggregator.py +174 -310
  127. pulumi_aiven/m3_db.py +190 -326
  128. pulumi_aiven/m3db_user.py +51 -50
  129. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  130. pulumi_aiven/my_sql.py +188 -324
  131. pulumi_aiven/mysql_database.py +32 -51
  132. pulumi_aiven/mysql_user.py +37 -36
  133. pulumi_aiven/open_search.py +126 -107
  134. pulumi_aiven/open_search_acl_config.py +33 -36
  135. pulumi_aiven/open_search_acl_rule.py +55 -54
  136. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  137. pulumi_aiven/opensearch_user.py +30 -29
  138. pulumi_aiven/organization.py +18 -17
  139. pulumi_aiven/organization_application_user.py +345 -0
  140. pulumi_aiven/organization_application_user_token.py +711 -0
  141. pulumi_aiven/organization_group_project.py +349 -0
  142. pulumi_aiven/organization_permission.py +421 -0
  143. pulumi_aiven/organization_user.py +25 -46
  144. pulumi_aiven/organization_user_group.py +64 -23
  145. pulumi_aiven/organization_user_group_member.py +359 -0
  146. pulumi_aiven/organizational_unit.py +41 -36
  147. pulumi_aiven/outputs.py +38976 -21894
  148. pulumi_aiven/pg.py +92 -88
  149. pulumi_aiven/pg_database.py +52 -71
  150. pulumi_aiven/pg_user.py +80 -65
  151. pulumi_aiven/project.py +111 -102
  152. pulumi_aiven/project_user.py +44 -35
  153. pulumi_aiven/project_vpc.py +58 -29
  154. pulumi_aiven/provider.py +5 -0
  155. pulumi_aiven/pulumi-plugin.json +2 -1
  156. pulumi_aiven/redis.py +161 -297
  157. pulumi_aiven/redis_user.py +58 -57
  158. pulumi_aiven/service_integration.py +511 -165
  159. pulumi_aiven/service_integration_endpoint.py +466 -158
  160. pulumi_aiven/static_ip.py +21 -16
  161. pulumi_aiven/thanos.py +1262 -0
  162. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
  163. pulumi_aiven/valkey.py +1256 -0
  164. pulumi_aiven/valkey_user.py +606 -0
  165. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
  166. pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
  167. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
  168. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  169. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0.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,42 +183,44 @@ 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
 
194
- <!--Start PulumiCodeChooser -->
195
203
  ```python
196
204
  import pulumi
197
205
  import pulumi_aiven as aiven
198
206
 
199
207
  main = aiven.AccountTeamMember("main",
200
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
201
- 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"],
202
210
  user_email="user+1@example.com")
203
211
  ```
204
- <!--End PulumiCodeChooser -->
205
212
 
206
213
  ## Import
207
214
 
208
215
  ```sh
209
- $ 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
210
217
  ```
211
218
 
212
219
  :param str resource_name: The name of the resource.
213
220
  :param pulumi.ResourceOptions opts: Options for the resource.
214
- :param pulumi.Input[str] account_id: The unique account id. This property cannot be changed, doing so forces recreation of the resource.
215
- :param pulumi.Input[str] team_id: An account team id. This property cannot be changed, doing so forces recreation of the resource.
216
- :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.
217
224
  """
218
225
  ...
219
226
  @overload
@@ -222,35 +229,37 @@ class AccountTeamMember(pulumi.CustomResource):
222
229
  args: AccountTeamMemberArgs,
223
230
  opts: Optional[pulumi.ResourceOptions] = None):
224
231
  """
232
+ **This resource is deprecated.** Use `OrganizationUserGroupMember` instead.
233
+
225
234
  Adds a user as a team member.
226
235
 
227
236
  During the creation of this resource, an invite is sent to the address specified in `user_email`.
228
237
  The user is added to the team after they accept the invite. Deleting `AccountTeamMember`
229
238
  deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
230
239
 
231
- > **Teams are becoming groups**
232
- Groups are an easier way to control access to your organization's projects and
233
- services for a group of users.
234
- 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.
235
246
 
236
247
  ## Example Usage
237
248
 
238
- <!--Start PulumiCodeChooser -->
239
249
  ```python
240
250
  import pulumi
241
251
  import pulumi_aiven as aiven
242
252
 
243
253
  main = aiven.AccountTeamMember("main",
244
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
245
- 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"],
246
256
  user_email="user+1@example.com")
247
257
  ```
248
- <!--End PulumiCodeChooser -->
249
258
 
250
259
  ## Import
251
260
 
252
261
  ```sh
253
- $ 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
254
263
  ```
255
264
 
256
265
  :param str resource_name: The name of the resource.
@@ -316,11 +325,11 @@ class AccountTeamMember(pulumi.CustomResource):
316
325
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
317
326
  :param pulumi.ResourceOptions opts: Options for the resource.
318
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.
319
- :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.
320
329
  :param pulumi.Input[str] create_time: Time of creation
321
330
  :param pulumi.Input[str] invited_by_user_email: The email address that invited this user.
322
- :param pulumi.Input[str] team_id: An account team id. This property cannot be changed, doing so forces recreation of the resource.
323
- :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.
324
333
  """
325
334
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
326
335
 
@@ -346,7 +355,7 @@ class AccountTeamMember(pulumi.CustomResource):
346
355
  @pulumi.getter(name="accountId")
347
356
  def account_id(self) -> pulumi.Output[str]:
348
357
  """
349
- 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.
350
359
  """
351
360
  return pulumi.get(self, "account_id")
352
361
 
@@ -370,7 +379,7 @@ class AccountTeamMember(pulumi.CustomResource):
370
379
  @pulumi.getter(name="teamId")
371
380
  def team_id(self) -> pulumi.Output[str]:
372
381
  """
373
- 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.
374
383
  """
375
384
  return pulumi.get(self, "team_id")
376
385
 
@@ -378,7 +387,7 @@ class AccountTeamMember(pulumi.CustomResource):
378
387
  @pulumi.getter(name="userEmail")
379
388
  def user_email(self) -> pulumi.Output[str]:
380
389
  """
381
- 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.
382
391
  """
383
392
  return pulumi.get(self, "user_email")
384
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:projects:write`, `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:projects:write`, `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:projects:write`, `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:projects:write`, `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,31 +169,35 @@ 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
 
176
- <!--Start PulumiCodeChooser -->
177
185
  ```python
178
186
  import pulumi
179
187
  import pulumi_aiven as aiven
180
188
 
181
- example_project = aiven.Project("exampleProject",
189
+ example_project = aiven.Project("example_project",
182
190
  project="project-1",
183
- account_id=aiven_account_team["ACCOUNT_RESOURCE_NAME"]["account_id"])
184
- 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")
185
195
  main = aiven.AccountTeamProject("main",
186
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
196
+ account_id=accoun_t__resourc_e__name_aiven_account["accountId"],
187
197
  team_id=example_team.team_id,
188
198
  project_name=example_project.project,
189
199
  team_type="admin")
190
200
  ```
191
- <!--End PulumiCodeChooser -->
192
201
 
193
202
  ## Import
194
203
 
@@ -201,7 +210,7 @@ class AccountTeamProject(pulumi.CustomResource):
201
210
  :param pulumi.Input[str] account_id: The unique account id
202
211
  :param pulumi.Input[str] project_name: The name of an already existing project
203
212
  :param pulumi.Input[str] team_id: An account team id
204
- :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:projects:write`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
205
214
  """
206
215
  ...
207
216
  @overload
@@ -210,31 +219,35 @@ class AccountTeamProject(pulumi.CustomResource):
210
219
  args: AccountTeamProjectArgs,
211
220
  opts: Optional[pulumi.ResourceOptions] = None):
212
221
  """
222
+ **This resource is deprecated.** Use `OrganizationGroupProject` instead.
223
+
213
224
  Links an existing project to an existing team. Both the project and team should have the same `account_id`.
214
225
 
215
- > **Teams are becoming groups**
216
- Groups are an easier way to control access to your organization's projects and
217
- services for a group of users.
218
- 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.
219
232
 
220
233
  ## Example Usage
221
234
 
222
- <!--Start PulumiCodeChooser -->
223
235
  ```python
224
236
  import pulumi
225
237
  import pulumi_aiven as aiven
226
238
 
227
- example_project = aiven.Project("exampleProject",
239
+ example_project = aiven.Project("example_project",
228
240
  project="project-1",
229
- account_id=aiven_account_team["ACCOUNT_RESOURCE_NAME"]["account_id"])
230
- 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")
231
245
  main = aiven.AccountTeamProject("main",
232
- account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
246
+ account_id=accoun_t__resourc_e__name_aiven_account["accountId"],
233
247
  team_id=example_team.team_id,
234
248
  project_name=example_project.project,
235
249
  team_type="admin")
236
250
  ```
237
- <!--End PulumiCodeChooser -->
238
251
 
239
252
  ## Import
240
253
 
@@ -302,7 +315,7 @@ class AccountTeamProject(pulumi.CustomResource):
302
315
  :param pulumi.Input[str] account_id: The unique account id
303
316
  :param pulumi.Input[str] project_name: The name of an already existing project
304
317
  :param pulumi.Input[str] team_id: An account team id
305
- :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:projects:write`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
306
319
  """
307
320
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
308
321
 
@@ -342,7 +355,7 @@ class AccountTeamProject(pulumi.CustomResource):
342
355
  @pulumi.getter(name="teamType")
343
356
  def team_type(self) -> pulumi.Output[Optional[str]]:
344
357
  """
345
- 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:projects:write`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
346
359
  """
347
360
  return pulumi.get(self, "team_type")
348
361