pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +127 -0
- pulumi_aiven/_inputs.py +32826 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
- pulumi_aiven/get_account.py +20 -5
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -32
- pulumi_aiven/outputs.py +38509 -21612
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
pulumi_aiven/open_search.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -25,6 +30,7 @@ class OpenSearchArgs:
|
|
|
25
30
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
26
31
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
27
32
|
opensearch_user_config: Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']] = None,
|
|
33
|
+
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]] = None,
|
|
28
34
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
29
35
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]]] = None,
|
|
30
36
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -33,20 +39,21 @@ class OpenSearchArgs:
|
|
|
33
39
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
34
40
|
"""
|
|
35
41
|
The set of arguments for constructing a OpenSearch resource.
|
|
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
|
|
37
|
-
:param pulumi.Input[str] project:
|
|
42
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
43
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
38
44
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
39
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
45
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
40
46
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
41
47
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
42
48
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
43
49
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
44
|
-
:param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings
|
|
50
|
+
: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
|
|
51
|
+
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: OpenSearch server provided values
|
|
45
52
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
46
53
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]] 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:
|
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
48
55
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]] tech_emails:
|
|
56
|
+
: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.
|
|
50
57
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
51
58
|
"""
|
|
52
59
|
pulumi.set(__self__, "plan", plan)
|
|
@@ -67,6 +74,8 @@ class OpenSearchArgs:
|
|
|
67
74
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
68
75
|
if opensearch_user_config is not None:
|
|
69
76
|
pulumi.set(__self__, "opensearch_user_config", opensearch_user_config)
|
|
77
|
+
if opensearches is not None:
|
|
78
|
+
pulumi.set(__self__, "opensearches", opensearches)
|
|
70
79
|
if project_vpc_id is not None:
|
|
71
80
|
pulumi.set(__self__, "project_vpc_id", project_vpc_id)
|
|
72
81
|
if service_integrations is not None:
|
|
@@ -84,7 +93,7 @@ class OpenSearchArgs:
|
|
|
84
93
|
@pulumi.getter
|
|
85
94
|
def plan(self) -> pulumi.Input[str]:
|
|
86
95
|
"""
|
|
87
|
-
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
|
|
96
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
88
97
|
"""
|
|
89
98
|
return pulumi.get(self, "plan")
|
|
90
99
|
|
|
@@ -96,7 +105,7 @@ class OpenSearchArgs:
|
|
|
96
105
|
@pulumi.getter
|
|
97
106
|
def project(self) -> pulumi.Input[str]:
|
|
98
107
|
"""
|
|
99
|
-
|
|
108
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
100
109
|
"""
|
|
101
110
|
return pulumi.get(self, "project")
|
|
102
111
|
|
|
@@ -120,7 +129,7 @@ class OpenSearchArgs:
|
|
|
120
129
|
@pulumi.getter(name="additionalDiskSpace")
|
|
121
130
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
122
131
|
"""
|
|
123
|
-
|
|
132
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
124
133
|
"""
|
|
125
134
|
return pulumi.get(self, "additional_disk_space")
|
|
126
135
|
|
|
@@ -142,13 +151,11 @@ class OpenSearchArgs:
|
|
|
142
151
|
|
|
143
152
|
@property
|
|
144
153
|
@pulumi.getter(name="diskSpace")
|
|
154
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
145
155
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
146
156
|
"""
|
|
147
157
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
148
158
|
"""
|
|
149
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
150
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
151
|
-
|
|
152
159
|
return pulumi.get(self, "disk_space")
|
|
153
160
|
|
|
154
161
|
@disk_space.setter
|
|
@@ -183,7 +190,7 @@ class OpenSearchArgs:
|
|
|
183
190
|
@pulumi.getter(name="opensearchUserConfig")
|
|
184
191
|
def opensearch_user_config(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']]:
|
|
185
192
|
"""
|
|
186
|
-
Opensearch user configurable settings
|
|
193
|
+
Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
187
194
|
"""
|
|
188
195
|
return pulumi.get(self, "opensearch_user_config")
|
|
189
196
|
|
|
@@ -191,6 +198,18 @@ class OpenSearchArgs:
|
|
|
191
198
|
def opensearch_user_config(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']]):
|
|
192
199
|
pulumi.set(self, "opensearch_user_config", value)
|
|
193
200
|
|
|
201
|
+
@property
|
|
202
|
+
@pulumi.getter
|
|
203
|
+
def opensearches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]:
|
|
204
|
+
"""
|
|
205
|
+
OpenSearch server provided values
|
|
206
|
+
"""
|
|
207
|
+
return pulumi.get(self, "opensearches")
|
|
208
|
+
|
|
209
|
+
@opensearches.setter
|
|
210
|
+
def opensearches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]):
|
|
211
|
+
pulumi.set(self, "opensearches", value)
|
|
212
|
+
|
|
194
213
|
@property
|
|
195
214
|
@pulumi.getter(name="projectVpcId")
|
|
196
215
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -219,7 +238,7 @@ class OpenSearchArgs:
|
|
|
219
238
|
@pulumi.getter(name="staticIps")
|
|
220
239
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
221
240
|
"""
|
|
222
|
-
|
|
241
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
223
242
|
"""
|
|
224
243
|
return pulumi.get(self, "static_ips")
|
|
225
244
|
|
|
@@ -243,7 +262,7 @@ class OpenSearchArgs:
|
|
|
243
262
|
@pulumi.getter(name="techEmails")
|
|
244
263
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]]]:
|
|
245
264
|
"""
|
|
246
|
-
|
|
265
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
247
266
|
"""
|
|
248
267
|
return pulumi.get(self, "tech_emails")
|
|
249
268
|
|
|
@@ -297,7 +316,7 @@ class _OpenSearchState:
|
|
|
297
316
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
298
317
|
"""
|
|
299
318
|
Input properties used for looking up and filtering OpenSearch resources.
|
|
300
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
319
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
301
320
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
302
321
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchComponentArgs']]] components: Service component information objects
|
|
303
322
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -307,10 +326,10 @@ class _OpenSearchState:
|
|
|
307
326
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
308
327
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
309
328
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
310
|
-
:param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings
|
|
311
|
-
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: OpenSearch
|
|
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
|
|
313
|
-
:param pulumi.Input[str] project:
|
|
329
|
+
: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
|
|
330
|
+
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: OpenSearch server provided values
|
|
331
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
332
|
+
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
314
333
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
315
334
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
316
335
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -321,9 +340,9 @@ class _OpenSearchState:
|
|
|
321
340
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
322
341
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
323
342
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
324
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
343
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
325
344
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
326
|
-
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]] tech_emails:
|
|
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.
|
|
327
346
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
328
347
|
"""
|
|
329
348
|
if additional_disk_space is not None:
|
|
@@ -343,6 +362,9 @@ class _OpenSearchState:
|
|
|
343
362
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
344
363
|
if disk_space_step is not None:
|
|
345
364
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
365
|
+
if disk_space_used is not None:
|
|
366
|
+
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
367
|
+
pulumi.log.warn("""disk_space_used is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
346
368
|
if disk_space_used is not None:
|
|
347
369
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
348
370
|
if maintenance_window_dow is not None:
|
|
@@ -390,7 +412,7 @@ class _OpenSearchState:
|
|
|
390
412
|
@pulumi.getter(name="additionalDiskSpace")
|
|
391
413
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
392
414
|
"""
|
|
393
|
-
|
|
415
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
394
416
|
"""
|
|
395
417
|
return pulumi.get(self, "additional_disk_space")
|
|
396
418
|
|
|
@@ -424,13 +446,11 @@ class _OpenSearchState:
|
|
|
424
446
|
|
|
425
447
|
@property
|
|
426
448
|
@pulumi.getter(name="diskSpace")
|
|
449
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
427
450
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
428
451
|
"""
|
|
429
452
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
430
453
|
"""
|
|
431
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
432
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
433
|
-
|
|
434
454
|
return pulumi.get(self, "disk_space")
|
|
435
455
|
|
|
436
456
|
@disk_space.setter
|
|
@@ -475,6 +495,7 @@ class _OpenSearchState:
|
|
|
475
495
|
|
|
476
496
|
@property
|
|
477
497
|
@pulumi.getter(name="diskSpaceUsed")
|
|
498
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
478
499
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
479
500
|
"""
|
|
480
501
|
Disk space that service is currently using
|
|
@@ -513,7 +534,7 @@ class _OpenSearchState:
|
|
|
513
534
|
@pulumi.getter(name="opensearchUserConfig")
|
|
514
535
|
def opensearch_user_config(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']]:
|
|
515
536
|
"""
|
|
516
|
-
Opensearch user configurable settings
|
|
537
|
+
Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
517
538
|
"""
|
|
518
539
|
return pulumi.get(self, "opensearch_user_config")
|
|
519
540
|
|
|
@@ -525,7 +546,7 @@ class _OpenSearchState:
|
|
|
525
546
|
@pulumi.getter
|
|
526
547
|
def opensearches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]:
|
|
527
548
|
"""
|
|
528
|
-
OpenSearch
|
|
549
|
+
OpenSearch server provided values
|
|
529
550
|
"""
|
|
530
551
|
return pulumi.get(self, "opensearches")
|
|
531
552
|
|
|
@@ -537,7 +558,7 @@ class _OpenSearchState:
|
|
|
537
558
|
@pulumi.getter
|
|
538
559
|
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
539
560
|
"""
|
|
540
|
-
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
|
|
561
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
541
562
|
"""
|
|
542
563
|
return pulumi.get(self, "plan")
|
|
543
564
|
|
|
@@ -549,7 +570,7 @@ class _OpenSearchState:
|
|
|
549
570
|
@pulumi.getter
|
|
550
571
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
551
572
|
"""
|
|
552
|
-
|
|
573
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
553
574
|
"""
|
|
554
575
|
return pulumi.get(self, "project")
|
|
555
576
|
|
|
@@ -681,7 +702,7 @@ class _OpenSearchState:
|
|
|
681
702
|
@pulumi.getter(name="staticIps")
|
|
682
703
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
683
704
|
"""
|
|
684
|
-
|
|
705
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
685
706
|
"""
|
|
686
707
|
return pulumi.get(self, "static_ips")
|
|
687
708
|
|
|
@@ -705,7 +726,7 @@ class _OpenSearchState:
|
|
|
705
726
|
@pulumi.getter(name="techEmails")
|
|
706
727
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]]]:
|
|
707
728
|
"""
|
|
708
|
-
|
|
729
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
709
730
|
"""
|
|
710
731
|
return pulumi.get(self, "tech_emails")
|
|
711
732
|
|
|
@@ -736,15 +757,16 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
736
757
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
737
758
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
738
759
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
739
|
-
opensearch_user_config: Optional[pulumi.Input[
|
|
760
|
+
opensearch_user_config: Optional[pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']]] = None,
|
|
761
|
+
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]]] = None,
|
|
740
762
|
plan: Optional[pulumi.Input[str]] = None,
|
|
741
763
|
project: Optional[pulumi.Input[str]] = None,
|
|
742
764
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
743
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
765
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchServiceIntegrationArgs', 'OpenSearchServiceIntegrationArgsDict']]]]] = None,
|
|
744
766
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
745
767
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
746
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
747
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
768
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]]] = None,
|
|
769
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTechEmailArgs', 'OpenSearchTechEmailArgsDict']]]]] = None,
|
|
748
770
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
749
771
|
__props__=None):
|
|
750
772
|
"""
|
|
@@ -757,47 +779,48 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
757
779
|
import pulumi_aiven as aiven
|
|
758
780
|
|
|
759
781
|
os1 = aiven.OpenSearch("os1",
|
|
760
|
-
project=
|
|
782
|
+
project=pr1["project"],
|
|
761
783
|
cloud_name="google-europe-west1",
|
|
762
784
|
plan="startup-4",
|
|
763
785
|
service_name="my-os1",
|
|
764
786
|
maintenance_window_dow="monday",
|
|
765
787
|
maintenance_window_time="10:00:00",
|
|
766
|
-
opensearch_user_config=
|
|
767
|
-
opensearch_version
|
|
768
|
-
opensearch_dashboards
|
|
769
|
-
enabled
|
|
770
|
-
opensearch_request_timeout
|
|
771
|
-
|
|
772
|
-
public_access
|
|
773
|
-
opensearch
|
|
774
|
-
opensearch_dashboards
|
|
775
|
-
|
|
776
|
-
)
|
|
788
|
+
opensearch_user_config={
|
|
789
|
+
"opensearch_version": "1",
|
|
790
|
+
"opensearch_dashboards": {
|
|
791
|
+
"enabled": True,
|
|
792
|
+
"opensearch_request_timeout": 30000,
|
|
793
|
+
},
|
|
794
|
+
"public_access": {
|
|
795
|
+
"opensearch": True,
|
|
796
|
+
"opensearch_dashboards": True,
|
|
797
|
+
},
|
|
798
|
+
})
|
|
777
799
|
```
|
|
778
800
|
|
|
779
801
|
## Import
|
|
780
802
|
|
|
781
803
|
```sh
|
|
782
|
-
|
|
804
|
+
$ pulumi import aiven:index/openSearch:OpenSearch os1 project/service_name
|
|
783
805
|
```
|
|
784
806
|
|
|
785
807
|
:param str resource_name: The name of the resource.
|
|
786
808
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
787
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
809
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
788
810
|
: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).
|
|
789
811
|
: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.
|
|
790
812
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
791
813
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
792
|
-
:param pulumi.Input[
|
|
793
|
-
:param pulumi.Input[
|
|
794
|
-
:param pulumi.Input[str]
|
|
814
|
+
: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
|
|
815
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]] opensearches: OpenSearch server provided values
|
|
816
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
817
|
+
: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.
|
|
795
818
|
: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.
|
|
796
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
819
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchServiceIntegrationArgs', 'OpenSearchServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
797
820
|
: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.
|
|
798
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
799
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
800
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
821
|
+
: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
|
|
822
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
823
|
+
: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.
|
|
801
824
|
: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.
|
|
802
825
|
"""
|
|
803
826
|
...
|
|
@@ -816,29 +839,29 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
816
839
|
import pulumi_aiven as aiven
|
|
817
840
|
|
|
818
841
|
os1 = aiven.OpenSearch("os1",
|
|
819
|
-
project=
|
|
842
|
+
project=pr1["project"],
|
|
820
843
|
cloud_name="google-europe-west1",
|
|
821
844
|
plan="startup-4",
|
|
822
845
|
service_name="my-os1",
|
|
823
846
|
maintenance_window_dow="monday",
|
|
824
847
|
maintenance_window_time="10:00:00",
|
|
825
|
-
opensearch_user_config=
|
|
826
|
-
opensearch_version
|
|
827
|
-
opensearch_dashboards
|
|
828
|
-
enabled
|
|
829
|
-
opensearch_request_timeout
|
|
830
|
-
|
|
831
|
-
public_access
|
|
832
|
-
opensearch
|
|
833
|
-
opensearch_dashboards
|
|
834
|
-
|
|
835
|
-
)
|
|
848
|
+
opensearch_user_config={
|
|
849
|
+
"opensearch_version": "1",
|
|
850
|
+
"opensearch_dashboards": {
|
|
851
|
+
"enabled": True,
|
|
852
|
+
"opensearch_request_timeout": 30000,
|
|
853
|
+
},
|
|
854
|
+
"public_access": {
|
|
855
|
+
"opensearch": True,
|
|
856
|
+
"opensearch_dashboards": True,
|
|
857
|
+
},
|
|
858
|
+
})
|
|
836
859
|
```
|
|
837
860
|
|
|
838
861
|
## Import
|
|
839
862
|
|
|
840
863
|
```sh
|
|
841
|
-
|
|
864
|
+
$ pulumi import aiven:index/openSearch:OpenSearch os1 project/service_name
|
|
842
865
|
```
|
|
843
866
|
|
|
844
867
|
:param str resource_name: The name of the resource.
|
|
@@ -861,15 +884,16 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
861
884
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
862
885
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
863
886
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
864
|
-
opensearch_user_config: Optional[pulumi.Input[
|
|
887
|
+
opensearch_user_config: Optional[pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']]] = None,
|
|
888
|
+
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]]] = None,
|
|
865
889
|
plan: Optional[pulumi.Input[str]] = None,
|
|
866
890
|
project: Optional[pulumi.Input[str]] = None,
|
|
867
891
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
868
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
892
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchServiceIntegrationArgs', 'OpenSearchServiceIntegrationArgsDict']]]]] = None,
|
|
869
893
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
870
894
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
871
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
872
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
895
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]]] = None,
|
|
896
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTechEmailArgs', 'OpenSearchTechEmailArgsDict']]]]] = None,
|
|
873
897
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
874
898
|
__props__=None):
|
|
875
899
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -886,6 +910,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
886
910
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
887
911
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
888
912
|
__props__.__dict__["opensearch_user_config"] = opensearch_user_config
|
|
913
|
+
__props__.__dict__["opensearches"] = None if opensearches is None else pulumi.Output.secret(opensearches)
|
|
889
914
|
if plan is None and not opts.urn:
|
|
890
915
|
raise TypeError("Missing required property 'plan'")
|
|
891
916
|
__props__.__dict__["plan"] = plan
|
|
@@ -906,7 +931,6 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
906
931
|
__props__.__dict__["disk_space_default"] = None
|
|
907
932
|
__props__.__dict__["disk_space_step"] = None
|
|
908
933
|
__props__.__dict__["disk_space_used"] = None
|
|
909
|
-
__props__.__dict__["opensearches"] = None
|
|
910
934
|
__props__.__dict__["service_host"] = None
|
|
911
935
|
__props__.__dict__["service_password"] = None
|
|
912
936
|
__props__.__dict__["service_port"] = None
|
|
@@ -914,7 +938,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
914
938
|
__props__.__dict__["service_uri"] = None
|
|
915
939
|
__props__.__dict__["service_username"] = None
|
|
916
940
|
__props__.__dict__["state"] = None
|
|
917
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
941
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["opensearches", "servicePassword", "serviceUri"])
|
|
918
942
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
919
943
|
super(OpenSearch, __self__).__init__(
|
|
920
944
|
'aiven:index/openSearch:OpenSearch',
|
|
@@ -928,7 +952,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
928
952
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
929
953
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
930
954
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
931
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
955
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchComponentArgs', 'OpenSearchComponentArgsDict']]]]] = None,
|
|
932
956
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
933
957
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
934
958
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
@@ -936,13 +960,13 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
936
960
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
937
961
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
938
962
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
939
|
-
opensearch_user_config: Optional[pulumi.Input[
|
|
940
|
-
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
963
|
+
opensearch_user_config: Optional[pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']]] = None,
|
|
964
|
+
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]]] = None,
|
|
941
965
|
plan: Optional[pulumi.Input[str]] = None,
|
|
942
966
|
project: Optional[pulumi.Input[str]] = None,
|
|
943
967
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
944
968
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
945
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
969
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchServiceIntegrationArgs', 'OpenSearchServiceIntegrationArgsDict']]]]] = None,
|
|
946
970
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
947
971
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
948
972
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -951,8 +975,8 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
951
975
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
952
976
|
state: Optional[pulumi.Input[str]] = None,
|
|
953
977
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
954
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
955
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
978
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]]] = None,
|
|
979
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTechEmailArgs', 'OpenSearchTechEmailArgsDict']]]]] = None,
|
|
956
980
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'OpenSearch':
|
|
957
981
|
"""
|
|
958
982
|
Get an existing OpenSearch resource's state with the given name, id, and optional extra
|
|
@@ -961,9 +985,9 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
961
985
|
:param str resource_name: The unique name of the resulting resource.
|
|
962
986
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
963
987
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
964
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
988
|
+
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
965
989
|
: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).
|
|
966
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
990
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchComponentArgs', 'OpenSearchComponentArgsDict']]]] components: Service component information objects
|
|
967
991
|
: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.
|
|
968
992
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
969
993
|
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
@@ -971,13 +995,13 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
971
995
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
972
996
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
973
997
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
974
|
-
:param pulumi.Input[
|
|
975
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
976
|
-
: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
|
|
977
|
-
:param pulumi.Input[str] project:
|
|
998
|
+
: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
|
|
999
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]] opensearches: OpenSearch server provided values
|
|
1000
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1001
|
+
: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.
|
|
978
1002
|
: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.
|
|
979
1003
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
980
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1004
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchServiceIntegrationArgs', 'OpenSearchServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
981
1005
|
: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.
|
|
982
1006
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
983
1007
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -985,9 +1009,9 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
985
1009
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
986
1010
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
987
1011
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
988
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
989
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
990
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1012
|
+
: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
|
|
1013
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1014
|
+
: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.
|
|
991
1015
|
: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.
|
|
992
1016
|
"""
|
|
993
1017
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1026,9 +1050,9 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1026
1050
|
|
|
1027
1051
|
@property
|
|
1028
1052
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1029
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1053
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1030
1054
|
"""
|
|
1031
|
-
|
|
1055
|
+
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.
|
|
1032
1056
|
"""
|
|
1033
1057
|
return pulumi.get(self, "additional_disk_space")
|
|
1034
1058
|
|
|
@@ -1050,13 +1074,11 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1050
1074
|
|
|
1051
1075
|
@property
|
|
1052
1076
|
@pulumi.getter(name="diskSpace")
|
|
1077
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1053
1078
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1054
1079
|
"""
|
|
1055
1080
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1056
1081
|
"""
|
|
1057
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
1058
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1059
|
-
|
|
1060
1082
|
return pulumi.get(self, "disk_space")
|
|
1061
1083
|
|
|
1062
1084
|
@property
|
|
@@ -1085,6 +1107,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1085
1107
|
|
|
1086
1108
|
@property
|
|
1087
1109
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1110
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1088
1111
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1089
1112
|
"""
|
|
1090
1113
|
Disk space that service is currently using
|
|
@@ -1111,7 +1134,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1111
1134
|
@pulumi.getter(name="opensearchUserConfig")
|
|
1112
1135
|
def opensearch_user_config(self) -> pulumi.Output[Optional['outputs.OpenSearchOpensearchUserConfig']]:
|
|
1113
1136
|
"""
|
|
1114
|
-
Opensearch user configurable settings
|
|
1137
|
+
Opensearch user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1115
1138
|
"""
|
|
1116
1139
|
return pulumi.get(self, "opensearch_user_config")
|
|
1117
1140
|
|
|
@@ -1119,7 +1142,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1119
1142
|
@pulumi.getter
|
|
1120
1143
|
def opensearches(self) -> pulumi.Output[Sequence['outputs.OpenSearchOpensearch']]:
|
|
1121
1144
|
"""
|
|
1122
|
-
OpenSearch
|
|
1145
|
+
OpenSearch server provided values
|
|
1123
1146
|
"""
|
|
1124
1147
|
return pulumi.get(self, "opensearches")
|
|
1125
1148
|
|
|
@@ -1127,7 +1150,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1127
1150
|
@pulumi.getter
|
|
1128
1151
|
def plan(self) -> pulumi.Output[str]:
|
|
1129
1152
|
"""
|
|
1130
|
-
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
|
|
1153
|
+
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).
|
|
1131
1154
|
"""
|
|
1132
1155
|
return pulumi.get(self, "plan")
|
|
1133
1156
|
|
|
@@ -1135,13 +1158,13 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1135
1158
|
@pulumi.getter
|
|
1136
1159
|
def project(self) -> pulumi.Output[str]:
|
|
1137
1160
|
"""
|
|
1138
|
-
|
|
1161
|
+
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.
|
|
1139
1162
|
"""
|
|
1140
1163
|
return pulumi.get(self, "project")
|
|
1141
1164
|
|
|
1142
1165
|
@property
|
|
1143
1166
|
@pulumi.getter(name="projectVpcId")
|
|
1144
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1167
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1145
1168
|
"""
|
|
1146
1169
|
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.
|
|
1147
1170
|
"""
|
|
@@ -1157,7 +1180,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1157
1180
|
|
|
1158
1181
|
@property
|
|
1159
1182
|
@pulumi.getter(name="serviceIntegrations")
|
|
1160
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1183
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.OpenSearchServiceIntegration']]:
|
|
1161
1184
|
"""
|
|
1162
1185
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1163
1186
|
"""
|
|
@@ -1223,7 +1246,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1223
1246
|
@pulumi.getter(name="staticIps")
|
|
1224
1247
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1225
1248
|
"""
|
|
1226
|
-
|
|
1249
|
+
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
|
|
1227
1250
|
"""
|
|
1228
1251
|
return pulumi.get(self, "static_ips")
|
|
1229
1252
|
|
|
@@ -1239,7 +1262,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1239
1262
|
@pulumi.getter(name="techEmails")
|
|
1240
1263
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.OpenSearchTechEmail']]]:
|
|
1241
1264
|
"""
|
|
1242
|
-
|
|
1265
|
+
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.
|
|
1243
1266
|
"""
|
|
1244
1267
|
return pulumi.get(self, "tech_emails")
|
|
1245
1268
|
|