pulumi-aiven 6.13.0a1711027602__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/__init__.py +28 -0
- pulumi_aiven/_inputs.py +2623 -1138
- pulumi_aiven/account.py +8 -8
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +27 -31
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +39 -43
- pulumi_aiven/aws_vpc_peering_connection.py +62 -56
- pulumi_aiven/azure_privatelink.py +49 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +131 -33
- pulumi_aiven/azure_vpc_peering_connection.py +76 -72
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +25 -29
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +31 -33
- pulumi_aiven/clickhouse_grant.py +56 -58
- pulumi_aiven/clickhouse_role.py +23 -27
- pulumi_aiven/clickhouse_user.py +25 -29
- pulumi_aiven/connection_pool.py +38 -42
- pulumi_aiven/dragonfly.py +1205 -0
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +28 -28
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +40 -40
- pulumi_aiven/gcp_privatelink_connection_approval.py +47 -47
- pulumi_aiven/gcp_vpc_peering_connection.py +39 -43
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +15 -19
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -27
- pulumi_aiven/get_azure_privatelink.py +17 -21
- pulumi_aiven/get_azure_vpc_peering_connection.py +50 -22
- 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 +13 -17
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +13 -17
- pulumi_aiven/get_clickhouse_user.py +13 -17
- pulumi_aiven/get_connection_pool.py +14 -18
- pulumi_aiven/get_dragonfly.py +450 -0
- 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 +18 -22
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +19 -23
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +13 -17
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +13 -17
- pulumi_aiven/get_kafka_schema_configuration.py +11 -15
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +19 -23
- pulumi_aiven/get_kafka_user.py +13 -17
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +13 -17
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +13 -17
- pulumi_aiven/get_mysql_user.py +13 -17
- 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 +16 -20
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +13 -17
- pulumi_aiven/get_organization.py +8 -12
- pulumi_aiven/get_organization_user_group.py +29 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +15 -19
- pulumi_aiven/get_pg_user.py +13 -17
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +11 -17
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +17 -21
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +75 -37
- pulumi_aiven/get_service_integration_endpoint.py +3 -7
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +11 -15
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +28 -28
- pulumi_aiven/influxdb_database.py +35 -35
- pulumi_aiven/influxdb_user.py +42 -42
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +41 -45
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +33 -37
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +51 -51
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +75 -35
- pulumi_aiven/kafka_topic.py +91 -53
- pulumi_aiven/kafka_user.py +25 -29
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +23 -27
- pulumi_aiven/mirror_maker_replication_flow.py +58 -60
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +27 -31
- pulumi_aiven/mysql_user.py +25 -29
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +50 -54
- pulumi_aiven/opensearch_security_plugin_config.py +64 -16
- pulumi_aiven/opensearch_user.py +25 -29
- pulumi_aiven/organization.py +10 -14
- pulumi_aiven/organization_group_project.py +336 -0
- pulumi_aiven/organization_user.py +16 -34
- pulumi_aiven/organization_user_group.py +59 -23
- pulumi_aiven/organization_user_group_member.py +350 -0
- pulumi_aiven/organizational_unit.py +36 -36
- pulumi_aiven/outputs.py +3539 -1136
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +41 -45
- pulumi_aiven/pg_user.py +25 -29
- pulumi_aiven/project.py +91 -69
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +49 -25
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +53 -57
- pulumi_aiven/service_integration.py +249 -65
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +25 -29
- {pulumi_aiven-6.13.0a1711027602.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.0a1711027602.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
|
@@ -21,11 +21,11 @@ class KafkaSchemaRegistryAclArgs:
|
|
|
21
21
|
username: pulumi.Input[str]):
|
|
22
22
|
"""
|
|
23
23
|
The set of arguments for constructing a KafkaSchemaRegistryAcl resource.
|
|
24
|
-
:param pulumi.Input[str] permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`.
|
|
25
|
-
:param pulumi.Input[str] project:
|
|
26
|
-
:param pulumi.Input[str] resource: Resource name pattern for the Schema Registry ACL entry.
|
|
27
|
-
:param pulumi.Input[str] service_name:
|
|
28
|
-
:param pulumi.Input[str] username: Username pattern for the ACL entry.
|
|
24
|
+
:param pulumi.Input[str] permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`. Changing this property forces recreation of the resource.
|
|
25
|
+
: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.
|
|
26
|
+
:param pulumi.Input[str] resource: Resource name pattern for the Schema Registry ACL entry. Changing this property forces recreation of the resource.
|
|
27
|
+
: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.
|
|
28
|
+
:param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
29
29
|
"""
|
|
30
30
|
pulumi.set(__self__, "permission", permission)
|
|
31
31
|
pulumi.set(__self__, "project", project)
|
|
@@ -37,7 +37,7 @@ class KafkaSchemaRegistryAclArgs:
|
|
|
37
37
|
@pulumi.getter
|
|
38
38
|
def permission(self) -> pulumi.Input[str]:
|
|
39
39
|
"""
|
|
40
|
-
Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`.
|
|
40
|
+
Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`. Changing this property forces recreation of the resource.
|
|
41
41
|
"""
|
|
42
42
|
return pulumi.get(self, "permission")
|
|
43
43
|
|
|
@@ -49,7 +49,7 @@ class KafkaSchemaRegistryAclArgs:
|
|
|
49
49
|
@pulumi.getter
|
|
50
50
|
def project(self) -> pulumi.Input[str]:
|
|
51
51
|
"""
|
|
52
|
-
|
|
52
|
+
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.
|
|
53
53
|
"""
|
|
54
54
|
return pulumi.get(self, "project")
|
|
55
55
|
|
|
@@ -61,7 +61,7 @@ class KafkaSchemaRegistryAclArgs:
|
|
|
61
61
|
@pulumi.getter
|
|
62
62
|
def resource(self) -> pulumi.Input[str]:
|
|
63
63
|
"""
|
|
64
|
-
Resource name pattern for the Schema Registry ACL entry.
|
|
64
|
+
Resource name pattern for the Schema Registry ACL entry. Changing this property forces recreation of the resource.
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "resource")
|
|
67
67
|
|
|
@@ -73,7 +73,7 @@ class KafkaSchemaRegistryAclArgs:
|
|
|
73
73
|
@pulumi.getter(name="serviceName")
|
|
74
74
|
def service_name(self) -> pulumi.Input[str]:
|
|
75
75
|
"""
|
|
76
|
-
|
|
76
|
+
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.
|
|
77
77
|
"""
|
|
78
78
|
return pulumi.get(self, "service_name")
|
|
79
79
|
|
|
@@ -85,7 +85,7 @@ class KafkaSchemaRegistryAclArgs:
|
|
|
85
85
|
@pulumi.getter
|
|
86
86
|
def username(self) -> pulumi.Input[str]:
|
|
87
87
|
"""
|
|
88
|
-
Username pattern for the ACL entry.
|
|
88
|
+
Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
89
89
|
"""
|
|
90
90
|
return pulumi.get(self, "username")
|
|
91
91
|
|
|
@@ -106,11 +106,11 @@ class _KafkaSchemaRegistryAclState:
|
|
|
106
106
|
"""
|
|
107
107
|
Input properties used for looking up and filtering KafkaSchemaRegistryAcl resources.
|
|
108
108
|
:param pulumi.Input[str] acl_id: Kafka Schema Registry ACL ID
|
|
109
|
-
:param pulumi.Input[str] permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`.
|
|
110
|
-
:param pulumi.Input[str] project:
|
|
111
|
-
:param pulumi.Input[str] resource: Resource name pattern for the Schema Registry ACL entry.
|
|
112
|
-
:param pulumi.Input[str] service_name:
|
|
113
|
-
:param pulumi.Input[str] username: Username pattern for the ACL entry.
|
|
109
|
+
:param pulumi.Input[str] permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`. Changing this property forces recreation of the resource.
|
|
110
|
+
: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.
|
|
111
|
+
:param pulumi.Input[str] resource: Resource name pattern for the Schema Registry ACL entry. Changing this property forces recreation of the resource.
|
|
112
|
+
: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.
|
|
113
|
+
:param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
114
114
|
"""
|
|
115
115
|
if acl_id is not None:
|
|
116
116
|
pulumi.set(__self__, "acl_id", acl_id)
|
|
@@ -141,7 +141,7 @@ class _KafkaSchemaRegistryAclState:
|
|
|
141
141
|
@pulumi.getter
|
|
142
142
|
def permission(self) -> Optional[pulumi.Input[str]]:
|
|
143
143
|
"""
|
|
144
|
-
Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`.
|
|
144
|
+
Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`. Changing this property forces recreation of the resource.
|
|
145
145
|
"""
|
|
146
146
|
return pulumi.get(self, "permission")
|
|
147
147
|
|
|
@@ -153,7 +153,7 @@ class _KafkaSchemaRegistryAclState:
|
|
|
153
153
|
@pulumi.getter
|
|
154
154
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
155
155
|
"""
|
|
156
|
-
|
|
156
|
+
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.
|
|
157
157
|
"""
|
|
158
158
|
return pulumi.get(self, "project")
|
|
159
159
|
|
|
@@ -165,7 +165,7 @@ class _KafkaSchemaRegistryAclState:
|
|
|
165
165
|
@pulumi.getter
|
|
166
166
|
def resource(self) -> Optional[pulumi.Input[str]]:
|
|
167
167
|
"""
|
|
168
|
-
Resource name pattern for the Schema Registry ACL entry.
|
|
168
|
+
Resource name pattern for the Schema Registry ACL entry. Changing this property forces recreation of the resource.
|
|
169
169
|
"""
|
|
170
170
|
return pulumi.get(self, "resource")
|
|
171
171
|
|
|
@@ -177,7 +177,7 @@ class _KafkaSchemaRegistryAclState:
|
|
|
177
177
|
@pulumi.getter(name="serviceName")
|
|
178
178
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
179
179
|
"""
|
|
180
|
-
|
|
180
|
+
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.
|
|
181
181
|
"""
|
|
182
182
|
return pulumi.get(self, "service_name")
|
|
183
183
|
|
|
@@ -189,7 +189,7 @@ class _KafkaSchemaRegistryAclState:
|
|
|
189
189
|
@pulumi.getter
|
|
190
190
|
def username(self) -> Optional[pulumi.Input[str]]:
|
|
191
191
|
"""
|
|
192
|
-
Username pattern for the ACL entry.
|
|
192
|
+
Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
193
193
|
"""
|
|
194
194
|
return pulumi.get(self, "username")
|
|
195
195
|
|
|
@@ -212,13 +212,33 @@ class KafkaSchemaRegistryAcl(pulumi.CustomResource):
|
|
|
212
212
|
"""
|
|
213
213
|
The Resource Kafka Schema Registry ACL resource allows the creation and management of Schema Registry ACLs for an Aiven Kafka service.
|
|
214
214
|
|
|
215
|
+
## Example Usage
|
|
216
|
+
|
|
217
|
+
```python
|
|
218
|
+
import pulumi
|
|
219
|
+
import pulumi_aiven as aiven
|
|
220
|
+
|
|
221
|
+
foo = aiven.KafkaSchemaRegistryAcl("foo",
|
|
222
|
+
project=kafka_schemas_project1["project"],
|
|
223
|
+
service_name=kafka_service1["serviceName"],
|
|
224
|
+
resource="Subject:topic-1",
|
|
225
|
+
username="group-user-*",
|
|
226
|
+
permission="schema_registry_read")
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
## Import
|
|
230
|
+
|
|
231
|
+
```sh
|
|
232
|
+
$ pulumi import aiven:index/kafkaSchemaRegistryAcl:KafkaSchemaRegistryAcl foo PROJECT/SERVICE_NAME
|
|
233
|
+
```
|
|
234
|
+
|
|
215
235
|
:param str resource_name: The name of the resource.
|
|
216
236
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
217
|
-
:param pulumi.Input[str] permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`.
|
|
218
|
-
:param pulumi.Input[str] project:
|
|
219
|
-
:param pulumi.Input[str] resource: Resource name pattern for the Schema Registry ACL entry.
|
|
220
|
-
:param pulumi.Input[str] service_name:
|
|
221
|
-
:param pulumi.Input[str] username: Username pattern for the ACL entry.
|
|
237
|
+
:param pulumi.Input[str] permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`. Changing this property forces recreation of the resource.
|
|
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] resource: Resource name pattern for the Schema Registry ACL entry. Changing this property forces recreation of the resource.
|
|
240
|
+
: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.
|
|
241
|
+
:param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
222
242
|
"""
|
|
223
243
|
...
|
|
224
244
|
@overload
|
|
@@ -229,6 +249,26 @@ class KafkaSchemaRegistryAcl(pulumi.CustomResource):
|
|
|
229
249
|
"""
|
|
230
250
|
The Resource Kafka Schema Registry ACL resource allows the creation and management of Schema Registry ACLs for an Aiven Kafka service.
|
|
231
251
|
|
|
252
|
+
## Example Usage
|
|
253
|
+
|
|
254
|
+
```python
|
|
255
|
+
import pulumi
|
|
256
|
+
import pulumi_aiven as aiven
|
|
257
|
+
|
|
258
|
+
foo = aiven.KafkaSchemaRegistryAcl("foo",
|
|
259
|
+
project=kafka_schemas_project1["project"],
|
|
260
|
+
service_name=kafka_service1["serviceName"],
|
|
261
|
+
resource="Subject:topic-1",
|
|
262
|
+
username="group-user-*",
|
|
263
|
+
permission="schema_registry_read")
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
## Import
|
|
267
|
+
|
|
268
|
+
```sh
|
|
269
|
+
$ pulumi import aiven:index/kafkaSchemaRegistryAcl:KafkaSchemaRegistryAcl foo PROJECT/SERVICE_NAME
|
|
270
|
+
```
|
|
271
|
+
|
|
232
272
|
:param str resource_name: The name of the resource.
|
|
233
273
|
:param KafkaSchemaRegistryAclArgs args: The arguments to use to populate this resource's properties.
|
|
234
274
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -298,11 +338,11 @@ class KafkaSchemaRegistryAcl(pulumi.CustomResource):
|
|
|
298
338
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
299
339
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
300
340
|
:param pulumi.Input[str] acl_id: Kafka Schema Registry ACL ID
|
|
301
|
-
:param pulumi.Input[str] permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`.
|
|
302
|
-
:param pulumi.Input[str] project:
|
|
303
|
-
:param pulumi.Input[str] resource: Resource name pattern for the Schema Registry ACL entry.
|
|
304
|
-
:param pulumi.Input[str] service_name:
|
|
305
|
-
:param pulumi.Input[str] username: Username pattern for the ACL entry.
|
|
341
|
+
:param pulumi.Input[str] permission: Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`. Changing this property forces recreation of the resource.
|
|
342
|
+
: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.
|
|
343
|
+
:param pulumi.Input[str] resource: Resource name pattern for the Schema Registry ACL entry. Changing this property forces recreation of the resource.
|
|
344
|
+
: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.
|
|
345
|
+
:param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
306
346
|
"""
|
|
307
347
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
308
348
|
|
|
@@ -328,7 +368,7 @@ class KafkaSchemaRegistryAcl(pulumi.CustomResource):
|
|
|
328
368
|
@pulumi.getter
|
|
329
369
|
def permission(self) -> pulumi.Output[str]:
|
|
330
370
|
"""
|
|
331
|
-
Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`.
|
|
371
|
+
Kafka Schema Registry permission to grant. The possible values are `schema_registry_read` and `schema_registry_write`. Changing this property forces recreation of the resource.
|
|
332
372
|
"""
|
|
333
373
|
return pulumi.get(self, "permission")
|
|
334
374
|
|
|
@@ -336,7 +376,7 @@ class KafkaSchemaRegistryAcl(pulumi.CustomResource):
|
|
|
336
376
|
@pulumi.getter
|
|
337
377
|
def project(self) -> pulumi.Output[str]:
|
|
338
378
|
"""
|
|
339
|
-
|
|
379
|
+
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.
|
|
340
380
|
"""
|
|
341
381
|
return pulumi.get(self, "project")
|
|
342
382
|
|
|
@@ -344,7 +384,7 @@ class KafkaSchemaRegistryAcl(pulumi.CustomResource):
|
|
|
344
384
|
@pulumi.getter
|
|
345
385
|
def resource(self) -> pulumi.Output[str]:
|
|
346
386
|
"""
|
|
347
|
-
Resource name pattern for the Schema Registry ACL entry.
|
|
387
|
+
Resource name pattern for the Schema Registry ACL entry. Changing this property forces recreation of the resource.
|
|
348
388
|
"""
|
|
349
389
|
return pulumi.get(self, "resource")
|
|
350
390
|
|
|
@@ -352,7 +392,7 @@ class KafkaSchemaRegistryAcl(pulumi.CustomResource):
|
|
|
352
392
|
@pulumi.getter(name="serviceName")
|
|
353
393
|
def service_name(self) -> pulumi.Output[str]:
|
|
354
394
|
"""
|
|
355
|
-
|
|
395
|
+
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.
|
|
356
396
|
"""
|
|
357
397
|
return pulumi.get(self, "service_name")
|
|
358
398
|
|
|
@@ -360,7 +400,7 @@ class KafkaSchemaRegistryAcl(pulumi.CustomResource):
|
|
|
360
400
|
@pulumi.getter
|
|
361
401
|
def username(self) -> pulumi.Output[str]:
|
|
362
402
|
"""
|
|
363
|
-
Username pattern for the ACL entry.
|
|
403
|
+
Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
364
404
|
"""
|
|
365
405
|
return pulumi.get(self, "username")
|
|
366
406
|
|
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:
|
|
33
|
-
:param pulumi.Input[str] topic_name: The name of the topic.
|
|
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
|
-
|
|
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
|
+
: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: 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
|
|
|
@@ -100,7 +100,7 @@ class KafkaTopicArgs:
|
|
|
100
100
|
@pulumi.getter(name="topicName")
|
|
101
101
|
def topic_name(self) -> pulumi.Input[str]:
|
|
102
102
|
"""
|
|
103
|
-
The name of the topic.
|
|
103
|
+
The name of the topic. Changing this property forces recreation of the resource.
|
|
104
104
|
"""
|
|
105
105
|
return pulumi.get(self, "topic_name")
|
|
106
106
|
|
|
@@ -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,15 +159,15 @@ 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
|
-
|
|
170
|
-
:param pulumi.Input[str] topic_name: The name of the topic.
|
|
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
|
+
: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:
|
|
173
173
|
pulumi.set(__self__, "config", config)
|
|
@@ -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
|
|
|
@@ -275,7 +275,7 @@ class _KafkaTopicState:
|
|
|
275
275
|
@pulumi.getter(name="topicName")
|
|
276
276
|
def topic_name(self) -> Optional[pulumi.Input[str]]:
|
|
277
277
|
"""
|
|
278
|
-
The name of the topic.
|
|
278
|
+
The name of the topic. Changing this property forces recreation of the resource.
|
|
279
279
|
"""
|
|
280
280
|
return pulumi.get(self, "topic_name")
|
|
281
281
|
|
|
@@ -299,25 +299,44 @@ 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
|
-
|
|
320
|
-
:param pulumi.Input[str] topic_name: The name of the topic.
|
|
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.**
|
|
339
|
+
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
321
340
|
"""
|
|
322
341
|
...
|
|
323
342
|
@overload
|
|
@@ -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,15 +447,15 @@ 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
|
-
|
|
420
|
-
:param pulumi.Input[str] topic_name: The name of the topic.
|
|
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.**
|
|
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))
|
|
423
461
|
|
|
@@ -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
|
|
|
@@ -494,7 +532,7 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
494
532
|
@pulumi.getter(name="topicName")
|
|
495
533
|
def topic_name(self) -> pulumi.Output[str]:
|
|
496
534
|
"""
|
|
497
|
-
The name of the topic.
|
|
535
|
+
The name of the topic. Changing this property forces recreation of the resource.
|
|
498
536
|
"""
|
|
499
537
|
return pulumi.get(self, "topic_name")
|
|
500
538
|
|