pulumi-aiven 6.13.0a1711361534__py3-none-any.whl → 6.14.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +200 -262
- pulumi_aiven/account.py +2 -6
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +6 -10
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +18 -22
- pulumi_aiven/aws_vpc_peering_connection.py +8 -12
- pulumi_aiven/azure_privatelink.py +18 -22
- pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
- pulumi_aiven/azure_vpc_peering_connection.py +6 -10
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +18 -22
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +24 -26
- pulumi_aiven/clickhouse_grant.py +35 -37
- pulumi_aiven/clickhouse_role.py +16 -20
- pulumi_aiven/clickhouse_user.py +18 -22
- pulumi_aiven/connection_pool.py +24 -28
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_aws_privatelink.py +10 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
- pulumi_aiven/get_azure_privatelink.py +10 -14
- pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +7 -24
- pulumi_aiven/get_cassandra.py +7 -24
- pulumi_aiven/get_cassandra_user.py +10 -14
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +10 -14
- pulumi_aiven/get_clickhouse_user.py +10 -14
- pulumi_aiven/get_connection_pool.py +10 -14
- pulumi_aiven/get_dragonfly.py +27 -20
- pulumi_aiven/get_flink.py +6 -10
- pulumi_aiven/get_flink_application.py +8 -12
- pulumi_aiven/get_flink_application_version.py +8 -12
- pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +10 -14
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +10 -14
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +10 -14
- pulumi_aiven/get_kafka_schema_configuration.py +10 -14
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -20
- pulumi_aiven/get_kafka_user.py +10 -14
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +10 -14
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +10 -14
- pulumi_aiven/get_mysql_user.py +10 -14
- pulumi_aiven/get_open_search.py +6 -10
- pulumi_aiven/get_open_search_acl_config.py +10 -14
- pulumi_aiven/get_open_search_acl_rule.py +10 -14
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +10 -14
- pulumi_aiven/get_organization.py +0 -4
- pulumi_aiven/get_organization_user_group.py +2 -6
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +10 -14
- pulumi_aiven/get_pg_user.py +10 -14
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +2 -6
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +10 -14
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +19 -33
- pulumi_aiven/get_service_integration_endpoint.py +2 -6
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
- pulumi_aiven/grafana.py +82 -267
- 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 +50 -54
- pulumi_aiven/kafka_acl.py +20 -24
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +26 -30
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +18 -22
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +84 -46
- pulumi_aiven/kafka_user.py +18 -22
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +16 -20
- pulumi_aiven/mirror_maker_replication_flow.py +22 -26
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +20 -24
- pulumi_aiven/mysql_user.py +18 -22
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +36 -40
- pulumi_aiven/opensearch_security_plugin_config.py +28 -32
- pulumi_aiven/opensearch_user.py +18 -22
- pulumi_aiven/organization.py +2 -6
- pulumi_aiven/organization_group_project.py +46 -0
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/organization_user_group.py +4 -6
- pulumi_aiven/organization_user_group_member.py +8 -10
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +271 -390
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +20 -24
- pulumi_aiven/pg_user.py +18 -22
- pulumi_aiven/project.py +75 -79
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +31 -7
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +18 -22
- pulumi_aiven/service_integration.py +54 -58
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
- pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +0 -150
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.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: 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.
|
|
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: 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: Kafka
|
|
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: 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
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
|
+
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.
|
|
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
|
+
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
|
-
Kafka
|
|
127
|
+
Tags for the Kafka topic.
|
|
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
|
+
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
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: 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.
|
|
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: Kafka
|
|
168
|
-
:param pulumi.Input[bool] termination_protection:
|
|
169
|
-
|
|
166
|
+
: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
|
+
: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
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
|
+
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.
|
|
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
|
+
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
|
-
Kafka
|
|
253
|
+
Tags for the Kafka topic.
|
|
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
|
+
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
267
|
"""
|
|
268
268
|
return pulumi.get(self, "termination_protection")
|
|
269
269
|
|
|
@@ -299,24 +299,43 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
299
299
|
topic_name: Optional[pulumi.Input[str]] = None,
|
|
300
300
|
__props__=None):
|
|
301
301
|
"""
|
|
302
|
-
|
|
302
|
+
Creates and manages an Aiven for Apache Kafka® topic.
|
|
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
|
+
```
|
|
303
322
|
|
|
304
323
|
## Import
|
|
305
324
|
|
|
306
325
|
```sh
|
|
307
|
-
$ pulumi import aiven:index/kafkaTopic:KafkaTopic
|
|
326
|
+
$ pulumi import aiven:index/kafkaTopic:KafkaTopic example_topic PROJECT/SERVICE_NAME/TOPIC_NAME
|
|
308
327
|
```
|
|
309
328
|
|
|
310
329
|
:param str resource_name: The name of the resource.
|
|
311
330
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
312
|
-
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config: Kafka topic configuration
|
|
331
|
+
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config: Kafka topic configuration.
|
|
313
332
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
314
|
-
:param pulumi.Input[str] project:
|
|
333
|
+
: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.
|
|
315
334
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
316
|
-
:param pulumi.Input[str] service_name:
|
|
317
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags: Kafka
|
|
318
|
-
:param pulumi.Input[bool] termination_protection:
|
|
319
|
-
|
|
335
|
+
: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
|
+
: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.**
|
|
320
339
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
321
340
|
"""
|
|
322
341
|
...
|
|
@@ -326,12 +345,31 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
326
345
|
args: KafkaTopicArgs,
|
|
327
346
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
328
347
|
"""
|
|
329
|
-
|
|
348
|
+
Creates and manages an Aiven for Apache Kafka® topic.
|
|
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
|
+
```
|
|
330
368
|
|
|
331
369
|
## Import
|
|
332
370
|
|
|
333
371
|
```sh
|
|
334
|
-
$ pulumi import aiven:index/kafkaTopic:KafkaTopic
|
|
372
|
+
$ pulumi import aiven:index/kafkaTopic:KafkaTopic example_topic PROJECT/SERVICE_NAME/TOPIC_NAME
|
|
335
373
|
```
|
|
336
374
|
|
|
337
375
|
:param str resource_name: The name of the resource.
|
|
@@ -409,14 +447,14 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
409
447
|
:param str resource_name: The unique name of the resulting resource.
|
|
410
448
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
411
449
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
412
|
-
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config: Kafka topic configuration
|
|
450
|
+
:param pulumi.Input[pulumi.InputType['KafkaTopicConfigArgs']] config: Kafka topic configuration.
|
|
413
451
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
414
|
-
:param pulumi.Input[str] project:
|
|
452
|
+
: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.
|
|
415
453
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
416
|
-
:param pulumi.Input[str] service_name:
|
|
417
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTopicTagArgs']]]] tags: Kafka
|
|
418
|
-
:param pulumi.Input[bool] termination_protection:
|
|
419
|
-
|
|
454
|
+
: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
|
+
: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.**
|
|
420
458
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
421
459
|
"""
|
|
422
460
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -437,7 +475,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
437
475
|
@pulumi.getter
|
|
438
476
|
def config(self) -> pulumi.Output[Optional['outputs.KafkaTopicConfig']]:
|
|
439
477
|
"""
|
|
440
|
-
Kafka topic configuration
|
|
478
|
+
Kafka topic configuration.
|
|
441
479
|
"""
|
|
442
480
|
return pulumi.get(self, "config")
|
|
443
481
|
|
|
@@ -453,7 +491,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
453
491
|
@pulumi.getter
|
|
454
492
|
def project(self) -> pulumi.Output[str]:
|
|
455
493
|
"""
|
|
456
|
-
|
|
494
|
+
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.
|
|
457
495
|
"""
|
|
458
496
|
return pulumi.get(self, "project")
|
|
459
497
|
|
|
@@ -469,7 +507,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
469
507
|
@pulumi.getter(name="serviceName")
|
|
470
508
|
def service_name(self) -> pulumi.Output[str]:
|
|
471
509
|
"""
|
|
472
|
-
|
|
510
|
+
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.
|
|
473
511
|
"""
|
|
474
512
|
return pulumi.get(self, "service_name")
|
|
475
513
|
|
|
@@ -477,7 +515,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
477
515
|
@pulumi.getter
|
|
478
516
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.KafkaTopicTag']]]:
|
|
479
517
|
"""
|
|
480
|
-
Kafka
|
|
518
|
+
Tags for the Kafka topic.
|
|
481
519
|
"""
|
|
482
520
|
return pulumi.get(self, "tags")
|
|
483
521
|
|
|
@@ -485,8 +523,8 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
485
523
|
@pulumi.getter(name="terminationProtection")
|
|
486
524
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
487
525
|
"""
|
|
488
|
-
|
|
489
|
-
|
|
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.**
|
|
490
528
|
"""
|
|
491
529
|
return pulumi.get(self, "termination_protection")
|
|
492
530
|
|
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: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
24
|
+
:param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
25
25
|
:param pulumi.Input[str] username: The actual name of the 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
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
39
39
|
"""
|
|
40
40
|
return pulumi.get(self, "project")
|
|
41
41
|
|
|
@@ -47,7 +47,7 @@ class KafkaUserArgs:
|
|
|
47
47
|
@pulumi.getter(name="serviceName")
|
|
48
48
|
def service_name(self) -> pulumi.Input[str]:
|
|
49
49
|
"""
|
|
50
|
-
|
|
50
|
+
The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
51
51
|
"""
|
|
52
52
|
return pulumi.get(self, "service_name")
|
|
53
53
|
|
|
@@ -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: 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
|
+
: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
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
|
+
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.
|
|
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
|
+
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,30 +215,28 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
215
215
|
|
|
216
216
|
## Example Usage
|
|
217
217
|
|
|
218
|
-
<!--Start PulumiCodeChooser -->
|
|
219
218
|
```python
|
|
220
219
|
import pulumi
|
|
221
220
|
import pulumi_aiven as aiven
|
|
222
221
|
|
|
223
222
|
foo = aiven.KafkaUser("foo",
|
|
224
|
-
service_name=
|
|
223
|
+
service_name=bar["serviceName"],
|
|
225
224
|
project="my-project",
|
|
226
225
|
username="user-1",
|
|
227
226
|
password="Test$1234")
|
|
228
227
|
```
|
|
229
|
-
<!--End PulumiCodeChooser -->
|
|
230
228
|
|
|
231
229
|
## Import
|
|
232
230
|
|
|
233
231
|
```sh
|
|
234
|
-
$ pulumi import aiven:index/kafkaUser:KafkaUser foo
|
|
232
|
+
$ pulumi import aiven:index/kafkaUser:KafkaUser foo PROJECT/SERVICE_NAME/USERNAME
|
|
235
233
|
```
|
|
236
234
|
|
|
237
235
|
:param str resource_name: The name of the resource.
|
|
238
236
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
239
237
|
:param pulumi.Input[str] password: The password of the Kafka User.
|
|
240
|
-
:param pulumi.Input[str] project:
|
|
241
|
-
:param pulumi.Input[str] service_name:
|
|
238
|
+
: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.
|
|
239
|
+
: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.
|
|
242
240
|
: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.
|
|
243
241
|
"""
|
|
244
242
|
...
|
|
@@ -252,23 +250,21 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
252
250
|
|
|
253
251
|
## Example Usage
|
|
254
252
|
|
|
255
|
-
<!--Start PulumiCodeChooser -->
|
|
256
253
|
```python
|
|
257
254
|
import pulumi
|
|
258
255
|
import pulumi_aiven as aiven
|
|
259
256
|
|
|
260
257
|
foo = aiven.KafkaUser("foo",
|
|
261
|
-
service_name=
|
|
258
|
+
service_name=bar["serviceName"],
|
|
262
259
|
project="my-project",
|
|
263
260
|
username="user-1",
|
|
264
261
|
password="Test$1234")
|
|
265
262
|
```
|
|
266
|
-
<!--End PulumiCodeChooser -->
|
|
267
263
|
|
|
268
264
|
## Import
|
|
269
265
|
|
|
270
266
|
```sh
|
|
271
|
-
$ pulumi import aiven:index/kafkaUser:KafkaUser foo
|
|
267
|
+
$ pulumi import aiven:index/kafkaUser:KafkaUser foo PROJECT/SERVICE_NAME/USERNAME
|
|
272
268
|
```
|
|
273
269
|
|
|
274
270
|
:param str resource_name: The name of the resource.
|
|
@@ -341,8 +337,8 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
341
337
|
:param pulumi.Input[str] access_cert: Access certificate for the user
|
|
342
338
|
:param pulumi.Input[str] access_key: Access certificate key for the user
|
|
343
339
|
:param pulumi.Input[str] password: The password of the Kafka User.
|
|
344
|
-
:param pulumi.Input[str] project:
|
|
345
|
-
:param pulumi.Input[str] service_name:
|
|
340
|
+
: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.
|
|
341
|
+
: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.
|
|
346
342
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
347
343
|
: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.
|
|
348
344
|
"""
|
|
@@ -387,7 +383,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
387
383
|
@pulumi.getter
|
|
388
384
|
def project(self) -> pulumi.Output[str]:
|
|
389
385
|
"""
|
|
390
|
-
|
|
386
|
+
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.
|
|
391
387
|
"""
|
|
392
388
|
return pulumi.get(self, "project")
|
|
393
389
|
|
|
@@ -395,7 +391,7 @@ class KafkaUser(pulumi.CustomResource):
|
|
|
395
391
|
@pulumi.getter(name="serviceName")
|
|
396
392
|
def service_name(self) -> pulumi.Output[str]:
|
|
397
393
|
"""
|
|
398
|
-
|
|
394
|
+
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.
|
|
399
395
|
"""
|
|
400
396
|
return pulumi.get(self, "service_name")
|
|
401
397
|
|