pulumi-aiven 6.8.0a1696284100__py3-none-any.whl → 6.8.0a1696359310__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 +5916 -1115
- pulumi_aiven/account.py +49 -14
- pulumi_aiven/account_authentication.py +117 -32
- pulumi_aiven/account_team.py +40 -8
- pulumi_aiven/account_team_member.py +46 -10
- pulumi_aiven/account_team_project.py +43 -9
- pulumi_aiven/aws_privatelink.py +43 -9
- pulumi_aiven/aws_vpc_peering_connection.py +52 -12
- pulumi_aiven/azure_privatelink.py +49 -11
- pulumi_aiven/azure_privatelink_connection_approval.py +43 -9
- pulumi_aiven/azure_vpc_peering_connection.py +64 -16
- pulumi_aiven/billing_group.py +109 -34
- pulumi_aiven/cassandra.py +158 -56
- pulumi_aiven/cassandra_user.py +52 -12
- pulumi_aiven/clickhouse.py +158 -56
- pulumi_aiven/clickhouse_database.py +43 -9
- pulumi_aiven/clickhouse_grant.py +62 -20
- pulumi_aiven/clickhouse_role.py +37 -7
- pulumi_aiven/clickhouse_user.py +46 -10
- pulumi_aiven/config/vars.py +1 -1
- pulumi_aiven/connection_pool.py +64 -16
- pulumi_aiven/flink.py +162 -53
- pulumi_aiven/flink_application.py +52 -12
- pulumi_aiven/flink_application_deployment.py +67 -17
- pulumi_aiven/flink_application_version.py +79 -27
- pulumi_aiven/gcp_privatelink.py +40 -8
- pulumi_aiven/gcp_privatelink_connection_approval.py +46 -10
- pulumi_aiven/gcp_vpc_peering_connection.py +46 -10
- pulumi_aiven/get_account.py +1 -1
- pulumi_aiven/get_account_authentication.py +1 -1
- pulumi_aiven/get_account_team.py +1 -1
- pulumi_aiven/get_account_team_member.py +1 -1
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_aws_privatelink.py +1 -1
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_privatelink.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_billing_group.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_clickhouse_database.py +1 -1
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_connection_pool.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_flink_application.py +1 -1
- pulumi_aiven/get_flink_application_version.py +1 -1
- pulumi_aiven/get_gcp_privatelink.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_influx_db.py +1 -1
- pulumi_aiven/get_influxdb_database.py +1 -1
- pulumi_aiven/get_influxdb_user.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_acl.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_connector.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_kafka_schema.py +1 -1
- pulumi_aiven/get_kafka_schema_configuration.py +1 -1
- pulumi_aiven/get_kafka_schema_registry_acl.py +1 -1
- pulumi_aiven/get_kafka_topic.py +1 -1
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_m3db_user.py +1 -1
- pulumi_aiven/get_mirror_maker_replication_flow.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_mysql_database.py +1 -1
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_open_search_acl_config.py +1 -1
- pulumi_aiven/get_open_search_acl_rule.py +1 -1
- pulumi_aiven/get_opensearch_security_plugin_config.py +1 -1
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_user.py +1 -1
- pulumi_aiven/get_organization_user_group.py +1 -1
- pulumi_aiven/get_organizational_unit.py +1 -1
- pulumi_aiven/get_pg.py +1 -1
- pulumi_aiven/get_pg_database.py +1 -1
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_project.py +1 -1
- 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_redis_user.py +1 -1
- pulumi_aiven/get_service_component.py +1 -1
- pulumi_aiven/get_service_integration.py +1 -1
- pulumi_aiven/get_service_integration_endpoint.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/grafana.py +147 -45
- pulumi_aiven/influx_db.py +158 -56
- pulumi_aiven/influxdb_database.py +43 -9
- pulumi_aiven/influxdb_user.py +52 -12
- pulumi_aiven/kafka.py +170 -63
- pulumi_aiven/kafka_acl.py +52 -12
- pulumi_aiven/kafka_connect.py +147 -45
- pulumi_aiven/kafka_connector.py +64 -16
- pulumi_aiven/kafka_mirror_maker.py +147 -45
- pulumi_aiven/kafka_schema.py +58 -14
- pulumi_aiven/kafka_schema_configuration.py +37 -7
- pulumi_aiven/kafka_schema_registry_acl.py +52 -12
- pulumi_aiven/kafka_topic.py +72 -17
- pulumi_aiven/kafka_user.py +52 -12
- pulumi_aiven/m3_aggregator.py +147 -45
- pulumi_aiven/m3_db.py +147 -45
- pulumi_aiven/m3db_user.py +46 -10
- pulumi_aiven/mirror_maker_replication_flow.py +91 -25
- pulumi_aiven/my_sql.py +147 -45
- pulumi_aiven/mysql_database.py +43 -9
- pulumi_aiven/mysql_user.py +58 -14
- pulumi_aiven/open_search.py +158 -56
- pulumi_aiven/open_search_acl_config.py +43 -9
- pulumi_aiven/open_search_acl_rule.py +49 -11
- pulumi_aiven/opensearch_security_plugin_config.py +46 -10
- pulumi_aiven/opensearch_user.py +46 -10
- pulumi_aiven/organization.py +45 -8
- pulumi_aiven/organization_user.py +40 -8
- pulumi_aiven/organization_user_group.py +43 -9
- pulumi_aiven/organizational_unit.py +40 -8
- pulumi_aiven/outputs.py +10584 -2482
- pulumi_aiven/pg.py +169 -60
- pulumi_aiven/pg_database.py +55 -13
- pulumi_aiven/pg_user.py +58 -14
- pulumi_aiven/project.py +91 -34
- pulumi_aiven/project_user.py +40 -8
- pulumi_aiven/project_vpc.py +40 -8
- pulumi_aiven/provider.py +15 -2
- pulumi_aiven/redis.py +147 -45
- pulumi_aiven/redis_user.py +70 -18
- pulumi_aiven/service_integration.py +157 -32
- pulumi_aiven/service_integration_endpoint.py +161 -30
- pulumi_aiven/static_ip.py +43 -9
- pulumi_aiven/transit_gateway_vpc_attachment.py +58 -17
- {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/METADATA +1 -1
- pulumi_aiven-6.8.0a1696359310.dist-info/RECORD +145 -0
- pulumi_aiven-6.8.0a1696284100.dist-info/RECORD +0 -145
- {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/top_level.txt +0 -0
pulumi_aiven/flink.py
CHANGED
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
from . import outputs
|
|
12
12
|
from ._inputs import *
|
|
@@ -39,7 +39,7 @@ class FlinkArgs:
|
|
|
39
39
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
40
40
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
41
41
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
42
|
-
:param pulumi.Input['FlinkFlinkArgs'] flink:
|
|
42
|
+
:param pulumi.Input['FlinkFlinkArgs'] flink: Enable flink.
|
|
43
43
|
:param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings
|
|
44
44
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
45
45
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -49,36 +49,73 @@ class FlinkArgs:
|
|
|
49
49
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
50
50
|
: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.
|
|
51
51
|
"""
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
FlinkArgs._configure(
|
|
53
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
54
|
+
plan=plan,
|
|
55
|
+
project=project,
|
|
56
|
+
service_name=service_name,
|
|
57
|
+
additional_disk_space=additional_disk_space,
|
|
58
|
+
cloud_name=cloud_name,
|
|
59
|
+
disk_space=disk_space,
|
|
60
|
+
flink=flink,
|
|
61
|
+
flink_user_config=flink_user_config,
|
|
62
|
+
maintenance_window_dow=maintenance_window_dow,
|
|
63
|
+
maintenance_window_time=maintenance_window_time,
|
|
64
|
+
project_vpc_id=project_vpc_id,
|
|
65
|
+
service_integrations=service_integrations,
|
|
66
|
+
static_ips=static_ips,
|
|
67
|
+
tags=tags,
|
|
68
|
+
termination_protection=termination_protection,
|
|
69
|
+
)
|
|
70
|
+
@staticmethod
|
|
71
|
+
def _configure(
|
|
72
|
+
_setter: Callable[[Any, Any], None],
|
|
73
|
+
plan: pulumi.Input[str],
|
|
74
|
+
project: pulumi.Input[str],
|
|
75
|
+
service_name: pulumi.Input[str],
|
|
76
|
+
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
77
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
78
|
+
disk_space: Optional[pulumi.Input[str]] = None,
|
|
79
|
+
flink: Optional[pulumi.Input['FlinkFlinkArgs']] = None,
|
|
80
|
+
flink_user_config: Optional[pulumi.Input['FlinkFlinkUserConfigArgs']] = None,
|
|
81
|
+
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
82
|
+
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
83
|
+
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
84
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkServiceIntegrationArgs']]]] = None,
|
|
85
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
86
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkTagArgs']]]] = None,
|
|
87
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
88
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
89
|
+
_setter("plan", plan)
|
|
90
|
+
_setter("project", project)
|
|
91
|
+
_setter("service_name", service_name)
|
|
55
92
|
if additional_disk_space is not None:
|
|
56
|
-
|
|
93
|
+
_setter("additional_disk_space", additional_disk_space)
|
|
57
94
|
if cloud_name is not None:
|
|
58
|
-
|
|
95
|
+
_setter("cloud_name", cloud_name)
|
|
59
96
|
if disk_space is not None:
|
|
60
97
|
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
61
98
|
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
62
99
|
if disk_space is not None:
|
|
63
|
-
|
|
100
|
+
_setter("disk_space", disk_space)
|
|
64
101
|
if flink is not None:
|
|
65
|
-
|
|
102
|
+
_setter("flink", flink)
|
|
66
103
|
if flink_user_config is not None:
|
|
67
|
-
|
|
104
|
+
_setter("flink_user_config", flink_user_config)
|
|
68
105
|
if maintenance_window_dow is not None:
|
|
69
|
-
|
|
106
|
+
_setter("maintenance_window_dow", maintenance_window_dow)
|
|
70
107
|
if maintenance_window_time is not None:
|
|
71
|
-
|
|
108
|
+
_setter("maintenance_window_time", maintenance_window_time)
|
|
72
109
|
if project_vpc_id is not None:
|
|
73
|
-
|
|
110
|
+
_setter("project_vpc_id", project_vpc_id)
|
|
74
111
|
if service_integrations is not None:
|
|
75
|
-
|
|
112
|
+
_setter("service_integrations", service_integrations)
|
|
76
113
|
if static_ips is not None:
|
|
77
|
-
|
|
114
|
+
_setter("static_ips", static_ips)
|
|
78
115
|
if tags is not None:
|
|
79
|
-
|
|
116
|
+
_setter("tags", tags)
|
|
80
117
|
if termination_protection is not None:
|
|
81
|
-
|
|
118
|
+
_setter("termination_protection", termination_protection)
|
|
82
119
|
|
|
83
120
|
@property
|
|
84
121
|
@pulumi.getter
|
|
@@ -159,7 +196,7 @@ class FlinkArgs:
|
|
|
159
196
|
@pulumi.getter
|
|
160
197
|
def flink(self) -> Optional[pulumi.Input['FlinkFlinkArgs']]:
|
|
161
198
|
"""
|
|
162
|
-
|
|
199
|
+
Enable flink.
|
|
163
200
|
"""
|
|
164
201
|
return pulumi.get(self, "flink")
|
|
165
202
|
|
|
@@ -304,7 +341,7 @@ class _FlinkState:
|
|
|
304
341
|
: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`
|
|
305
342
|
: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.
|
|
306
343
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
307
|
-
:param pulumi.Input['FlinkFlinkArgs'] flink:
|
|
344
|
+
:param pulumi.Input['FlinkFlinkArgs'] flink: Enable flink.
|
|
308
345
|
:param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings
|
|
309
346
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
310
347
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -324,63 +361,124 @@ class _FlinkState:
|
|
|
324
361
|
:param pulumi.Input[Sequence[pulumi.Input['FlinkTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
325
362
|
: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.
|
|
326
363
|
"""
|
|
364
|
+
_FlinkState._configure(
|
|
365
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
366
|
+
additional_disk_space=additional_disk_space,
|
|
367
|
+
cloud_name=cloud_name,
|
|
368
|
+
components=components,
|
|
369
|
+
disk_space=disk_space,
|
|
370
|
+
disk_space_cap=disk_space_cap,
|
|
371
|
+
disk_space_default=disk_space_default,
|
|
372
|
+
disk_space_step=disk_space_step,
|
|
373
|
+
disk_space_used=disk_space_used,
|
|
374
|
+
flink=flink,
|
|
375
|
+
flink_user_config=flink_user_config,
|
|
376
|
+
maintenance_window_dow=maintenance_window_dow,
|
|
377
|
+
maintenance_window_time=maintenance_window_time,
|
|
378
|
+
plan=plan,
|
|
379
|
+
project=project,
|
|
380
|
+
project_vpc_id=project_vpc_id,
|
|
381
|
+
service_host=service_host,
|
|
382
|
+
service_integrations=service_integrations,
|
|
383
|
+
service_name=service_name,
|
|
384
|
+
service_password=service_password,
|
|
385
|
+
service_port=service_port,
|
|
386
|
+
service_type=service_type,
|
|
387
|
+
service_uri=service_uri,
|
|
388
|
+
service_username=service_username,
|
|
389
|
+
state=state,
|
|
390
|
+
static_ips=static_ips,
|
|
391
|
+
tags=tags,
|
|
392
|
+
termination_protection=termination_protection,
|
|
393
|
+
)
|
|
394
|
+
@staticmethod
|
|
395
|
+
def _configure(
|
|
396
|
+
_setter: Callable[[Any, Any], None],
|
|
397
|
+
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
398
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
399
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkComponentArgs']]]] = None,
|
|
400
|
+
disk_space: Optional[pulumi.Input[str]] = None,
|
|
401
|
+
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
402
|
+
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
403
|
+
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
404
|
+
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
405
|
+
flink: Optional[pulumi.Input['FlinkFlinkArgs']] = None,
|
|
406
|
+
flink_user_config: Optional[pulumi.Input['FlinkFlinkUserConfigArgs']] = None,
|
|
407
|
+
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
408
|
+
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
409
|
+
plan: Optional[pulumi.Input[str]] = None,
|
|
410
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
411
|
+
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
412
|
+
service_host: Optional[pulumi.Input[str]] = None,
|
|
413
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkServiceIntegrationArgs']]]] = None,
|
|
414
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
415
|
+
service_password: Optional[pulumi.Input[str]] = None,
|
|
416
|
+
service_port: Optional[pulumi.Input[int]] = None,
|
|
417
|
+
service_type: Optional[pulumi.Input[str]] = None,
|
|
418
|
+
service_uri: Optional[pulumi.Input[str]] = None,
|
|
419
|
+
service_username: Optional[pulumi.Input[str]] = None,
|
|
420
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
421
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
422
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkTagArgs']]]] = None,
|
|
423
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
424
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
327
425
|
if additional_disk_space is not None:
|
|
328
|
-
|
|
426
|
+
_setter("additional_disk_space", additional_disk_space)
|
|
329
427
|
if cloud_name is not None:
|
|
330
|
-
|
|
428
|
+
_setter("cloud_name", cloud_name)
|
|
331
429
|
if components is not None:
|
|
332
|
-
|
|
430
|
+
_setter("components", components)
|
|
333
431
|
if disk_space is not None:
|
|
334
432
|
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
335
433
|
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
336
434
|
if disk_space is not None:
|
|
337
|
-
|
|
435
|
+
_setter("disk_space", disk_space)
|
|
338
436
|
if disk_space_cap is not None:
|
|
339
|
-
|
|
437
|
+
_setter("disk_space_cap", disk_space_cap)
|
|
340
438
|
if disk_space_default is not None:
|
|
341
|
-
|
|
439
|
+
_setter("disk_space_default", disk_space_default)
|
|
342
440
|
if disk_space_step is not None:
|
|
343
|
-
|
|
441
|
+
_setter("disk_space_step", disk_space_step)
|
|
344
442
|
if disk_space_used is not None:
|
|
345
|
-
|
|
443
|
+
_setter("disk_space_used", disk_space_used)
|
|
346
444
|
if flink is not None:
|
|
347
|
-
|
|
445
|
+
_setter("flink", flink)
|
|
348
446
|
if flink_user_config is not None:
|
|
349
|
-
|
|
447
|
+
_setter("flink_user_config", flink_user_config)
|
|
350
448
|
if maintenance_window_dow is not None:
|
|
351
|
-
|
|
449
|
+
_setter("maintenance_window_dow", maintenance_window_dow)
|
|
352
450
|
if maintenance_window_time is not None:
|
|
353
|
-
|
|
451
|
+
_setter("maintenance_window_time", maintenance_window_time)
|
|
354
452
|
if plan is not None:
|
|
355
|
-
|
|
453
|
+
_setter("plan", plan)
|
|
356
454
|
if project is not None:
|
|
357
|
-
|
|
455
|
+
_setter("project", project)
|
|
358
456
|
if project_vpc_id is not None:
|
|
359
|
-
|
|
457
|
+
_setter("project_vpc_id", project_vpc_id)
|
|
360
458
|
if service_host is not None:
|
|
361
|
-
|
|
459
|
+
_setter("service_host", service_host)
|
|
362
460
|
if service_integrations is not None:
|
|
363
|
-
|
|
461
|
+
_setter("service_integrations", service_integrations)
|
|
364
462
|
if service_name is not None:
|
|
365
|
-
|
|
463
|
+
_setter("service_name", service_name)
|
|
366
464
|
if service_password is not None:
|
|
367
|
-
|
|
465
|
+
_setter("service_password", service_password)
|
|
368
466
|
if service_port is not None:
|
|
369
|
-
|
|
467
|
+
_setter("service_port", service_port)
|
|
370
468
|
if service_type is not None:
|
|
371
|
-
|
|
469
|
+
_setter("service_type", service_type)
|
|
372
470
|
if service_uri is not None:
|
|
373
|
-
|
|
471
|
+
_setter("service_uri", service_uri)
|
|
374
472
|
if service_username is not None:
|
|
375
|
-
|
|
473
|
+
_setter("service_username", service_username)
|
|
376
474
|
if state is not None:
|
|
377
|
-
|
|
475
|
+
_setter("state", state)
|
|
378
476
|
if static_ips is not None:
|
|
379
|
-
|
|
477
|
+
_setter("static_ips", static_ips)
|
|
380
478
|
if tags is not None:
|
|
381
|
-
|
|
479
|
+
_setter("tags", tags)
|
|
382
480
|
if termination_protection is not None:
|
|
383
|
-
|
|
481
|
+
_setter("termination_protection", termination_protection)
|
|
384
482
|
|
|
385
483
|
@property
|
|
386
484
|
@pulumi.getter(name="additionalDiskSpace")
|
|
@@ -485,7 +583,7 @@ class _FlinkState:
|
|
|
485
583
|
@pulumi.getter
|
|
486
584
|
def flink(self) -> Optional[pulumi.Input['FlinkFlinkArgs']]:
|
|
487
585
|
"""
|
|
488
|
-
|
|
586
|
+
Enable flink.
|
|
489
587
|
"""
|
|
490
588
|
return pulumi.get(self, "flink")
|
|
491
589
|
|
|
@@ -763,7 +861,7 @@ class Flink(pulumi.CustomResource):
|
|
|
763
861
|
: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.
|
|
764
862
|
: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).
|
|
765
863
|
: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.
|
|
766
|
-
:param pulumi.Input[pulumi.InputType['FlinkFlinkArgs']] flink:
|
|
864
|
+
:param pulumi.Input[pulumi.InputType['FlinkFlinkArgs']] flink: Enable flink.
|
|
767
865
|
:param pulumi.Input[pulumi.InputType['FlinkFlinkUserConfigArgs']] flink_user_config: Flink user configurable settings
|
|
768
866
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
769
867
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -819,6 +917,10 @@ class Flink(pulumi.CustomResource):
|
|
|
819
917
|
if resource_args is not None:
|
|
820
918
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
821
919
|
else:
|
|
920
|
+
kwargs = kwargs or {}
|
|
921
|
+
def _setter(key, value):
|
|
922
|
+
kwargs[key] = value
|
|
923
|
+
FlinkArgs._configure(_setter, **kwargs)
|
|
822
924
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
823
925
|
|
|
824
926
|
def _internal_init(__self__,
|
|
@@ -850,11 +952,18 @@ class Flink(pulumi.CustomResource):
|
|
|
850
952
|
|
|
851
953
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
852
954
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
853
|
-
if disk_space is not None and not opts.urn:
|
|
854
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
855
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
856
955
|
__props__.__dict__["disk_space"] = disk_space
|
|
956
|
+
if flink is not None and not isinstance(flink, FlinkFlinkArgs):
|
|
957
|
+
flink = flink or {}
|
|
958
|
+
def _setter(key, value):
|
|
959
|
+
flink[key] = value
|
|
960
|
+
FlinkFlinkArgs._configure(_setter, **flink)
|
|
857
961
|
__props__.__dict__["flink"] = flink
|
|
962
|
+
if flink_user_config is not None and not isinstance(flink_user_config, FlinkFlinkUserConfigArgs):
|
|
963
|
+
flink_user_config = flink_user_config or {}
|
|
964
|
+
def _setter(key, value):
|
|
965
|
+
flink_user_config[key] = value
|
|
966
|
+
FlinkFlinkUserConfigArgs._configure(_setter, **flink_user_config)
|
|
858
967
|
__props__.__dict__["flink_user_config"] = flink_user_config
|
|
859
968
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
860
969
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
@@ -938,7 +1047,7 @@ class Flink(pulumi.CustomResource):
|
|
|
938
1047
|
: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`
|
|
939
1048
|
: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.
|
|
940
1049
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
941
|
-
:param pulumi.Input[pulumi.InputType['FlinkFlinkArgs']] flink:
|
|
1050
|
+
:param pulumi.Input[pulumi.InputType['FlinkFlinkArgs']] flink: Enable flink.
|
|
942
1051
|
:param pulumi.Input[pulumi.InputType['FlinkFlinkUserConfigArgs']] flink_user_config: Flink user configurable settings
|
|
943
1052
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
944
1053
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -1062,7 +1171,7 @@ class Flink(pulumi.CustomResource):
|
|
|
1062
1171
|
@pulumi.getter
|
|
1063
1172
|
def flink(self) -> pulumi.Output['outputs.FlinkFlink']:
|
|
1064
1173
|
"""
|
|
1065
|
-
|
|
1174
|
+
Enable flink.
|
|
1066
1175
|
"""
|
|
1067
1176
|
return pulumi.get(self, "flink")
|
|
1068
1177
|
|
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['FlinkApplicationArgs', 'FlinkApplication']
|
|
@@ -23,10 +23,23 @@ class FlinkApplicationArgs:
|
|
|
23
23
|
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
24
24
|
:param pulumi.Input[str] name: Application name
|
|
25
25
|
"""
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
FlinkApplicationArgs._configure(
|
|
27
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
28
|
+
project=project,
|
|
29
|
+
service_name=service_name,
|
|
30
|
+
name=name,
|
|
31
|
+
)
|
|
32
|
+
@staticmethod
|
|
33
|
+
def _configure(
|
|
34
|
+
_setter: Callable[[Any, Any], None],
|
|
35
|
+
project: pulumi.Input[str],
|
|
36
|
+
service_name: pulumi.Input[str],
|
|
37
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
38
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
39
|
+
_setter("project", project)
|
|
40
|
+
_setter("service_name", service_name)
|
|
28
41
|
if name is not None:
|
|
29
|
-
|
|
42
|
+
_setter("name", name)
|
|
30
43
|
|
|
31
44
|
@property
|
|
32
45
|
@pulumi.getter
|
|
@@ -87,22 +100,45 @@ class _FlinkApplicationState:
|
|
|
87
100
|
:param pulumi.Input[str] updated_at: Application update time
|
|
88
101
|
:param pulumi.Input[str] updated_by: Application updater
|
|
89
102
|
"""
|
|
103
|
+
_FlinkApplicationState._configure(
|
|
104
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
105
|
+
application_id=application_id,
|
|
106
|
+
created_at=created_at,
|
|
107
|
+
created_by=created_by,
|
|
108
|
+
name=name,
|
|
109
|
+
project=project,
|
|
110
|
+
service_name=service_name,
|
|
111
|
+
updated_at=updated_at,
|
|
112
|
+
updated_by=updated_by,
|
|
113
|
+
)
|
|
114
|
+
@staticmethod
|
|
115
|
+
def _configure(
|
|
116
|
+
_setter: Callable[[Any, Any], None],
|
|
117
|
+
application_id: Optional[pulumi.Input[str]] = None,
|
|
118
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
|
119
|
+
created_by: Optional[pulumi.Input[str]] = None,
|
|
120
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
121
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
122
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
123
|
+
updated_at: Optional[pulumi.Input[str]] = None,
|
|
124
|
+
updated_by: Optional[pulumi.Input[str]] = None,
|
|
125
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
90
126
|
if application_id is not None:
|
|
91
|
-
|
|
127
|
+
_setter("application_id", application_id)
|
|
92
128
|
if created_at is not None:
|
|
93
|
-
|
|
129
|
+
_setter("created_at", created_at)
|
|
94
130
|
if created_by is not None:
|
|
95
|
-
|
|
131
|
+
_setter("created_by", created_by)
|
|
96
132
|
if name is not None:
|
|
97
|
-
|
|
133
|
+
_setter("name", name)
|
|
98
134
|
if project is not None:
|
|
99
|
-
|
|
135
|
+
_setter("project", project)
|
|
100
136
|
if service_name is not None:
|
|
101
|
-
|
|
137
|
+
_setter("service_name", service_name)
|
|
102
138
|
if updated_at is not None:
|
|
103
|
-
|
|
139
|
+
_setter("updated_at", updated_at)
|
|
104
140
|
if updated_by is not None:
|
|
105
|
-
|
|
141
|
+
_setter("updated_by", updated_by)
|
|
106
142
|
|
|
107
143
|
@property
|
|
108
144
|
@pulumi.getter(name="applicationId")
|
|
@@ -272,6 +308,10 @@ class FlinkApplication(pulumi.CustomResource):
|
|
|
272
308
|
if resource_args is not None:
|
|
273
309
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
274
310
|
else:
|
|
311
|
+
kwargs = kwargs or {}
|
|
312
|
+
def _setter(key, value):
|
|
313
|
+
kwargs[key] = value
|
|
314
|
+
FlinkApplicationArgs._configure(_setter, **kwargs)
|
|
275
315
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
276
316
|
|
|
277
317
|
def _internal_init(__self__,
|
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['FlinkApplicationDeploymentArgs', 'FlinkApplicationDeployment']
|
|
@@ -33,16 +33,37 @@ class FlinkApplicationDeploymentArgs:
|
|
|
33
33
|
:param pulumi.Input[bool] restart_enabled: Specifies whether a Flink Job is restarted in case it fails
|
|
34
34
|
:param pulumi.Input[str] starting_savepoint: Job savepoint
|
|
35
35
|
"""
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
FlinkApplicationDeploymentArgs._configure(
|
|
37
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
38
|
+
application_id=application_id,
|
|
39
|
+
project=project,
|
|
40
|
+
service_name=service_name,
|
|
41
|
+
version_id=version_id,
|
|
42
|
+
parallelism=parallelism,
|
|
43
|
+
restart_enabled=restart_enabled,
|
|
44
|
+
starting_savepoint=starting_savepoint,
|
|
45
|
+
)
|
|
46
|
+
@staticmethod
|
|
47
|
+
def _configure(
|
|
48
|
+
_setter: Callable[[Any, Any], None],
|
|
49
|
+
application_id: pulumi.Input[str],
|
|
50
|
+
project: pulumi.Input[str],
|
|
51
|
+
service_name: pulumi.Input[str],
|
|
52
|
+
version_id: pulumi.Input[str],
|
|
53
|
+
parallelism: Optional[pulumi.Input[int]] = None,
|
|
54
|
+
restart_enabled: Optional[pulumi.Input[bool]] = None,
|
|
55
|
+
starting_savepoint: Optional[pulumi.Input[str]] = None,
|
|
56
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
57
|
+
_setter("application_id", application_id)
|
|
58
|
+
_setter("project", project)
|
|
59
|
+
_setter("service_name", service_name)
|
|
60
|
+
_setter("version_id", version_id)
|
|
40
61
|
if parallelism is not None:
|
|
41
|
-
|
|
62
|
+
_setter("parallelism", parallelism)
|
|
42
63
|
if restart_enabled is not None:
|
|
43
|
-
|
|
64
|
+
_setter("restart_enabled", restart_enabled)
|
|
44
65
|
if starting_savepoint is not None:
|
|
45
|
-
|
|
66
|
+
_setter("starting_savepoint", starting_savepoint)
|
|
46
67
|
|
|
47
68
|
@property
|
|
48
69
|
@pulumi.getter(name="applicationId")
|
|
@@ -157,24 +178,49 @@ class _FlinkApplicationDeploymentState:
|
|
|
157
178
|
:param pulumi.Input[str] starting_savepoint: Job savepoint
|
|
158
179
|
:param pulumi.Input[str] version_id: ApplicationVersion ID
|
|
159
180
|
"""
|
|
181
|
+
_FlinkApplicationDeploymentState._configure(
|
|
182
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
183
|
+
application_id=application_id,
|
|
184
|
+
created_at=created_at,
|
|
185
|
+
created_by=created_by,
|
|
186
|
+
parallelism=parallelism,
|
|
187
|
+
project=project,
|
|
188
|
+
restart_enabled=restart_enabled,
|
|
189
|
+
service_name=service_name,
|
|
190
|
+
starting_savepoint=starting_savepoint,
|
|
191
|
+
version_id=version_id,
|
|
192
|
+
)
|
|
193
|
+
@staticmethod
|
|
194
|
+
def _configure(
|
|
195
|
+
_setter: Callable[[Any, Any], None],
|
|
196
|
+
application_id: Optional[pulumi.Input[str]] = None,
|
|
197
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
|
198
|
+
created_by: Optional[pulumi.Input[str]] = None,
|
|
199
|
+
parallelism: Optional[pulumi.Input[int]] = None,
|
|
200
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
201
|
+
restart_enabled: Optional[pulumi.Input[bool]] = None,
|
|
202
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
203
|
+
starting_savepoint: Optional[pulumi.Input[str]] = None,
|
|
204
|
+
version_id: Optional[pulumi.Input[str]] = None,
|
|
205
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
160
206
|
if application_id is not None:
|
|
161
|
-
|
|
207
|
+
_setter("application_id", application_id)
|
|
162
208
|
if created_at is not None:
|
|
163
|
-
|
|
209
|
+
_setter("created_at", created_at)
|
|
164
210
|
if created_by is not None:
|
|
165
|
-
|
|
211
|
+
_setter("created_by", created_by)
|
|
166
212
|
if parallelism is not None:
|
|
167
|
-
|
|
213
|
+
_setter("parallelism", parallelism)
|
|
168
214
|
if project is not None:
|
|
169
|
-
|
|
215
|
+
_setter("project", project)
|
|
170
216
|
if restart_enabled is not None:
|
|
171
|
-
|
|
217
|
+
_setter("restart_enabled", restart_enabled)
|
|
172
218
|
if service_name is not None:
|
|
173
|
-
|
|
219
|
+
_setter("service_name", service_name)
|
|
174
220
|
if starting_savepoint is not None:
|
|
175
|
-
|
|
221
|
+
_setter("starting_savepoint", starting_savepoint)
|
|
176
222
|
if version_id is not None:
|
|
177
|
-
|
|
223
|
+
_setter("version_id", version_id)
|
|
178
224
|
|
|
179
225
|
@property
|
|
180
226
|
@pulumi.getter(name="applicationId")
|
|
@@ -332,6 +378,10 @@ class FlinkApplicationDeployment(pulumi.CustomResource):
|
|
|
332
378
|
if resource_args is not None:
|
|
333
379
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
334
380
|
else:
|
|
381
|
+
kwargs = kwargs or {}
|
|
382
|
+
def _setter(key, value):
|
|
383
|
+
kwargs[key] = value
|
|
384
|
+
FlinkApplicationDeploymentArgs._configure(_setter, **kwargs)
|
|
335
385
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
336
386
|
|
|
337
387
|
def _internal_init(__self__,
|