pulumi-aiven 6.41.0a1753242343__py3-none-any.whl → 6.42.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +1 -1
- pulumi_aiven/_inputs.py +10923 -10764
- 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 +311 -303
- pulumi_aiven/m3_db.py +311 -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 +14499 -14292
- 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.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.42.0.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.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/thanos.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,38 +21,38 @@ __all__ = ['ThanosArgs', 'Thanos']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class ThanosArgs:
|
|
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[
|
|
33
|
-
project_vpc_id: 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,
|
|
32
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
33
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]]] = None,
|
|
35
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
34
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
36
35
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]]] = None,
|
|
37
36
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]]] = None,
|
|
38
|
-
termination_protection: Optional[pulumi.Input[
|
|
37
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
39
38
|
thanos: Optional[pulumi.Input['ThanosThanosArgs']] = None,
|
|
40
39
|
thanos_user_config: Optional[pulumi.Input['ThanosThanosUserConfigArgs']] = None):
|
|
41
40
|
"""
|
|
42
41
|
The set of arguments for constructing a Thanos 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[
|
|
51
|
-
: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.
|
|
50
|
+
: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.
|
|
52
51
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
52
|
+
: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
|
|
54
53
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
55
54
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]] 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.
|
|
56
|
-
:param pulumi.Input[
|
|
55
|
+
: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.
|
|
57
56
|
:param pulumi.Input['ThanosThanosArgs'] thanos: Thanos server connection details.
|
|
58
57
|
:param pulumi.Input['ThanosThanosUserConfigArgs'] thanos_user_config: Thanos user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
59
58
|
"""
|
|
@@ -90,116 +89,116 @@ class ThanosArgs:
|
|
|
90
89
|
if thanos_user_config is not None:
|
|
91
90
|
pulumi.set(__self__, "thanos_user_config", thanos_user_config)
|
|
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="projectVpcId")
|
|
192
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
191
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
193
192
|
"""
|
|
194
193
|
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.
|
|
195
194
|
"""
|
|
196
195
|
return pulumi.get(self, "project_vpc_id")
|
|
197
196
|
|
|
198
197
|
@project_vpc_id.setter
|
|
199
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
198
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
200
199
|
pulumi.set(self, "project_vpc_id", value)
|
|
201
200
|
|
|
202
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
203
202
|
@pulumi.getter(name="serviceIntegrations")
|
|
204
203
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]]]:
|
|
205
204
|
"""
|
|
@@ -211,19 +210,19 @@ class ThanosArgs:
|
|
|
211
210
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]]]):
|
|
212
211
|
pulumi.set(self, "service_integrations", value)
|
|
213
212
|
|
|
214
|
-
@property
|
|
213
|
+
@_builtins.property
|
|
215
214
|
@pulumi.getter(name="staticIps")
|
|
216
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
215
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
217
216
|
"""
|
|
218
217
|
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
|
|
219
218
|
"""
|
|
220
219
|
return pulumi.get(self, "static_ips")
|
|
221
220
|
|
|
222
221
|
@static_ips.setter
|
|
223
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
222
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
224
223
|
pulumi.set(self, "static_ips", value)
|
|
225
224
|
|
|
226
|
-
@property
|
|
225
|
+
@_builtins.property
|
|
227
226
|
@pulumi.getter
|
|
228
227
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]]]:
|
|
229
228
|
"""
|
|
@@ -235,7 +234,7 @@ class ThanosArgs:
|
|
|
235
234
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]]]):
|
|
236
235
|
pulumi.set(self, "tags", value)
|
|
237
236
|
|
|
238
|
-
@property
|
|
237
|
+
@_builtins.property
|
|
239
238
|
@pulumi.getter(name="techEmails")
|
|
240
239
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]]]:
|
|
241
240
|
"""
|
|
@@ -247,19 +246,19 @@ class ThanosArgs:
|
|
|
247
246
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]]]):
|
|
248
247
|
pulumi.set(self, "tech_emails", value)
|
|
249
248
|
|
|
250
|
-
@property
|
|
249
|
+
@_builtins.property
|
|
251
250
|
@pulumi.getter(name="terminationProtection")
|
|
252
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
251
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
253
252
|
"""
|
|
254
253
|
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.
|
|
255
254
|
"""
|
|
256
255
|
return pulumi.get(self, "termination_protection")
|
|
257
256
|
|
|
258
257
|
@termination_protection.setter
|
|
259
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
258
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
260
259
|
pulumi.set(self, "termination_protection", value)
|
|
261
260
|
|
|
262
|
-
@property
|
|
261
|
+
@_builtins.property
|
|
263
262
|
@pulumi.getter
|
|
264
263
|
def thanos(self) -> Optional[pulumi.Input['ThanosThanosArgs']]:
|
|
265
264
|
"""
|
|
@@ -271,7 +270,7 @@ class ThanosArgs:
|
|
|
271
270
|
def thanos(self, value: Optional[pulumi.Input['ThanosThanosArgs']]):
|
|
272
271
|
pulumi.set(self, "thanos", value)
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
@pulumi.getter(name="thanosUserConfig")
|
|
276
275
|
def thanos_user_config(self) -> Optional[pulumi.Input['ThanosThanosUserConfigArgs']]:
|
|
277
276
|
"""
|
|
@@ -287,61 +286,61 @@ class ThanosArgs:
|
|
|
287
286
|
@pulumi.input_type
|
|
288
287
|
class _ThanosState:
|
|
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['ThanosComponentArgs']]]] = 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[
|
|
300
|
-
plan: Optional[pulumi.Input[
|
|
301
|
-
project: Optional[pulumi.Input[
|
|
302
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
303
|
-
service_host: 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,
|
|
299
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
304
303
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]]] = None,
|
|
305
|
-
service_name: Optional[pulumi.Input[
|
|
306
|
-
service_password: Optional[pulumi.Input[
|
|
307
|
-
service_port: Optional[pulumi.Input[
|
|
308
|
-
service_type: Optional[pulumi.Input[
|
|
309
|
-
service_uri: Optional[pulumi.Input[
|
|
310
|
-
service_username: Optional[pulumi.Input[
|
|
311
|
-
state: Optional[pulumi.Input[
|
|
312
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
304
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
305
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
307
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
309
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
311
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
313
312
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]]] = None,
|
|
314
313
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]]] = None,
|
|
315
|
-
termination_protection: Optional[pulumi.Input[
|
|
314
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
316
315
|
thanos: Optional[pulumi.Input['ThanosThanosArgs']] = None,
|
|
317
316
|
thanos_user_config: Optional[pulumi.Input['ThanosThanosUserConfigArgs']] = None):
|
|
318
317
|
"""
|
|
319
318
|
Input properties used for looking up and filtering Thanos 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['ThanosComponentArgs']]] 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[
|
|
330
|
-
:param pulumi.Input[
|
|
331
|
-
:param pulumi.Input[
|
|
332
|
-
:param pulumi.Input[
|
|
333
|
-
: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.
|
|
329
|
+
: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).
|
|
330
|
+
: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.
|
|
331
|
+
: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.
|
|
332
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
334
333
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
335
|
-
:param pulumi.Input[
|
|
336
|
-
:param pulumi.Input[
|
|
337
|
-
:param pulumi.Input[
|
|
338
|
-
:param pulumi.Input[
|
|
339
|
-
:param pulumi.Input[
|
|
340
|
-
:param pulumi.Input[
|
|
341
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
334
|
+
: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.
|
|
335
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
336
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
337
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
338
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
339
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
340
|
+
: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
|
|
342
341
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
343
342
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]] 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.
|
|
344
|
-
:param pulumi.Input[
|
|
343
|
+
: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.
|
|
345
344
|
:param pulumi.Input['ThanosThanosArgs'] thanos: Thanos server connection details.
|
|
346
345
|
:param pulumi.Input['ThanosThanosUserConfigArgs'] thanos_user_config: Thanos user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
347
346
|
"""
|
|
@@ -408,31 +407,31 @@ class _ThanosState:
|
|
|
408
407
|
if thanos_user_config is not None:
|
|
409
408
|
pulumi.set(__self__, "thanos_user_config", thanos_user_config)
|
|
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['ThanosComponentArgs']]]]:
|
|
438
437
|
"""
|
|
@@ -444,141 +443,141 @@ class _ThanosState:
|
|
|
444
443
|
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosComponentArgs']]]]):
|
|
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
|
|
535
|
-
def plan(self) -> Optional[pulumi.Input[
|
|
534
|
+
def plan(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
536
535
|
"""
|
|
537
536
|
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).
|
|
538
537
|
"""
|
|
539
538
|
return pulumi.get(self, "plan")
|
|
540
539
|
|
|
541
540
|
@plan.setter
|
|
542
|
-
def plan(self, value: Optional[pulumi.Input[
|
|
541
|
+
def plan(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
543
542
|
pulumi.set(self, "plan", value)
|
|
544
543
|
|
|
545
|
-
@property
|
|
544
|
+
@_builtins.property
|
|
546
545
|
@pulumi.getter
|
|
547
|
-
def project(self) -> Optional[pulumi.Input[
|
|
546
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
548
547
|
"""
|
|
549
548
|
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.
|
|
550
549
|
"""
|
|
551
550
|
return pulumi.get(self, "project")
|
|
552
551
|
|
|
553
552
|
@project.setter
|
|
554
|
-
def project(self, value: Optional[pulumi.Input[
|
|
553
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
555
554
|
pulumi.set(self, "project", value)
|
|
556
555
|
|
|
557
|
-
@property
|
|
556
|
+
@_builtins.property
|
|
558
557
|
@pulumi.getter(name="projectVpcId")
|
|
559
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
558
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
560
559
|
"""
|
|
561
560
|
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.
|
|
562
561
|
"""
|
|
563
562
|
return pulumi.get(self, "project_vpc_id")
|
|
564
563
|
|
|
565
564
|
@project_vpc_id.setter
|
|
566
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
565
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
567
566
|
pulumi.set(self, "project_vpc_id", value)
|
|
568
567
|
|
|
569
|
-
@property
|
|
568
|
+
@_builtins.property
|
|
570
569
|
@pulumi.getter(name="serviceHost")
|
|
571
|
-
def service_host(self) -> Optional[pulumi.Input[
|
|
570
|
+
def service_host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
572
571
|
"""
|
|
573
572
|
The hostname of the service.
|
|
574
573
|
"""
|
|
575
574
|
return pulumi.get(self, "service_host")
|
|
576
575
|
|
|
577
576
|
@service_host.setter
|
|
578
|
-
def service_host(self, value: Optional[pulumi.Input[
|
|
577
|
+
def service_host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
579
578
|
pulumi.set(self, "service_host", value)
|
|
580
579
|
|
|
581
|
-
@property
|
|
580
|
+
@_builtins.property
|
|
582
581
|
@pulumi.getter(name="serviceIntegrations")
|
|
583
582
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]]]:
|
|
584
583
|
"""
|
|
@@ -590,100 +589,100 @@ class _ThanosState:
|
|
|
590
589
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]]]):
|
|
591
590
|
pulumi.set(self, "service_integrations", value)
|
|
592
591
|
|
|
593
|
-
@property
|
|
592
|
+
@_builtins.property
|
|
594
593
|
@pulumi.getter(name="serviceName")
|
|
595
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
594
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
596
595
|
"""
|
|
597
596
|
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.
|
|
598
597
|
"""
|
|
599
598
|
return pulumi.get(self, "service_name")
|
|
600
599
|
|
|
601
600
|
@service_name.setter
|
|
602
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
601
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
603
602
|
pulumi.set(self, "service_name", value)
|
|
604
603
|
|
|
605
|
-
@property
|
|
604
|
+
@_builtins.property
|
|
606
605
|
@pulumi.getter(name="servicePassword")
|
|
607
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
606
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
608
607
|
"""
|
|
609
608
|
Password used for connecting to the service, if applicable
|
|
610
609
|
"""
|
|
611
610
|
return pulumi.get(self, "service_password")
|
|
612
611
|
|
|
613
612
|
@service_password.setter
|
|
614
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
613
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
615
614
|
pulumi.set(self, "service_password", value)
|
|
616
615
|
|
|
617
|
-
@property
|
|
616
|
+
@_builtins.property
|
|
618
617
|
@pulumi.getter(name="servicePort")
|
|
619
|
-
def service_port(self) -> Optional[pulumi.Input[
|
|
618
|
+
def service_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
620
619
|
"""
|
|
621
620
|
The port of the service
|
|
622
621
|
"""
|
|
623
622
|
return pulumi.get(self, "service_port")
|
|
624
623
|
|
|
625
624
|
@service_port.setter
|
|
626
|
-
def service_port(self, value: Optional[pulumi.Input[
|
|
625
|
+
def service_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
627
626
|
pulumi.set(self, "service_port", value)
|
|
628
627
|
|
|
629
|
-
@property
|
|
628
|
+
@_builtins.property
|
|
630
629
|
@pulumi.getter(name="serviceType")
|
|
631
|
-
def service_type(self) -> Optional[pulumi.Input[
|
|
630
|
+
def service_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
632
631
|
"""
|
|
633
632
|
Aiven internal service type code
|
|
634
633
|
"""
|
|
635
634
|
return pulumi.get(self, "service_type")
|
|
636
635
|
|
|
637
636
|
@service_type.setter
|
|
638
|
-
def service_type(self, value: Optional[pulumi.Input[
|
|
637
|
+
def service_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
639
638
|
pulumi.set(self, "service_type", value)
|
|
640
639
|
|
|
641
|
-
@property
|
|
640
|
+
@_builtins.property
|
|
642
641
|
@pulumi.getter(name="serviceUri")
|
|
643
|
-
def service_uri(self) -> Optional[pulumi.Input[
|
|
642
|
+
def service_uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
644
643
|
"""
|
|
645
644
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
646
645
|
"""
|
|
647
646
|
return pulumi.get(self, "service_uri")
|
|
648
647
|
|
|
649
648
|
@service_uri.setter
|
|
650
|
-
def service_uri(self, value: Optional[pulumi.Input[
|
|
649
|
+
def service_uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
651
650
|
pulumi.set(self, "service_uri", value)
|
|
652
651
|
|
|
653
|
-
@property
|
|
652
|
+
@_builtins.property
|
|
654
653
|
@pulumi.getter(name="serviceUsername")
|
|
655
|
-
def service_username(self) -> Optional[pulumi.Input[
|
|
654
|
+
def service_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
656
655
|
"""
|
|
657
656
|
Username used for connecting to the service, if applicable
|
|
658
657
|
"""
|
|
659
658
|
return pulumi.get(self, "service_username")
|
|
660
659
|
|
|
661
660
|
@service_username.setter
|
|
662
|
-
def service_username(self, value: Optional[pulumi.Input[
|
|
661
|
+
def service_username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
663
662
|
pulumi.set(self, "service_username", value)
|
|
664
663
|
|
|
665
|
-
@property
|
|
664
|
+
@_builtins.property
|
|
666
665
|
@pulumi.getter
|
|
667
|
-
def state(self) -> Optional[pulumi.Input[
|
|
666
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
668
667
|
return pulumi.get(self, "state")
|
|
669
668
|
|
|
670
669
|
@state.setter
|
|
671
|
-
def state(self, value: Optional[pulumi.Input[
|
|
670
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
672
671
|
pulumi.set(self, "state", value)
|
|
673
672
|
|
|
674
|
-
@property
|
|
673
|
+
@_builtins.property
|
|
675
674
|
@pulumi.getter(name="staticIps")
|
|
676
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
675
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
677
676
|
"""
|
|
678
677
|
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
|
|
679
678
|
"""
|
|
680
679
|
return pulumi.get(self, "static_ips")
|
|
681
680
|
|
|
682
681
|
@static_ips.setter
|
|
683
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
682
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
684
683
|
pulumi.set(self, "static_ips", value)
|
|
685
684
|
|
|
686
|
-
@property
|
|
685
|
+
@_builtins.property
|
|
687
686
|
@pulumi.getter
|
|
688
687
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]]]:
|
|
689
688
|
"""
|
|
@@ -695,7 +694,7 @@ class _ThanosState:
|
|
|
695
694
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]]]):
|
|
696
695
|
pulumi.set(self, "tags", value)
|
|
697
696
|
|
|
698
|
-
@property
|
|
697
|
+
@_builtins.property
|
|
699
698
|
@pulumi.getter(name="techEmails")
|
|
700
699
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]]]:
|
|
701
700
|
"""
|
|
@@ -707,19 +706,19 @@ class _ThanosState:
|
|
|
707
706
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]]]):
|
|
708
707
|
pulumi.set(self, "tech_emails", value)
|
|
709
708
|
|
|
710
|
-
@property
|
|
709
|
+
@_builtins.property
|
|
711
710
|
@pulumi.getter(name="terminationProtection")
|
|
712
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
711
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
713
712
|
"""
|
|
714
713
|
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.
|
|
715
714
|
"""
|
|
716
715
|
return pulumi.get(self, "termination_protection")
|
|
717
716
|
|
|
718
717
|
@termination_protection.setter
|
|
719
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
718
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
720
719
|
pulumi.set(self, "termination_protection", value)
|
|
721
720
|
|
|
722
|
-
@property
|
|
721
|
+
@_builtins.property
|
|
723
722
|
@pulumi.getter
|
|
724
723
|
def thanos(self) -> Optional[pulumi.Input['ThanosThanosArgs']]:
|
|
725
724
|
"""
|
|
@@ -731,7 +730,7 @@ class _ThanosState:
|
|
|
731
730
|
def thanos(self, value: Optional[pulumi.Input['ThanosThanosArgs']]):
|
|
732
731
|
pulumi.set(self, "thanos", value)
|
|
733
732
|
|
|
734
|
-
@property
|
|
733
|
+
@_builtins.property
|
|
735
734
|
@pulumi.getter(name="thanosUserConfig")
|
|
736
735
|
def thanos_user_config(self) -> Optional[pulumi.Input['ThanosThanosUserConfigArgs']]:
|
|
737
736
|
"""
|
|
@@ -750,20 +749,20 @@ class Thanos(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[
|
|
758
|
-
plan: Optional[pulumi.Input[
|
|
759
|
-
project: Optional[pulumi.Input[
|
|
760
|
-
project_vpc_id: 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,
|
|
757
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
758
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
759
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
761
760
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosServiceIntegrationArgs', 'ThanosServiceIntegrationArgsDict']]]]] = None,
|
|
762
|
-
service_name: Optional[pulumi.Input[
|
|
763
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
761
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
762
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
764
763
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]]] = None,
|
|
765
764
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTechEmailArgs', 'ThanosTechEmailArgsDict']]]]] = None,
|
|
766
|
-
termination_protection: Optional[pulumi.Input[
|
|
765
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
767
766
|
thanos: Optional[pulumi.Input[Union['ThanosThanosArgs', 'ThanosThanosArgsDict']]] = None,
|
|
768
767
|
thanos_user_config: Optional[pulumi.Input[Union['ThanosThanosUserConfigArgs', 'ThanosThanosUserConfigArgsDict']]] = None,
|
|
769
768
|
__props__=None):
|
|
@@ -797,20 +796,20 @@ class Thanos(pulumi.CustomResource):
|
|
|
797
796
|
|
|
798
797
|
:param str resource_name: The name of the resource.
|
|
799
798
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
800
|
-
:param pulumi.Input[
|
|
801
|
-
:param pulumi.Input[
|
|
802
|
-
:param pulumi.Input[
|
|
803
|
-
:param pulumi.Input[
|
|
804
|
-
:param pulumi.Input[
|
|
805
|
-
:param pulumi.Input[
|
|
806
|
-
:param pulumi.Input[
|
|
807
|
-
:param pulumi.Input[
|
|
799
|
+
: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.
|
|
800
|
+
: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.
|
|
801
|
+
: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.
|
|
802
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
803
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
804
|
+
: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).
|
|
805
|
+
: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.
|
|
806
|
+
: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.
|
|
808
807
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosServiceIntegrationArgs', 'ThanosServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
809
|
-
:param pulumi.Input[
|
|
810
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
808
|
+
: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.
|
|
809
|
+
: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
|
|
811
810
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
812
811
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosTechEmailArgs', 'ThanosTechEmailArgsDict']]]] 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.
|
|
813
|
-
:param pulumi.Input[
|
|
812
|
+
: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.
|
|
814
813
|
:param pulumi.Input[Union['ThanosThanosArgs', 'ThanosThanosArgsDict']] thanos: Thanos server connection details.
|
|
815
814
|
:param pulumi.Input[Union['ThanosThanosUserConfigArgs', 'ThanosThanosUserConfigArgsDict']] thanos_user_config: Thanos user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
816
815
|
"""
|
|
@@ -863,20 +862,20 @@ class Thanos(pulumi.CustomResource):
|
|
|
863
862
|
def _internal_init(__self__,
|
|
864
863
|
resource_name: str,
|
|
865
864
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
866
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
867
|
-
cloud_name: Optional[pulumi.Input[
|
|
868
|
-
disk_space: Optional[pulumi.Input[
|
|
869
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
870
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
871
|
-
plan: Optional[pulumi.Input[
|
|
872
|
-
project: Optional[pulumi.Input[
|
|
873
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
865
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
866
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
867
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
868
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
869
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
870
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
871
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
872
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
874
873
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosServiceIntegrationArgs', 'ThanosServiceIntegrationArgsDict']]]]] = None,
|
|
875
|
-
service_name: Optional[pulumi.Input[
|
|
876
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
874
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
875
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
877
876
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]]] = None,
|
|
878
877
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTechEmailArgs', 'ThanosTechEmailArgsDict']]]]] = None,
|
|
879
|
-
termination_protection: Optional[pulumi.Input[
|
|
878
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
880
879
|
thanos: Optional[pulumi.Input[Union['ThanosThanosArgs', 'ThanosThanosArgsDict']]] = None,
|
|
881
880
|
thanos_user_config: Optional[pulumi.Input[Union['ThanosThanosUserConfigArgs', 'ThanosThanosUserConfigArgsDict']]] = None,
|
|
882
881
|
__props__=None):
|
|
@@ -934,32 +933,32 @@ class Thanos(pulumi.CustomResource):
|
|
|
934
933
|
def get(resource_name: str,
|
|
935
934
|
id: pulumi.Input[str],
|
|
936
935
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
937
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
938
|
-
cloud_name: Optional[pulumi.Input[
|
|
936
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
937
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
939
938
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosComponentArgs', 'ThanosComponentArgsDict']]]]] = None,
|
|
940
|
-
disk_space: Optional[pulumi.Input[
|
|
941
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
942
|
-
disk_space_default: Optional[pulumi.Input[
|
|
943
|
-
disk_space_step: Optional[pulumi.Input[
|
|
944
|
-
disk_space_used: Optional[pulumi.Input[
|
|
945
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
946
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
947
|
-
plan: Optional[pulumi.Input[
|
|
948
|
-
project: Optional[pulumi.Input[
|
|
949
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
950
|
-
service_host: Optional[pulumi.Input[
|
|
939
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
940
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
941
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
942
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
943
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
944
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
945
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
946
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
947
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
948
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
949
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
951
950
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosServiceIntegrationArgs', 'ThanosServiceIntegrationArgsDict']]]]] = None,
|
|
952
|
-
service_name: Optional[pulumi.Input[
|
|
953
|
-
service_password: Optional[pulumi.Input[
|
|
954
|
-
service_port: Optional[pulumi.Input[
|
|
955
|
-
service_type: Optional[pulumi.Input[
|
|
956
|
-
service_uri: Optional[pulumi.Input[
|
|
957
|
-
service_username: Optional[pulumi.Input[
|
|
958
|
-
state: Optional[pulumi.Input[
|
|
959
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
951
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
952
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
953
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
954
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
955
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
956
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
957
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
958
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
960
959
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]]] = None,
|
|
961
960
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTechEmailArgs', 'ThanosTechEmailArgsDict']]]]] = None,
|
|
962
|
-
termination_protection: Optional[pulumi.Input[
|
|
961
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
963
962
|
thanos: Optional[pulumi.Input[Union['ThanosThanosArgs', 'ThanosThanosArgsDict']]] = None,
|
|
964
963
|
thanos_user_config: Optional[pulumi.Input[Union['ThanosThanosUserConfigArgs', 'ThanosThanosUserConfigArgsDict']]] = None) -> 'Thanos':
|
|
965
964
|
"""
|
|
@@ -969,31 +968,31 @@ class Thanos(pulumi.CustomResource):
|
|
|
969
968
|
:param str resource_name: The unique name of the resulting resource.
|
|
970
969
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
971
970
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
972
|
-
:param pulumi.Input[
|
|
973
|
-
:param pulumi.Input[
|
|
971
|
+
: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.
|
|
972
|
+
: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.
|
|
974
973
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosComponentArgs', 'ThanosComponentArgsDict']]]] components: Service component information objects
|
|
975
|
-
:param pulumi.Input[
|
|
976
|
-
:param pulumi.Input[
|
|
977
|
-
:param pulumi.Input[
|
|
978
|
-
:param pulumi.Input[
|
|
979
|
-
:param pulumi.Input[
|
|
980
|
-
:param pulumi.Input[
|
|
981
|
-
:param pulumi.Input[
|
|
982
|
-
:param pulumi.Input[
|
|
983
|
-
:param pulumi.Input[
|
|
984
|
-
:param pulumi.Input[
|
|
985
|
-
:param pulumi.Input[
|
|
974
|
+
: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.
|
|
975
|
+
: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.
|
|
976
|
+
: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`
|
|
977
|
+
: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.
|
|
978
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
979
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
980
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
981
|
+
: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).
|
|
982
|
+
: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.
|
|
983
|
+
: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.
|
|
984
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
986
985
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosServiceIntegrationArgs', 'ThanosServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
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[Sequence[pulumi.Input[
|
|
986
|
+
: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.
|
|
987
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
988
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
989
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
990
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
991
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
992
|
+
: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
|
|
994
993
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
995
994
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosTechEmailArgs', 'ThanosTechEmailArgsDict']]]] 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.
|
|
996
|
-
:param pulumi.Input[
|
|
995
|
+
: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.
|
|
997
996
|
:param pulumi.Input[Union['ThanosThanosArgs', 'ThanosThanosArgsDict']] thanos: Thanos server connection details.
|
|
998
997
|
:param pulumi.Input[Union['ThanosThanosUserConfigArgs', 'ThanosThanosUserConfigArgsDict']] thanos_user_config: Thanos user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
999
998
|
"""
|
|
@@ -1031,23 +1030,23 @@ class Thanos(pulumi.CustomResource):
|
|
|
1031
1030
|
__props__.__dict__["thanos_user_config"] = thanos_user_config
|
|
1032
1031
|
return Thanos(resource_name, opts=opts, __props__=__props__)
|
|
1033
1032
|
|
|
1034
|
-
@property
|
|
1033
|
+
@_builtins.property
|
|
1035
1034
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1036
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1035
|
+
def additional_disk_space(self) -> pulumi.Output[_builtins.str]:
|
|
1037
1036
|
"""
|
|
1038
1037
|
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.
|
|
1039
1038
|
"""
|
|
1040
1039
|
return pulumi.get(self, "additional_disk_space")
|
|
1041
1040
|
|
|
1042
|
-
@property
|
|
1041
|
+
@_builtins.property
|
|
1043
1042
|
@pulumi.getter(name="cloudName")
|
|
1044
|
-
def cloud_name(self) -> pulumi.Output[Optional[
|
|
1043
|
+
def cloud_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1045
1044
|
"""
|
|
1046
1045
|
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.
|
|
1047
1046
|
"""
|
|
1048
1047
|
return pulumi.get(self, "cloud_name")
|
|
1049
1048
|
|
|
1050
|
-
@property
|
|
1049
|
+
@_builtins.property
|
|
1051
1050
|
@pulumi.getter
|
|
1052
1051
|
def components(self) -> pulumi.Output[Sequence['outputs.ThanosComponent']]:
|
|
1053
1052
|
"""
|
|
@@ -1055,97 +1054,97 @@ class Thanos(pulumi.CustomResource):
|
|
|
1055
1054
|
"""
|
|
1056
1055
|
return pulumi.get(self, "components")
|
|
1057
1056
|
|
|
1058
|
-
@property
|
|
1057
|
+
@_builtins.property
|
|
1059
1058
|
@pulumi.getter(name="diskSpace")
|
|
1060
1059
|
@_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.""")
|
|
1061
|
-
def disk_space(self) -> pulumi.Output[Optional[
|
|
1060
|
+
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1062
1061
|
"""
|
|
1063
1062
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1064
1063
|
"""
|
|
1065
1064
|
return pulumi.get(self, "disk_space")
|
|
1066
1065
|
|
|
1067
|
-
@property
|
|
1066
|
+
@_builtins.property
|
|
1068
1067
|
@pulumi.getter(name="diskSpaceCap")
|
|
1069
|
-
def disk_space_cap(self) -> pulumi.Output[
|
|
1068
|
+
def disk_space_cap(self) -> pulumi.Output[_builtins.str]:
|
|
1070
1069
|
"""
|
|
1071
1070
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1072
1071
|
"""
|
|
1073
1072
|
return pulumi.get(self, "disk_space_cap")
|
|
1074
1073
|
|
|
1075
|
-
@property
|
|
1074
|
+
@_builtins.property
|
|
1076
1075
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1077
|
-
def disk_space_default(self) -> pulumi.Output[
|
|
1076
|
+
def disk_space_default(self) -> pulumi.Output[_builtins.str]:
|
|
1078
1077
|
"""
|
|
1079
1078
|
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`
|
|
1080
1079
|
"""
|
|
1081
1080
|
return pulumi.get(self, "disk_space_default")
|
|
1082
1081
|
|
|
1083
|
-
@property
|
|
1082
|
+
@_builtins.property
|
|
1084
1083
|
@pulumi.getter(name="diskSpaceStep")
|
|
1085
|
-
def disk_space_step(self) -> pulumi.Output[
|
|
1084
|
+
def disk_space_step(self) -> pulumi.Output[_builtins.str]:
|
|
1086
1085
|
"""
|
|
1087
1086
|
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.
|
|
1088
1087
|
"""
|
|
1089
1088
|
return pulumi.get(self, "disk_space_step")
|
|
1090
1089
|
|
|
1091
|
-
@property
|
|
1090
|
+
@_builtins.property
|
|
1092
1091
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1093
1092
|
@_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.""")
|
|
1094
|
-
def disk_space_used(self) -> pulumi.Output[
|
|
1093
|
+
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1095
1094
|
"""
|
|
1096
1095
|
Disk space that service is currently using
|
|
1097
1096
|
"""
|
|
1098
1097
|
return pulumi.get(self, "disk_space_used")
|
|
1099
1098
|
|
|
1100
|
-
@property
|
|
1099
|
+
@_builtins.property
|
|
1101
1100
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1102
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[
|
|
1101
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1103
1102
|
"""
|
|
1104
1103
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1105
1104
|
"""
|
|
1106
1105
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1107
1106
|
|
|
1108
|
-
@property
|
|
1107
|
+
@_builtins.property
|
|
1109
1108
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1110
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[
|
|
1109
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1111
1110
|
"""
|
|
1112
1111
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1113
1112
|
"""
|
|
1114
1113
|
return pulumi.get(self, "maintenance_window_time")
|
|
1115
1114
|
|
|
1116
|
-
@property
|
|
1115
|
+
@_builtins.property
|
|
1117
1116
|
@pulumi.getter
|
|
1118
|
-
def plan(self) -> pulumi.Output[
|
|
1117
|
+
def plan(self) -> pulumi.Output[_builtins.str]:
|
|
1119
1118
|
"""
|
|
1120
1119
|
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).
|
|
1121
1120
|
"""
|
|
1122
1121
|
return pulumi.get(self, "plan")
|
|
1123
1122
|
|
|
1124
|
-
@property
|
|
1123
|
+
@_builtins.property
|
|
1125
1124
|
@pulumi.getter
|
|
1126
|
-
def project(self) -> pulumi.Output[
|
|
1125
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
|
1127
1126
|
"""
|
|
1128
1127
|
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.
|
|
1129
1128
|
"""
|
|
1130
1129
|
return pulumi.get(self, "project")
|
|
1131
1130
|
|
|
1132
|
-
@property
|
|
1131
|
+
@_builtins.property
|
|
1133
1132
|
@pulumi.getter(name="projectVpcId")
|
|
1134
|
-
def project_vpc_id(self) -> pulumi.Output[Optional[
|
|
1133
|
+
def project_vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1135
1134
|
"""
|
|
1136
1135
|
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.
|
|
1137
1136
|
"""
|
|
1138
1137
|
return pulumi.get(self, "project_vpc_id")
|
|
1139
1138
|
|
|
1140
|
-
@property
|
|
1139
|
+
@_builtins.property
|
|
1141
1140
|
@pulumi.getter(name="serviceHost")
|
|
1142
|
-
def service_host(self) -> pulumi.Output[
|
|
1141
|
+
def service_host(self) -> pulumi.Output[_builtins.str]:
|
|
1143
1142
|
"""
|
|
1144
1143
|
The hostname of the service.
|
|
1145
1144
|
"""
|
|
1146
1145
|
return pulumi.get(self, "service_host")
|
|
1147
1146
|
|
|
1148
|
-
@property
|
|
1147
|
+
@_builtins.property
|
|
1149
1148
|
@pulumi.getter(name="serviceIntegrations")
|
|
1150
1149
|
def service_integrations(self) -> pulumi.Output[Sequence['outputs.ThanosServiceIntegration']]:
|
|
1151
1150
|
"""
|
|
@@ -1153,68 +1152,68 @@ class Thanos(pulumi.CustomResource):
|
|
|
1153
1152
|
"""
|
|
1154
1153
|
return pulumi.get(self, "service_integrations")
|
|
1155
1154
|
|
|
1156
|
-
@property
|
|
1155
|
+
@_builtins.property
|
|
1157
1156
|
@pulumi.getter(name="serviceName")
|
|
1158
|
-
def service_name(self) -> pulumi.Output[
|
|
1157
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
1159
1158
|
"""
|
|
1160
1159
|
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.
|
|
1161
1160
|
"""
|
|
1162
1161
|
return pulumi.get(self, "service_name")
|
|
1163
1162
|
|
|
1164
|
-
@property
|
|
1163
|
+
@_builtins.property
|
|
1165
1164
|
@pulumi.getter(name="servicePassword")
|
|
1166
|
-
def service_password(self) -> pulumi.Output[
|
|
1165
|
+
def service_password(self) -> pulumi.Output[_builtins.str]:
|
|
1167
1166
|
"""
|
|
1168
1167
|
Password used for connecting to the service, if applicable
|
|
1169
1168
|
"""
|
|
1170
1169
|
return pulumi.get(self, "service_password")
|
|
1171
1170
|
|
|
1172
|
-
@property
|
|
1171
|
+
@_builtins.property
|
|
1173
1172
|
@pulumi.getter(name="servicePort")
|
|
1174
|
-
def service_port(self) -> pulumi.Output[
|
|
1173
|
+
def service_port(self) -> pulumi.Output[_builtins.int]:
|
|
1175
1174
|
"""
|
|
1176
1175
|
The port of the service
|
|
1177
1176
|
"""
|
|
1178
1177
|
return pulumi.get(self, "service_port")
|
|
1179
1178
|
|
|
1180
|
-
@property
|
|
1179
|
+
@_builtins.property
|
|
1181
1180
|
@pulumi.getter(name="serviceType")
|
|
1182
|
-
def service_type(self) -> pulumi.Output[
|
|
1181
|
+
def service_type(self) -> pulumi.Output[_builtins.str]:
|
|
1183
1182
|
"""
|
|
1184
1183
|
Aiven internal service type code
|
|
1185
1184
|
"""
|
|
1186
1185
|
return pulumi.get(self, "service_type")
|
|
1187
1186
|
|
|
1188
|
-
@property
|
|
1187
|
+
@_builtins.property
|
|
1189
1188
|
@pulumi.getter(name="serviceUri")
|
|
1190
|
-
def service_uri(self) -> pulumi.Output[
|
|
1189
|
+
def service_uri(self) -> pulumi.Output[_builtins.str]:
|
|
1191
1190
|
"""
|
|
1192
1191
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1193
1192
|
"""
|
|
1194
1193
|
return pulumi.get(self, "service_uri")
|
|
1195
1194
|
|
|
1196
|
-
@property
|
|
1195
|
+
@_builtins.property
|
|
1197
1196
|
@pulumi.getter(name="serviceUsername")
|
|
1198
|
-
def service_username(self) -> pulumi.Output[
|
|
1197
|
+
def service_username(self) -> pulumi.Output[_builtins.str]:
|
|
1199
1198
|
"""
|
|
1200
1199
|
Username used for connecting to the service, if applicable
|
|
1201
1200
|
"""
|
|
1202
1201
|
return pulumi.get(self, "service_username")
|
|
1203
1202
|
|
|
1204
|
-
@property
|
|
1203
|
+
@_builtins.property
|
|
1205
1204
|
@pulumi.getter
|
|
1206
|
-
def state(self) -> pulumi.Output[
|
|
1205
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
1207
1206
|
return pulumi.get(self, "state")
|
|
1208
1207
|
|
|
1209
|
-
@property
|
|
1208
|
+
@_builtins.property
|
|
1210
1209
|
@pulumi.getter(name="staticIps")
|
|
1211
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[
|
|
1210
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1212
1211
|
"""
|
|
1213
1212
|
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
|
|
1214
1213
|
"""
|
|
1215
1214
|
return pulumi.get(self, "static_ips")
|
|
1216
1215
|
|
|
1217
|
-
@property
|
|
1216
|
+
@_builtins.property
|
|
1218
1217
|
@pulumi.getter
|
|
1219
1218
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.ThanosTag']]]:
|
|
1220
1219
|
"""
|
|
@@ -1222,7 +1221,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1222
1221
|
"""
|
|
1223
1222
|
return pulumi.get(self, "tags")
|
|
1224
1223
|
|
|
1225
|
-
@property
|
|
1224
|
+
@_builtins.property
|
|
1226
1225
|
@pulumi.getter(name="techEmails")
|
|
1227
1226
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.ThanosTechEmail']]]:
|
|
1228
1227
|
"""
|
|
@@ -1230,15 +1229,15 @@ class Thanos(pulumi.CustomResource):
|
|
|
1230
1229
|
"""
|
|
1231
1230
|
return pulumi.get(self, "tech_emails")
|
|
1232
1231
|
|
|
1233
|
-
@property
|
|
1232
|
+
@_builtins.property
|
|
1234
1233
|
@pulumi.getter(name="terminationProtection")
|
|
1235
|
-
def termination_protection(self) -> pulumi.Output[Optional[
|
|
1234
|
+
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1236
1235
|
"""
|
|
1237
1236
|
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.
|
|
1238
1237
|
"""
|
|
1239
1238
|
return pulumi.get(self, "termination_protection")
|
|
1240
1239
|
|
|
1241
|
-
@property
|
|
1240
|
+
@_builtins.property
|
|
1242
1241
|
@pulumi.getter
|
|
1243
1242
|
def thanos(self) -> pulumi.Output['outputs.ThanosThanos']:
|
|
1244
1243
|
"""
|
|
@@ -1246,7 +1245,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1246
1245
|
"""
|
|
1247
1246
|
return pulumi.get(self, "thanos")
|
|
1248
1247
|
|
|
1249
|
-
@property
|
|
1248
|
+
@_builtins.property
|
|
1250
1249
|
@pulumi.getter(name="thanosUserConfig")
|
|
1251
1250
|
def thanos_user_config(self) -> pulumi.Output[Optional['outputs.ThanosThanosUserConfig']]:
|
|
1252
1251
|
"""
|