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/dragonfly.py
CHANGED
|
@@ -746,18 +746,18 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
746
746
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
747
747
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
748
748
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
749
|
-
dragonfly: Optional[pulumi.Input[
|
|
750
|
-
dragonfly_user_config: Optional[pulumi.Input[
|
|
749
|
+
dragonfly: Optional[pulumi.Input[Union['DragonflyDragonflyArgs', 'DragonflyDragonflyArgsDict']]] = None,
|
|
750
|
+
dragonfly_user_config: Optional[pulumi.Input[Union['DragonflyDragonflyUserConfigArgs', 'DragonflyDragonflyUserConfigArgsDict']]] = None,
|
|
751
751
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
752
752
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
753
753
|
plan: Optional[pulumi.Input[str]] = None,
|
|
754
754
|
project: Optional[pulumi.Input[str]] = None,
|
|
755
755
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
756
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
756
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyServiceIntegrationArgs', 'DragonflyServiceIntegrationArgsDict']]]]] = None,
|
|
757
757
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
758
758
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
759
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
760
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
759
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTagArgs', 'DragonflyTagArgsDict']]]]] = None,
|
|
760
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTechEmailArgs', 'DragonflyTechEmailArgsDict']]]]] = None,
|
|
761
761
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
762
762
|
__props__=None):
|
|
763
763
|
"""
|
|
@@ -774,9 +774,9 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
774
774
|
plan="startup-4",
|
|
775
775
|
cloud_name="google-europe-west1",
|
|
776
776
|
service_name="example-dragonfly-service",
|
|
777
|
-
dragonfly_user_config=
|
|
778
|
-
cache_mode
|
|
779
|
-
)
|
|
777
|
+
dragonfly_user_config={
|
|
778
|
+
"cache_mode": True,
|
|
779
|
+
})
|
|
780
780
|
```
|
|
781
781
|
|
|
782
782
|
## Import
|
|
@@ -790,18 +790,18 @@ class Dragonfly(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[
|
|
794
|
-
:param pulumi.Input[
|
|
793
|
+
:param pulumi.Input[Union['DragonflyDragonflyArgs', 'DragonflyDragonflyArgsDict']] dragonfly: Dragonfly server provided values
|
|
794
|
+
:param pulumi.Input[Union['DragonflyDragonflyUserConfigArgs', 'DragonflyDragonflyUserConfigArgsDict']] dragonfly_user_config: Dragonfly user configurable settings
|
|
795
795
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
796
796
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
797
797
|
: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).
|
|
798
798
|
: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.
|
|
799
799
|
: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.
|
|
800
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
800
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyServiceIntegrationArgs', 'DragonflyServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
801
801
|
: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.
|
|
802
802
|
: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
|
|
803
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
804
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
803
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTagArgs', 'DragonflyTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
804
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTechEmailArgs', 'DragonflyTechEmailArgsDict']]]] 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.
|
|
805
805
|
: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.
|
|
806
806
|
"""
|
|
807
807
|
...
|
|
@@ -824,9 +824,9 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
824
824
|
plan="startup-4",
|
|
825
825
|
cloud_name="google-europe-west1",
|
|
826
826
|
service_name="example-dragonfly-service",
|
|
827
|
-
dragonfly_user_config=
|
|
828
|
-
cache_mode
|
|
829
|
-
)
|
|
827
|
+
dragonfly_user_config={
|
|
828
|
+
"cache_mode": True,
|
|
829
|
+
})
|
|
830
830
|
```
|
|
831
831
|
|
|
832
832
|
## Import
|
|
@@ -853,18 +853,18 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
853
853
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
854
854
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
855
855
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
856
|
-
dragonfly: Optional[pulumi.Input[
|
|
857
|
-
dragonfly_user_config: Optional[pulumi.Input[
|
|
856
|
+
dragonfly: Optional[pulumi.Input[Union['DragonflyDragonflyArgs', 'DragonflyDragonflyArgsDict']]] = None,
|
|
857
|
+
dragonfly_user_config: Optional[pulumi.Input[Union['DragonflyDragonflyUserConfigArgs', 'DragonflyDragonflyUserConfigArgsDict']]] = None,
|
|
858
858
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
859
859
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
860
860
|
plan: Optional[pulumi.Input[str]] = None,
|
|
861
861
|
project: Optional[pulumi.Input[str]] = None,
|
|
862
862
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
863
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
863
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyServiceIntegrationArgs', 'DragonflyServiceIntegrationArgsDict']]]]] = None,
|
|
864
864
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
865
865
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
866
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
867
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
866
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTagArgs', 'DragonflyTagArgsDict']]]]] = None,
|
|
867
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTechEmailArgs', 'DragonflyTechEmailArgsDict']]]]] = None,
|
|
868
868
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
869
869
|
__props__=None):
|
|
870
870
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -923,21 +923,21 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
923
923
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
924
924
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
925
925
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
926
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
926
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyComponentArgs', 'DragonflyComponentArgsDict']]]]] = None,
|
|
927
927
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
928
928
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
929
929
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
930
930
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
931
931
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
932
|
-
dragonfly: Optional[pulumi.Input[
|
|
933
|
-
dragonfly_user_config: Optional[pulumi.Input[
|
|
932
|
+
dragonfly: Optional[pulumi.Input[Union['DragonflyDragonflyArgs', 'DragonflyDragonflyArgsDict']]] = None,
|
|
933
|
+
dragonfly_user_config: Optional[pulumi.Input[Union['DragonflyDragonflyUserConfigArgs', 'DragonflyDragonflyUserConfigArgsDict']]] = None,
|
|
934
934
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
935
935
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
936
936
|
plan: Optional[pulumi.Input[str]] = None,
|
|
937
937
|
project: Optional[pulumi.Input[str]] = None,
|
|
938
938
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
939
939
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
940
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
940
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyServiceIntegrationArgs', 'DragonflyServiceIntegrationArgsDict']]]]] = None,
|
|
941
941
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
942
942
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
943
943
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -946,8 +946,8 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
946
946
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
947
947
|
state: Optional[pulumi.Input[str]] = None,
|
|
948
948
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
949
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
950
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
949
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTagArgs', 'DragonflyTagArgsDict']]]]] = None,
|
|
950
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTechEmailArgs', 'DragonflyTechEmailArgsDict']]]]] = None,
|
|
951
951
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Dragonfly':
|
|
952
952
|
"""
|
|
953
953
|
Get an existing Dragonfly resource's state with the given name, id, and optional extra
|
|
@@ -958,21 +958,21 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
958
958
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
959
959
|
: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.
|
|
960
960
|
: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).
|
|
961
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
961
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyComponentArgs', 'DragonflyComponentArgsDict']]]] components: Service component information objects
|
|
962
962
|
: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.
|
|
963
963
|
: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.
|
|
964
964
|
: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`
|
|
965
965
|
: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.
|
|
966
966
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
967
|
-
:param pulumi.Input[
|
|
968
|
-
:param pulumi.Input[
|
|
967
|
+
:param pulumi.Input[Union['DragonflyDragonflyArgs', 'DragonflyDragonflyArgsDict']] dragonfly: Dragonfly server provided values
|
|
968
|
+
:param pulumi.Input[Union['DragonflyDragonflyUserConfigArgs', 'DragonflyDragonflyUserConfigArgsDict']] dragonfly_user_config: Dragonfly user configurable settings
|
|
969
969
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
970
970
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
971
971
|
: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).
|
|
972
972
|
: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.
|
|
973
973
|
: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.
|
|
974
974
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
975
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
975
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyServiceIntegrationArgs', 'DragonflyServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
976
976
|
: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.
|
|
977
977
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
978
978
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -981,8 +981,8 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
981
981
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
982
982
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
983
983
|
: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
|
|
984
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
985
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
984
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTagArgs', 'DragonflyTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
985
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTechEmailArgs', 'DragonflyTechEmailArgsDict']]]] 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.
|
|
986
986
|
: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.
|
|
987
987
|
"""
|
|
988
988
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
pulumi_aiven/flink.py
CHANGED
|
@@ -746,18 +746,18 @@ class Flink(pulumi.CustomResource):
|
|
|
746
746
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
747
747
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
748
748
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
749
|
-
flink: Optional[pulumi.Input[
|
|
750
|
-
flink_user_config: Optional[pulumi.Input[
|
|
749
|
+
flink: Optional[pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']]] = None,
|
|
750
|
+
flink_user_config: Optional[pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']]] = None,
|
|
751
751
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
752
752
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
753
753
|
plan: Optional[pulumi.Input[str]] = None,
|
|
754
754
|
project: Optional[pulumi.Input[str]] = None,
|
|
755
755
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
756
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
756
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]]] = None,
|
|
757
757
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
758
758
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
759
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
760
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
759
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]]] = None,
|
|
760
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]]] = None,
|
|
761
761
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
762
762
|
__props__=None):
|
|
763
763
|
"""
|
|
@@ -776,9 +776,9 @@ class Flink(pulumi.CustomResource):
|
|
|
776
776
|
service_name="example-flink-service",
|
|
777
777
|
maintenance_window_dow="monday",
|
|
778
778
|
maintenance_window_time="10:00:00",
|
|
779
|
-
flink_user_config=
|
|
780
|
-
flink_version
|
|
781
|
-
)
|
|
779
|
+
flink_user_config={
|
|
780
|
+
"flink_version": "1.19",
|
|
781
|
+
})
|
|
782
782
|
```
|
|
783
783
|
|
|
784
784
|
## Import
|
|
@@ -792,18 +792,18 @@ class Flink(pulumi.CustomResource):
|
|
|
792
792
|
: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.
|
|
793
793
|
: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).
|
|
794
794
|
: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.
|
|
795
|
-
:param pulumi.Input[
|
|
796
|
-
:param pulumi.Input[
|
|
795
|
+
:param pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']] flink: Values provided by the Flink server.
|
|
796
|
+
:param pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']] flink_user_config: Flink user configurable settings
|
|
797
797
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
798
798
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
799
799
|
: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).
|
|
800
800
|
: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.
|
|
801
801
|
: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.
|
|
802
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
802
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
803
803
|
: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.
|
|
804
804
|
: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
|
|
805
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
806
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
805
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
806
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]] 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.
|
|
807
807
|
: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.
|
|
808
808
|
"""
|
|
809
809
|
...
|
|
@@ -828,9 +828,9 @@ class Flink(pulumi.CustomResource):
|
|
|
828
828
|
service_name="example-flink-service",
|
|
829
829
|
maintenance_window_dow="monday",
|
|
830
830
|
maintenance_window_time="10:00:00",
|
|
831
|
-
flink_user_config=
|
|
832
|
-
flink_version
|
|
833
|
-
)
|
|
831
|
+
flink_user_config={
|
|
832
|
+
"flink_version": "1.19",
|
|
833
|
+
})
|
|
834
834
|
```
|
|
835
835
|
|
|
836
836
|
## Import
|
|
@@ -857,18 +857,18 @@ class Flink(pulumi.CustomResource):
|
|
|
857
857
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
858
858
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
859
859
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
860
|
-
flink: Optional[pulumi.Input[
|
|
861
|
-
flink_user_config: Optional[pulumi.Input[
|
|
860
|
+
flink: Optional[pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']]] = None,
|
|
861
|
+
flink_user_config: Optional[pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']]] = None,
|
|
862
862
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
863
863
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
864
864
|
plan: Optional[pulumi.Input[str]] = None,
|
|
865
865
|
project: Optional[pulumi.Input[str]] = None,
|
|
866
866
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
867
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
867
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]]] = None,
|
|
868
868
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
869
869
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
870
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
871
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
870
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]]] = None,
|
|
871
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]]] = None,
|
|
872
872
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
873
873
|
__props__=None):
|
|
874
874
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -927,21 +927,21 @@ class Flink(pulumi.CustomResource):
|
|
|
927
927
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
928
928
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
929
929
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
930
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
930
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkComponentArgs', 'FlinkComponentArgsDict']]]]] = None,
|
|
931
931
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
932
932
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
933
933
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
934
934
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
935
935
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
936
|
-
flink: Optional[pulumi.Input[
|
|
937
|
-
flink_user_config: Optional[pulumi.Input[
|
|
936
|
+
flink: Optional[pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']]] = None,
|
|
937
|
+
flink_user_config: Optional[pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']]] = None,
|
|
938
938
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
939
939
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
940
940
|
plan: Optional[pulumi.Input[str]] = None,
|
|
941
941
|
project: Optional[pulumi.Input[str]] = None,
|
|
942
942
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
943
943
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
944
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
944
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]]] = None,
|
|
945
945
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
946
946
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
947
947
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -950,8 +950,8 @@ class Flink(pulumi.CustomResource):
|
|
|
950
950
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
951
951
|
state: Optional[pulumi.Input[str]] = None,
|
|
952
952
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
953
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
954
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
953
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]]] = None,
|
|
954
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]]] = None,
|
|
955
955
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Flink':
|
|
956
956
|
"""
|
|
957
957
|
Get an existing Flink resource's state with the given name, id, and optional extra
|
|
@@ -962,21 +962,21 @@ class Flink(pulumi.CustomResource):
|
|
|
962
962
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
963
963
|
: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.
|
|
964
964
|
: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).
|
|
965
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
965
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkComponentArgs', 'FlinkComponentArgsDict']]]] components: Service component information objects
|
|
966
966
|
: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.
|
|
967
967
|
: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.
|
|
968
968
|
: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`
|
|
969
969
|
: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.
|
|
970
970
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
971
|
-
:param pulumi.Input[
|
|
972
|
-
:param pulumi.Input[
|
|
971
|
+
:param pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']] flink: Values provided by the Flink server.
|
|
972
|
+
:param pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']] flink_user_config: Flink user configurable settings
|
|
973
973
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
974
974
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
975
975
|
: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).
|
|
976
976
|
: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.
|
|
977
977
|
: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.
|
|
978
978
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
979
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
979
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
980
980
|
: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.
|
|
981
981
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
982
982
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -985,8 +985,8 @@ class Flink(pulumi.CustomResource):
|
|
|
985
985
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
986
986
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
987
987
|
: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
|
|
988
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
989
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
988
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
989
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]] 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.
|
|
990
990
|
: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.
|
|
991
991
|
"""
|
|
992
992
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -310,8 +310,8 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
|
|
|
310
310
|
service_name=example_flink["serviceName"],
|
|
311
311
|
application_id=example_app.application_id,
|
|
312
312
|
statement=" INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\\n",
|
|
313
|
-
sinks=[
|
|
314
|
-
create_table
|
|
313
|
+
sinks=[{
|
|
314
|
+
"create_table": \"\"\" CREATE TABLE kafka_known_pizza (
|
|
315
315
|
shop STRING,
|
|
316
316
|
name STRING
|
|
317
317
|
) WITH (
|
|
@@ -322,10 +322,10 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
|
|
|
322
322
|
'value.format' = 'json'
|
|
323
323
|
)
|
|
324
324
|
\"\"\",
|
|
325
|
-
integration_id
|
|
326
|
-
|
|
327
|
-
sources=[
|
|
328
|
-
create_table
|
|
325
|
+
"integration_id": flink_to_kafka["integrationId"],
|
|
326
|
+
}],
|
|
327
|
+
sources=[{
|
|
328
|
+
"create_table": \"\"\" CREATE TABLE kafka_pizza (
|
|
329
329
|
shop STRING,
|
|
330
330
|
name STRING
|
|
331
331
|
) WITH (
|
|
@@ -336,8 +336,8 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
|
|
|
336
336
|
'value.format' = 'json'
|
|
337
337
|
)
|
|
338
338
|
\"\"\",
|
|
339
|
-
integration_id
|
|
340
|
-
|
|
339
|
+
"integration_id": flink_to_kafka["integrationId"],
|
|
340
|
+
}])
|
|
341
341
|
main_flink_application_deployment = aiven.FlinkApplicationDeployment("main",
|
|
342
342
|
project=example_project["project"],
|
|
343
343
|
service_name=example_flink["serviceName"],
|
|
@@ -385,8 +385,8 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
|
|
|
385
385
|
service_name=example_flink["serviceName"],
|
|
386
386
|
application_id=example_app.application_id,
|
|
387
387
|
statement=" INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\\n",
|
|
388
|
-
sinks=[
|
|
389
|
-
create_table
|
|
388
|
+
sinks=[{
|
|
389
|
+
"create_table": \"\"\" CREATE TABLE kafka_known_pizza (
|
|
390
390
|
shop STRING,
|
|
391
391
|
name STRING
|
|
392
392
|
) WITH (
|
|
@@ -397,10 +397,10 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
|
|
|
397
397
|
'value.format' = 'json'
|
|
398
398
|
)
|
|
399
399
|
\"\"\",
|
|
400
|
-
integration_id
|
|
401
|
-
|
|
402
|
-
sources=[
|
|
403
|
-
create_table
|
|
400
|
+
"integration_id": flink_to_kafka["integrationId"],
|
|
401
|
+
}],
|
|
402
|
+
sources=[{
|
|
403
|
+
"create_table": \"\"\" CREATE TABLE kafka_pizza (
|
|
404
404
|
shop STRING,
|
|
405
405
|
name STRING
|
|
406
406
|
) WITH (
|
|
@@ -411,8 +411,8 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
|
|
|
411
411
|
'value.format' = 'json'
|
|
412
412
|
)
|
|
413
413
|
\"\"\",
|
|
414
|
-
integration_id
|
|
415
|
-
|
|
414
|
+
"integration_id": flink_to_kafka["integrationId"],
|
|
415
|
+
}])
|
|
416
416
|
main_flink_application_deployment = aiven.FlinkApplicationDeployment("main",
|
|
417
417
|
project=example_project["project"],
|
|
418
418
|
service_name=example_flink["serviceName"],
|
|
@@ -369,10 +369,10 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
369
369
|
application_id: Optional[pulumi.Input[str]] = None,
|
|
370
370
|
project: Optional[pulumi.Input[str]] = None,
|
|
371
371
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
372
|
-
sink: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
373
|
-
sinks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
374
|
-
source: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
375
|
-
sources: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
372
|
+
sink: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSinkArgs', 'FlinkApplicationVersionSinkArgsDict']]]]] = None,
|
|
373
|
+
sinks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSinkArgs', 'FlinkApplicationVersionSinkArgsDict']]]]] = None,
|
|
374
|
+
source: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSourceArgs', 'FlinkApplicationVersionSourceArgsDict']]]]] = None,
|
|
375
|
+
sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSourceArgs', 'FlinkApplicationVersionSourceArgsDict']]]]] = None,
|
|
376
376
|
statement: Optional[pulumi.Input[str]] = None,
|
|
377
377
|
__props__=None):
|
|
378
378
|
"""
|
|
@@ -393,8 +393,8 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
393
393
|
service_name=example_flink["serviceName"],
|
|
394
394
|
application_id=example_app.application_id,
|
|
395
395
|
statement=" INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\\n",
|
|
396
|
-
sinks=[
|
|
397
|
-
create_table
|
|
396
|
+
sinks=[{
|
|
397
|
+
"create_table": \"\"\" CREATE TABLE kafka_known_pizza (
|
|
398
398
|
shop STRING,
|
|
399
399
|
name STRING
|
|
400
400
|
) WITH (
|
|
@@ -405,10 +405,10 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
405
405
|
'value.format' = 'json'
|
|
406
406
|
)
|
|
407
407
|
\"\"\",
|
|
408
|
-
integration_id
|
|
409
|
-
|
|
410
|
-
sources=[
|
|
411
|
-
create_table
|
|
408
|
+
"integration_id": flink_to_kafka["integrationId"],
|
|
409
|
+
}],
|
|
410
|
+
sources=[{
|
|
411
|
+
"create_table": \"\"\" CREATE TABLE kafka_pizza (
|
|
412
412
|
shop STRING,
|
|
413
413
|
name STRING
|
|
414
414
|
) WITH (
|
|
@@ -419,8 +419,8 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
419
419
|
'value.format' = 'json'
|
|
420
420
|
)
|
|
421
421
|
\"\"\",
|
|
422
|
-
integration_id
|
|
423
|
-
|
|
422
|
+
"integration_id": flink_to_kafka["integrationId"],
|
|
423
|
+
}])
|
|
424
424
|
```
|
|
425
425
|
|
|
426
426
|
## Import
|
|
@@ -434,10 +434,10 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
434
434
|
:param pulumi.Input[str] application_id: Application ID.
|
|
435
435
|
: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.
|
|
436
436
|
: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.
|
|
437
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
438
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
439
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
440
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
437
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSinkArgs', 'FlinkApplicationVersionSinkArgsDict']]]] sink: The sink table for the application.
|
|
438
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSinkArgs', 'FlinkApplicationVersionSinkArgsDict']]]] sinks: Application sinks
|
|
439
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSourceArgs', 'FlinkApplicationVersionSourceArgsDict']]]] source: The source table for the application.
|
|
440
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSourceArgs', 'FlinkApplicationVersionSourceArgsDict']]]] sources: Application sources
|
|
441
441
|
:param pulumi.Input[str] statement: Job SQL statement.
|
|
442
442
|
"""
|
|
443
443
|
...
|
|
@@ -464,8 +464,8 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
464
464
|
service_name=example_flink["serviceName"],
|
|
465
465
|
application_id=example_app.application_id,
|
|
466
466
|
statement=" INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\\n",
|
|
467
|
-
sinks=[
|
|
468
|
-
create_table
|
|
467
|
+
sinks=[{
|
|
468
|
+
"create_table": \"\"\" CREATE TABLE kafka_known_pizza (
|
|
469
469
|
shop STRING,
|
|
470
470
|
name STRING
|
|
471
471
|
) WITH (
|
|
@@ -476,10 +476,10 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
476
476
|
'value.format' = 'json'
|
|
477
477
|
)
|
|
478
478
|
\"\"\",
|
|
479
|
-
integration_id
|
|
480
|
-
|
|
481
|
-
sources=[
|
|
482
|
-
create_table
|
|
479
|
+
"integration_id": flink_to_kafka["integrationId"],
|
|
480
|
+
}],
|
|
481
|
+
sources=[{
|
|
482
|
+
"create_table": \"\"\" CREATE TABLE kafka_pizza (
|
|
483
483
|
shop STRING,
|
|
484
484
|
name STRING
|
|
485
485
|
) WITH (
|
|
@@ -490,8 +490,8 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
490
490
|
'value.format' = 'json'
|
|
491
491
|
)
|
|
492
492
|
\"\"\",
|
|
493
|
-
integration_id
|
|
494
|
-
|
|
493
|
+
"integration_id": flink_to_kafka["integrationId"],
|
|
494
|
+
}])
|
|
495
495
|
```
|
|
496
496
|
|
|
497
497
|
## Import
|
|
@@ -518,10 +518,10 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
518
518
|
application_id: Optional[pulumi.Input[str]] = None,
|
|
519
519
|
project: Optional[pulumi.Input[str]] = None,
|
|
520
520
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
521
|
-
sink: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
522
|
-
sinks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
523
|
-
source: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
524
|
-
sources: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
521
|
+
sink: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSinkArgs', 'FlinkApplicationVersionSinkArgsDict']]]]] = None,
|
|
522
|
+
sinks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSinkArgs', 'FlinkApplicationVersionSinkArgsDict']]]]] = None,
|
|
523
|
+
source: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSourceArgs', 'FlinkApplicationVersionSourceArgsDict']]]]] = None,
|
|
524
|
+
sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSourceArgs', 'FlinkApplicationVersionSourceArgsDict']]]]] = None,
|
|
525
525
|
statement: Optional[pulumi.Input[str]] = None,
|
|
526
526
|
__props__=None):
|
|
527
527
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -568,10 +568,10 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
568
568
|
created_by: Optional[pulumi.Input[str]] = None,
|
|
569
569
|
project: Optional[pulumi.Input[str]] = None,
|
|
570
570
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
571
|
-
sink: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
572
|
-
sinks: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
573
|
-
source: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
574
|
-
sources: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
571
|
+
sink: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSinkArgs', 'FlinkApplicationVersionSinkArgsDict']]]]] = None,
|
|
572
|
+
sinks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSinkArgs', 'FlinkApplicationVersionSinkArgsDict']]]]] = None,
|
|
573
|
+
source: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSourceArgs', 'FlinkApplicationVersionSourceArgsDict']]]]] = None,
|
|
574
|
+
sources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSourceArgs', 'FlinkApplicationVersionSourceArgsDict']]]]] = None,
|
|
575
575
|
statement: Optional[pulumi.Input[str]] = None,
|
|
576
576
|
version: Optional[pulumi.Input[int]] = None) -> 'FlinkApplicationVersion':
|
|
577
577
|
"""
|
|
@@ -587,10 +587,10 @@ class FlinkApplicationVersion(pulumi.CustomResource):
|
|
|
587
587
|
:param pulumi.Input[str] created_by: The user who created the application.
|
|
588
588
|
: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.
|
|
589
589
|
: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.
|
|
590
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
591
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
592
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
593
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
590
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSinkArgs', 'FlinkApplicationVersionSinkArgsDict']]]] sink: The sink table for the application.
|
|
591
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSinkArgs', 'FlinkApplicationVersionSinkArgsDict']]]] sinks: Application sinks
|
|
592
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSourceArgs', 'FlinkApplicationVersionSourceArgsDict']]]] source: The source table for the application.
|
|
593
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkApplicationVersionSourceArgs', 'FlinkApplicationVersionSourceArgsDict']]]] sources: Application sources
|
|
594
594
|
:param pulumi.Input[str] statement: Job SQL statement.
|
|
595
595
|
:param pulumi.Input[int] version: Application version number.
|
|
596
596
|
"""
|