pulumi-aiven 6.37.0a1743570488__py3-none-any.whl → 6.37.0a1744255932__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 (187) hide show
  1. pulumi_aiven/__init__.py +22 -0
  2. pulumi_aiven/_inputs.py +8877 -8288
  3. pulumi_aiven/account.py +71 -70
  4. pulumi_aiven/account_authentication.py +204 -203
  5. pulumi_aiven/account_team.py +50 -49
  6. pulumi_aiven/account_team_member.py +64 -63
  7. pulumi_aiven/account_team_project.py +57 -56
  8. pulumi_aiven/alloydbomni.py +247 -254
  9. pulumi_aiven/alloydbomni_database.py +71 -70
  10. pulumi_aiven/alloydbomni_user.py +92 -91
  11. pulumi_aiven/aws_org_vpc_peering_connection.py +92 -91
  12. pulumi_aiven/aws_privatelink.py +57 -56
  13. pulumi_aiven/aws_vpc_peering_connection.py +78 -77
  14. pulumi_aiven/azure_org_vpc_peering_connection.py +113 -112
  15. pulumi_aiven/azure_privatelink.py +71 -70
  16. pulumi_aiven/azure_privatelink_connection_approval.py +57 -56
  17. pulumi_aiven/azure_vpc_peering_connection.py +106 -105
  18. pulumi_aiven/billing_group.py +211 -210
  19. pulumi_aiven/cassandra.py +233 -240
  20. pulumi_aiven/cassandra_user.py +78 -77
  21. pulumi_aiven/clickhouse.py +233 -240
  22. pulumi_aiven/clickhouse_database.py +53 -52
  23. pulumi_aiven/clickhouse_grant.py +57 -56
  24. pulumi_aiven/clickhouse_role.py +43 -42
  25. pulumi_aiven/clickhouse_user.py +64 -63
  26. pulumi_aiven/config/__init__.py +1 -0
  27. pulumi_aiven/config/__init__.pyi +1 -0
  28. pulumi_aiven/config/vars.py +1 -0
  29. pulumi_aiven/connection_pool.py +106 -105
  30. pulumi_aiven/dragonfly.py +233 -240
  31. pulumi_aiven/flink.py +233 -240
  32. pulumi_aiven/flink_application.py +78 -77
  33. pulumi_aiven/flink_application_deployment.py +113 -112
  34. pulumi_aiven/flink_application_version.py +85 -84
  35. pulumi_aiven/flink_jar_application.py +78 -77
  36. pulumi_aiven/flink_jar_application_deployment.py +176 -175
  37. pulumi_aiven/flink_jar_application_version.py +92 -91
  38. pulumi_aiven/gcp_org_vpc_peering_connection.py +71 -70
  39. pulumi_aiven/gcp_privatelink.py +50 -49
  40. pulumi_aiven/gcp_privatelink_connection_approval.py +64 -63
  41. pulumi_aiven/gcp_vpc_peering_connection.py +64 -63
  42. pulumi_aiven/get_account.py +14 -13
  43. pulumi_aiven/get_account_authentication.py +27 -26
  44. pulumi_aiven/get_account_team.py +15 -14
  45. pulumi_aiven/get_account_team_member.py +20 -19
  46. pulumi_aiven/get_account_team_project.py +18 -17
  47. pulumi_aiven/get_alloydbomni.py +34 -36
  48. pulumi_aiven/get_alloydbomni_database.py +19 -18
  49. pulumi_aiven/get_alloydbomni_user.py +22 -21
  50. pulumi_aiven/get_aws_org_vpc_peering_connection.py +30 -29
  51. pulumi_aiven/get_aws_privatelink.py +15 -14
  52. pulumi_aiven/get_aws_vpc_peering_connection.py +25 -24
  53. pulumi_aiven/get_azure_org_vpc_peering_connection.py +31 -30
  54. pulumi_aiven/get_azure_privatelink.py +17 -16
  55. pulumi_aiven/get_azure_vpc_peering_connection.py +35 -34
  56. pulumi_aiven/get_billing_group.py +22 -21
  57. pulumi_aiven/get_cassanda.py +33 -35
  58. pulumi_aiven/get_cassandra.py +33 -35
  59. pulumi_aiven/get_cassandra_user.py +21 -20
  60. pulumi_aiven/get_clickhouse.py +33 -35
  61. pulumi_aiven/get_clickhouse_database.py +18 -17
  62. pulumi_aiven/get_clickhouse_user.py +20 -19
  63. pulumi_aiven/get_connection_pool.py +22 -21
  64. pulumi_aiven/get_dragonfly.py +33 -35
  65. pulumi_aiven/get_external_identity.py +22 -21
  66. pulumi_aiven/get_flink.py +33 -35
  67. pulumi_aiven/get_flink_application.py +22 -21
  68. pulumi_aiven/get_flink_application_version.py +26 -25
  69. pulumi_aiven/get_gcp_org_vpc_peering_connection.py +24 -23
  70. pulumi_aiven/get_gcp_privatelink.py +15 -14
  71. pulumi_aiven/get_gcp_vpc_peering_connection.py +20 -19
  72. pulumi_aiven/get_grafana.py +33 -35
  73. pulumi_aiven/get_influx_db.py +28 -27
  74. pulumi_aiven/get_influxdb_database.py +12 -11
  75. pulumi_aiven/get_influxdb_user.py +15 -14
  76. pulumi_aiven/get_kafka.py +35 -37
  77. pulumi_aiven/get_kafka_acl.py +28 -27
  78. pulumi_aiven/get_kafka_connect.py +33 -35
  79. pulumi_aiven/get_kafka_connector.py +24 -23
  80. pulumi_aiven/get_kafka_mirror_maker.py +33 -35
  81. pulumi_aiven/get_kafka_schema.py +21 -20
  82. pulumi_aiven/get_kafka_schema_configuration.py +17 -16
  83. pulumi_aiven/get_kafka_schema_registry_acl.py +28 -27
  84. pulumi_aiven/get_kafka_topic.py +22 -21
  85. pulumi_aiven/get_kafka_user.py +21 -20
  86. pulumi_aiven/get_m3_aggregator.py +33 -35
  87. pulumi_aiven/get_m3_db.py +33 -35
  88. pulumi_aiven/get_m3db_user.py +19 -18
  89. pulumi_aiven/get_mirror_maker_replication_flow.py +34 -33
  90. pulumi_aiven/get_my_sql.py +33 -35
  91. pulumi_aiven/get_mysql_database.py +18 -17
  92. pulumi_aiven/get_mysql_user.py +22 -21
  93. pulumi_aiven/get_open_search.py +33 -35
  94. pulumi_aiven/get_open_search_acl_config.py +14 -13
  95. pulumi_aiven/get_open_search_acl_rule.py +27 -26
  96. pulumi_aiven/get_opensearch_security_plugin_config.py +16 -15
  97. pulumi_aiven/get_opensearch_user.py +19 -18
  98. pulumi_aiven/get_organization.py +14 -13
  99. pulumi_aiven/get_organization_address.py +227 -0
  100. pulumi_aiven/get_organization_application_user.py +15 -34
  101. pulumi_aiven/get_organization_billing_group.py +241 -0
  102. pulumi_aiven/get_organization_billing_group_list.py +110 -0
  103. pulumi_aiven/get_organization_project.py +30 -15
  104. pulumi_aiven/get_organization_user.py +18 -17
  105. pulumi_aiven/get_organization_user_group.py +16 -15
  106. pulumi_aiven/get_organization_user_list.py +32 -19
  107. pulumi_aiven/get_organization_vpc.py +17 -16
  108. pulumi_aiven/get_organizational_unit.py +11 -10
  109. pulumi_aiven/get_pg.py +33 -35
  110. pulumi_aiven/get_pg_database.py +20 -19
  111. pulumi_aiven/get_pg_user.py +22 -21
  112. pulumi_aiven/get_project.py +19 -18
  113. pulumi_aiven/get_project_user.py +14 -13
  114. pulumi_aiven/get_project_vpc.py +19 -18
  115. pulumi_aiven/get_redis.py +33 -35
  116. pulumi_aiven/get_redis_user.py +23 -22
  117. pulumi_aiven/get_service_component.py +54 -39
  118. pulumi_aiven/get_service_integration.py +29 -28
  119. pulumi_aiven/get_service_integration_endpoint.py +14 -13
  120. pulumi_aiven/get_thanos.py +33 -35
  121. pulumi_aiven/get_transit_gateway_vpc_attachment.py +22 -21
  122. pulumi_aiven/get_valkey.py +33 -35
  123. pulumi_aiven/get_valkey_user.py +23 -22
  124. pulumi_aiven/grafana.py +233 -240
  125. pulumi_aiven/influx_db.py +251 -244
  126. pulumi_aiven/influxdb_database.py +53 -52
  127. pulumi_aiven/influxdb_user.py +78 -77
  128. pulumi_aiven/kafka.py +261 -268
  129. pulumi_aiven/kafka_acl.py +78 -77
  130. pulumi_aiven/kafka_connect.py +233 -240
  131. pulumi_aiven/kafka_connector.py +99 -98
  132. pulumi_aiven/kafka_mirror_maker.py +233 -240
  133. pulumi_aiven/kafka_native_acl.py +127 -126
  134. pulumi_aiven/kafka_quota.py +99 -98
  135. pulumi_aiven/kafka_schema.py +92 -91
  136. pulumi_aiven/kafka_schema_configuration.py +43 -42
  137. pulumi_aiven/kafka_schema_registry_acl.py +78 -77
  138. pulumi_aiven/kafka_topic.py +109 -108
  139. pulumi_aiven/kafka_user.py +78 -77
  140. pulumi_aiven/m3_aggregator.py +233 -240
  141. pulumi_aiven/m3_db.py +233 -240
  142. pulumi_aiven/m3db_user.py +64 -63
  143. pulumi_aiven/mirror_maker_replication_flow.py +225 -224
  144. pulumi_aiven/my_sql.py +233 -240
  145. pulumi_aiven/mysql_database.py +53 -52
  146. pulumi_aiven/mysql_user.py +92 -91
  147. pulumi_aiven/open_search.py +233 -240
  148. pulumi_aiven/open_search_acl_config.py +57 -56
  149. pulumi_aiven/open_search_acl_rule.py +75 -74
  150. pulumi_aiven/opensearch_security_plugin_config.py +64 -63
  151. pulumi_aiven/opensearch_user.py +64 -63
  152. pulumi_aiven/organization.py +38 -37
  153. pulumi_aiven/organization_address.py +557 -0
  154. pulumi_aiven/organization_application_user.py +61 -60
  155. pulumi_aiven/organization_application_user_token.py +169 -168
  156. pulumi_aiven/organization_billing_group.py +645 -0
  157. pulumi_aiven/organization_group_project.py +43 -42
  158. pulumi_aiven/organization_permission.py +45 -44
  159. pulumi_aiven/organization_project.py +114 -82
  160. pulumi_aiven/organization_user.py +57 -56
  161. pulumi_aiven/organization_user_group.py +64 -63
  162. pulumi_aiven/organization_user_group_member.py +50 -81
  163. pulumi_aiven/organization_vpc.py +71 -70
  164. pulumi_aiven/organizational_unit.py +50 -49
  165. pulumi_aiven/outputs.py +10770 -10004
  166. pulumi_aiven/pg.py +233 -240
  167. pulumi_aiven/pg_database.py +81 -80
  168. pulumi_aiven/pg_user.py +92 -91
  169. pulumi_aiven/project.py +155 -154
  170. pulumi_aiven/project_user.py +50 -49
  171. pulumi_aiven/project_vpc.py +50 -49
  172. pulumi_aiven/provider.py +9 -8
  173. pulumi_aiven/pulumi-plugin.json +1 -1
  174. pulumi_aiven/redis.py +233 -240
  175. pulumi_aiven/redis_user.py +120 -119
  176. pulumi_aiven/service_integration.py +124 -123
  177. pulumi_aiven/service_integration_endpoint.py +50 -49
  178. pulumi_aiven/static_ip.py +57 -56
  179. pulumi_aiven/thanos.py +233 -240
  180. pulumi_aiven/transit_gateway_vpc_attachment.py +92 -91
  181. pulumi_aiven/valkey.py +233 -240
  182. pulumi_aiven/valkey_user.py +120 -119
  183. {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/METADATA +1 -1
  184. pulumi_aiven-6.37.0a1744255932.dist-info/RECORD +188 -0
  185. pulumi_aiven-6.37.0a1743570488.dist-info/RECORD +0 -183
  186. {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/WHEEL +0 -0
  187. {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -120,9 +121,9 @@ class GetCassandaResult:
120
121
 
121
122
  @property
122
123
  @pulumi.getter(name="additionalDiskSpace")
123
- def additional_disk_space(self) -> str:
124
+ def additional_disk_space(self) -> builtins.str:
124
125
  """
125
- 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.
126
+ 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
126
127
  """
127
128
  return pulumi.get(self, "additional_disk_space")
128
129
 
@@ -144,7 +145,7 @@ class GetCassandaResult:
144
145
 
145
146
  @property
146
147
  @pulumi.getter(name="cloudName")
147
- def cloud_name(self) -> str:
148
+ def cloud_name(self) -> builtins.str:
148
149
  """
149
150
  The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
150
151
  """
@@ -160,7 +161,7 @@ class GetCassandaResult:
160
161
 
161
162
  @property
162
163
  @pulumi.getter(name="diskSpace")
163
- def disk_space(self) -> str:
164
+ def disk_space(self) -> builtins.str:
164
165
  """
165
166
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
166
167
  """
@@ -168,7 +169,7 @@ class GetCassandaResult:
168
169
 
169
170
  @property
170
171
  @pulumi.getter(name="diskSpaceCap")
171
- def disk_space_cap(self) -> str:
172
+ def disk_space_cap(self) -> builtins.str:
172
173
  """
173
174
  The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
174
175
  """
@@ -176,7 +177,7 @@ class GetCassandaResult:
176
177
 
177
178
  @property
178
179
  @pulumi.getter(name="diskSpaceDefault")
179
- def disk_space_default(self) -> str:
180
+ def disk_space_default(self) -> builtins.str:
180
181
  """
181
182
  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`
182
183
  """
@@ -184,7 +185,7 @@ class GetCassandaResult:
184
185
 
185
186
  @property
186
187
  @pulumi.getter(name="diskSpaceStep")
187
- def disk_space_step(self) -> str:
188
+ def disk_space_step(self) -> builtins.str:
188
189
  """
189
190
  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.
190
191
  """
@@ -192,7 +193,7 @@ class GetCassandaResult:
192
193
 
193
194
  @property
194
195
  @pulumi.getter(name="diskSpaceUsed")
195
- def disk_space_used(self) -> str:
196
+ def disk_space_used(self) -> builtins.str:
196
197
  """
197
198
  Disk space that service is currently using
198
199
  """
@@ -200,7 +201,7 @@ class GetCassandaResult:
200
201
 
201
202
  @property
202
203
  @pulumi.getter
203
- def id(self) -> str:
204
+ def id(self) -> builtins.str:
204
205
  """
205
206
  The provider-assigned unique ID for this managed resource.
206
207
  """
@@ -208,7 +209,7 @@ class GetCassandaResult:
208
209
 
209
210
  @property
210
211
  @pulumi.getter(name="maintenanceWindowDow")
211
- def maintenance_window_dow(self) -> str:
212
+ def maintenance_window_dow(self) -> builtins.str:
212
213
  """
213
214
  Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
214
215
  """
@@ -216,7 +217,7 @@ class GetCassandaResult:
216
217
 
217
218
  @property
218
219
  @pulumi.getter(name="maintenanceWindowTime")
219
- def maintenance_window_time(self) -> str:
220
+ def maintenance_window_time(self) -> builtins.str:
220
221
  """
221
222
  Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
222
223
  """
@@ -224,7 +225,7 @@ class GetCassandaResult:
224
225
 
225
226
  @property
226
227
  @pulumi.getter
227
- def plan(self) -> str:
228
+ def plan(self) -> builtins.str:
228
229
  """
229
230
  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).
230
231
  """
@@ -232,7 +233,7 @@ class GetCassandaResult:
232
233
 
233
234
  @property
234
235
  @pulumi.getter
235
- def project(self) -> str:
236
+ def project(self) -> builtins.str:
236
237
  """
237
238
  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.
238
239
  """
@@ -240,7 +241,7 @@ class GetCassandaResult:
240
241
 
241
242
  @property
242
243
  @pulumi.getter(name="projectVpcId")
243
- def project_vpc_id(self) -> str:
244
+ def project_vpc_id(self) -> builtins.str:
244
245
  """
245
246
  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.
246
247
  """
@@ -248,7 +249,7 @@ class GetCassandaResult:
248
249
 
249
250
  @property
250
251
  @pulumi.getter(name="serviceHost")
251
- def service_host(self) -> str:
252
+ def service_host(self) -> builtins.str:
252
253
  """
253
254
  The hostname of the service.
254
255
  """
@@ -264,7 +265,7 @@ class GetCassandaResult:
264
265
 
265
266
  @property
266
267
  @pulumi.getter(name="serviceName")
267
- def service_name(self) -> str:
268
+ def service_name(self) -> builtins.str:
268
269
  """
269
270
  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.
270
271
  """
@@ -272,7 +273,7 @@ class GetCassandaResult:
272
273
 
273
274
  @property
274
275
  @pulumi.getter(name="servicePassword")
275
- def service_password(self) -> str:
276
+ def service_password(self) -> builtins.str:
276
277
  """
277
278
  Password used for connecting to the service, if applicable
278
279
  """
@@ -280,7 +281,7 @@ class GetCassandaResult:
280
281
 
281
282
  @property
282
283
  @pulumi.getter(name="servicePort")
283
- def service_port(self) -> int:
284
+ def service_port(self) -> builtins.int:
284
285
  """
285
286
  The port of the service
286
287
  """
@@ -288,7 +289,7 @@ class GetCassandaResult:
288
289
 
289
290
  @property
290
291
  @pulumi.getter(name="serviceType")
291
- def service_type(self) -> str:
292
+ def service_type(self) -> builtins.str:
292
293
  """
293
294
  Aiven internal service type code
294
295
  """
@@ -296,7 +297,7 @@ class GetCassandaResult:
296
297
 
297
298
  @property
298
299
  @pulumi.getter(name="serviceUri")
299
- def service_uri(self) -> str:
300
+ def service_uri(self) -> builtins.str:
300
301
  """
301
302
  URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
302
303
  """
@@ -304,7 +305,7 @@ class GetCassandaResult:
304
305
 
305
306
  @property
306
307
  @pulumi.getter(name="serviceUsername")
307
- def service_username(self) -> str:
308
+ def service_username(self) -> builtins.str:
308
309
  """
309
310
  Username used for connecting to the service, if applicable
310
311
  """
@@ -312,15 +313,12 @@ class GetCassandaResult:
312
313
 
313
314
  @property
314
315
  @pulumi.getter
315
- def state(self) -> str:
316
- """
317
- Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
318
- """
316
+ def state(self) -> builtins.str:
319
317
  return pulumi.get(self, "state")
320
318
 
321
319
  @property
322
320
  @pulumi.getter(name="staticIps")
323
- def static_ips(self) -> Sequence[str]:
321
+ def static_ips(self) -> Sequence[builtins.str]:
324
322
  """
325
323
  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
326
324
  """
@@ -344,7 +342,7 @@ class GetCassandaResult:
344
342
 
345
343
  @property
346
344
  @pulumi.getter(name="terminationProtection")
347
- def termination_protection(self) -> bool:
345
+ def termination_protection(self) -> builtins.bool:
348
346
  """
349
347
  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.
350
348
  """
@@ -388,8 +386,8 @@ class AwaitableGetCassandaResult(GetCassandaResult):
388
386
  termination_protection=self.termination_protection)
389
387
 
390
388
 
391
- def get_cassanda(project: Optional[str] = None,
392
- service_name: Optional[str] = None,
389
+ def get_cassanda(project: Optional[builtins.str] = None,
390
+ service_name: Optional[builtins.str] = None,
393
391
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandaResult:
394
392
  """
395
393
  Gets information about an Aiven for Apache Cassandra® service.
@@ -412,8 +410,8 @@ def get_cassanda(project: Optional[str] = None,
412
410
  ```
413
411
 
414
412
 
415
- :param 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.
416
- :param 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.
413
+ :param builtins.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.
414
+ :param builtins.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.
417
415
  """
418
416
  pulumi.log.warn("""get_cassanda is deprecated: aiven.getCassanda has been deprecated in favor of aiven.getCassandra""")
419
417
  __args__ = dict()
@@ -452,8 +450,8 @@ def get_cassanda(project: Optional[str] = None,
452
450
  tags=pulumi.get(__ret__, 'tags'),
453
451
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
454
452
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
455
- def get_cassanda_output(project: Optional[pulumi.Input[str]] = None,
456
- service_name: Optional[pulumi.Input[str]] = None,
453
+ def get_cassanda_output(project: Optional[pulumi.Input[builtins.str]] = None,
454
+ service_name: Optional[pulumi.Input[builtins.str]] = None,
457
455
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCassandaResult]:
458
456
  """
459
457
  Gets information about an Aiven for Apache Cassandra® service.
@@ -476,8 +474,8 @@ def get_cassanda_output(project: Optional[pulumi.Input[str]] = None,
476
474
  ```
477
475
 
478
476
 
479
- :param 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.
480
- :param 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.
477
+ :param builtins.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.
478
+ :param builtins.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.
481
479
  """
482
480
  pulumi.log.warn("""get_cassanda is deprecated: aiven.getCassanda has been deprecated in favor of aiven.getCassandra""")
483
481
  __args__ = dict()
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -118,9 +119,9 @@ class GetCassandraResult:
118
119
 
119
120
  @property
120
121
  @pulumi.getter(name="additionalDiskSpace")
121
- def additional_disk_space(self) -> str:
122
+ def additional_disk_space(self) -> builtins.str:
122
123
  """
123
- 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.
124
+ 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
124
125
  """
125
126
  return pulumi.get(self, "additional_disk_space")
126
127
 
@@ -142,7 +143,7 @@ class GetCassandraResult:
142
143
 
143
144
  @property
144
145
  @pulumi.getter(name="cloudName")
145
- def cloud_name(self) -> str:
146
+ def cloud_name(self) -> builtins.str:
146
147
  """
147
148
  The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
148
149
  """
@@ -158,7 +159,7 @@ class GetCassandraResult:
158
159
 
159
160
  @property
160
161
  @pulumi.getter(name="diskSpace")
161
- def disk_space(self) -> str:
162
+ def disk_space(self) -> builtins.str:
162
163
  """
163
164
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
164
165
  """
@@ -166,7 +167,7 @@ class GetCassandraResult:
166
167
 
167
168
  @property
168
169
  @pulumi.getter(name="diskSpaceCap")
169
- def disk_space_cap(self) -> str:
170
+ def disk_space_cap(self) -> builtins.str:
170
171
  """
171
172
  The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
172
173
  """
@@ -174,7 +175,7 @@ class GetCassandraResult:
174
175
 
175
176
  @property
176
177
  @pulumi.getter(name="diskSpaceDefault")
177
- def disk_space_default(self) -> str:
178
+ def disk_space_default(self) -> builtins.str:
178
179
  """
179
180
  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`
180
181
  """
@@ -182,7 +183,7 @@ class GetCassandraResult:
182
183
 
183
184
  @property
184
185
  @pulumi.getter(name="diskSpaceStep")
185
- def disk_space_step(self) -> str:
186
+ def disk_space_step(self) -> builtins.str:
186
187
  """
187
188
  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.
188
189
  """
@@ -190,7 +191,7 @@ class GetCassandraResult:
190
191
 
191
192
  @property
192
193
  @pulumi.getter(name="diskSpaceUsed")
193
- def disk_space_used(self) -> str:
194
+ def disk_space_used(self) -> builtins.str:
194
195
  """
195
196
  Disk space that service is currently using
196
197
  """
@@ -198,7 +199,7 @@ class GetCassandraResult:
198
199
 
199
200
  @property
200
201
  @pulumi.getter
201
- def id(self) -> str:
202
+ def id(self) -> builtins.str:
202
203
  """
203
204
  The provider-assigned unique ID for this managed resource.
204
205
  """
@@ -206,7 +207,7 @@ class GetCassandraResult:
206
207
 
207
208
  @property
208
209
  @pulumi.getter(name="maintenanceWindowDow")
209
- def maintenance_window_dow(self) -> str:
210
+ def maintenance_window_dow(self) -> builtins.str:
210
211
  """
211
212
  Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
212
213
  """
@@ -214,7 +215,7 @@ class GetCassandraResult:
214
215
 
215
216
  @property
216
217
  @pulumi.getter(name="maintenanceWindowTime")
217
- def maintenance_window_time(self) -> str:
218
+ def maintenance_window_time(self) -> builtins.str:
218
219
  """
219
220
  Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
220
221
  """
@@ -222,7 +223,7 @@ class GetCassandraResult:
222
223
 
223
224
  @property
224
225
  @pulumi.getter
225
- def plan(self) -> str:
226
+ def plan(self) -> builtins.str:
226
227
  """
227
228
  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).
228
229
  """
@@ -230,7 +231,7 @@ class GetCassandraResult:
230
231
 
231
232
  @property
232
233
  @pulumi.getter
233
- def project(self) -> str:
234
+ def project(self) -> builtins.str:
234
235
  """
235
236
  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.
236
237
  """
@@ -238,7 +239,7 @@ class GetCassandraResult:
238
239
 
239
240
  @property
240
241
  @pulumi.getter(name="projectVpcId")
241
- def project_vpc_id(self) -> str:
242
+ def project_vpc_id(self) -> builtins.str:
242
243
  """
243
244
  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.
244
245
  """
@@ -246,7 +247,7 @@ class GetCassandraResult:
246
247
 
247
248
  @property
248
249
  @pulumi.getter(name="serviceHost")
249
- def service_host(self) -> str:
250
+ def service_host(self) -> builtins.str:
250
251
  """
251
252
  The hostname of the service.
252
253
  """
@@ -262,7 +263,7 @@ class GetCassandraResult:
262
263
 
263
264
  @property
264
265
  @pulumi.getter(name="serviceName")
265
- def service_name(self) -> str:
266
+ def service_name(self) -> builtins.str:
266
267
  """
267
268
  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.
268
269
  """
@@ -270,7 +271,7 @@ class GetCassandraResult:
270
271
 
271
272
  @property
272
273
  @pulumi.getter(name="servicePassword")
273
- def service_password(self) -> str:
274
+ def service_password(self) -> builtins.str:
274
275
  """
275
276
  Password used for connecting to the service, if applicable
276
277
  """
@@ -278,7 +279,7 @@ class GetCassandraResult:
278
279
 
279
280
  @property
280
281
  @pulumi.getter(name="servicePort")
281
- def service_port(self) -> int:
282
+ def service_port(self) -> builtins.int:
282
283
  """
283
284
  The port of the service
284
285
  """
@@ -286,7 +287,7 @@ class GetCassandraResult:
286
287
 
287
288
  @property
288
289
  @pulumi.getter(name="serviceType")
289
- def service_type(self) -> str:
290
+ def service_type(self) -> builtins.str:
290
291
  """
291
292
  Aiven internal service type code
292
293
  """
@@ -294,7 +295,7 @@ class GetCassandraResult:
294
295
 
295
296
  @property
296
297
  @pulumi.getter(name="serviceUri")
297
- def service_uri(self) -> str:
298
+ def service_uri(self) -> builtins.str:
298
299
  """
299
300
  URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
300
301
  """
@@ -302,7 +303,7 @@ class GetCassandraResult:
302
303
 
303
304
  @property
304
305
  @pulumi.getter(name="serviceUsername")
305
- def service_username(self) -> str:
306
+ def service_username(self) -> builtins.str:
306
307
  """
307
308
  Username used for connecting to the service, if applicable
308
309
  """
@@ -310,15 +311,12 @@ class GetCassandraResult:
310
311
 
311
312
  @property
312
313
  @pulumi.getter
313
- def state(self) -> str:
314
- """
315
- Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
316
- """
314
+ def state(self) -> builtins.str:
317
315
  return pulumi.get(self, "state")
318
316
 
319
317
  @property
320
318
  @pulumi.getter(name="staticIps")
321
- def static_ips(self) -> Sequence[str]:
319
+ def static_ips(self) -> Sequence[builtins.str]:
322
320
  """
323
321
  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
324
322
  """
@@ -342,7 +340,7 @@ class GetCassandraResult:
342
340
 
343
341
  @property
344
342
  @pulumi.getter(name="terminationProtection")
345
- def termination_protection(self) -> bool:
343
+ def termination_protection(self) -> builtins.bool:
346
344
  """
347
345
  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.
348
346
  """
@@ -386,8 +384,8 @@ class AwaitableGetCassandraResult(GetCassandraResult):
386
384
  termination_protection=self.termination_protection)
387
385
 
388
386
 
389
- def get_cassandra(project: Optional[str] = None,
390
- service_name: Optional[str] = None,
387
+ def get_cassandra(project: Optional[builtins.str] = None,
388
+ service_name: Optional[builtins.str] = None,
391
389
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraResult:
392
390
  """
393
391
  Gets information about an Aiven for Apache Cassandra® service.
@@ -410,8 +408,8 @@ def get_cassandra(project: Optional[str] = None,
410
408
  ```
411
409
 
412
410
 
413
- :param 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.
414
- :param 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.
411
+ :param builtins.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.
412
+ :param builtins.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.
415
413
  """
416
414
  __args__ = dict()
417
415
  __args__['project'] = project
@@ -449,8 +447,8 @@ def get_cassandra(project: Optional[str] = None,
449
447
  tags=pulumi.get(__ret__, 'tags'),
450
448
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
451
449
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
452
- def get_cassandra_output(project: Optional[pulumi.Input[str]] = None,
453
- service_name: Optional[pulumi.Input[str]] = None,
450
+ def get_cassandra_output(project: Optional[pulumi.Input[builtins.str]] = None,
451
+ service_name: Optional[pulumi.Input[builtins.str]] = None,
454
452
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCassandraResult]:
455
453
  """
456
454
  Gets information about an Aiven for Apache Cassandra® service.
@@ -473,8 +471,8 @@ def get_cassandra_output(project: Optional[pulumi.Input[str]] = None,
473
471
  ```
474
472
 
475
473
 
476
- :param 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.
477
- :param 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.
474
+ :param builtins.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.
475
+ :param builtins.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.
478
476
  """
479
477
  __args__ = dict()
480
478
  __args__['project'] = project
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -54,7 +55,7 @@ class GetCassandraUserResult:
54
55
 
55
56
  @property
56
57
  @pulumi.getter(name="accessCert")
57
- def access_cert(self) -> str:
58
+ def access_cert(self) -> builtins.str:
58
59
  """
59
60
  Access certificate for the user.
60
61
  """
@@ -62,7 +63,7 @@ class GetCassandraUserResult:
62
63
 
63
64
  @property
64
65
  @pulumi.getter(name="accessKey")
65
- def access_key(self) -> str:
66
+ def access_key(self) -> builtins.str:
66
67
  """
67
68
  Access certificate key for the user.
68
69
  """
@@ -70,7 +71,7 @@ class GetCassandraUserResult:
70
71
 
71
72
  @property
72
73
  @pulumi.getter
73
- def id(self) -> str:
74
+ def id(self) -> builtins.str:
74
75
  """
75
76
  The provider-assigned unique ID for this managed resource.
76
77
  """
@@ -78,7 +79,7 @@ class GetCassandraUserResult:
78
79
 
79
80
  @property
80
81
  @pulumi.getter
81
- def password(self) -> str:
82
+ def password(self) -> builtins.str:
82
83
  """
83
84
  The Cassandra service user's password.
84
85
  """
@@ -86,7 +87,7 @@ class GetCassandraUserResult:
86
87
 
87
88
  @property
88
89
  @pulumi.getter
89
- def project(self) -> str:
90
+ def project(self) -> builtins.str:
90
91
  """
91
92
  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.
92
93
  """
@@ -94,7 +95,7 @@ class GetCassandraUserResult:
94
95
 
95
96
  @property
96
97
  @pulumi.getter(name="serviceName")
97
- def service_name(self) -> str:
98
+ def service_name(self) -> builtins.str:
98
99
  """
99
100
  The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
100
101
  """
@@ -102,7 +103,7 @@ class GetCassandraUserResult:
102
103
 
103
104
  @property
104
105
  @pulumi.getter
105
- def type(self) -> str:
106
+ def type(self) -> builtins.str:
106
107
  """
107
108
  User account type, such as primary or regular account.
108
109
  """
@@ -110,7 +111,7 @@ class GetCassandraUserResult:
110
111
 
111
112
  @property
112
113
  @pulumi.getter
113
- def username(self) -> str:
114
+ def username(self) -> builtins.str:
114
115
  """
115
116
  Name of the Cassandra service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
116
117
  """
@@ -133,9 +134,9 @@ class AwaitableGetCassandraUserResult(GetCassandraUserResult):
133
134
  username=self.username)
134
135
 
135
136
 
136
- def get_cassandra_user(project: Optional[str] = None,
137
- service_name: Optional[str] = None,
138
- username: Optional[str] = None,
137
+ def get_cassandra_user(project: Optional[builtins.str] = None,
138
+ service_name: Optional[builtins.str] = None,
139
+ username: Optional[builtins.str] = None,
139
140
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCassandraUserResult:
140
141
  """
141
142
  Gets information about an Aiven for Apache Cassandra® service user.
@@ -159,9 +160,9 @@ def get_cassandra_user(project: Optional[str] = None,
159
160
  ```
160
161
 
161
162
 
162
- :param 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.
163
- :param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
164
- :param str username: Name of the Cassandra service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
163
+ :param builtins.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.
164
+ :param builtins.str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
165
+ :param builtins.str username: Name of the Cassandra service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
165
166
  """
166
167
  __args__ = dict()
167
168
  __args__['project'] = project
@@ -179,9 +180,9 @@ def get_cassandra_user(project: Optional[str] = None,
179
180
  service_name=pulumi.get(__ret__, 'service_name'),
180
181
  type=pulumi.get(__ret__, 'type'),
181
182
  username=pulumi.get(__ret__, 'username'))
182
- def get_cassandra_user_output(project: Optional[pulumi.Input[str]] = None,
183
- service_name: Optional[pulumi.Input[str]] = None,
184
- username: Optional[pulumi.Input[str]] = None,
183
+ def get_cassandra_user_output(project: Optional[pulumi.Input[builtins.str]] = None,
184
+ service_name: Optional[pulumi.Input[builtins.str]] = None,
185
+ username: Optional[pulumi.Input[builtins.str]] = None,
185
186
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCassandraUserResult]:
186
187
  """
187
188
  Gets information about an Aiven for Apache Cassandra® service user.
@@ -205,9 +206,9 @@ def get_cassandra_user_output(project: Optional[pulumi.Input[str]] = None,
205
206
  ```
206
207
 
207
208
 
208
- :param 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.
209
- :param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
210
- :param str username: Name of the Cassandra service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
209
+ :param builtins.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.
210
+ :param builtins.str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
211
+ :param builtins.str username: Name of the Cassandra service user. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
211
212
  """
212
213
  __args__ = dict()
213
214
  __args__['project'] = project