pulumi-aiven 6.21.0a1722057299__py3-none-any.whl → 6.22.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +980 -158
- pulumi_aiven/account_authentication.py +5 -5
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/aws_vpc_peering_connection.py +7 -7
- pulumi_aiven/azure_privatelink_connection_approval.py +16 -16
- pulumi_aiven/azure_vpc_peering_connection.py +7 -7
- pulumi_aiven/cassandra.py +46 -46
- pulumi_aiven/clickhouse.py +34 -34
- pulumi_aiven/clickhouse_grant.py +34 -34
- pulumi_aiven/dragonfly.py +40 -40
- pulumi_aiven/flink.py +40 -40
- pulumi_aiven/flink_application_deployment.py +16 -16
- pulumi_aiven/flink_application_version.py +36 -36
- pulumi_aiven/gcp_vpc_peering_connection.py +7 -7
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_dragonfly.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_pg.py +8 -8
- pulumi_aiven/get_pg_database.py +8 -8
- pulumi_aiven/get_pg_user.py +16 -16
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_project_vpc.py +1 -1
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_service_integration.py +3 -3
- pulumi_aiven/get_thanos.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/get_valkey.py +1 -1
- pulumi_aiven/grafana.py +46 -46
- pulumi_aiven/influx_db.py +48 -41
- pulumi_aiven/kafka.py +62 -62
- pulumi_aiven/kafka_connect.py +59 -59
- pulumi_aiven/kafka_connector.py +2 -2
- pulumi_aiven/kafka_mirror_maker.py +45 -45
- pulumi_aiven/kafka_topic.py +18 -18
- pulumi_aiven/m3_aggregator.py +40 -40
- pulumi_aiven/m3_db.py +48 -48
- pulumi_aiven/my_sql.py +54 -54
- pulumi_aiven/mysql_user.py +7 -7
- pulumi_aiven/open_search.py +56 -56
- pulumi_aiven/organization.py +3 -3
- pulumi_aiven/organization_group_project.py +3 -3
- pulumi_aiven/organization_user_group_member.py +3 -3
- pulumi_aiven/outputs.py +1708 -317
- pulumi_aiven/pg.py +43 -43
- pulumi_aiven/pg_database.py +12 -12
- pulumi_aiven/pg_user.py +47 -47
- pulumi_aiven/project.py +5 -5
- pulumi_aiven/project_user.py +7 -7
- pulumi_aiven/project_vpc.py +4 -4
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +46 -46
- pulumi_aiven/service_integration.py +72 -72
- pulumi_aiven/service_integration_endpoint.py +65 -65
- pulumi_aiven/thanos.py +34 -34
- pulumi_aiven/transit_gateway_vpc_attachment.py +7 -7
- pulumi_aiven/valkey.py +40 -40
- {pulumi_aiven-6.21.0a1722057299.dist-info → pulumi_aiven-6.22.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.21.0a1722057299.dist-info → pulumi_aiven-6.22.0.dist-info}/RECORD +75 -75
- {pulumi_aiven-6.21.0a1722057299.dist-info → pulumi_aiven-6.22.0.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.21.0a1722057299.dist-info → pulumi_aiven-6.22.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/dragonfly.py
CHANGED
|
@@ -37,7 +37,7 @@ class DragonflyArgs:
|
|
|
37
37
|
: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).
|
|
38
38
|
: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.
|
|
39
39
|
: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.
|
|
40
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
40
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
41
41
|
: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).
|
|
42
42
|
: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.
|
|
43
43
|
:param pulumi.Input['DragonflyDragonflyArgs'] dragonfly: Dragonfly server provided values
|
|
@@ -124,7 +124,7 @@ class DragonflyArgs:
|
|
|
124
124
|
@pulumi.getter(name="additionalDiskSpace")
|
|
125
125
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
126
126
|
"""
|
|
127
|
-
|
|
127
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
128
128
|
"""
|
|
129
129
|
return pulumi.get(self, "additional_disk_space")
|
|
130
130
|
|
|
@@ -311,7 +311,7 @@ class _DragonflyState:
|
|
|
311
311
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
312
312
|
"""
|
|
313
313
|
Input properties used for looking up and filtering Dragonfly resources.
|
|
314
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
314
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
315
315
|
: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).
|
|
316
316
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyComponentArgs']]] components: Service component information objects
|
|
317
317
|
: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.
|
|
@@ -404,7 +404,7 @@ class _DragonflyState:
|
|
|
404
404
|
@pulumi.getter(name="additionalDiskSpace")
|
|
405
405
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
406
406
|
"""
|
|
407
|
-
|
|
407
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
408
408
|
"""
|
|
409
409
|
return pulumi.get(self, "additional_disk_space")
|
|
410
410
|
|
|
@@ -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
|
|
@@ -787,21 +787,21 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
787
787
|
|
|
788
788
|
:param str resource_name: The name of the resource.
|
|
789
789
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
790
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
790
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
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
|
|
@@ -956,23 +956,23 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
956
956
|
:param str resource_name: The unique name of the resulting resource.
|
|
957
957
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
958
958
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
959
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
959
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
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))
|
|
@@ -1023,7 +1023,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1023
1023
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1024
1024
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1025
1025
|
"""
|
|
1026
|
-
|
|
1026
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
1027
1027
|
"""
|
|
1028
1028
|
return pulumi.get(self, "additional_disk_space")
|
|
1029
1029
|
|
pulumi_aiven/flink.py
CHANGED
|
@@ -37,7 +37,7 @@ class FlinkArgs:
|
|
|
37
37
|
: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).
|
|
38
38
|
: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.
|
|
39
39
|
: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.
|
|
40
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
40
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
41
41
|
: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).
|
|
42
42
|
: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.
|
|
43
43
|
:param pulumi.Input['FlinkFlinkArgs'] flink: Values provided by the Flink server.
|
|
@@ -124,7 +124,7 @@ class FlinkArgs:
|
|
|
124
124
|
@pulumi.getter(name="additionalDiskSpace")
|
|
125
125
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
126
126
|
"""
|
|
127
|
-
|
|
127
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
128
128
|
"""
|
|
129
129
|
return pulumi.get(self, "additional_disk_space")
|
|
130
130
|
|
|
@@ -311,7 +311,7 @@ class _FlinkState:
|
|
|
311
311
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
312
312
|
"""
|
|
313
313
|
Input properties used for looking up and filtering Flink resources.
|
|
314
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
314
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
315
315
|
: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).
|
|
316
316
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkComponentArgs']]] components: Service component information objects
|
|
317
317
|
: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.
|
|
@@ -404,7 +404,7 @@ class _FlinkState:
|
|
|
404
404
|
@pulumi.getter(name="additionalDiskSpace")
|
|
405
405
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
406
406
|
"""
|
|
407
|
-
|
|
407
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
408
408
|
"""
|
|
409
409
|
return pulumi.get(self, "additional_disk_space")
|
|
410
410
|
|
|
@@ -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
|
|
@@ -789,21 +789,21 @@ class Flink(pulumi.CustomResource):
|
|
|
789
789
|
|
|
790
790
|
:param str resource_name: The name of the resource.
|
|
791
791
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
792
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
792
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
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
|
|
@@ -960,23 +960,23 @@ class Flink(pulumi.CustomResource):
|
|
|
960
960
|
:param str resource_name: The unique name of the resulting resource.
|
|
961
961
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
962
962
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
963
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
963
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
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))
|
|
@@ -1027,7 +1027,7 @@ class Flink(pulumi.CustomResource):
|
|
|
1027
1027
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1028
1028
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1029
1029
|
"""
|
|
1030
|
-
|
|
1030
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
1031
1031
|
"""
|
|
1032
1032
|
return pulumi.get(self, "additional_disk_space")
|
|
1033
1033
|
|
|
@@ -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"],
|