pulumi-aiven 6.13.0a1711361534__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 (132) hide show
  1. pulumi_aiven/_inputs.py +200 -262
  2. pulumi_aiven/account.py +2 -6
  3. pulumi_aiven/account_authentication.py +2 -2
  4. pulumi_aiven/account_team.py +6 -6
  5. pulumi_aiven/account_team_member.py +6 -10
  6. pulumi_aiven/account_team_project.py +12 -12
  7. pulumi_aiven/aws_privatelink.py +18 -22
  8. pulumi_aiven/aws_vpc_peering_connection.py +8 -12
  9. pulumi_aiven/azure_privatelink.py +18 -22
  10. pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
  11. pulumi_aiven/azure_vpc_peering_connection.py +6 -10
  12. pulumi_aiven/billing_group.py +18 -18
  13. pulumi_aiven/cassandra.py +25 -57
  14. pulumi_aiven/cassandra_user.py +18 -22
  15. pulumi_aiven/clickhouse.py +25 -57
  16. pulumi_aiven/clickhouse_database.py +24 -26
  17. pulumi_aiven/clickhouse_grant.py +35 -37
  18. pulumi_aiven/clickhouse_role.py +16 -20
  19. pulumi_aiven/clickhouse_user.py +18 -22
  20. pulumi_aiven/connection_pool.py +24 -28
  21. pulumi_aiven/dragonfly.py +124 -263
  22. pulumi_aiven/flink.py +32 -36
  23. pulumi_aiven/flink_application.py +22 -24
  24. pulumi_aiven/flink_application_deployment.py +21 -21
  25. pulumi_aiven/flink_application_version.py +96 -14
  26. pulumi_aiven/gcp_privatelink.py +21 -21
  27. pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
  28. pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
  29. pulumi_aiven/get_account.py +0 -4
  30. pulumi_aiven/get_aws_privatelink.py +10 -14
  31. pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
  32. pulumi_aiven/get_azure_privatelink.py +10 -14
  33. pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
  34. pulumi_aiven/get_billing_group.py +2 -2
  35. pulumi_aiven/get_cassanda.py +7 -24
  36. pulumi_aiven/get_cassandra.py +7 -24
  37. pulumi_aiven/get_cassandra_user.py +10 -14
  38. pulumi_aiven/get_clickhouse.py +7 -24
  39. pulumi_aiven/get_clickhouse_database.py +10 -14
  40. pulumi_aiven/get_clickhouse_user.py +10 -14
  41. pulumi_aiven/get_connection_pool.py +10 -14
  42. pulumi_aiven/get_dragonfly.py +27 -20
  43. pulumi_aiven/get_flink.py +6 -10
  44. pulumi_aiven/get_flink_application.py +8 -12
  45. pulumi_aiven/get_flink_application_version.py +8 -12
  46. pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
  47. pulumi_aiven/get_grafana.py +7 -24
  48. pulumi_aiven/get_kafka.py +13 -17
  49. pulumi_aiven/get_kafka_acl.py +10 -14
  50. pulumi_aiven/get_kafka_connect.py +7 -24
  51. pulumi_aiven/get_kafka_connector.py +10 -14
  52. pulumi_aiven/get_kafka_mirror_maker.py +7 -24
  53. pulumi_aiven/get_kafka_schema.py +10 -14
  54. pulumi_aiven/get_kafka_schema_configuration.py +10 -14
  55. pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
  56. pulumi_aiven/get_kafka_topic.py +16 -20
  57. pulumi_aiven/get_kafka_user.py +10 -14
  58. pulumi_aiven/get_m3_aggregator.py +7 -24
  59. pulumi_aiven/get_m3_db.py +7 -24
  60. pulumi_aiven/get_m3db_user.py +10 -14
  61. pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
  62. pulumi_aiven/get_my_sql.py +7 -24
  63. pulumi_aiven/get_mysql_database.py +10 -14
  64. pulumi_aiven/get_mysql_user.py +10 -14
  65. pulumi_aiven/get_open_search.py +6 -10
  66. pulumi_aiven/get_open_search_acl_config.py +10 -14
  67. pulumi_aiven/get_open_search_acl_rule.py +10 -14
  68. pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
  69. pulumi_aiven/get_opensearch_user.py +10 -14
  70. pulumi_aiven/get_organization.py +0 -4
  71. pulumi_aiven/get_organization_user_group.py +2 -6
  72. pulumi_aiven/get_pg.py +6 -10
  73. pulumi_aiven/get_pg_database.py +10 -14
  74. pulumi_aiven/get_pg_user.py +10 -14
  75. pulumi_aiven/get_project.py +17 -21
  76. pulumi_aiven/get_project_user.py +9 -13
  77. pulumi_aiven/get_project_vpc.py +2 -6
  78. pulumi_aiven/get_redis.py +7 -24
  79. pulumi_aiven/get_redis_user.py +10 -14
  80. pulumi_aiven/get_service_component.py +4 -8
  81. pulumi_aiven/get_service_integration.py +19 -33
  82. pulumi_aiven/get_service_integration_endpoint.py +2 -6
  83. pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
  84. pulumi_aiven/grafana.py +82 -267
  85. pulumi_aiven/influx_db.py +21 -21
  86. pulumi_aiven/influxdb_database.py +21 -21
  87. pulumi_aiven/influxdb_user.py +21 -21
  88. pulumi_aiven/kafka.py +50 -54
  89. pulumi_aiven/kafka_acl.py +20 -24
  90. pulumi_aiven/kafka_connect.py +80 -267
  91. pulumi_aiven/kafka_connector.py +26 -30
  92. pulumi_aiven/kafka_mirror_maker.py +80 -267
  93. pulumi_aiven/kafka_schema.py +18 -22
  94. pulumi_aiven/kafka_schema_configuration.py +20 -24
  95. pulumi_aiven/kafka_schema_registry_acl.py +54 -14
  96. pulumi_aiven/kafka_topic.py +84 -46
  97. pulumi_aiven/kafka_user.py +18 -22
  98. pulumi_aiven/m3_aggregator.py +80 -267
  99. pulumi_aiven/m3_db.py +80 -267
  100. pulumi_aiven/m3db_user.py +16 -20
  101. pulumi_aiven/mirror_maker_replication_flow.py +22 -26
  102. pulumi_aiven/my_sql.py +80 -267
  103. pulumi_aiven/mysql_database.py +20 -24
  104. pulumi_aiven/mysql_user.py +18 -22
  105. pulumi_aiven/open_search.py +27 -31
  106. pulumi_aiven/open_search_acl_config.py +28 -36
  107. pulumi_aiven/open_search_acl_rule.py +36 -40
  108. pulumi_aiven/opensearch_security_plugin_config.py +28 -32
  109. pulumi_aiven/opensearch_user.py +18 -22
  110. pulumi_aiven/organization.py +2 -6
  111. pulumi_aiven/organization_group_project.py +46 -0
  112. pulumi_aiven/organization_user.py +2 -20
  113. pulumi_aiven/organization_user_group.py +4 -6
  114. pulumi_aiven/organization_user_group_member.py +8 -10
  115. pulumi_aiven/organizational_unit.py +6 -6
  116. pulumi_aiven/outputs.py +271 -390
  117. pulumi_aiven/pg.py +30 -30
  118. pulumi_aiven/pg_database.py +20 -24
  119. pulumi_aiven/pg_user.py +18 -22
  120. pulumi_aiven/project.py +75 -79
  121. pulumi_aiven/project_user.py +24 -28
  122. pulumi_aiven/project_vpc.py +31 -7
  123. pulumi_aiven/redis.py +80 -267
  124. pulumi_aiven/redis_user.py +18 -22
  125. pulumi_aiven/service_integration.py +54 -58
  126. pulumi_aiven/static_ip.py +7 -7
  127. pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
  128. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
  129. pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
  130. pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +0 -150
  131. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
  132. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
@@ -20,8 +20,8 @@ class OpensearchUserArgs:
20
20
  password: Optional[pulumi.Input[str]] = None):
21
21
  """
22
22
  The set of arguments for constructing a OpensearchUser resource.
23
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
24
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
23
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
24
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
25
25
  :param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
26
26
  :param pulumi.Input[str] password: The password of the OpenSearch User.
27
27
  """
@@ -35,7 +35,7 @@ class OpensearchUserArgs:
35
35
  @pulumi.getter
36
36
  def project(self) -> pulumi.Input[str]:
37
37
  """
38
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
38
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
39
39
  """
40
40
  return pulumi.get(self, "project")
41
41
 
@@ -47,7 +47,7 @@ class OpensearchUserArgs:
47
47
  @pulumi.getter(name="serviceName")
48
48
  def service_name(self) -> pulumi.Input[str]:
49
49
  """
50
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
50
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
51
51
  """
52
52
  return pulumi.get(self, "service_name")
53
53
 
@@ -91,8 +91,8 @@ class _OpensearchUserState:
91
91
  """
92
92
  Input properties used for looking up and filtering OpensearchUser resources.
93
93
  :param pulumi.Input[str] password: The password of the OpenSearch User.
94
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
95
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
94
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
95
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
96
96
  :param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
97
97
  :param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
98
98
  """
@@ -123,7 +123,7 @@ class _OpensearchUserState:
123
123
  @pulumi.getter
124
124
  def project(self) -> Optional[pulumi.Input[str]]:
125
125
  """
126
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
126
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
127
127
  """
128
128
  return pulumi.get(self, "project")
129
129
 
@@ -135,7 +135,7 @@ class _OpensearchUserState:
135
135
  @pulumi.getter(name="serviceName")
136
136
  def service_name(self) -> Optional[pulumi.Input[str]]:
137
137
  """
138
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
138
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
139
139
  """
140
140
  return pulumi.get(self, "service_name")
141
141
 
@@ -183,30 +183,28 @@ class OpensearchUser(pulumi.CustomResource):
183
183
 
184
184
  ## Example Usage
185
185
 
186
- <!--Start PulumiCodeChooser -->
187
186
  ```python
188
187
  import pulumi
189
188
  import pulumi_aiven as aiven
190
189
 
191
190
  foo = aiven.OpensearchUser("foo",
192
- service_name=aiven_opensearch["bar"]["service_name"],
191
+ service_name=bar["serviceName"],
193
192
  project="my-project",
194
193
  username="user-1",
195
194
  password="Test$1234")
196
195
  ```
197
- <!--End PulumiCodeChooser -->
198
196
 
199
197
  ## Import
200
198
 
201
199
  ```sh
202
- $ pulumi import aiven:index/opensearchUser:OpensearchUser foo project/service_name/username
200
+ $ pulumi import aiven:index/opensearchUser:OpensearchUser foo PROJECT/SERVICE_NAME/USERNAME
203
201
  ```
204
202
 
205
203
  :param str resource_name: The name of the resource.
206
204
  :param pulumi.ResourceOptions opts: Options for the resource.
207
205
  :param pulumi.Input[str] password: The password of the OpenSearch User.
208
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
209
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
206
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
207
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
210
208
  :param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
211
209
  """
212
210
  ...
@@ -220,23 +218,21 @@ class OpensearchUser(pulumi.CustomResource):
220
218
 
221
219
  ## Example Usage
222
220
 
223
- <!--Start PulumiCodeChooser -->
224
221
  ```python
225
222
  import pulumi
226
223
  import pulumi_aiven as aiven
227
224
 
228
225
  foo = aiven.OpensearchUser("foo",
229
- service_name=aiven_opensearch["bar"]["service_name"],
226
+ service_name=bar["serviceName"],
230
227
  project="my-project",
231
228
  username="user-1",
232
229
  password="Test$1234")
233
230
  ```
234
- <!--End PulumiCodeChooser -->
235
231
 
236
232
  ## Import
237
233
 
238
234
  ```sh
239
- $ pulumi import aiven:index/opensearchUser:OpensearchUser foo project/service_name/username
235
+ $ pulumi import aiven:index/opensearchUser:OpensearchUser foo PROJECT/SERVICE_NAME/USERNAME
240
236
  ```
241
237
 
242
238
  :param str resource_name: The name of the resource.
@@ -303,8 +299,8 @@ class OpensearchUser(pulumi.CustomResource):
303
299
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
304
300
  :param pulumi.ResourceOptions opts: Options for the resource.
305
301
  :param pulumi.Input[str] password: The password of the OpenSearch User.
306
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
307
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
302
+ :param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
303
+ :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
308
304
  :param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
309
305
  :param pulumi.Input[str] username: The actual name of the OpenSearch User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
310
306
  """
@@ -331,7 +327,7 @@ class OpensearchUser(pulumi.CustomResource):
331
327
  @pulumi.getter
332
328
  def project(self) -> pulumi.Output[str]:
333
329
  """
334
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
330
+ The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
335
331
  """
336
332
  return pulumi.get(self, "project")
337
333
 
@@ -339,7 +335,7 @@ class OpensearchUser(pulumi.CustomResource):
339
335
  @pulumi.getter(name="serviceName")
340
336
  def service_name(self) -> pulumi.Output[str]:
341
337
  """
342
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
338
+ The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
343
339
  """
344
340
  return pulumi.get(self, "service_name")
345
341
 
@@ -146,14 +146,12 @@ class Organization(pulumi.CustomResource):
146
146
 
147
147
  ## Example Usage
148
148
 
149
- <!--Start PulumiCodeChooser -->
150
149
  ```python
151
150
  import pulumi
152
151
  import pulumi_aiven as aiven
153
152
 
154
- main = aiven.Organization("main")
153
+ main = aiven.Organization("main", name="Example organization")
155
154
  ```
156
- <!--End PulumiCodeChooser -->
157
155
 
158
156
  ## Import
159
157
 
@@ -176,14 +174,12 @@ class Organization(pulumi.CustomResource):
176
174
 
177
175
  ## Example Usage
178
176
 
179
- <!--Start PulumiCodeChooser -->
180
177
  ```python
181
178
  import pulumi
182
179
  import pulumi_aiven as aiven
183
180
 
184
- main = aiven.Organization("main")
181
+ main = aiven.Organization("main", name="Example organization")
185
182
  ```
186
- <!--End PulumiCodeChooser -->
187
183
 
188
184
  ## Import
189
185
 
@@ -159,6 +159,29 @@ class OrganizationGroupProject(pulumi.CustomResource):
159
159
  """
160
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
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
+
162
185
  ## Import
163
186
 
164
187
  ```sh
@@ -180,6 +203,29 @@ class OrganizationGroupProject(pulumi.CustomResource):
180
203
  """
181
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).
182
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
+
183
229
  ## Import
184
230
 
185
231
  ```sh
@@ -174,16 +174,7 @@ 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
180
  :param pulumi.Input[str] organization_id: The unique organization ID. Changing this property forces recreation of the resource.
@@ -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.
@@ -183,16 +183,15 @@ class OrganizationUserGroup(pulumi.CustomResource):
183
183
 
184
184
  ## Example Usage
185
185
 
186
- <!--Start PulumiCodeChooser -->
187
186
  ```python
188
187
  import pulumi
189
188
  import pulumi_aiven as aiven
190
189
 
191
190
  example = aiven.OrganizationUserGroup("example",
192
191
  description="Example group of users.",
193
- organization_id=aiven_organization["main"]["id"])
192
+ organization_id=main["id"],
193
+ name="Example group")
194
194
  ```
195
- <!--End PulumiCodeChooser -->
196
195
 
197
196
  ## Import
198
197
 
@@ -217,16 +216,15 @@ class OrganizationUserGroup(pulumi.CustomResource):
217
216
 
218
217
  ## Example Usage
219
218
 
220
- <!--Start PulumiCodeChooser -->
221
219
  ```python
222
220
  import pulumi
223
221
  import pulumi_aiven as aiven
224
222
 
225
223
  example = aiven.OrganizationUserGroup("example",
226
224
  description="Example group of users.",
227
- organization_id=aiven_organization["main"]["id"])
225
+ organization_id=main["id"],
226
+ name="Example group")
228
227
  ```
229
- <!--End PulumiCodeChooser -->
230
228
 
231
229
  ## Import
232
230
 
@@ -177,20 +177,19 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
177
177
 
178
178
  ## Example Usage
179
179
 
180
- <!--Start PulumiCodeChooser -->
181
180
  ```python
182
181
  import pulumi
183
182
  import pulumi_aiven as aiven
184
183
 
185
184
  example = aiven.OrganizationUserGroup("example",
186
185
  description="Example group of users.",
187
- organization_id=aiven_organization["main"]["id"])
188
- project_admin = aiven.OrganizationUserGroupMember("projectAdmin",
186
+ organization_id=main["id"],
187
+ name="Example group")
188
+ project_admin = aiven.OrganizationUserGroupMember("project_admin",
189
189
  group_id=example.group_id,
190
- organization_id=aiven_organization["main"]["id"],
190
+ organization_id=main["id"],
191
191
  user_id="u123a456b7890c")
192
192
  ```
193
- <!--End PulumiCodeChooser -->
194
193
 
195
194
  ## Import
196
195
 
@@ -215,20 +214,19 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
215
214
 
216
215
  ## Example Usage
217
216
 
218
- <!--Start PulumiCodeChooser -->
219
217
  ```python
220
218
  import pulumi
221
219
  import pulumi_aiven as aiven
222
220
 
223
221
  example = aiven.OrganizationUserGroup("example",
224
222
  description="Example group of users.",
225
- organization_id=aiven_organization["main"]["id"])
226
- project_admin = aiven.OrganizationUserGroupMember("projectAdmin",
223
+ organization_id=main["id"],
224
+ name="Example group")
225
+ project_admin = aiven.OrganizationUserGroupMember("project_admin",
227
226
  group_id=example.group_id,
228
- organization_id=aiven_organization["main"]["id"],
227
+ organization_id=main["id"],
229
228
  user_id="u123a456b7890c")
230
229
  ```
231
- <!--End PulumiCodeChooser -->
232
230
 
233
231
  ## Import
234
232
 
@@ -151,14 +151,14 @@ class OrganizationalUnit(pulumi.CustomResource):
151
151
 
152
152
  ## Example Usage
153
153
 
154
- <!--Start PulumiCodeChooser -->
155
154
  ```python
156
155
  import pulumi
157
156
  import pulumi_aiven as aiven
158
157
 
159
- example_unit = aiven.OrganizationalUnit("exampleUnit", parent_id=aiven_organization["main"]["id"])
158
+ example_unit = aiven.OrganizationalUnit("example_unit",
159
+ name="Example organizational unit",
160
+ parent_id=main["id"])
160
161
  ```
161
- <!--End PulumiCodeChooser -->
162
162
 
163
163
  ## Import
164
164
 
@@ -182,14 +182,14 @@ class OrganizationalUnit(pulumi.CustomResource):
182
182
 
183
183
  ## Example Usage
184
184
 
185
- <!--Start PulumiCodeChooser -->
186
185
  ```python
187
186
  import pulumi
188
187
  import pulumi_aiven as aiven
189
188
 
190
- example_unit = aiven.OrganizationalUnit("exampleUnit", parent_id=aiven_organization["main"]["id"])
189
+ example_unit = aiven.OrganizationalUnit("example_unit",
190
+ name="Example organizational unit",
191
+ parent_id=main["id"])
191
192
  ```
192
- <!--End PulumiCodeChooser -->
193
193
 
194
194
  ## Import
195
195