pulumi-aiven 6.22.0__py3-none-any.whl → 6.22.0a1722921580__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 +67 -721
- pulumi_aiven/account_authentication.py +5 -5
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/aws_vpc_peering_connection.py +7 -7
- pulumi_aiven/azure_privatelink_connection_approval.py +16 -16
- pulumi_aiven/azure_vpc_peering_connection.py +7 -7
- pulumi_aiven/cassandra.py +46 -46
- pulumi_aiven/clickhouse.py +34 -34
- pulumi_aiven/clickhouse_grant.py +34 -34
- pulumi_aiven/dragonfly.py +40 -40
- pulumi_aiven/flink.py +40 -40
- pulumi_aiven/flink_application_deployment.py +16 -16
- pulumi_aiven/flink_application_version.py +36 -36
- pulumi_aiven/gcp_vpc_peering_connection.py +7 -7
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_dragonfly.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_pg.py +8 -8
- pulumi_aiven/get_pg_database.py +8 -8
- pulumi_aiven/get_pg_user.py +16 -16
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_project_vpc.py +1 -1
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_service_integration.py +3 -3
- pulumi_aiven/get_thanos.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/get_valkey.py +1 -1
- pulumi_aiven/grafana.py +46 -46
- pulumi_aiven/influx_db.py +41 -48
- pulumi_aiven/kafka.py +62 -62
- pulumi_aiven/kafka_connect.py +59 -59
- pulumi_aiven/kafka_connector.py +2 -2
- pulumi_aiven/kafka_mirror_maker.py +45 -45
- pulumi_aiven/kafka_topic.py +18 -18
- pulumi_aiven/m3_aggregator.py +40 -40
- pulumi_aiven/m3_db.py +48 -48
- pulumi_aiven/my_sql.py +54 -54
- pulumi_aiven/mysql_user.py +7 -7
- pulumi_aiven/open_search.py +56 -56
- pulumi_aiven/organization.py +3 -3
- pulumi_aiven/organization_group_project.py +3 -3
- pulumi_aiven/organization_user_group_member.py +3 -3
- pulumi_aiven/outputs.py +135 -1252
- pulumi_aiven/pg.py +43 -43
- pulumi_aiven/pg_database.py +12 -12
- pulumi_aiven/pg_user.py +47 -47
- pulumi_aiven/project.py +5 -5
- pulumi_aiven/project_user.py +7 -7
- pulumi_aiven/project_vpc.py +4 -4
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +46 -46
- pulumi_aiven/service_integration.py +72 -72
- pulumi_aiven/service_integration_endpoint.py +65 -65
- pulumi_aiven/thanos.py +34 -34
- pulumi_aiven/transit_gateway_vpc_attachment.py +7 -7
- pulumi_aiven/valkey.py +40 -40
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/RECORD +75 -75
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/top_level.txt +0 -0
pulumi_aiven/kafka_connect.py
CHANGED
|
@@ -36,7 +36,7 @@ class KafkaConnectArgs:
|
|
|
36
36
|
: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).
|
|
37
37
|
: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.
|
|
38
38
|
: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.
|
|
39
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
39
|
+
: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.
|
|
40
40
|
: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).
|
|
41
41
|
: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.
|
|
42
42
|
:param pulumi.Input['KafkaConnectKafkaConnectUserConfigArgs'] kafka_connect_user_config: KafkaConnect user configurable settings
|
|
@@ -120,7 +120,7 @@ class KafkaConnectArgs:
|
|
|
120
120
|
@pulumi.getter(name="additionalDiskSpace")
|
|
121
121
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
122
122
|
"""
|
|
123
|
-
|
|
123
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
124
124
|
"""
|
|
125
125
|
return pulumi.get(self, "additional_disk_space")
|
|
126
126
|
|
|
@@ -294,7 +294,7 @@ class _KafkaConnectState:
|
|
|
294
294
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
295
295
|
"""
|
|
296
296
|
Input properties used for looking up and filtering KafkaConnect resources.
|
|
297
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
297
|
+
: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.
|
|
298
298
|
: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).
|
|
299
299
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaConnectComponentArgs']]] components: Service component information objects
|
|
300
300
|
: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.
|
|
@@ -384,7 +384,7 @@ class _KafkaConnectState:
|
|
|
384
384
|
@pulumi.getter(name="additionalDiskSpace")
|
|
385
385
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
386
386
|
"""
|
|
387
|
-
|
|
387
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
388
388
|
"""
|
|
389
389
|
return pulumi.get(self, "additional_disk_space")
|
|
390
390
|
|
|
@@ -714,17 +714,17 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
714
714
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
715
715
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
716
716
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
717
|
-
kafka_connect_user_config: Optional[pulumi.Input[
|
|
717
|
+
kafka_connect_user_config: Optional[pulumi.Input[pulumi.InputType['KafkaConnectKafkaConnectUserConfigArgs']]] = None,
|
|
718
718
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
719
719
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
720
720
|
plan: Optional[pulumi.Input[str]] = None,
|
|
721
721
|
project: Optional[pulumi.Input[str]] = None,
|
|
722
722
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
723
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
723
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectServiceIntegrationArgs']]]]] = None,
|
|
724
724
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
725
725
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
726
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
727
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
726
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTagArgs']]]]] = None,
|
|
727
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTechEmailArgs']]]]] = None,
|
|
728
728
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
729
729
|
__props__=None):
|
|
730
730
|
"""
|
|
@@ -756,27 +756,27 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
756
756
|
cloud_name="google-europe-west1",
|
|
757
757
|
plan="startup-4",
|
|
758
758
|
service_name="example-connect-service",
|
|
759
|
-
kafka_connect_user_config=
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
759
|
+
kafka_connect_user_config=aiven.KafkaConnectKafkaConnectUserConfigArgs(
|
|
760
|
+
kafka_connect=aiven.KafkaConnectKafkaConnectUserConfigKafkaConnectArgs(
|
|
761
|
+
consumer_isolation_level="read_committed",
|
|
762
|
+
),
|
|
763
|
+
public_access=aiven.KafkaConnectKafkaConnectUserConfigPublicAccessArgs(
|
|
764
|
+
kafka_connect=True,
|
|
765
|
+
),
|
|
766
|
+
))
|
|
767
767
|
# Integrate the Kafka and Kafka Connect services.
|
|
768
768
|
kafka_connect_integration = aiven.ServiceIntegration("kafka_connect_integration",
|
|
769
769
|
project=example_project["project"],
|
|
770
770
|
integration_type="kafka_connect",
|
|
771
771
|
source_service_name=example_kafka.service_name,
|
|
772
772
|
destination_service_name=example_kafka_connect.service_name,
|
|
773
|
-
kafka_connect_user_config=
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
773
|
+
kafka_connect_user_config=aiven.ServiceIntegrationKafkaConnectUserConfigArgs(
|
|
774
|
+
kafka_connect=aiven.ServiceIntegrationKafkaConnectUserConfigKafkaConnectArgs(
|
|
775
|
+
group_id="connect",
|
|
776
|
+
status_storage_topic="__connect_status",
|
|
777
|
+
offset_storage_topic="__connect_offsets",
|
|
778
|
+
),
|
|
779
|
+
))
|
|
780
780
|
```
|
|
781
781
|
|
|
782
782
|
## Import
|
|
@@ -787,20 +787,20 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
787
787
|
|
|
788
788
|
:param str resource_name: The name of the resource.
|
|
789
789
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
790
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
790
|
+
: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.
|
|
791
791
|
: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).
|
|
792
792
|
: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.
|
|
793
|
-
:param pulumi.Input[
|
|
793
|
+
:param pulumi.Input[pulumi.InputType['KafkaConnectKafkaConnectUserConfigArgs']] kafka_connect_user_config: KafkaConnect user configurable settings
|
|
794
794
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
795
795
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
796
796
|
: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).
|
|
797
797
|
: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.
|
|
798
798
|
: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.
|
|
799
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
799
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
800
800
|
: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.
|
|
801
801
|
: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
|
|
802
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
803
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
802
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
803
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTechEmailArgs']]]] 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.
|
|
804
804
|
: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.
|
|
805
805
|
"""
|
|
806
806
|
...
|
|
@@ -838,27 +838,27 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
838
838
|
cloud_name="google-europe-west1",
|
|
839
839
|
plan="startup-4",
|
|
840
840
|
service_name="example-connect-service",
|
|
841
|
-
kafka_connect_user_config=
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
841
|
+
kafka_connect_user_config=aiven.KafkaConnectKafkaConnectUserConfigArgs(
|
|
842
|
+
kafka_connect=aiven.KafkaConnectKafkaConnectUserConfigKafkaConnectArgs(
|
|
843
|
+
consumer_isolation_level="read_committed",
|
|
844
|
+
),
|
|
845
|
+
public_access=aiven.KafkaConnectKafkaConnectUserConfigPublicAccessArgs(
|
|
846
|
+
kafka_connect=True,
|
|
847
|
+
),
|
|
848
|
+
))
|
|
849
849
|
# Integrate the Kafka and Kafka Connect services.
|
|
850
850
|
kafka_connect_integration = aiven.ServiceIntegration("kafka_connect_integration",
|
|
851
851
|
project=example_project["project"],
|
|
852
852
|
integration_type="kafka_connect",
|
|
853
853
|
source_service_name=example_kafka.service_name,
|
|
854
854
|
destination_service_name=example_kafka_connect.service_name,
|
|
855
|
-
kafka_connect_user_config=
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
855
|
+
kafka_connect_user_config=aiven.ServiceIntegrationKafkaConnectUserConfigArgs(
|
|
856
|
+
kafka_connect=aiven.ServiceIntegrationKafkaConnectUserConfigKafkaConnectArgs(
|
|
857
|
+
group_id="connect",
|
|
858
|
+
status_storage_topic="__connect_status",
|
|
859
|
+
offset_storage_topic="__connect_offsets",
|
|
860
|
+
),
|
|
861
|
+
))
|
|
862
862
|
```
|
|
863
863
|
|
|
864
864
|
## Import
|
|
@@ -885,17 +885,17 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
885
885
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
886
886
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
887
887
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
888
|
-
kafka_connect_user_config: Optional[pulumi.Input[
|
|
888
|
+
kafka_connect_user_config: Optional[pulumi.Input[pulumi.InputType['KafkaConnectKafkaConnectUserConfigArgs']]] = None,
|
|
889
889
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
890
890
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
891
891
|
plan: Optional[pulumi.Input[str]] = None,
|
|
892
892
|
project: Optional[pulumi.Input[str]] = None,
|
|
893
893
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
894
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
894
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectServiceIntegrationArgs']]]]] = None,
|
|
895
895
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
896
896
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
897
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
898
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
897
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTagArgs']]]]] = None,
|
|
898
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTechEmailArgs']]]]] = None,
|
|
899
899
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
900
900
|
__props__=None):
|
|
901
901
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -953,20 +953,20 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
953
953
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
954
954
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
955
955
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
956
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
956
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectComponentArgs']]]]] = None,
|
|
957
957
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
958
958
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
959
959
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
960
960
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
961
961
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
962
|
-
kafka_connect_user_config: Optional[pulumi.Input[
|
|
962
|
+
kafka_connect_user_config: Optional[pulumi.Input[pulumi.InputType['KafkaConnectKafkaConnectUserConfigArgs']]] = None,
|
|
963
963
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
964
964
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
965
965
|
plan: Optional[pulumi.Input[str]] = None,
|
|
966
966
|
project: Optional[pulumi.Input[str]] = None,
|
|
967
967
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
968
968
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
969
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
969
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectServiceIntegrationArgs']]]]] = None,
|
|
970
970
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
971
971
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
972
972
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -975,8 +975,8 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
975
975
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
976
976
|
state: Optional[pulumi.Input[str]] = None,
|
|
977
977
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
978
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
979
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
978
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTagArgs']]]]] = None,
|
|
979
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTechEmailArgs']]]]] = None,
|
|
980
980
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'KafkaConnect':
|
|
981
981
|
"""
|
|
982
982
|
Get an existing KafkaConnect resource's state with the given name, id, and optional extra
|
|
@@ -985,22 +985,22 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
985
985
|
:param str resource_name: The unique name of the resulting resource.
|
|
986
986
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
987
987
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
988
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
988
|
+
: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.
|
|
989
989
|
: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).
|
|
990
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
990
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectComponentArgs']]]] components: Service component information objects
|
|
991
991
|
: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.
|
|
992
992
|
: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.
|
|
993
993
|
: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`
|
|
994
994
|
: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.
|
|
995
995
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
996
|
-
:param pulumi.Input[
|
|
996
|
+
:param pulumi.Input[pulumi.InputType['KafkaConnectKafkaConnectUserConfigArgs']] kafka_connect_user_config: KafkaConnect user configurable settings
|
|
997
997
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
998
998
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
999
999
|
: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).
|
|
1000
1000
|
: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.
|
|
1001
1001
|
: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.
|
|
1002
1002
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1003
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1003
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1004
1004
|
: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.
|
|
1005
1005
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1006
1006
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -1009,8 +1009,8 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1009
1009
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1010
1010
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1011
1011
|
: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
|
|
1012
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1013
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1012
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1013
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectTechEmailArgs']]]] 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.
|
|
1014
1014
|
: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.
|
|
1015
1015
|
"""
|
|
1016
1016
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1050,7 +1050,7 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
1050
1050
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1051
1051
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1052
1052
|
"""
|
|
1053
|
-
|
|
1053
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1054
1054
|
"""
|
|
1055
1055
|
return pulumi.get(self, "additional_disk_space")
|
|
1056
1056
|
|
pulumi_aiven/kafka_connector.py
CHANGED
|
@@ -421,7 +421,7 @@ class KafkaConnector(pulumi.CustomResource):
|
|
|
421
421
|
plugin_version: Optional[pulumi.Input[str]] = None,
|
|
422
422
|
project: Optional[pulumi.Input[str]] = None,
|
|
423
423
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
424
|
-
tasks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
424
|
+
tasks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectorTaskArgs']]]]] = None) -> 'KafkaConnector':
|
|
425
425
|
"""
|
|
426
426
|
Get an existing KafkaConnector resource's state with the given name, id, and optional extra
|
|
427
427
|
properties used to qualify the lookup.
|
|
@@ -439,7 +439,7 @@ class KafkaConnector(pulumi.CustomResource):
|
|
|
439
439
|
:param pulumi.Input[str] plugin_version: The version of the Kafka connector.
|
|
440
440
|
: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.
|
|
441
441
|
: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.
|
|
442
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
442
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaConnectorTaskArgs']]]] tasks: List of tasks of a connector.
|
|
443
443
|
"""
|
|
444
444
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
445
445
|
|
|
@@ -36,7 +36,7 @@ class KafkaMirrorMakerArgs:
|
|
|
36
36
|
: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).
|
|
37
37
|
: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.
|
|
38
38
|
: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.
|
|
39
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
39
|
+
: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.
|
|
40
40
|
: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).
|
|
41
41
|
: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.
|
|
42
42
|
:param pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs'] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings
|
|
@@ -120,7 +120,7 @@ class KafkaMirrorMakerArgs:
|
|
|
120
120
|
@pulumi.getter(name="additionalDiskSpace")
|
|
121
121
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
122
122
|
"""
|
|
123
|
-
|
|
123
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
124
124
|
"""
|
|
125
125
|
return pulumi.get(self, "additional_disk_space")
|
|
126
126
|
|
|
@@ -294,7 +294,7 @@ class _KafkaMirrorMakerState:
|
|
|
294
294
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
295
295
|
"""
|
|
296
296
|
Input properties used for looking up and filtering KafkaMirrorMaker resources.
|
|
297
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
297
|
+
: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.
|
|
298
298
|
: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).
|
|
299
299
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerComponentArgs']]] components: Service component information objects
|
|
300
300
|
: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.
|
|
@@ -384,7 +384,7 @@ class _KafkaMirrorMakerState:
|
|
|
384
384
|
@pulumi.getter(name="additionalDiskSpace")
|
|
385
385
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
386
386
|
"""
|
|
387
|
-
|
|
387
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
388
388
|
"""
|
|
389
389
|
return pulumi.get(self, "additional_disk_space")
|
|
390
390
|
|
|
@@ -714,17 +714,17 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
714
714
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
715
715
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
716
716
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
717
|
-
kafka_mirrormaker_user_config: Optional[pulumi.Input[
|
|
717
|
+
kafka_mirrormaker_user_config: Optional[pulumi.Input[pulumi.InputType['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']]] = None,
|
|
718
718
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
719
719
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
720
720
|
plan: Optional[pulumi.Input[str]] = None,
|
|
721
721
|
project: Optional[pulumi.Input[str]] = None,
|
|
722
722
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
723
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
723
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerServiceIntegrationArgs']]]]] = None,
|
|
724
724
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
725
725
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
726
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
727
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
726
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTagArgs']]]]] = None,
|
|
727
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTechEmailArgs']]]]] = None,
|
|
728
728
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
729
729
|
__props__=None):
|
|
730
730
|
"""
|
|
@@ -741,14 +741,14 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
741
741
|
cloud_name="google-europe-west1",
|
|
742
742
|
plan="startup-4",
|
|
743
743
|
service_name="my-mm1",
|
|
744
|
-
kafka_mirrormaker_user_config=
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
744
|
+
kafka_mirrormaker_user_config=aiven.KafkaMirrorMakerKafkaMirrormakerUserConfigArgs(
|
|
745
|
+
ip_filters=["0.0.0.0/0"],
|
|
746
|
+
kafka_mirrormaker=aiven.KafkaMirrorMakerKafkaMirrormakerUserConfigKafkaMirrormakerArgs(
|
|
747
|
+
refresh_groups_interval_seconds=600,
|
|
748
|
+
refresh_topics_enabled=True,
|
|
749
|
+
refresh_topics_interval_seconds=600,
|
|
750
|
+
),
|
|
751
|
+
))
|
|
752
752
|
```
|
|
753
753
|
|
|
754
754
|
## Import
|
|
@@ -759,20 +759,20 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
759
759
|
|
|
760
760
|
:param str resource_name: The name of the resource.
|
|
761
761
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
762
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
762
|
+
: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.
|
|
763
763
|
: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).
|
|
764
764
|
: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.
|
|
765
|
-
:param pulumi.Input[
|
|
765
|
+
:param pulumi.Input[pulumi.InputType['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings
|
|
766
766
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
767
767
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
768
768
|
: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).
|
|
769
769
|
: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.
|
|
770
770
|
: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.
|
|
771
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
771
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
772
772
|
: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.
|
|
773
773
|
: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
|
|
774
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
775
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
774
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
775
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTechEmailArgs']]]] 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.
|
|
776
776
|
: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.
|
|
777
777
|
"""
|
|
778
778
|
...
|
|
@@ -795,14 +795,14 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
795
795
|
cloud_name="google-europe-west1",
|
|
796
796
|
plan="startup-4",
|
|
797
797
|
service_name="my-mm1",
|
|
798
|
-
kafka_mirrormaker_user_config=
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
798
|
+
kafka_mirrormaker_user_config=aiven.KafkaMirrorMakerKafkaMirrormakerUserConfigArgs(
|
|
799
|
+
ip_filters=["0.0.0.0/0"],
|
|
800
|
+
kafka_mirrormaker=aiven.KafkaMirrorMakerKafkaMirrormakerUserConfigKafkaMirrormakerArgs(
|
|
801
|
+
refresh_groups_interval_seconds=600,
|
|
802
|
+
refresh_topics_enabled=True,
|
|
803
|
+
refresh_topics_interval_seconds=600,
|
|
804
|
+
),
|
|
805
|
+
))
|
|
806
806
|
```
|
|
807
807
|
|
|
808
808
|
## Import
|
|
@@ -829,17 +829,17 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
829
829
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
830
830
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
831
831
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
832
|
-
kafka_mirrormaker_user_config: Optional[pulumi.Input[
|
|
832
|
+
kafka_mirrormaker_user_config: Optional[pulumi.Input[pulumi.InputType['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']]] = None,
|
|
833
833
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
834
834
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
835
835
|
plan: Optional[pulumi.Input[str]] = None,
|
|
836
836
|
project: Optional[pulumi.Input[str]] = None,
|
|
837
837
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
838
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
838
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerServiceIntegrationArgs']]]]] = None,
|
|
839
839
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
840
840
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
841
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
842
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
841
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTagArgs']]]]] = None,
|
|
842
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTechEmailArgs']]]]] = None,
|
|
843
843
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
844
844
|
__props__=None):
|
|
845
845
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -897,20 +897,20 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
897
897
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
898
898
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
899
899
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
900
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
900
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerComponentArgs']]]]] = None,
|
|
901
901
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
902
902
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
903
903
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
904
904
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
905
905
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
906
|
-
kafka_mirrormaker_user_config: Optional[pulumi.Input[
|
|
906
|
+
kafka_mirrormaker_user_config: Optional[pulumi.Input[pulumi.InputType['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']]] = None,
|
|
907
907
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
908
908
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
909
909
|
plan: Optional[pulumi.Input[str]] = None,
|
|
910
910
|
project: Optional[pulumi.Input[str]] = None,
|
|
911
911
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
912
912
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
913
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
913
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerServiceIntegrationArgs']]]]] = None,
|
|
914
914
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
915
915
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
916
916
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -919,8 +919,8 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
919
919
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
920
920
|
state: Optional[pulumi.Input[str]] = None,
|
|
921
921
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
922
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
923
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
922
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTagArgs']]]]] = None,
|
|
923
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTechEmailArgs']]]]] = None,
|
|
924
924
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'KafkaMirrorMaker':
|
|
925
925
|
"""
|
|
926
926
|
Get an existing KafkaMirrorMaker resource's state with the given name, id, and optional extra
|
|
@@ -929,22 +929,22 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
929
929
|
:param str resource_name: The unique name of the resulting resource.
|
|
930
930
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
931
931
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
932
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
932
|
+
: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.
|
|
933
933
|
: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).
|
|
934
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
934
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerComponentArgs']]]] components: Service component information objects
|
|
935
935
|
: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.
|
|
936
936
|
: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.
|
|
937
937
|
: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`
|
|
938
938
|
: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.
|
|
939
939
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
940
|
-
:param pulumi.Input[
|
|
940
|
+
:param pulumi.Input[pulumi.InputType['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs']] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings
|
|
941
941
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
942
942
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
943
943
|
: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).
|
|
944
944
|
: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.
|
|
945
945
|
: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.
|
|
946
946
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
947
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
947
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
948
948
|
: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.
|
|
949
949
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
950
950
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -953,8 +953,8 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
953
953
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
954
954
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
955
955
|
: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
|
|
956
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
957
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
956
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
957
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaMirrorMakerTechEmailArgs']]]] 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.
|
|
958
958
|
: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.
|
|
959
959
|
"""
|
|
960
960
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -994,7 +994,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
994
994
|
@pulumi.getter(name="additionalDiskSpace")
|
|
995
995
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
996
996
|
"""
|
|
997
|
-
|
|
997
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
998
998
|
"""
|
|
999
999
|
return pulumi.get(self, "additional_disk_space")
|
|
1000
1000
|
|