pulumi-aiven 6.41.0a1753242343__py3-none-any.whl → 6.42.0a1753397358__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 +1 -1
- pulumi_aiven/_inputs.py +10713 -10714
- pulumi_aiven/account.py +89 -90
- pulumi_aiven/account_authentication.py +253 -254
- pulumi_aiven/account_team.py +62 -63
- pulumi_aiven/account_team_member.py +79 -80
- pulumi_aiven/account_team_project.py +69 -70
- pulumi_aiven/alloydbomni.py +319 -320
- pulumi_aiven/alloydbomni_database.py +86 -87
- pulumi_aiven/alloydbomni_user.py +113 -114
- pulumi_aiven/aws_org_vpc_peering_connection.py +113 -114
- pulumi_aiven/aws_privatelink.py +70 -71
- pulumi_aiven/aws_vpc_peering_connection.py +96 -97
- pulumi_aiven/azure_org_vpc_peering_connection.py +138 -139
- pulumi_aiven/azure_privatelink.py +88 -89
- pulumi_aiven/azure_privatelink_connection_approval.py +70 -71
- pulumi_aiven/azure_vpc_peering_connection.py +130 -131
- pulumi_aiven/billing_group.py +256 -257
- pulumi_aiven/cassandra.py +302 -303
- pulumi_aiven/cassandra_user.py +96 -97
- pulumi_aiven/clickhouse.py +302 -303
- pulumi_aiven/clickhouse_database.py +65 -66
- pulumi_aiven/clickhouse_grant.py +75 -76
- pulumi_aiven/clickhouse_role.py +52 -53
- pulumi_aiven/clickhouse_user.py +79 -80
- pulumi_aiven/config/__init__.py +1 -1
- pulumi_aiven/config/__init__.pyi +1 -2
- pulumi_aiven/config/vars.py +2 -3
- pulumi_aiven/connection_pool.py +129 -130
- pulumi_aiven/dragonfly.py +302 -303
- pulumi_aiven/flink.py +302 -303
- pulumi_aiven/flink_application.py +97 -98
- pulumi_aiven/flink_application_deployment.py +138 -139
- pulumi_aiven/flink_application_version.py +117 -118
- pulumi_aiven/flink_jar_application.py +101 -102
- pulumi_aiven/flink_jar_application_deployment.py +217 -218
- pulumi_aiven/flink_jar_application_version.py +116 -117
- pulumi_aiven/gcp_org_vpc_peering_connection.py +87 -88
- pulumi_aiven/gcp_privatelink.py +62 -63
- pulumi_aiven/gcp_privatelink_connection_approval.py +79 -80
- pulumi_aiven/gcp_vpc_peering_connection.py +79 -80
- pulumi_aiven/get_account.py +23 -24
- pulumi_aiven/get_account_authentication.py +46 -47
- pulumi_aiven/get_account_team.py +21 -22
- pulumi_aiven/get_account_team_member.py +27 -28
- pulumi_aiven/get_account_team_project.py +23 -24
- pulumi_aiven/get_alloydbomni.py +63 -64
- pulumi_aiven/get_alloydbomni_database.py +25 -26
- pulumi_aiven/get_alloydbomni_user.py +31 -32
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +39 -40
- pulumi_aiven/get_aws_privatelink.py +21 -22
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -34
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +41 -42
- pulumi_aiven/get_azure_privatelink.py +25 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +45 -46
- pulumi_aiven/get_billing_group.py +39 -40
- pulumi_aiven/get_cassanda.py +61 -62
- pulumi_aiven/get_cassandra.py +61 -62
- pulumi_aiven/get_cassandra_user.py +29 -30
- pulumi_aiven/get_clickhouse.py +61 -62
- pulumi_aiven/get_clickhouse_database.py +23 -24
- pulumi_aiven/get_clickhouse_user.py +27 -28
- pulumi_aiven/get_connection_pool.py +31 -32
- pulumi_aiven/get_dragonfly.py +61 -62
- pulumi_aiven/get_external_identity.py +27 -28
- pulumi_aiven/get_flink.py +61 -62
- pulumi_aiven/get_flink_application.py +31 -32
- pulumi_aiven/get_flink_application_version.py +39 -40
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +31 -32
- pulumi_aiven/get_gcp_privatelink.py +21 -22
- pulumi_aiven/get_gcp_vpc_peering_connection.py +27 -28
- pulumi_aiven/get_grafana.py +61 -62
- pulumi_aiven/get_influx_db.py +57 -58
- pulumi_aiven/get_influxdb_database.py +17 -18
- pulumi_aiven/get_influxdb_user.py +23 -24
- pulumi_aiven/get_kafka.py +65 -66
- pulumi_aiven/get_kafka_acl.py +35 -36
- pulumi_aiven/get_kafka_connect.py +60 -61
- pulumi_aiven/get_kafka_connector.py +36 -37
- pulumi_aiven/get_kafka_mirror_maker.py +60 -61
- pulumi_aiven/get_kafka_schema.py +29 -30
- pulumi_aiven/get_kafka_schema_configuration.py +25 -26
- pulumi_aiven/get_kafka_schema_registry_acl.py +35 -36
- pulumi_aiven/get_kafka_topic.py +33 -34
- pulumi_aiven/get_kafka_user.py +29 -30
- pulumi_aiven/get_m3_aggregator.py +61 -62
- pulumi_aiven/get_m3_db.py +61 -62
- pulumi_aiven/get_m3db_user.py +25 -26
- pulumi_aiven/get_mirror_maker_replication_flow.py +51 -52
- pulumi_aiven/get_my_sql.py +61 -62
- pulumi_aiven/get_mysql_database.py +23 -24
- pulumi_aiven/get_mysql_user.py +31 -32
- pulumi_aiven/get_open_search.py +61 -62
- pulumi_aiven/get_open_search_acl_config.py +19 -20
- pulumi_aiven/get_open_search_acl_rule.py +33 -34
- pulumi_aiven/get_opensearch_security_plugin_config.py +23 -24
- pulumi_aiven/get_opensearch_user.py +25 -26
- pulumi_aiven/get_organization.py +20 -21
- pulumi_aiven/get_organization_address.py +32 -33
- pulumi_aiven/get_organization_application_user.py +21 -22
- pulumi_aiven/get_organization_billing_group.py +34 -35
- pulumi_aiven/get_organization_billing_group_list.py +11 -12
- pulumi_aiven/get_organization_project.py +27 -28
- pulumi_aiven/get_organization_user.py +23 -24
- pulumi_aiven/get_organization_user_group.py +23 -24
- pulumi_aiven/get_organization_user_list.py +14 -15
- pulumi_aiven/get_organization_vpc.py +25 -26
- pulumi_aiven/get_organizational_unit.py +17 -18
- pulumi_aiven/get_pg.py +61 -62
- pulumi_aiven/get_pg_database.py +27 -28
- pulumi_aiven/get_pg_user.py +31 -32
- pulumi_aiven/get_project.py +34 -35
- pulumi_aiven/get_project_user.py +19 -20
- pulumi_aiven/get_project_vpc.py +25 -26
- pulumi_aiven/get_redis.py +61 -62
- pulumi_aiven/get_redis_user.py +33 -34
- pulumi_aiven/get_service_component.py +51 -52
- pulumi_aiven/get_service_integration.py +52 -53
- pulumi_aiven/get_service_integration_endpoint.py +38 -39
- pulumi_aiven/get_thanos.py +61 -62
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +31 -32
- pulumi_aiven/get_valkey.py +61 -62
- pulumi_aiven/get_valkey_user.py +33 -34
- pulumi_aiven/governance_access.py +84 -85
- pulumi_aiven/grafana.py +302 -303
- pulumi_aiven/influx_db.py +302 -303
- pulumi_aiven/influxdb_database.py +65 -66
- pulumi_aiven/influxdb_user.py +96 -97
- pulumi_aiven/kafka.py +336 -337
- pulumi_aiven/kafka_acl.py +95 -96
- pulumi_aiven/kafka_connect.py +299 -300
- pulumi_aiven/kafka_connector.py +125 -126
- pulumi_aiven/kafka_mirror_maker.py +299 -300
- pulumi_aiven/kafka_native_acl.py +154 -155
- pulumi_aiven/kafka_quota.py +120 -121
- pulumi_aiven/kafka_schema.py +112 -113
- pulumi_aiven/kafka_schema_configuration.py +52 -53
- pulumi_aiven/kafka_schema_registry_acl.py +95 -96
- pulumi_aiven/kafka_topic.py +139 -140
- pulumi_aiven/kafka_user.py +96 -97
- pulumi_aiven/m3_aggregator.py +302 -303
- pulumi_aiven/m3_db.py +302 -303
- pulumi_aiven/m3db_user.py +78 -79
- pulumi_aiven/mirror_maker_replication_flow.py +273 -274
- pulumi_aiven/my_sql.py +302 -303
- pulumi_aiven/mysql_database.py +65 -66
- pulumi_aiven/mysql_user.py +113 -114
- pulumi_aiven/open_search.py +302 -303
- pulumi_aiven/open_search_acl_config.py +69 -70
- pulumi_aiven/open_search_acl_rule.py +86 -87
- pulumi_aiven/opensearch_security_plugin_config.py +79 -80
- pulumi_aiven/opensearch_user.py +78 -79
- pulumi_aiven/organization.py +48 -49
- pulumi_aiven/organization_address.py +150 -151
- pulumi_aiven/organization_application_user.py +70 -71
- pulumi_aiven/organization_application_user_token.py +210 -211
- pulumi_aiven/organization_billing_group.py +183 -184
- pulumi_aiven/organization_group_project.py +55 -56
- pulumi_aiven/organization_permission.py +55 -56
- pulumi_aiven/organization_project.py +118 -119
- pulumi_aiven/organization_user.py +71 -72
- pulumi_aiven/organization_user_group.py +79 -80
- pulumi_aiven/organization_user_group_member.py +64 -65
- pulumi_aiven/organization_vpc.py +88 -89
- pulumi_aiven/organizational_unit.py +62 -63
- pulumi_aiven/outputs.py +14260 -14261
- pulumi_aiven/pg.py +302 -303
- pulumi_aiven/pg_database.py +99 -100
- pulumi_aiven/pg_user.py +113 -114
- pulumi_aiven/project.py +193 -194
- pulumi_aiven/project_user.py +61 -62
- pulumi_aiven/project_vpc.py +61 -62
- pulumi_aiven/provider.py +12 -13
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +302 -303
- pulumi_aiven/redis_user.py +146 -147
- pulumi_aiven/service_integration.py +191 -192
- pulumi_aiven/service_integration_endpoint.py +118 -119
- pulumi_aiven/static_ip.py +71 -72
- pulumi_aiven/thanos.py +302 -303
- pulumi_aiven/transit_gateway_vpc_attachment.py +113 -114
- pulumi_aiven/valkey.py +302 -303
- pulumi_aiven/valkey_user.py +146 -147
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0a1753397358.dist-info}/METADATA +1 -1
- pulumi_aiven-6.42.0a1753397358.dist-info/RECORD +189 -0
- pulumi_aiven-6.41.0a1753242343.dist-info/RECORD +0 -189
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0a1753397358.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0a1753397358.dist-info}/top_level.txt +0 -0
pulumi_aiven/open_search.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,40 +21,40 @@ __all__ = ['OpenSearchArgs', 'OpenSearch']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class OpenSearchArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
plan: pulumi.Input[
|
|
26
|
-
project: pulumi.Input[
|
|
27
|
-
service_name: pulumi.Input[
|
|
28
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
29
|
-
cloud_name: Optional[pulumi.Input[
|
|
30
|
-
disk_space: Optional[pulumi.Input[
|
|
31
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
32
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
24
|
+
plan: pulumi.Input[_builtins.str],
|
|
25
|
+
project: pulumi.Input[_builtins.str],
|
|
26
|
+
service_name: pulumi.Input[_builtins.str],
|
|
27
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
32
|
opensearch_user_config: Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']] = None,
|
|
34
33
|
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]] = None,
|
|
35
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
34
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
36
35
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]]] = None,
|
|
37
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
36
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
38
37
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]]] = None,
|
|
39
38
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]]] = None,
|
|
40
|
-
termination_protection: Optional[pulumi.Input[
|
|
39
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
41
40
|
"""
|
|
42
41
|
The set of arguments for constructing a OpenSearch resource.
|
|
43
|
-
:param pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[
|
|
47
|
-
:param pulumi.Input[
|
|
48
|
-
:param pulumi.Input[
|
|
49
|
-
:param pulumi.Input[
|
|
50
|
-
:param pulumi.Input[
|
|
42
|
+
: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).
|
|
43
|
+
: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.
|
|
44
|
+
: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.
|
|
45
|
+
: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.
|
|
46
|
+
: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.
|
|
47
|
+
: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.
|
|
48
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
|
+
: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
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
|
|
52
51
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: Values provided by the OpenSearch server.
|
|
53
|
-
:param pulumi.Input[
|
|
52
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. 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. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
54
53
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
55
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
54
|
+
: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
|
|
56
55
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
57
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.
|
|
58
|
-
:param pulumi.Input[
|
|
57
|
+
:param pulumi.Input[_builtins.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.
|
|
59
58
|
"""
|
|
60
59
|
pulumi.set(__self__, "plan", plan)
|
|
61
60
|
pulumi.set(__self__, "project", project)
|
|
@@ -90,104 +89,104 @@ class OpenSearchArgs:
|
|
|
90
89
|
if termination_protection is not None:
|
|
91
90
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
92
91
|
|
|
93
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
94
93
|
@pulumi.getter
|
|
95
|
-
def plan(self) -> pulumi.Input[
|
|
94
|
+
def plan(self) -> pulumi.Input[_builtins.str]:
|
|
96
95
|
"""
|
|
97
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).
|
|
98
97
|
"""
|
|
99
98
|
return pulumi.get(self, "plan")
|
|
100
99
|
|
|
101
100
|
@plan.setter
|
|
102
|
-
def plan(self, value: pulumi.Input[
|
|
101
|
+
def plan(self, value: pulumi.Input[_builtins.str]):
|
|
103
102
|
pulumi.set(self, "plan", value)
|
|
104
103
|
|
|
105
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
106
105
|
@pulumi.getter
|
|
107
|
-
def project(self) -> pulumi.Input[
|
|
106
|
+
def project(self) -> pulumi.Input[_builtins.str]:
|
|
108
107
|
"""
|
|
109
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.
|
|
110
109
|
"""
|
|
111
110
|
return pulumi.get(self, "project")
|
|
112
111
|
|
|
113
112
|
@project.setter
|
|
114
|
-
def project(self, value: pulumi.Input[
|
|
113
|
+
def project(self, value: pulumi.Input[_builtins.str]):
|
|
115
114
|
pulumi.set(self, "project", value)
|
|
116
115
|
|
|
117
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
118
117
|
@pulumi.getter(name="serviceName")
|
|
119
|
-
def service_name(self) -> pulumi.Input[
|
|
118
|
+
def service_name(self) -> pulumi.Input[_builtins.str]:
|
|
120
119
|
"""
|
|
121
120
|
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.
|
|
122
121
|
"""
|
|
123
122
|
return pulumi.get(self, "service_name")
|
|
124
123
|
|
|
125
124
|
@service_name.setter
|
|
126
|
-
def service_name(self, value: pulumi.Input[
|
|
125
|
+
def service_name(self, value: pulumi.Input[_builtins.str]):
|
|
127
126
|
pulumi.set(self, "service_name", value)
|
|
128
127
|
|
|
129
|
-
@property
|
|
128
|
+
@_builtins.property
|
|
130
129
|
@pulumi.getter(name="additionalDiskSpace")
|
|
131
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
130
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
132
131
|
"""
|
|
133
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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
134
133
|
"""
|
|
135
134
|
return pulumi.get(self, "additional_disk_space")
|
|
136
135
|
|
|
137
136
|
@additional_disk_space.setter
|
|
138
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
137
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
139
138
|
pulumi.set(self, "additional_disk_space", value)
|
|
140
139
|
|
|
141
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
142
141
|
@pulumi.getter(name="cloudName")
|
|
143
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
142
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
144
143
|
"""
|
|
145
144
|
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.
|
|
146
145
|
"""
|
|
147
146
|
return pulumi.get(self, "cloud_name")
|
|
148
147
|
|
|
149
148
|
@cloud_name.setter
|
|
150
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
149
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
151
150
|
pulumi.set(self, "cloud_name", value)
|
|
152
151
|
|
|
153
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
154
153
|
@pulumi.getter(name="diskSpace")
|
|
155
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.""")
|
|
156
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
155
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
157
156
|
"""
|
|
158
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.
|
|
159
158
|
"""
|
|
160
159
|
return pulumi.get(self, "disk_space")
|
|
161
160
|
|
|
162
161
|
@disk_space.setter
|
|
163
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
162
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
164
163
|
pulumi.set(self, "disk_space", value)
|
|
165
164
|
|
|
166
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
167
166
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
168
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
167
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
169
168
|
"""
|
|
170
169
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
171
170
|
"""
|
|
172
171
|
return pulumi.get(self, "maintenance_window_dow")
|
|
173
172
|
|
|
174
173
|
@maintenance_window_dow.setter
|
|
175
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
174
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
176
175
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
177
176
|
|
|
178
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
179
178
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
180
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
179
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
181
180
|
"""
|
|
182
181
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
183
182
|
"""
|
|
184
183
|
return pulumi.get(self, "maintenance_window_time")
|
|
185
184
|
|
|
186
185
|
@maintenance_window_time.setter
|
|
187
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
186
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
188
187
|
pulumi.set(self, "maintenance_window_time", value)
|
|
189
188
|
|
|
190
|
-
@property
|
|
189
|
+
@_builtins.property
|
|
191
190
|
@pulumi.getter(name="opensearchUserConfig")
|
|
192
191
|
def opensearch_user_config(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']]:
|
|
193
192
|
"""
|
|
@@ -199,7 +198,7 @@ class OpenSearchArgs:
|
|
|
199
198
|
def opensearch_user_config(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']]):
|
|
200
199
|
pulumi.set(self, "opensearch_user_config", value)
|
|
201
200
|
|
|
202
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
203
202
|
@pulumi.getter
|
|
204
203
|
def opensearches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]:
|
|
205
204
|
"""
|
|
@@ -211,19 +210,19 @@ class OpenSearchArgs:
|
|
|
211
210
|
def opensearches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]):
|
|
212
211
|
pulumi.set(self, "opensearches", value)
|
|
213
212
|
|
|
214
|
-
@property
|
|
213
|
+
@_builtins.property
|
|
215
214
|
@pulumi.getter(name="projectVpcId")
|
|
216
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
215
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
217
216
|
"""
|
|
218
217
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. 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. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
219
218
|
"""
|
|
220
219
|
return pulumi.get(self, "project_vpc_id")
|
|
221
220
|
|
|
222
221
|
@project_vpc_id.setter
|
|
223
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
222
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
224
223
|
pulumi.set(self, "project_vpc_id", value)
|
|
225
224
|
|
|
226
|
-
@property
|
|
225
|
+
@_builtins.property
|
|
227
226
|
@pulumi.getter(name="serviceIntegrations")
|
|
228
227
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]]]:
|
|
229
228
|
"""
|
|
@@ -235,19 +234,19 @@ class OpenSearchArgs:
|
|
|
235
234
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]]]):
|
|
236
235
|
pulumi.set(self, "service_integrations", value)
|
|
237
236
|
|
|
238
|
-
@property
|
|
237
|
+
@_builtins.property
|
|
239
238
|
@pulumi.getter(name="staticIps")
|
|
240
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
239
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
241
240
|
"""
|
|
242
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
|
|
243
242
|
"""
|
|
244
243
|
return pulumi.get(self, "static_ips")
|
|
245
244
|
|
|
246
245
|
@static_ips.setter
|
|
247
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
246
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
248
247
|
pulumi.set(self, "static_ips", value)
|
|
249
248
|
|
|
250
|
-
@property
|
|
249
|
+
@_builtins.property
|
|
251
250
|
@pulumi.getter
|
|
252
251
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]]]:
|
|
253
252
|
"""
|
|
@@ -259,7 +258,7 @@ class OpenSearchArgs:
|
|
|
259
258
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]]]):
|
|
260
259
|
pulumi.set(self, "tags", value)
|
|
261
260
|
|
|
262
|
-
@property
|
|
261
|
+
@_builtins.property
|
|
263
262
|
@pulumi.getter(name="techEmails")
|
|
264
263
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]]]:
|
|
265
264
|
"""
|
|
@@ -271,79 +270,79 @@ class OpenSearchArgs:
|
|
|
271
270
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]]]):
|
|
272
271
|
pulumi.set(self, "tech_emails", value)
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
@pulumi.getter(name="terminationProtection")
|
|
276
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
275
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
277
276
|
"""
|
|
278
277
|
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.
|
|
279
278
|
"""
|
|
280
279
|
return pulumi.get(self, "termination_protection")
|
|
281
280
|
|
|
282
281
|
@termination_protection.setter
|
|
283
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
282
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
284
283
|
pulumi.set(self, "termination_protection", value)
|
|
285
284
|
|
|
286
285
|
|
|
287
286
|
@pulumi.input_type
|
|
288
287
|
class _OpenSearchState:
|
|
289
288
|
def __init__(__self__, *,
|
|
290
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
291
|
-
cloud_name: Optional[pulumi.Input[
|
|
289
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
290
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
292
291
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchComponentArgs']]]] = None,
|
|
293
|
-
disk_space: Optional[pulumi.Input[
|
|
294
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
295
|
-
disk_space_default: Optional[pulumi.Input[
|
|
296
|
-
disk_space_step: Optional[pulumi.Input[
|
|
297
|
-
disk_space_used: Optional[pulumi.Input[
|
|
298
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
299
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
292
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
293
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
295
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
297
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
299
|
opensearch_user_config: Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']] = None,
|
|
301
300
|
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]] = None,
|
|
302
|
-
plan: Optional[pulumi.Input[
|
|
303
|
-
project: Optional[pulumi.Input[
|
|
304
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
305
|
-
service_host: Optional[pulumi.Input[
|
|
301
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
303
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
304
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
305
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]]] = None,
|
|
307
|
-
service_name: Optional[pulumi.Input[
|
|
308
|
-
service_password: Optional[pulumi.Input[
|
|
309
|
-
service_port: Optional[pulumi.Input[
|
|
310
|
-
service_type: Optional[pulumi.Input[
|
|
311
|
-
service_uri: Optional[pulumi.Input[
|
|
312
|
-
service_username: Optional[pulumi.Input[
|
|
313
|
-
state: Optional[pulumi.Input[
|
|
314
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
306
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
309
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
311
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
312
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
313
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
315
314
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]]] = None,
|
|
316
315
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]]] = None,
|
|
317
|
-
termination_protection: Optional[pulumi.Input[
|
|
316
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
318
317
|
"""
|
|
319
318
|
Input properties used for looking up and filtering OpenSearch resources.
|
|
320
|
-
:param pulumi.Input[
|
|
321
|
-
:param pulumi.Input[
|
|
319
|
+
: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.
|
|
320
|
+
: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
321
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchComponentArgs']]] components: Service component information objects
|
|
323
|
-
:param pulumi.Input[
|
|
324
|
-
:param pulumi.Input[
|
|
325
|
-
:param pulumi.Input[
|
|
326
|
-
:param pulumi.Input[
|
|
327
|
-
:param pulumi.Input[
|
|
328
|
-
:param pulumi.Input[
|
|
329
|
-
:param pulumi.Input[
|
|
322
|
+
: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.
|
|
323
|
+
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
324
|
+
:param pulumi.Input[_builtins.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`
|
|
325
|
+
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
326
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
327
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
328
|
+
: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
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
|
|
331
330
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: Values provided by the OpenSearch server.
|
|
332
|
-
:param pulumi.Input[
|
|
333
|
-
:param pulumi.Input[
|
|
334
|
-
:param pulumi.Input[
|
|
335
|
-
:param pulumi.Input[
|
|
331
|
+
: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).
|
|
332
|
+
: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.
|
|
333
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. 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. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
334
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
336
335
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
337
|
-
:param pulumi.Input[
|
|
338
|
-
:param pulumi.Input[
|
|
339
|
-
:param pulumi.Input[
|
|
340
|
-
:param pulumi.Input[
|
|
341
|
-
:param pulumi.Input[
|
|
342
|
-
:param pulumi.Input[
|
|
343
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
336
|
+
: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.
|
|
337
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
338
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
339
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
340
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
341
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
342
|
+
: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
|
|
344
343
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
345
344
|
: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.
|
|
346
|
-
:param pulumi.Input[
|
|
345
|
+
:param pulumi.Input[_builtins.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.
|
|
347
346
|
"""
|
|
348
347
|
if additional_disk_space is not None:
|
|
349
348
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -408,31 +407,31 @@ class _OpenSearchState:
|
|
|
408
407
|
if termination_protection is not None:
|
|
409
408
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
410
409
|
|
|
411
|
-
@property
|
|
410
|
+
@_builtins.property
|
|
412
411
|
@pulumi.getter(name="additionalDiskSpace")
|
|
413
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
412
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
414
413
|
"""
|
|
415
414
|
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.
|
|
416
415
|
"""
|
|
417
416
|
return pulumi.get(self, "additional_disk_space")
|
|
418
417
|
|
|
419
418
|
@additional_disk_space.setter
|
|
420
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
419
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
421
420
|
pulumi.set(self, "additional_disk_space", value)
|
|
422
421
|
|
|
423
|
-
@property
|
|
422
|
+
@_builtins.property
|
|
424
423
|
@pulumi.getter(name="cloudName")
|
|
425
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
424
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
426
425
|
"""
|
|
427
426
|
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.
|
|
428
427
|
"""
|
|
429
428
|
return pulumi.get(self, "cloud_name")
|
|
430
429
|
|
|
431
430
|
@cloud_name.setter
|
|
432
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
431
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
433
432
|
pulumi.set(self, "cloud_name", value)
|
|
434
433
|
|
|
435
|
-
@property
|
|
434
|
+
@_builtins.property
|
|
436
435
|
@pulumi.getter
|
|
437
436
|
def components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchComponentArgs']]]]:
|
|
438
437
|
"""
|
|
@@ -444,93 +443,93 @@ class _OpenSearchState:
|
|
|
444
443
|
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchComponentArgs']]]]):
|
|
445
444
|
pulumi.set(self, "components", value)
|
|
446
445
|
|
|
447
|
-
@property
|
|
446
|
+
@_builtins.property
|
|
448
447
|
@pulumi.getter(name="diskSpace")
|
|
449
448
|
@_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.""")
|
|
450
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
449
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
451
450
|
"""
|
|
452
451
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
453
452
|
"""
|
|
454
453
|
return pulumi.get(self, "disk_space")
|
|
455
454
|
|
|
456
455
|
@disk_space.setter
|
|
457
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
456
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
458
457
|
pulumi.set(self, "disk_space", value)
|
|
459
458
|
|
|
460
|
-
@property
|
|
459
|
+
@_builtins.property
|
|
461
460
|
@pulumi.getter(name="diskSpaceCap")
|
|
462
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[
|
|
461
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
463
462
|
"""
|
|
464
463
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
465
464
|
"""
|
|
466
465
|
return pulumi.get(self, "disk_space_cap")
|
|
467
466
|
|
|
468
467
|
@disk_space_cap.setter
|
|
469
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[
|
|
468
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
470
469
|
pulumi.set(self, "disk_space_cap", value)
|
|
471
470
|
|
|
472
|
-
@property
|
|
471
|
+
@_builtins.property
|
|
473
472
|
@pulumi.getter(name="diskSpaceDefault")
|
|
474
|
-
def disk_space_default(self) -> Optional[pulumi.Input[
|
|
473
|
+
def disk_space_default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
475
474
|
"""
|
|
476
475
|
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`
|
|
477
476
|
"""
|
|
478
477
|
return pulumi.get(self, "disk_space_default")
|
|
479
478
|
|
|
480
479
|
@disk_space_default.setter
|
|
481
|
-
def disk_space_default(self, value: Optional[pulumi.Input[
|
|
480
|
+
def disk_space_default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
482
481
|
pulumi.set(self, "disk_space_default", value)
|
|
483
482
|
|
|
484
|
-
@property
|
|
483
|
+
@_builtins.property
|
|
485
484
|
@pulumi.getter(name="diskSpaceStep")
|
|
486
|
-
def disk_space_step(self) -> Optional[pulumi.Input[
|
|
485
|
+
def disk_space_step(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
487
486
|
"""
|
|
488
487
|
The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
489
488
|
"""
|
|
490
489
|
return pulumi.get(self, "disk_space_step")
|
|
491
490
|
|
|
492
491
|
@disk_space_step.setter
|
|
493
|
-
def disk_space_step(self, value: Optional[pulumi.Input[
|
|
492
|
+
def disk_space_step(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
494
493
|
pulumi.set(self, "disk_space_step", value)
|
|
495
494
|
|
|
496
|
-
@property
|
|
495
|
+
@_builtins.property
|
|
497
496
|
@pulumi.getter(name="diskSpaceUsed")
|
|
498
497
|
@_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.""")
|
|
499
|
-
def disk_space_used(self) -> Optional[pulumi.Input[
|
|
498
|
+
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
500
499
|
"""
|
|
501
500
|
Disk space that service is currently using
|
|
502
501
|
"""
|
|
503
502
|
return pulumi.get(self, "disk_space_used")
|
|
504
503
|
|
|
505
504
|
@disk_space_used.setter
|
|
506
|
-
def disk_space_used(self, value: Optional[pulumi.Input[
|
|
505
|
+
def disk_space_used(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
507
506
|
pulumi.set(self, "disk_space_used", value)
|
|
508
507
|
|
|
509
|
-
@property
|
|
508
|
+
@_builtins.property
|
|
510
509
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
511
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
510
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
512
511
|
"""
|
|
513
512
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
514
513
|
"""
|
|
515
514
|
return pulumi.get(self, "maintenance_window_dow")
|
|
516
515
|
|
|
517
516
|
@maintenance_window_dow.setter
|
|
518
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
517
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
519
518
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
520
519
|
|
|
521
|
-
@property
|
|
520
|
+
@_builtins.property
|
|
522
521
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
523
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
522
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
524
523
|
"""
|
|
525
524
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
526
525
|
"""
|
|
527
526
|
return pulumi.get(self, "maintenance_window_time")
|
|
528
527
|
|
|
529
528
|
@maintenance_window_time.setter
|
|
530
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
529
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
531
530
|
pulumi.set(self, "maintenance_window_time", value)
|
|
532
531
|
|
|
533
|
-
@property
|
|
532
|
+
@_builtins.property
|
|
534
533
|
@pulumi.getter(name="opensearchUserConfig")
|
|
535
534
|
def opensearch_user_config(self) -> Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']]:
|
|
536
535
|
"""
|
|
@@ -542,7 +541,7 @@ class _OpenSearchState:
|
|
|
542
541
|
def opensearch_user_config(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']]):
|
|
543
542
|
pulumi.set(self, "opensearch_user_config", value)
|
|
544
543
|
|
|
545
|
-
@property
|
|
544
|
+
@_builtins.property
|
|
546
545
|
@pulumi.getter
|
|
547
546
|
def opensearches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]:
|
|
548
547
|
"""
|
|
@@ -554,55 +553,55 @@ class _OpenSearchState:
|
|
|
554
553
|
def opensearches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]):
|
|
555
554
|
pulumi.set(self, "opensearches", value)
|
|
556
555
|
|
|
557
|
-
@property
|
|
556
|
+
@_builtins.property
|
|
558
557
|
@pulumi.getter
|
|
559
|
-
def plan(self) -> Optional[pulumi.Input[
|
|
558
|
+
def plan(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
560
559
|
"""
|
|
561
560
|
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).
|
|
562
561
|
"""
|
|
563
562
|
return pulumi.get(self, "plan")
|
|
564
563
|
|
|
565
564
|
@plan.setter
|
|
566
|
-
def plan(self, value: Optional[pulumi.Input[
|
|
565
|
+
def plan(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
567
566
|
pulumi.set(self, "plan", value)
|
|
568
567
|
|
|
569
|
-
@property
|
|
568
|
+
@_builtins.property
|
|
570
569
|
@pulumi.getter
|
|
571
|
-
def project(self) -> Optional[pulumi.Input[
|
|
570
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
572
571
|
"""
|
|
573
572
|
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.
|
|
574
573
|
"""
|
|
575
574
|
return pulumi.get(self, "project")
|
|
576
575
|
|
|
577
576
|
@project.setter
|
|
578
|
-
def project(self, value: Optional[pulumi.Input[
|
|
577
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
579
578
|
pulumi.set(self, "project", value)
|
|
580
579
|
|
|
581
|
-
@property
|
|
580
|
+
@_builtins.property
|
|
582
581
|
@pulumi.getter(name="projectVpcId")
|
|
583
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
582
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
584
583
|
"""
|
|
585
584
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. 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. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
586
585
|
"""
|
|
587
586
|
return pulumi.get(self, "project_vpc_id")
|
|
588
587
|
|
|
589
588
|
@project_vpc_id.setter
|
|
590
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
589
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
591
590
|
pulumi.set(self, "project_vpc_id", value)
|
|
592
591
|
|
|
593
|
-
@property
|
|
592
|
+
@_builtins.property
|
|
594
593
|
@pulumi.getter(name="serviceHost")
|
|
595
|
-
def service_host(self) -> Optional[pulumi.Input[
|
|
594
|
+
def service_host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
596
595
|
"""
|
|
597
596
|
The hostname of the service.
|
|
598
597
|
"""
|
|
599
598
|
return pulumi.get(self, "service_host")
|
|
600
599
|
|
|
601
600
|
@service_host.setter
|
|
602
|
-
def service_host(self, value: Optional[pulumi.Input[
|
|
601
|
+
def service_host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
603
602
|
pulumi.set(self, "service_host", value)
|
|
604
603
|
|
|
605
|
-
@property
|
|
604
|
+
@_builtins.property
|
|
606
605
|
@pulumi.getter(name="serviceIntegrations")
|
|
607
606
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]]]:
|
|
608
607
|
"""
|
|
@@ -614,100 +613,100 @@ class _OpenSearchState:
|
|
|
614
613
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]]]):
|
|
615
614
|
pulumi.set(self, "service_integrations", value)
|
|
616
615
|
|
|
617
|
-
@property
|
|
616
|
+
@_builtins.property
|
|
618
617
|
@pulumi.getter(name="serviceName")
|
|
619
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
618
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
620
619
|
"""
|
|
621
620
|
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.
|
|
622
621
|
"""
|
|
623
622
|
return pulumi.get(self, "service_name")
|
|
624
623
|
|
|
625
624
|
@service_name.setter
|
|
626
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
625
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
627
626
|
pulumi.set(self, "service_name", value)
|
|
628
627
|
|
|
629
|
-
@property
|
|
628
|
+
@_builtins.property
|
|
630
629
|
@pulumi.getter(name="servicePassword")
|
|
631
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
630
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
632
631
|
"""
|
|
633
632
|
Password used for connecting to the service, if applicable
|
|
634
633
|
"""
|
|
635
634
|
return pulumi.get(self, "service_password")
|
|
636
635
|
|
|
637
636
|
@service_password.setter
|
|
638
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
637
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
639
638
|
pulumi.set(self, "service_password", value)
|
|
640
639
|
|
|
641
|
-
@property
|
|
640
|
+
@_builtins.property
|
|
642
641
|
@pulumi.getter(name="servicePort")
|
|
643
|
-
def service_port(self) -> Optional[pulumi.Input[
|
|
642
|
+
def service_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
644
643
|
"""
|
|
645
644
|
The port of the service
|
|
646
645
|
"""
|
|
647
646
|
return pulumi.get(self, "service_port")
|
|
648
647
|
|
|
649
648
|
@service_port.setter
|
|
650
|
-
def service_port(self, value: Optional[pulumi.Input[
|
|
649
|
+
def service_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
651
650
|
pulumi.set(self, "service_port", value)
|
|
652
651
|
|
|
653
|
-
@property
|
|
652
|
+
@_builtins.property
|
|
654
653
|
@pulumi.getter(name="serviceType")
|
|
655
|
-
def service_type(self) -> Optional[pulumi.Input[
|
|
654
|
+
def service_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
656
655
|
"""
|
|
657
656
|
Aiven internal service type code
|
|
658
657
|
"""
|
|
659
658
|
return pulumi.get(self, "service_type")
|
|
660
659
|
|
|
661
660
|
@service_type.setter
|
|
662
|
-
def service_type(self, value: Optional[pulumi.Input[
|
|
661
|
+
def service_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
663
662
|
pulumi.set(self, "service_type", value)
|
|
664
663
|
|
|
665
|
-
@property
|
|
664
|
+
@_builtins.property
|
|
666
665
|
@pulumi.getter(name="serviceUri")
|
|
667
|
-
def service_uri(self) -> Optional[pulumi.Input[
|
|
666
|
+
def service_uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
668
667
|
"""
|
|
669
668
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
670
669
|
"""
|
|
671
670
|
return pulumi.get(self, "service_uri")
|
|
672
671
|
|
|
673
672
|
@service_uri.setter
|
|
674
|
-
def service_uri(self, value: Optional[pulumi.Input[
|
|
673
|
+
def service_uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
675
674
|
pulumi.set(self, "service_uri", value)
|
|
676
675
|
|
|
677
|
-
@property
|
|
676
|
+
@_builtins.property
|
|
678
677
|
@pulumi.getter(name="serviceUsername")
|
|
679
|
-
def service_username(self) -> Optional[pulumi.Input[
|
|
678
|
+
def service_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
680
679
|
"""
|
|
681
680
|
Username used for connecting to the service, if applicable
|
|
682
681
|
"""
|
|
683
682
|
return pulumi.get(self, "service_username")
|
|
684
683
|
|
|
685
684
|
@service_username.setter
|
|
686
|
-
def service_username(self, value: Optional[pulumi.Input[
|
|
685
|
+
def service_username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
687
686
|
pulumi.set(self, "service_username", value)
|
|
688
687
|
|
|
689
|
-
@property
|
|
688
|
+
@_builtins.property
|
|
690
689
|
@pulumi.getter
|
|
691
|
-
def state(self) -> Optional[pulumi.Input[
|
|
690
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
692
691
|
return pulumi.get(self, "state")
|
|
693
692
|
|
|
694
693
|
@state.setter
|
|
695
|
-
def state(self, value: Optional[pulumi.Input[
|
|
694
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
696
695
|
pulumi.set(self, "state", value)
|
|
697
696
|
|
|
698
|
-
@property
|
|
697
|
+
@_builtins.property
|
|
699
698
|
@pulumi.getter(name="staticIps")
|
|
700
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
699
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
701
700
|
"""
|
|
702
701
|
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
|
|
703
702
|
"""
|
|
704
703
|
return pulumi.get(self, "static_ips")
|
|
705
704
|
|
|
706
705
|
@static_ips.setter
|
|
707
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
706
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
708
707
|
pulumi.set(self, "static_ips", value)
|
|
709
708
|
|
|
710
|
-
@property
|
|
709
|
+
@_builtins.property
|
|
711
710
|
@pulumi.getter
|
|
712
711
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]]]:
|
|
713
712
|
"""
|
|
@@ -719,7 +718,7 @@ class _OpenSearchState:
|
|
|
719
718
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTagArgs']]]]):
|
|
720
719
|
pulumi.set(self, "tags", value)
|
|
721
720
|
|
|
722
|
-
@property
|
|
721
|
+
@_builtins.property
|
|
723
722
|
@pulumi.getter(name="techEmails")
|
|
724
723
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]]]:
|
|
725
724
|
"""
|
|
@@ -731,16 +730,16 @@ class _OpenSearchState:
|
|
|
731
730
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchTechEmailArgs']]]]):
|
|
732
731
|
pulumi.set(self, "tech_emails", value)
|
|
733
732
|
|
|
734
|
-
@property
|
|
733
|
+
@_builtins.property
|
|
735
734
|
@pulumi.getter(name="terminationProtection")
|
|
736
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
735
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
737
736
|
"""
|
|
738
737
|
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.
|
|
739
738
|
"""
|
|
740
739
|
return pulumi.get(self, "termination_protection")
|
|
741
740
|
|
|
742
741
|
@termination_protection.setter
|
|
743
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
742
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
744
743
|
pulumi.set(self, "termination_protection", value)
|
|
745
744
|
|
|
746
745
|
|
|
@@ -750,22 +749,22 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
750
749
|
def __init__(__self__,
|
|
751
750
|
resource_name: str,
|
|
752
751
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
753
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
754
|
-
cloud_name: Optional[pulumi.Input[
|
|
755
|
-
disk_space: Optional[pulumi.Input[
|
|
756
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
757
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
752
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
753
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
754
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
755
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
756
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
758
757
|
opensearch_user_config: Optional[pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']]] = None,
|
|
759
758
|
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]]] = None,
|
|
760
|
-
plan: Optional[pulumi.Input[
|
|
761
|
-
project: Optional[pulumi.Input[
|
|
762
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
759
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
760
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
761
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
763
762
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchServiceIntegrationArgs', 'OpenSearchServiceIntegrationArgsDict']]]]] = None,
|
|
764
|
-
service_name: Optional[pulumi.Input[
|
|
765
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
763
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
764
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
766
765
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]]] = None,
|
|
767
766
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTechEmailArgs', 'OpenSearchTechEmailArgsDict']]]]] = None,
|
|
768
|
-
termination_protection: Optional[pulumi.Input[
|
|
767
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
769
768
|
__props__=None):
|
|
770
769
|
"""
|
|
771
770
|
Creates and manages an [Aiven for OpenSearch®](https://aiven.io/docs/products/opensearch) service.
|
|
@@ -803,22 +802,22 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
803
802
|
|
|
804
803
|
:param str resource_name: The name of the resource.
|
|
805
804
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
806
|
-
:param pulumi.Input[
|
|
807
|
-
:param pulumi.Input[
|
|
808
|
-
:param pulumi.Input[
|
|
809
|
-
:param pulumi.Input[
|
|
810
|
-
:param pulumi.Input[
|
|
805
|
+
: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.
|
|
806
|
+
: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.
|
|
807
|
+
: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.
|
|
808
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
809
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
811
810
|
: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
|
|
812
811
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]] opensearches: Values provided by the OpenSearch server.
|
|
813
|
-
:param pulumi.Input[
|
|
814
|
-
:param pulumi.Input[
|
|
815
|
-
:param pulumi.Input[
|
|
812
|
+
: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).
|
|
813
|
+
: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.
|
|
814
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. 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. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
816
815
|
: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
|
|
817
|
-
:param pulumi.Input[
|
|
818
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
816
|
+
: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.
|
|
817
|
+
: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
|
|
819
818
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
820
819
|
: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.
|
|
821
|
-
:param pulumi.Input[
|
|
820
|
+
:param pulumi.Input[_builtins.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.
|
|
822
821
|
"""
|
|
823
822
|
...
|
|
824
823
|
@overload
|
|
@@ -875,22 +874,22 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
875
874
|
def _internal_init(__self__,
|
|
876
875
|
resource_name: str,
|
|
877
876
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
878
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
879
|
-
cloud_name: Optional[pulumi.Input[
|
|
880
|
-
disk_space: Optional[pulumi.Input[
|
|
881
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
882
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
877
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
878
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
879
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
880
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
881
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
883
882
|
opensearch_user_config: Optional[pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']]] = None,
|
|
884
883
|
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]]] = None,
|
|
885
|
-
plan: Optional[pulumi.Input[
|
|
886
|
-
project: Optional[pulumi.Input[
|
|
887
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
884
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
885
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
886
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
888
887
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchServiceIntegrationArgs', 'OpenSearchServiceIntegrationArgsDict']]]]] = None,
|
|
889
|
-
service_name: Optional[pulumi.Input[
|
|
890
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
888
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
889
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
891
890
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]]] = None,
|
|
892
891
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTechEmailArgs', 'OpenSearchTechEmailArgsDict']]]]] = None,
|
|
893
|
-
termination_protection: Optional[pulumi.Input[
|
|
892
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
894
893
|
__props__=None):
|
|
895
894
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
896
895
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -946,34 +945,34 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
946
945
|
def get(resource_name: str,
|
|
947
946
|
id: pulumi.Input[str],
|
|
948
947
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
949
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
950
|
-
cloud_name: Optional[pulumi.Input[
|
|
948
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
949
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
951
950
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchComponentArgs', 'OpenSearchComponentArgsDict']]]]] = None,
|
|
952
|
-
disk_space: Optional[pulumi.Input[
|
|
953
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
954
|
-
disk_space_default: Optional[pulumi.Input[
|
|
955
|
-
disk_space_step: Optional[pulumi.Input[
|
|
956
|
-
disk_space_used: Optional[pulumi.Input[
|
|
957
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
958
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
951
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
952
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
953
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
954
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
955
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
956
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
957
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
959
958
|
opensearch_user_config: Optional[pulumi.Input[Union['OpenSearchOpensearchUserConfigArgs', 'OpenSearchOpensearchUserConfigArgsDict']]] = None,
|
|
960
959
|
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]]] = None,
|
|
961
|
-
plan: Optional[pulumi.Input[
|
|
962
|
-
project: Optional[pulumi.Input[
|
|
963
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
964
|
-
service_host: Optional[pulumi.Input[
|
|
960
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
961
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
962
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
963
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
965
964
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchServiceIntegrationArgs', 'OpenSearchServiceIntegrationArgsDict']]]]] = None,
|
|
966
|
-
service_name: Optional[pulumi.Input[
|
|
967
|
-
service_password: Optional[pulumi.Input[
|
|
968
|
-
service_port: Optional[pulumi.Input[
|
|
969
|
-
service_type: Optional[pulumi.Input[
|
|
970
|
-
service_uri: Optional[pulumi.Input[
|
|
971
|
-
service_username: Optional[pulumi.Input[
|
|
972
|
-
state: Optional[pulumi.Input[
|
|
973
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
965
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
966
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
967
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
968
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
969
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
970
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
971
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
972
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
974
973
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]]] = None,
|
|
975
974
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTechEmailArgs', 'OpenSearchTechEmailArgsDict']]]]] = None,
|
|
976
|
-
termination_protection: Optional[pulumi.Input[
|
|
975
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None) -> 'OpenSearch':
|
|
977
976
|
"""
|
|
978
977
|
Get an existing OpenSearch resource's state with the given name, id, and optional extra
|
|
979
978
|
properties used to qualify the lookup.
|
|
@@ -981,33 +980,33 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
981
980
|
:param str resource_name: The unique name of the resulting resource.
|
|
982
981
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
983
982
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
984
|
-
:param pulumi.Input[
|
|
985
|
-
:param pulumi.Input[
|
|
983
|
+
: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.
|
|
984
|
+
: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.
|
|
986
985
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchComponentArgs', 'OpenSearchComponentArgsDict']]]] components: Service component information objects
|
|
987
|
-
:param pulumi.Input[
|
|
988
|
-
:param pulumi.Input[
|
|
989
|
-
:param pulumi.Input[
|
|
990
|
-
:param pulumi.Input[
|
|
991
|
-
:param pulumi.Input[
|
|
992
|
-
:param pulumi.Input[
|
|
993
|
-
:param pulumi.Input[
|
|
986
|
+
: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.
|
|
987
|
+
:param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
988
|
+
:param pulumi.Input[_builtins.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`
|
|
989
|
+
:param pulumi.Input[_builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
990
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
991
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
992
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
994
993
|
: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
|
|
995
994
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchOpensearchArgs', 'OpenSearchOpensearchArgsDict']]]] opensearches: Values provided by the OpenSearch server.
|
|
996
|
-
:param pulumi.Input[
|
|
997
|
-
:param pulumi.Input[
|
|
998
|
-
:param pulumi.Input[
|
|
999
|
-
:param pulumi.Input[
|
|
995
|
+
: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).
|
|
996
|
+
: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.
|
|
997
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. 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. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
998
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
1000
999
|
: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
|
|
1001
|
-
:param pulumi.Input[
|
|
1002
|
-
:param pulumi.Input[
|
|
1003
|
-
:param pulumi.Input[
|
|
1004
|
-
:param pulumi.Input[
|
|
1005
|
-
:param pulumi.Input[
|
|
1006
|
-
:param pulumi.Input[
|
|
1007
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1000
|
+
: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.
|
|
1001
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
1002
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
1003
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
1004
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1005
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1006
|
+
: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
|
|
1008
1007
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OpenSearchTagArgs', 'OpenSearchTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1009
1008
|
: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.
|
|
1010
|
-
:param pulumi.Input[
|
|
1009
|
+
:param pulumi.Input[_builtins.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.
|
|
1011
1010
|
"""
|
|
1012
1011
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1013
1012
|
|
|
@@ -1043,23 +1042,23 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1043
1042
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
1044
1043
|
return OpenSearch(resource_name, opts=opts, __props__=__props__)
|
|
1045
1044
|
|
|
1046
|
-
@property
|
|
1045
|
+
@_builtins.property
|
|
1047
1046
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1048
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1047
|
+
def additional_disk_space(self) -> pulumi.Output[_builtins.str]:
|
|
1049
1048
|
"""
|
|
1050
1049
|
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.
|
|
1051
1050
|
"""
|
|
1052
1051
|
return pulumi.get(self, "additional_disk_space")
|
|
1053
1052
|
|
|
1054
|
-
@property
|
|
1053
|
+
@_builtins.property
|
|
1055
1054
|
@pulumi.getter(name="cloudName")
|
|
1056
|
-
def cloud_name(self) -> pulumi.Output[Optional[
|
|
1055
|
+
def cloud_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1057
1056
|
"""
|
|
1058
1057
|
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.
|
|
1059
1058
|
"""
|
|
1060
1059
|
return pulumi.get(self, "cloud_name")
|
|
1061
1060
|
|
|
1062
|
-
@property
|
|
1061
|
+
@_builtins.property
|
|
1063
1062
|
@pulumi.getter
|
|
1064
1063
|
def components(self) -> pulumi.Output[Sequence['outputs.OpenSearchComponent']]:
|
|
1065
1064
|
"""
|
|
@@ -1067,65 +1066,65 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1067
1066
|
"""
|
|
1068
1067
|
return pulumi.get(self, "components")
|
|
1069
1068
|
|
|
1070
|
-
@property
|
|
1069
|
+
@_builtins.property
|
|
1071
1070
|
@pulumi.getter(name="diskSpace")
|
|
1072
1071
|
@_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.""")
|
|
1073
|
-
def disk_space(self) -> pulumi.Output[Optional[
|
|
1072
|
+
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1074
1073
|
"""
|
|
1075
1074
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1076
1075
|
"""
|
|
1077
1076
|
return pulumi.get(self, "disk_space")
|
|
1078
1077
|
|
|
1079
|
-
@property
|
|
1078
|
+
@_builtins.property
|
|
1080
1079
|
@pulumi.getter(name="diskSpaceCap")
|
|
1081
|
-
def disk_space_cap(self) -> pulumi.Output[
|
|
1080
|
+
def disk_space_cap(self) -> pulumi.Output[_builtins.str]:
|
|
1082
1081
|
"""
|
|
1083
1082
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1084
1083
|
"""
|
|
1085
1084
|
return pulumi.get(self, "disk_space_cap")
|
|
1086
1085
|
|
|
1087
|
-
@property
|
|
1086
|
+
@_builtins.property
|
|
1088
1087
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1089
|
-
def disk_space_default(self) -> pulumi.Output[
|
|
1088
|
+
def disk_space_default(self) -> pulumi.Output[_builtins.str]:
|
|
1090
1089
|
"""
|
|
1091
1090
|
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`
|
|
1092
1091
|
"""
|
|
1093
1092
|
return pulumi.get(self, "disk_space_default")
|
|
1094
1093
|
|
|
1095
|
-
@property
|
|
1094
|
+
@_builtins.property
|
|
1096
1095
|
@pulumi.getter(name="diskSpaceStep")
|
|
1097
|
-
def disk_space_step(self) -> pulumi.Output[
|
|
1096
|
+
def disk_space_step(self) -> pulumi.Output[_builtins.str]:
|
|
1098
1097
|
"""
|
|
1099
1098
|
The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1100
1099
|
"""
|
|
1101
1100
|
return pulumi.get(self, "disk_space_step")
|
|
1102
1101
|
|
|
1103
|
-
@property
|
|
1102
|
+
@_builtins.property
|
|
1104
1103
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1105
1104
|
@_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.""")
|
|
1106
|
-
def disk_space_used(self) -> pulumi.Output[
|
|
1105
|
+
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1107
1106
|
"""
|
|
1108
1107
|
Disk space that service is currently using
|
|
1109
1108
|
"""
|
|
1110
1109
|
return pulumi.get(self, "disk_space_used")
|
|
1111
1110
|
|
|
1112
|
-
@property
|
|
1111
|
+
@_builtins.property
|
|
1113
1112
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1114
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[
|
|
1113
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1115
1114
|
"""
|
|
1116
1115
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1117
1116
|
"""
|
|
1118
1117
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1119
1118
|
|
|
1120
|
-
@property
|
|
1119
|
+
@_builtins.property
|
|
1121
1120
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1122
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[
|
|
1121
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1123
1122
|
"""
|
|
1124
1123
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1125
1124
|
"""
|
|
1126
1125
|
return pulumi.get(self, "maintenance_window_time")
|
|
1127
1126
|
|
|
1128
|
-
@property
|
|
1127
|
+
@_builtins.property
|
|
1129
1128
|
@pulumi.getter(name="opensearchUserConfig")
|
|
1130
1129
|
def opensearch_user_config(self) -> pulumi.Output[Optional['outputs.OpenSearchOpensearchUserConfig']]:
|
|
1131
1130
|
"""
|
|
@@ -1133,7 +1132,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1133
1132
|
"""
|
|
1134
1133
|
return pulumi.get(self, "opensearch_user_config")
|
|
1135
1134
|
|
|
1136
|
-
@property
|
|
1135
|
+
@_builtins.property
|
|
1137
1136
|
@pulumi.getter
|
|
1138
1137
|
def opensearches(self) -> pulumi.Output[Sequence['outputs.OpenSearchOpensearch']]:
|
|
1139
1138
|
"""
|
|
@@ -1141,39 +1140,39 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1141
1140
|
"""
|
|
1142
1141
|
return pulumi.get(self, "opensearches")
|
|
1143
1142
|
|
|
1144
|
-
@property
|
|
1143
|
+
@_builtins.property
|
|
1145
1144
|
@pulumi.getter
|
|
1146
|
-
def plan(self) -> pulumi.Output[
|
|
1145
|
+
def plan(self) -> pulumi.Output[_builtins.str]:
|
|
1147
1146
|
"""
|
|
1148
1147
|
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).
|
|
1149
1148
|
"""
|
|
1150
1149
|
return pulumi.get(self, "plan")
|
|
1151
1150
|
|
|
1152
|
-
@property
|
|
1151
|
+
@_builtins.property
|
|
1153
1152
|
@pulumi.getter
|
|
1154
|
-
def project(self) -> pulumi.Output[
|
|
1153
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
|
1155
1154
|
"""
|
|
1156
1155
|
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.
|
|
1157
1156
|
"""
|
|
1158
1157
|
return pulumi.get(self, "project")
|
|
1159
1158
|
|
|
1160
|
-
@property
|
|
1159
|
+
@_builtins.property
|
|
1161
1160
|
@pulumi.getter(name="projectVpcId")
|
|
1162
|
-
def project_vpc_id(self) -> pulumi.Output[Optional[
|
|
1161
|
+
def project_vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1163
1162
|
"""
|
|
1164
1163
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. 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. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
1165
1164
|
"""
|
|
1166
1165
|
return pulumi.get(self, "project_vpc_id")
|
|
1167
1166
|
|
|
1168
|
-
@property
|
|
1167
|
+
@_builtins.property
|
|
1169
1168
|
@pulumi.getter(name="serviceHost")
|
|
1170
|
-
def service_host(self) -> pulumi.Output[
|
|
1169
|
+
def service_host(self) -> pulumi.Output[_builtins.str]:
|
|
1171
1170
|
"""
|
|
1172
1171
|
The hostname of the service.
|
|
1173
1172
|
"""
|
|
1174
1173
|
return pulumi.get(self, "service_host")
|
|
1175
1174
|
|
|
1176
|
-
@property
|
|
1175
|
+
@_builtins.property
|
|
1177
1176
|
@pulumi.getter(name="serviceIntegrations")
|
|
1178
1177
|
def service_integrations(self) -> pulumi.Output[Sequence['outputs.OpenSearchServiceIntegration']]:
|
|
1179
1178
|
"""
|
|
@@ -1181,68 +1180,68 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1181
1180
|
"""
|
|
1182
1181
|
return pulumi.get(self, "service_integrations")
|
|
1183
1182
|
|
|
1184
|
-
@property
|
|
1183
|
+
@_builtins.property
|
|
1185
1184
|
@pulumi.getter(name="serviceName")
|
|
1186
|
-
def service_name(self) -> pulumi.Output[
|
|
1185
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
1187
1186
|
"""
|
|
1188
1187
|
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.
|
|
1189
1188
|
"""
|
|
1190
1189
|
return pulumi.get(self, "service_name")
|
|
1191
1190
|
|
|
1192
|
-
@property
|
|
1191
|
+
@_builtins.property
|
|
1193
1192
|
@pulumi.getter(name="servicePassword")
|
|
1194
|
-
def service_password(self) -> pulumi.Output[
|
|
1193
|
+
def service_password(self) -> pulumi.Output[_builtins.str]:
|
|
1195
1194
|
"""
|
|
1196
1195
|
Password used for connecting to the service, if applicable
|
|
1197
1196
|
"""
|
|
1198
1197
|
return pulumi.get(self, "service_password")
|
|
1199
1198
|
|
|
1200
|
-
@property
|
|
1199
|
+
@_builtins.property
|
|
1201
1200
|
@pulumi.getter(name="servicePort")
|
|
1202
|
-
def service_port(self) -> pulumi.Output[
|
|
1201
|
+
def service_port(self) -> pulumi.Output[_builtins.int]:
|
|
1203
1202
|
"""
|
|
1204
1203
|
The port of the service
|
|
1205
1204
|
"""
|
|
1206
1205
|
return pulumi.get(self, "service_port")
|
|
1207
1206
|
|
|
1208
|
-
@property
|
|
1207
|
+
@_builtins.property
|
|
1209
1208
|
@pulumi.getter(name="serviceType")
|
|
1210
|
-
def service_type(self) -> pulumi.Output[
|
|
1209
|
+
def service_type(self) -> pulumi.Output[_builtins.str]:
|
|
1211
1210
|
"""
|
|
1212
1211
|
Aiven internal service type code
|
|
1213
1212
|
"""
|
|
1214
1213
|
return pulumi.get(self, "service_type")
|
|
1215
1214
|
|
|
1216
|
-
@property
|
|
1215
|
+
@_builtins.property
|
|
1217
1216
|
@pulumi.getter(name="serviceUri")
|
|
1218
|
-
def service_uri(self) -> pulumi.Output[
|
|
1217
|
+
def service_uri(self) -> pulumi.Output[_builtins.str]:
|
|
1219
1218
|
"""
|
|
1220
1219
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1221
1220
|
"""
|
|
1222
1221
|
return pulumi.get(self, "service_uri")
|
|
1223
1222
|
|
|
1224
|
-
@property
|
|
1223
|
+
@_builtins.property
|
|
1225
1224
|
@pulumi.getter(name="serviceUsername")
|
|
1226
|
-
def service_username(self) -> pulumi.Output[
|
|
1225
|
+
def service_username(self) -> pulumi.Output[_builtins.str]:
|
|
1227
1226
|
"""
|
|
1228
1227
|
Username used for connecting to the service, if applicable
|
|
1229
1228
|
"""
|
|
1230
1229
|
return pulumi.get(self, "service_username")
|
|
1231
1230
|
|
|
1232
|
-
@property
|
|
1231
|
+
@_builtins.property
|
|
1233
1232
|
@pulumi.getter
|
|
1234
|
-
def state(self) -> pulumi.Output[
|
|
1233
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
1235
1234
|
return pulumi.get(self, "state")
|
|
1236
1235
|
|
|
1237
|
-
@property
|
|
1236
|
+
@_builtins.property
|
|
1238
1237
|
@pulumi.getter(name="staticIps")
|
|
1239
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[
|
|
1238
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1240
1239
|
"""
|
|
1241
1240
|
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
|
|
1242
1241
|
"""
|
|
1243
1242
|
return pulumi.get(self, "static_ips")
|
|
1244
1243
|
|
|
1245
|
-
@property
|
|
1244
|
+
@_builtins.property
|
|
1246
1245
|
@pulumi.getter
|
|
1247
1246
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.OpenSearchTag']]]:
|
|
1248
1247
|
"""
|
|
@@ -1250,7 +1249,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1250
1249
|
"""
|
|
1251
1250
|
return pulumi.get(self, "tags")
|
|
1252
1251
|
|
|
1253
|
-
@property
|
|
1252
|
+
@_builtins.property
|
|
1254
1253
|
@pulumi.getter(name="techEmails")
|
|
1255
1254
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.OpenSearchTechEmail']]]:
|
|
1256
1255
|
"""
|
|
@@ -1258,9 +1257,9 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
1258
1257
|
"""
|
|
1259
1258
|
return pulumi.get(self, "tech_emails")
|
|
1260
1259
|
|
|
1261
|
-
@property
|
|
1260
|
+
@_builtins.property
|
|
1262
1261
|
@pulumi.getter(name="terminationProtection")
|
|
1263
|
-
def termination_protection(self) -> pulumi.Output[Optional[
|
|
1262
|
+
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1264
1263
|
"""
|
|
1265
1264
|
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.
|
|
1266
1265
|
"""
|