pulumi-aiven 6.13.0a1711027602__py3-none-any.whl → 6.14.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 (136) hide show
  1. pulumi_aiven/__init__.py +28 -0
  2. pulumi_aiven/_inputs.py +2623 -1138
  3. pulumi_aiven/account.py +8 -8
  4. pulumi_aiven/account_authentication.py +8 -4
  5. pulumi_aiven/account_team.py +6 -6
  6. pulumi_aiven/account_team_member.py +27 -31
  7. pulumi_aiven/account_team_project.py +12 -12
  8. pulumi_aiven/aws_privatelink.py +39 -43
  9. pulumi_aiven/aws_vpc_peering_connection.py +62 -56
  10. pulumi_aiven/azure_privatelink.py +49 -53
  11. pulumi_aiven/azure_privatelink_connection_approval.py +131 -33
  12. pulumi_aiven/azure_vpc_peering_connection.py +76 -72
  13. pulumi_aiven/billing_group.py +18 -18
  14. pulumi_aiven/cassandra.py +25 -57
  15. pulumi_aiven/cassandra_user.py +25 -29
  16. pulumi_aiven/clickhouse.py +25 -57
  17. pulumi_aiven/clickhouse_database.py +31 -33
  18. pulumi_aiven/clickhouse_grant.py +56 -58
  19. pulumi_aiven/clickhouse_role.py +23 -27
  20. pulumi_aiven/clickhouse_user.py +25 -29
  21. pulumi_aiven/connection_pool.py +38 -42
  22. pulumi_aiven/dragonfly.py +1205 -0
  23. pulumi_aiven/flink.py +32 -36
  24. pulumi_aiven/flink_application.py +22 -24
  25. pulumi_aiven/flink_application_deployment.py +28 -28
  26. pulumi_aiven/flink_application_version.py +96 -14
  27. pulumi_aiven/gcp_privatelink.py +40 -40
  28. pulumi_aiven/gcp_privatelink_connection_approval.py +47 -47
  29. pulumi_aiven/gcp_vpc_peering_connection.py +39 -43
  30. pulumi_aiven/get_account.py +0 -4
  31. pulumi_aiven/get_account_team_member.py +9 -9
  32. pulumi_aiven/get_aws_privatelink.py +15 -19
  33. pulumi_aiven/get_aws_vpc_peering_connection.py +33 -27
  34. pulumi_aiven/get_azure_privatelink.py +17 -21
  35. pulumi_aiven/get_azure_vpc_peering_connection.py +50 -22
  36. pulumi_aiven/get_billing_group.py +2 -2
  37. pulumi_aiven/get_cassanda.py +7 -24
  38. pulumi_aiven/get_cassandra.py +7 -24
  39. pulumi_aiven/get_cassandra_user.py +13 -17
  40. pulumi_aiven/get_clickhouse.py +7 -24
  41. pulumi_aiven/get_clickhouse_database.py +13 -17
  42. pulumi_aiven/get_clickhouse_user.py +13 -17
  43. pulumi_aiven/get_connection_pool.py +14 -18
  44. pulumi_aiven/get_dragonfly.py +450 -0
  45. pulumi_aiven/get_flink.py +6 -10
  46. pulumi_aiven/get_flink_application.py +8 -12
  47. pulumi_aiven/get_flink_application_version.py +8 -12
  48. pulumi_aiven/get_gcp_vpc_peering_connection.py +18 -22
  49. pulumi_aiven/get_grafana.py +7 -24
  50. pulumi_aiven/get_kafka.py +13 -17
  51. pulumi_aiven/get_kafka_acl.py +19 -23
  52. pulumi_aiven/get_kafka_connect.py +7 -24
  53. pulumi_aiven/get_kafka_connector.py +13 -17
  54. pulumi_aiven/get_kafka_mirror_maker.py +7 -24
  55. pulumi_aiven/get_kafka_schema.py +13 -17
  56. pulumi_aiven/get_kafka_schema_configuration.py +11 -15
  57. pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
  58. pulumi_aiven/get_kafka_topic.py +19 -23
  59. pulumi_aiven/get_kafka_user.py +13 -17
  60. pulumi_aiven/get_m3_aggregator.py +7 -24
  61. pulumi_aiven/get_m3_db.py +7 -24
  62. pulumi_aiven/get_m3db_user.py +13 -17
  63. pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
  64. pulumi_aiven/get_my_sql.py +7 -24
  65. pulumi_aiven/get_mysql_database.py +13 -17
  66. pulumi_aiven/get_mysql_user.py +13 -17
  67. pulumi_aiven/get_open_search.py +6 -10
  68. pulumi_aiven/get_open_search_acl_config.py +10 -14
  69. pulumi_aiven/get_open_search_acl_rule.py +16 -20
  70. pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
  71. pulumi_aiven/get_opensearch_user.py +13 -17
  72. pulumi_aiven/get_organization.py +8 -12
  73. pulumi_aiven/get_organization_user_group.py +29 -9
  74. pulumi_aiven/get_organizational_unit.py +9 -9
  75. pulumi_aiven/get_pg.py +6 -10
  76. pulumi_aiven/get_pg_database.py +15 -19
  77. pulumi_aiven/get_pg_user.py +13 -17
  78. pulumi_aiven/get_project.py +17 -21
  79. pulumi_aiven/get_project_user.py +9 -13
  80. pulumi_aiven/get_project_vpc.py +11 -17
  81. pulumi_aiven/get_redis.py +7 -24
  82. pulumi_aiven/get_redis_user.py +17 -21
  83. pulumi_aiven/get_service_component.py +4 -8
  84. pulumi_aiven/get_service_integration.py +75 -37
  85. pulumi_aiven/get_service_integration_endpoint.py +3 -7
  86. pulumi_aiven/get_transit_gateway_vpc_attachment.py +11 -15
  87. pulumi_aiven/grafana.py +82 -267
  88. pulumi_aiven/influx_db.py +28 -28
  89. pulumi_aiven/influxdb_database.py +35 -35
  90. pulumi_aiven/influxdb_user.py +42 -42
  91. pulumi_aiven/kafka.py +50 -54
  92. pulumi_aiven/kafka_acl.py +41 -45
  93. pulumi_aiven/kafka_connect.py +80 -267
  94. pulumi_aiven/kafka_connector.py +33 -37
  95. pulumi_aiven/kafka_mirror_maker.py +80 -267
  96. pulumi_aiven/kafka_schema.py +51 -51
  97. pulumi_aiven/kafka_schema_configuration.py +20 -24
  98. pulumi_aiven/kafka_schema_registry_acl.py +75 -35
  99. pulumi_aiven/kafka_topic.py +91 -53
  100. pulumi_aiven/kafka_user.py +25 -29
  101. pulumi_aiven/m3_aggregator.py +80 -267
  102. pulumi_aiven/m3_db.py +80 -267
  103. pulumi_aiven/m3db_user.py +23 -27
  104. pulumi_aiven/mirror_maker_replication_flow.py +58 -60
  105. pulumi_aiven/my_sql.py +80 -267
  106. pulumi_aiven/mysql_database.py +27 -31
  107. pulumi_aiven/mysql_user.py +25 -29
  108. pulumi_aiven/open_search.py +27 -31
  109. pulumi_aiven/open_search_acl_config.py +28 -36
  110. pulumi_aiven/open_search_acl_rule.py +50 -54
  111. pulumi_aiven/opensearch_security_plugin_config.py +64 -16
  112. pulumi_aiven/opensearch_user.py +25 -29
  113. pulumi_aiven/organization.py +10 -14
  114. pulumi_aiven/organization_group_project.py +336 -0
  115. pulumi_aiven/organization_user.py +16 -34
  116. pulumi_aiven/organization_user_group.py +59 -23
  117. pulumi_aiven/organization_user_group_member.py +350 -0
  118. pulumi_aiven/organizational_unit.py +36 -36
  119. pulumi_aiven/outputs.py +3539 -1136
  120. pulumi_aiven/pg.py +30 -30
  121. pulumi_aiven/pg_database.py +41 -45
  122. pulumi_aiven/pg_user.py +25 -29
  123. pulumi_aiven/project.py +91 -69
  124. pulumi_aiven/project_user.py +24 -28
  125. pulumi_aiven/project_vpc.py +49 -25
  126. pulumi_aiven/redis.py +80 -267
  127. pulumi_aiven/redis_user.py +53 -57
  128. pulumi_aiven/service_integration.py +249 -65
  129. pulumi_aiven/service_integration_endpoint.py +7 -7
  130. pulumi_aiven/static_ip.py +14 -14
  131. pulumi_aiven/transit_gateway_vpc_attachment.py +25 -29
  132. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
  133. pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
  134. pulumi_aiven-6.13.0a1711027602.dist-info/RECORD +0 -146
  135. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
  136. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,336 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
13
+
14
+ __all__ = ['OrganizationGroupProjectArgs', 'OrganizationGroupProject']
15
+
16
+ @pulumi.input_type
17
+ class OrganizationGroupProjectArgs:
18
+ def __init__(__self__, *,
19
+ group_id: pulumi.Input[str],
20
+ project: pulumi.Input[str],
21
+ role: pulumi.Input[str],
22
+ timeouts: Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']] = None):
23
+ """
24
+ The set of arguments for constructing a OrganizationGroupProject resource.
25
+ :param pulumi.Input[str] group_id: The ID of the user group.
26
+ :param pulumi.Input[str] project: The project that the users in the group are members of.
27
+ :param pulumi.Input[str] role: Role assigned to all users in the group for the project.
28
+ """
29
+ pulumi.set(__self__, "group_id", group_id)
30
+ pulumi.set(__self__, "project", project)
31
+ pulumi.set(__self__, "role", role)
32
+ if timeouts is not None:
33
+ pulumi.set(__self__, "timeouts", timeouts)
34
+
35
+ @property
36
+ @pulumi.getter(name="groupId")
37
+ def group_id(self) -> pulumi.Input[str]:
38
+ """
39
+ The ID of the user group.
40
+ """
41
+ return pulumi.get(self, "group_id")
42
+
43
+ @group_id.setter
44
+ def group_id(self, value: pulumi.Input[str]):
45
+ pulumi.set(self, "group_id", value)
46
+
47
+ @property
48
+ @pulumi.getter
49
+ def project(self) -> pulumi.Input[str]:
50
+ """
51
+ The project that the users in the group are members of.
52
+ """
53
+ return pulumi.get(self, "project")
54
+
55
+ @project.setter
56
+ def project(self, value: pulumi.Input[str]):
57
+ pulumi.set(self, "project", value)
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def role(self) -> pulumi.Input[str]:
62
+ """
63
+ Role assigned to all users in the group for the project.
64
+ """
65
+ return pulumi.get(self, "role")
66
+
67
+ @role.setter
68
+ def role(self, value: pulumi.Input[str]):
69
+ pulumi.set(self, "role", value)
70
+
71
+ @property
72
+ @pulumi.getter
73
+ def timeouts(self) -> Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']]:
74
+ return pulumi.get(self, "timeouts")
75
+
76
+ @timeouts.setter
77
+ def timeouts(self, value: Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']]):
78
+ pulumi.set(self, "timeouts", value)
79
+
80
+
81
+ @pulumi.input_type
82
+ class _OrganizationGroupProjectState:
83
+ def __init__(__self__, *,
84
+ group_id: Optional[pulumi.Input[str]] = None,
85
+ project: Optional[pulumi.Input[str]] = None,
86
+ role: Optional[pulumi.Input[str]] = None,
87
+ timeouts: Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']] = None):
88
+ """
89
+ Input properties used for looking up and filtering OrganizationGroupProject resources.
90
+ :param pulumi.Input[str] group_id: The ID of the user group.
91
+ :param pulumi.Input[str] project: The project that the users in the group are members of.
92
+ :param pulumi.Input[str] role: Role assigned to all users in the group for the project.
93
+ """
94
+ if group_id is not None:
95
+ pulumi.set(__self__, "group_id", group_id)
96
+ if project is not None:
97
+ pulumi.set(__self__, "project", project)
98
+ if role is not None:
99
+ pulumi.set(__self__, "role", role)
100
+ if timeouts is not None:
101
+ pulumi.set(__self__, "timeouts", timeouts)
102
+
103
+ @property
104
+ @pulumi.getter(name="groupId")
105
+ def group_id(self) -> Optional[pulumi.Input[str]]:
106
+ """
107
+ The ID of the user group.
108
+ """
109
+ return pulumi.get(self, "group_id")
110
+
111
+ @group_id.setter
112
+ def group_id(self, value: Optional[pulumi.Input[str]]):
113
+ pulumi.set(self, "group_id", value)
114
+
115
+ @property
116
+ @pulumi.getter
117
+ def project(self) -> Optional[pulumi.Input[str]]:
118
+ """
119
+ The project that the users in the group are members of.
120
+ """
121
+ return pulumi.get(self, "project")
122
+
123
+ @project.setter
124
+ def project(self, value: Optional[pulumi.Input[str]]):
125
+ pulumi.set(self, "project", value)
126
+
127
+ @property
128
+ @pulumi.getter
129
+ def role(self) -> Optional[pulumi.Input[str]]:
130
+ """
131
+ Role assigned to all users in the group for the project.
132
+ """
133
+ return pulumi.get(self, "role")
134
+
135
+ @role.setter
136
+ def role(self, value: Optional[pulumi.Input[str]]):
137
+ pulumi.set(self, "role", value)
138
+
139
+ @property
140
+ @pulumi.getter
141
+ def timeouts(self) -> Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']]:
142
+ return pulumi.get(self, "timeouts")
143
+
144
+ @timeouts.setter
145
+ def timeouts(self, value: Optional[pulumi.Input['OrganizationGroupProjectTimeoutsArgs']]):
146
+ pulumi.set(self, "timeouts", value)
147
+
148
+
149
+ class OrganizationGroupProject(pulumi.CustomResource):
150
+ @overload
151
+ def __init__(__self__,
152
+ resource_name: str,
153
+ opts: Optional[pulumi.ResourceOptions] = None,
154
+ group_id: Optional[pulumi.Input[str]] = None,
155
+ project: Optional[pulumi.Input[str]] = None,
156
+ role: Optional[pulumi.Input[str]] = None,
157
+ timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationGroupProjectTimeoutsArgs']]] = None,
158
+ __props__=None):
159
+ """
160
+ Adds and manages a [group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) of users as [members of a project](https://aiven.io/docs/platform/reference/project-member-privileges).
161
+
162
+ ## Example Usage
163
+
164
+ ```python
165
+ import pulumi
166
+ import pulumi_aiven as aiven
167
+
168
+ example_project = aiven.Project("example_project",
169
+ project="example-project",
170
+ parent_id=main["id"])
171
+ example = aiven.OrganizationUserGroup("example",
172
+ description="Example group of users.",
173
+ organization_id=main["id"],
174
+ name="Example group")
175
+ project_admin = aiven.OrganizationUserGroupMember("project_admin",
176
+ group_id=example.group_id,
177
+ organization_id=main["id"],
178
+ user_id="u123a456b7890c")
179
+ example_organization_group_project = aiven.OrganizationGroupProject("example",
180
+ group_id=example.group_id,
181
+ project=example_project_aiven_project["project"],
182
+ role="admin")
183
+ ```
184
+
185
+ ## Import
186
+
187
+ ```sh
188
+ $ pulumi import aiven:index/organizationGroupProject:OrganizationGroupProject example PROJECT/USER_GROUP_ID
189
+ ```
190
+
191
+ :param str resource_name: The name of the resource.
192
+ :param pulumi.ResourceOptions opts: Options for the resource.
193
+ :param pulumi.Input[str] group_id: The ID of the user group.
194
+ :param pulumi.Input[str] project: The project that the users in the group are members of.
195
+ :param pulumi.Input[str] role: Role assigned to all users in the group for the project.
196
+ """
197
+ ...
198
+ @overload
199
+ def __init__(__self__,
200
+ resource_name: str,
201
+ args: OrganizationGroupProjectArgs,
202
+ opts: Optional[pulumi.ResourceOptions] = None):
203
+ """
204
+ Adds and manages a [group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) of users as [members of a project](https://aiven.io/docs/platform/reference/project-member-privileges).
205
+
206
+ ## Example Usage
207
+
208
+ ```python
209
+ import pulumi
210
+ import pulumi_aiven as aiven
211
+
212
+ example_project = aiven.Project("example_project",
213
+ project="example-project",
214
+ parent_id=main["id"])
215
+ example = aiven.OrganizationUserGroup("example",
216
+ description="Example group of users.",
217
+ organization_id=main["id"],
218
+ name="Example group")
219
+ project_admin = aiven.OrganizationUserGroupMember("project_admin",
220
+ group_id=example.group_id,
221
+ organization_id=main["id"],
222
+ user_id="u123a456b7890c")
223
+ example_organization_group_project = aiven.OrganizationGroupProject("example",
224
+ group_id=example.group_id,
225
+ project=example_project_aiven_project["project"],
226
+ role="admin")
227
+ ```
228
+
229
+ ## Import
230
+
231
+ ```sh
232
+ $ pulumi import aiven:index/organizationGroupProject:OrganizationGroupProject example PROJECT/USER_GROUP_ID
233
+ ```
234
+
235
+ :param str resource_name: The name of the resource.
236
+ :param OrganizationGroupProjectArgs args: The arguments to use to populate this resource's properties.
237
+ :param pulumi.ResourceOptions opts: Options for the resource.
238
+ """
239
+ ...
240
+ def __init__(__self__, resource_name: str, *args, **kwargs):
241
+ resource_args, opts = _utilities.get_resource_args_opts(OrganizationGroupProjectArgs, pulumi.ResourceOptions, *args, **kwargs)
242
+ if resource_args is not None:
243
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
244
+ else:
245
+ __self__._internal_init(resource_name, *args, **kwargs)
246
+
247
+ def _internal_init(__self__,
248
+ resource_name: str,
249
+ opts: Optional[pulumi.ResourceOptions] = None,
250
+ group_id: Optional[pulumi.Input[str]] = None,
251
+ project: Optional[pulumi.Input[str]] = None,
252
+ role: Optional[pulumi.Input[str]] = None,
253
+ timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationGroupProjectTimeoutsArgs']]] = None,
254
+ __props__=None):
255
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
256
+ if not isinstance(opts, pulumi.ResourceOptions):
257
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
258
+ if opts.id is None:
259
+ if __props__ is not None:
260
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
261
+ __props__ = OrganizationGroupProjectArgs.__new__(OrganizationGroupProjectArgs)
262
+
263
+ if group_id is None and not opts.urn:
264
+ raise TypeError("Missing required property 'group_id'")
265
+ __props__.__dict__["group_id"] = group_id
266
+ if project is None and not opts.urn:
267
+ raise TypeError("Missing required property 'project'")
268
+ __props__.__dict__["project"] = project
269
+ if role is None and not opts.urn:
270
+ raise TypeError("Missing required property 'role'")
271
+ __props__.__dict__["role"] = role
272
+ __props__.__dict__["timeouts"] = timeouts
273
+ super(OrganizationGroupProject, __self__).__init__(
274
+ 'aiven:index/organizationGroupProject:OrganizationGroupProject',
275
+ resource_name,
276
+ __props__,
277
+ opts)
278
+
279
+ @staticmethod
280
+ def get(resource_name: str,
281
+ id: pulumi.Input[str],
282
+ opts: Optional[pulumi.ResourceOptions] = None,
283
+ group_id: Optional[pulumi.Input[str]] = None,
284
+ project: Optional[pulumi.Input[str]] = None,
285
+ role: Optional[pulumi.Input[str]] = None,
286
+ timeouts: Optional[pulumi.Input[pulumi.InputType['OrganizationGroupProjectTimeoutsArgs']]] = None) -> 'OrganizationGroupProject':
287
+ """
288
+ Get an existing OrganizationGroupProject resource's state with the given name, id, and optional extra
289
+ properties used to qualify the lookup.
290
+
291
+ :param str resource_name: The unique name of the resulting resource.
292
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
293
+ :param pulumi.ResourceOptions opts: Options for the resource.
294
+ :param pulumi.Input[str] group_id: The ID of the user group.
295
+ :param pulumi.Input[str] project: The project that the users in the group are members of.
296
+ :param pulumi.Input[str] role: Role assigned to all users in the group for the project.
297
+ """
298
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
299
+
300
+ __props__ = _OrganizationGroupProjectState.__new__(_OrganizationGroupProjectState)
301
+
302
+ __props__.__dict__["group_id"] = group_id
303
+ __props__.__dict__["project"] = project
304
+ __props__.__dict__["role"] = role
305
+ __props__.__dict__["timeouts"] = timeouts
306
+ return OrganizationGroupProject(resource_name, opts=opts, __props__=__props__)
307
+
308
+ @property
309
+ @pulumi.getter(name="groupId")
310
+ def group_id(self) -> pulumi.Output[str]:
311
+ """
312
+ The ID of the user group.
313
+ """
314
+ return pulumi.get(self, "group_id")
315
+
316
+ @property
317
+ @pulumi.getter
318
+ def project(self) -> pulumi.Output[str]:
319
+ """
320
+ The project that the users in the group are members of.
321
+ """
322
+ return pulumi.get(self, "project")
323
+
324
+ @property
325
+ @pulumi.getter
326
+ def role(self) -> pulumi.Output[str]:
327
+ """
328
+ Role assigned to all users in the group for the project.
329
+ """
330
+ return pulumi.get(self, "role")
331
+
332
+ @property
333
+ @pulumi.getter
334
+ def timeouts(self) -> pulumi.Output[Optional['outputs.OrganizationGroupProjectTimeouts']]:
335
+ return pulumi.get(self, "timeouts")
336
+
@@ -18,8 +18,8 @@ class OrganizationUserArgs:
18
18
  user_email: pulumi.Input[str]):
19
19
  """
20
20
  The set of arguments for constructing a OrganizationUser resource.
21
- :param pulumi.Input[str] organization_id: The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
22
- :param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
21
+ :param pulumi.Input[str] organization_id: The unique organization ID. Changing this property forces recreation of the resource.
22
+ :param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
23
23
  """
24
24
  pulumi.set(__self__, "organization_id", organization_id)
25
25
  pulumi.set(__self__, "user_email", user_email)
@@ -28,7 +28,7 @@ class OrganizationUserArgs:
28
28
  @pulumi.getter(name="organizationId")
29
29
  def organization_id(self) -> pulumi.Input[str]:
30
30
  """
31
- The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
31
+ The unique organization ID. Changing this property forces recreation of the resource.
32
32
  """
33
33
  return pulumi.get(self, "organization_id")
34
34
 
@@ -40,7 +40,7 @@ class OrganizationUserArgs:
40
40
  @pulumi.getter(name="userEmail")
41
41
  def user_email(self) -> pulumi.Input[str]:
42
42
  """
43
- This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
43
+ This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
44
44
  """
45
45
  return pulumi.get(self, "user_email")
46
46
 
@@ -63,8 +63,8 @@ class _OrganizationUserState:
63
63
  :param pulumi.Input[bool] accepted: This 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 organization.
64
64
  :param pulumi.Input[str] create_time: Time of creation
65
65
  :param pulumi.Input[str] invited_by: The email address of the user who sent an invitation to the user.
66
- :param pulumi.Input[str] organization_id: The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
67
- :param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
66
+ :param pulumi.Input[str] organization_id: The unique organization ID. Changing this property forces recreation of the resource.
67
+ :param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
68
68
  :param pulumi.Input[str] user_id: The unique organization user ID
69
69
  """
70
70
  if accepted is not None:
@@ -132,7 +132,7 @@ class _OrganizationUserState:
132
132
  @pulumi.getter(name="organizationId")
133
133
  def organization_id(self) -> Optional[pulumi.Input[str]]:
134
134
  """
135
- The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
135
+ The unique organization ID. Changing this property forces recreation of the resource.
136
136
  """
137
137
  return pulumi.get(self, "organization_id")
138
138
 
@@ -144,7 +144,7 @@ class _OrganizationUserState:
144
144
  @pulumi.getter(name="userEmail")
145
145
  def user_email(self) -> Optional[pulumi.Input[str]]:
146
146
  """
147
- This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
147
+ This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
148
148
  """
149
149
  return pulumi.get(self, "user_email")
150
150
 
@@ -174,20 +174,11 @@ class OrganizationUser(pulumi.CustomResource):
174
174
  user_email: Optional[pulumi.Input[str]] = None,
175
175
  __props__=None):
176
176
  """
177
- **This resource is deprecated**. Use the OrganizationUser data source instead.
178
-
179
- The organization user resource allows the creation and management of an Aiven organization user.
180
-
181
- During the creation of `OrganizationUser`resource, an email invitation will be sent
182
- to a user using `user_email` address. If the user accepts an invitation, they will become
183
- a member of the organization. The deletion of `OrganizationUser` will not only
184
- delete the invitation if one was sent but not yet accepted by the user, it will also
185
- eliminate the member from the organization if one has accepted an invitation previously.
186
-
177
+ Create a OrganizationUser resource with the given unique name, props, and options.
187
178
  :param str resource_name: The name of the resource.
188
179
  :param pulumi.ResourceOptions opts: Options for the resource.
189
- :param pulumi.Input[str] organization_id: The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
190
- :param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
180
+ :param pulumi.Input[str] organization_id: The unique organization ID. Changing this property forces recreation of the resource.
181
+ :param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
191
182
  """
192
183
  ...
193
184
  @overload
@@ -196,16 +187,7 @@ class OrganizationUser(pulumi.CustomResource):
196
187
  args: OrganizationUserArgs,
197
188
  opts: Optional[pulumi.ResourceOptions] = None):
198
189
  """
199
- **This resource is deprecated**. Use the OrganizationUser data source instead.
200
-
201
- The organization user resource allows the creation and management of an Aiven organization user.
202
-
203
- During the creation of `OrganizationUser`resource, an email invitation will be sent
204
- to a user using `user_email` address. If the user accepts an invitation, they will become
205
- a member of the organization. The deletion of `OrganizationUser` will not only
206
- delete the invitation if one was sent but not yet accepted by the user, it will also
207
- eliminate the member from the organization if one has accepted an invitation previously.
208
-
190
+ Create a OrganizationUser resource with the given unique name, props, and options.
209
191
  :param str resource_name: The name of the resource.
210
192
  :param OrganizationUserArgs args: The arguments to use to populate this resource's properties.
211
193
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -268,8 +250,8 @@ class OrganizationUser(pulumi.CustomResource):
268
250
  :param pulumi.Input[bool] accepted: This 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 organization.
269
251
  :param pulumi.Input[str] create_time: Time of creation
270
252
  :param pulumi.Input[str] invited_by: The email address of the user who sent an invitation to the user.
271
- :param pulumi.Input[str] organization_id: The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
272
- :param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
253
+ :param pulumi.Input[str] organization_id: The unique organization ID. Changing this property forces recreation of the resource.
254
+ :param pulumi.Input[str] user_email: This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
273
255
  :param pulumi.Input[str] user_id: The unique organization user ID
274
256
  """
275
257
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -318,7 +300,7 @@ class OrganizationUser(pulumi.CustomResource):
318
300
  @pulumi.getter(name="organizationId")
319
301
  def organization_id(self) -> pulumi.Output[str]:
320
302
  """
321
- The unique organization ID. This property cannot be changed, doing so forces recreation of the resource.
303
+ The unique organization ID. Changing this property forces recreation of the resource.
322
304
  """
323
305
  return pulumi.get(self, "organization_id")
324
306
 
@@ -326,7 +308,7 @@ class OrganizationUser(pulumi.CustomResource):
326
308
  @pulumi.getter(name="userEmail")
327
309
  def user_email(self) -> pulumi.Output[str]:
328
310
  """
329
- This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
311
+ This is a user email address that first will be invited, and after accepting an invitation, they become a member of the organization. Should be lowercase. Changing this property forces recreation of the resource.
330
312
  """
331
313
  return pulumi.get(self, "user_email")
332
314
 
@@ -19,9 +19,9 @@ class OrganizationUserGroupArgs:
19
19
  name: Optional[pulumi.Input[str]] = None):
20
20
  """
21
21
  The set of arguments for constructing a OrganizationUserGroup resource.
22
- :param pulumi.Input[str] description: The description of the user group. This property cannot be changed, doing so forces recreation of the resource.
23
- :param pulumi.Input[str] organization_id: The ID of the organization. This property cannot be changed, doing so forces recreation of the resource.
24
- :param pulumi.Input[str] name: The name of the user group. This property cannot be changed, doing so forces recreation of the resource.
22
+ :param pulumi.Input[str] description: The description of the user group. Changing this property forces recreation of the resource.
23
+ :param pulumi.Input[str] organization_id: The ID of the organization. Changing this property forces recreation of the resource.
24
+ :param pulumi.Input[str] name: The name of the user group. Changing this property forces recreation of the resource.
25
25
  """
26
26
  pulumi.set(__self__, "description", description)
27
27
  pulumi.set(__self__, "organization_id", organization_id)
@@ -32,7 +32,7 @@ class OrganizationUserGroupArgs:
32
32
  @pulumi.getter
33
33
  def description(self) -> pulumi.Input[str]:
34
34
  """
35
- The description of the user group. This property cannot be changed, doing so forces recreation of the resource.
35
+ The description of the user group. Changing this property forces recreation of the resource.
36
36
  """
37
37
  return pulumi.get(self, "description")
38
38
 
@@ -44,7 +44,7 @@ class OrganizationUserGroupArgs:
44
44
  @pulumi.getter(name="organizationId")
45
45
  def organization_id(self) -> pulumi.Input[str]:
46
46
  """
47
- The ID of the organization. This property cannot be changed, doing so forces recreation of the resource.
47
+ The ID of the organization. Changing this property forces recreation of the resource.
48
48
  """
49
49
  return pulumi.get(self, "organization_id")
50
50
 
@@ -56,7 +56,7 @@ class OrganizationUserGroupArgs:
56
56
  @pulumi.getter
57
57
  def name(self) -> Optional[pulumi.Input[str]]:
58
58
  """
59
- The name of the user group. This property cannot be changed, doing so forces recreation of the resource.
59
+ The name of the user group. Changing this property forces recreation of the resource.
60
60
  """
61
61
  return pulumi.get(self, "name")
62
62
 
@@ -77,10 +77,10 @@ class _OrganizationUserGroupState:
77
77
  """
78
78
  Input properties used for looking up and filtering OrganizationUserGroup resources.
79
79
  :param pulumi.Input[str] create_time: Time of creation.
80
- :param pulumi.Input[str] description: The description of the user group. This property cannot be changed, doing so forces recreation of the resource.
80
+ :param pulumi.Input[str] description: The description of the user group. Changing this property forces recreation of the resource.
81
81
  :param pulumi.Input[str] group_id: The ID of the user group.
82
- :param pulumi.Input[str] name: The name of the user group. This property cannot be changed, doing so forces recreation of the resource.
83
- :param pulumi.Input[str] organization_id: The ID of the organization. This property cannot be changed, doing so forces recreation of the resource.
82
+ :param pulumi.Input[str] name: The name of the user group. Changing this property forces recreation of the resource.
83
+ :param pulumi.Input[str] organization_id: The ID of the organization. Changing this property forces recreation of the resource.
84
84
  :param pulumi.Input[str] update_time: Time of last update.
85
85
  """
86
86
  if create_time is not None:
@@ -112,7 +112,7 @@ class _OrganizationUserGroupState:
112
112
  @pulumi.getter
113
113
  def description(self) -> Optional[pulumi.Input[str]]:
114
114
  """
115
- The description of the user group. This property cannot be changed, doing so forces recreation of the resource.
115
+ The description of the user group. Changing this property forces recreation of the resource.
116
116
  """
117
117
  return pulumi.get(self, "description")
118
118
 
@@ -136,7 +136,7 @@ class _OrganizationUserGroupState:
136
136
  @pulumi.getter
137
137
  def name(self) -> Optional[pulumi.Input[str]]:
138
138
  """
139
- The name of the user group. This property cannot be changed, doing so forces recreation of the resource.
139
+ The name of the user group. Changing this property forces recreation of the resource.
140
140
  """
141
141
  return pulumi.get(self, "name")
142
142
 
@@ -148,7 +148,7 @@ class _OrganizationUserGroupState:
148
148
  @pulumi.getter(name="organizationId")
149
149
  def organization_id(self) -> Optional[pulumi.Input[str]]:
150
150
  """
151
- The ID of the organization. This property cannot be changed, doing so forces recreation of the resource.
151
+ The ID of the organization. Changing this property forces recreation of the resource.
152
152
  """
153
153
  return pulumi.get(self, "organization_id")
154
154
 
@@ -179,13 +179,31 @@ class OrganizationUserGroup(pulumi.CustomResource):
179
179
  organization_id: Optional[pulumi.Input[str]] = None,
180
180
  __props__=None):
181
181
  """
182
- Creates and manages a user group in an organization.
182
+ Creates and manages a [user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) in an organization.
183
+
184
+ ## Example Usage
185
+
186
+ ```python
187
+ import pulumi
188
+ import pulumi_aiven as aiven
189
+
190
+ example = aiven.OrganizationUserGroup("example",
191
+ description="Example group of users.",
192
+ organization_id=main["id"],
193
+ name="Example group")
194
+ ```
195
+
196
+ ## Import
197
+
198
+ ```sh
199
+ $ pulumi import aiven:index/organizationUserGroup:OrganizationUserGroup example ORGANIZATION_ID/USER_GROUP_ID
200
+ ```
183
201
 
184
202
  :param str resource_name: The name of the resource.
185
203
  :param pulumi.ResourceOptions opts: Options for the resource.
186
- :param pulumi.Input[str] description: The description of the user group. This property cannot be changed, doing so forces recreation of the resource.
187
- :param pulumi.Input[str] name: The name of the user group. This property cannot be changed, doing so forces recreation of the resource.
188
- :param pulumi.Input[str] organization_id: The ID of the organization. This property cannot be changed, doing so forces recreation of the resource.
204
+ :param pulumi.Input[str] description: The description of the user group. Changing this property forces recreation of the resource.
205
+ :param pulumi.Input[str] name: The name of the user group. Changing this property forces recreation of the resource.
206
+ :param pulumi.Input[str] organization_id: The ID of the organization. Changing this property forces recreation of the resource.
189
207
  """
190
208
  ...
191
209
  @overload
@@ -194,7 +212,25 @@ class OrganizationUserGroup(pulumi.CustomResource):
194
212
  args: OrganizationUserGroupArgs,
195
213
  opts: Optional[pulumi.ResourceOptions] = None):
196
214
  """
197
- Creates and manages a user group in an organization.
215
+ Creates and manages a [user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) in an organization.
216
+
217
+ ## Example Usage
218
+
219
+ ```python
220
+ import pulumi
221
+ import pulumi_aiven as aiven
222
+
223
+ example = aiven.OrganizationUserGroup("example",
224
+ description="Example group of users.",
225
+ organization_id=main["id"],
226
+ name="Example group")
227
+ ```
228
+
229
+ ## Import
230
+
231
+ ```sh
232
+ $ pulumi import aiven:index/organizationUserGroup:OrganizationUserGroup example ORGANIZATION_ID/USER_GROUP_ID
233
+ ```
198
234
 
199
235
  :param str resource_name: The name of the resource.
200
236
  :param OrganizationUserGroupArgs args: The arguments to use to populate this resource's properties.
@@ -257,10 +293,10 @@ class OrganizationUserGroup(pulumi.CustomResource):
257
293
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
258
294
  :param pulumi.ResourceOptions opts: Options for the resource.
259
295
  :param pulumi.Input[str] create_time: Time of creation.
260
- :param pulumi.Input[str] description: The description of the user group. This property cannot be changed, doing so forces recreation of the resource.
296
+ :param pulumi.Input[str] description: The description of the user group. Changing this property forces recreation of the resource.
261
297
  :param pulumi.Input[str] group_id: The ID of the user group.
262
- :param pulumi.Input[str] name: The name of the user group. This property cannot be changed, doing so forces recreation of the resource.
263
- :param pulumi.Input[str] organization_id: The ID of the organization. This property cannot be changed, doing so forces recreation of the resource.
298
+ :param pulumi.Input[str] name: The name of the user group. Changing this property forces recreation of the resource.
299
+ :param pulumi.Input[str] organization_id: The ID of the organization. Changing this property forces recreation of the resource.
264
300
  :param pulumi.Input[str] update_time: Time of last update.
265
301
  """
266
302
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -287,7 +323,7 @@ class OrganizationUserGroup(pulumi.CustomResource):
287
323
  @pulumi.getter
288
324
  def description(self) -> pulumi.Output[str]:
289
325
  """
290
- The description of the user group. This property cannot be changed, doing so forces recreation of the resource.
326
+ The description of the user group. Changing this property forces recreation of the resource.
291
327
  """
292
328
  return pulumi.get(self, "description")
293
329
 
@@ -303,7 +339,7 @@ class OrganizationUserGroup(pulumi.CustomResource):
303
339
  @pulumi.getter
304
340
  def name(self) -> pulumi.Output[str]:
305
341
  """
306
- The name of the user group. This property cannot be changed, doing so forces recreation of the resource.
342
+ The name of the user group. Changing this property forces recreation of the resource.
307
343
  """
308
344
  return pulumi.get(self, "name")
309
345
 
@@ -311,7 +347,7 @@ class OrganizationUserGroup(pulumi.CustomResource):
311
347
  @pulumi.getter(name="organizationId")
312
348
  def organization_id(self) -> pulumi.Output[str]:
313
349
  """
314
- The ID of the organization. This property cannot be changed, doing so forces recreation of the resource.
350
+ The ID of the organization. Changing this property forces recreation of the resource.
315
351
  """
316
352
  return pulumi.get(self, "organization_id")
317
353