pulumi-aiven 6.37.0a1744182902__py3-none-any.whl → 6.38.0__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 (135) hide show
  1. pulumi_aiven/__init__.py +30 -0
  2. pulumi_aiven/_inputs.py +1902 -172
  3. pulumi_aiven/account.py +1 -0
  4. pulumi_aiven/account_authentication.py +1 -0
  5. pulumi_aiven/account_team.py +1 -0
  6. pulumi_aiven/account_team_member.py +1 -0
  7. pulumi_aiven/account_team_project.py +1 -0
  8. pulumi_aiven/alloydbomni.py +8 -15
  9. pulumi_aiven/alloydbomni_database.py +1 -0
  10. pulumi_aiven/alloydbomni_user.py +1 -0
  11. pulumi_aiven/aws_org_vpc_peering_connection.py +1 -0
  12. pulumi_aiven/aws_privatelink.py +1 -0
  13. pulumi_aiven/aws_vpc_peering_connection.py +1 -0
  14. pulumi_aiven/azure_org_vpc_peering_connection.py +1 -0
  15. pulumi_aiven/azure_privatelink.py +1 -0
  16. pulumi_aiven/azure_privatelink_connection_approval.py +1 -0
  17. pulumi_aiven/azure_vpc_peering_connection.py +1 -0
  18. pulumi_aiven/billing_group.py +1 -0
  19. pulumi_aiven/cassandra.py +8 -15
  20. pulumi_aiven/cassandra_user.py +1 -0
  21. pulumi_aiven/clickhouse.py +8 -15
  22. pulumi_aiven/clickhouse_database.py +1 -0
  23. pulumi_aiven/clickhouse_grant.py +19 -0
  24. pulumi_aiven/clickhouse_role.py +1 -0
  25. pulumi_aiven/clickhouse_user.py +1 -0
  26. pulumi_aiven/connection_pool.py +1 -0
  27. pulumi_aiven/dragonfly.py +8 -15
  28. pulumi_aiven/flink.py +8 -15
  29. pulumi_aiven/flink_application.py +1 -0
  30. pulumi_aiven/flink_application_deployment.py +1 -0
  31. pulumi_aiven/flink_application_version.py +1 -0
  32. pulumi_aiven/flink_jar_application.py +1 -0
  33. pulumi_aiven/flink_jar_application_deployment.py +1 -0
  34. pulumi_aiven/flink_jar_application_version.py +1 -0
  35. pulumi_aiven/gcp_org_vpc_peering_connection.py +1 -0
  36. pulumi_aiven/gcp_privatelink.py +1 -0
  37. pulumi_aiven/gcp_privatelink_connection_approval.py +1 -0
  38. pulumi_aiven/gcp_vpc_peering_connection.py +1 -0
  39. pulumi_aiven/get_alloydbomni.py +1 -4
  40. pulumi_aiven/get_cassanda.py +1 -4
  41. pulumi_aiven/get_cassandra.py +1 -4
  42. pulumi_aiven/get_clickhouse.py +1 -4
  43. pulumi_aiven/get_dragonfly.py +1 -4
  44. pulumi_aiven/get_external_identity.py +5 -5
  45. pulumi_aiven/get_flink.py +1 -4
  46. pulumi_aiven/get_grafana.py +1 -4
  47. pulumi_aiven/get_kafka.py +1 -4
  48. pulumi_aiven/get_kafka_connect.py +1 -4
  49. pulumi_aiven/get_kafka_mirror_maker.py +1 -4
  50. pulumi_aiven/get_m3_aggregator.py +1 -4
  51. pulumi_aiven/get_m3_db.py +1 -4
  52. pulumi_aiven/get_my_sql.py +1 -4
  53. pulumi_aiven/get_open_search.py +8 -11
  54. pulumi_aiven/get_open_search_acl_config.py +7 -7
  55. pulumi_aiven/get_open_search_acl_rule.py +19 -19
  56. pulumi_aiven/get_opensearch_security_plugin_config.py +7 -7
  57. pulumi_aiven/get_opensearch_user.py +13 -13
  58. pulumi_aiven/get_organization.py +22 -4
  59. pulumi_aiven/get_organization_address.py +250 -0
  60. pulumi_aiven/get_organization_application_user.py +0 -20
  61. pulumi_aiven/get_organization_billing_group.py +264 -0
  62. pulumi_aiven/get_organization_billing_group_list.py +138 -0
  63. pulumi_aiven/get_organization_project.py +63 -13
  64. pulumi_aiven/get_organization_user_list.py +25 -13
  65. pulumi_aiven/get_pg.py +1 -4
  66. pulumi_aiven/get_redis.py +1 -4
  67. pulumi_aiven/get_service_component.py +15 -1
  68. pulumi_aiven/get_service_integration.py +2 -2
  69. pulumi_aiven/get_thanos.py +1 -4
  70. pulumi_aiven/get_valkey.py +1 -4
  71. pulumi_aiven/governance_access.py +418 -0
  72. pulumi_aiven/grafana.py +8 -15
  73. pulumi_aiven/influx_db.py +22 -15
  74. pulumi_aiven/influxdb_database.py +1 -0
  75. pulumi_aiven/influxdb_user.py +1 -0
  76. pulumi_aiven/kafka.py +8 -15
  77. pulumi_aiven/kafka_acl.py +1 -0
  78. pulumi_aiven/kafka_connect.py +8 -15
  79. pulumi_aiven/kafka_connector.py +1 -0
  80. pulumi_aiven/kafka_mirror_maker.py +8 -15
  81. pulumi_aiven/kafka_native_acl.py +2 -1
  82. pulumi_aiven/kafka_quota.py +1 -0
  83. pulumi_aiven/kafka_schema.py +1 -0
  84. pulumi_aiven/kafka_schema_configuration.py +1 -0
  85. pulumi_aiven/kafka_schema_registry_acl.py +1 -0
  86. pulumi_aiven/kafka_topic.py +1 -0
  87. pulumi_aiven/kafka_user.py +1 -0
  88. pulumi_aiven/m3_aggregator.py +8 -15
  89. pulumi_aiven/m3_db.py +8 -15
  90. pulumi_aiven/m3db_user.py +1 -0
  91. pulumi_aiven/mirror_maker_replication_flow.py +1 -0
  92. pulumi_aiven/my_sql.py +8 -15
  93. pulumi_aiven/mysql_database.py +1 -0
  94. pulumi_aiven/mysql_user.py +1 -0
  95. pulumi_aiven/open_search.py +25 -34
  96. pulumi_aiven/open_search_acl_config.py +30 -41
  97. pulumi_aiven/open_search_acl_rule.py +48 -47
  98. pulumi_aiven/opensearch_security_plugin_config.py +15 -42
  99. pulumi_aiven/opensearch_user.py +33 -32
  100. pulumi_aiven/organization.py +27 -21
  101. pulumi_aiven/organization_address.py +564 -0
  102. pulumi_aiven/organization_application_user.py +14 -4
  103. pulumi_aiven/organization_application_user_token.py +1 -0
  104. pulumi_aiven/organization_billing_group.py +652 -0
  105. pulumi_aiven/organization_group_project.py +1 -0
  106. pulumi_aiven/organization_permission.py +3 -2
  107. pulumi_aiven/organization_project.py +149 -68
  108. pulumi_aiven/organization_user.py +1 -0
  109. pulumi_aiven/organization_user_group.py +1 -0
  110. pulumi_aiven/organization_user_group_member.py +1 -32
  111. pulumi_aiven/organization_vpc.py +1 -0
  112. pulumi_aiven/organizational_unit.py +1 -0
  113. pulumi_aiven/outputs.py +1813 -198
  114. pulumi_aiven/pg.py +8 -15
  115. pulumi_aiven/pg_database.py +1 -0
  116. pulumi_aiven/pg_user.py +1 -0
  117. pulumi_aiven/project.py +1 -0
  118. pulumi_aiven/project_user.py +1 -0
  119. pulumi_aiven/project_vpc.py +1 -0
  120. pulumi_aiven/provider.py +21 -0
  121. pulumi_aiven/pulumi-plugin.json +1 -1
  122. pulumi_aiven/redis.py +8 -15
  123. pulumi_aiven/redis_user.py +1 -0
  124. pulumi_aiven/service_integration.py +5 -4
  125. pulumi_aiven/service_integration_endpoint.py +1 -0
  126. pulumi_aiven/static_ip.py +1 -0
  127. pulumi_aiven/thanos.py +8 -15
  128. pulumi_aiven/transit_gateway_vpc_attachment.py +1 -0
  129. pulumi_aiven/valkey.py +8 -15
  130. pulumi_aiven/valkey_user.py +1 -0
  131. {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/METADATA +3 -3
  132. pulumi_aiven-6.38.0.dist-info/RECORD +189 -0
  133. {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/WHEEL +1 -1
  134. pulumi_aiven-6.37.0a1744182902.dist-info/RECORD +0 -183
  135. {pulumi_aiven-6.37.0a1744182902.dist-info → pulumi_aiven-6.38.0.dist-info}/top_level.txt +0 -0
@@ -43,13 +43,13 @@ class OpenSearchArgs:
43
43
  :param pulumi.Input[builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
44
44
  :param pulumi.Input[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.
45
45
  :param pulumi.Input[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.
46
- :param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
46
+ :param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
47
47
  :param pulumi.Input[builtins.str] cloud_name: 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.
48
48
  :param pulumi.Input[builtins.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.
49
49
  :param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
50
50
  :param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
51
51
  :param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
52
- :param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: OpenSearch server provided values
52
+ :param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: Values provided by the OpenSearch server.
53
53
  :param pulumi.Input[builtins.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.
54
54
  :param pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
55
55
  :param pulumi.Input[Sequence[pulumi.Input[builtins.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
@@ -130,7 +130,7 @@ class OpenSearchArgs:
130
130
  @pulumi.getter(name="additionalDiskSpace")
131
131
  def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
132
132
  """
133
- 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.
133
+ 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.
134
134
  """
135
135
  return pulumi.get(self, "additional_disk_space")
136
136
 
@@ -203,7 +203,7 @@ class OpenSearchArgs:
203
203
  @pulumi.getter
204
204
  def opensearches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]:
205
205
  """
206
- OpenSearch server provided values
206
+ Values provided by the OpenSearch server.
207
207
  """
208
208
  return pulumi.get(self, "opensearches")
209
209
 
@@ -317,7 +317,7 @@ class _OpenSearchState:
317
317
  termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
318
318
  """
319
319
  Input properties used for looking up and filtering OpenSearch resources.
320
- :param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
320
+ :param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
321
321
  :param pulumi.Input[builtins.str] cloud_name: 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.
322
322
  :param pulumi.Input[Sequence[pulumi.Input['OpenSearchComponentArgs']]] components: Service component information objects
323
323
  :param pulumi.Input[builtins.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.
@@ -328,7 +328,7 @@ class _OpenSearchState:
328
328
  :param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
329
329
  :param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
330
330
  :param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
331
- :param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: OpenSearch server provided values
331
+ :param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: Values provided by the OpenSearch server.
332
332
  :param pulumi.Input[builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
333
333
  :param pulumi.Input[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.
334
334
  :param pulumi.Input[builtins.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.
@@ -340,7 +340,6 @@ class _OpenSearchState:
340
340
  :param pulumi.Input[builtins.str] service_type: Aiven internal service type code
341
341
  :param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
342
342
  :param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
343
- :param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
344
343
  :param pulumi.Input[Sequence[pulumi.Input[builtins.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
345
344
  :param pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
346
345
  :param pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]] 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.
@@ -413,7 +412,7 @@ class _OpenSearchState:
413
412
  @pulumi.getter(name="additionalDiskSpace")
414
413
  def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
415
414
  """
416
- 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.
415
+ Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
417
416
  """
418
417
  return pulumi.get(self, "additional_disk_space")
419
418
 
@@ -547,7 +546,7 @@ class _OpenSearchState:
547
546
  @pulumi.getter
548
547
  def opensearches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]:
549
548
  """
550
- OpenSearch server provided values
549
+ Values provided by the OpenSearch server.
551
550
  """
552
551
  return pulumi.get(self, "opensearches")
553
552
 
@@ -690,9 +689,6 @@ class _OpenSearchState:
690
689
  @property
691
690
  @pulumi.getter
692
691
  def state(self) -> Optional[pulumi.Input[builtins.str]]:
693
- """
694
- Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
695
- """
696
692
  return pulumi.get(self, "state")
697
693
 
698
694
  @state.setter
@@ -748,6 +744,7 @@ class _OpenSearchState:
748
744
  pulumi.set(self, "termination_protection", value)
749
745
 
750
746
 
747
+ @pulumi.type_token("aiven:index/openSearch:OpenSearch")
751
748
  class OpenSearch(pulumi.CustomResource):
752
749
  @overload
753
750
  def __init__(__self__,
@@ -771,7 +768,7 @@ class OpenSearch(pulumi.CustomResource):
771
768
  termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
772
769
  __props__=None):
773
770
  """
774
- The OpenSearch resource allows the creation and management of Aiven OpenSearch services.
771
+ Creates and manages an [Aiven for OpenSearch®](https://aiven.io/docs/products/opensearch) service.
775
772
 
776
773
  ## Example Usage
777
774
 
@@ -779,15 +776,14 @@ class OpenSearch(pulumi.CustomResource):
779
776
  import pulumi
780
777
  import pulumi_aiven as aiven
781
778
 
782
- os1 = aiven.OpenSearch("os1",
783
- project=pr1["project"],
779
+ example_opensearch = aiven.OpenSearch("example_opensearch",
780
+ project=example_project["project"],
784
781
  cloud_name="google-europe-west1",
785
782
  plan="startup-4",
786
- service_name="my-os1",
783
+ service_name="example-opensearch",
787
784
  maintenance_window_dow="monday",
788
785
  maintenance_window_time="10:00:00",
789
786
  opensearch_user_config={
790
- "opensearch_version": "1",
791
787
  "opensearch_dashboards": {
792
788
  "enabled": True,
793
789
  "opensearch_request_timeout": 30000,
@@ -802,18 +798,18 @@ class OpenSearch(pulumi.CustomResource):
802
798
  ## Import
803
799
 
804
800
  ```sh
805
- $ pulumi import aiven:index/openSearch:OpenSearch os1 project/service_name
801
+ $ pulumi import aiven:index/openSearch:OpenSearch example_opensearch PROJECT/SERVICE_NAME
806
802
  ```
807
803
 
808
804
  :param str resource_name: The name of the resource.
809
805
  :param pulumi.ResourceOptions opts: Options for the resource.
810
- :param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
806
+ :param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
811
807
  :param pulumi.Input[builtins.str] cloud_name: 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.
812
808
  :param pulumi.Input[builtins.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.
813
809
  :param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
814
810
  :param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
815
811
  :param pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']] opensearch_user_config: Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
816
- :param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]] opensearches: OpenSearch server provided values
812
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]] opensearches: Values provided by the OpenSearch server.
817
813
  :param pulumi.Input[builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
818
814
  :param pulumi.Input[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.
819
815
  :param pulumi.Input[builtins.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.
@@ -831,7 +827,7 @@ class OpenSearch(pulumi.CustomResource):
831
827
  args: OpenSearchArgs,
832
828
  opts: Optional[pulumi.ResourceOptions] = None):
833
829
  """
834
- The OpenSearch resource allows the creation and management of Aiven OpenSearch services.
830
+ Creates and manages an [Aiven for OpenSearch®](https://aiven.io/docs/products/opensearch) service.
835
831
 
836
832
  ## Example Usage
837
833
 
@@ -839,15 +835,14 @@ class OpenSearch(pulumi.CustomResource):
839
835
  import pulumi
840
836
  import pulumi_aiven as aiven
841
837
 
842
- os1 = aiven.OpenSearch("os1",
843
- project=pr1["project"],
838
+ example_opensearch = aiven.OpenSearch("example_opensearch",
839
+ project=example_project["project"],
844
840
  cloud_name="google-europe-west1",
845
841
  plan="startup-4",
846
- service_name="my-os1",
842
+ service_name="example-opensearch",
847
843
  maintenance_window_dow="monday",
848
844
  maintenance_window_time="10:00:00",
849
845
  opensearch_user_config={
850
- "opensearch_version": "1",
851
846
  "opensearch_dashboards": {
852
847
  "enabled": True,
853
848
  "opensearch_request_timeout": 30000,
@@ -862,7 +857,7 @@ class OpenSearch(pulumi.CustomResource):
862
857
  ## Import
863
858
 
864
859
  ```sh
865
- $ pulumi import aiven:index/openSearch:OpenSearch os1 project/service_name
860
+ $ pulumi import aiven:index/openSearch:OpenSearch example_opensearch PROJECT/SERVICE_NAME
866
861
  ```
867
862
 
868
863
  :param str resource_name: The name of the resource.
@@ -986,7 +981,7 @@ class OpenSearch(pulumi.CustomResource):
986
981
  :param str resource_name: The unique name of the resulting resource.
987
982
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
988
983
  :param pulumi.ResourceOptions opts: Options for the resource.
989
- :param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
984
+ :param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
990
985
  :param pulumi.Input[builtins.str] cloud_name: 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.
991
986
  :param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchComponentArgs', 'OpenSearchComponentArgsDict']]]] components: Service component information objects
992
987
  :param pulumi.Input[builtins.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.
@@ -997,7 +992,7 @@ class OpenSearch(pulumi.CustomResource):
997
992
  :param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
998
993
  :param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
999
994
  :param pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']] opensearch_user_config: Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
1000
- :param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]] opensearches: OpenSearch server provided values
995
+ :param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]] opensearches: Values provided by the OpenSearch server.
1001
996
  :param pulumi.Input[builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
1002
997
  :param pulumi.Input[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.
1003
998
  :param pulumi.Input[builtins.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.
@@ -1009,7 +1004,6 @@ class OpenSearch(pulumi.CustomResource):
1009
1004
  :param pulumi.Input[builtins.str] service_type: Aiven internal service type code
1010
1005
  :param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
1011
1006
  :param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
1012
- :param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
1013
1007
  :param pulumi.Input[Sequence[pulumi.Input[builtins.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
1014
1008
  :param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
1015
1009
  :param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTechEmailArgs', 'OpenSearchTechEmailArgsDict']]]] 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.
@@ -1053,7 +1047,7 @@ class OpenSearch(pulumi.CustomResource):
1053
1047
  @pulumi.getter(name="additionalDiskSpace")
1054
1048
  def additional_disk_space(self) -> pulumi.Output[builtins.str]:
1055
1049
  """
1056
- 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.
1050
+ 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.
1057
1051
  """
1058
1052
  return pulumi.get(self, "additional_disk_space")
1059
1053
 
@@ -1143,7 +1137,7 @@ class OpenSearch(pulumi.CustomResource):
1143
1137
  @pulumi.getter
1144
1138
  def opensearches(self) -> pulumi.Output[Sequence['outputs.OpenSearchOpensearch']]:
1145
1139
  """
1146
- OpenSearch server provided values
1140
+ Values provided by the OpenSearch server.
1147
1141
  """
1148
1142
  return pulumi.get(self, "opensearches")
1149
1143
 
@@ -1238,9 +1232,6 @@ class OpenSearch(pulumi.CustomResource):
1238
1232
  @property
1239
1233
  @pulumi.getter
1240
1234
  def state(self) -> pulumi.Output[builtins.str]:
1241
- """
1242
- Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
1243
- """
1244
1235
  return pulumi.get(self, "state")
1245
1236
 
1246
1237
  @property
@@ -28,7 +28,7 @@ class OpenSearchAclConfigArgs:
28
28
  The set of arguments for constructing a OpenSearchAclConfig resource.
29
29
  :param pulumi.Input[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.
30
30
  :param pulumi.Input[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.
31
- :param pulumi.Input[builtins.bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
31
+ :param pulumi.Input[builtins.bool] enabled: Enable OpenSearch ACLs. When disabled, authenticated service users have unrestricted access. The default value is `true`.
32
32
  :param pulumi.Input[builtins.bool] extended_acl: Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
33
33
  """
34
34
  pulumi.set(__self__, "project", project)
@@ -66,7 +66,7 @@ class OpenSearchAclConfigArgs:
66
66
  @pulumi.getter
67
67
  def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
68
68
  """
69
- Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
69
+ Enable OpenSearch ACLs. When disabled, authenticated service users have unrestricted access. The default value is `true`.
70
70
  """
71
71
  return pulumi.get(self, "enabled")
72
72
 
@@ -96,7 +96,7 @@ class _OpenSearchAclConfigState:
96
96
  service_name: Optional[pulumi.Input[builtins.str]] = None):
97
97
  """
98
98
  Input properties used for looking up and filtering OpenSearchAclConfig resources.
99
- :param pulumi.Input[builtins.bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
99
+ :param pulumi.Input[builtins.bool] enabled: Enable OpenSearch ACLs. When disabled, authenticated service users have unrestricted access. The default value is `true`.
100
100
  :param pulumi.Input[builtins.bool] extended_acl: Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
101
101
  :param pulumi.Input[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.
102
102
  :param pulumi.Input[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.
@@ -114,7 +114,7 @@ class _OpenSearchAclConfigState:
114
114
  @pulumi.getter
115
115
  def enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
116
116
  """
117
- Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
117
+ Enable OpenSearch ACLs. When disabled, authenticated service users have unrestricted access. The default value is `true`.
118
118
  """
119
119
  return pulumi.get(self, "enabled")
120
120
 
@@ -159,6 +159,7 @@ class _OpenSearchAclConfigState:
159
159
  pulumi.set(self, "service_name", value)
160
160
 
161
161
 
162
+ @pulumi.type_token("aiven:index/openSearchAclConfig:OpenSearchAclConfig")
162
163
  class OpenSearchAclConfig(pulumi.CustomResource):
163
164
  @overload
164
165
  def __init__(__self__,
@@ -170,7 +171,11 @@ class OpenSearchAclConfig(pulumi.CustomResource):
170
171
  service_name: Optional[pulumi.Input[builtins.str]] = None,
171
172
  __props__=None):
172
173
  """
173
- The OpenSearch ACL Config resource allows the creation and management of Aiven OpenSearch ACLs.
174
+ Enables access control for an Aiven for OpenSearch® service.
175
+
176
+ By default, service users are granted full access rights. To limit their access, you can enable access control and create ACLs
177
+ that define permissions and patterns. Alternatively, you can enable OpenSearch Security management
178
+ to manage users and permissions with the OpenSearch Security dashboard.
174
179
 
175
180
  ## Example Usage
176
181
 
@@ -178,32 +183,22 @@ class OpenSearchAclConfig(pulumi.CustomResource):
178
183
  import pulumi
179
184
  import pulumi_aiven as aiven
180
185
 
181
- foo = aiven.get_project(project="example_project")
182
- bar = aiven.OpenSearch("bar",
183
- project=foo.project,
184
- cloud_name="google-europe-west1",
185
- plan="startup-4",
186
- service_name="example_service_name",
187
- maintenance_window_dow="monday",
188
- maintenance_window_time="10:00:00")
189
- foo_opensearch_user = aiven.OpensearchUser("foo",
190
- service_name=bar.service_name,
191
- project=foo.project,
192
- username="user-example")
193
- foo_open_search_acl_config = aiven.OpenSearchAclConfig("foo",
194
- project=foo.project,
195
- service_name=bar.service_name,
186
+ main = aiven.OpenSearchAclConfig("main",
187
+ project=example_project["project"],
188
+ service_name=example_opensearch["serviceName"],
196
189
  enabled=True,
197
190
  extended_acl=False)
198
191
  ```
199
192
 
200
193
  ## Import
201
194
 
202
- TERRAFORM IMPORT AIVEN_OPENSEARCH_ACL_CONFIG.FOO project/service_name
195
+ ```sh
196
+ $ pulumi import aiven:index/openSearchAclConfig:OpenSearchAclConfig main PROJECT/SERVICE_NAME
197
+ ```
203
198
 
204
199
  :param str resource_name: The name of the resource.
205
200
  :param pulumi.ResourceOptions opts: Options for the resource.
206
- :param pulumi.Input[builtins.bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
201
+ :param pulumi.Input[builtins.bool] enabled: Enable OpenSearch ACLs. When disabled, authenticated service users have unrestricted access. The default value is `true`.
207
202
  :param pulumi.Input[builtins.bool] extended_acl: Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
208
203
  :param pulumi.Input[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.
209
204
  :param pulumi.Input[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.
@@ -215,7 +210,11 @@ class OpenSearchAclConfig(pulumi.CustomResource):
215
210
  args: OpenSearchAclConfigArgs,
216
211
  opts: Optional[pulumi.ResourceOptions] = None):
217
212
  """
218
- The OpenSearch ACL Config resource allows the creation and management of Aiven OpenSearch ACLs.
213
+ Enables access control for an Aiven for OpenSearch® service.
214
+
215
+ By default, service users are granted full access rights. To limit their access, you can enable access control and create ACLs
216
+ that define permissions and patterns. Alternatively, you can enable OpenSearch Security management
217
+ to manage users and permissions with the OpenSearch Security dashboard.
219
218
 
220
219
  ## Example Usage
221
220
 
@@ -223,28 +222,18 @@ class OpenSearchAclConfig(pulumi.CustomResource):
223
222
  import pulumi
224
223
  import pulumi_aiven as aiven
225
224
 
226
- foo = aiven.get_project(project="example_project")
227
- bar = aiven.OpenSearch("bar",
228
- project=foo.project,
229
- cloud_name="google-europe-west1",
230
- plan="startup-4",
231
- service_name="example_service_name",
232
- maintenance_window_dow="monday",
233
- maintenance_window_time="10:00:00")
234
- foo_opensearch_user = aiven.OpensearchUser("foo",
235
- service_name=bar.service_name,
236
- project=foo.project,
237
- username="user-example")
238
- foo_open_search_acl_config = aiven.OpenSearchAclConfig("foo",
239
- project=foo.project,
240
- service_name=bar.service_name,
225
+ main = aiven.OpenSearchAclConfig("main",
226
+ project=example_project["project"],
227
+ service_name=example_opensearch["serviceName"],
241
228
  enabled=True,
242
229
  extended_acl=False)
243
230
  ```
244
231
 
245
232
  ## Import
246
233
 
247
- TERRAFORM IMPORT AIVEN_OPENSEARCH_ACL_CONFIG.FOO project/service_name
234
+ ```sh
235
+ $ pulumi import aiven:index/openSearchAclConfig:OpenSearchAclConfig main PROJECT/SERVICE_NAME
236
+ ```
248
237
 
249
238
  :param str resource_name: The name of the resource.
250
239
  :param OpenSearchAclConfigArgs args: The arguments to use to populate this resource's properties.
@@ -303,7 +292,7 @@ class OpenSearchAclConfig(pulumi.CustomResource):
303
292
  :param str resource_name: The unique name of the resulting resource.
304
293
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
305
294
  :param pulumi.ResourceOptions opts: Options for the resource.
306
- :param pulumi.Input[builtins.bool] enabled: Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
295
+ :param pulumi.Input[builtins.bool] enabled: Enable OpenSearch ACLs. When disabled, authenticated service users have unrestricted access. The default value is `true`.
307
296
  :param pulumi.Input[builtins.bool] extended_acl: Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`.
308
297
  :param pulumi.Input[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.
309
298
  :param pulumi.Input[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.
@@ -322,7 +311,7 @@ class OpenSearchAclConfig(pulumi.CustomResource):
322
311
  @pulumi.getter
323
312
  def enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
324
313
  """
325
- Enable OpenSearch ACLs. When disabled authenticated service users have unrestricted access. The default value is `true`.
314
+ Enable OpenSearch ACLs. When disabled, authenticated service users have unrestricted access. The default value is `true`.
326
315
  """
327
316
  return pulumi.get(self, "enabled")
328
317