pulumi-aiven 6.14.0a1714596828__py3-none-any.whl → 6.15.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 +19 -0
- pulumi_aiven/_inputs.py +144 -0
- pulumi_aiven/clickhouse_database.py +0 -27
- pulumi_aiven/clickhouse_role.py +2 -2
- pulumi_aiven/get_organization_application_user.py +156 -0
- pulumi_aiven/influxdb_database.py +0 -20
- pulumi_aiven/kafka_topic.py +0 -20
- pulumi_aiven/mysql_database.py +0 -20
- pulumi_aiven/organization_application_user.py +323 -0
- pulumi_aiven/organization_application_user_token.py +742 -0
- pulumi_aiven/outputs.py +112 -0
- pulumi_aiven/pg_database.py +0 -20
- {pulumi_aiven-6.14.0a1714596828.dist-info → pulumi_aiven-6.15.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.14.0a1714596828.dist-info → pulumi_aiven-6.15.0.dist-info}/RECORD +16 -13
- {pulumi_aiven-6.14.0a1714596828.dist-info → pulumi_aiven-6.15.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0a1714596828.dist-info → pulumi_aiven-6.15.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/__init__.py
CHANGED
|
@@ -82,6 +82,7 @@ from .get_open_search_acl_rule import *
|
|
|
82
82
|
from .get_opensearch_security_plugin_config import *
|
|
83
83
|
from .get_opensearch_user import *
|
|
84
84
|
from .get_organization import *
|
|
85
|
+
from .get_organization_application_user import *
|
|
85
86
|
from .get_organization_user import *
|
|
86
87
|
from .get_organization_user_group import *
|
|
87
88
|
from .get_organizational_unit import *
|
|
@@ -124,6 +125,8 @@ from .open_search_acl_rule import *
|
|
|
124
125
|
from .opensearch_security_plugin_config import *
|
|
125
126
|
from .opensearch_user import *
|
|
126
127
|
from .organization import *
|
|
128
|
+
from .organization_application_user import *
|
|
129
|
+
from .organization_application_user_token import *
|
|
127
130
|
from .organization_group_project import *
|
|
128
131
|
from .organization_user import *
|
|
129
132
|
from .organization_user_group import *
|
|
@@ -587,6 +590,22 @@ _utilities.register(
|
|
|
587
590
|
"aiven:index/organization:Organization": "Organization"
|
|
588
591
|
}
|
|
589
592
|
},
|
|
593
|
+
{
|
|
594
|
+
"pkg": "aiven",
|
|
595
|
+
"mod": "index/organizationApplicationUser",
|
|
596
|
+
"fqn": "pulumi_aiven",
|
|
597
|
+
"classes": {
|
|
598
|
+
"aiven:index/organizationApplicationUser:OrganizationApplicationUser": "OrganizationApplicationUser"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"pkg": "aiven",
|
|
603
|
+
"mod": "index/organizationApplicationUserToken",
|
|
604
|
+
"fqn": "pulumi_aiven",
|
|
605
|
+
"classes": {
|
|
606
|
+
"aiven:index/organizationApplicationUserToken:OrganizationApplicationUserToken": "OrganizationApplicationUserToken"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
590
609
|
{
|
|
591
610
|
"pkg": "aiven",
|
|
592
611
|
"mod": "index/organizationGroupProject",
|
pulumi_aiven/_inputs.py
CHANGED
|
@@ -170,6 +170,8 @@ __all__ = [
|
|
|
170
170
|
'OpenSearchServiceIntegrationArgs',
|
|
171
171
|
'OpenSearchTagArgs',
|
|
172
172
|
'OpenSearchTechEmailArgs',
|
|
173
|
+
'OrganizationApplicationUserTimeoutsArgs',
|
|
174
|
+
'OrganizationApplicationUserTokenTimeoutsArgs',
|
|
173
175
|
'OrganizationGroupProjectTimeoutsArgs',
|
|
174
176
|
'OrganizationTimeoutsArgs',
|
|
175
177
|
'OrganizationUserGroupMemberTimeoutsArgs',
|
|
@@ -15362,6 +15364,148 @@ class OpenSearchTechEmailArgs:
|
|
|
15362
15364
|
pulumi.set(self, "email", value)
|
|
15363
15365
|
|
|
15364
15366
|
|
|
15367
|
+
@pulumi.input_type
|
|
15368
|
+
class OrganizationApplicationUserTimeoutsArgs:
|
|
15369
|
+
def __init__(__self__, *,
|
|
15370
|
+
create: Optional[pulumi.Input[str]] = None,
|
|
15371
|
+
delete: Optional[pulumi.Input[str]] = None,
|
|
15372
|
+
read: Optional[pulumi.Input[str]] = None,
|
|
15373
|
+
update: Optional[pulumi.Input[str]] = None):
|
|
15374
|
+
"""
|
|
15375
|
+
:param pulumi.Input[str] create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
15376
|
+
:param pulumi.Input[str] delete: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
|
|
15377
|
+
:param pulumi.Input[str] read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
15378
|
+
:param pulumi.Input[str] update: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
15379
|
+
"""
|
|
15380
|
+
if create is not None:
|
|
15381
|
+
pulumi.set(__self__, "create", create)
|
|
15382
|
+
if delete is not None:
|
|
15383
|
+
pulumi.set(__self__, "delete", delete)
|
|
15384
|
+
if read is not None:
|
|
15385
|
+
pulumi.set(__self__, "read", read)
|
|
15386
|
+
if update is not None:
|
|
15387
|
+
pulumi.set(__self__, "update", update)
|
|
15388
|
+
|
|
15389
|
+
@property
|
|
15390
|
+
@pulumi.getter
|
|
15391
|
+
def create(self) -> Optional[pulumi.Input[str]]:
|
|
15392
|
+
"""
|
|
15393
|
+
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
15394
|
+
"""
|
|
15395
|
+
return pulumi.get(self, "create")
|
|
15396
|
+
|
|
15397
|
+
@create.setter
|
|
15398
|
+
def create(self, value: Optional[pulumi.Input[str]]):
|
|
15399
|
+
pulumi.set(self, "create", value)
|
|
15400
|
+
|
|
15401
|
+
@property
|
|
15402
|
+
@pulumi.getter
|
|
15403
|
+
def delete(self) -> Optional[pulumi.Input[str]]:
|
|
15404
|
+
"""
|
|
15405
|
+
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
|
|
15406
|
+
"""
|
|
15407
|
+
return pulumi.get(self, "delete")
|
|
15408
|
+
|
|
15409
|
+
@delete.setter
|
|
15410
|
+
def delete(self, value: Optional[pulumi.Input[str]]):
|
|
15411
|
+
pulumi.set(self, "delete", value)
|
|
15412
|
+
|
|
15413
|
+
@property
|
|
15414
|
+
@pulumi.getter
|
|
15415
|
+
def read(self) -> Optional[pulumi.Input[str]]:
|
|
15416
|
+
"""
|
|
15417
|
+
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
15418
|
+
"""
|
|
15419
|
+
return pulumi.get(self, "read")
|
|
15420
|
+
|
|
15421
|
+
@read.setter
|
|
15422
|
+
def read(self, value: Optional[pulumi.Input[str]]):
|
|
15423
|
+
pulumi.set(self, "read", value)
|
|
15424
|
+
|
|
15425
|
+
@property
|
|
15426
|
+
@pulumi.getter
|
|
15427
|
+
def update(self) -> Optional[pulumi.Input[str]]:
|
|
15428
|
+
"""
|
|
15429
|
+
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
15430
|
+
"""
|
|
15431
|
+
return pulumi.get(self, "update")
|
|
15432
|
+
|
|
15433
|
+
@update.setter
|
|
15434
|
+
def update(self, value: Optional[pulumi.Input[str]]):
|
|
15435
|
+
pulumi.set(self, "update", value)
|
|
15436
|
+
|
|
15437
|
+
|
|
15438
|
+
@pulumi.input_type
|
|
15439
|
+
class OrganizationApplicationUserTokenTimeoutsArgs:
|
|
15440
|
+
def __init__(__self__, *,
|
|
15441
|
+
create: Optional[pulumi.Input[str]] = None,
|
|
15442
|
+
delete: Optional[pulumi.Input[str]] = None,
|
|
15443
|
+
read: Optional[pulumi.Input[str]] = None,
|
|
15444
|
+
update: Optional[pulumi.Input[str]] = None):
|
|
15445
|
+
"""
|
|
15446
|
+
:param pulumi.Input[str] create: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
15447
|
+
:param pulumi.Input[str] delete: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
|
|
15448
|
+
:param pulumi.Input[str] read: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
15449
|
+
:param pulumi.Input[str] update: A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
15450
|
+
"""
|
|
15451
|
+
if create is not None:
|
|
15452
|
+
pulumi.set(__self__, "create", create)
|
|
15453
|
+
if delete is not None:
|
|
15454
|
+
pulumi.set(__self__, "delete", delete)
|
|
15455
|
+
if read is not None:
|
|
15456
|
+
pulumi.set(__self__, "read", read)
|
|
15457
|
+
if update is not None:
|
|
15458
|
+
pulumi.set(__self__, "update", update)
|
|
15459
|
+
|
|
15460
|
+
@property
|
|
15461
|
+
@pulumi.getter
|
|
15462
|
+
def create(self) -> Optional[pulumi.Input[str]]:
|
|
15463
|
+
"""
|
|
15464
|
+
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
15465
|
+
"""
|
|
15466
|
+
return pulumi.get(self, "create")
|
|
15467
|
+
|
|
15468
|
+
@create.setter
|
|
15469
|
+
def create(self, value: Optional[pulumi.Input[str]]):
|
|
15470
|
+
pulumi.set(self, "create", value)
|
|
15471
|
+
|
|
15472
|
+
@property
|
|
15473
|
+
@pulumi.getter
|
|
15474
|
+
def delete(self) -> Optional[pulumi.Input[str]]:
|
|
15475
|
+
"""
|
|
15476
|
+
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
|
|
15477
|
+
"""
|
|
15478
|
+
return pulumi.get(self, "delete")
|
|
15479
|
+
|
|
15480
|
+
@delete.setter
|
|
15481
|
+
def delete(self, value: Optional[pulumi.Input[str]]):
|
|
15482
|
+
pulumi.set(self, "delete", value)
|
|
15483
|
+
|
|
15484
|
+
@property
|
|
15485
|
+
@pulumi.getter
|
|
15486
|
+
def read(self) -> Optional[pulumi.Input[str]]:
|
|
15487
|
+
"""
|
|
15488
|
+
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
15489
|
+
"""
|
|
15490
|
+
return pulumi.get(self, "read")
|
|
15491
|
+
|
|
15492
|
+
@read.setter
|
|
15493
|
+
def read(self, value: Optional[pulumi.Input[str]]):
|
|
15494
|
+
pulumi.set(self, "read", value)
|
|
15495
|
+
|
|
15496
|
+
@property
|
|
15497
|
+
@pulumi.getter
|
|
15498
|
+
def update(self) -> Optional[pulumi.Input[str]]:
|
|
15499
|
+
"""
|
|
15500
|
+
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
15501
|
+
"""
|
|
15502
|
+
return pulumi.get(self, "update")
|
|
15503
|
+
|
|
15504
|
+
@update.setter
|
|
15505
|
+
def update(self, value: Optional[pulumi.Input[str]]):
|
|
15506
|
+
pulumi.set(self, "update", value)
|
|
15507
|
+
|
|
15508
|
+
|
|
15365
15509
|
@pulumi.input_type
|
|
15366
15510
|
class OrganizationGroupProjectTimeoutsArgs:
|
|
15367
15511
|
def __init__(__self__, *,
|
|
@@ -23,9 +23,6 @@ class ClickhouseDatabaseArgs:
|
|
|
23
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
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] name: The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
26
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
27
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
28
|
-
default value is `false`.
|
|
29
26
|
"""
|
|
30
27
|
pulumi.set(__self__, "project", project)
|
|
31
28
|
pulumi.set(__self__, "service_name", service_name)
|
|
@@ -73,11 +70,6 @@ class ClickhouseDatabaseArgs:
|
|
|
73
70
|
@property
|
|
74
71
|
@pulumi.getter(name="terminationProtection")
|
|
75
72
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
76
|
-
"""
|
|
77
|
-
It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
78
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
79
|
-
default value is `false`.
|
|
80
|
-
"""
|
|
81
73
|
return pulumi.get(self, "termination_protection")
|
|
82
74
|
|
|
83
75
|
@termination_protection.setter
|
|
@@ -97,9 +89,6 @@ class _ClickhouseDatabaseState:
|
|
|
97
89
|
:param pulumi.Input[str] name: The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
98
90
|
: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.
|
|
99
91
|
: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.
|
|
100
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
101
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
102
|
-
default value is `false`.
|
|
103
92
|
"""
|
|
104
93
|
if name is not None:
|
|
105
94
|
pulumi.set(__self__, "name", name)
|
|
@@ -149,11 +138,6 @@ class _ClickhouseDatabaseState:
|
|
|
149
138
|
@property
|
|
150
139
|
@pulumi.getter(name="terminationProtection")
|
|
151
140
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
152
|
-
"""
|
|
153
|
-
It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
154
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
155
|
-
default value is `false`.
|
|
156
|
-
"""
|
|
157
141
|
return pulumi.get(self, "termination_protection")
|
|
158
142
|
|
|
159
143
|
@termination_protection.setter
|
|
@@ -197,9 +181,6 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
197
181
|
:param pulumi.Input[str] name: The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
198
182
|
: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.
|
|
199
183
|
: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.
|
|
200
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
201
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
202
|
-
default value is `false`.
|
|
203
184
|
"""
|
|
204
185
|
...
|
|
205
186
|
@overload
|
|
@@ -288,9 +269,6 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
288
269
|
:param pulumi.Input[str] name: The name of the Clickhouse database. Changing this property forces recreation of the resource.
|
|
289
270
|
: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.
|
|
290
271
|
: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.
|
|
291
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
292
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
293
|
-
default value is `false`.
|
|
294
272
|
"""
|
|
295
273
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
296
274
|
|
|
@@ -329,10 +307,5 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
329
307
|
@property
|
|
330
308
|
@pulumi.getter(name="terminationProtection")
|
|
331
309
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
332
|
-
"""
|
|
333
|
-
It is a Terraform client-side deletion protections, which prevents the Clickhouse database from being deleted by
|
|
334
|
-
Terraform. It is recommended to enable this for any production Clickhouse databases containing critical data. The
|
|
335
|
-
default value is `false`.
|
|
336
|
-
"""
|
|
337
310
|
return pulumi.get(self, "termination_protection")
|
|
338
311
|
|
pulumi_aiven/clickhouse_role.py
CHANGED
|
@@ -141,7 +141,7 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
141
141
|
bar = aiven.Clickhouse("bar",
|
|
142
142
|
project="example-project",
|
|
143
143
|
cloud_name="google-europe-west1",
|
|
144
|
-
plan="startup-
|
|
144
|
+
plan="startup-8",
|
|
145
145
|
service_name="example-service",
|
|
146
146
|
maintenance_window_dow="monday",
|
|
147
147
|
maintenance_window_time="10:00:00")
|
|
@@ -181,7 +181,7 @@ class ClickhouseRole(pulumi.CustomResource):
|
|
|
181
181
|
bar = aiven.Clickhouse("bar",
|
|
182
182
|
project="example-project",
|
|
183
183
|
cloud_name="google-europe-west1",
|
|
184
|
-
plan="startup-
|
|
184
|
+
plan="startup-8",
|
|
185
185
|
service_name="example-service",
|
|
186
186
|
maintenance_window_dow="monday",
|
|
187
187
|
maintenance_window_time="10:00:00")
|
|
@@ -0,0 +1,156 @@
|
|
|
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
|
+
|
|
12
|
+
__all__ = [
|
|
13
|
+
'GetOrganizationApplicationUserResult',
|
|
14
|
+
'AwaitableGetOrganizationApplicationUserResult',
|
|
15
|
+
'get_organization_application_user',
|
|
16
|
+
'get_organization_application_user_output',
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
@pulumi.output_type
|
|
20
|
+
class GetOrganizationApplicationUserResult:
|
|
21
|
+
"""
|
|
22
|
+
A collection of values returned by getOrganizationApplicationUser.
|
|
23
|
+
"""
|
|
24
|
+
def __init__(__self__, email=None, id=None, name=None, organization_id=None, user_id=None):
|
|
25
|
+
if email and not isinstance(email, str):
|
|
26
|
+
raise TypeError("Expected argument 'email' to be a str")
|
|
27
|
+
pulumi.set(__self__, "email", email)
|
|
28
|
+
if id and not isinstance(id, str):
|
|
29
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
30
|
+
pulumi.set(__self__, "id", id)
|
|
31
|
+
if name and not isinstance(name, str):
|
|
32
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
33
|
+
pulumi.set(__self__, "name", name)
|
|
34
|
+
if organization_id and not isinstance(organization_id, str):
|
|
35
|
+
raise TypeError("Expected argument 'organization_id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "organization_id", organization_id)
|
|
37
|
+
if user_id and not isinstance(user_id, str):
|
|
38
|
+
raise TypeError("Expected argument 'user_id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "user_id", user_id)
|
|
40
|
+
|
|
41
|
+
@property
|
|
42
|
+
@pulumi.getter
|
|
43
|
+
def email(self) -> str:
|
|
44
|
+
"""
|
|
45
|
+
The auto-generated email address of the application user.
|
|
46
|
+
"""
|
|
47
|
+
return pulumi.get(self, "email")
|
|
48
|
+
|
|
49
|
+
@property
|
|
50
|
+
@pulumi.getter
|
|
51
|
+
def id(self) -> str:
|
|
52
|
+
"""
|
|
53
|
+
The provider-assigned unique ID for this managed resource.
|
|
54
|
+
"""
|
|
55
|
+
return pulumi.get(self, "id")
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
@pulumi.getter
|
|
59
|
+
def name(self) -> str:
|
|
60
|
+
"""
|
|
61
|
+
Name of the application user.
|
|
62
|
+
"""
|
|
63
|
+
return pulumi.get(self, "name")
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
@pulumi.getter(name="organizationId")
|
|
67
|
+
def organization_id(self) -> str:
|
|
68
|
+
"""
|
|
69
|
+
The ID of the organization the application user belongs to.
|
|
70
|
+
"""
|
|
71
|
+
return pulumi.get(self, "organization_id")
|
|
72
|
+
|
|
73
|
+
@property
|
|
74
|
+
@pulumi.getter(name="userId")
|
|
75
|
+
def user_id(self) -> str:
|
|
76
|
+
"""
|
|
77
|
+
The ID of the application user.
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "user_id")
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class AwaitableGetOrganizationApplicationUserResult(GetOrganizationApplicationUserResult):
|
|
83
|
+
# pylint: disable=using-constant-test
|
|
84
|
+
def __await__(self):
|
|
85
|
+
if False:
|
|
86
|
+
yield self
|
|
87
|
+
return GetOrganizationApplicationUserResult(
|
|
88
|
+
email=self.email,
|
|
89
|
+
id=self.id,
|
|
90
|
+
name=self.name,
|
|
91
|
+
organization_id=self.organization_id,
|
|
92
|
+
user_id=self.user_id)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
def get_organization_application_user(organization_id: Optional[str] = None,
|
|
96
|
+
user_id: Optional[str] = None,
|
|
97
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOrganizationApplicationUserResult:
|
|
98
|
+
"""
|
|
99
|
+
Gets information about an application user.
|
|
100
|
+
|
|
101
|
+
**This data source is in the limited availability stage and may change without notice.** To enable this feature, contact the sales team. After it's enabled, set
|
|
102
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the data source.
|
|
103
|
+
|
|
104
|
+
## Example Usage
|
|
105
|
+
|
|
106
|
+
```python
|
|
107
|
+
import pulumi
|
|
108
|
+
import pulumi_aiven as aiven
|
|
109
|
+
|
|
110
|
+
tf_user = aiven.get_organization_application_user(organization_id=main["id"],
|
|
111
|
+
user_id="u123a456b7890c")
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
:param str organization_id: The ID of the organization the application user belongs to.
|
|
116
|
+
:param str user_id: The ID of the application user.
|
|
117
|
+
"""
|
|
118
|
+
__args__ = dict()
|
|
119
|
+
__args__['organizationId'] = organization_id
|
|
120
|
+
__args__['userId'] = user_id
|
|
121
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
122
|
+
__ret__ = pulumi.runtime.invoke('aiven:index/getOrganizationApplicationUser:getOrganizationApplicationUser', __args__, opts=opts, typ=GetOrganizationApplicationUserResult).value
|
|
123
|
+
|
|
124
|
+
return AwaitableGetOrganizationApplicationUserResult(
|
|
125
|
+
email=pulumi.get(__ret__, 'email'),
|
|
126
|
+
id=pulumi.get(__ret__, 'id'),
|
|
127
|
+
name=pulumi.get(__ret__, 'name'),
|
|
128
|
+
organization_id=pulumi.get(__ret__, 'organization_id'),
|
|
129
|
+
user_id=pulumi.get(__ret__, 'user_id'))
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
@_utilities.lift_output_func(get_organization_application_user)
|
|
133
|
+
def get_organization_application_user_output(organization_id: Optional[pulumi.Input[str]] = None,
|
|
134
|
+
user_id: Optional[pulumi.Input[str]] = None,
|
|
135
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrganizationApplicationUserResult]:
|
|
136
|
+
"""
|
|
137
|
+
Gets information about an application user.
|
|
138
|
+
|
|
139
|
+
**This data source is in the limited availability stage and may change without notice.** To enable this feature, contact the sales team. After it's enabled, set
|
|
140
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the data source.
|
|
141
|
+
|
|
142
|
+
## Example Usage
|
|
143
|
+
|
|
144
|
+
```python
|
|
145
|
+
import pulumi
|
|
146
|
+
import pulumi_aiven as aiven
|
|
147
|
+
|
|
148
|
+
tf_user = aiven.get_organization_application_user(organization_id=main["id"],
|
|
149
|
+
user_id="u123a456b7890c")
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:param str organization_id: The ID of the organization the application user belongs to.
|
|
154
|
+
:param str user_id: The ID of the application user.
|
|
155
|
+
"""
|
|
156
|
+
...
|
|
@@ -25,8 +25,6 @@ class InfluxdbDatabaseArgs:
|
|
|
25
25
|
reference. Changing this property forces recreation of the resource.
|
|
26
26
|
: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
|
|
27
27
|
reference. Changing this property forces recreation of the resource.
|
|
28
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
29
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
30
28
|
"""
|
|
31
29
|
pulumi.set(__self__, "database_name", database_name)
|
|
32
30
|
pulumi.set(__self__, "project", project)
|
|
@@ -75,10 +73,6 @@ class InfluxdbDatabaseArgs:
|
|
|
75
73
|
@property
|
|
76
74
|
@pulumi.getter(name="terminationProtection")
|
|
77
75
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
78
|
-
"""
|
|
79
|
-
It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
80
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
81
|
-
"""
|
|
82
76
|
return pulumi.get(self, "termination_protection")
|
|
83
77
|
|
|
84
78
|
@termination_protection.setter
|
|
@@ -100,8 +94,6 @@ class _InfluxdbDatabaseState:
|
|
|
100
94
|
reference. Changing this property forces recreation of the resource.
|
|
101
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
|
|
102
96
|
reference. Changing this property forces recreation of the resource.
|
|
103
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
104
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
105
97
|
"""
|
|
106
98
|
if database_name is not None:
|
|
107
99
|
pulumi.set(__self__, "database_name", database_name)
|
|
@@ -153,10 +145,6 @@ class _InfluxdbDatabaseState:
|
|
|
153
145
|
@property
|
|
154
146
|
@pulumi.getter(name="terminationProtection")
|
|
155
147
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
156
|
-
"""
|
|
157
|
-
It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
158
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
159
|
-
"""
|
|
160
148
|
return pulumi.get(self, "termination_protection")
|
|
161
149
|
|
|
162
150
|
@termination_protection.setter
|
|
@@ -183,8 +171,6 @@ class InfluxdbDatabase(pulumi.CustomResource):
|
|
|
183
171
|
reference. Changing this property forces recreation of the resource.
|
|
184
172
|
: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
|
|
185
173
|
reference. Changing this property forces recreation of the resource.
|
|
186
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
187
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
188
174
|
"""
|
|
189
175
|
...
|
|
190
176
|
@overload
|
|
@@ -258,8 +244,6 @@ class InfluxdbDatabase(pulumi.CustomResource):
|
|
|
258
244
|
reference. Changing this property forces recreation of the resource.
|
|
259
245
|
: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
|
|
260
246
|
reference. Changing this property forces recreation of the resource.
|
|
261
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
262
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
263
247
|
"""
|
|
264
248
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
265
249
|
|
|
@@ -300,9 +284,5 @@ class InfluxdbDatabase(pulumi.CustomResource):
|
|
|
300
284
|
@property
|
|
301
285
|
@pulumi.getter(name="terminationProtection")
|
|
302
286
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
303
|
-
"""
|
|
304
|
-
It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
305
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
306
|
-
"""
|
|
307
287
|
return pulumi.get(self, "termination_protection")
|
|
308
288
|
|
pulumi_aiven/kafka_topic.py
CHANGED
|
@@ -33,8 +33,6 @@ class KafkaTopicArgs:
|
|
|
33
33
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
34
34
|
:param pulumi.Input['KafkaTopicConfigArgs'] config: Kafka topic configuration.
|
|
35
35
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]] tags: Tags for the Kafka topic.
|
|
36
|
-
:param pulumi.Input[bool] termination_protection: Prevents topics from being deleted by Terraform. It's recommended for topics containing critical data. **Topics can
|
|
37
|
-
still be deleted in the Aiven Console.**
|
|
38
36
|
"""
|
|
39
37
|
pulumi.set(__self__, "partitions", partitions)
|
|
40
38
|
pulumi.set(__self__, "project", project)
|
|
@@ -135,10 +133,6 @@ class KafkaTopicArgs:
|
|
|
135
133
|
@property
|
|
136
134
|
@pulumi.getter(name="terminationProtection")
|
|
137
135
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
138
|
-
"""
|
|
139
|
-
Prevents topics from being deleted by Terraform. It's recommended for topics containing critical data. **Topics can
|
|
140
|
-
still be deleted in the Aiven Console.**
|
|
141
|
-
"""
|
|
142
136
|
return pulumi.get(self, "termination_protection")
|
|
143
137
|
|
|
144
138
|
@termination_protection.setter
|
|
@@ -165,8 +159,6 @@ class _KafkaTopicState:
|
|
|
165
159
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
166
160
|
: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.
|
|
167
161
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]] tags: Tags for the Kafka topic.
|
|
168
|
-
:param pulumi.Input[bool] termination_protection: Prevents topics from being deleted by Terraform. It's recommended for topics containing critical data. **Topics can
|
|
169
|
-
still be deleted in the Aiven Console.**
|
|
170
162
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
171
163
|
"""
|
|
172
164
|
if config is not None:
|
|
@@ -261,10 +253,6 @@ class _KafkaTopicState:
|
|
|
261
253
|
@property
|
|
262
254
|
@pulumi.getter(name="terminationProtection")
|
|
263
255
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
264
|
-
"""
|
|
265
|
-
Prevents topics from being deleted by Terraform. It's recommended for topics containing critical data. **Topics can
|
|
266
|
-
still be deleted in the Aiven Console.**
|
|
267
|
-
"""
|
|
268
256
|
return pulumi.get(self, "termination_protection")
|
|
269
257
|
|
|
270
258
|
@termination_protection.setter
|
|
@@ -334,8 +322,6 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
334
322
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
335
323
|
: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.
|
|
336
324
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags: Tags for the Kafka topic.
|
|
337
|
-
:param pulumi.Input[bool] termination_protection: Prevents topics from being deleted by Terraform. It's recommended for topics containing critical data. **Topics can
|
|
338
|
-
still be deleted in the Aiven Console.**
|
|
339
325
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
340
326
|
"""
|
|
341
327
|
...
|
|
@@ -453,8 +439,6 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
453
439
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
454
440
|
: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.
|
|
455
441
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags: Tags for the Kafka topic.
|
|
456
|
-
:param pulumi.Input[bool] termination_protection: Prevents topics from being deleted by Terraform. It's recommended for topics containing critical data. **Topics can
|
|
457
|
-
still be deleted in the Aiven Console.**
|
|
458
442
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
459
443
|
"""
|
|
460
444
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -522,10 +506,6 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
522
506
|
@property
|
|
523
507
|
@pulumi.getter(name="terminationProtection")
|
|
524
508
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
525
|
-
"""
|
|
526
|
-
Prevents topics from being deleted by Terraform. It's recommended for topics containing critical data. **Topics can
|
|
527
|
-
still be deleted in the Aiven Console.**
|
|
528
|
-
"""
|
|
529
509
|
return pulumi.get(self, "termination_protection")
|
|
530
510
|
|
|
531
511
|
@property
|
pulumi_aiven/mysql_database.py
CHANGED
|
@@ -23,8 +23,6 @@ class MysqlDatabaseArgs:
|
|
|
23
23
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
24
24
|
: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.
|
|
25
25
|
: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.
|
|
26
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
27
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
28
26
|
"""
|
|
29
27
|
pulumi.set(__self__, "database_name", database_name)
|
|
30
28
|
pulumi.set(__self__, "project", project)
|
|
@@ -71,10 +69,6 @@ class MysqlDatabaseArgs:
|
|
|
71
69
|
@property
|
|
72
70
|
@pulumi.getter(name="terminationProtection")
|
|
73
71
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
74
|
-
"""
|
|
75
|
-
It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
76
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
77
|
-
"""
|
|
78
72
|
return pulumi.get(self, "termination_protection")
|
|
79
73
|
|
|
80
74
|
@termination_protection.setter
|
|
@@ -94,8 +88,6 @@ class _MysqlDatabaseState:
|
|
|
94
88
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
95
89
|
: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.
|
|
96
90
|
: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.
|
|
97
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
98
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
99
91
|
"""
|
|
100
92
|
if database_name is not None:
|
|
101
93
|
pulumi.set(__self__, "database_name", database_name)
|
|
@@ -145,10 +137,6 @@ class _MysqlDatabaseState:
|
|
|
145
137
|
@property
|
|
146
138
|
@pulumi.getter(name="terminationProtection")
|
|
147
139
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
148
|
-
"""
|
|
149
|
-
It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
150
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
151
|
-
"""
|
|
152
140
|
return pulumi.get(self, "termination_protection")
|
|
153
141
|
|
|
154
142
|
@termination_protection.setter
|
|
@@ -192,8 +180,6 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
192
180
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
193
181
|
: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.
|
|
194
182
|
: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.
|
|
195
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
196
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
197
183
|
"""
|
|
198
184
|
...
|
|
199
185
|
@overload
|
|
@@ -284,8 +270,6 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
284
270
|
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
285
271
|
: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.
|
|
286
272
|
: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.
|
|
287
|
-
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
288
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
289
273
|
"""
|
|
290
274
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
291
275
|
|
|
@@ -324,9 +308,5 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
324
308
|
@property
|
|
325
309
|
@pulumi.getter(name="terminationProtection")
|
|
326
310
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
327
|
-
"""
|
|
328
|
-
It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
329
|
-
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
330
|
-
"""
|
|
331
311
|
return pulumi.get(self, "termination_protection")
|
|
332
312
|
|