pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711516617__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 (132) hide show
  1. pulumi_aiven/_inputs.py +262 -200
  2. pulumi_aiven/account.py +6 -2
  3. pulumi_aiven/account_authentication.py +2 -2
  4. pulumi_aiven/account_team.py +6 -6
  5. pulumi_aiven/account_team_member.py +10 -6
  6. pulumi_aiven/account_team_project.py +12 -12
  7. pulumi_aiven/aws_privatelink.py +22 -18
  8. pulumi_aiven/aws_vpc_peering_connection.py +12 -8
  9. pulumi_aiven/azure_privatelink.py +22 -18
  10. pulumi_aiven/azure_privatelink_connection_approval.py +14 -112
  11. pulumi_aiven/azure_vpc_peering_connection.py +10 -6
  12. pulumi_aiven/billing_group.py +18 -18
  13. pulumi_aiven/cassandra.py +57 -25
  14. pulumi_aiven/cassandra_user.py +22 -18
  15. pulumi_aiven/clickhouse.py +57 -25
  16. pulumi_aiven/clickhouse_database.py +26 -24
  17. pulumi_aiven/clickhouse_grant.py +37 -35
  18. pulumi_aiven/clickhouse_role.py +20 -16
  19. pulumi_aiven/clickhouse_user.py +22 -18
  20. pulumi_aiven/connection_pool.py +28 -24
  21. pulumi_aiven/dragonfly.py +263 -124
  22. pulumi_aiven/flink.py +36 -32
  23. pulumi_aiven/flink_application.py +24 -22
  24. pulumi_aiven/flink_application_deployment.py +21 -21
  25. pulumi_aiven/flink_application_version.py +14 -96
  26. pulumi_aiven/gcp_privatelink.py +21 -21
  27. pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
  28. pulumi_aiven/gcp_vpc_peering_connection.py +8 -4
  29. pulumi_aiven/get_account.py +4 -0
  30. pulumi_aiven/get_aws_privatelink.py +14 -10
  31. pulumi_aiven/get_aws_vpc_peering_connection.py +10 -6
  32. pulumi_aiven/get_azure_privatelink.py +14 -10
  33. pulumi_aiven/get_azure_vpc_peering_connection.py +6 -2
  34. pulumi_aiven/get_billing_group.py +2 -2
  35. pulumi_aiven/get_cassanda.py +24 -7
  36. pulumi_aiven/get_cassandra.py +24 -7
  37. pulumi_aiven/get_cassandra_user.py +14 -10
  38. pulumi_aiven/get_clickhouse.py +24 -7
  39. pulumi_aiven/get_clickhouse_database.py +14 -10
  40. pulumi_aiven/get_clickhouse_user.py +14 -10
  41. pulumi_aiven/get_connection_pool.py +14 -10
  42. pulumi_aiven/get_dragonfly.py +20 -27
  43. pulumi_aiven/get_flink.py +10 -6
  44. pulumi_aiven/get_flink_application.py +12 -8
  45. pulumi_aiven/get_flink_application_version.py +12 -8
  46. pulumi_aiven/get_gcp_vpc_peering_connection.py +6 -2
  47. pulumi_aiven/get_grafana.py +24 -7
  48. pulumi_aiven/get_kafka.py +17 -13
  49. pulumi_aiven/get_kafka_acl.py +14 -10
  50. pulumi_aiven/get_kafka_connect.py +24 -7
  51. pulumi_aiven/get_kafka_connector.py +14 -10
  52. pulumi_aiven/get_kafka_mirror_maker.py +24 -7
  53. pulumi_aiven/get_kafka_schema.py +14 -10
  54. pulumi_aiven/get_kafka_schema_configuration.py +14 -10
  55. pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
  56. pulumi_aiven/get_kafka_topic.py +20 -16
  57. pulumi_aiven/get_kafka_user.py +14 -10
  58. pulumi_aiven/get_m3_aggregator.py +24 -7
  59. pulumi_aiven/get_m3_db.py +24 -7
  60. pulumi_aiven/get_m3db_user.py +14 -10
  61. pulumi_aiven/get_mirror_maker_replication_flow.py +18 -14
  62. pulumi_aiven/get_my_sql.py +24 -7
  63. pulumi_aiven/get_mysql_database.py +14 -10
  64. pulumi_aiven/get_mysql_user.py +14 -10
  65. pulumi_aiven/get_open_search.py +10 -6
  66. pulumi_aiven/get_open_search_acl_config.py +14 -10
  67. pulumi_aiven/get_open_search_acl_rule.py +14 -10
  68. pulumi_aiven/get_opensearch_security_plugin_config.py +14 -10
  69. pulumi_aiven/get_opensearch_user.py +14 -10
  70. pulumi_aiven/get_organization.py +4 -0
  71. pulumi_aiven/get_organization_user_group.py +6 -2
  72. pulumi_aiven/get_pg.py +10 -6
  73. pulumi_aiven/get_pg_database.py +14 -10
  74. pulumi_aiven/get_pg_user.py +14 -10
  75. pulumi_aiven/get_project.py +21 -17
  76. pulumi_aiven/get_project_user.py +13 -9
  77. pulumi_aiven/get_project_vpc.py +6 -2
  78. pulumi_aiven/get_redis.py +24 -7
  79. pulumi_aiven/get_redis_user.py +14 -10
  80. pulumi_aiven/get_service_component.py +8 -4
  81. pulumi_aiven/get_service_integration.py +33 -19
  82. pulumi_aiven/get_service_integration_endpoint.py +6 -2
  83. pulumi_aiven/get_transit_gateway_vpc_attachment.py +6 -2
  84. pulumi_aiven/grafana.py +267 -82
  85. pulumi_aiven/influx_db.py +21 -21
  86. pulumi_aiven/influxdb_database.py +21 -21
  87. pulumi_aiven/influxdb_user.py +21 -21
  88. pulumi_aiven/kafka.py +54 -50
  89. pulumi_aiven/kafka_acl.py +24 -20
  90. pulumi_aiven/kafka_connect.py +267 -80
  91. pulumi_aiven/kafka_connector.py +30 -26
  92. pulumi_aiven/kafka_mirror_maker.py +267 -80
  93. pulumi_aiven/kafka_schema.py +22 -18
  94. pulumi_aiven/kafka_schema_configuration.py +24 -20
  95. pulumi_aiven/kafka_schema_registry_acl.py +14 -54
  96. pulumi_aiven/kafka_topic.py +46 -84
  97. pulumi_aiven/kafka_user.py +22 -18
  98. pulumi_aiven/m3_aggregator.py +267 -80
  99. pulumi_aiven/m3_db.py +267 -80
  100. pulumi_aiven/m3db_user.py +20 -16
  101. pulumi_aiven/mirror_maker_replication_flow.py +26 -22
  102. pulumi_aiven/my_sql.py +267 -80
  103. pulumi_aiven/mysql_database.py +24 -20
  104. pulumi_aiven/mysql_user.py +22 -18
  105. pulumi_aiven/open_search.py +31 -27
  106. pulumi_aiven/open_search_acl_config.py +36 -28
  107. pulumi_aiven/open_search_acl_rule.py +40 -36
  108. pulumi_aiven/opensearch_security_plugin_config.py +32 -28
  109. pulumi_aiven/opensearch_user.py +22 -18
  110. pulumi_aiven/organization.py +6 -2
  111. pulumi_aiven/organization_group_project.py +0 -46
  112. pulumi_aiven/organization_user.py +20 -2
  113. pulumi_aiven/organization_user_group.py +6 -4
  114. pulumi_aiven/organization_user_group_member.py +10 -8
  115. pulumi_aiven/organizational_unit.py +6 -6
  116. pulumi_aiven/outputs.py +390 -271
  117. pulumi_aiven/pg.py +30 -30
  118. pulumi_aiven/pg_database.py +24 -20
  119. pulumi_aiven/pg_user.py +22 -18
  120. pulumi_aiven/project.py +79 -75
  121. pulumi_aiven/project_user.py +28 -24
  122. pulumi_aiven/project_vpc.py +7 -31
  123. pulumi_aiven/redis.py +267 -80
  124. pulumi_aiven/redis_user.py +22 -18
  125. pulumi_aiven/service_integration.py +58 -54
  126. pulumi_aiven/static_ip.py +7 -7
  127. pulumi_aiven/transit_gateway_vpc_attachment.py +8 -4
  128. {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/METADATA +1 -1
  129. pulumi_aiven-6.14.0a1711516617.dist-info/RECORD +150 -0
  130. pulumi_aiven-6.14.0.dist-info/RECORD +0 -150
  131. {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/WHEEL +0 -0
  132. {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/top_level.txt +0 -0
pulumi_aiven/cassandra.py CHANGED
@@ -34,7 +34,7 @@ class CassandraArgs:
34
34
  """
35
35
  The set of arguments for constructing a Cassandra resource.
36
36
  :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).
37
- :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.
37
+ :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. Changing this property forces recreation of the resource.
38
38
  :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.
39
39
  :param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
40
40
  :param pulumi.Input['CassandraCassandraUserConfigArgs'] cassandra_user_config: Cassandra user configurable settings
@@ -44,9 +44,9 @@ class CassandraArgs:
44
44
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
45
45
  :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.
46
46
  :param pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
47
- :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
47
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
48
48
  :param pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
49
- :param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] 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.
49
+ :param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
50
50
  :param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
51
51
  """
52
52
  pulumi.set(__self__, "plan", plan)
@@ -96,7 +96,7 @@ class CassandraArgs:
96
96
  @pulumi.getter
97
97
  def project(self) -> pulumi.Input[str]:
98
98
  """
99
- 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.
99
+ Identifies 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.
100
100
  """
101
101
  return pulumi.get(self, "project")
102
102
 
@@ -219,7 +219,7 @@ class CassandraArgs:
219
219
  @pulumi.getter(name="staticIps")
220
220
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
221
221
  """
222
- 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
222
+ Use static public IP addresses.
223
223
  """
224
224
  return pulumi.get(self, "static_ips")
225
225
 
@@ -243,7 +243,7 @@ class CassandraArgs:
243
243
  @pulumi.getter(name="techEmails")
244
244
  def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]]:
245
245
  """
246
- 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.
246
+ Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
247
247
  """
248
248
  return pulumi.get(self, "tech_emails")
249
249
 
@@ -269,6 +269,7 @@ class _CassandraState:
269
269
  def __init__(__self__, *,
270
270
  additional_disk_space: Optional[pulumi.Input[str]] = None,
271
271
  cassandra_user_config: Optional[pulumi.Input['CassandraCassandraUserConfigArgs']] = None,
272
+ cassandras: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]]] = None,
272
273
  cloud_name: Optional[pulumi.Input[str]] = None,
273
274
  components: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]]] = None,
274
275
  disk_space: Optional[pulumi.Input[str]] = None,
@@ -298,6 +299,7 @@ class _CassandraState:
298
299
  Input properties used for looking up and filtering Cassandra resources.
299
300
  :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.
300
301
  :param pulumi.Input['CassandraCassandraUserConfigArgs'] cassandra_user_config: Cassandra user configurable settings
302
+ :param pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]] cassandras: cassandra configuration values
301
303
  :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).
302
304
  :param pulumi.Input[Sequence[pulumi.Input['CassandraComponentArgs']]] components: Service component information objects
303
305
  :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.
@@ -308,7 +310,7 @@ class _CassandraState:
308
310
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
309
311
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
310
312
  :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).
311
- :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.
313
+ :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. Changing this property forces recreation of the resource.
312
314
  :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.
313
315
  :param pulumi.Input[str] service_host: The hostname of the service.
314
316
  :param pulumi.Input[Sequence[pulumi.Input['CassandraServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
@@ -319,15 +321,17 @@ class _CassandraState:
319
321
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
320
322
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
321
323
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
322
- :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
324
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
323
325
  :param pulumi.Input[Sequence[pulumi.Input['CassandraTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
324
- :param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] 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.
326
+ :param pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
325
327
  :param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
326
328
  """
327
329
  if additional_disk_space is not None:
328
330
  pulumi.set(__self__, "additional_disk_space", additional_disk_space)
329
331
  if cassandra_user_config is not None:
330
332
  pulumi.set(__self__, "cassandra_user_config", cassandra_user_config)
333
+ if cassandras is not None:
334
+ pulumi.set(__self__, "cassandras", cassandras)
331
335
  if cloud_name is not None:
332
336
  pulumi.set(__self__, "cloud_name", cloud_name)
333
337
  if components is not None:
@@ -406,6 +410,18 @@ class _CassandraState:
406
410
  def cassandra_user_config(self, value: Optional[pulumi.Input['CassandraCassandraUserConfigArgs']]):
407
411
  pulumi.set(self, "cassandra_user_config", value)
408
412
 
413
+ @property
414
+ @pulumi.getter
415
+ def cassandras(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]]]:
416
+ """
417
+ cassandra configuration values
418
+ """
419
+ return pulumi.get(self, "cassandras")
420
+
421
+ @cassandras.setter
422
+ def cassandras(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['CassandraCassandraArgs']]]]):
423
+ pulumi.set(self, "cassandras", value)
424
+
409
425
  @property
410
426
  @pulumi.getter(name="cloudName")
411
427
  def cloud_name(self) -> Optional[pulumi.Input[str]]:
@@ -533,7 +549,7 @@ class _CassandraState:
533
549
  @pulumi.getter
534
550
  def project(self) -> Optional[pulumi.Input[str]]:
535
551
  """
536
- 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.
552
+ Identifies 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.
537
553
  """
538
554
  return pulumi.get(self, "project")
539
555
 
@@ -665,7 +681,7 @@ class _CassandraState:
665
681
  @pulumi.getter(name="staticIps")
666
682
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
667
683
  """
668
- 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
684
+ Use static public IP addresses.
669
685
  """
670
686
  return pulumi.get(self, "static_ips")
671
687
 
@@ -689,7 +705,7 @@ class _CassandraState:
689
705
  @pulumi.getter(name="techEmails")
690
706
  def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['CassandraTechEmailArgs']]]]:
691
707
  """
692
- 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.
708
+ Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
693
709
  """
694
710
  return pulumi.get(self, "tech_emails")
695
711
 
@@ -736,12 +752,13 @@ class Cassandra(pulumi.CustomResource):
736
752
 
737
753
  ## Example Usage
738
754
 
755
+ <!--Start PulumiCodeChooser -->
739
756
  ```python
740
757
  import pulumi
741
758
  import pulumi_aiven as aiven
742
759
 
743
760
  bar = aiven.Cassandra("bar",
744
- project=foo["project"],
761
+ project=data["aiven_project"]["foo"]["project"],
745
762
  cloud_name="google-europe-west1",
746
763
  plan="startup-4",
747
764
  service_name="test-service-name",
@@ -754,11 +771,12 @@ class Cassandra(pulumi.CustomResource):
754
771
  ),
755
772
  ))
756
773
  ```
774
+ <!--End PulumiCodeChooser -->
757
775
 
758
776
  ## Import
759
777
 
760
778
  ```sh
761
- $ pulumi import aiven:index/cassandra:Cassandra bar PROJECT/SERVICE_NAME
779
+ $ pulumi import aiven:index/cassandra:Cassandra bar project/service_name
762
780
  ```
763
781
 
764
782
  :param str resource_name: The name of the resource.
@@ -770,13 +788,13 @@ class Cassandra(pulumi.CustomResource):
770
788
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
771
789
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
772
790
  :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).
773
- :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.
791
+ :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. Changing this property forces recreation of the resource.
774
792
  :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.
775
793
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
776
794
  :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.
777
- :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
795
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
778
796
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
779
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTechEmailArgs']]]] 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.
797
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
780
798
  :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.
781
799
  """
782
800
  ...
@@ -790,12 +808,13 @@ class Cassandra(pulumi.CustomResource):
790
808
 
791
809
  ## Example Usage
792
810
 
811
+ <!--Start PulumiCodeChooser -->
793
812
  ```python
794
813
  import pulumi
795
814
  import pulumi_aiven as aiven
796
815
 
797
816
  bar = aiven.Cassandra("bar",
798
- project=foo["project"],
817
+ project=data["aiven_project"]["foo"]["project"],
799
818
  cloud_name="google-europe-west1",
800
819
  plan="startup-4",
801
820
  service_name="test-service-name",
@@ -808,11 +827,12 @@ class Cassandra(pulumi.CustomResource):
808
827
  ),
809
828
  ))
810
829
  ```
830
+ <!--End PulumiCodeChooser -->
811
831
 
812
832
  ## Import
813
833
 
814
834
  ```sh
815
- $ pulumi import aiven:index/cassandra:Cassandra bar PROJECT/SERVICE_NAME
835
+ $ pulumi import aiven:index/cassandra:Cassandra bar project/service_name
816
836
  ```
817
837
 
818
838
  :param str resource_name: The name of the resource.
@@ -875,6 +895,7 @@ class Cassandra(pulumi.CustomResource):
875
895
  __props__.__dict__["tags"] = tags
876
896
  __props__.__dict__["tech_emails"] = tech_emails
877
897
  __props__.__dict__["termination_protection"] = termination_protection
898
+ __props__.__dict__["cassandras"] = None
878
899
  __props__.__dict__["components"] = None
879
900
  __props__.__dict__["disk_space_cap"] = None
880
901
  __props__.__dict__["disk_space_default"] = None
@@ -901,6 +922,7 @@ class Cassandra(pulumi.CustomResource):
901
922
  opts: Optional[pulumi.ResourceOptions] = None,
902
923
  additional_disk_space: Optional[pulumi.Input[str]] = None,
903
924
  cassandra_user_config: Optional[pulumi.Input[pulumi.InputType['CassandraCassandraUserConfigArgs']]] = None,
925
+ cassandras: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraCassandraArgs']]]]] = None,
904
926
  cloud_name: Optional[pulumi.Input[str]] = None,
905
927
  components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraComponentArgs']]]]] = None,
906
928
  disk_space: Optional[pulumi.Input[str]] = None,
@@ -935,6 +957,7 @@ class Cassandra(pulumi.CustomResource):
935
957
  :param pulumi.ResourceOptions opts: Options for the resource.
936
958
  :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.
937
959
  :param pulumi.Input[pulumi.InputType['CassandraCassandraUserConfigArgs']] cassandra_user_config: Cassandra user configurable settings
960
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraCassandraArgs']]]] cassandras: cassandra configuration values
938
961
  :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).
939
962
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraComponentArgs']]]] components: Service component information objects
940
963
  :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.
@@ -945,7 +968,7 @@ class Cassandra(pulumi.CustomResource):
945
968
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
946
969
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
947
970
  :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).
948
- :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.
971
+ :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. Changing this property forces recreation of the resource.
949
972
  :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.
950
973
  :param pulumi.Input[str] service_host: The hostname of the service.
951
974
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
@@ -956,9 +979,9 @@ class Cassandra(pulumi.CustomResource):
956
979
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
957
980
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
958
981
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
959
- :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
982
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
960
983
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
961
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTechEmailArgs']]]] 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.
984
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['CassandraTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
962
985
  :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.
963
986
  """
964
987
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -967,6 +990,7 @@ class Cassandra(pulumi.CustomResource):
967
990
 
968
991
  __props__.__dict__["additional_disk_space"] = additional_disk_space
969
992
  __props__.__dict__["cassandra_user_config"] = cassandra_user_config
993
+ __props__.__dict__["cassandras"] = cassandras
970
994
  __props__.__dict__["cloud_name"] = cloud_name
971
995
  __props__.__dict__["components"] = components
972
996
  __props__.__dict__["disk_space"] = disk_space
@@ -1010,6 +1034,14 @@ class Cassandra(pulumi.CustomResource):
1010
1034
  """
1011
1035
  return pulumi.get(self, "cassandra_user_config")
1012
1036
 
1037
+ @property
1038
+ @pulumi.getter
1039
+ def cassandras(self) -> pulumi.Output[Sequence['outputs.CassandraCassandra']]:
1040
+ """
1041
+ cassandra configuration values
1042
+ """
1043
+ return pulumi.get(self, "cassandras")
1044
+
1013
1045
  @property
1014
1046
  @pulumi.getter(name="cloudName")
1015
1047
  def cloud_name(self) -> pulumi.Output[Optional[str]]:
@@ -1097,7 +1129,7 @@ class Cassandra(pulumi.CustomResource):
1097
1129
  @pulumi.getter
1098
1130
  def project(self) -> pulumi.Output[str]:
1099
1131
  """
1100
- 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.
1132
+ Identifies 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.
1101
1133
  """
1102
1134
  return pulumi.get(self, "project")
1103
1135
 
@@ -1185,7 +1217,7 @@ class Cassandra(pulumi.CustomResource):
1185
1217
  @pulumi.getter(name="staticIps")
1186
1218
  def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
1187
1219
  """
1188
- 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
1220
+ Use static public IP addresses.
1189
1221
  """
1190
1222
  return pulumi.get(self, "static_ips")
1191
1223
 
@@ -1201,7 +1233,7 @@ class Cassandra(pulumi.CustomResource):
1201
1233
  @pulumi.getter(name="techEmails")
1202
1234
  def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.CassandraTechEmail']]]:
1203
1235
  """
1204
- 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.
1236
+ Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
1205
1237
  """
1206
1238
  return pulumi.get(self, "tech_emails")
1207
1239
 
@@ -20,8 +20,8 @@ class CassandraUserArgs:
20
20
  password: Optional[pulumi.Input[str]] = None):
21
21
  """
22
22
  The set of arguments for constructing a CassandraUser resource.
23
- :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.
24
- :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
23
+ :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. Changing this property forces recreation of the resource.
24
+ :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
25
25
  :param pulumi.Input[str] username: The actual name of the Cassandra User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
26
26
  :param pulumi.Input[str] password: The password of the Cassandra User.
27
27
  """
@@ -35,7 +35,7 @@ class CassandraUserArgs:
35
35
  @pulumi.getter
36
36
  def project(self) -> pulumi.Input[str]:
37
37
  """
38
- 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.
38
+ Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
39
39
  """
40
40
  return pulumi.get(self, "project")
41
41
 
@@ -47,7 +47,7 @@ class CassandraUserArgs:
47
47
  @pulumi.getter(name="serviceName")
48
48
  def service_name(self) -> pulumi.Input[str]:
49
49
  """
50
- 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.
50
+ Specifies 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.
51
51
  """
52
52
  return pulumi.get(self, "service_name")
53
53
 
@@ -95,8 +95,8 @@ class _CassandraUserState:
95
95
  :param pulumi.Input[str] access_cert: Access certificate for the user if applicable for the service in question
96
96
  :param pulumi.Input[str] access_key: Access certificate key for the user if applicable for the service in question
97
97
  :param pulumi.Input[str] password: The password of the Cassandra User.
98
- :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.
99
- :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
98
+ :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. Changing this property forces recreation of the resource.
99
+ :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
100
100
  :param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
101
101
  :param pulumi.Input[str] username: The actual name of the Cassandra User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
102
102
  """
@@ -155,7 +155,7 @@ class _CassandraUserState:
155
155
  @pulumi.getter
156
156
  def project(self) -> Optional[pulumi.Input[str]]:
157
157
  """
158
- 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.
158
+ Identifies 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.
159
159
  """
160
160
  return pulumi.get(self, "project")
161
161
 
@@ -167,7 +167,7 @@ class _CassandraUserState:
167
167
  @pulumi.getter(name="serviceName")
168
168
  def service_name(self) -> Optional[pulumi.Input[str]]:
169
169
  """
170
- 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.
170
+ Specifies 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.
171
171
  """
172
172
  return pulumi.get(self, "service_name")
173
173
 
@@ -215,28 +215,30 @@ class CassandraUser(pulumi.CustomResource):
215
215
 
216
216
  ## Example Usage
217
217
 
218
+ <!--Start PulumiCodeChooser -->
218
219
  ```python
219
220
  import pulumi
220
221
  import pulumi_aiven as aiven
221
222
 
222
223
  foo = aiven.CassandraUser("foo",
223
- service_name=bar["serviceName"],
224
+ service_name=aiven_cassandra["bar"]["service_name"],
224
225
  project="my-project",
225
226
  username="user-1",
226
227
  password="Test$1234")
227
228
  ```
229
+ <!--End PulumiCodeChooser -->
228
230
 
229
231
  ## Import
230
232
 
231
233
  ```sh
232
- $ pulumi import aiven:index/cassandraUser:CassandraUser foo PROJECT/SERVICE_NAME/USERNAME
234
+ $ pulumi import aiven:index/cassandraUser:CassandraUser foo project/service_name/username
233
235
  ```
234
236
 
235
237
  :param str resource_name: The name of the resource.
236
238
  :param pulumi.ResourceOptions opts: Options for the resource.
237
239
  :param pulumi.Input[str] password: The password of the Cassandra User.
238
- :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.
239
- :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
240
+ :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. Changing this property forces recreation of the resource.
241
+ :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
240
242
  :param pulumi.Input[str] username: The actual name of the Cassandra User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
241
243
  """
242
244
  ...
@@ -250,21 +252,23 @@ class CassandraUser(pulumi.CustomResource):
250
252
 
251
253
  ## Example Usage
252
254
 
255
+ <!--Start PulumiCodeChooser -->
253
256
  ```python
254
257
  import pulumi
255
258
  import pulumi_aiven as aiven
256
259
 
257
260
  foo = aiven.CassandraUser("foo",
258
- service_name=bar["serviceName"],
261
+ service_name=aiven_cassandra["bar"]["service_name"],
259
262
  project="my-project",
260
263
  username="user-1",
261
264
  password="Test$1234")
262
265
  ```
266
+ <!--End PulumiCodeChooser -->
263
267
 
264
268
  ## Import
265
269
 
266
270
  ```sh
267
- $ pulumi import aiven:index/cassandraUser:CassandraUser foo PROJECT/SERVICE_NAME/USERNAME
271
+ $ pulumi import aiven:index/cassandraUser:CassandraUser foo project/service_name/username
268
272
  ```
269
273
 
270
274
  :param str resource_name: The name of the resource.
@@ -337,8 +341,8 @@ class CassandraUser(pulumi.CustomResource):
337
341
  :param pulumi.Input[str] access_cert: Access certificate for the user if applicable for the service in question
338
342
  :param pulumi.Input[str] access_key: Access certificate key for the user if applicable for the service in question
339
343
  :param pulumi.Input[str] password: The password of the Cassandra User.
340
- :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.
341
- :param pulumi.Input[str] service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
344
+ :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. Changing this property forces recreation of the resource.
345
+ :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
342
346
  :param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
343
347
  :param pulumi.Input[str] username: The actual name of the Cassandra User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
344
348
  """
@@ -383,7 +387,7 @@ class CassandraUser(pulumi.CustomResource):
383
387
  @pulumi.getter
384
388
  def project(self) -> pulumi.Output[str]:
385
389
  """
386
- 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.
390
+ Identifies 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.
387
391
  """
388
392
  return pulumi.get(self, "project")
389
393
 
@@ -391,7 +395,7 @@ class CassandraUser(pulumi.CustomResource):
391
395
  @pulumi.getter(name="serviceName")
392
396
  def service_name(self) -> pulumi.Output[str]:
393
397
  """
394
- 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.
398
+ Specifies 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.
395
399
  """
396
400
  return pulumi.get(self, "service_name")
397
401