pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711516617__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.
- pulumi_aiven/_inputs.py +262 -200
- pulumi_aiven/account.py +6 -2
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +10 -6
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +22 -18
- pulumi_aiven/aws_vpc_peering_connection.py +12 -8
- pulumi_aiven/azure_privatelink.py +22 -18
- pulumi_aiven/azure_privatelink_connection_approval.py +14 -112
- pulumi_aiven/azure_vpc_peering_connection.py +10 -6
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +57 -25
- pulumi_aiven/cassandra_user.py +22 -18
- pulumi_aiven/clickhouse.py +57 -25
- pulumi_aiven/clickhouse_database.py +26 -24
- pulumi_aiven/clickhouse_grant.py +37 -35
- pulumi_aiven/clickhouse_role.py +20 -16
- pulumi_aiven/clickhouse_user.py +22 -18
- pulumi_aiven/connection_pool.py +28 -24
- pulumi_aiven/dragonfly.py +263 -124
- pulumi_aiven/flink.py +36 -32
- pulumi_aiven/flink_application.py +24 -22
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +14 -96
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +8 -4
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_aws_privatelink.py +14 -10
- pulumi_aiven/get_aws_vpc_peering_connection.py +10 -6
- pulumi_aiven/get_azure_privatelink.py +14 -10
- pulumi_aiven/get_azure_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +24 -7
- pulumi_aiven/get_cassandra.py +24 -7
- pulumi_aiven/get_cassandra_user.py +14 -10
- pulumi_aiven/get_clickhouse.py +24 -7
- pulumi_aiven/get_clickhouse_database.py +14 -10
- pulumi_aiven/get_clickhouse_user.py +14 -10
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +20 -27
- pulumi_aiven/get_flink.py +10 -6
- pulumi_aiven/get_flink_application.py +12 -8
- pulumi_aiven/get_flink_application_version.py +12 -8
- pulumi_aiven/get_gcp_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_grafana.py +24 -7
- pulumi_aiven/get_kafka.py +17 -13
- pulumi_aiven/get_kafka_acl.py +14 -10
- pulumi_aiven/get_kafka_connect.py +24 -7
- pulumi_aiven/get_kafka_connector.py +14 -10
- pulumi_aiven/get_kafka_mirror_maker.py +24 -7
- pulumi_aiven/get_kafka_schema.py +14 -10
- pulumi_aiven/get_kafka_schema_configuration.py +14 -10
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +20 -16
- pulumi_aiven/get_kafka_user.py +14 -10
- pulumi_aiven/get_m3_aggregator.py +24 -7
- pulumi_aiven/get_m3_db.py +24 -7
- pulumi_aiven/get_m3db_user.py +14 -10
- pulumi_aiven/get_mirror_maker_replication_flow.py +18 -14
- pulumi_aiven/get_my_sql.py +24 -7
- pulumi_aiven/get_mysql_database.py +14 -10
- pulumi_aiven/get_mysql_user.py +14 -10
- pulumi_aiven/get_open_search.py +10 -6
- pulumi_aiven/get_open_search_acl_config.py +14 -10
- pulumi_aiven/get_open_search_acl_rule.py +14 -10
- pulumi_aiven/get_opensearch_security_plugin_config.py +14 -10
- pulumi_aiven/get_opensearch_user.py +14 -10
- pulumi_aiven/get_organization.py +4 -0
- pulumi_aiven/get_organization_user_group.py +6 -2
- pulumi_aiven/get_pg.py +10 -6
- pulumi_aiven/get_pg_database.py +14 -10
- pulumi_aiven/get_pg_user.py +14 -10
- pulumi_aiven/get_project.py +21 -17
- pulumi_aiven/get_project_user.py +13 -9
- pulumi_aiven/get_project_vpc.py +6 -2
- pulumi_aiven/get_redis.py +24 -7
- pulumi_aiven/get_redis_user.py +14 -10
- pulumi_aiven/get_service_component.py +8 -4
- pulumi_aiven/get_service_integration.py +33 -19
- pulumi_aiven/get_service_integration_endpoint.py +6 -2
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +6 -2
- pulumi_aiven/grafana.py +267 -82
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +54 -50
- pulumi_aiven/kafka_acl.py +24 -20
- pulumi_aiven/kafka_connect.py +267 -80
- pulumi_aiven/kafka_connector.py +30 -26
- pulumi_aiven/kafka_mirror_maker.py +267 -80
- pulumi_aiven/kafka_schema.py +22 -18
- pulumi_aiven/kafka_schema_configuration.py +24 -20
- pulumi_aiven/kafka_schema_registry_acl.py +14 -54
- pulumi_aiven/kafka_topic.py +46 -84
- pulumi_aiven/kafka_user.py +22 -18
- pulumi_aiven/m3_aggregator.py +267 -80
- pulumi_aiven/m3_db.py +267 -80
- pulumi_aiven/m3db_user.py +20 -16
- pulumi_aiven/mirror_maker_replication_flow.py +26 -22
- pulumi_aiven/my_sql.py +267 -80
- pulumi_aiven/mysql_database.py +24 -20
- pulumi_aiven/mysql_user.py +22 -18
- pulumi_aiven/open_search.py +31 -27
- pulumi_aiven/open_search_acl_config.py +36 -28
- pulumi_aiven/open_search_acl_rule.py +40 -36
- pulumi_aiven/opensearch_security_plugin_config.py +32 -28
- pulumi_aiven/opensearch_user.py +22 -18
- pulumi_aiven/organization.py +6 -2
- pulumi_aiven/organization_group_project.py +0 -46
- pulumi_aiven/organization_user.py +20 -2
- pulumi_aiven/organization_user_group.py +6 -4
- pulumi_aiven/organization_user_group_member.py +10 -8
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +390 -271
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +24 -20
- pulumi_aiven/pg_user.py +22 -18
- pulumi_aiven/project.py +79 -75
- pulumi_aiven/project_user.py +28 -24
- pulumi_aiven/project_vpc.py +7 -31
- pulumi_aiven/redis.py +267 -80
- pulumi_aiven/redis_user.py +22 -18
- pulumi_aiven/service_integration.py +58 -54
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +8 -4
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1711516617.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/top_level.txt +0 -0
pulumi_aiven/opensearch_user.py
CHANGED
|
@@ -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:
|
|
24
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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:
|
|
95
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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
|
-
|
|
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.
|
|
139
139
|
"""
|
|
140
140
|
return pulumi.get(self, "service_name")
|
|
141
141
|
|
|
@@ -183,28 +183,30 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
183
183
|
|
|
184
184
|
## Example Usage
|
|
185
185
|
|
|
186
|
+
<!--Start PulumiCodeChooser -->
|
|
186
187
|
```python
|
|
187
188
|
import pulumi
|
|
188
189
|
import pulumi_aiven as aiven
|
|
189
190
|
|
|
190
191
|
foo = aiven.OpensearchUser("foo",
|
|
191
|
-
service_name=bar["
|
|
192
|
+
service_name=aiven_opensearch["bar"]["service_name"],
|
|
192
193
|
project="my-project",
|
|
193
194
|
username="user-1",
|
|
194
195
|
password="Test$1234")
|
|
195
196
|
```
|
|
197
|
+
<!--End PulumiCodeChooser -->
|
|
196
198
|
|
|
197
199
|
## Import
|
|
198
200
|
|
|
199
201
|
```sh
|
|
200
|
-
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo
|
|
202
|
+
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo project/service_name/username
|
|
201
203
|
```
|
|
202
204
|
|
|
203
205
|
:param str resource_name: The name of the resource.
|
|
204
206
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
205
207
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
206
|
-
:param pulumi.Input[str] project:
|
|
207
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
208
210
|
: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.
|
|
209
211
|
"""
|
|
210
212
|
...
|
|
@@ -218,21 +220,23 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
218
220
|
|
|
219
221
|
## Example Usage
|
|
220
222
|
|
|
223
|
+
<!--Start PulumiCodeChooser -->
|
|
221
224
|
```python
|
|
222
225
|
import pulumi
|
|
223
226
|
import pulumi_aiven as aiven
|
|
224
227
|
|
|
225
228
|
foo = aiven.OpensearchUser("foo",
|
|
226
|
-
service_name=bar["
|
|
229
|
+
service_name=aiven_opensearch["bar"]["service_name"],
|
|
227
230
|
project="my-project",
|
|
228
231
|
username="user-1",
|
|
229
232
|
password="Test$1234")
|
|
230
233
|
```
|
|
234
|
+
<!--End PulumiCodeChooser -->
|
|
231
235
|
|
|
232
236
|
## Import
|
|
233
237
|
|
|
234
238
|
```sh
|
|
235
|
-
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo
|
|
239
|
+
$ pulumi import aiven:index/opensearchUser:OpensearchUser foo project/service_name/username
|
|
236
240
|
```
|
|
237
241
|
|
|
238
242
|
:param str resource_name: The name of the resource.
|
|
@@ -299,8 +303,8 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
299
303
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
300
304
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
301
305
|
:param pulumi.Input[str] password: The password of the OpenSearch User.
|
|
302
|
-
:param pulumi.Input[str] project:
|
|
303
|
-
:param pulumi.Input[str] service_name:
|
|
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.
|
|
304
308
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
305
309
|
: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.
|
|
306
310
|
"""
|
|
@@ -327,7 +331,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
327
331
|
@pulumi.getter
|
|
328
332
|
def project(self) -> pulumi.Output[str]:
|
|
329
333
|
"""
|
|
330
|
-
|
|
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.
|
|
331
335
|
"""
|
|
332
336
|
return pulumi.get(self, "project")
|
|
333
337
|
|
|
@@ -335,7 +339,7 @@ class OpensearchUser(pulumi.CustomResource):
|
|
|
335
339
|
@pulumi.getter(name="serviceName")
|
|
336
340
|
def service_name(self) -> pulumi.Output[str]:
|
|
337
341
|
"""
|
|
338
|
-
|
|
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.
|
|
339
343
|
"""
|
|
340
344
|
return pulumi.get(self, "service_name")
|
|
341
345
|
|
pulumi_aiven/organization.py
CHANGED
|
@@ -146,12 +146,14 @@ class Organization(pulumi.CustomResource):
|
|
|
146
146
|
|
|
147
147
|
## Example Usage
|
|
148
148
|
|
|
149
|
+
<!--Start PulumiCodeChooser -->
|
|
149
150
|
```python
|
|
150
151
|
import pulumi
|
|
151
152
|
import pulumi_aiven as aiven
|
|
152
153
|
|
|
153
|
-
main = aiven.Organization("main"
|
|
154
|
+
main = aiven.Organization("main")
|
|
154
155
|
```
|
|
156
|
+
<!--End PulumiCodeChooser -->
|
|
155
157
|
|
|
156
158
|
## Import
|
|
157
159
|
|
|
@@ -174,12 +176,14 @@ class Organization(pulumi.CustomResource):
|
|
|
174
176
|
|
|
175
177
|
## Example Usage
|
|
176
178
|
|
|
179
|
+
<!--Start PulumiCodeChooser -->
|
|
177
180
|
```python
|
|
178
181
|
import pulumi
|
|
179
182
|
import pulumi_aiven as aiven
|
|
180
183
|
|
|
181
|
-
main = aiven.Organization("main"
|
|
184
|
+
main = aiven.Organization("main")
|
|
182
185
|
```
|
|
186
|
+
<!--End PulumiCodeChooser -->
|
|
183
187
|
|
|
184
188
|
## Import
|
|
185
189
|
|
|
@@ -159,29 +159,6 @@ 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
|
-
|
|
185
162
|
## Import
|
|
186
163
|
|
|
187
164
|
```sh
|
|
@@ -203,29 +180,6 @@ class OrganizationGroupProject(pulumi.CustomResource):
|
|
|
203
180
|
"""
|
|
204
181
|
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
182
|
|
|
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
183
|
## Import
|
|
230
184
|
|
|
231
185
|
```sh
|
|
@@ -174,7 +174,16 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
174
174
|
user_email: Optional[pulumi.Input[str]] = None,
|
|
175
175
|
__props__=None):
|
|
176
176
|
"""
|
|
177
|
-
|
|
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
|
+
|
|
178
187
|
:param str resource_name: The name of the resource.
|
|
179
188
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
180
189
|
:param pulumi.Input[str] organization_id: The unique organization ID. Changing this property forces recreation of the resource.
|
|
@@ -187,7 +196,16 @@ class OrganizationUser(pulumi.CustomResource):
|
|
|
187
196
|
args: OrganizationUserArgs,
|
|
188
197
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
189
198
|
"""
|
|
190
|
-
|
|
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
|
+
|
|
191
209
|
:param str resource_name: The name of the resource.
|
|
192
210
|
:param OrganizationUserArgs args: The arguments to use to populate this resource's properties.
|
|
193
211
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -183,15 +183,16 @@ class OrganizationUserGroup(pulumi.CustomResource):
|
|
|
183
183
|
|
|
184
184
|
## Example Usage
|
|
185
185
|
|
|
186
|
+
<!--Start PulumiCodeChooser -->
|
|
186
187
|
```python
|
|
187
188
|
import pulumi
|
|
188
189
|
import pulumi_aiven as aiven
|
|
189
190
|
|
|
190
191
|
example = aiven.OrganizationUserGroup("example",
|
|
191
192
|
description="Example group of users.",
|
|
192
|
-
organization_id=main["id"]
|
|
193
|
-
name="Example group")
|
|
193
|
+
organization_id=aiven_organization["main"]["id"])
|
|
194
194
|
```
|
|
195
|
+
<!--End PulumiCodeChooser -->
|
|
195
196
|
|
|
196
197
|
## Import
|
|
197
198
|
|
|
@@ -216,15 +217,16 @@ class OrganizationUserGroup(pulumi.CustomResource):
|
|
|
216
217
|
|
|
217
218
|
## Example Usage
|
|
218
219
|
|
|
220
|
+
<!--Start PulumiCodeChooser -->
|
|
219
221
|
```python
|
|
220
222
|
import pulumi
|
|
221
223
|
import pulumi_aiven as aiven
|
|
222
224
|
|
|
223
225
|
example = aiven.OrganizationUserGroup("example",
|
|
224
226
|
description="Example group of users.",
|
|
225
|
-
organization_id=main["id"]
|
|
226
|
-
name="Example group")
|
|
227
|
+
organization_id=aiven_organization["main"]["id"])
|
|
227
228
|
```
|
|
229
|
+
<!--End PulumiCodeChooser -->
|
|
228
230
|
|
|
229
231
|
## Import
|
|
230
232
|
|
|
@@ -177,19 +177,20 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
|
|
|
177
177
|
|
|
178
178
|
## Example Usage
|
|
179
179
|
|
|
180
|
+
<!--Start PulumiCodeChooser -->
|
|
180
181
|
```python
|
|
181
182
|
import pulumi
|
|
182
183
|
import pulumi_aiven as aiven
|
|
183
184
|
|
|
184
185
|
example = aiven.OrganizationUserGroup("example",
|
|
185
186
|
description="Example group of users.",
|
|
186
|
-
organization_id=main["id"]
|
|
187
|
-
|
|
188
|
-
project_admin = aiven.OrganizationUserGroupMember("project_admin",
|
|
187
|
+
organization_id=aiven_organization["main"]["id"])
|
|
188
|
+
project_admin = aiven.OrganizationUserGroupMember("projectAdmin",
|
|
189
189
|
group_id=example.group_id,
|
|
190
|
-
organization_id=main["id"],
|
|
190
|
+
organization_id=aiven_organization["main"]["id"],
|
|
191
191
|
user_id="u123a456b7890c")
|
|
192
192
|
```
|
|
193
|
+
<!--End PulumiCodeChooser -->
|
|
193
194
|
|
|
194
195
|
## Import
|
|
195
196
|
|
|
@@ -214,19 +215,20 @@ class OrganizationUserGroupMember(pulumi.CustomResource):
|
|
|
214
215
|
|
|
215
216
|
## Example Usage
|
|
216
217
|
|
|
218
|
+
<!--Start PulumiCodeChooser -->
|
|
217
219
|
```python
|
|
218
220
|
import pulumi
|
|
219
221
|
import pulumi_aiven as aiven
|
|
220
222
|
|
|
221
223
|
example = aiven.OrganizationUserGroup("example",
|
|
222
224
|
description="Example group of users.",
|
|
223
|
-
organization_id=main["id"]
|
|
224
|
-
|
|
225
|
-
project_admin = aiven.OrganizationUserGroupMember("project_admin",
|
|
225
|
+
organization_id=aiven_organization["main"]["id"])
|
|
226
|
+
project_admin = aiven.OrganizationUserGroupMember("projectAdmin",
|
|
226
227
|
group_id=example.group_id,
|
|
227
|
-
organization_id=main["id"],
|
|
228
|
+
organization_id=aiven_organization["main"]["id"],
|
|
228
229
|
user_id="u123a456b7890c")
|
|
229
230
|
```
|
|
231
|
+
<!--End PulumiCodeChooser -->
|
|
230
232
|
|
|
231
233
|
## Import
|
|
232
234
|
|
|
@@ -151,14 +151,14 @@ class OrganizationalUnit(pulumi.CustomResource):
|
|
|
151
151
|
|
|
152
152
|
## Example Usage
|
|
153
153
|
|
|
154
|
+
<!--Start PulumiCodeChooser -->
|
|
154
155
|
```python
|
|
155
156
|
import pulumi
|
|
156
157
|
import pulumi_aiven as aiven
|
|
157
158
|
|
|
158
|
-
example_unit = aiven.OrganizationalUnit("
|
|
159
|
-
name="Example organizational unit",
|
|
160
|
-
parent_id=main["id"])
|
|
159
|
+
example_unit = aiven.OrganizationalUnit("exampleUnit", parent_id=aiven_organization["main"]["id"])
|
|
161
160
|
```
|
|
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 -->
|
|
185
186
|
```python
|
|
186
187
|
import pulumi
|
|
187
188
|
import pulumi_aiven as aiven
|
|
188
189
|
|
|
189
|
-
example_unit = aiven.OrganizationalUnit("
|
|
190
|
-
name="Example organizational unit",
|
|
191
|
-
parent_id=main["id"])
|
|
190
|
+
example_unit = aiven.OrganizationalUnit("exampleUnit", parent_id=aiven_organization["main"]["id"])
|
|
192
191
|
```
|
|
192
|
+
<!--End PulumiCodeChooser -->
|
|
193
193
|
|
|
194
194
|
## Import
|
|
195
195
|
|