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.py
CHANGED
|
@@ -36,21 +36,21 @@ class KafkaArgs:
|
|
|
36
36
|
"""
|
|
37
37
|
The set of arguments for constructing a Kafka resource.
|
|
38
38
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
39
|
-
:param pulumi.Input[str] project:
|
|
39
|
+
: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.
|
|
40
40
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
41
41
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
42
42
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
43
|
-
:param pulumi.Input[bool] default_acl: Create default wildcard Kafka ACL
|
|
43
|
+
:param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
|
|
44
44
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
45
45
|
:param pulumi.Input['KafkaKafkaUserConfigArgs'] kafka_user_config: Kafka user configurable settings
|
|
46
|
-
:param pulumi.Input[bool] karapace: Switch the service to use Karapace for schema registry and REST proxy
|
|
46
|
+
:param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
47
47
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
48
48
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
49
49
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
50
50
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
51
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
51
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
52
52
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]] tech_emails:
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
54
54
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
55
55
|
"""
|
|
56
56
|
pulumi.set(__self__, "plan", plan)
|
|
@@ -107,7 +107,7 @@ class KafkaArgs:
|
|
|
107
107
|
@pulumi.getter
|
|
108
108
|
def project(self) -> pulumi.Input[str]:
|
|
109
109
|
"""
|
|
110
|
-
|
|
110
|
+
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
111
|
"""
|
|
112
112
|
return pulumi.get(self, "project")
|
|
113
113
|
|
|
@@ -155,7 +155,7 @@ class KafkaArgs:
|
|
|
155
155
|
@pulumi.getter(name="defaultAcl")
|
|
156
156
|
def default_acl(self) -> Optional[pulumi.Input[bool]]:
|
|
157
157
|
"""
|
|
158
|
-
Create default wildcard Kafka ACL
|
|
158
|
+
Create a default wildcard Kafka ACL.
|
|
159
159
|
"""
|
|
160
160
|
return pulumi.get(self, "default_acl")
|
|
161
161
|
|
|
@@ -194,7 +194,7 @@ class KafkaArgs:
|
|
|
194
194
|
@pulumi.getter
|
|
195
195
|
def karapace(self) -> Optional[pulumi.Input[bool]]:
|
|
196
196
|
"""
|
|
197
|
-
Switch the service to use Karapace for schema registry and REST proxy
|
|
197
|
+
Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
198
198
|
"""
|
|
199
199
|
warnings.warn("""Usage of this field is discouraged.""", DeprecationWarning)
|
|
200
200
|
pulumi.log.warn("""karapace is deprecated: Usage of this field is discouraged.""")
|
|
@@ -257,7 +257,7 @@ class KafkaArgs:
|
|
|
257
257
|
@pulumi.getter(name="staticIps")
|
|
258
258
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
259
259
|
"""
|
|
260
|
-
|
|
260
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
261
261
|
"""
|
|
262
262
|
return pulumi.get(self, "static_ips")
|
|
263
263
|
|
|
@@ -281,7 +281,7 @@ class KafkaArgs:
|
|
|
281
281
|
@pulumi.getter(name="techEmails")
|
|
282
282
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]]]:
|
|
283
283
|
"""
|
|
284
|
-
|
|
284
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
285
285
|
"""
|
|
286
286
|
return pulumi.get(self, "tech_emails")
|
|
287
287
|
|
|
@@ -340,19 +340,19 @@ class _KafkaState:
|
|
|
340
340
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
341
341
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
342
342
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaComponentArgs']]] components: Service component information objects
|
|
343
|
-
:param pulumi.Input[bool] default_acl: Create default wildcard Kafka ACL
|
|
343
|
+
:param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
|
|
344
344
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
345
345
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
346
346
|
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
347
347
|
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
348
348
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
349
349
|
:param pulumi.Input['KafkaKafkaUserConfigArgs'] kafka_user_config: Kafka user configurable settings
|
|
350
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]] kafkas: Kafka
|
|
351
|
-
:param pulumi.Input[bool] karapace: Switch the service to use Karapace for schema registry and REST proxy
|
|
350
|
+
:param pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]] kafkas: Kafka server connection details.
|
|
351
|
+
:param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
352
352
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
353
353
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
354
354
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
355
|
-
:param pulumi.Input[str] project:
|
|
355
|
+
: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.
|
|
356
356
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
357
357
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
358
358
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -363,9 +363,9 @@ class _KafkaState:
|
|
|
363
363
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
364
364
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
365
365
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
366
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
366
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
367
367
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
368
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]] tech_emails:
|
|
368
|
+
:param pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
369
369
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
370
370
|
"""
|
|
371
371
|
if additional_disk_space is not None:
|
|
@@ -475,7 +475,7 @@ class _KafkaState:
|
|
|
475
475
|
@pulumi.getter(name="defaultAcl")
|
|
476
476
|
def default_acl(self) -> Optional[pulumi.Input[bool]]:
|
|
477
477
|
"""
|
|
478
|
-
Create default wildcard Kafka ACL
|
|
478
|
+
Create a default wildcard Kafka ACL.
|
|
479
479
|
"""
|
|
480
480
|
return pulumi.get(self, "default_acl")
|
|
481
481
|
|
|
@@ -562,7 +562,7 @@ class _KafkaState:
|
|
|
562
562
|
@pulumi.getter
|
|
563
563
|
def kafkas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]]]:
|
|
564
564
|
"""
|
|
565
|
-
Kafka
|
|
565
|
+
Kafka server connection details.
|
|
566
566
|
"""
|
|
567
567
|
return pulumi.get(self, "kafkas")
|
|
568
568
|
|
|
@@ -574,7 +574,7 @@ class _KafkaState:
|
|
|
574
574
|
@pulumi.getter
|
|
575
575
|
def karapace(self) -> Optional[pulumi.Input[bool]]:
|
|
576
576
|
"""
|
|
577
|
-
Switch the service to use Karapace for schema registry and REST proxy
|
|
577
|
+
Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
578
578
|
"""
|
|
579
579
|
warnings.warn("""Usage of this field is discouraged.""", DeprecationWarning)
|
|
580
580
|
pulumi.log.warn("""karapace is deprecated: Usage of this field is discouraged.""")
|
|
@@ -625,7 +625,7 @@ class _KafkaState:
|
|
|
625
625
|
@pulumi.getter
|
|
626
626
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
627
627
|
"""
|
|
628
|
-
|
|
628
|
+
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.
|
|
629
629
|
"""
|
|
630
630
|
return pulumi.get(self, "project")
|
|
631
631
|
|
|
@@ -757,7 +757,7 @@ class _KafkaState:
|
|
|
757
757
|
@pulumi.getter(name="staticIps")
|
|
758
758
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
759
759
|
"""
|
|
760
|
-
|
|
760
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
761
761
|
"""
|
|
762
762
|
return pulumi.get(self, "static_ips")
|
|
763
763
|
|
|
@@ -781,7 +781,7 @@ class _KafkaState:
|
|
|
781
781
|
@pulumi.getter(name="techEmails")
|
|
782
782
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTechEmailArgs']]]]:
|
|
783
783
|
"""
|
|
784
|
-
|
|
784
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
785
785
|
"""
|
|
786
786
|
return pulumi.get(self, "tech_emails")
|
|
787
787
|
|
|
@@ -826,20 +826,19 @@ class Kafka(pulumi.CustomResource):
|
|
|
826
826
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
827
827
|
__props__=None):
|
|
828
828
|
"""
|
|
829
|
-
|
|
829
|
+
Creates and manages an [Aiven for Apache Kafka®](https://aiven.io/docs/products/kafka) service.
|
|
830
830
|
|
|
831
831
|
## Example Usage
|
|
832
832
|
|
|
833
|
-
<!--Start PulumiCodeChooser -->
|
|
834
833
|
```python
|
|
835
834
|
import pulumi
|
|
836
835
|
import pulumi_aiven as aiven
|
|
837
836
|
|
|
838
|
-
|
|
839
|
-
project=
|
|
837
|
+
example_kafka = aiven.Kafka("example_kafka",
|
|
838
|
+
project=example_project["project"],
|
|
840
839
|
cloud_name="google-europe-west1",
|
|
841
840
|
plan="business-4",
|
|
842
|
-
service_name="
|
|
841
|
+
service_name="example-kafka",
|
|
843
842
|
maintenance_window_dow="monday",
|
|
844
843
|
maintenance_window_time="10:00:00",
|
|
845
844
|
kafka_user_config=aiven.KafkaKafkaUserConfigArgs(
|
|
@@ -857,32 +856,31 @@ class Kafka(pulumi.CustomResource):
|
|
|
857
856
|
),
|
|
858
857
|
))
|
|
859
858
|
```
|
|
860
|
-
<!--End PulumiCodeChooser -->
|
|
861
859
|
|
|
862
860
|
## Import
|
|
863
861
|
|
|
864
862
|
```sh
|
|
865
|
-
$ pulumi import aiven:index/kafka:Kafka
|
|
863
|
+
$ pulumi import aiven:index/kafka:Kafka example_kafka PROJECT/SERVICE_NAME
|
|
866
864
|
```
|
|
867
865
|
|
|
868
866
|
:param str resource_name: The name of the resource.
|
|
869
867
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
870
868
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
871
869
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
872
|
-
:param pulumi.Input[bool] default_acl: Create default wildcard Kafka ACL
|
|
870
|
+
:param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
|
|
873
871
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
874
872
|
:param pulumi.Input[pulumi.InputType['KafkaKafkaUserConfigArgs']] kafka_user_config: Kafka user configurable settings
|
|
875
|
-
:param pulumi.Input[bool] karapace: Switch the service to use Karapace for schema registry and REST proxy
|
|
873
|
+
:param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
876
874
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
877
875
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
878
876
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
879
|
-
:param pulumi.Input[str] project:
|
|
877
|
+
: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.
|
|
880
878
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
881
879
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
882
880
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
883
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
881
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
884
882
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
885
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTechEmailArgs']]]] tech_emails:
|
|
883
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTechEmailArgs']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
886
884
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
887
885
|
"""
|
|
888
886
|
...
|
|
@@ -892,20 +890,19 @@ class Kafka(pulumi.CustomResource):
|
|
|
892
890
|
args: KafkaArgs,
|
|
893
891
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
894
892
|
"""
|
|
895
|
-
|
|
893
|
+
Creates and manages an [Aiven for Apache Kafka®](https://aiven.io/docs/products/kafka) service.
|
|
896
894
|
|
|
897
895
|
## Example Usage
|
|
898
896
|
|
|
899
|
-
<!--Start PulumiCodeChooser -->
|
|
900
897
|
```python
|
|
901
898
|
import pulumi
|
|
902
899
|
import pulumi_aiven as aiven
|
|
903
900
|
|
|
904
|
-
|
|
905
|
-
project=
|
|
901
|
+
example_kafka = aiven.Kafka("example_kafka",
|
|
902
|
+
project=example_project["project"],
|
|
906
903
|
cloud_name="google-europe-west1",
|
|
907
904
|
plan="business-4",
|
|
908
|
-
service_name="
|
|
905
|
+
service_name="example-kafka",
|
|
909
906
|
maintenance_window_dow="monday",
|
|
910
907
|
maintenance_window_time="10:00:00",
|
|
911
908
|
kafka_user_config=aiven.KafkaKafkaUserConfigArgs(
|
|
@@ -923,12 +920,11 @@ class Kafka(pulumi.CustomResource):
|
|
|
923
920
|
),
|
|
924
921
|
))
|
|
925
922
|
```
|
|
926
|
-
<!--End PulumiCodeChooser -->
|
|
927
923
|
|
|
928
924
|
## Import
|
|
929
925
|
|
|
930
926
|
```sh
|
|
931
|
-
$ pulumi import aiven:index/kafka:Kafka
|
|
927
|
+
$ pulumi import aiven:index/kafka:Kafka example_kafka PROJECT/SERVICE_NAME
|
|
932
928
|
```
|
|
933
929
|
|
|
934
930
|
:param str resource_name: The name of the resource.
|
|
@@ -1008,7 +1004,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1008
1004
|
__props__.__dict__["service_uri"] = None
|
|
1009
1005
|
__props__.__dict__["service_username"] = None
|
|
1010
1006
|
__props__.__dict__["state"] = None
|
|
1011
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
1007
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["kafkas", "servicePassword", "serviceUri"])
|
|
1012
1008
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
1013
1009
|
super(Kafka, __self__).__init__(
|
|
1014
1010
|
'aiven:index/kafka:Kafka',
|
|
@@ -1060,19 +1056,19 @@ class Kafka(pulumi.CustomResource):
|
|
|
1060
1056
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1061
1057
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1062
1058
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaComponentArgs']]]] components: Service component information objects
|
|
1063
|
-
:param pulumi.Input[bool] default_acl: Create default wildcard Kafka ACL
|
|
1059
|
+
:param pulumi.Input[bool] default_acl: Create a default wildcard Kafka ACL.
|
|
1064
1060
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1065
1061
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1066
1062
|
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
1067
1063
|
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1068
1064
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1069
1065
|
:param pulumi.Input[pulumi.InputType['KafkaKafkaUserConfigArgs']] kafka_user_config: Kafka user configurable settings
|
|
1070
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaKafkaArgs']]]] kafkas: Kafka
|
|
1071
|
-
:param pulumi.Input[bool] karapace: Switch the service to use Karapace for schema registry and REST proxy
|
|
1066
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaKafkaArgs']]]] kafkas: Kafka server connection details.
|
|
1067
|
+
:param pulumi.Input[bool] karapace: Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
1072
1068
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1073
1069
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1074
1070
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1075
|
-
:param pulumi.Input[str] project:
|
|
1071
|
+
: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.
|
|
1076
1072
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1077
1073
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1078
1074
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -1083,9 +1079,9 @@ class Kafka(pulumi.CustomResource):
|
|
|
1083
1079
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1084
1080
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1085
1081
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1086
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
1082
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1087
1083
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1088
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTechEmailArgs']]]] tech_emails:
|
|
1084
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTechEmailArgs']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
1089
1085
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1090
1086
|
"""
|
|
1091
1087
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1152,7 +1148,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1152
1148
|
@pulumi.getter(name="defaultAcl")
|
|
1153
1149
|
def default_acl(self) -> pulumi.Output[Optional[bool]]:
|
|
1154
1150
|
"""
|
|
1155
|
-
Create default wildcard Kafka ACL
|
|
1151
|
+
Create a default wildcard Kafka ACL.
|
|
1156
1152
|
"""
|
|
1157
1153
|
return pulumi.get(self, "default_acl")
|
|
1158
1154
|
|
|
@@ -1211,7 +1207,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1211
1207
|
@pulumi.getter
|
|
1212
1208
|
def kafkas(self) -> pulumi.Output[Sequence['outputs.KafkaKafka']]:
|
|
1213
1209
|
"""
|
|
1214
|
-
Kafka
|
|
1210
|
+
Kafka server connection details.
|
|
1215
1211
|
"""
|
|
1216
1212
|
return pulumi.get(self, "kafkas")
|
|
1217
1213
|
|
|
@@ -1219,7 +1215,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1219
1215
|
@pulumi.getter
|
|
1220
1216
|
def karapace(self) -> pulumi.Output[Optional[bool]]:
|
|
1221
1217
|
"""
|
|
1222
|
-
Switch the service to use Karapace for schema registry and REST proxy
|
|
1218
|
+
Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
1223
1219
|
"""
|
|
1224
1220
|
warnings.warn("""Usage of this field is discouraged.""", DeprecationWarning)
|
|
1225
1221
|
pulumi.log.warn("""karapace is deprecated: Usage of this field is discouraged.""")
|
|
@@ -1254,7 +1250,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1254
1250
|
@pulumi.getter
|
|
1255
1251
|
def project(self) -> pulumi.Output[str]:
|
|
1256
1252
|
"""
|
|
1257
|
-
|
|
1253
|
+
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.
|
|
1258
1254
|
"""
|
|
1259
1255
|
return pulumi.get(self, "project")
|
|
1260
1256
|
|
|
@@ -1342,7 +1338,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1342
1338
|
@pulumi.getter(name="staticIps")
|
|
1343
1339
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1344
1340
|
"""
|
|
1345
|
-
|
|
1341
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1346
1342
|
"""
|
|
1347
1343
|
return pulumi.get(self, "static_ips")
|
|
1348
1344
|
|
|
@@ -1358,7 +1354,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1358
1354
|
@pulumi.getter(name="techEmails")
|
|
1359
1355
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.KafkaTechEmail']]]:
|
|
1360
1356
|
"""
|
|
1361
|
-
|
|
1357
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
1362
1358
|
"""
|
|
1363
1359
|
return pulumi.get(self, "tech_emails")
|
|
1364
1360
|
|
pulumi_aiven/kafka_acl.py
CHANGED
|
@@ -22,8 +22,8 @@ class KafkaAclArgs:
|
|
|
22
22
|
"""
|
|
23
23
|
The set of arguments for constructing a KafkaAcl resource.
|
|
24
24
|
:param pulumi.Input[str] permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
|
|
25
|
-
:param pulumi.Input[str] project:
|
|
26
|
-
:param pulumi.Input[str] service_name:
|
|
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] 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.
|
|
27
27
|
:param pulumi.Input[str] topic: Topic name pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
28
28
|
:param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
29
29
|
"""
|
|
@@ -49,7 +49,7 @@ class KafkaAclArgs:
|
|
|
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 KafkaAclArgs:
|
|
|
61
61
|
@pulumi.getter(name="serviceName")
|
|
62
62
|
def service_name(self) -> pulumi.Input[str]:
|
|
63
63
|
"""
|
|
64
|
-
|
|
64
|
+
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.
|
|
65
65
|
"""
|
|
66
66
|
return pulumi.get(self, "service_name")
|
|
67
67
|
|
|
@@ -107,8 +107,8 @@ class _KafkaAclState:
|
|
|
107
107
|
Input properties used for looking up and filtering KafkaAcl resources.
|
|
108
108
|
:param pulumi.Input[str] acl_id: Kafka ACL ID
|
|
109
109
|
:param pulumi.Input[str] permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
|
|
110
|
-
:param pulumi.Input[str] project:
|
|
111
|
-
:param pulumi.Input[str] service_name:
|
|
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] 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.
|
|
112
112
|
:param pulumi.Input[str] topic: Topic name pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
113
113
|
:param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
114
114
|
"""
|
|
@@ -153,7 +153,7 @@ class _KafkaAclState:
|
|
|
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 _KafkaAclState:
|
|
|
165
165
|
@pulumi.getter(name="serviceName")
|
|
166
166
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
167
167
|
"""
|
|
168
|
-
|
|
168
|
+
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.
|
|
169
169
|
"""
|
|
170
170
|
return pulumi.get(self, "service_name")
|
|
171
171
|
|
|
@@ -214,31 +214,29 @@ class KafkaAcl(pulumi.CustomResource):
|
|
|
214
214
|
|
|
215
215
|
## Example Usage
|
|
216
216
|
|
|
217
|
-
<!--Start PulumiCodeChooser -->
|
|
218
217
|
```python
|
|
219
218
|
import pulumi
|
|
220
219
|
import pulumi_aiven as aiven
|
|
221
220
|
|
|
222
221
|
mytestacl = aiven.KafkaAcl("mytestacl",
|
|
223
|
-
project=
|
|
224
|
-
service_name=
|
|
222
|
+
project=myproject["project"],
|
|
223
|
+
service_name=myservice["serviceName"],
|
|
225
224
|
topic="<TOPIC_NAME_PATTERN>",
|
|
226
225
|
permission="admin",
|
|
227
226
|
username="<USERNAME_PATTERN>")
|
|
228
227
|
```
|
|
229
|
-
<!--End PulumiCodeChooser -->
|
|
230
228
|
|
|
231
229
|
## Import
|
|
232
230
|
|
|
233
231
|
```sh
|
|
234
|
-
$ pulumi import aiven:index/kafkaAcl:KafkaAcl mytestacl
|
|
232
|
+
$ pulumi import aiven:index/kafkaAcl:KafkaAcl mytestacl PROJECT/SERVICE_NAME/ID
|
|
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] permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
|
|
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] topic: Topic name pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
243
241
|
:param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
244
242
|
"""
|
|
@@ -253,24 +251,22 @@ class KafkaAcl(pulumi.CustomResource):
|
|
|
253
251
|
|
|
254
252
|
## Example Usage
|
|
255
253
|
|
|
256
|
-
<!--Start PulumiCodeChooser -->
|
|
257
254
|
```python
|
|
258
255
|
import pulumi
|
|
259
256
|
import pulumi_aiven as aiven
|
|
260
257
|
|
|
261
258
|
mytestacl = aiven.KafkaAcl("mytestacl",
|
|
262
|
-
project=
|
|
263
|
-
service_name=
|
|
259
|
+
project=myproject["project"],
|
|
260
|
+
service_name=myservice["serviceName"],
|
|
264
261
|
topic="<TOPIC_NAME_PATTERN>",
|
|
265
262
|
permission="admin",
|
|
266
263
|
username="<USERNAME_PATTERN>")
|
|
267
264
|
```
|
|
268
|
-
<!--End PulumiCodeChooser -->
|
|
269
265
|
|
|
270
266
|
## Import
|
|
271
267
|
|
|
272
268
|
```sh
|
|
273
|
-
$ pulumi import aiven:index/kafkaAcl:KafkaAcl mytestacl
|
|
269
|
+
$ pulumi import aiven:index/kafkaAcl:KafkaAcl mytestacl PROJECT/SERVICE_NAME/ID
|
|
274
270
|
```
|
|
275
271
|
|
|
276
272
|
:param str resource_name: The name of the resource.
|
|
@@ -343,8 +339,8 @@ class KafkaAcl(pulumi.CustomResource):
|
|
|
343
339
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
344
340
|
:param pulumi.Input[str] acl_id: Kafka ACL ID
|
|
345
341
|
:param pulumi.Input[str] permission: Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. Changing this property forces recreation of the resource.
|
|
346
|
-
:param pulumi.Input[str] project:
|
|
347
|
-
:param pulumi.Input[str] service_name:
|
|
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] 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.
|
|
348
344
|
:param pulumi.Input[str] topic: Topic name pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
349
345
|
:param pulumi.Input[str] username: Username pattern for the ACL entry. Changing this property forces recreation of the resource.
|
|
350
346
|
"""
|
|
@@ -380,7 +376,7 @@ class KafkaAcl(pulumi.CustomResource):
|
|
|
380
376
|
@pulumi.getter
|
|
381
377
|
def project(self) -> pulumi.Output[str]:
|
|
382
378
|
"""
|
|
383
|
-
|
|
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.
|
|
384
380
|
"""
|
|
385
381
|
return pulumi.get(self, "project")
|
|
386
382
|
|
|
@@ -388,7 +384,7 @@ class KafkaAcl(pulumi.CustomResource):
|
|
|
388
384
|
@pulumi.getter(name="serviceName")
|
|
389
385
|
def service_name(self) -> pulumi.Output[str]:
|
|
390
386
|
"""
|
|
391
|
-
|
|
387
|
+
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.
|
|
392
388
|
"""
|
|
393
389
|
return pulumi.get(self, "service_name")
|
|
394
390
|
|