pulumi-aiven 6.12.0a1708492523__py3-none-any.whl → 6.13.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.
- pulumi_aiven/__init__.py +28 -0
- pulumi_aiven/_inputs.py +2973 -1323
- pulumi_aiven/account.py +40 -32
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +36 -4
- pulumi_aiven/account_team_member.py +69 -35
- pulumi_aiven/account_team_project.py +52 -12
- pulumi_aiven/aws_privatelink.py +43 -39
- pulumi_aiven/aws_vpc_peering_connection.py +66 -52
- pulumi_aiven/azure_privatelink.py +53 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +33 -33
- pulumi_aiven/azure_vpc_peering_connection.py +80 -68
- pulumi_aiven/billing_group.py +6 -2
- pulumi_aiven/cassandra.py +17 -13
- pulumi_aiven/cassandra_user.py +27 -23
- pulumi_aiven/clickhouse.py +13 -9
- pulumi_aiven/clickhouse_database.py +27 -23
- pulumi_aiven/clickhouse_grant.py +46 -42
- pulumi_aiven/clickhouse_role.py +27 -23
- pulumi_aiven/clickhouse_user.py +27 -23
- pulumi_aiven/connection_pool.py +34 -30
- pulumi_aiven/dragonfly.py +1344 -0
- pulumi_aiven/flink.py +13 -9
- pulumi_aiven/flink_application.py +20 -16
- pulumi_aiven/flink_application_deployment.py +14 -14
- pulumi_aiven/flink_application_version.py +16 -16
- pulumi_aiven/gcp_privatelink.py +26 -26
- pulumi_aiven/gcp_privatelink_connection_approval.py +33 -33
- pulumi_aiven/gcp_vpc_peering_connection.py +41 -37
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +19 -15
- pulumi_aiven/get_aws_vpc_peering_connection.py +37 -23
- pulumi_aiven/get_azure_privatelink.py +21 -17
- pulumi_aiven/get_azure_vpc_peering_connection.py +58 -26
- pulumi_aiven/get_cassanda.py +7 -3
- pulumi_aiven/get_cassandra.py +7 -3
- pulumi_aiven/get_cassandra_user.py +13 -9
- pulumi_aiven/get_clickhouse.py +7 -3
- pulumi_aiven/get_clickhouse_database.py +13 -9
- pulumi_aiven/get_clickhouse_user.py +13 -9
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +443 -0
- pulumi_aiven/get_flink.py +7 -3
- pulumi_aiven/get_flink_application.py +10 -6
- pulumi_aiven/get_flink_application_version.py +10 -6
- pulumi_aiven/get_gcp_vpc_peering_connection.py +22 -18
- pulumi_aiven/get_grafana.py +7 -3
- pulumi_aiven/get_influx_db.py +2 -114
- pulumi_aiven/get_influxdb_database.py +2 -21
- pulumi_aiven/get_influxdb_user.py +2 -55
- pulumi_aiven/get_kafka.py +7 -3
- pulumi_aiven/get_kafka_acl.py +19 -15
- pulumi_aiven/get_kafka_connect.py +7 -3
- pulumi_aiven/get_kafka_connector.py +13 -9
- pulumi_aiven/get_kafka_mirror_maker.py +7 -3
- pulumi_aiven/get_kafka_schema.py +13 -9
- pulumi_aiven/get_kafka_schema_configuration.py +11 -7
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +13 -9
- pulumi_aiven/get_kafka_user.py +13 -9
- pulumi_aiven/get_m3_aggregator.py +7 -3
- pulumi_aiven/get_m3_db.py +7 -3
- pulumi_aiven/get_m3db_user.py +13 -9
- pulumi_aiven/get_mirror_maker_replication_flow.py +10 -6
- pulumi_aiven/get_my_sql.py +7 -3
- pulumi_aiven/get_mysql_database.py +13 -9
- pulumi_aiven/get_mysql_user.py +13 -9
- pulumi_aiven/get_open_search.py +7 -3
- pulumi_aiven/get_open_search_acl_config.py +10 -6
- pulumi_aiven/get_open_search_acl_rule.py +16 -12
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -6
- pulumi_aiven/get_opensearch_user.py +13 -9
- pulumi_aiven/get_organization.py +12 -8
- pulumi_aiven/get_organization_user_group.py +33 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +7 -3
- pulumi_aiven/get_pg_database.py +15 -11
- pulumi_aiven/get_pg_user.py +13 -9
- pulumi_aiven/get_project.py +4 -0
- pulumi_aiven/get_project_user.py +10 -6
- pulumi_aiven/get_project_vpc.py +15 -13
- pulumi_aiven/get_redis.py +7 -3
- pulumi_aiven/get_redis_user.py +17 -13
- pulumi_aiven/get_service_component.py +4 -0
- pulumi_aiven/get_service_integration.py +68 -6
- pulumi_aiven/get_service_integration_endpoint.py +5 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +13 -9
- pulumi_aiven/grafana.py +13 -9
- pulumi_aiven/influx_db.py +239 -138
- pulumi_aiven/influxdb_database.py +37 -25
- pulumi_aiven/influxdb_user.py +44 -63
- pulumi_aiven/kafka.py +19 -15
- pulumi_aiven/kafka_acl.py +41 -37
- pulumi_aiven/kafka_connect.py +13 -9
- pulumi_aiven/kafka_connector.py +29 -25
- pulumi_aiven/kafka_mirror_maker.py +13 -9
- pulumi_aiven/kafka_schema.py +53 -45
- pulumi_aiven/kafka_schema_configuration.py +20 -16
- pulumi_aiven/kafka_schema_registry_acl.py +35 -35
- pulumi_aiven/kafka_topic.py +23 -23
- pulumi_aiven/kafka_user.py +27 -23
- pulumi_aiven/m3_aggregator.py +13 -9
- pulumi_aiven/m3_db.py +13 -9
- pulumi_aiven/m3db_user.py +27 -23
- pulumi_aiven/mirror_maker_replication_flow.py +56 -50
- pulumi_aiven/my_sql.py +13 -9
- pulumi_aiven/mysql_database.py +27 -23
- pulumi_aiven/mysql_user.py +27 -23
- pulumi_aiven/open_search.py +17 -13
- pulumi_aiven/open_search_acl_config.py +20 -16
- pulumi_aiven/open_search_acl_rule.py +34 -30
- pulumi_aiven/opensearch_security_plugin_config.py +68 -16
- pulumi_aiven/opensearch_user.py +27 -23
- pulumi_aiven/organization.py +14 -10
- pulumi_aiven/organization_group_project.py +290 -0
- pulumi_aiven/organization_user.py +20 -18
- pulumi_aiven/organization_user_group.py +77 -38
- pulumi_aiven/organization_user_group_member.py +352 -0
- pulumi_aiven/organizational_unit.py +36 -32
- pulumi_aiven/outputs.py +4004 -1363
- pulumi_aiven/pg.py +16 -16
- pulumi_aiven/pg_database.py +41 -37
- pulumi_aiven/pg_user.py +27 -23
- pulumi_aiven/project.py +28 -2
- pulumi_aiven/project_user.py +20 -16
- pulumi_aiven/project_vpc.py +25 -25
- pulumi_aiven/redis.py +13 -9
- pulumi_aiven/redis_user.py +55 -51
- pulumi_aiven/service_integration.py +207 -15
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +27 -23
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.13.0.dist-info/RECORD +150 -0
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.12.0a1708492523.dist-info/RECORD +0 -146
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/account.py
CHANGED
|
@@ -24,8 +24,8 @@ class AccountArgs:
|
|
|
24
24
|
if name is not None:
|
|
25
25
|
pulumi.set(__self__, "name", name)
|
|
26
26
|
if primary_billing_group_id is not None:
|
|
27
|
-
warnings.warn("""The new
|
|
28
|
-
pulumi.log.warn("""primary_billing_group_id is deprecated: The new
|
|
27
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
28
|
+
pulumi.log.warn("""primary_billing_group_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
29
29
|
if primary_billing_group_id is not None:
|
|
30
30
|
pulumi.set(__self__, "primary_billing_group_id", primary_billing_group_id)
|
|
31
31
|
|
|
@@ -47,8 +47,8 @@ class AccountArgs:
|
|
|
47
47
|
"""
|
|
48
48
|
Billing group id
|
|
49
49
|
"""
|
|
50
|
-
warnings.warn("""The new
|
|
51
|
-
pulumi.log.warn("""primary_billing_group_id is deprecated: The new
|
|
50
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
51
|
+
pulumi.log.warn("""primary_billing_group_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
52
52
|
|
|
53
53
|
return pulumi.get(self, "primary_billing_group_id")
|
|
54
54
|
|
|
@@ -80,27 +80,27 @@ class _AccountState:
|
|
|
80
80
|
:param pulumi.Input[str] update_time: Time of last update
|
|
81
81
|
"""
|
|
82
82
|
if account_id is not None:
|
|
83
|
-
warnings.warn("""The new
|
|
84
|
-
pulumi.log.warn("""account_id is deprecated: The new
|
|
83
|
+
warnings.warn("""The new Organization resource won't have it, use the built-in ID field instead.""", DeprecationWarning)
|
|
84
|
+
pulumi.log.warn("""account_id is deprecated: The new Organization resource won't have it, use the built-in ID field instead.""")
|
|
85
85
|
if account_id is not None:
|
|
86
86
|
pulumi.set(__self__, "account_id", account_id)
|
|
87
87
|
if create_time is not None:
|
|
88
88
|
pulumi.set(__self__, "create_time", create_time)
|
|
89
89
|
if is_account_owner is not None:
|
|
90
|
-
warnings.warn("""The new
|
|
91
|
-
pulumi.log.warn("""is_account_owner is deprecated: The new
|
|
90
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
91
|
+
pulumi.log.warn("""is_account_owner is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
92
92
|
if is_account_owner is not None:
|
|
93
93
|
pulumi.set(__self__, "is_account_owner", is_account_owner)
|
|
94
94
|
if name is not None:
|
|
95
95
|
pulumi.set(__self__, "name", name)
|
|
96
96
|
if owner_team_id is not None:
|
|
97
|
-
warnings.warn("""The new
|
|
98
|
-
pulumi.log.warn("""owner_team_id is deprecated: The new
|
|
97
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
98
|
+
pulumi.log.warn("""owner_team_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
99
99
|
if owner_team_id is not None:
|
|
100
100
|
pulumi.set(__self__, "owner_team_id", owner_team_id)
|
|
101
101
|
if primary_billing_group_id is not None:
|
|
102
|
-
warnings.warn("""The new
|
|
103
|
-
pulumi.log.warn("""primary_billing_group_id is deprecated: The new
|
|
102
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
103
|
+
pulumi.log.warn("""primary_billing_group_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
104
104
|
if primary_billing_group_id is not None:
|
|
105
105
|
pulumi.set(__self__, "primary_billing_group_id", primary_billing_group_id)
|
|
106
106
|
if tenant_id is not None:
|
|
@@ -114,8 +114,8 @@ class _AccountState:
|
|
|
114
114
|
"""
|
|
115
115
|
Account id
|
|
116
116
|
"""
|
|
117
|
-
warnings.warn("""The new
|
|
118
|
-
pulumi.log.warn("""account_id is deprecated: The new
|
|
117
|
+
warnings.warn("""The new Organization resource won't have it, use the built-in ID field instead.""", DeprecationWarning)
|
|
118
|
+
pulumi.log.warn("""account_id is deprecated: The new Organization resource won't have it, use the built-in ID field instead.""")
|
|
119
119
|
|
|
120
120
|
return pulumi.get(self, "account_id")
|
|
121
121
|
|
|
@@ -141,8 +141,8 @@ class _AccountState:
|
|
|
141
141
|
"""
|
|
142
142
|
If true, user is part of the owners team for this account
|
|
143
143
|
"""
|
|
144
|
-
warnings.warn("""The new
|
|
145
|
-
pulumi.log.warn("""is_account_owner is deprecated: The new
|
|
144
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
145
|
+
pulumi.log.warn("""is_account_owner is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
146
146
|
|
|
147
147
|
return pulumi.get(self, "is_account_owner")
|
|
148
148
|
|
|
@@ -168,8 +168,8 @@ class _AccountState:
|
|
|
168
168
|
"""
|
|
169
169
|
Owner team id
|
|
170
170
|
"""
|
|
171
|
-
warnings.warn("""The new
|
|
172
|
-
pulumi.log.warn("""owner_team_id is deprecated: The new
|
|
171
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
172
|
+
pulumi.log.warn("""owner_team_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
173
173
|
|
|
174
174
|
return pulumi.get(self, "owner_team_id")
|
|
175
175
|
|
|
@@ -183,8 +183,8 @@ class _AccountState:
|
|
|
183
183
|
"""
|
|
184
184
|
Billing group id
|
|
185
185
|
"""
|
|
186
|
-
warnings.warn("""The new
|
|
187
|
-
pulumi.log.warn("""primary_billing_group_id is deprecated: The new
|
|
186
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
187
|
+
pulumi.log.warn("""primary_billing_group_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
188
188
|
|
|
189
189
|
return pulumi.get(self, "primary_billing_group_id")
|
|
190
190
|
|
|
@@ -226,21 +226,25 @@ class Account(pulumi.CustomResource):
|
|
|
226
226
|
primary_billing_group_id: Optional[pulumi.Input[str]] = None,
|
|
227
227
|
__props__=None):
|
|
228
228
|
"""
|
|
229
|
-
|
|
229
|
+
Creates and manages an Aiven account.
|
|
230
|
+
|
|
231
|
+
**This resource is deprecated.** Use `Organization` instead.
|
|
230
232
|
|
|
231
233
|
## Example Usage
|
|
232
234
|
|
|
235
|
+
<!--Start PulumiCodeChooser -->
|
|
233
236
|
```python
|
|
234
237
|
import pulumi
|
|
235
238
|
import pulumi_aiven as aiven
|
|
236
239
|
|
|
237
240
|
account1 = aiven.Account("account1")
|
|
238
241
|
```
|
|
242
|
+
<!--End PulumiCodeChooser -->
|
|
239
243
|
|
|
240
244
|
## Import
|
|
241
245
|
|
|
242
246
|
```sh
|
|
243
|
-
|
|
247
|
+
$ pulumi import aiven:index/account:Account account1 account_id
|
|
244
248
|
```
|
|
245
249
|
|
|
246
250
|
:param str resource_name: The name of the resource.
|
|
@@ -255,21 +259,25 @@ class Account(pulumi.CustomResource):
|
|
|
255
259
|
args: Optional[AccountArgs] = None,
|
|
256
260
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
257
261
|
"""
|
|
258
|
-
|
|
262
|
+
Creates and manages an Aiven account.
|
|
263
|
+
|
|
264
|
+
**This resource is deprecated.** Use `Organization` instead.
|
|
259
265
|
|
|
260
266
|
## Example Usage
|
|
261
267
|
|
|
268
|
+
<!--Start PulumiCodeChooser -->
|
|
262
269
|
```python
|
|
263
270
|
import pulumi
|
|
264
271
|
import pulumi_aiven as aiven
|
|
265
272
|
|
|
266
273
|
account1 = aiven.Account("account1")
|
|
267
274
|
```
|
|
275
|
+
<!--End PulumiCodeChooser -->
|
|
268
276
|
|
|
269
277
|
## Import
|
|
270
278
|
|
|
271
279
|
```sh
|
|
272
|
-
|
|
280
|
+
$ pulumi import aiven:index/account:Account account1 account_id
|
|
273
281
|
```
|
|
274
282
|
|
|
275
283
|
:param str resource_name: The name of the resource.
|
|
@@ -360,8 +368,8 @@ class Account(pulumi.CustomResource):
|
|
|
360
368
|
"""
|
|
361
369
|
Account id
|
|
362
370
|
"""
|
|
363
|
-
warnings.warn("""The new
|
|
364
|
-
pulumi.log.warn("""account_id is deprecated: The new
|
|
371
|
+
warnings.warn("""The new Organization resource won't have it, use the built-in ID field instead.""", DeprecationWarning)
|
|
372
|
+
pulumi.log.warn("""account_id is deprecated: The new Organization resource won't have it, use the built-in ID field instead.""")
|
|
365
373
|
|
|
366
374
|
return pulumi.get(self, "account_id")
|
|
367
375
|
|
|
@@ -379,8 +387,8 @@ class Account(pulumi.CustomResource):
|
|
|
379
387
|
"""
|
|
380
388
|
If true, user is part of the owners team for this account
|
|
381
389
|
"""
|
|
382
|
-
warnings.warn("""The new
|
|
383
|
-
pulumi.log.warn("""is_account_owner is deprecated: The new
|
|
390
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
391
|
+
pulumi.log.warn("""is_account_owner is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
384
392
|
|
|
385
393
|
return pulumi.get(self, "is_account_owner")
|
|
386
394
|
|
|
@@ -398,8 +406,8 @@ class Account(pulumi.CustomResource):
|
|
|
398
406
|
"""
|
|
399
407
|
Owner team id
|
|
400
408
|
"""
|
|
401
|
-
warnings.warn("""The new
|
|
402
|
-
pulumi.log.warn("""owner_team_id is deprecated: The new
|
|
409
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
410
|
+
pulumi.log.warn("""owner_team_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
403
411
|
|
|
404
412
|
return pulumi.get(self, "owner_team_id")
|
|
405
413
|
|
|
@@ -409,8 +417,8 @@ class Account(pulumi.CustomResource):
|
|
|
409
417
|
"""
|
|
410
418
|
Billing group id
|
|
411
419
|
"""
|
|
412
|
-
warnings.warn("""The new
|
|
413
|
-
pulumi.log.warn("""primary_billing_group_id is deprecated: The new
|
|
420
|
+
warnings.warn("""The new Organization resource won't have it, and will not have a replacement.""", DeprecationWarning)
|
|
421
|
+
pulumi.log.warn("""primary_billing_group_id is deprecated: The new Organization resource won't have it, and will not have a replacement.""")
|
|
414
422
|
|
|
415
423
|
return pulumi.get(self, "primary_billing_group_id")
|
|
416
424
|
|
|
@@ -543,12 +543,14 @@ class AccountAuthentication(pulumi.CustomResource):
|
|
|
543
543
|
type: Optional[pulumi.Input[str]] = None,
|
|
544
544
|
__props__=None):
|
|
545
545
|
"""
|
|
546
|
-
|
|
546
|
+
**This resource is deprecated**.
|
|
547
|
+
|
|
548
|
+
Creates and manages an authentication method.
|
|
547
549
|
|
|
548
550
|
## Import
|
|
549
551
|
|
|
550
552
|
```sh
|
|
551
|
-
|
|
553
|
+
$ pulumi import aiven:index/accountAuthentication:AccountAuthentication foo account_id/authentication_id
|
|
552
554
|
```
|
|
553
555
|
|
|
554
556
|
:param str resource_name: The name of the resource.
|
|
@@ -574,12 +576,14 @@ class AccountAuthentication(pulumi.CustomResource):
|
|
|
574
576
|
args: AccountAuthenticationArgs,
|
|
575
577
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
576
578
|
"""
|
|
577
|
-
|
|
579
|
+
**This resource is deprecated**.
|
|
580
|
+
|
|
581
|
+
Creates and manages an authentication method.
|
|
578
582
|
|
|
579
583
|
## Import
|
|
580
584
|
|
|
581
585
|
```sh
|
|
582
|
-
|
|
586
|
+
$ pulumi import aiven:index/accountAuthentication:AccountAuthentication foo account_id/authentication_id
|
|
583
587
|
```
|
|
584
588
|
|
|
585
589
|
:param str resource_name: The name of the resource.
|
pulumi_aiven/account_team.py
CHANGED
|
@@ -147,12 +147,28 @@ class AccountTeam(pulumi.CustomResource):
|
|
|
147
147
|
name: Optional[pulumi.Input[str]] = None,
|
|
148
148
|
__props__=None):
|
|
149
149
|
"""
|
|
150
|
-
|
|
150
|
+
Creates and manages a team.
|
|
151
|
+
|
|
152
|
+
> **Teams are becoming groups**
|
|
153
|
+
Groups are an easier way to control access to your organization's projects and
|
|
154
|
+
services for a group of users.
|
|
155
|
+
Migrate your teams to groups.
|
|
156
|
+
|
|
157
|
+
## Example Usage
|
|
158
|
+
|
|
159
|
+
<!--Start PulumiCodeChooser -->
|
|
160
|
+
```python
|
|
161
|
+
import pulumi
|
|
162
|
+
import pulumi_aiven as aiven
|
|
163
|
+
|
|
164
|
+
example_team = aiven.AccountTeam("exampleTeam", account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"])
|
|
165
|
+
```
|
|
166
|
+
<!--End PulumiCodeChooser -->
|
|
151
167
|
|
|
152
168
|
## Import
|
|
153
169
|
|
|
154
170
|
```sh
|
|
155
|
-
|
|
171
|
+
$ pulumi import aiven:index/accountTeam:AccountTeam account_team1 account_id/team_id
|
|
156
172
|
```
|
|
157
173
|
|
|
158
174
|
:param str resource_name: The name of the resource.
|
|
@@ -167,12 +183,28 @@ class AccountTeam(pulumi.CustomResource):
|
|
|
167
183
|
args: AccountTeamArgs,
|
|
168
184
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
169
185
|
"""
|
|
170
|
-
|
|
186
|
+
Creates and manages a team.
|
|
187
|
+
|
|
188
|
+
> **Teams are becoming groups**
|
|
189
|
+
Groups are an easier way to control access to your organization's projects and
|
|
190
|
+
services for a group of users.
|
|
191
|
+
Migrate your teams to groups.
|
|
192
|
+
|
|
193
|
+
## Example Usage
|
|
194
|
+
|
|
195
|
+
<!--Start PulumiCodeChooser -->
|
|
196
|
+
```python
|
|
197
|
+
import pulumi
|
|
198
|
+
import pulumi_aiven as aiven
|
|
199
|
+
|
|
200
|
+
example_team = aiven.AccountTeam("exampleTeam", account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"])
|
|
201
|
+
```
|
|
202
|
+
<!--End PulumiCodeChooser -->
|
|
171
203
|
|
|
172
204
|
## Import
|
|
173
205
|
|
|
174
206
|
```sh
|
|
175
|
-
|
|
207
|
+
$ pulumi import aiven:index/accountTeam:AccountTeam account_team1 account_id/team_id
|
|
176
208
|
```
|
|
177
209
|
|
|
178
210
|
:param str resource_name: The name of the resource.
|
|
@@ -19,9 +19,9 @@ class AccountTeamMemberArgs:
|
|
|
19
19
|
user_email: pulumi.Input[str]):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a AccountTeamMember resource.
|
|
22
|
-
:param pulumi.Input[str] account_id: The unique account id.
|
|
23
|
-
:param pulumi.Input[str] team_id: An account team id.
|
|
24
|
-
:param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase.
|
|
22
|
+
:param pulumi.Input[str] account_id: The unique account id. Changing this property forces recreation of the resource.
|
|
23
|
+
:param pulumi.Input[str] team_id: An account team id. Changing this property forces recreation of the resource.
|
|
24
|
+
:param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "account_id", account_id)
|
|
27
27
|
pulumi.set(__self__, "team_id", team_id)
|
|
@@ -31,7 +31,7 @@ class AccountTeamMemberArgs:
|
|
|
31
31
|
@pulumi.getter(name="accountId")
|
|
32
32
|
def account_id(self) -> pulumi.Input[str]:
|
|
33
33
|
"""
|
|
34
|
-
The unique account id.
|
|
34
|
+
The unique account id. Changing this property forces recreation of the resource.
|
|
35
35
|
"""
|
|
36
36
|
return pulumi.get(self, "account_id")
|
|
37
37
|
|
|
@@ -43,7 +43,7 @@ class AccountTeamMemberArgs:
|
|
|
43
43
|
@pulumi.getter(name="teamId")
|
|
44
44
|
def team_id(self) -> pulumi.Input[str]:
|
|
45
45
|
"""
|
|
46
|
-
An account team id.
|
|
46
|
+
An account team id. Changing this property forces recreation of the resource.
|
|
47
47
|
"""
|
|
48
48
|
return pulumi.get(self, "team_id")
|
|
49
49
|
|
|
@@ -55,7 +55,7 @@ class AccountTeamMemberArgs:
|
|
|
55
55
|
@pulumi.getter(name="userEmail")
|
|
56
56
|
def user_email(self) -> pulumi.Input[str]:
|
|
57
57
|
"""
|
|
58
|
-
Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase.
|
|
58
|
+
Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
|
|
59
59
|
"""
|
|
60
60
|
return pulumi.get(self, "user_email")
|
|
61
61
|
|
|
@@ -76,11 +76,11 @@ class _AccountTeamMemberState:
|
|
|
76
76
|
"""
|
|
77
77
|
Input properties used for looking up and filtering AccountTeamMember resources.
|
|
78
78
|
:param pulumi.Input[bool] accepted: is a boolean flag that determines whether an invitation was accepted or not by the user. `false` value means that the invitation was sent to the user but not yet accepted. `true` means that the user accepted the invitation and now a member of an account team.
|
|
79
|
-
:param pulumi.Input[str] account_id: The unique account id.
|
|
79
|
+
:param pulumi.Input[str] account_id: The unique account id. Changing this property forces recreation of the resource.
|
|
80
80
|
:param pulumi.Input[str] create_time: Time of creation
|
|
81
81
|
:param pulumi.Input[str] invited_by_user_email: The email address that invited this user.
|
|
82
|
-
:param pulumi.Input[str] team_id: An account team id.
|
|
83
|
-
:param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase.
|
|
82
|
+
:param pulumi.Input[str] team_id: An account team id. Changing this property forces recreation of the resource.
|
|
83
|
+
:param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
|
|
84
84
|
"""
|
|
85
85
|
if accepted is not None:
|
|
86
86
|
pulumi.set(__self__, "accepted", accepted)
|
|
@@ -111,7 +111,7 @@ class _AccountTeamMemberState:
|
|
|
111
111
|
@pulumi.getter(name="accountId")
|
|
112
112
|
def account_id(self) -> Optional[pulumi.Input[str]]:
|
|
113
113
|
"""
|
|
114
|
-
The unique account id.
|
|
114
|
+
The unique account id. Changing this property forces recreation of the resource.
|
|
115
115
|
"""
|
|
116
116
|
return pulumi.get(self, "account_id")
|
|
117
117
|
|
|
@@ -147,7 +147,7 @@ class _AccountTeamMemberState:
|
|
|
147
147
|
@pulumi.getter(name="teamId")
|
|
148
148
|
def team_id(self) -> Optional[pulumi.Input[str]]:
|
|
149
149
|
"""
|
|
150
|
-
An account team id.
|
|
150
|
+
An account team id. Changing this property forces recreation of the resource.
|
|
151
151
|
"""
|
|
152
152
|
return pulumi.get(self, "team_id")
|
|
153
153
|
|
|
@@ -159,7 +159,7 @@ class _AccountTeamMemberState:
|
|
|
159
159
|
@pulumi.getter(name="userEmail")
|
|
160
160
|
def user_email(self) -> Optional[pulumi.Input[str]]:
|
|
161
161
|
"""
|
|
162
|
-
Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase.
|
|
162
|
+
Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
|
|
163
163
|
"""
|
|
164
164
|
return pulumi.get(self, "user_email")
|
|
165
165
|
|
|
@@ -178,25 +178,42 @@ class AccountTeamMember(pulumi.CustomResource):
|
|
|
178
178
|
user_email: Optional[pulumi.Input[str]] = None,
|
|
179
179
|
__props__=None):
|
|
180
180
|
"""
|
|
181
|
-
|
|
181
|
+
Adds a user as a team member.
|
|
182
182
|
|
|
183
|
-
During the creation of
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
183
|
+
During the creation of this resource, an invite is sent to the address specified in `user_email`.
|
|
184
|
+
The user is added to the team after they accept the invite. Deleting `AccountTeamMember`
|
|
185
|
+
deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
|
|
186
|
+
|
|
187
|
+
> **Teams are becoming groups**
|
|
188
|
+
Groups are an easier way to control access to your organization's projects and
|
|
189
|
+
services for a group of users.
|
|
190
|
+
Migrate your teams to groups.
|
|
191
|
+
|
|
192
|
+
## Example Usage
|
|
193
|
+
|
|
194
|
+
<!--Start PulumiCodeChooser -->
|
|
195
|
+
```python
|
|
196
|
+
import pulumi
|
|
197
|
+
import pulumi_aiven as aiven
|
|
198
|
+
|
|
199
|
+
main = aiven.AccountTeamMember("main",
|
|
200
|
+
account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
|
|
201
|
+
team_id=aiven_account_team["TEAM_RESOURCE_NAME"]["team_id"],
|
|
202
|
+
user_email="user+1@example.com")
|
|
203
|
+
```
|
|
204
|
+
<!--End PulumiCodeChooser -->
|
|
188
205
|
|
|
189
206
|
## Import
|
|
190
207
|
|
|
191
208
|
```sh
|
|
192
|
-
|
|
209
|
+
$ pulumi import aiven:index/accountTeamMember:AccountTeamMember foo account_id/team_id/user_email
|
|
193
210
|
```
|
|
194
211
|
|
|
195
212
|
:param str resource_name: The name of the resource.
|
|
196
213
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
197
|
-
:param pulumi.Input[str] account_id: The unique account id.
|
|
198
|
-
:param pulumi.Input[str] team_id: An account team id.
|
|
199
|
-
:param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase.
|
|
214
|
+
:param pulumi.Input[str] account_id: The unique account id. Changing this property forces recreation of the resource.
|
|
215
|
+
:param pulumi.Input[str] team_id: An account team id. Changing this property forces recreation of the resource.
|
|
216
|
+
:param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
|
|
200
217
|
"""
|
|
201
218
|
...
|
|
202
219
|
@overload
|
|
@@ -205,18 +222,35 @@ class AccountTeamMember(pulumi.CustomResource):
|
|
|
205
222
|
args: AccountTeamMemberArgs,
|
|
206
223
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
207
224
|
"""
|
|
208
|
-
|
|
225
|
+
Adds a user as a team member.
|
|
209
226
|
|
|
210
|
-
During the creation of
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
227
|
+
During the creation of this resource, an invite is sent to the address specified in `user_email`.
|
|
228
|
+
The user is added to the team after they accept the invite. Deleting `AccountTeamMember`
|
|
229
|
+
deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
|
|
230
|
+
|
|
231
|
+
> **Teams are becoming groups**
|
|
232
|
+
Groups are an easier way to control access to your organization's projects and
|
|
233
|
+
services for a group of users.
|
|
234
|
+
Migrate your teams to groups.
|
|
235
|
+
|
|
236
|
+
## Example Usage
|
|
237
|
+
|
|
238
|
+
<!--Start PulumiCodeChooser -->
|
|
239
|
+
```python
|
|
240
|
+
import pulumi
|
|
241
|
+
import pulumi_aiven as aiven
|
|
242
|
+
|
|
243
|
+
main = aiven.AccountTeamMember("main",
|
|
244
|
+
account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
|
|
245
|
+
team_id=aiven_account_team["TEAM_RESOURCE_NAME"]["team_id"],
|
|
246
|
+
user_email="user+1@example.com")
|
|
247
|
+
```
|
|
248
|
+
<!--End PulumiCodeChooser -->
|
|
215
249
|
|
|
216
250
|
## Import
|
|
217
251
|
|
|
218
252
|
```sh
|
|
219
|
-
|
|
253
|
+
$ pulumi import aiven:index/accountTeamMember:AccountTeamMember foo account_id/team_id/user_email
|
|
220
254
|
```
|
|
221
255
|
|
|
222
256
|
:param str resource_name: The name of the resource.
|
|
@@ -282,11 +316,11 @@ class AccountTeamMember(pulumi.CustomResource):
|
|
|
282
316
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
283
317
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
284
318
|
:param pulumi.Input[bool] accepted: is a boolean flag that determines whether an invitation was accepted or not by the user. `false` value means that the invitation was sent to the user but not yet accepted. `true` means that the user accepted the invitation and now a member of an account team.
|
|
285
|
-
:param pulumi.Input[str] account_id: The unique account id.
|
|
319
|
+
:param pulumi.Input[str] account_id: The unique account id. Changing this property forces recreation of the resource.
|
|
286
320
|
:param pulumi.Input[str] create_time: Time of creation
|
|
287
321
|
:param pulumi.Input[str] invited_by_user_email: The email address that invited this user.
|
|
288
|
-
:param pulumi.Input[str] team_id: An account team id.
|
|
289
|
-
:param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase.
|
|
322
|
+
:param pulumi.Input[str] team_id: An account team id. Changing this property forces recreation of the resource.
|
|
323
|
+
:param pulumi.Input[str] user_email: Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
|
|
290
324
|
"""
|
|
291
325
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
292
326
|
|
|
@@ -312,7 +346,7 @@ class AccountTeamMember(pulumi.CustomResource):
|
|
|
312
346
|
@pulumi.getter(name="accountId")
|
|
313
347
|
def account_id(self) -> pulumi.Output[str]:
|
|
314
348
|
"""
|
|
315
|
-
The unique account id.
|
|
349
|
+
The unique account id. Changing this property forces recreation of the resource.
|
|
316
350
|
"""
|
|
317
351
|
return pulumi.get(self, "account_id")
|
|
318
352
|
|
|
@@ -336,7 +370,7 @@ class AccountTeamMember(pulumi.CustomResource):
|
|
|
336
370
|
@pulumi.getter(name="teamId")
|
|
337
371
|
def team_id(self) -> pulumi.Output[str]:
|
|
338
372
|
"""
|
|
339
|
-
An account team id.
|
|
373
|
+
An account team id. Changing this property forces recreation of the resource.
|
|
340
374
|
"""
|
|
341
375
|
return pulumi.get(self, "team_id")
|
|
342
376
|
|
|
@@ -344,7 +378,7 @@ class AccountTeamMember(pulumi.CustomResource):
|
|
|
344
378
|
@pulumi.getter(name="userEmail")
|
|
345
379
|
def user_email(self) -> pulumi.Output[str]:
|
|
346
380
|
"""
|
|
347
|
-
Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase.
|
|
381
|
+
Is a user email address that first will be invited, and after accepting an invitation, he or she becomes a member of a team. Should be lowercase. Changing this property forces recreation of the resource.
|
|
348
382
|
"""
|
|
349
383
|
return pulumi.get(self, "user_email")
|
|
350
384
|
|
|
@@ -164,16 +164,36 @@ class AccountTeamProject(pulumi.CustomResource):
|
|
|
164
164
|
team_type: Optional[pulumi.Input[str]] = None,
|
|
165
165
|
__props__=None):
|
|
166
166
|
"""
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
167
|
+
Links an existing project to an existing team. Both the project and team should have the same `account_id`.
|
|
168
|
+
|
|
169
|
+
> **Teams are becoming groups**
|
|
170
|
+
Groups are an easier way to control access to your organization's projects and
|
|
171
|
+
services for a group of users.
|
|
172
|
+
Migrate your teams to groups.
|
|
173
|
+
|
|
174
|
+
## Example Usage
|
|
175
|
+
|
|
176
|
+
<!--Start PulumiCodeChooser -->
|
|
177
|
+
```python
|
|
178
|
+
import pulumi
|
|
179
|
+
import pulumi_aiven as aiven
|
|
180
|
+
|
|
181
|
+
example_project = aiven.Project("exampleProject",
|
|
182
|
+
project="project-1",
|
|
183
|
+
account_id=aiven_account_team["ACCOUNT_RESOURCE_NAME"]["account_id"])
|
|
184
|
+
example_team = aiven.AccountTeam("exampleTeam", account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"])
|
|
185
|
+
main = aiven.AccountTeamProject("main",
|
|
186
|
+
account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
|
|
187
|
+
team_id=example_team.team_id,
|
|
188
|
+
project_name=example_project.project,
|
|
189
|
+
team_type="admin")
|
|
190
|
+
```
|
|
191
|
+
<!--End PulumiCodeChooser -->
|
|
172
192
|
|
|
173
193
|
## Import
|
|
174
194
|
|
|
175
195
|
```sh
|
|
176
|
-
|
|
196
|
+
$ pulumi import aiven:index/accountTeamProject:AccountTeamProject account_team_project1 account_id/team_id/project_name
|
|
177
197
|
```
|
|
178
198
|
|
|
179
199
|
:param str resource_name: The name of the resource.
|
|
@@ -190,16 +210,36 @@ class AccountTeamProject(pulumi.CustomResource):
|
|
|
190
210
|
args: AccountTeamProjectArgs,
|
|
191
211
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
192
212
|
"""
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
213
|
+
Links an existing project to an existing team. Both the project and team should have the same `account_id`.
|
|
214
|
+
|
|
215
|
+
> **Teams are becoming groups**
|
|
216
|
+
Groups are an easier way to control access to your organization's projects and
|
|
217
|
+
services for a group of users.
|
|
218
|
+
Migrate your teams to groups.
|
|
219
|
+
|
|
220
|
+
## Example Usage
|
|
221
|
+
|
|
222
|
+
<!--Start PulumiCodeChooser -->
|
|
223
|
+
```python
|
|
224
|
+
import pulumi
|
|
225
|
+
import pulumi_aiven as aiven
|
|
226
|
+
|
|
227
|
+
example_project = aiven.Project("exampleProject",
|
|
228
|
+
project="project-1",
|
|
229
|
+
account_id=aiven_account_team["ACCOUNT_RESOURCE_NAME"]["account_id"])
|
|
230
|
+
example_team = aiven.AccountTeam("exampleTeam", account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"])
|
|
231
|
+
main = aiven.AccountTeamProject("main",
|
|
232
|
+
account_id=aiven_account["ACCOUNT_RESOURCE_NAME"]["account_id"],
|
|
233
|
+
team_id=example_team.team_id,
|
|
234
|
+
project_name=example_project.project,
|
|
235
|
+
team_type="admin")
|
|
236
|
+
```
|
|
237
|
+
<!--End PulumiCodeChooser -->
|
|
198
238
|
|
|
199
239
|
## Import
|
|
200
240
|
|
|
201
241
|
```sh
|
|
202
|
-
|
|
242
|
+
$ pulumi import aiven:index/accountTeamProject:AccountTeamProject account_team_project1 account_id/team_id/project_name
|
|
203
243
|
```
|
|
204
244
|
|
|
205
245
|
:param str resource_name: The name of the resource.
|