pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736849214__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.

Files changed (168) hide show
  1. pulumi_aiven/__init__.py +127 -0
  2. pulumi_aiven/_inputs.py +32615 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
  36. pulumi_aiven/get_account.py +20 -9
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +63 -58
  121. pulumi_aiven/kafka_schema_configuration.py +25 -24
  122. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  123. pulumi_aiven/kafka_topic.py +184 -65
  124. pulumi_aiven/kafka_user.py +59 -58
  125. pulumi_aiven/m3_aggregator.py +174 -310
  126. pulumi_aiven/m3_db.py +190 -326
  127. pulumi_aiven/m3db_user.py +51 -50
  128. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  129. pulumi_aiven/my_sql.py +188 -324
  130. pulumi_aiven/mysql_database.py +32 -51
  131. pulumi_aiven/mysql_user.py +37 -36
  132. pulumi_aiven/open_search.py +126 -107
  133. pulumi_aiven/open_search_acl_config.py +33 -36
  134. pulumi_aiven/open_search_acl_rule.py +55 -54
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -29
  137. pulumi_aiven/organization.py +18 -17
  138. pulumi_aiven/organization_application_user.py +345 -0
  139. pulumi_aiven/organization_application_user_token.py +711 -0
  140. pulumi_aiven/organization_group_project.py +349 -0
  141. pulumi_aiven/organization_permission.py +421 -0
  142. pulumi_aiven/organization_user.py +25 -46
  143. pulumi_aiven/organization_user_group.py +64 -23
  144. pulumi_aiven/organization_user_group_member.py +359 -0
  145. pulumi_aiven/organizational_unit.py +41 -36
  146. pulumi_aiven/outputs.py +38355 -21458
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -71
  149. pulumi_aiven/pg_user.py +80 -65
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -35
  152. pulumi_aiven/project_vpc.py +58 -29
  153. pulumi_aiven/provider.py +5 -0
  154. pulumi_aiven/pulumi-plugin.json +2 -1
  155. pulumi_aiven/redis.py +161 -297
  156. pulumi_aiven/redis_user.py +58 -57
  157. pulumi_aiven/service_integration.py +511 -165
  158. pulumi_aiven/service_integration_endpoint.py +466 -158
  159. pulumi_aiven/static_ip.py +21 -16
  160. pulumi_aiven/thanos.py +1262 -0
  161. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/METADATA +7 -6
  165. pulumi_aiven-6.31.0a1736849214.dist-info/RECORD +169 -0
  166. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/top_level.txt +0 -0
pulumi_aiven/flink.py CHANGED
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -34,21 +39,21 @@ class FlinkArgs:
34
39
  termination_protection: Optional[pulumi.Input[bool]] = None):
35
40
  """
36
41
  The set of arguments for constructing a Flink resource.
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
- :param pulumi.Input[str] project: Identifies the project 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.
42
+ :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 seen from the [Aiven pricing page](https://aiven.io/pricing).
43
+ :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
44
  :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: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
45
+ :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
46
  :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
47
  :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
- :param pulumi.Input['FlinkFlinkArgs'] flink: Enable flink.
44
- :param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings
48
+ :param pulumi.Input['FlinkFlinkArgs'] flink: Values provided by the Flink server.
49
+ :param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
45
50
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
46
51
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
47
52
  :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.
48
53
  :param pulumi.Input[Sequence[pulumi.Input['FlinkServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
49
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
54
+ :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
50
55
  :param pulumi.Input[Sequence[pulumi.Input['FlinkTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
51
- :param pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
56
+ :param pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]] 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.
52
57
  :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.
53
58
  """
54
59
  pulumi.set(__self__, "plan", plan)
@@ -88,7 +93,7 @@ class FlinkArgs:
88
93
  @pulumi.getter
89
94
  def plan(self) -> pulumi.Input[str]:
90
95
  """
91
- 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).
96
+ 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 seen from the [Aiven pricing page](https://aiven.io/pricing).
92
97
  """
93
98
  return pulumi.get(self, "plan")
94
99
 
@@ -100,7 +105,7 @@ class FlinkArgs:
100
105
  @pulumi.getter
101
106
  def project(self) -> pulumi.Input[str]:
102
107
  """
103
- Identifies the project 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.
108
+ 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.
104
109
  """
105
110
  return pulumi.get(self, "project")
106
111
 
@@ -124,7 +129,7 @@ class FlinkArgs:
124
129
  @pulumi.getter(name="additionalDiskSpace")
125
130
  def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
126
131
  """
127
- Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
132
+ 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
133
  """
129
134
  return pulumi.get(self, "additional_disk_space")
130
135
 
@@ -146,13 +151,11 @@ class FlinkArgs:
146
151
 
147
152
  @property
148
153
  @pulumi.getter(name="diskSpace")
154
+ @_utilities.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.""")
149
155
  def disk_space(self) -> Optional[pulumi.Input[str]]:
150
156
  """
151
157
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
152
158
  """
153
- 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)
154
- 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.""")
155
-
156
159
  return pulumi.get(self, "disk_space")
157
160
 
158
161
  @disk_space.setter
@@ -163,7 +166,7 @@ class FlinkArgs:
163
166
  @pulumi.getter
164
167
  def flink(self) -> Optional[pulumi.Input['FlinkFlinkArgs']]:
165
168
  """
166
- Enable flink.
169
+ Values provided by the Flink server.
167
170
  """
168
171
  return pulumi.get(self, "flink")
169
172
 
@@ -175,7 +178,7 @@ class FlinkArgs:
175
178
  @pulumi.getter(name="flinkUserConfig")
176
179
  def flink_user_config(self) -> Optional[pulumi.Input['FlinkFlinkUserConfigArgs']]:
177
180
  """
178
- Flink user configurable settings
181
+ Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
179
182
  """
180
183
  return pulumi.get(self, "flink_user_config")
181
184
 
@@ -235,7 +238,7 @@ class FlinkArgs:
235
238
  @pulumi.getter(name="staticIps")
236
239
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
237
240
  """
238
- Use static public IP addresses.
241
+ 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
239
242
  """
240
243
  return pulumi.get(self, "static_ips")
241
244
 
@@ -259,7 +262,7 @@ class FlinkArgs:
259
262
  @pulumi.getter(name="techEmails")
260
263
  def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]]]:
261
264
  """
262
- Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
265
+ 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.
263
266
  """
264
267
  return pulumi.get(self, "tech_emails")
265
268
 
@@ -313,7 +316,7 @@ class _FlinkState:
313
316
  termination_protection: Optional[pulumi.Input[bool]] = None):
314
317
  """
315
318
  Input properties used for looking up and filtering Flink resources.
316
- :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.
319
+ :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.
317
320
  :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).
318
321
  :param pulumi.Input[Sequence[pulumi.Input['FlinkComponentArgs']]] components: Service component information objects
319
322
  :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.
@@ -321,12 +324,12 @@ class _FlinkState:
321
324
  :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`
322
325
  :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.
323
326
  :param pulumi.Input[str] disk_space_used: Disk space that service is currently using
324
- :param pulumi.Input['FlinkFlinkArgs'] flink: Enable flink.
325
- :param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings
327
+ :param pulumi.Input['FlinkFlinkArgs'] flink: Values provided by the Flink server.
328
+ :param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
326
329
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
327
330
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
328
- :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).
329
- :param pulumi.Input[str] project: Identifies the project 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.
331
+ :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 seen from the [Aiven pricing page](https://aiven.io/pricing).
332
+ :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.
330
333
  :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.
331
334
  :param pulumi.Input[str] service_host: The hostname of the service.
332
335
  :param pulumi.Input[Sequence[pulumi.Input['FlinkServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
@@ -337,9 +340,9 @@ class _FlinkState:
337
340
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
338
341
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
339
342
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
340
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
343
+ :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
341
344
  :param pulumi.Input[Sequence[pulumi.Input['FlinkTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
342
- :param pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
345
+ :param pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]] 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.
343
346
  :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.
344
347
  """
345
348
  if additional_disk_space is not None:
@@ -359,6 +362,9 @@ class _FlinkState:
359
362
  pulumi.set(__self__, "disk_space_default", disk_space_default)
360
363
  if disk_space_step is not None:
361
364
  pulumi.set(__self__, "disk_space_step", disk_space_step)
365
+ if disk_space_used is not None:
366
+ 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)
367
+ pulumi.log.warn("""disk_space_used 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.""")
362
368
  if disk_space_used is not None:
363
369
  pulumi.set(__self__, "disk_space_used", disk_space_used)
364
370
  if flink is not None:
@@ -406,7 +412,7 @@ class _FlinkState:
406
412
  @pulumi.getter(name="additionalDiskSpace")
407
413
  def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
408
414
  """
409
- Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
415
+ 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.
410
416
  """
411
417
  return pulumi.get(self, "additional_disk_space")
412
418
 
@@ -440,13 +446,11 @@ class _FlinkState:
440
446
 
441
447
  @property
442
448
  @pulumi.getter(name="diskSpace")
449
+ @_utilities.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.""")
443
450
  def disk_space(self) -> Optional[pulumi.Input[str]]:
444
451
  """
445
452
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
446
453
  """
447
- 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)
448
- 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.""")
449
-
450
454
  return pulumi.get(self, "disk_space")
451
455
 
452
456
  @disk_space.setter
@@ -491,6 +495,7 @@ class _FlinkState:
491
495
 
492
496
  @property
493
497
  @pulumi.getter(name="diskSpaceUsed")
498
+ @_utilities.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.""")
494
499
  def disk_space_used(self) -> Optional[pulumi.Input[str]]:
495
500
  """
496
501
  Disk space that service is currently using
@@ -505,7 +510,7 @@ class _FlinkState:
505
510
  @pulumi.getter
506
511
  def flink(self) -> Optional[pulumi.Input['FlinkFlinkArgs']]:
507
512
  """
508
- Enable flink.
513
+ Values provided by the Flink server.
509
514
  """
510
515
  return pulumi.get(self, "flink")
511
516
 
@@ -517,7 +522,7 @@ class _FlinkState:
517
522
  @pulumi.getter(name="flinkUserConfig")
518
523
  def flink_user_config(self) -> Optional[pulumi.Input['FlinkFlinkUserConfigArgs']]:
519
524
  """
520
- Flink user configurable settings
525
+ Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
521
526
  """
522
527
  return pulumi.get(self, "flink_user_config")
523
528
 
@@ -553,7 +558,7 @@ class _FlinkState:
553
558
  @pulumi.getter
554
559
  def plan(self) -> Optional[pulumi.Input[str]]:
555
560
  """
556
- 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).
561
+ 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 seen from the [Aiven pricing page](https://aiven.io/pricing).
557
562
  """
558
563
  return pulumi.get(self, "plan")
559
564
 
@@ -565,7 +570,7 @@ class _FlinkState:
565
570
  @pulumi.getter
566
571
  def project(self) -> Optional[pulumi.Input[str]]:
567
572
  """
568
- Identifies the project 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.
573
+ 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.
569
574
  """
570
575
  return pulumi.get(self, "project")
571
576
 
@@ -697,7 +702,7 @@ class _FlinkState:
697
702
  @pulumi.getter(name="staticIps")
698
703
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
699
704
  """
700
- Use static public IP addresses.
705
+ 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
701
706
  """
702
707
  return pulumi.get(self, "static_ips")
703
708
 
@@ -721,7 +726,7 @@ class _FlinkState:
721
726
  @pulumi.getter(name="techEmails")
722
727
  def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]]]:
723
728
  """
724
- Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
729
+ 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.
725
730
  """
726
731
  return pulumi.get(self, "tech_emails")
727
732
 
@@ -750,66 +755,64 @@ class Flink(pulumi.CustomResource):
750
755
  additional_disk_space: Optional[pulumi.Input[str]] = None,
751
756
  cloud_name: Optional[pulumi.Input[str]] = None,
752
757
  disk_space: Optional[pulumi.Input[str]] = None,
753
- flink: Optional[pulumi.Input[pulumi.InputType['FlinkFlinkArgs']]] = None,
754
- flink_user_config: Optional[pulumi.Input[pulumi.InputType['FlinkFlinkUserConfigArgs']]] = None,
758
+ flink: Optional[pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']]] = None,
759
+ flink_user_config: Optional[pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']]] = None,
755
760
  maintenance_window_dow: Optional[pulumi.Input[str]] = None,
756
761
  maintenance_window_time: Optional[pulumi.Input[str]] = None,
757
762
  plan: Optional[pulumi.Input[str]] = None,
758
763
  project: Optional[pulumi.Input[str]] = None,
759
764
  project_vpc_id: Optional[pulumi.Input[str]] = None,
760
- service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkServiceIntegrationArgs']]]]] = None,
765
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]]] = None,
761
766
  service_name: Optional[pulumi.Input[str]] = None,
762
767
  static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
763
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTagArgs']]]]] = None,
764
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTechEmailArgs']]]]] = None,
768
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]]] = None,
769
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]]] = None,
765
770
  termination_protection: Optional[pulumi.Input[bool]] = None,
766
771
  __props__=None):
767
772
  """
768
- The Flink resource allows the creation and management of Aiven Flink services.
773
+ Creates and manages an [Aiven for Apache Flink® service](https://aiven.io/docs/products/flink/concepts/flink-features).
769
774
 
770
775
  ## Example Usage
771
776
 
772
- <!--Start PulumiCodeChooser -->
773
777
  ```python
774
778
  import pulumi
775
779
  import pulumi_aiven as aiven
776
780
 
777
- flink = aiven.Flink("flink",
778
- project=data["aiven_project"]["pr1"]["project"],
781
+ example_flink = aiven.Flink("example_flink",
782
+ project=example_project["project"],
779
783
  cloud_name="google-europe-west1",
780
784
  plan="business-4",
781
- service_name="my-flink",
785
+ service_name="example-flink-service",
782
786
  maintenance_window_dow="monday",
783
787
  maintenance_window_time="10:00:00",
784
- flink_user_config=aiven.FlinkFlinkUserConfigArgs(
785
- flink_version="1.16",
786
- ))
788
+ flink_user_config={
789
+ "flink_version": "1.19",
790
+ })
787
791
  ```
788
- <!--End PulumiCodeChooser -->
789
792
 
790
793
  ## Import
791
794
 
792
795
  ```sh
793
- $ pulumi import aiven:index/flink:Flink flink project/service_name
796
+ $ pulumi import aiven:index/flink:Flink example_flink PROJECT/SERVICE_NAME
794
797
  ```
795
798
 
796
799
  :param str resource_name: The name of the resource.
797
800
  :param pulumi.ResourceOptions opts: Options for the resource.
798
- :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.
801
+ :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.
799
802
  :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).
800
803
  :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.
801
- :param pulumi.Input[pulumi.InputType['FlinkFlinkArgs']] flink: Enable flink.
802
- :param pulumi.Input[pulumi.InputType['FlinkFlinkUserConfigArgs']] flink_user_config: Flink user configurable settings
804
+ :param pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']] flink: Values provided by the Flink server.
805
+ :param pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']] flink_user_config: Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
803
806
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
804
807
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
805
- :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).
806
- :param pulumi.Input[str] project: Identifies the project 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.
808
+ :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 seen from the [Aiven pricing page](https://aiven.io/pricing).
809
+ :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.
807
810
  :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.
808
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
811
+ :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
809
812
  :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.
810
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
811
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
812
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
813
+ :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
814
+ :param pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
815
+ :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.
813
816
  :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.
814
817
  """
815
818
  ...
@@ -819,32 +822,30 @@ class Flink(pulumi.CustomResource):
819
822
  args: FlinkArgs,
820
823
  opts: Optional[pulumi.ResourceOptions] = None):
821
824
  """
822
- The Flink resource allows the creation and management of Aiven Flink services.
825
+ Creates and manages an [Aiven for Apache Flink® service](https://aiven.io/docs/products/flink/concepts/flink-features).
823
826
 
824
827
  ## Example Usage
825
828
 
826
- <!--Start PulumiCodeChooser -->
827
829
  ```python
828
830
  import pulumi
829
831
  import pulumi_aiven as aiven
830
832
 
831
- flink = aiven.Flink("flink",
832
- project=data["aiven_project"]["pr1"]["project"],
833
+ example_flink = aiven.Flink("example_flink",
834
+ project=example_project["project"],
833
835
  cloud_name="google-europe-west1",
834
836
  plan="business-4",
835
- service_name="my-flink",
837
+ service_name="example-flink-service",
836
838
  maintenance_window_dow="monday",
837
839
  maintenance_window_time="10:00:00",
838
- flink_user_config=aiven.FlinkFlinkUserConfigArgs(
839
- flink_version="1.16",
840
- ))
840
+ flink_user_config={
841
+ "flink_version": "1.19",
842
+ })
841
843
  ```
842
- <!--End PulumiCodeChooser -->
843
844
 
844
845
  ## Import
845
846
 
846
847
  ```sh
847
- $ pulumi import aiven:index/flink:Flink flink project/service_name
848
+ $ pulumi import aiven:index/flink:Flink example_flink PROJECT/SERVICE_NAME
848
849
  ```
849
850
 
850
851
  :param str resource_name: The name of the resource.
@@ -865,18 +866,18 @@ class Flink(pulumi.CustomResource):
865
866
  additional_disk_space: Optional[pulumi.Input[str]] = None,
866
867
  cloud_name: Optional[pulumi.Input[str]] = None,
867
868
  disk_space: Optional[pulumi.Input[str]] = None,
868
- flink: Optional[pulumi.Input[pulumi.InputType['FlinkFlinkArgs']]] = None,
869
- flink_user_config: Optional[pulumi.Input[pulumi.InputType['FlinkFlinkUserConfigArgs']]] = None,
869
+ flink: Optional[pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']]] = None,
870
+ flink_user_config: Optional[pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']]] = None,
870
871
  maintenance_window_dow: Optional[pulumi.Input[str]] = None,
871
872
  maintenance_window_time: Optional[pulumi.Input[str]] = None,
872
873
  plan: Optional[pulumi.Input[str]] = None,
873
874
  project: Optional[pulumi.Input[str]] = None,
874
875
  project_vpc_id: Optional[pulumi.Input[str]] = None,
875
- service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkServiceIntegrationArgs']]]]] = None,
876
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]]] = None,
876
877
  service_name: Optional[pulumi.Input[str]] = None,
877
878
  static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
878
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTagArgs']]]]] = None,
879
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTechEmailArgs']]]]] = None,
879
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]]] = None,
880
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]]] = None,
880
881
  termination_protection: Optional[pulumi.Input[bool]] = None,
881
882
  __props__=None):
882
883
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -890,7 +891,7 @@ class Flink(pulumi.CustomResource):
890
891
  __props__.__dict__["additional_disk_space"] = additional_disk_space
891
892
  __props__.__dict__["cloud_name"] = cloud_name
892
893
  __props__.__dict__["disk_space"] = disk_space
893
- __props__.__dict__["flink"] = flink
894
+ __props__.__dict__["flink"] = None if flink is None else pulumi.Output.secret(flink)
894
895
  __props__.__dict__["flink_user_config"] = flink_user_config
895
896
  __props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
896
897
  __props__.__dict__["maintenance_window_time"] = maintenance_window_time
@@ -921,7 +922,7 @@ class Flink(pulumi.CustomResource):
921
922
  __props__.__dict__["service_uri"] = None
922
923
  __props__.__dict__["service_username"] = None
923
924
  __props__.__dict__["state"] = None
924
- secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
925
+ secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["flink", "servicePassword", "serviceUri"])
925
926
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
926
927
  super(Flink, __self__).__init__(
927
928
  'aiven:index/flink:Flink',
@@ -935,21 +936,21 @@ class Flink(pulumi.CustomResource):
935
936
  opts: Optional[pulumi.ResourceOptions] = None,
936
937
  additional_disk_space: Optional[pulumi.Input[str]] = None,
937
938
  cloud_name: Optional[pulumi.Input[str]] = None,
938
- components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkComponentArgs']]]]] = None,
939
+ components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkComponentArgs', 'FlinkComponentArgsDict']]]]] = None,
939
940
  disk_space: Optional[pulumi.Input[str]] = None,
940
941
  disk_space_cap: Optional[pulumi.Input[str]] = None,
941
942
  disk_space_default: Optional[pulumi.Input[str]] = None,
942
943
  disk_space_step: Optional[pulumi.Input[str]] = None,
943
944
  disk_space_used: Optional[pulumi.Input[str]] = None,
944
- flink: Optional[pulumi.Input[pulumi.InputType['FlinkFlinkArgs']]] = None,
945
- flink_user_config: Optional[pulumi.Input[pulumi.InputType['FlinkFlinkUserConfigArgs']]] = None,
945
+ flink: Optional[pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']]] = None,
946
+ flink_user_config: Optional[pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']]] = None,
946
947
  maintenance_window_dow: Optional[pulumi.Input[str]] = None,
947
948
  maintenance_window_time: Optional[pulumi.Input[str]] = None,
948
949
  plan: Optional[pulumi.Input[str]] = None,
949
950
  project: Optional[pulumi.Input[str]] = None,
950
951
  project_vpc_id: Optional[pulumi.Input[str]] = None,
951
952
  service_host: Optional[pulumi.Input[str]] = None,
952
- service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkServiceIntegrationArgs']]]]] = None,
953
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkServiceIntegrationArgs', 'FlinkServiceIntegrationArgsDict']]]]] = None,
953
954
  service_name: Optional[pulumi.Input[str]] = None,
954
955
  service_password: Optional[pulumi.Input[str]] = None,
955
956
  service_port: Optional[pulumi.Input[int]] = None,
@@ -958,8 +959,8 @@ class Flink(pulumi.CustomResource):
958
959
  service_username: Optional[pulumi.Input[str]] = None,
959
960
  state: Optional[pulumi.Input[str]] = None,
960
961
  static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
961
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTagArgs']]]]] = None,
962
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTechEmailArgs']]]]] = None,
962
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]]] = None,
963
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkTechEmailArgs', 'FlinkTechEmailArgsDict']]]]] = None,
963
964
  termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Flink':
964
965
  """
965
966
  Get an existing Flink resource's state with the given name, id, and optional extra
@@ -968,23 +969,23 @@ class Flink(pulumi.CustomResource):
968
969
  :param str resource_name: The unique name of the resulting resource.
969
970
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
970
971
  :param pulumi.ResourceOptions opts: Options for the resource.
971
- :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.
972
+ :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.
972
973
  :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).
973
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkComponentArgs']]]] components: Service component information objects
974
+ :param pulumi.Input[Sequence[pulumi.Input[Union['FlinkComponentArgs', 'FlinkComponentArgsDict']]]] components: Service component information objects
974
975
  :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.
975
976
  :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.
976
977
  :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`
977
978
  :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.
978
979
  :param pulumi.Input[str] disk_space_used: Disk space that service is currently using
979
- :param pulumi.Input[pulumi.InputType['FlinkFlinkArgs']] flink: Enable flink.
980
- :param pulumi.Input[pulumi.InputType['FlinkFlinkUserConfigArgs']] flink_user_config: Flink user configurable settings
980
+ :param pulumi.Input[Union['FlinkFlinkArgs', 'FlinkFlinkArgsDict']] flink: Values provided by the Flink server.
981
+ :param pulumi.Input[Union['FlinkFlinkUserConfigArgs', 'FlinkFlinkUserConfigArgsDict']] flink_user_config: Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
981
982
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
982
983
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
983
- :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).
984
- :param pulumi.Input[str] project: Identifies the project 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.
984
+ :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 seen from the [Aiven pricing page](https://aiven.io/pricing).
985
+ :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.
985
986
  :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.
986
987
  :param pulumi.Input[str] service_host: The hostname of the service.
987
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
988
+ :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
988
989
  :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.
989
990
  :param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
990
991
  :param pulumi.Input[int] service_port: The port of the service
@@ -992,9 +993,9 @@ class Flink(pulumi.CustomResource):
992
993
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
993
994
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
994
995
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
995
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
996
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
997
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
996
+ :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
997
+ :param pulumi.Input[Sequence[pulumi.Input[Union['FlinkTagArgs', 'FlinkTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
998
+ :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.
998
999
  :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.
999
1000
  """
1000
1001
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -1033,9 +1034,9 @@ class Flink(pulumi.CustomResource):
1033
1034
 
1034
1035
  @property
1035
1036
  @pulumi.getter(name="additionalDiskSpace")
1036
- def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
1037
+ def additional_disk_space(self) -> pulumi.Output[str]:
1037
1038
  """
1038
- Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1039
+ 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.
1039
1040
  """
1040
1041
  return pulumi.get(self, "additional_disk_space")
1041
1042
 
@@ -1057,13 +1058,11 @@ class Flink(pulumi.CustomResource):
1057
1058
 
1058
1059
  @property
1059
1060
  @pulumi.getter(name="diskSpace")
1061
+ @_utilities.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.""")
1060
1062
  def disk_space(self) -> pulumi.Output[Optional[str]]:
1061
1063
  """
1062
1064
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1063
1065
  """
1064
- 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)
1065
- 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.""")
1066
-
1067
1066
  return pulumi.get(self, "disk_space")
1068
1067
 
1069
1068
  @property
@@ -1092,6 +1091,7 @@ class Flink(pulumi.CustomResource):
1092
1091
 
1093
1092
  @property
1094
1093
  @pulumi.getter(name="diskSpaceUsed")
1094
+ @_utilities.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.""")
1095
1095
  def disk_space_used(self) -> pulumi.Output[str]:
1096
1096
  """
1097
1097
  Disk space that service is currently using
@@ -1102,7 +1102,7 @@ class Flink(pulumi.CustomResource):
1102
1102
  @pulumi.getter
1103
1103
  def flink(self) -> pulumi.Output['outputs.FlinkFlink']:
1104
1104
  """
1105
- Enable flink.
1105
+ Values provided by the Flink server.
1106
1106
  """
1107
1107
  return pulumi.get(self, "flink")
1108
1108
 
@@ -1110,7 +1110,7 @@ class Flink(pulumi.CustomResource):
1110
1110
  @pulumi.getter(name="flinkUserConfig")
1111
1111
  def flink_user_config(self) -> pulumi.Output[Optional['outputs.FlinkFlinkUserConfig']]:
1112
1112
  """
1113
- Flink user configurable settings
1113
+ Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
1114
1114
  """
1115
1115
  return pulumi.get(self, "flink_user_config")
1116
1116
 
@@ -1134,7 +1134,7 @@ class Flink(pulumi.CustomResource):
1134
1134
  @pulumi.getter
1135
1135
  def plan(self) -> pulumi.Output[str]:
1136
1136
  """
1137
- 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).
1137
+ 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 seen from the [Aiven pricing page](https://aiven.io/pricing).
1138
1138
  """
1139
1139
  return pulumi.get(self, "plan")
1140
1140
 
@@ -1142,13 +1142,13 @@ class Flink(pulumi.CustomResource):
1142
1142
  @pulumi.getter
1143
1143
  def project(self) -> pulumi.Output[str]:
1144
1144
  """
1145
- Identifies the project 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.
1145
+ 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.
1146
1146
  """
1147
1147
  return pulumi.get(self, "project")
1148
1148
 
1149
1149
  @property
1150
1150
  @pulumi.getter(name="projectVpcId")
1151
- def project_vpc_id(self) -> pulumi.Output[Optional[str]]:
1151
+ def project_vpc_id(self) -> pulumi.Output[str]:
1152
1152
  """
1153
1153
  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.
1154
1154
  """
@@ -1164,7 +1164,7 @@ class Flink(pulumi.CustomResource):
1164
1164
 
1165
1165
  @property
1166
1166
  @pulumi.getter(name="serviceIntegrations")
1167
- def service_integrations(self) -> pulumi.Output[Optional[Sequence['outputs.FlinkServiceIntegration']]]:
1167
+ def service_integrations(self) -> pulumi.Output[Sequence['outputs.FlinkServiceIntegration']]:
1168
1168
  """
1169
1169
  Service integrations to specify when creating a service. Not applied after initial service creation
1170
1170
  """
@@ -1230,7 +1230,7 @@ class Flink(pulumi.CustomResource):
1230
1230
  @pulumi.getter(name="staticIps")
1231
1231
  def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
1232
1232
  """
1233
- Use static public IP addresses.
1233
+ 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
1234
1234
  """
1235
1235
  return pulumi.get(self, "static_ips")
1236
1236
 
@@ -1246,7 +1246,7 @@ class Flink(pulumi.CustomResource):
1246
1246
  @pulumi.getter(name="techEmails")
1247
1247
  def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.FlinkTechEmail']]]:
1248
1248
  """
1249
- Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
1249
+ 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.
1250
1250
  """
1251
1251
  return pulumi.get(self, "tech_emails")
1252
1252