pulumi-aiven 6.22.0a1723007981__py3-none-any.whl → 6.22.0a1723820065__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/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 +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/gcp_vpc_peering_connection.py +7 -7
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- 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/transit_gateway_vpc_attachment.py +7 -7
- pulumi_aiven/valkey.py +33 -33
- {pulumi_aiven-6.22.0a1723007981.dist-info → pulumi_aiven-6.22.0a1723820065.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.22.0a1723007981.dist-info → pulumi_aiven-6.22.0a1723820065.dist-info}/RECORD +43 -43
- {pulumi_aiven-6.22.0a1723007981.dist-info → pulumi_aiven-6.22.0a1723820065.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.22.0a1723007981.dist-info → pulumi_aiven-6.22.0a1723820065.dist-info}/top_level.txt +0 -0
pulumi_aiven/clickhouse_grant.py
CHANGED
|
@@ -224,10 +224,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
224
224
|
def __init__(__self__,
|
|
225
225
|
resource_name: str,
|
|
226
226
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
227
|
-
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
227
|
+
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseGrantPrivilegeGrantArgs', 'ClickhouseGrantPrivilegeGrantArgsDict']]]]] = None,
|
|
228
228
|
project: Optional[pulumi.Input[str]] = None,
|
|
229
229
|
role: Optional[pulumi.Input[str]] = None,
|
|
230
|
-
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
230
|
+
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseGrantRoleGrantArgs', 'ClickhouseGrantRoleGrantArgsDict']]]]] = None,
|
|
231
231
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
232
232
|
user: Optional[pulumi.Input[str]] = None,
|
|
233
233
|
__props__=None):
|
|
@@ -255,15 +255,15 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
255
255
|
service_name=example_clickhouse["serviceName"],
|
|
256
256
|
role=example_role.role,
|
|
257
257
|
privilege_grants=[
|
|
258
|
-
|
|
259
|
-
privilege
|
|
260
|
-
database
|
|
261
|
-
table
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
privilege
|
|
265
|
-
database
|
|
266
|
-
|
|
258
|
+
{
|
|
259
|
+
"privilege": "INSERT",
|
|
260
|
+
"database": example_db["name"],
|
|
261
|
+
"table": "example-table",
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"privilege": "SELECT",
|
|
265
|
+
"database": example_db["name"],
|
|
266
|
+
},
|
|
267
267
|
])
|
|
268
268
|
# Grant the role to the user.
|
|
269
269
|
example_user = aiven.ClickhouseUser("example_user",
|
|
@@ -274,9 +274,9 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
274
274
|
project=example_project["project"],
|
|
275
275
|
service_name=example_clickhouse["serviceName"],
|
|
276
276
|
user=example_user.username,
|
|
277
|
-
role_grants=[
|
|
278
|
-
role
|
|
279
|
-
|
|
277
|
+
role_grants=[{
|
|
278
|
+
"role": example_role.role,
|
|
279
|
+
}])
|
|
280
280
|
```
|
|
281
281
|
|
|
282
282
|
## Import
|
|
@@ -287,10 +287,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
287
287
|
|
|
288
288
|
:param str resource_name: The name of the resource.
|
|
289
289
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
290
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
290
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseGrantPrivilegeGrantArgs', 'ClickhouseGrantPrivilegeGrantArgsDict']]]] privilege_grants: Grant privileges. Changing this property forces recreation of the resource.
|
|
291
291
|
: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.
|
|
292
292
|
:param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
293
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
293
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseGrantRoleGrantArgs', 'ClickhouseGrantRoleGrantArgsDict']]]] role_grants: Grant roles. Changing this property forces recreation of the resource.
|
|
294
294
|
: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.
|
|
295
295
|
:param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
296
296
|
"""
|
|
@@ -324,15 +324,15 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
324
324
|
service_name=example_clickhouse["serviceName"],
|
|
325
325
|
role=example_role.role,
|
|
326
326
|
privilege_grants=[
|
|
327
|
-
|
|
328
|
-
privilege
|
|
329
|
-
database
|
|
330
|
-
table
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
privilege
|
|
334
|
-
database
|
|
335
|
-
|
|
327
|
+
{
|
|
328
|
+
"privilege": "INSERT",
|
|
329
|
+
"database": example_db["name"],
|
|
330
|
+
"table": "example-table",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"privilege": "SELECT",
|
|
334
|
+
"database": example_db["name"],
|
|
335
|
+
},
|
|
336
336
|
])
|
|
337
337
|
# Grant the role to the user.
|
|
338
338
|
example_user = aiven.ClickhouseUser("example_user",
|
|
@@ -343,9 +343,9 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
343
343
|
project=example_project["project"],
|
|
344
344
|
service_name=example_clickhouse["serviceName"],
|
|
345
345
|
user=example_user.username,
|
|
346
|
-
role_grants=[
|
|
347
|
-
role
|
|
348
|
-
|
|
346
|
+
role_grants=[{
|
|
347
|
+
"role": example_role.role,
|
|
348
|
+
}])
|
|
349
349
|
```
|
|
350
350
|
|
|
351
351
|
## Import
|
|
@@ -369,10 +369,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
369
369
|
def _internal_init(__self__,
|
|
370
370
|
resource_name: str,
|
|
371
371
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
372
|
-
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
372
|
+
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseGrantPrivilegeGrantArgs', 'ClickhouseGrantPrivilegeGrantArgsDict']]]]] = None,
|
|
373
373
|
project: Optional[pulumi.Input[str]] = None,
|
|
374
374
|
role: Optional[pulumi.Input[str]] = None,
|
|
375
|
-
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
375
|
+
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseGrantRoleGrantArgs', 'ClickhouseGrantRoleGrantArgsDict']]]]] = None,
|
|
376
376
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
377
377
|
user: Optional[pulumi.Input[str]] = None,
|
|
378
378
|
__props__=None):
|
|
@@ -404,10 +404,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
404
404
|
def get(resource_name: str,
|
|
405
405
|
id: pulumi.Input[str],
|
|
406
406
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
407
|
-
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
407
|
+
privilege_grants: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseGrantPrivilegeGrantArgs', 'ClickhouseGrantPrivilegeGrantArgsDict']]]]] = None,
|
|
408
408
|
project: Optional[pulumi.Input[str]] = None,
|
|
409
409
|
role: Optional[pulumi.Input[str]] = None,
|
|
410
|
-
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
410
|
+
role_grants: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseGrantRoleGrantArgs', 'ClickhouseGrantRoleGrantArgsDict']]]]] = None,
|
|
411
411
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
412
412
|
user: Optional[pulumi.Input[str]] = None) -> 'ClickhouseGrant':
|
|
413
413
|
"""
|
|
@@ -417,10 +417,10 @@ class ClickhouseGrant(pulumi.CustomResource):
|
|
|
417
417
|
:param str resource_name: The unique name of the resulting resource.
|
|
418
418
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
419
419
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
420
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
420
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseGrantPrivilegeGrantArgs', 'ClickhouseGrantPrivilegeGrantArgsDict']]]] privilege_grants: Grant privileges. Changing this property forces recreation of the resource.
|
|
421
421
|
: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.
|
|
422
422
|
:param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
423
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
423
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseGrantRoleGrantArgs', 'ClickhouseGrantRoleGrantArgsDict']]]] role_grants: Grant roles. Changing this property forces recreation of the resource.
|
|
424
424
|
: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.
|
|
425
425
|
:param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
426
426
|
"""
|
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"],
|