pulumi-aiven 6.22.0a1722921580__py3-none-any.whl → 6.22.0a1723454180__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/account_authentication.py +5 -5
- pulumi_aiven/azure_privatelink_connection_approval.py +16 -16
- pulumi_aiven/cassandra.py +39 -39
- pulumi_aiven/clickhouse.py +27 -27
- pulumi_aiven/clickhouse_grant.py +34 -34
- pulumi_aiven/dragonfly.py +33 -33
- pulumi_aiven/flink.py +33 -33
- pulumi_aiven/flink_application_deployment.py +16 -16
- pulumi_aiven/flink_application_version.py +36 -36
- pulumi_aiven/grafana.py +39 -39
- pulumi_aiven/influx_db.py +27 -27
- pulumi_aiven/kafka.py +55 -55
- pulumi_aiven/kafka_connect.py +52 -52
- pulumi_aiven/kafka_connector.py +2 -2
- pulumi_aiven/kafka_mirror_maker.py +38 -38
- pulumi_aiven/kafka_topic.py +18 -18
- pulumi_aiven/m3_aggregator.py +33 -33
- pulumi_aiven/m3_db.py +41 -41
- pulumi_aiven/my_sql.py +47 -47
- pulumi_aiven/open_search.py +49 -49
- 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/pg.py +27 -27
- pulumi_aiven/project.py +5 -5
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +39 -39
- pulumi_aiven/service_integration.py +65 -65
- pulumi_aiven/service_integration_endpoint.py +65 -65
- pulumi_aiven/thanos.py +27 -27
- pulumi_aiven/valkey.py +33 -33
- {pulumi_aiven-6.22.0a1722921580.dist-info → pulumi_aiven-6.22.0a1723454180.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.22.0a1722921580.dist-info → pulumi_aiven-6.22.0a1723454180.dist-info}/RECORD +35 -35
- {pulumi_aiven-6.22.0a1722921580.dist-info → pulumi_aiven-6.22.0a1723454180.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.22.0a1722921580.dist-info → pulumi_aiven-6.22.0a1723454180.dist-info}/top_level.txt +0 -0
pulumi_aiven/kafka_connect.py
CHANGED
|
@@ -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[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']]] = 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[Union['KafkaConnectServiceIntegrationArgs', 'KafkaConnectServiceIntegrationArgsDict']]]]] = 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[Union['KafkaConnectTagArgs', 'KafkaConnectTagArgsDict']]]]] = None,
|
|
727
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTechEmailArgs', 'KafkaConnectTechEmailArgsDict']]]]] = 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
|
-
kafka_connect
|
|
761
|
-
consumer_isolation_level
|
|
762
|
-
|
|
763
|
-
public_access
|
|
764
|
-
kafka_connect
|
|
765
|
-
|
|
766
|
-
)
|
|
759
|
+
kafka_connect_user_config={
|
|
760
|
+
"kafka_connect": {
|
|
761
|
+
"consumer_isolation_level": "read_committed",
|
|
762
|
+
},
|
|
763
|
+
"public_access": {
|
|
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
|
-
kafka_connect
|
|
775
|
-
group_id
|
|
776
|
-
status_storage_topic
|
|
777
|
-
offset_storage_topic
|
|
778
|
-
|
|
779
|
-
)
|
|
773
|
+
kafka_connect_user_config={
|
|
774
|
+
"kafka_connect": {
|
|
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
|
|
@@ -790,17 +790,17 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
790
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[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']] 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[Union['KafkaConnectServiceIntegrationArgs', 'KafkaConnectServiceIntegrationArgsDict']]]] 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[Union['KafkaConnectTagArgs', 'KafkaConnectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
803
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTechEmailArgs', 'KafkaConnectTechEmailArgsDict']]]] 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
|
-
kafka_connect
|
|
843
|
-
consumer_isolation_level
|
|
844
|
-
|
|
845
|
-
public_access
|
|
846
|
-
kafka_connect
|
|
847
|
-
|
|
848
|
-
)
|
|
841
|
+
kafka_connect_user_config={
|
|
842
|
+
"kafka_connect": {
|
|
843
|
+
"consumer_isolation_level": "read_committed",
|
|
844
|
+
},
|
|
845
|
+
"public_access": {
|
|
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
|
-
kafka_connect
|
|
857
|
-
group_id
|
|
858
|
-
status_storage_topic
|
|
859
|
-
offset_storage_topic
|
|
860
|
-
|
|
861
|
-
)
|
|
855
|
+
kafka_connect_user_config={
|
|
856
|
+
"kafka_connect": {
|
|
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[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']]] = 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[Union['KafkaConnectServiceIntegrationArgs', 'KafkaConnectServiceIntegrationArgsDict']]]]] = 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[Union['KafkaConnectTagArgs', 'KafkaConnectTagArgsDict']]]]] = None,
|
|
898
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTechEmailArgs', 'KafkaConnectTechEmailArgsDict']]]]] = 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[Union['KafkaConnectComponentArgs', 'KafkaConnectComponentArgsDict']]]]] = 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[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']]] = 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[Union['KafkaConnectServiceIntegrationArgs', 'KafkaConnectServiceIntegrationArgsDict']]]]] = 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[Union['KafkaConnectTagArgs', 'KafkaConnectTagArgsDict']]]]] = None,
|
|
979
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTechEmailArgs', 'KafkaConnectTechEmailArgsDict']]]]] = 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
|
|
@@ -987,20 +987,20 @@ class KafkaConnect(pulumi.CustomResource):
|
|
|
987
987
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
988
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[Union['KafkaConnectComponentArgs', 'KafkaConnectComponentArgsDict']]]] 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[Union['KafkaConnectKafkaConnectUserConfigArgs', 'KafkaConnectKafkaConnectUserConfigArgsDict']] 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[Union['KafkaConnectServiceIntegrationArgs', 'KafkaConnectServiceIntegrationArgsDict']]]] 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[Union['KafkaConnectTagArgs', 'KafkaConnectTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1013
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaConnectTechEmailArgs', 'KafkaConnectTechEmailArgsDict']]]] 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))
|
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[Union['KafkaConnectorTaskArgs', 'KafkaConnectorTaskArgsDict']]]]] = 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[Union['KafkaConnectorTaskArgs', 'KafkaConnectorTaskArgsDict']]]] tasks: List of tasks of a connector.
|
|
443
443
|
"""
|
|
444
444
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
445
445
|
|
|
@@ -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[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']]] = 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[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]]] = 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[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]]] = None,
|
|
727
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]]] = 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
|
-
ip_filters
|
|
746
|
-
kafka_mirrormaker
|
|
747
|
-
refresh_groups_interval_seconds
|
|
748
|
-
refresh_topics_enabled
|
|
749
|
-
refresh_topics_interval_seconds
|
|
750
|
-
|
|
751
|
-
)
|
|
744
|
+
kafka_mirrormaker_user_config={
|
|
745
|
+
"ip_filters": ["0.0.0.0/0"],
|
|
746
|
+
"kafka_mirrormaker": {
|
|
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
|
|
@@ -762,17 +762,17 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
762
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[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']] 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[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]] 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[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
775
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]] 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
|
-
ip_filters
|
|
800
|
-
kafka_mirrormaker
|
|
801
|
-
refresh_groups_interval_seconds
|
|
802
|
-
refresh_topics_enabled
|
|
803
|
-
refresh_topics_interval_seconds
|
|
804
|
-
|
|
805
|
-
)
|
|
798
|
+
kafka_mirrormaker_user_config={
|
|
799
|
+
"ip_filters": ["0.0.0.0/0"],
|
|
800
|
+
"kafka_mirrormaker": {
|
|
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[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']]] = 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[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]]] = 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[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]]] = None,
|
|
842
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]]] = 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[Union['KafkaMirrorMakerComponentArgs', 'KafkaMirrorMakerComponentArgsDict']]]]] = 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[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']]] = 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[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]]] = 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[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]]] = None,
|
|
923
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]]] = 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
|
|
@@ -931,20 +931,20 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
931
931
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
932
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[Union['KafkaMirrorMakerComponentArgs', 'KafkaMirrorMakerComponentArgsDict']]]] 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[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']] 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[Union['KafkaMirrorMakerServiceIntegrationArgs', 'KafkaMirrorMakerServiceIntegrationArgsDict']]]] 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[Union['KafkaMirrorMakerTagArgs', 'KafkaMirrorMakerTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
957
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerTechEmailArgs', 'KafkaMirrorMakerTechEmailArgsDict']]]] 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))
|
pulumi_aiven/kafka_topic.py
CHANGED
|
@@ -277,12 +277,12 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
277
277
|
def __init__(__self__,
|
|
278
278
|
resource_name: str,
|
|
279
279
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
280
|
-
config: Optional[pulumi.Input[
|
|
280
|
+
config: Optional[pulumi.Input[Union['KafkaTopicConfigArgs', 'KafkaTopicConfigArgsDict']]] = None,
|
|
281
281
|
partitions: Optional[pulumi.Input[int]] = None,
|
|
282
282
|
project: Optional[pulumi.Input[str]] = None,
|
|
283
283
|
replication: Optional[pulumi.Input[int]] = None,
|
|
284
284
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
285
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
285
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTopicTagArgs', 'KafkaTopicTagArgsDict']]]]] = None,
|
|
286
286
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
287
287
|
topic_name: Optional[pulumi.Input[str]] = None,
|
|
288
288
|
__props__=None):
|
|
@@ -302,10 +302,10 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
302
302
|
partitions=5,
|
|
303
303
|
replication=3,
|
|
304
304
|
termination_protection=True,
|
|
305
|
-
config=
|
|
306
|
-
flush_ms
|
|
307
|
-
cleanup_policy
|
|
308
|
-
)
|
|
305
|
+
config={
|
|
306
|
+
"flush_ms": "10",
|
|
307
|
+
"cleanup_policy": "compact,delete",
|
|
308
|
+
})
|
|
309
309
|
```
|
|
310
310
|
|
|
311
311
|
## Import
|
|
@@ -316,12 +316,12 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
316
316
|
|
|
317
317
|
:param str resource_name: The name of the resource.
|
|
318
318
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
319
|
-
:param pulumi.Input[
|
|
319
|
+
:param pulumi.Input[Union['KafkaTopicConfigArgs', 'KafkaTopicConfigArgsDict']] config: [Advanced parameters](https://aiven.io/docs/products/kafka/reference/advanced-params) to configure topics.
|
|
320
320
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
321
321
|
: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.
|
|
322
322
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
323
323
|
: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.
|
|
324
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
324
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaTopicTagArgs', 'KafkaTopicTagArgsDict']]]] tags: Tags for the topic.
|
|
325
325
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
326
326
|
"""
|
|
327
327
|
...
|
|
@@ -346,10 +346,10 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
346
346
|
partitions=5,
|
|
347
347
|
replication=3,
|
|
348
348
|
termination_protection=True,
|
|
349
|
-
config=
|
|
350
|
-
flush_ms
|
|
351
|
-
cleanup_policy
|
|
352
|
-
)
|
|
349
|
+
config={
|
|
350
|
+
"flush_ms": "10",
|
|
351
|
+
"cleanup_policy": "compact,delete",
|
|
352
|
+
})
|
|
353
353
|
```
|
|
354
354
|
|
|
355
355
|
## Import
|
|
@@ -373,12 +373,12 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
373
373
|
def _internal_init(__self__,
|
|
374
374
|
resource_name: str,
|
|
375
375
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
376
|
-
config: Optional[pulumi.Input[
|
|
376
|
+
config: Optional[pulumi.Input[Union['KafkaTopicConfigArgs', 'KafkaTopicConfigArgsDict']]] = None,
|
|
377
377
|
partitions: Optional[pulumi.Input[int]] = None,
|
|
378
378
|
project: Optional[pulumi.Input[str]] = None,
|
|
379
379
|
replication: Optional[pulumi.Input[int]] = None,
|
|
380
380
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
381
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
381
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTopicTagArgs', 'KafkaTopicTagArgsDict']]]]] = None,
|
|
382
382
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
383
383
|
topic_name: Optional[pulumi.Input[str]] = None,
|
|
384
384
|
__props__=None):
|
|
@@ -418,12 +418,12 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
418
418
|
def get(resource_name: str,
|
|
419
419
|
id: pulumi.Input[str],
|
|
420
420
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
421
|
-
config: Optional[pulumi.Input[
|
|
421
|
+
config: Optional[pulumi.Input[Union['KafkaTopicConfigArgs', 'KafkaTopicConfigArgsDict']]] = None,
|
|
422
422
|
partitions: Optional[pulumi.Input[int]] = None,
|
|
423
423
|
project: Optional[pulumi.Input[str]] = None,
|
|
424
424
|
replication: Optional[pulumi.Input[int]] = None,
|
|
425
425
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
426
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
426
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['KafkaTopicTagArgs', 'KafkaTopicTagArgsDict']]]]] = None,
|
|
427
427
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
428
428
|
topic_name: Optional[pulumi.Input[str]] = None) -> 'KafkaTopic':
|
|
429
429
|
"""
|
|
@@ -433,12 +433,12 @@ class KafkaTopic(pulumi.CustomResource):
|
|
|
433
433
|
:param str resource_name: The unique name of the resulting resource.
|
|
434
434
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
435
435
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
436
|
-
:param pulumi.Input[
|
|
436
|
+
:param pulumi.Input[Union['KafkaTopicConfigArgs', 'KafkaTopicConfigArgsDict']] config: [Advanced parameters](https://aiven.io/docs/products/kafka/reference/advanced-params) to configure topics.
|
|
437
437
|
:param pulumi.Input[int] partitions: The number of partitions to create in the topic.
|
|
438
438
|
: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.
|
|
439
439
|
:param pulumi.Input[int] replication: The replication factor for the topic.
|
|
440
440
|
: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.
|
|
441
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
441
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaTopicTagArgs', 'KafkaTopicTagArgsDict']]]] tags: Tags for the topic.
|
|
442
442
|
:param pulumi.Input[str] topic_name: The name of the topic. Changing this property forces recreation of the resource.
|
|
443
443
|
"""
|
|
444
444
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|