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/kafka_topic.py
CHANGED
|
@@ -27,14 +27,14 @@ class KafkaTopicArgs:
|
|
|
27
27
|
"""
|
|
28
28
|
The set of arguments for constructing a KafkaTopic resource.
|
|
29
29
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
30
|
-
:param pulumi.Input[str] project:
|
|
30
|
+
: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.
|
|
31
31
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
32
|
-
:param pulumi.Input[str] service_name:
|
|
32
|
+
: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.
|
|
33
33
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
34
|
-
:param pulumi.Input['KafkaTopicConfigArgs'] config: Kafka topic configuration
|
|
35
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]] tags:
|
|
36
|
-
:param pulumi.Input[bool] termination_protection:
|
|
37
|
-
|
|
34
|
+
:param pulumi.Input['KafkaTopicConfigArgs'] config: Kafka topic configuration
|
|
35
|
+
:param pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]] tags: Kafka Topic tag.
|
|
36
|
+
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to
|
|
37
|
+
enable this for any production Kafka topic containing critical data.
|
|
38
38
|
"""
|
|
39
39
|
pulumi.set(__self__, "partitions", partitions)
|
|
40
40
|
pulumi.set(__self__, "project", project)
|
|
@@ -64,7 +64,7 @@ class KafkaTopicArgs:
|
|
|
64
64
|
@pulumi.getter
|
|
65
65
|
def project(self) -> pulumi.Input[str]:
|
|
66
66
|
"""
|
|
67
|
-
|
|
67
|
+
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.
|
|
68
68
|
"""
|
|
69
69
|
return pulumi.get(self, "project")
|
|
70
70
|
|
|
@@ -88,7 +88,7 @@ class KafkaTopicArgs:
|
|
|
88
88
|
@pulumi.getter(name="serviceName")
|
|
89
89
|
def service_name(self) -> pulumi.Input[str]:
|
|
90
90
|
"""
|
|
91
|
-
|
|
91
|
+
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.
|
|
92
92
|
"""
|
|
93
93
|
return pulumi.get(self, "service_name")
|
|
94
94
|
|
|
@@ -112,7 +112,7 @@ class KafkaTopicArgs:
|
|
|
112
112
|
@pulumi.getter
|
|
113
113
|
def config(self) -> Optional[pulumi.Input['KafkaTopicConfigArgs']]:
|
|
114
114
|
"""
|
|
115
|
-
Kafka topic configuration
|
|
115
|
+
Kafka topic configuration
|
|
116
116
|
"""
|
|
117
117
|
return pulumi.get(self, "config")
|
|
118
118
|
|
|
@@ -124,7 +124,7 @@ class KafkaTopicArgs:
|
|
|
124
124
|
@pulumi.getter
|
|
125
125
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]]]:
|
|
126
126
|
"""
|
|
127
|
-
|
|
127
|
+
Kafka Topic tag.
|
|
128
128
|
"""
|
|
129
129
|
return pulumi.get(self, "tags")
|
|
130
130
|
|
|
@@ -136,8 +136,8 @@ class KafkaTopicArgs:
|
|
|
136
136
|
@pulumi.getter(name="terminationProtection")
|
|
137
137
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
138
138
|
"""
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to
|
|
140
|
+
enable this for any production Kafka topic containing critical data.
|
|
141
141
|
"""
|
|
142
142
|
return pulumi.get(self, "termination_protection")
|
|
143
143
|
|
|
@@ -159,14 +159,14 @@ class _KafkaTopicState:
|
|
|
159
159
|
topic_name: Optional[pulumi.Input[str]] = None):
|
|
160
160
|
"""
|
|
161
161
|
Input properties used for looking up and filtering KafkaTopic resources.
|
|
162
|
-
:param pulumi.Input['KafkaTopicConfigArgs'] config: Kafka topic configuration
|
|
162
|
+
:param pulumi.Input['KafkaTopicConfigArgs'] config: Kafka topic configuration
|
|
163
163
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
164
|
-
:param pulumi.Input[str] project:
|
|
164
|
+
: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.
|
|
165
165
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
166
|
-
:param pulumi.Input[str] service_name:
|
|
167
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]] tags:
|
|
168
|
-
:param pulumi.Input[bool] termination_protection:
|
|
169
|
-
|
|
166
|
+
: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.
|
|
167
|
+
:param pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]] tags: Kafka Topic tag.
|
|
168
|
+
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to
|
|
169
|
+
enable this for any production Kafka topic containing critical data.
|
|
170
170
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
171
171
|
"""
|
|
172
172
|
if config is not None:
|
|
@@ -190,7 +190,7 @@ class _KafkaTopicState:
|
|
|
190
190
|
@pulumi.getter
|
|
191
191
|
def config(self) -> Optional[pulumi.Input['KafkaTopicConfigArgs']]:
|
|
192
192
|
"""
|
|
193
|
-
Kafka topic configuration
|
|
193
|
+
Kafka topic configuration
|
|
194
194
|
"""
|
|
195
195
|
return pulumi.get(self, "config")
|
|
196
196
|
|
|
@@ -214,7 +214,7 @@ class _KafkaTopicState:
|
|
|
214
214
|
@pulumi.getter
|
|
215
215
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
216
216
|
"""
|
|
217
|
-
|
|
217
|
+
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.
|
|
218
218
|
"""
|
|
219
219
|
return pulumi.get(self, "project")
|
|
220
220
|
|
|
@@ -238,7 +238,7 @@ class _KafkaTopicState:
|
|
|
238
238
|
@pulumi.getter(name="serviceName")
|
|
239
239
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
240
240
|
"""
|
|
241
|
-
|
|
241
|
+
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.
|
|
242
242
|
"""
|
|
243
243
|
return pulumi.get(self, "service_name")
|
|
244
244
|
|
|
@@ -250,7 +250,7 @@ class _KafkaTopicState:
|
|
|
250
250
|
@pulumi.getter
|
|
251
251
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTopicTagArgs']]]]:
|
|
252
252
|
"""
|
|
253
|
-
|
|
253
|
+
Kafka Topic tag.
|
|
254
254
|
"""
|
|
255
255
|
return pulumi.get(self, "tags")
|
|
256
256
|
|
|
@@ -262,8 +262,8 @@ class _KafkaTopicState:
|
|
|
262
262
|
@pulumi.getter(name="terminationProtection")
|
|
263
263
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
264
264
|
"""
|
|
265
|
-
|
|
266
|
-
|
|
265
|
+
It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to
|
|
266
|
+
enable this for any production Kafka topic containing critical data.
|
|
267
267
|
"""
|
|
268
268
|
return pulumi.get(self, "termination_protection")
|
|
269
269
|
|
|
@@ -299,43 +299,24 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
299
299
|
topic_name: Optional[pulumi.Input[str]] = None,
|
|
300
300
|
__props__=None):
|
|
301
301
|
"""
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
## Example Usage
|
|
305
|
-
|
|
306
|
-
```python
|
|
307
|
-
import pulumi
|
|
308
|
-
import pulumi_aiven as aiven
|
|
309
|
-
|
|
310
|
-
example_topic = aiven.KafkaTopic("example_topic",
|
|
311
|
-
project=example_project["project"],
|
|
312
|
-
service_name=example_kafka["serviceName"],
|
|
313
|
-
topic_name="example-topic",
|
|
314
|
-
partitions=5,
|
|
315
|
-
replication=3,
|
|
316
|
-
termination_protection=True,
|
|
317
|
-
config=aiven.KafkaTopicConfigArgs(
|
|
318
|
-
flush_ms="10",
|
|
319
|
-
cleanup_policy="compact,delete",
|
|
320
|
-
))
|
|
321
|
-
```
|
|
302
|
+
The Kafka Topic resource allows the creation and management of Aiven Kafka Topics.
|
|
322
303
|
|
|
323
304
|
## Import
|
|
324
305
|
|
|
325
306
|
```sh
|
|
326
|
-
$ pulumi import aiven:index/kafkaTopic:KafkaTopic
|
|
307
|
+
$ pulumi import aiven:index/kafkaTopic:KafkaTopic mytesttopic project/service_name/topic_name
|
|
327
308
|
```
|
|
328
309
|
|
|
329
310
|
:param str resource_name: The name of the resource.
|
|
330
311
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
331
|
-
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config: Kafka topic configuration
|
|
312
|
+
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config: Kafka topic configuration
|
|
332
313
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
333
|
-
:param pulumi.Input[str] project:
|
|
314
|
+
: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.
|
|
334
315
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
335
|
-
:param pulumi.Input[str] service_name:
|
|
336
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags:
|
|
337
|
-
:param pulumi.Input[bool] termination_protection:
|
|
338
|
-
|
|
316
|
+
: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.
|
|
317
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags: Kafka Topic tag.
|
|
318
|
+
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to
|
|
319
|
+
enable this for any production Kafka topic containing critical data.
|
|
339
320
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
340
321
|
"""
|
|
341
322
|
...
|
|
@@ -345,31 +326,12 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
345
326
|
args: KafkaTopicArgs,
|
|
346
327
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
347
328
|
"""
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
## Example Usage
|
|
351
|
-
|
|
352
|
-
```python
|
|
353
|
-
import pulumi
|
|
354
|
-
import pulumi_aiven as aiven
|
|
355
|
-
|
|
356
|
-
example_topic = aiven.KafkaTopic("example_topic",
|
|
357
|
-
project=example_project["project"],
|
|
358
|
-
service_name=example_kafka["serviceName"],
|
|
359
|
-
topic_name="example-topic",
|
|
360
|
-
partitions=5,
|
|
361
|
-
replication=3,
|
|
362
|
-
termination_protection=True,
|
|
363
|
-
config=aiven.KafkaTopicConfigArgs(
|
|
364
|
-
flush_ms="10",
|
|
365
|
-
cleanup_policy="compact,delete",
|
|
366
|
-
))
|
|
367
|
-
```
|
|
329
|
+
The Kafka Topic resource allows the creation and management of Aiven Kafka Topics.
|
|
368
330
|
|
|
369
331
|
## Import
|
|
370
332
|
|
|
371
333
|
```sh
|
|
372
|
-
$ pulumi import aiven:index/kafkaTopic:KafkaTopic
|
|
334
|
+
$ pulumi import aiven:index/kafkaTopic:KafkaTopic mytesttopic project/service_name/topic_name
|
|
373
335
|
```
|
|
374
336
|
|
|
375
337
|
:param str resource_name: The name of the resource.
|
|
@@ -447,14 +409,14 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
447
409
|
:param str resource_name: The unique name of the resulting resource.
|
|
448
410
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
449
411
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
450
|
-
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config: Kafka topic configuration
|
|
412
|
+
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config: Kafka topic configuration
|
|
451
413
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
452
|
-
:param pulumi.Input[str] project:
|
|
414
|
+
: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.
|
|
453
415
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
454
|
-
:param pulumi.Input[str] service_name:
|
|
455
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags:
|
|
456
|
-
:param pulumi.Input[bool] termination_protection:
|
|
457
|
-
|
|
416
|
+
: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.
|
|
417
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags: Kafka Topic tag.
|
|
418
|
+
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to
|
|
419
|
+
enable this for any production Kafka topic containing critical data.
|
|
458
420
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
459
421
|
"""
|
|
460
422
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -475,7 +437,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
475
437
|
@pulumi.getter
|
|
476
438
|
def config(self) -> pulumi.Output[Optional['outputs.KafkaTopicConfig']]:
|
|
477
439
|
"""
|
|
478
|
-
Kafka topic configuration
|
|
440
|
+
Kafka topic configuration
|
|
479
441
|
"""
|
|
480
442
|
return pulumi.get(self, "config")
|
|
481
443
|
|
|
@@ -491,7 +453,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
491
453
|
@pulumi.getter
|
|
492
454
|
def project(self) -> pulumi.Output[str]:
|
|
493
455
|
"""
|
|
494
|
-
|
|
456
|
+
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.
|
|
495
457
|
"""
|
|
496
458
|
return pulumi.get(self, "project")
|
|
497
459
|
|
|
@@ -507,7 +469,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
507
469
|
@pulumi.getter(name="serviceName")
|
|
508
470
|
def service_name(self) -> pulumi.Output[str]:
|
|
509
471
|
"""
|
|
510
|
-
|
|
472
|
+
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.
|
|
511
473
|
"""
|
|
512
474
|
return pulumi.get(self, "service_name")
|
|
513
475
|
|
|
@@ -515,7 +477,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
515
477
|
@pulumi.getter
|
|
516
478
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.KafkaTopicTag']]]:
|
|
517
479
|
"""
|
|
518
|
-
|
|
480
|
+
Kafka Topic tag.
|
|
519
481
|
"""
|
|
520
482
|
return pulumi.get(self, "tags")
|
|
521
483
|
|
|
@@ -523,8 +485,8 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
523
485
|
@pulumi.getter(name="terminationProtection")
|
|
524
486
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
525
487
|
"""
|
|
526
|
-
|
|
527
|
-
|
|
488
|
+
It is a Terraform client-side deletion protection, which prevents a Kafka topic from being deleted. It is recommended to
|
|
489
|
+
enable this for any production Kafka topic containing critical data.
|
|
528
490
|
"""
|
|
529
491
|
return pulumi.get(self, "termination_protection")
|
|
530
492
|
|
pulumi_aiven/kafka_user.py
CHANGED
|
@@ -20,8 +20,8 @@ class KafkaUserArgs:
|
|
|
20
20
|
password: Optional[pulumi.Input[str]] = None):
|
|
21
21
|
"""
|
|
22
22
|
The set of arguments for constructing a KafkaUser 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 Kafka 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 Kafka User.
|
|
27
27
|
"""
|
|
@@ -35,7 +35,7 @@ class KafkaUserArgs:
|
|
|
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 KafkaUserArgs:
|
|
|
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
|
|
|
@@ -95,8 +95,8 @@ class _KafkaUserState:
|
|
|
95
95
|
:param pulumi.Input[str] access_cert: Access certificate for the user
|
|
96
96
|
:param pulumi.Input[str] access_key: Access certificate key for the user
|
|
97
97
|
:param pulumi.Input[str] password: The password of the Kafka User.
|
|
98
|
-
:param pulumi.Input[str] project:
|
|
99
|
-
:param pulumi.Input[str] service_name:
|
|
98
|
+
: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.
|
|
99
|
+
: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.
|
|
100
100
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
101
101
|
:param pulumi.Input[str] username: The actual name of the Kafka User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
102
102
|
"""
|
|
@@ -155,7 +155,7 @@ class _KafkaUserState:
|
|
|
155
155
|
@pulumi.getter
|
|
156
156
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
157
157
|
"""
|
|
158
|
-
|
|
158
|
+
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.
|
|
159
159
|
"""
|
|
160
160
|
return pulumi.get(self, "project")
|
|
161
161
|
|
|
@@ -167,7 +167,7 @@ class _KafkaUserState:
|
|
|
167
167
|
@pulumi.getter(name="serviceName")
|
|
168
168
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
169
169
|
"""
|
|
170
|
-
|
|
170
|
+
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.
|
|
171
171
|
"""
|
|
172
172
|
return pulumi.get(self, "service_name")
|
|
173
173
|
|
|
@@ -215,28 +215,30 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
215
215
|
|
|
216
216
|
## Example Usage
|
|
217
217
|
|
|
218
|
+
<!--Start PulumiCodeChooser -->
|
|
218
219
|
```python
|
|
219
220
|
import pulumi
|
|
220
221
|
import pulumi_aiven as aiven
|
|
221
222
|
|
|
222
223
|
foo = aiven.KafkaUser("foo",
|
|
223
|
-
service_name=bar["
|
|
224
|
+
service_name=aiven_kafka["bar"]["service_name"],
|
|
224
225
|
project="my-project",
|
|
225
226
|
username="user-1",
|
|
226
227
|
password="Test$1234")
|
|
227
228
|
```
|
|
229
|
+
<!--End PulumiCodeChooser -->
|
|
228
230
|
|
|
229
231
|
## Import
|
|
230
232
|
|
|
231
233
|
```sh
|
|
232
|
-
$ pulumi import aiven:index/kafkaUser:KafkaUser foo
|
|
234
|
+
$ pulumi import aiven:index/kafkaUser:KafkaUser foo project/service_name/username
|
|
233
235
|
```
|
|
234
236
|
|
|
235
237
|
:param str resource_name: The name of the resource.
|
|
236
238
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
237
239
|
:param pulumi.Input[str] password: The password of the Kafka User.
|
|
238
|
-
:param pulumi.Input[str] project:
|
|
239
|
-
:param pulumi.Input[str] service_name:
|
|
240
|
+
: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.
|
|
241
|
+
: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.
|
|
240
242
|
:param pulumi.Input[str] username: The actual name of the Kafka User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
241
243
|
"""
|
|
242
244
|
...
|
|
@@ -250,21 +252,23 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
250
252
|
|
|
251
253
|
## Example Usage
|
|
252
254
|
|
|
255
|
+
<!--Start PulumiCodeChooser -->
|
|
253
256
|
```python
|
|
254
257
|
import pulumi
|
|
255
258
|
import pulumi_aiven as aiven
|
|
256
259
|
|
|
257
260
|
foo = aiven.KafkaUser("foo",
|
|
258
|
-
service_name=bar["
|
|
261
|
+
service_name=aiven_kafka["bar"]["service_name"],
|
|
259
262
|
project="my-project",
|
|
260
263
|
username="user-1",
|
|
261
264
|
password="Test$1234")
|
|
262
265
|
```
|
|
266
|
+
<!--End PulumiCodeChooser -->
|
|
263
267
|
|
|
264
268
|
## Import
|
|
265
269
|
|
|
266
270
|
```sh
|
|
267
|
-
$ pulumi import aiven:index/kafkaUser:KafkaUser foo
|
|
271
|
+
$ pulumi import aiven:index/kafkaUser:KafkaUser foo project/service_name/username
|
|
268
272
|
```
|
|
269
273
|
|
|
270
274
|
:param str resource_name: The name of the resource.
|
|
@@ -337,8 +341,8 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
337
341
|
:param pulumi.Input[str] access_cert: Access certificate for the user
|
|
338
342
|
:param pulumi.Input[str] access_key: Access certificate key for the user
|
|
339
343
|
:param pulumi.Input[str] password: The password of the Kafka User.
|
|
340
|
-
:param pulumi.Input[str] project:
|
|
341
|
-
:param pulumi.Input[str] service_name:
|
|
344
|
+
: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.
|
|
345
|
+
: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.
|
|
342
346
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
343
347
|
:param pulumi.Input[str] username: The actual name of the Kafka User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
344
348
|
"""
|
|
@@ -383,7 +387,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
383
387
|
@pulumi.getter
|
|
384
388
|
def project(self) -> pulumi.Output[str]:
|
|
385
389
|
"""
|
|
386
|
-
|
|
390
|
+
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.
|
|
387
391
|
"""
|
|
388
392
|
return pulumi.get(self, "project")
|
|
389
393
|
|
|
@@ -391,7 +395,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
391
395
|
@pulumi.getter(name="serviceName")
|
|
392
396
|
def service_name(self) -> pulumi.Output[str]:
|
|
393
397
|
"""
|
|
394
|
-
|
|
398
|
+
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.
|
|
395
399
|
"""
|
|
396
400
|
return pulumi.get(self, "service_name")
|
|
397
401
|
|