pulumi-aiven 6.37.0a1743570488__py3-none-any.whl → 6.37.0a1744182902__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 -0
- pulumi_aiven/_inputs.py +8278 -8277
- pulumi_aiven/account.py +71 -70
- pulumi_aiven/account_authentication.py +204 -203
- pulumi_aiven/account_team.py +50 -49
- pulumi_aiven/account_team_member.py +64 -63
- pulumi_aiven/account_team_project.py +57 -56
- pulumi_aiven/alloydbomni.py +246 -245
- pulumi_aiven/alloydbomni_database.py +71 -70
- pulumi_aiven/alloydbomni_user.py +92 -91
- pulumi_aiven/aws_org_vpc_peering_connection.py +92 -91
- pulumi_aiven/aws_privatelink.py +57 -56
- pulumi_aiven/aws_vpc_peering_connection.py +78 -77
- pulumi_aiven/azure_org_vpc_peering_connection.py +113 -112
- pulumi_aiven/azure_privatelink.py +71 -70
- pulumi_aiven/azure_privatelink_connection_approval.py +57 -56
- pulumi_aiven/azure_vpc_peering_connection.py +106 -105
- pulumi_aiven/billing_group.py +211 -210
- pulumi_aiven/cassandra.py +232 -231
- pulumi_aiven/cassandra_user.py +78 -77
- pulumi_aiven/clickhouse.py +232 -231
- pulumi_aiven/clickhouse_database.py +53 -52
- pulumi_aiven/clickhouse_grant.py +57 -56
- pulumi_aiven/clickhouse_role.py +43 -42
- pulumi_aiven/clickhouse_user.py +64 -63
- pulumi_aiven/config/__init__.py +1 -0
- pulumi_aiven/config/__init__.pyi +1 -0
- pulumi_aiven/config/vars.py +1 -0
- pulumi_aiven/connection_pool.py +106 -105
- pulumi_aiven/dragonfly.py +232 -231
- pulumi_aiven/flink.py +232 -231
- pulumi_aiven/flink_application.py +78 -77
- pulumi_aiven/flink_application_deployment.py +113 -112
- pulumi_aiven/flink_application_version.py +85 -84
- pulumi_aiven/flink_jar_application.py +78 -77
- pulumi_aiven/flink_jar_application_deployment.py +176 -175
- pulumi_aiven/flink_jar_application_version.py +92 -91
- pulumi_aiven/gcp_org_vpc_peering_connection.py +71 -70
- pulumi_aiven/gcp_privatelink.py +50 -49
- pulumi_aiven/gcp_privatelink_connection_approval.py +64 -63
- pulumi_aiven/gcp_vpc_peering_connection.py +64 -63
- pulumi_aiven/get_account.py +14 -13
- pulumi_aiven/get_account_authentication.py +27 -26
- pulumi_aiven/get_account_team.py +15 -14
- pulumi_aiven/get_account_team_member.py +20 -19
- pulumi_aiven/get_account_team_project.py +18 -17
- pulumi_aiven/get_alloydbomni.py +33 -32
- pulumi_aiven/get_alloydbomni_database.py +19 -18
- pulumi_aiven/get_alloydbomni_user.py +22 -21
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +30 -29
- pulumi_aiven/get_aws_privatelink.py +15 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +25 -24
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +31 -30
- pulumi_aiven/get_azure_privatelink.py +17 -16
- pulumi_aiven/get_azure_vpc_peering_connection.py +35 -34
- pulumi_aiven/get_billing_group.py +22 -21
- pulumi_aiven/get_cassanda.py +32 -31
- pulumi_aiven/get_cassandra.py +32 -31
- pulumi_aiven/get_cassandra_user.py +21 -20
- pulumi_aiven/get_clickhouse.py +32 -31
- pulumi_aiven/get_clickhouse_database.py +18 -17
- pulumi_aiven/get_clickhouse_user.py +20 -19
- pulumi_aiven/get_connection_pool.py +22 -21
- pulumi_aiven/get_dragonfly.py +32 -31
- pulumi_aiven/get_external_identity.py +22 -21
- pulumi_aiven/get_flink.py +32 -31
- pulumi_aiven/get_flink_application.py +22 -21
- pulumi_aiven/get_flink_application_version.py +26 -25
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +24 -23
- pulumi_aiven/get_gcp_privatelink.py +15 -14
- pulumi_aiven/get_gcp_vpc_peering_connection.py +20 -19
- pulumi_aiven/get_grafana.py +32 -31
- pulumi_aiven/get_influx_db.py +28 -27
- pulumi_aiven/get_influxdb_database.py +12 -11
- pulumi_aiven/get_influxdb_user.py +15 -14
- pulumi_aiven/get_kafka.py +34 -33
- pulumi_aiven/get_kafka_acl.py +28 -27
- pulumi_aiven/get_kafka_connect.py +32 -31
- pulumi_aiven/get_kafka_connector.py +24 -23
- pulumi_aiven/get_kafka_mirror_maker.py +32 -31
- pulumi_aiven/get_kafka_schema.py +21 -20
- pulumi_aiven/get_kafka_schema_configuration.py +17 -16
- pulumi_aiven/get_kafka_schema_registry_acl.py +28 -27
- pulumi_aiven/get_kafka_topic.py +22 -21
- pulumi_aiven/get_kafka_user.py +21 -20
- pulumi_aiven/get_m3_aggregator.py +32 -31
- pulumi_aiven/get_m3_db.py +32 -31
- pulumi_aiven/get_m3db_user.py +19 -18
- pulumi_aiven/get_mirror_maker_replication_flow.py +34 -33
- pulumi_aiven/get_my_sql.py +32 -31
- pulumi_aiven/get_mysql_database.py +18 -17
- pulumi_aiven/get_mysql_user.py +22 -21
- pulumi_aiven/get_open_search.py +32 -31
- pulumi_aiven/get_open_search_acl_config.py +14 -13
- pulumi_aiven/get_open_search_acl_rule.py +27 -26
- pulumi_aiven/get_opensearch_security_plugin_config.py +16 -15
- pulumi_aiven/get_opensearch_user.py +19 -18
- pulumi_aiven/get_organization.py +14 -13
- pulumi_aiven/get_organization_application_user.py +15 -14
- pulumi_aiven/get_organization_project.py +15 -14
- pulumi_aiven/get_organization_user.py +18 -17
- pulumi_aiven/get_organization_user_group.py +16 -15
- pulumi_aiven/get_organization_user_list.py +11 -10
- pulumi_aiven/get_organization_vpc.py +17 -16
- pulumi_aiven/get_organizational_unit.py +11 -10
- pulumi_aiven/get_pg.py +32 -31
- pulumi_aiven/get_pg_database.py +20 -19
- pulumi_aiven/get_pg_user.py +22 -21
- pulumi_aiven/get_project.py +19 -18
- pulumi_aiven/get_project_user.py +14 -13
- pulumi_aiven/get_project_vpc.py +19 -18
- pulumi_aiven/get_redis.py +32 -31
- pulumi_aiven/get_redis_user.py +23 -22
- pulumi_aiven/get_service_component.py +39 -38
- pulumi_aiven/get_service_integration.py +27 -26
- pulumi_aiven/get_service_integration_endpoint.py +14 -13
- pulumi_aiven/get_thanos.py +32 -31
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +22 -21
- pulumi_aiven/get_valkey.py +32 -31
- pulumi_aiven/get_valkey_user.py +23 -22
- pulumi_aiven/grafana.py +232 -231
- pulumi_aiven/influx_db.py +232 -231
- pulumi_aiven/influxdb_database.py +53 -52
- pulumi_aiven/influxdb_user.py +78 -77
- pulumi_aiven/kafka.py +260 -259
- pulumi_aiven/kafka_acl.py +78 -77
- pulumi_aiven/kafka_connect.py +232 -231
- pulumi_aiven/kafka_connector.py +99 -98
- pulumi_aiven/kafka_mirror_maker.py +232 -231
- pulumi_aiven/kafka_native_acl.py +127 -126
- pulumi_aiven/kafka_quota.py +99 -98
- pulumi_aiven/kafka_schema.py +92 -91
- pulumi_aiven/kafka_schema_configuration.py +43 -42
- pulumi_aiven/kafka_schema_registry_acl.py +78 -77
- pulumi_aiven/kafka_topic.py +109 -108
- pulumi_aiven/kafka_user.py +78 -77
- pulumi_aiven/m3_aggregator.py +232 -231
- pulumi_aiven/m3_db.py +232 -231
- pulumi_aiven/m3db_user.py +64 -63
- pulumi_aiven/mirror_maker_replication_flow.py +225 -224
- pulumi_aiven/my_sql.py +232 -231
- pulumi_aiven/mysql_database.py +53 -52
- pulumi_aiven/mysql_user.py +92 -91
- pulumi_aiven/open_search.py +232 -231
- pulumi_aiven/open_search_acl_config.py +57 -56
- pulumi_aiven/open_search_acl_rule.py +75 -74
- pulumi_aiven/opensearch_security_plugin_config.py +64 -63
- pulumi_aiven/opensearch_user.py +64 -63
- pulumi_aiven/organization.py +36 -35
- pulumi_aiven/organization_application_user.py +57 -56
- pulumi_aiven/organization_application_user_token.py +169 -168
- pulumi_aiven/organization_group_project.py +43 -42
- pulumi_aiven/organization_permission.py +43 -42
- pulumi_aiven/organization_project.py +71 -70
- pulumi_aiven/organization_user.py +57 -56
- pulumi_aiven/organization_user_group.py +64 -63
- pulumi_aiven/organization_user_group_member.py +50 -49
- pulumi_aiven/organization_vpc.py +71 -70
- pulumi_aiven/organizational_unit.py +50 -49
- pulumi_aiven/outputs.py +9982 -9981
- pulumi_aiven/pg.py +232 -231
- pulumi_aiven/pg_database.py +81 -80
- pulumi_aiven/pg_user.py +92 -91
- pulumi_aiven/project.py +155 -154
- pulumi_aiven/project_user.py +50 -49
- pulumi_aiven/project_vpc.py +50 -49
- pulumi_aiven/provider.py +9 -8
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +232 -231
- pulumi_aiven/redis_user.py +120 -119
- pulumi_aiven/service_integration.py +120 -119
- pulumi_aiven/service_integration_endpoint.py +50 -49
- pulumi_aiven/static_ip.py +57 -56
- pulumi_aiven/thanos.py +232 -231
- pulumi_aiven/transit_gateway_vpc_attachment.py +92 -91
- pulumi_aiven/valkey.py +232 -231
- pulumi_aiven/valkey_user.py +120 -119
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/METADATA +1 -1
- pulumi_aiven-6.37.0a1744182902.dist-info/RECORD +183 -0
- pulumi_aiven-6.37.0a1743570488.dist-info/RECORD +0 -183
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/top_level.txt +0 -0
pulumi_aiven/thanos.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,38 +22,38 @@ __all__ = ['ThanosArgs', 'Thanos']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class ThanosArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
plan: pulumi.Input[str],
|
|
25
|
-
project: pulumi.Input[str],
|
|
26
|
-
service_name: pulumi.Input[str],
|
|
27
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
30
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
plan: pulumi.Input[builtins.str],
|
|
26
|
+
project: pulumi.Input[builtins.str],
|
|
27
|
+
service_name: pulumi.Input[builtins.str],
|
|
28
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
31
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
34
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]]] = None,
|
|
34
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
35
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
35
36
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]]] = None,
|
|
36
37
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]]] = None,
|
|
37
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
38
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
38
39
|
thanos: Optional[pulumi.Input['ThanosThanosArgs']] = None,
|
|
39
40
|
thanos_user_config: Optional[pulumi.Input['ThanosThanosUserConfigArgs']] = None):
|
|
40
41
|
"""
|
|
41
42
|
The set of arguments for constructing a Thanos resource.
|
|
42
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
43
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
44
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
46
|
-
:param pulumi.Input[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[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[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
50
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
43
|
+
:param pulumi.Input[builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
44
|
+
:param pulumi.Input[builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
45
|
+
:param pulumi.Input[builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
47
|
+
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
48
|
+
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
49
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
50
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
51
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
51
52
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
52
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
53
|
+
: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
|
|
53
54
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
54
55
|
: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.
|
|
55
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
56
|
+
: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.
|
|
56
57
|
:param pulumi.Input['ThanosThanosArgs'] thanos: Thanos server connection details.
|
|
57
58
|
: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
|
|
58
59
|
"""
|
|
@@ -91,111 +92,111 @@ class ThanosArgs:
|
|
|
91
92
|
|
|
92
93
|
@property
|
|
93
94
|
@pulumi.getter
|
|
94
|
-
def plan(self) -> pulumi.Input[str]:
|
|
95
|
+
def plan(self) -> pulumi.Input[builtins.str]:
|
|
95
96
|
"""
|
|
96
97
|
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).
|
|
97
98
|
"""
|
|
98
99
|
return pulumi.get(self, "plan")
|
|
99
100
|
|
|
100
101
|
@plan.setter
|
|
101
|
-
def plan(self, value: pulumi.Input[str]):
|
|
102
|
+
def plan(self, value: pulumi.Input[builtins.str]):
|
|
102
103
|
pulumi.set(self, "plan", value)
|
|
103
104
|
|
|
104
105
|
@property
|
|
105
106
|
@pulumi.getter
|
|
106
|
-
def project(self) -> pulumi.Input[str]:
|
|
107
|
+
def project(self) -> pulumi.Input[builtins.str]:
|
|
107
108
|
"""
|
|
108
109
|
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.
|
|
109
110
|
"""
|
|
110
111
|
return pulumi.get(self, "project")
|
|
111
112
|
|
|
112
113
|
@project.setter
|
|
113
|
-
def project(self, value: pulumi.Input[str]):
|
|
114
|
+
def project(self, value: pulumi.Input[builtins.str]):
|
|
114
115
|
pulumi.set(self, "project", value)
|
|
115
116
|
|
|
116
117
|
@property
|
|
117
118
|
@pulumi.getter(name="serviceName")
|
|
118
|
-
def service_name(self) -> pulumi.Input[str]:
|
|
119
|
+
def service_name(self) -> pulumi.Input[builtins.str]:
|
|
119
120
|
"""
|
|
120
121
|
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.
|
|
121
122
|
"""
|
|
122
123
|
return pulumi.get(self, "service_name")
|
|
123
124
|
|
|
124
125
|
@service_name.setter
|
|
125
|
-
def service_name(self, value: pulumi.Input[str]):
|
|
126
|
+
def service_name(self, value: pulumi.Input[builtins.str]):
|
|
126
127
|
pulumi.set(self, "service_name", value)
|
|
127
128
|
|
|
128
129
|
@property
|
|
129
130
|
@pulumi.getter(name="additionalDiskSpace")
|
|
130
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
131
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
131
132
|
"""
|
|
132
133
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
133
134
|
"""
|
|
134
135
|
return pulumi.get(self, "additional_disk_space")
|
|
135
136
|
|
|
136
137
|
@additional_disk_space.setter
|
|
137
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
138
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
138
139
|
pulumi.set(self, "additional_disk_space", value)
|
|
139
140
|
|
|
140
141
|
@property
|
|
141
142
|
@pulumi.getter(name="cloudName")
|
|
142
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
143
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
143
144
|
"""
|
|
144
145
|
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.
|
|
145
146
|
"""
|
|
146
147
|
return pulumi.get(self, "cloud_name")
|
|
147
148
|
|
|
148
149
|
@cloud_name.setter
|
|
149
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
150
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
150
151
|
pulumi.set(self, "cloud_name", value)
|
|
151
152
|
|
|
152
153
|
@property
|
|
153
154
|
@pulumi.getter(name="diskSpace")
|
|
154
155
|
@_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.""")
|
|
155
|
-
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
156
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
156
157
|
"""
|
|
157
158
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
158
159
|
"""
|
|
159
160
|
return pulumi.get(self, "disk_space")
|
|
160
161
|
|
|
161
162
|
@disk_space.setter
|
|
162
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
163
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
163
164
|
pulumi.set(self, "disk_space", value)
|
|
164
165
|
|
|
165
166
|
@property
|
|
166
167
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
167
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
168
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
168
169
|
"""
|
|
169
170
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
170
171
|
"""
|
|
171
172
|
return pulumi.get(self, "maintenance_window_dow")
|
|
172
173
|
|
|
173
174
|
@maintenance_window_dow.setter
|
|
174
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
175
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
175
176
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
176
177
|
|
|
177
178
|
@property
|
|
178
179
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
179
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
180
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
180
181
|
"""
|
|
181
182
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
182
183
|
"""
|
|
183
184
|
return pulumi.get(self, "maintenance_window_time")
|
|
184
185
|
|
|
185
186
|
@maintenance_window_time.setter
|
|
186
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
187
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
187
188
|
pulumi.set(self, "maintenance_window_time", value)
|
|
188
189
|
|
|
189
190
|
@property
|
|
190
191
|
@pulumi.getter(name="projectVpcId")
|
|
191
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
192
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
192
193
|
"""
|
|
193
194
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
194
195
|
"""
|
|
195
196
|
return pulumi.get(self, "project_vpc_id")
|
|
196
197
|
|
|
197
198
|
@project_vpc_id.setter
|
|
198
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
199
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
199
200
|
pulumi.set(self, "project_vpc_id", value)
|
|
200
201
|
|
|
201
202
|
@property
|
|
@@ -212,14 +213,14 @@ class ThanosArgs:
|
|
|
212
213
|
|
|
213
214
|
@property
|
|
214
215
|
@pulumi.getter(name="staticIps")
|
|
215
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
216
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
216
217
|
"""
|
|
217
218
|
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
|
|
218
219
|
"""
|
|
219
220
|
return pulumi.get(self, "static_ips")
|
|
220
221
|
|
|
221
222
|
@static_ips.setter
|
|
222
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
223
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
223
224
|
pulumi.set(self, "static_ips", value)
|
|
224
225
|
|
|
225
226
|
@property
|
|
@@ -248,14 +249,14 @@ class ThanosArgs:
|
|
|
248
249
|
|
|
249
250
|
@property
|
|
250
251
|
@pulumi.getter(name="terminationProtection")
|
|
251
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
252
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
252
253
|
"""
|
|
253
254
|
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.
|
|
254
255
|
"""
|
|
255
256
|
return pulumi.get(self, "termination_protection")
|
|
256
257
|
|
|
257
258
|
@termination_protection.setter
|
|
258
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
259
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
259
260
|
pulumi.set(self, "termination_protection", value)
|
|
260
261
|
|
|
261
262
|
@property
|
|
@@ -286,62 +287,62 @@ class ThanosArgs:
|
|
|
286
287
|
@pulumi.input_type
|
|
287
288
|
class _ThanosState:
|
|
288
289
|
def __init__(__self__, *,
|
|
289
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
290
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
290
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
291
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
291
292
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosComponentArgs']]]] = None,
|
|
292
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
293
|
-
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
294
|
-
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
295
|
-
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
296
|
-
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
297
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
298
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
299
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
300
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
service_host: Optional[pulumi.Input[str]] = None,
|
|
293
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
294
|
+
disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
|
|
295
|
+
disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
|
|
296
|
+
disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
|
+
disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
|
|
298
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
299
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
300
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
302
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
|
+
service_host: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
304
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]]] = None,
|
|
304
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
305
|
-
service_password: Optional[pulumi.Input[str]] = None,
|
|
306
|
-
service_port: Optional[pulumi.Input[int]] = None,
|
|
307
|
-
service_type: Optional[pulumi.Input[str]] = None,
|
|
308
|
-
service_uri: Optional[pulumi.Input[str]] = None,
|
|
309
|
-
service_username: Optional[pulumi.Input[str]] = None,
|
|
310
|
-
state: Optional[pulumi.Input[str]] = None,
|
|
311
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
305
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
306
|
+
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
|
307
|
+
service_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
308
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
309
|
+
service_uri: Optional[pulumi.Input[builtins.str]] = None,
|
|
310
|
+
service_username: Optional[pulumi.Input[builtins.str]] = None,
|
|
311
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
312
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
312
313
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]]] = None,
|
|
313
314
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['ThanosTechEmailArgs']]]] = None,
|
|
314
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
315
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
315
316
|
thanos: Optional[pulumi.Input['ThanosThanosArgs']] = None,
|
|
316
317
|
thanos_user_config: Optional[pulumi.Input['ThanosThanosUserConfigArgs']] = None):
|
|
317
318
|
"""
|
|
318
319
|
Input properties used for looking up and filtering Thanos resources.
|
|
319
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
320
|
-
:param pulumi.Input[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.
|
|
320
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
321
|
+
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
321
322
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosComponentArgs']]] components: Service component information objects
|
|
322
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
323
|
-
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
324
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
325
|
-
:param pulumi.Input[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[str] disk_space_used: Disk space that service is currently using
|
|
327
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
328
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
329
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
330
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
331
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
332
|
-
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
323
|
+
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
324
|
+
: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.
|
|
325
|
+
: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`
|
|
326
|
+
: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.
|
|
327
|
+
:param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
|
|
328
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
329
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
330
|
+
: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).
|
|
331
|
+
: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.
|
|
332
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
333
|
+
:param pulumi.Input[builtins.str] service_host: The hostname of the service.
|
|
333
334
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
334
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
335
|
-
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
336
|
-
:param pulumi.Input[int] service_port: The port of the service
|
|
337
|
-
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
338
|
-
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
339
|
-
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
340
|
-
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
341
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
335
|
+
: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.
|
|
336
|
+
:param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
337
|
+
:param pulumi.Input[builtins.int] service_port: The port of the service
|
|
338
|
+
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
339
|
+
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
340
|
+
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
341
|
+
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
342
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
342
343
|
:param pulumi.Input[Sequence[pulumi.Input['ThanosTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
343
344
|
: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[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
|
+
: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
346
|
:param pulumi.Input['ThanosThanosArgs'] thanos: Thanos server connection details.
|
|
346
347
|
: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
348
|
"""
|
|
@@ -410,26 +411,26 @@ class _ThanosState:
|
|
|
410
411
|
|
|
411
412
|
@property
|
|
412
413
|
@pulumi.getter(name="additionalDiskSpace")
|
|
413
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
414
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
414
415
|
"""
|
|
415
416
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
416
417
|
"""
|
|
417
418
|
return pulumi.get(self, "additional_disk_space")
|
|
418
419
|
|
|
419
420
|
@additional_disk_space.setter
|
|
420
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
421
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
421
422
|
pulumi.set(self, "additional_disk_space", value)
|
|
422
423
|
|
|
423
424
|
@property
|
|
424
425
|
@pulumi.getter(name="cloudName")
|
|
425
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
426
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
426
427
|
"""
|
|
427
428
|
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
429
|
"""
|
|
429
430
|
return pulumi.get(self, "cloud_name")
|
|
430
431
|
|
|
431
432
|
@cloud_name.setter
|
|
432
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
433
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
433
434
|
pulumi.set(self, "cloud_name", value)
|
|
434
435
|
|
|
435
436
|
@property
|
|
@@ -447,135 +448,135 @@ class _ThanosState:
|
|
|
447
448
|
@property
|
|
448
449
|
@pulumi.getter(name="diskSpace")
|
|
449
450
|
@_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[str]]:
|
|
451
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
451
452
|
"""
|
|
452
453
|
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
454
|
"""
|
|
454
455
|
return pulumi.get(self, "disk_space")
|
|
455
456
|
|
|
456
457
|
@disk_space.setter
|
|
457
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
458
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
458
459
|
pulumi.set(self, "disk_space", value)
|
|
459
460
|
|
|
460
461
|
@property
|
|
461
462
|
@pulumi.getter(name="diskSpaceCap")
|
|
462
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[str]]:
|
|
463
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
463
464
|
"""
|
|
464
465
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
465
466
|
"""
|
|
466
467
|
return pulumi.get(self, "disk_space_cap")
|
|
467
468
|
|
|
468
469
|
@disk_space_cap.setter
|
|
469
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[str]]):
|
|
470
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
470
471
|
pulumi.set(self, "disk_space_cap", value)
|
|
471
472
|
|
|
472
473
|
@property
|
|
473
474
|
@pulumi.getter(name="diskSpaceDefault")
|
|
474
|
-
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
475
|
+
def disk_space_default(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
475
476
|
"""
|
|
476
477
|
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
478
|
"""
|
|
478
479
|
return pulumi.get(self, "disk_space_default")
|
|
479
480
|
|
|
480
481
|
@disk_space_default.setter
|
|
481
|
-
def disk_space_default(self, value: Optional[pulumi.Input[str]]):
|
|
482
|
+
def disk_space_default(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
482
483
|
pulumi.set(self, "disk_space_default", value)
|
|
483
484
|
|
|
484
485
|
@property
|
|
485
486
|
@pulumi.getter(name="diskSpaceStep")
|
|
486
|
-
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
487
|
+
def disk_space_step(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
487
488
|
"""
|
|
488
489
|
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
490
|
"""
|
|
490
491
|
return pulumi.get(self, "disk_space_step")
|
|
491
492
|
|
|
492
493
|
@disk_space_step.setter
|
|
493
|
-
def disk_space_step(self, value: Optional[pulumi.Input[str]]):
|
|
494
|
+
def disk_space_step(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
494
495
|
pulumi.set(self, "disk_space_step", value)
|
|
495
496
|
|
|
496
497
|
@property
|
|
497
498
|
@pulumi.getter(name="diskSpaceUsed")
|
|
498
499
|
@_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[str]]:
|
|
500
|
+
def disk_space_used(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
500
501
|
"""
|
|
501
502
|
Disk space that service is currently using
|
|
502
503
|
"""
|
|
503
504
|
return pulumi.get(self, "disk_space_used")
|
|
504
505
|
|
|
505
506
|
@disk_space_used.setter
|
|
506
|
-
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
507
|
+
def disk_space_used(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
507
508
|
pulumi.set(self, "disk_space_used", value)
|
|
508
509
|
|
|
509
510
|
@property
|
|
510
511
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
511
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
512
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
512
513
|
"""
|
|
513
514
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
514
515
|
"""
|
|
515
516
|
return pulumi.get(self, "maintenance_window_dow")
|
|
516
517
|
|
|
517
518
|
@maintenance_window_dow.setter
|
|
518
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
519
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
519
520
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
520
521
|
|
|
521
522
|
@property
|
|
522
523
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
523
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
524
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
524
525
|
"""
|
|
525
526
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
526
527
|
"""
|
|
527
528
|
return pulumi.get(self, "maintenance_window_time")
|
|
528
529
|
|
|
529
530
|
@maintenance_window_time.setter
|
|
530
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
531
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
531
532
|
pulumi.set(self, "maintenance_window_time", value)
|
|
532
533
|
|
|
533
534
|
@property
|
|
534
535
|
@pulumi.getter
|
|
535
|
-
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
536
|
+
def plan(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
536
537
|
"""
|
|
537
538
|
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
539
|
"""
|
|
539
540
|
return pulumi.get(self, "plan")
|
|
540
541
|
|
|
541
542
|
@plan.setter
|
|
542
|
-
def plan(self, value: Optional[pulumi.Input[str]]):
|
|
543
|
+
def plan(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
543
544
|
pulumi.set(self, "plan", value)
|
|
544
545
|
|
|
545
546
|
@property
|
|
546
547
|
@pulumi.getter
|
|
547
|
-
def project(self) -> Optional[pulumi.Input[str]]:
|
|
548
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
548
549
|
"""
|
|
549
550
|
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
551
|
"""
|
|
551
552
|
return pulumi.get(self, "project")
|
|
552
553
|
|
|
553
554
|
@project.setter
|
|
554
|
-
def project(self, value: Optional[pulumi.Input[str]]):
|
|
555
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
555
556
|
pulumi.set(self, "project", value)
|
|
556
557
|
|
|
557
558
|
@property
|
|
558
559
|
@pulumi.getter(name="projectVpcId")
|
|
559
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
560
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
560
561
|
"""
|
|
561
562
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
562
563
|
"""
|
|
563
564
|
return pulumi.get(self, "project_vpc_id")
|
|
564
565
|
|
|
565
566
|
@project_vpc_id.setter
|
|
566
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
567
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
567
568
|
pulumi.set(self, "project_vpc_id", value)
|
|
568
569
|
|
|
569
570
|
@property
|
|
570
571
|
@pulumi.getter(name="serviceHost")
|
|
571
|
-
def service_host(self) -> Optional[pulumi.Input[str]]:
|
|
572
|
+
def service_host(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
572
573
|
"""
|
|
573
574
|
The hostname of the service.
|
|
574
575
|
"""
|
|
575
576
|
return pulumi.get(self, "service_host")
|
|
576
577
|
|
|
577
578
|
@service_host.setter
|
|
578
|
-
def service_host(self, value: Optional[pulumi.Input[str]]):
|
|
579
|
+
def service_host(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
579
580
|
pulumi.set(self, "service_host", value)
|
|
580
581
|
|
|
581
582
|
@property
|
|
@@ -592,98 +593,98 @@ class _ThanosState:
|
|
|
592
593
|
|
|
593
594
|
@property
|
|
594
595
|
@pulumi.getter(name="serviceName")
|
|
595
|
-
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
596
|
+
def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
596
597
|
"""
|
|
597
598
|
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
599
|
"""
|
|
599
600
|
return pulumi.get(self, "service_name")
|
|
600
601
|
|
|
601
602
|
@service_name.setter
|
|
602
|
-
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
603
|
+
def service_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
603
604
|
pulumi.set(self, "service_name", value)
|
|
604
605
|
|
|
605
606
|
@property
|
|
606
607
|
@pulumi.getter(name="servicePassword")
|
|
607
|
-
def service_password(self) -> Optional[pulumi.Input[str]]:
|
|
608
|
+
def service_password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
608
609
|
"""
|
|
609
610
|
Password used for connecting to the service, if applicable
|
|
610
611
|
"""
|
|
611
612
|
return pulumi.get(self, "service_password")
|
|
612
613
|
|
|
613
614
|
@service_password.setter
|
|
614
|
-
def service_password(self, value: Optional[pulumi.Input[str]]):
|
|
615
|
+
def service_password(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
615
616
|
pulumi.set(self, "service_password", value)
|
|
616
617
|
|
|
617
618
|
@property
|
|
618
619
|
@pulumi.getter(name="servicePort")
|
|
619
|
-
def service_port(self) -> Optional[pulumi.Input[int]]:
|
|
620
|
+
def service_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
620
621
|
"""
|
|
621
622
|
The port of the service
|
|
622
623
|
"""
|
|
623
624
|
return pulumi.get(self, "service_port")
|
|
624
625
|
|
|
625
626
|
@service_port.setter
|
|
626
|
-
def service_port(self, value: Optional[pulumi.Input[int]]):
|
|
627
|
+
def service_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
627
628
|
pulumi.set(self, "service_port", value)
|
|
628
629
|
|
|
629
630
|
@property
|
|
630
631
|
@pulumi.getter(name="serviceType")
|
|
631
|
-
def service_type(self) -> Optional[pulumi.Input[str]]:
|
|
632
|
+
def service_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
632
633
|
"""
|
|
633
634
|
Aiven internal service type code
|
|
634
635
|
"""
|
|
635
636
|
return pulumi.get(self, "service_type")
|
|
636
637
|
|
|
637
638
|
@service_type.setter
|
|
638
|
-
def service_type(self, value: Optional[pulumi.Input[str]]):
|
|
639
|
+
def service_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
639
640
|
pulumi.set(self, "service_type", value)
|
|
640
641
|
|
|
641
642
|
@property
|
|
642
643
|
@pulumi.getter(name="serviceUri")
|
|
643
|
-
def service_uri(self) -> Optional[pulumi.Input[str]]:
|
|
644
|
+
def service_uri(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
644
645
|
"""
|
|
645
646
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
646
647
|
"""
|
|
647
648
|
return pulumi.get(self, "service_uri")
|
|
648
649
|
|
|
649
650
|
@service_uri.setter
|
|
650
|
-
def service_uri(self, value: Optional[pulumi.Input[str]]):
|
|
651
|
+
def service_uri(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
651
652
|
pulumi.set(self, "service_uri", value)
|
|
652
653
|
|
|
653
654
|
@property
|
|
654
655
|
@pulumi.getter(name="serviceUsername")
|
|
655
|
-
def service_username(self) -> Optional[pulumi.Input[str]]:
|
|
656
|
+
def service_username(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
656
657
|
"""
|
|
657
658
|
Username used for connecting to the service, if applicable
|
|
658
659
|
"""
|
|
659
660
|
return pulumi.get(self, "service_username")
|
|
660
661
|
|
|
661
662
|
@service_username.setter
|
|
662
|
-
def service_username(self, value: Optional[pulumi.Input[str]]):
|
|
663
|
+
def service_username(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
663
664
|
pulumi.set(self, "service_username", value)
|
|
664
665
|
|
|
665
666
|
@property
|
|
666
667
|
@pulumi.getter
|
|
667
|
-
def state(self) -> Optional[pulumi.Input[str]]:
|
|
668
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
668
669
|
"""
|
|
669
670
|
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
670
671
|
"""
|
|
671
672
|
return pulumi.get(self, "state")
|
|
672
673
|
|
|
673
674
|
@state.setter
|
|
674
|
-
def state(self, value: Optional[pulumi.Input[str]]):
|
|
675
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
675
676
|
pulumi.set(self, "state", value)
|
|
676
677
|
|
|
677
678
|
@property
|
|
678
679
|
@pulumi.getter(name="staticIps")
|
|
679
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
680
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
680
681
|
"""
|
|
681
682
|
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
|
|
682
683
|
"""
|
|
683
684
|
return pulumi.get(self, "static_ips")
|
|
684
685
|
|
|
685
686
|
@static_ips.setter
|
|
686
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
687
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
687
688
|
pulumi.set(self, "static_ips", value)
|
|
688
689
|
|
|
689
690
|
@property
|
|
@@ -712,14 +713,14 @@ class _ThanosState:
|
|
|
712
713
|
|
|
713
714
|
@property
|
|
714
715
|
@pulumi.getter(name="terminationProtection")
|
|
715
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
716
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
716
717
|
"""
|
|
717
718
|
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.
|
|
718
719
|
"""
|
|
719
720
|
return pulumi.get(self, "termination_protection")
|
|
720
721
|
|
|
721
722
|
@termination_protection.setter
|
|
722
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
723
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
723
724
|
pulumi.set(self, "termination_protection", value)
|
|
724
725
|
|
|
725
726
|
@property
|
|
@@ -752,20 +753,20 @@ class Thanos(pulumi.CustomResource):
|
|
|
752
753
|
def __init__(__self__,
|
|
753
754
|
resource_name: str,
|
|
754
755
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
755
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
756
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
757
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
758
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
759
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
760
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
761
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
762
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
756
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
757
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
758
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
759
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
760
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
761
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
762
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
763
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
763
764
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosServiceIntegrationArgs', 'ThanosServiceIntegrationArgsDict']]]]] = None,
|
|
764
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
765
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
765
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
766
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
766
767
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]]] = None,
|
|
767
768
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTechEmailArgs', 'ThanosTechEmailArgsDict']]]]] = None,
|
|
768
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
769
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
769
770
|
thanos: Optional[pulumi.Input[Union['ThanosThanosArgs', 'ThanosThanosArgsDict']]] = None,
|
|
770
771
|
thanos_user_config: Optional[pulumi.Input[Union['ThanosThanosUserConfigArgs', 'ThanosThanosUserConfigArgsDict']]] = None,
|
|
771
772
|
__props__=None):
|
|
@@ -799,20 +800,20 @@ class Thanos(pulumi.CustomResource):
|
|
|
799
800
|
|
|
800
801
|
:param str resource_name: The name of the resource.
|
|
801
802
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
802
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
803
|
-
:param pulumi.Input[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.
|
|
804
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
805
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
806
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
807
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
808
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
809
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
803
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
804
|
+
: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.
|
|
805
|
+
: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.
|
|
806
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
807
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
808
|
+
: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).
|
|
809
|
+
: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.
|
|
810
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
810
811
|
: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
|
|
811
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
812
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
812
|
+
: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.
|
|
813
|
+
: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
|
|
813
814
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
814
815
|
: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.
|
|
815
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
816
|
+
: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.
|
|
816
817
|
:param pulumi.Input[Union['ThanosThanosArgs', 'ThanosThanosArgsDict']] thanos: Thanos server connection details.
|
|
817
818
|
: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
|
|
818
819
|
"""
|
|
@@ -865,20 +866,20 @@ class Thanos(pulumi.CustomResource):
|
|
|
865
866
|
def _internal_init(__self__,
|
|
866
867
|
resource_name: str,
|
|
867
868
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
868
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
869
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
870
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
871
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
872
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
873
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
874
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
875
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
869
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
870
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
871
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
872
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
873
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
874
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
875
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
876
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
876
877
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosServiceIntegrationArgs', 'ThanosServiceIntegrationArgsDict']]]]] = None,
|
|
877
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
878
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
878
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
879
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
879
880
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]]] = None,
|
|
880
881
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTechEmailArgs', 'ThanosTechEmailArgsDict']]]]] = None,
|
|
881
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
882
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
882
883
|
thanos: Optional[pulumi.Input[Union['ThanosThanosArgs', 'ThanosThanosArgsDict']]] = None,
|
|
883
884
|
thanos_user_config: Optional[pulumi.Input[Union['ThanosThanosUserConfigArgs', 'ThanosThanosUserConfigArgsDict']]] = None,
|
|
884
885
|
__props__=None):
|
|
@@ -936,32 +937,32 @@ class Thanos(pulumi.CustomResource):
|
|
|
936
937
|
def get(resource_name: str,
|
|
937
938
|
id: pulumi.Input[str],
|
|
938
939
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
939
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
940
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
940
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
941
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
941
942
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosComponentArgs', 'ThanosComponentArgsDict']]]]] = None,
|
|
942
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
943
|
-
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
944
|
-
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
945
|
-
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
946
|
-
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
947
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
948
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
949
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
950
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
951
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
952
|
-
service_host: Optional[pulumi.Input[str]] = None,
|
|
943
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
944
|
+
disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
|
|
945
|
+
disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
|
|
946
|
+
disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
|
|
947
|
+
disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
|
|
948
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
949
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
950
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
951
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
952
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
953
|
+
service_host: Optional[pulumi.Input[builtins.str]] = None,
|
|
953
954
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosServiceIntegrationArgs', 'ThanosServiceIntegrationArgsDict']]]]] = None,
|
|
954
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
955
|
-
service_password: Optional[pulumi.Input[str]] = None,
|
|
956
|
-
service_port: Optional[pulumi.Input[int]] = None,
|
|
957
|
-
service_type: Optional[pulumi.Input[str]] = None,
|
|
958
|
-
service_uri: Optional[pulumi.Input[str]] = None,
|
|
959
|
-
service_username: Optional[pulumi.Input[str]] = None,
|
|
960
|
-
state: Optional[pulumi.Input[str]] = None,
|
|
961
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
955
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
956
|
+
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
|
957
|
+
service_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
958
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
959
|
+
service_uri: Optional[pulumi.Input[builtins.str]] = None,
|
|
960
|
+
service_username: Optional[pulumi.Input[builtins.str]] = None,
|
|
961
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
962
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
962
963
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]]] = None,
|
|
963
964
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ThanosTechEmailArgs', 'ThanosTechEmailArgsDict']]]]] = None,
|
|
964
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
965
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
965
966
|
thanos: Optional[pulumi.Input[Union['ThanosThanosArgs', 'ThanosThanosArgsDict']]] = None,
|
|
966
967
|
thanos_user_config: Optional[pulumi.Input[Union['ThanosThanosUserConfigArgs', 'ThanosThanosUserConfigArgsDict']]] = None) -> 'Thanos':
|
|
967
968
|
"""
|
|
@@ -971,32 +972,32 @@ class Thanos(pulumi.CustomResource):
|
|
|
971
972
|
:param str resource_name: The unique name of the resulting resource.
|
|
972
973
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
973
974
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
974
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
975
|
-
:param pulumi.Input[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.
|
|
975
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
976
|
+
: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.
|
|
976
977
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosComponentArgs', 'ThanosComponentArgsDict']]]] components: Service component information objects
|
|
977
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
978
|
-
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
979
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
980
|
-
:param pulumi.Input[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.
|
|
981
|
-
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
982
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
983
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
984
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
985
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
986
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
987
|
-
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
978
|
+
: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.
|
|
979
|
+
: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.
|
|
980
|
+
: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`
|
|
981
|
+
: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.
|
|
982
|
+
:param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
|
|
983
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
984
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
985
|
+
: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).
|
|
986
|
+
: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.
|
|
987
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
988
|
+
:param pulumi.Input[builtins.str] service_host: The hostname of the service.
|
|
988
989
|
: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
|
|
989
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
990
|
-
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
991
|
-
:param pulumi.Input[int] service_port: The port of the service
|
|
992
|
-
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
993
|
-
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
994
|
-
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
995
|
-
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
996
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
990
|
+
: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.
|
|
991
|
+
:param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
992
|
+
:param pulumi.Input[builtins.int] service_port: The port of the service
|
|
993
|
+
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
994
|
+
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
995
|
+
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
996
|
+
:param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
997
|
+
: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
|
|
997
998
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosTagArgs', 'ThanosTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
998
999
|
: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.
|
|
999
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1000
|
+
: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.
|
|
1000
1001
|
:param pulumi.Input[Union['ThanosThanosArgs', 'ThanosThanosArgsDict']] thanos: Thanos server connection details.
|
|
1001
1002
|
: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
|
|
1002
1003
|
"""
|
|
@@ -1036,7 +1037,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1036
1037
|
|
|
1037
1038
|
@property
|
|
1038
1039
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1039
|
-
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1040
|
+
def additional_disk_space(self) -> pulumi.Output[builtins.str]:
|
|
1040
1041
|
"""
|
|
1041
1042
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
1042
1043
|
"""
|
|
@@ -1044,7 +1045,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1044
1045
|
|
|
1045
1046
|
@property
|
|
1046
1047
|
@pulumi.getter(name="cloudName")
|
|
1047
|
-
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1048
|
+
def cloud_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1048
1049
|
"""
|
|
1049
1050
|
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.
|
|
1050
1051
|
"""
|
|
@@ -1061,7 +1062,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1061
1062
|
@property
|
|
1062
1063
|
@pulumi.getter(name="diskSpace")
|
|
1063
1064
|
@_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.""")
|
|
1064
|
-
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1065
|
+
def disk_space(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1065
1066
|
"""
|
|
1066
1067
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1067
1068
|
"""
|
|
@@ -1069,7 +1070,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1069
1070
|
|
|
1070
1071
|
@property
|
|
1071
1072
|
@pulumi.getter(name="diskSpaceCap")
|
|
1072
|
-
def disk_space_cap(self) -> pulumi.Output[str]:
|
|
1073
|
+
def disk_space_cap(self) -> pulumi.Output[builtins.str]:
|
|
1073
1074
|
"""
|
|
1074
1075
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1075
1076
|
"""
|
|
@@ -1077,7 +1078,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1077
1078
|
|
|
1078
1079
|
@property
|
|
1079
1080
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1080
|
-
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1081
|
+
def disk_space_default(self) -> pulumi.Output[builtins.str]:
|
|
1081
1082
|
"""
|
|
1082
1083
|
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`
|
|
1083
1084
|
"""
|
|
@@ -1085,7 +1086,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1085
1086
|
|
|
1086
1087
|
@property
|
|
1087
1088
|
@pulumi.getter(name="diskSpaceStep")
|
|
1088
|
-
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1089
|
+
def disk_space_step(self) -> pulumi.Output[builtins.str]:
|
|
1089
1090
|
"""
|
|
1090
1091
|
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.
|
|
1091
1092
|
"""
|
|
@@ -1094,7 +1095,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1094
1095
|
@property
|
|
1095
1096
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1096
1097
|
@_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.""")
|
|
1097
|
-
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1098
|
+
def disk_space_used(self) -> pulumi.Output[builtins.str]:
|
|
1098
1099
|
"""
|
|
1099
1100
|
Disk space that service is currently using
|
|
1100
1101
|
"""
|
|
@@ -1102,7 +1103,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1102
1103
|
|
|
1103
1104
|
@property
|
|
1104
1105
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1105
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
|
|
1106
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1106
1107
|
"""
|
|
1107
1108
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1108
1109
|
"""
|
|
@@ -1110,7 +1111,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1110
1111
|
|
|
1111
1112
|
@property
|
|
1112
1113
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1113
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[str]]:
|
|
1114
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1114
1115
|
"""
|
|
1115
1116
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1116
1117
|
"""
|
|
@@ -1118,7 +1119,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1118
1119
|
|
|
1119
1120
|
@property
|
|
1120
1121
|
@pulumi.getter
|
|
1121
|
-
def plan(self) -> pulumi.Output[str]:
|
|
1122
|
+
def plan(self) -> pulumi.Output[builtins.str]:
|
|
1122
1123
|
"""
|
|
1123
1124
|
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).
|
|
1124
1125
|
"""
|
|
@@ -1126,7 +1127,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1126
1127
|
|
|
1127
1128
|
@property
|
|
1128
1129
|
@pulumi.getter
|
|
1129
|
-
def project(self) -> pulumi.Output[str]:
|
|
1130
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
|
1130
1131
|
"""
|
|
1131
1132
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
1132
1133
|
"""
|
|
@@ -1134,7 +1135,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1134
1135
|
|
|
1135
1136
|
@property
|
|
1136
1137
|
@pulumi.getter(name="projectVpcId")
|
|
1137
|
-
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1138
|
+
def project_vpc_id(self) -> pulumi.Output[builtins.str]:
|
|
1138
1139
|
"""
|
|
1139
1140
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1140
1141
|
"""
|
|
@@ -1142,7 +1143,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1142
1143
|
|
|
1143
1144
|
@property
|
|
1144
1145
|
@pulumi.getter(name="serviceHost")
|
|
1145
|
-
def service_host(self) -> pulumi.Output[str]:
|
|
1146
|
+
def service_host(self) -> pulumi.Output[builtins.str]:
|
|
1146
1147
|
"""
|
|
1147
1148
|
The hostname of the service.
|
|
1148
1149
|
"""
|
|
@@ -1158,7 +1159,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1158
1159
|
|
|
1159
1160
|
@property
|
|
1160
1161
|
@pulumi.getter(name="serviceName")
|
|
1161
|
-
def service_name(self) -> pulumi.Output[str]:
|
|
1162
|
+
def service_name(self) -> pulumi.Output[builtins.str]:
|
|
1162
1163
|
"""
|
|
1163
1164
|
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.
|
|
1164
1165
|
"""
|
|
@@ -1166,7 +1167,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1166
1167
|
|
|
1167
1168
|
@property
|
|
1168
1169
|
@pulumi.getter(name="servicePassword")
|
|
1169
|
-
def service_password(self) -> pulumi.Output[str]:
|
|
1170
|
+
def service_password(self) -> pulumi.Output[builtins.str]:
|
|
1170
1171
|
"""
|
|
1171
1172
|
Password used for connecting to the service, if applicable
|
|
1172
1173
|
"""
|
|
@@ -1174,7 +1175,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1174
1175
|
|
|
1175
1176
|
@property
|
|
1176
1177
|
@pulumi.getter(name="servicePort")
|
|
1177
|
-
def service_port(self) -> pulumi.Output[int]:
|
|
1178
|
+
def service_port(self) -> pulumi.Output[builtins.int]:
|
|
1178
1179
|
"""
|
|
1179
1180
|
The port of the service
|
|
1180
1181
|
"""
|
|
@@ -1182,7 +1183,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1182
1183
|
|
|
1183
1184
|
@property
|
|
1184
1185
|
@pulumi.getter(name="serviceType")
|
|
1185
|
-
def service_type(self) -> pulumi.Output[str]:
|
|
1186
|
+
def service_type(self) -> pulumi.Output[builtins.str]:
|
|
1186
1187
|
"""
|
|
1187
1188
|
Aiven internal service type code
|
|
1188
1189
|
"""
|
|
@@ -1190,7 +1191,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1190
1191
|
|
|
1191
1192
|
@property
|
|
1192
1193
|
@pulumi.getter(name="serviceUri")
|
|
1193
|
-
def service_uri(self) -> pulumi.Output[str]:
|
|
1194
|
+
def service_uri(self) -> pulumi.Output[builtins.str]:
|
|
1194
1195
|
"""
|
|
1195
1196
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1196
1197
|
"""
|
|
@@ -1198,7 +1199,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1198
1199
|
|
|
1199
1200
|
@property
|
|
1200
1201
|
@pulumi.getter(name="serviceUsername")
|
|
1201
|
-
def service_username(self) -> pulumi.Output[str]:
|
|
1202
|
+
def service_username(self) -> pulumi.Output[builtins.str]:
|
|
1202
1203
|
"""
|
|
1203
1204
|
Username used for connecting to the service, if applicable
|
|
1204
1205
|
"""
|
|
@@ -1206,7 +1207,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1206
1207
|
|
|
1207
1208
|
@property
|
|
1208
1209
|
@pulumi.getter
|
|
1209
|
-
def state(self) -> pulumi.Output[str]:
|
|
1210
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
|
1210
1211
|
"""
|
|
1211
1212
|
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1212
1213
|
"""
|
|
@@ -1214,7 +1215,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1214
1215
|
|
|
1215
1216
|
@property
|
|
1216
1217
|
@pulumi.getter(name="staticIps")
|
|
1217
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1218
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1218
1219
|
"""
|
|
1219
1220
|
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1220
1221
|
"""
|
|
@@ -1238,7 +1239,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1238
1239
|
|
|
1239
1240
|
@property
|
|
1240
1241
|
@pulumi.getter(name="terminationProtection")
|
|
1241
|
-
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1242
|
+
def termination_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1242
1243
|
"""
|
|
1243
1244
|
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.
|
|
1244
1245
|
"""
|