pulumi-aiven 6.41.0a1753242343__py3-none-any.whl → 6.42.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +1 -1
- pulumi_aiven/_inputs.py +10923 -10764
- pulumi_aiven/account.py +89 -90
- pulumi_aiven/account_authentication.py +253 -254
- pulumi_aiven/account_team.py +62 -63
- pulumi_aiven/account_team_member.py +79 -80
- pulumi_aiven/account_team_project.py +69 -70
- pulumi_aiven/alloydbomni.py +319 -320
- pulumi_aiven/alloydbomni_database.py +86 -87
- pulumi_aiven/alloydbomni_user.py +113 -114
- pulumi_aiven/aws_org_vpc_peering_connection.py +113 -114
- pulumi_aiven/aws_privatelink.py +70 -71
- pulumi_aiven/aws_vpc_peering_connection.py +96 -97
- pulumi_aiven/azure_org_vpc_peering_connection.py +138 -139
- pulumi_aiven/azure_privatelink.py +88 -89
- pulumi_aiven/azure_privatelink_connection_approval.py +70 -71
- pulumi_aiven/azure_vpc_peering_connection.py +130 -131
- pulumi_aiven/billing_group.py +256 -257
- pulumi_aiven/cassandra.py +302 -303
- pulumi_aiven/cassandra_user.py +96 -97
- pulumi_aiven/clickhouse.py +302 -303
- pulumi_aiven/clickhouse_database.py +65 -66
- pulumi_aiven/clickhouse_grant.py +75 -76
- pulumi_aiven/clickhouse_role.py +52 -53
- pulumi_aiven/clickhouse_user.py +79 -80
- pulumi_aiven/config/__init__.py +1 -1
- pulumi_aiven/config/__init__.pyi +1 -2
- pulumi_aiven/config/vars.py +2 -3
- pulumi_aiven/connection_pool.py +129 -130
- pulumi_aiven/dragonfly.py +302 -303
- pulumi_aiven/flink.py +302 -303
- pulumi_aiven/flink_application.py +97 -98
- pulumi_aiven/flink_application_deployment.py +138 -139
- pulumi_aiven/flink_application_version.py +117 -118
- pulumi_aiven/flink_jar_application.py +101 -102
- pulumi_aiven/flink_jar_application_deployment.py +217 -218
- pulumi_aiven/flink_jar_application_version.py +116 -117
- pulumi_aiven/gcp_org_vpc_peering_connection.py +87 -88
- pulumi_aiven/gcp_privatelink.py +62 -63
- pulumi_aiven/gcp_privatelink_connection_approval.py +79 -80
- pulumi_aiven/gcp_vpc_peering_connection.py +79 -80
- pulumi_aiven/get_account.py +23 -24
- pulumi_aiven/get_account_authentication.py +46 -47
- pulumi_aiven/get_account_team.py +21 -22
- pulumi_aiven/get_account_team_member.py +27 -28
- pulumi_aiven/get_account_team_project.py +23 -24
- pulumi_aiven/get_alloydbomni.py +63 -64
- pulumi_aiven/get_alloydbomni_database.py +25 -26
- pulumi_aiven/get_alloydbomni_user.py +31 -32
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +39 -40
- pulumi_aiven/get_aws_privatelink.py +21 -22
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -34
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +41 -42
- pulumi_aiven/get_azure_privatelink.py +25 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +45 -46
- pulumi_aiven/get_billing_group.py +39 -40
- pulumi_aiven/get_cassanda.py +61 -62
- pulumi_aiven/get_cassandra.py +61 -62
- pulumi_aiven/get_cassandra_user.py +29 -30
- pulumi_aiven/get_clickhouse.py +61 -62
- pulumi_aiven/get_clickhouse_database.py +23 -24
- pulumi_aiven/get_clickhouse_user.py +27 -28
- pulumi_aiven/get_connection_pool.py +31 -32
- pulumi_aiven/get_dragonfly.py +61 -62
- pulumi_aiven/get_external_identity.py +27 -28
- pulumi_aiven/get_flink.py +61 -62
- pulumi_aiven/get_flink_application.py +31 -32
- pulumi_aiven/get_flink_application_version.py +39 -40
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +31 -32
- pulumi_aiven/get_gcp_privatelink.py +21 -22
- pulumi_aiven/get_gcp_vpc_peering_connection.py +27 -28
- pulumi_aiven/get_grafana.py +61 -62
- pulumi_aiven/get_influx_db.py +57 -58
- pulumi_aiven/get_influxdb_database.py +17 -18
- pulumi_aiven/get_influxdb_user.py +23 -24
- pulumi_aiven/get_kafka.py +65 -66
- pulumi_aiven/get_kafka_acl.py +35 -36
- pulumi_aiven/get_kafka_connect.py +60 -61
- pulumi_aiven/get_kafka_connector.py +36 -37
- pulumi_aiven/get_kafka_mirror_maker.py +60 -61
- pulumi_aiven/get_kafka_schema.py +29 -30
- pulumi_aiven/get_kafka_schema_configuration.py +25 -26
- pulumi_aiven/get_kafka_schema_registry_acl.py +35 -36
- pulumi_aiven/get_kafka_topic.py +33 -34
- pulumi_aiven/get_kafka_user.py +29 -30
- pulumi_aiven/get_m3_aggregator.py +61 -62
- pulumi_aiven/get_m3_db.py +61 -62
- pulumi_aiven/get_m3db_user.py +25 -26
- pulumi_aiven/get_mirror_maker_replication_flow.py +51 -52
- pulumi_aiven/get_my_sql.py +61 -62
- pulumi_aiven/get_mysql_database.py +23 -24
- pulumi_aiven/get_mysql_user.py +31 -32
- pulumi_aiven/get_open_search.py +61 -62
- pulumi_aiven/get_open_search_acl_config.py +19 -20
- pulumi_aiven/get_open_search_acl_rule.py +33 -34
- pulumi_aiven/get_opensearch_security_plugin_config.py +23 -24
- pulumi_aiven/get_opensearch_user.py +25 -26
- pulumi_aiven/get_organization.py +20 -21
- pulumi_aiven/get_organization_address.py +32 -33
- pulumi_aiven/get_organization_application_user.py +21 -22
- pulumi_aiven/get_organization_billing_group.py +34 -35
- pulumi_aiven/get_organization_billing_group_list.py +11 -12
- pulumi_aiven/get_organization_project.py +27 -28
- pulumi_aiven/get_organization_user.py +23 -24
- pulumi_aiven/get_organization_user_group.py +23 -24
- pulumi_aiven/get_organization_user_list.py +14 -15
- pulumi_aiven/get_organization_vpc.py +25 -26
- pulumi_aiven/get_organizational_unit.py +17 -18
- pulumi_aiven/get_pg.py +61 -62
- pulumi_aiven/get_pg_database.py +27 -28
- pulumi_aiven/get_pg_user.py +31 -32
- pulumi_aiven/get_project.py +34 -35
- pulumi_aiven/get_project_user.py +19 -20
- pulumi_aiven/get_project_vpc.py +25 -26
- pulumi_aiven/get_redis.py +61 -62
- pulumi_aiven/get_redis_user.py +33 -34
- pulumi_aiven/get_service_component.py +51 -52
- pulumi_aiven/get_service_integration.py +52 -53
- pulumi_aiven/get_service_integration_endpoint.py +38 -39
- pulumi_aiven/get_thanos.py +61 -62
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +31 -32
- pulumi_aiven/get_valkey.py +61 -62
- pulumi_aiven/get_valkey_user.py +33 -34
- pulumi_aiven/governance_access.py +84 -85
- pulumi_aiven/grafana.py +302 -303
- pulumi_aiven/influx_db.py +302 -303
- pulumi_aiven/influxdb_database.py +65 -66
- pulumi_aiven/influxdb_user.py +96 -97
- pulumi_aiven/kafka.py +336 -337
- pulumi_aiven/kafka_acl.py +95 -96
- pulumi_aiven/kafka_connect.py +299 -300
- pulumi_aiven/kafka_connector.py +125 -126
- pulumi_aiven/kafka_mirror_maker.py +299 -300
- pulumi_aiven/kafka_native_acl.py +154 -155
- pulumi_aiven/kafka_quota.py +120 -121
- pulumi_aiven/kafka_schema.py +112 -113
- pulumi_aiven/kafka_schema_configuration.py +52 -53
- pulumi_aiven/kafka_schema_registry_acl.py +95 -96
- pulumi_aiven/kafka_topic.py +139 -140
- pulumi_aiven/kafka_user.py +96 -97
- pulumi_aiven/m3_aggregator.py +311 -303
- pulumi_aiven/m3_db.py +311 -303
- pulumi_aiven/m3db_user.py +78 -79
- pulumi_aiven/mirror_maker_replication_flow.py +273 -274
- pulumi_aiven/my_sql.py +302 -303
- pulumi_aiven/mysql_database.py +65 -66
- pulumi_aiven/mysql_user.py +113 -114
- pulumi_aiven/open_search.py +302 -303
- pulumi_aiven/open_search_acl_config.py +69 -70
- pulumi_aiven/open_search_acl_rule.py +86 -87
- pulumi_aiven/opensearch_security_plugin_config.py +79 -80
- pulumi_aiven/opensearch_user.py +78 -79
- pulumi_aiven/organization.py +48 -49
- pulumi_aiven/organization_address.py +150 -151
- pulumi_aiven/organization_application_user.py +70 -71
- pulumi_aiven/organization_application_user_token.py +210 -211
- pulumi_aiven/organization_billing_group.py +183 -184
- pulumi_aiven/organization_group_project.py +55 -56
- pulumi_aiven/organization_permission.py +55 -56
- pulumi_aiven/organization_project.py +118 -119
- pulumi_aiven/organization_user.py +71 -72
- pulumi_aiven/organization_user_group.py +79 -80
- pulumi_aiven/organization_user_group_member.py +64 -65
- pulumi_aiven/organization_vpc.py +88 -89
- pulumi_aiven/organizational_unit.py +62 -63
- pulumi_aiven/outputs.py +14499 -14292
- pulumi_aiven/pg.py +302 -303
- pulumi_aiven/pg_database.py +99 -100
- pulumi_aiven/pg_user.py +113 -114
- pulumi_aiven/project.py +193 -194
- pulumi_aiven/project_user.py +61 -62
- pulumi_aiven/project_vpc.py +61 -62
- pulumi_aiven/provider.py +12 -13
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +302 -303
- pulumi_aiven/redis_user.py +146 -147
- pulumi_aiven/service_integration.py +191 -192
- pulumi_aiven/service_integration_endpoint.py +118 -119
- pulumi_aiven/static_ip.py +71 -72
- pulumi_aiven/thanos.py +302 -303
- pulumi_aiven/transit_gateway_vpc_attachment.py +113 -114
- pulumi_aiven/valkey.py +302 -303
- pulumi_aiven/valkey_user.py +146 -147
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.42.0.dist-info/RECORD +189 -0
- pulumi_aiven-6.41.0a1753242343.dist-info/RECORD +0 -189
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/m3_aggregator.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,40 +21,40 @@ __all__ = ['M3AggregatorArgs', 'M3Aggregator']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class M3AggregatorArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
plan: pulumi.Input[
|
|
26
|
-
project: pulumi.Input[
|
|
27
|
-
service_name: pulumi.Input[
|
|
28
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
29
|
-
cloud_name: Optional[pulumi.Input[
|
|
30
|
-
disk_space: Optional[pulumi.Input[
|
|
24
|
+
plan: pulumi.Input[_builtins.str],
|
|
25
|
+
project: pulumi.Input[_builtins.str],
|
|
26
|
+
service_name: pulumi.Input[_builtins.str],
|
|
27
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
30
|
m3aggregator: Optional[pulumi.Input['M3AggregatorM3aggregatorArgs']] = None,
|
|
32
31
|
m3aggregator_user_config: Optional[pulumi.Input['M3AggregatorM3aggregatorUserConfigArgs']] = None,
|
|
33
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
34
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
35
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
32
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
33
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
36
35
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorServiceIntegrationArgs']]]] = None,
|
|
37
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
36
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
38
37
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTagArgs']]]] = None,
|
|
39
38
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTechEmailArgs']]]] = None,
|
|
40
|
-
termination_protection: Optional[pulumi.Input[
|
|
39
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
41
40
|
"""
|
|
42
41
|
The set of arguments for constructing a M3Aggregator resource.
|
|
43
|
-
:param pulumi.Input[
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[
|
|
47
|
-
:param pulumi.Input[
|
|
48
|
-
:param pulumi.Input[
|
|
42
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
43
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
44
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
46
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
47
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
49
48
|
:param pulumi.Input['M3AggregatorM3aggregatorArgs'] m3aggregator: M3 Aggregator server provided values
|
|
50
49
|
:param pulumi.Input['M3AggregatorM3aggregatorUserConfigArgs'] m3aggregator_user_config: M3aggregator user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
51
|
-
:param pulumi.Input[
|
|
52
|
-
:param pulumi.Input[
|
|
53
|
-
:param pulumi.Input[
|
|
50
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
51
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
52
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
54
53
|
:param pulumi.Input[Sequence[pulumi.Input['M3AggregatorServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
55
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
54
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
56
55
|
:param pulumi.Input[Sequence[pulumi.Input['M3AggregatorTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
57
56
|
:param pulumi.Input[Sequence[pulumi.Input['M3AggregatorTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
58
|
-
:param pulumi.Input[
|
|
57
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
59
58
|
"""
|
|
60
59
|
pulumi.set(__self__, "plan", plan)
|
|
61
60
|
pulumi.set(__self__, "project", project)
|
|
@@ -71,6 +70,9 @@ class M3AggregatorArgs:
|
|
|
71
70
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
72
71
|
if m3aggregator is not None:
|
|
73
72
|
pulumi.set(__self__, "m3aggregator", m3aggregator)
|
|
73
|
+
if m3aggregator_user_config is not None:
|
|
74
|
+
warnings.warn("""This property is deprecated.""", DeprecationWarning)
|
|
75
|
+
pulumi.log.warn("""m3aggregator_user_config is deprecated: This property is deprecated.""")
|
|
74
76
|
if m3aggregator_user_config is not None:
|
|
75
77
|
pulumi.set(__self__, "m3aggregator_user_config", m3aggregator_user_config)
|
|
76
78
|
if maintenance_window_dow is not None:
|
|
@@ -90,80 +92,80 @@ class M3AggregatorArgs:
|
|
|
90
92
|
if termination_protection is not None:
|
|
91
93
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
92
94
|
|
|
93
|
-
@property
|
|
95
|
+
@_builtins.property
|
|
94
96
|
@pulumi.getter
|
|
95
|
-
def plan(self) -> pulumi.Input[
|
|
97
|
+
def plan(self) -> pulumi.Input[_builtins.str]:
|
|
96
98
|
"""
|
|
97
99
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
98
100
|
"""
|
|
99
101
|
return pulumi.get(self, "plan")
|
|
100
102
|
|
|
101
103
|
@plan.setter
|
|
102
|
-
def plan(self, value: pulumi.Input[
|
|
104
|
+
def plan(self, value: pulumi.Input[_builtins.str]):
|
|
103
105
|
pulumi.set(self, "plan", value)
|
|
104
106
|
|
|
105
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
106
108
|
@pulumi.getter
|
|
107
|
-
def project(self) -> pulumi.Input[
|
|
109
|
+
def project(self) -> pulumi.Input[_builtins.str]:
|
|
108
110
|
"""
|
|
109
111
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
110
112
|
"""
|
|
111
113
|
return pulumi.get(self, "project")
|
|
112
114
|
|
|
113
115
|
@project.setter
|
|
114
|
-
def project(self, value: pulumi.Input[
|
|
116
|
+
def project(self, value: pulumi.Input[_builtins.str]):
|
|
115
117
|
pulumi.set(self, "project", value)
|
|
116
118
|
|
|
117
|
-
@property
|
|
119
|
+
@_builtins.property
|
|
118
120
|
@pulumi.getter(name="serviceName")
|
|
119
|
-
def service_name(self) -> pulumi.Input[
|
|
121
|
+
def service_name(self) -> pulumi.Input[_builtins.str]:
|
|
120
122
|
"""
|
|
121
123
|
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
122
124
|
"""
|
|
123
125
|
return pulumi.get(self, "service_name")
|
|
124
126
|
|
|
125
127
|
@service_name.setter
|
|
126
|
-
def service_name(self, value: pulumi.Input[
|
|
128
|
+
def service_name(self, value: pulumi.Input[_builtins.str]):
|
|
127
129
|
pulumi.set(self, "service_name", value)
|
|
128
130
|
|
|
129
|
-
@property
|
|
131
|
+
@_builtins.property
|
|
130
132
|
@pulumi.getter(name="additionalDiskSpace")
|
|
131
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
133
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
132
134
|
"""
|
|
133
135
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
134
136
|
"""
|
|
135
137
|
return pulumi.get(self, "additional_disk_space")
|
|
136
138
|
|
|
137
139
|
@additional_disk_space.setter
|
|
138
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
140
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
139
141
|
pulumi.set(self, "additional_disk_space", value)
|
|
140
142
|
|
|
141
|
-
@property
|
|
143
|
+
@_builtins.property
|
|
142
144
|
@pulumi.getter(name="cloudName")
|
|
143
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
145
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
144
146
|
"""
|
|
145
147
|
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
146
148
|
"""
|
|
147
149
|
return pulumi.get(self, "cloud_name")
|
|
148
150
|
|
|
149
151
|
@cloud_name.setter
|
|
150
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
152
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
151
153
|
pulumi.set(self, "cloud_name", value)
|
|
152
154
|
|
|
153
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
154
156
|
@pulumi.getter(name="diskSpace")
|
|
155
157
|
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
156
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
158
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
157
159
|
"""
|
|
158
160
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
159
161
|
"""
|
|
160
162
|
return pulumi.get(self, "disk_space")
|
|
161
163
|
|
|
162
164
|
@disk_space.setter
|
|
163
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
165
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
164
166
|
pulumi.set(self, "disk_space", value)
|
|
165
167
|
|
|
166
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
167
169
|
@pulumi.getter
|
|
168
170
|
def m3aggregator(self) -> Optional[pulumi.Input['M3AggregatorM3aggregatorArgs']]:
|
|
169
171
|
"""
|
|
@@ -175,8 +177,9 @@ class M3AggregatorArgs:
|
|
|
175
177
|
def m3aggregator(self, value: Optional[pulumi.Input['M3AggregatorM3aggregatorArgs']]):
|
|
176
178
|
pulumi.set(self, "m3aggregator", value)
|
|
177
179
|
|
|
178
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
179
181
|
@pulumi.getter(name="m3aggregatorUserConfig")
|
|
182
|
+
@_utilities.deprecated("""This property is deprecated.""")
|
|
180
183
|
def m3aggregator_user_config(self) -> Optional[pulumi.Input['M3AggregatorM3aggregatorUserConfigArgs']]:
|
|
181
184
|
"""
|
|
182
185
|
M3aggregator user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
@@ -187,43 +190,43 @@ class M3AggregatorArgs:
|
|
|
187
190
|
def m3aggregator_user_config(self, value: Optional[pulumi.Input['M3AggregatorM3aggregatorUserConfigArgs']]):
|
|
188
191
|
pulumi.set(self, "m3aggregator_user_config", value)
|
|
189
192
|
|
|
190
|
-
@property
|
|
193
|
+
@_builtins.property
|
|
191
194
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
192
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
195
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
193
196
|
"""
|
|
194
197
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
195
198
|
"""
|
|
196
199
|
return pulumi.get(self, "maintenance_window_dow")
|
|
197
200
|
|
|
198
201
|
@maintenance_window_dow.setter
|
|
199
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
202
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
200
203
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
201
204
|
|
|
202
|
-
@property
|
|
205
|
+
@_builtins.property
|
|
203
206
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
204
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
207
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
205
208
|
"""
|
|
206
209
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
207
210
|
"""
|
|
208
211
|
return pulumi.get(self, "maintenance_window_time")
|
|
209
212
|
|
|
210
213
|
@maintenance_window_time.setter
|
|
211
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
214
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
212
215
|
pulumi.set(self, "maintenance_window_time", value)
|
|
213
216
|
|
|
214
|
-
@property
|
|
217
|
+
@_builtins.property
|
|
215
218
|
@pulumi.getter(name="projectVpcId")
|
|
216
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
219
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
217
220
|
"""
|
|
218
221
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
219
222
|
"""
|
|
220
223
|
return pulumi.get(self, "project_vpc_id")
|
|
221
224
|
|
|
222
225
|
@project_vpc_id.setter
|
|
223
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
226
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
224
227
|
pulumi.set(self, "project_vpc_id", value)
|
|
225
228
|
|
|
226
|
-
@property
|
|
229
|
+
@_builtins.property
|
|
227
230
|
@pulumi.getter(name="serviceIntegrations")
|
|
228
231
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorServiceIntegrationArgs']]]]:
|
|
229
232
|
"""
|
|
@@ -235,19 +238,19 @@ class M3AggregatorArgs:
|
|
|
235
238
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorServiceIntegrationArgs']]]]):
|
|
236
239
|
pulumi.set(self, "service_integrations", value)
|
|
237
240
|
|
|
238
|
-
@property
|
|
241
|
+
@_builtins.property
|
|
239
242
|
@pulumi.getter(name="staticIps")
|
|
240
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
243
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
241
244
|
"""
|
|
242
245
|
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
243
246
|
"""
|
|
244
247
|
return pulumi.get(self, "static_ips")
|
|
245
248
|
|
|
246
249
|
@static_ips.setter
|
|
247
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
250
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
248
251
|
pulumi.set(self, "static_ips", value)
|
|
249
252
|
|
|
250
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
251
254
|
@pulumi.getter
|
|
252
255
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTagArgs']]]]:
|
|
253
256
|
"""
|
|
@@ -259,7 +262,7 @@ class M3AggregatorArgs:
|
|
|
259
262
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTagArgs']]]]):
|
|
260
263
|
pulumi.set(self, "tags", value)
|
|
261
264
|
|
|
262
|
-
@property
|
|
265
|
+
@_builtins.property
|
|
263
266
|
@pulumi.getter(name="techEmails")
|
|
264
267
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTechEmailArgs']]]]:
|
|
265
268
|
"""
|
|
@@ -271,79 +274,79 @@ class M3AggregatorArgs:
|
|
|
271
274
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTechEmailArgs']]]]):
|
|
272
275
|
pulumi.set(self, "tech_emails", value)
|
|
273
276
|
|
|
274
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
275
278
|
@pulumi.getter(name="terminationProtection")
|
|
276
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
279
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
277
280
|
"""
|
|
278
281
|
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
279
282
|
"""
|
|
280
283
|
return pulumi.get(self, "termination_protection")
|
|
281
284
|
|
|
282
285
|
@termination_protection.setter
|
|
283
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
286
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
284
287
|
pulumi.set(self, "termination_protection", value)
|
|
285
288
|
|
|
286
289
|
|
|
287
290
|
@pulumi.input_type
|
|
288
291
|
class _M3AggregatorState:
|
|
289
292
|
def __init__(__self__, *,
|
|
290
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
291
|
-
cloud_name: Optional[pulumi.Input[
|
|
293
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
292
295
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorComponentArgs']]]] = None,
|
|
293
|
-
disk_space: Optional[pulumi.Input[
|
|
294
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
295
|
-
disk_space_default: Optional[pulumi.Input[
|
|
296
|
-
disk_space_step: Optional[pulumi.Input[
|
|
297
|
-
disk_space_used: Optional[pulumi.Input[
|
|
296
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
297
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
299
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
298
301
|
m3aggregator: Optional[pulumi.Input['M3AggregatorM3aggregatorArgs']] = None,
|
|
299
302
|
m3aggregator_user_config: Optional[pulumi.Input['M3AggregatorM3aggregatorUserConfigArgs']] = None,
|
|
300
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
301
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
302
|
-
plan: Optional[pulumi.Input[
|
|
303
|
-
project: Optional[pulumi.Input[
|
|
304
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
305
|
-
service_host: Optional[pulumi.Input[
|
|
303
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
304
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
305
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
309
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorServiceIntegrationArgs']]]] = None,
|
|
307
|
-
service_name: Optional[pulumi.Input[
|
|
308
|
-
service_password: Optional[pulumi.Input[
|
|
309
|
-
service_port: Optional[pulumi.Input[
|
|
310
|
-
service_type: Optional[pulumi.Input[
|
|
311
|
-
service_uri: Optional[pulumi.Input[
|
|
312
|
-
service_username: Optional[pulumi.Input[
|
|
313
|
-
state: Optional[pulumi.Input[
|
|
314
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
310
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
311
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
312
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
313
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
314
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
315
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
316
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
315
318
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTagArgs']]]] = None,
|
|
316
319
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTechEmailArgs']]]] = None,
|
|
317
|
-
termination_protection: Optional[pulumi.Input[
|
|
320
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
318
321
|
"""
|
|
319
322
|
Input properties used for looking up and filtering M3Aggregator resources.
|
|
320
|
-
:param pulumi.Input[
|
|
321
|
-
:param pulumi.Input[
|
|
323
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
324
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
322
325
|
:param pulumi.Input[Sequence[pulumi.Input['M3AggregatorComponentArgs']]] components: Service component information objects
|
|
323
|
-
:param pulumi.Input[
|
|
324
|
-
:param pulumi.Input[
|
|
325
|
-
:param pulumi.Input[
|
|
326
|
-
:param pulumi.Input[
|
|
327
|
-
:param pulumi.Input[
|
|
326
|
+
: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.
|
|
327
|
+
: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.
|
|
328
|
+
: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`
|
|
329
|
+
: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.
|
|
330
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
328
331
|
:param pulumi.Input['M3AggregatorM3aggregatorArgs'] m3aggregator: M3 Aggregator server provided values
|
|
329
332
|
:param pulumi.Input['M3AggregatorM3aggregatorUserConfigArgs'] m3aggregator_user_config: M3aggregator user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
330
|
-
:param pulumi.Input[
|
|
331
|
-
:param pulumi.Input[
|
|
332
|
-
:param pulumi.Input[
|
|
333
|
-
:param pulumi.Input[
|
|
334
|
-
:param pulumi.Input[
|
|
335
|
-
:param pulumi.Input[
|
|
333
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
334
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
335
|
+
: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).
|
|
336
|
+
: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.
|
|
337
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
338
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
336
339
|
:param pulumi.Input[Sequence[pulumi.Input['M3AggregatorServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
337
|
-
:param pulumi.Input[
|
|
338
|
-
:param pulumi.Input[
|
|
339
|
-
:param pulumi.Input[
|
|
340
|
-
:param pulumi.Input[
|
|
341
|
-
:param pulumi.Input[
|
|
342
|
-
:param pulumi.Input[
|
|
343
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
340
|
+
: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.
|
|
341
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
342
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
343
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
344
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
345
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
346
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
344
347
|
:param pulumi.Input[Sequence[pulumi.Input['M3AggregatorTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
345
348
|
:param pulumi.Input[Sequence[pulumi.Input['M3AggregatorTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
346
|
-
:param pulumi.Input[
|
|
349
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
347
350
|
"""
|
|
348
351
|
if additional_disk_space is not None:
|
|
349
352
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -369,6 +372,9 @@ class _M3AggregatorState:
|
|
|
369
372
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
370
373
|
if m3aggregator is not None:
|
|
371
374
|
pulumi.set(__self__, "m3aggregator", m3aggregator)
|
|
375
|
+
if m3aggregator_user_config is not None:
|
|
376
|
+
warnings.warn("""This property is deprecated.""", DeprecationWarning)
|
|
377
|
+
pulumi.log.warn("""m3aggregator_user_config is deprecated: This property is deprecated.""")
|
|
372
378
|
if m3aggregator_user_config is not None:
|
|
373
379
|
pulumi.set(__self__, "m3aggregator_user_config", m3aggregator_user_config)
|
|
374
380
|
if maintenance_window_dow is not None:
|
|
@@ -408,31 +414,31 @@ class _M3AggregatorState:
|
|
|
408
414
|
if termination_protection is not None:
|
|
409
415
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
410
416
|
|
|
411
|
-
@property
|
|
417
|
+
@_builtins.property
|
|
412
418
|
@pulumi.getter(name="additionalDiskSpace")
|
|
413
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
419
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
414
420
|
"""
|
|
415
421
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
416
422
|
"""
|
|
417
423
|
return pulumi.get(self, "additional_disk_space")
|
|
418
424
|
|
|
419
425
|
@additional_disk_space.setter
|
|
420
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
426
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
421
427
|
pulumi.set(self, "additional_disk_space", value)
|
|
422
428
|
|
|
423
|
-
@property
|
|
429
|
+
@_builtins.property
|
|
424
430
|
@pulumi.getter(name="cloudName")
|
|
425
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
431
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
426
432
|
"""
|
|
427
433
|
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
434
|
"""
|
|
429
435
|
return pulumi.get(self, "cloud_name")
|
|
430
436
|
|
|
431
437
|
@cloud_name.setter
|
|
432
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
438
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
433
439
|
pulumi.set(self, "cloud_name", value)
|
|
434
440
|
|
|
435
|
-
@property
|
|
441
|
+
@_builtins.property
|
|
436
442
|
@pulumi.getter
|
|
437
443
|
def components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorComponentArgs']]]]:
|
|
438
444
|
"""
|
|
@@ -444,69 +450,69 @@ class _M3AggregatorState:
|
|
|
444
450
|
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorComponentArgs']]]]):
|
|
445
451
|
pulumi.set(self, "components", value)
|
|
446
452
|
|
|
447
|
-
@property
|
|
453
|
+
@_builtins.property
|
|
448
454
|
@pulumi.getter(name="diskSpace")
|
|
449
455
|
@_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[
|
|
456
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
451
457
|
"""
|
|
452
458
|
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
459
|
"""
|
|
454
460
|
return pulumi.get(self, "disk_space")
|
|
455
461
|
|
|
456
462
|
@disk_space.setter
|
|
457
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
463
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
458
464
|
pulumi.set(self, "disk_space", value)
|
|
459
465
|
|
|
460
|
-
@property
|
|
466
|
+
@_builtins.property
|
|
461
467
|
@pulumi.getter(name="diskSpaceCap")
|
|
462
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[
|
|
468
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
463
469
|
"""
|
|
464
470
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
465
471
|
"""
|
|
466
472
|
return pulumi.get(self, "disk_space_cap")
|
|
467
473
|
|
|
468
474
|
@disk_space_cap.setter
|
|
469
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[
|
|
475
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
470
476
|
pulumi.set(self, "disk_space_cap", value)
|
|
471
477
|
|
|
472
|
-
@property
|
|
478
|
+
@_builtins.property
|
|
473
479
|
@pulumi.getter(name="diskSpaceDefault")
|
|
474
|
-
def disk_space_default(self) -> Optional[pulumi.Input[
|
|
480
|
+
def disk_space_default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
475
481
|
"""
|
|
476
482
|
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
483
|
"""
|
|
478
484
|
return pulumi.get(self, "disk_space_default")
|
|
479
485
|
|
|
480
486
|
@disk_space_default.setter
|
|
481
|
-
def disk_space_default(self, value: Optional[pulumi.Input[
|
|
487
|
+
def disk_space_default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
482
488
|
pulumi.set(self, "disk_space_default", value)
|
|
483
489
|
|
|
484
|
-
@property
|
|
490
|
+
@_builtins.property
|
|
485
491
|
@pulumi.getter(name="diskSpaceStep")
|
|
486
|
-
def disk_space_step(self) -> Optional[pulumi.Input[
|
|
492
|
+
def disk_space_step(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
487
493
|
"""
|
|
488
494
|
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
495
|
"""
|
|
490
496
|
return pulumi.get(self, "disk_space_step")
|
|
491
497
|
|
|
492
498
|
@disk_space_step.setter
|
|
493
|
-
def disk_space_step(self, value: Optional[pulumi.Input[
|
|
499
|
+
def disk_space_step(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
494
500
|
pulumi.set(self, "disk_space_step", value)
|
|
495
501
|
|
|
496
|
-
@property
|
|
502
|
+
@_builtins.property
|
|
497
503
|
@pulumi.getter(name="diskSpaceUsed")
|
|
498
504
|
@_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[
|
|
505
|
+
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
500
506
|
"""
|
|
501
507
|
Disk space that service is currently using
|
|
502
508
|
"""
|
|
503
509
|
return pulumi.get(self, "disk_space_used")
|
|
504
510
|
|
|
505
511
|
@disk_space_used.setter
|
|
506
|
-
def disk_space_used(self, value: Optional[pulumi.Input[
|
|
512
|
+
def disk_space_used(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
507
513
|
pulumi.set(self, "disk_space_used", value)
|
|
508
514
|
|
|
509
|
-
@property
|
|
515
|
+
@_builtins.property
|
|
510
516
|
@pulumi.getter
|
|
511
517
|
def m3aggregator(self) -> Optional[pulumi.Input['M3AggregatorM3aggregatorArgs']]:
|
|
512
518
|
"""
|
|
@@ -518,8 +524,9 @@ class _M3AggregatorState:
|
|
|
518
524
|
def m3aggregator(self, value: Optional[pulumi.Input['M3AggregatorM3aggregatorArgs']]):
|
|
519
525
|
pulumi.set(self, "m3aggregator", value)
|
|
520
526
|
|
|
521
|
-
@property
|
|
527
|
+
@_builtins.property
|
|
522
528
|
@pulumi.getter(name="m3aggregatorUserConfig")
|
|
529
|
+
@_utilities.deprecated("""This property is deprecated.""")
|
|
523
530
|
def m3aggregator_user_config(self) -> Optional[pulumi.Input['M3AggregatorM3aggregatorUserConfigArgs']]:
|
|
524
531
|
"""
|
|
525
532
|
M3aggregator user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
@@ -530,79 +537,79 @@ class _M3AggregatorState:
|
|
|
530
537
|
def m3aggregator_user_config(self, value: Optional[pulumi.Input['M3AggregatorM3aggregatorUserConfigArgs']]):
|
|
531
538
|
pulumi.set(self, "m3aggregator_user_config", value)
|
|
532
539
|
|
|
533
|
-
@property
|
|
540
|
+
@_builtins.property
|
|
534
541
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
535
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
542
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
536
543
|
"""
|
|
537
544
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
538
545
|
"""
|
|
539
546
|
return pulumi.get(self, "maintenance_window_dow")
|
|
540
547
|
|
|
541
548
|
@maintenance_window_dow.setter
|
|
542
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
549
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
543
550
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
544
551
|
|
|
545
|
-
@property
|
|
552
|
+
@_builtins.property
|
|
546
553
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
547
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
554
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
548
555
|
"""
|
|
549
556
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
550
557
|
"""
|
|
551
558
|
return pulumi.get(self, "maintenance_window_time")
|
|
552
559
|
|
|
553
560
|
@maintenance_window_time.setter
|
|
554
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
561
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
555
562
|
pulumi.set(self, "maintenance_window_time", value)
|
|
556
563
|
|
|
557
|
-
@property
|
|
564
|
+
@_builtins.property
|
|
558
565
|
@pulumi.getter
|
|
559
|
-
def plan(self) -> Optional[pulumi.Input[
|
|
566
|
+
def plan(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
560
567
|
"""
|
|
561
568
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
562
569
|
"""
|
|
563
570
|
return pulumi.get(self, "plan")
|
|
564
571
|
|
|
565
572
|
@plan.setter
|
|
566
|
-
def plan(self, value: Optional[pulumi.Input[
|
|
573
|
+
def plan(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
567
574
|
pulumi.set(self, "plan", value)
|
|
568
575
|
|
|
569
|
-
@property
|
|
576
|
+
@_builtins.property
|
|
570
577
|
@pulumi.getter
|
|
571
|
-
def project(self) -> Optional[pulumi.Input[
|
|
578
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
572
579
|
"""
|
|
573
580
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
574
581
|
"""
|
|
575
582
|
return pulumi.get(self, "project")
|
|
576
583
|
|
|
577
584
|
@project.setter
|
|
578
|
-
def project(self, value: Optional[pulumi.Input[
|
|
585
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
579
586
|
pulumi.set(self, "project", value)
|
|
580
587
|
|
|
581
|
-
@property
|
|
588
|
+
@_builtins.property
|
|
582
589
|
@pulumi.getter(name="projectVpcId")
|
|
583
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
590
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
584
591
|
"""
|
|
585
592
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
586
593
|
"""
|
|
587
594
|
return pulumi.get(self, "project_vpc_id")
|
|
588
595
|
|
|
589
596
|
@project_vpc_id.setter
|
|
590
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
597
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
591
598
|
pulumi.set(self, "project_vpc_id", value)
|
|
592
599
|
|
|
593
|
-
@property
|
|
600
|
+
@_builtins.property
|
|
594
601
|
@pulumi.getter(name="serviceHost")
|
|
595
|
-
def service_host(self) -> Optional[pulumi.Input[
|
|
602
|
+
def service_host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
596
603
|
"""
|
|
597
604
|
The hostname of the service.
|
|
598
605
|
"""
|
|
599
606
|
return pulumi.get(self, "service_host")
|
|
600
607
|
|
|
601
608
|
@service_host.setter
|
|
602
|
-
def service_host(self, value: Optional[pulumi.Input[
|
|
609
|
+
def service_host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
603
610
|
pulumi.set(self, "service_host", value)
|
|
604
611
|
|
|
605
|
-
@property
|
|
612
|
+
@_builtins.property
|
|
606
613
|
@pulumi.getter(name="serviceIntegrations")
|
|
607
614
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorServiceIntegrationArgs']]]]:
|
|
608
615
|
"""
|
|
@@ -614,100 +621,100 @@ class _M3AggregatorState:
|
|
|
614
621
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorServiceIntegrationArgs']]]]):
|
|
615
622
|
pulumi.set(self, "service_integrations", value)
|
|
616
623
|
|
|
617
|
-
@property
|
|
624
|
+
@_builtins.property
|
|
618
625
|
@pulumi.getter(name="serviceName")
|
|
619
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
626
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
620
627
|
"""
|
|
621
628
|
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
622
629
|
"""
|
|
623
630
|
return pulumi.get(self, "service_name")
|
|
624
631
|
|
|
625
632
|
@service_name.setter
|
|
626
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
633
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
627
634
|
pulumi.set(self, "service_name", value)
|
|
628
635
|
|
|
629
|
-
@property
|
|
636
|
+
@_builtins.property
|
|
630
637
|
@pulumi.getter(name="servicePassword")
|
|
631
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
638
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
632
639
|
"""
|
|
633
640
|
Password used for connecting to the service, if applicable
|
|
634
641
|
"""
|
|
635
642
|
return pulumi.get(self, "service_password")
|
|
636
643
|
|
|
637
644
|
@service_password.setter
|
|
638
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
645
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
639
646
|
pulumi.set(self, "service_password", value)
|
|
640
647
|
|
|
641
|
-
@property
|
|
648
|
+
@_builtins.property
|
|
642
649
|
@pulumi.getter(name="servicePort")
|
|
643
|
-
def service_port(self) -> Optional[pulumi.Input[
|
|
650
|
+
def service_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
644
651
|
"""
|
|
645
652
|
The port of the service
|
|
646
653
|
"""
|
|
647
654
|
return pulumi.get(self, "service_port")
|
|
648
655
|
|
|
649
656
|
@service_port.setter
|
|
650
|
-
def service_port(self, value: Optional[pulumi.Input[
|
|
657
|
+
def service_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
651
658
|
pulumi.set(self, "service_port", value)
|
|
652
659
|
|
|
653
|
-
@property
|
|
660
|
+
@_builtins.property
|
|
654
661
|
@pulumi.getter(name="serviceType")
|
|
655
|
-
def service_type(self) -> Optional[pulumi.Input[
|
|
662
|
+
def service_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
656
663
|
"""
|
|
657
664
|
Aiven internal service type code
|
|
658
665
|
"""
|
|
659
666
|
return pulumi.get(self, "service_type")
|
|
660
667
|
|
|
661
668
|
@service_type.setter
|
|
662
|
-
def service_type(self, value: Optional[pulumi.Input[
|
|
669
|
+
def service_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
663
670
|
pulumi.set(self, "service_type", value)
|
|
664
671
|
|
|
665
|
-
@property
|
|
672
|
+
@_builtins.property
|
|
666
673
|
@pulumi.getter(name="serviceUri")
|
|
667
|
-
def service_uri(self) -> Optional[pulumi.Input[
|
|
674
|
+
def service_uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
668
675
|
"""
|
|
669
676
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
670
677
|
"""
|
|
671
678
|
return pulumi.get(self, "service_uri")
|
|
672
679
|
|
|
673
680
|
@service_uri.setter
|
|
674
|
-
def service_uri(self, value: Optional[pulumi.Input[
|
|
681
|
+
def service_uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
675
682
|
pulumi.set(self, "service_uri", value)
|
|
676
683
|
|
|
677
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
678
685
|
@pulumi.getter(name="serviceUsername")
|
|
679
|
-
def service_username(self) -> Optional[pulumi.Input[
|
|
686
|
+
def service_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
680
687
|
"""
|
|
681
688
|
Username used for connecting to the service, if applicable
|
|
682
689
|
"""
|
|
683
690
|
return pulumi.get(self, "service_username")
|
|
684
691
|
|
|
685
692
|
@service_username.setter
|
|
686
|
-
def service_username(self, value: Optional[pulumi.Input[
|
|
693
|
+
def service_username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
687
694
|
pulumi.set(self, "service_username", value)
|
|
688
695
|
|
|
689
|
-
@property
|
|
696
|
+
@_builtins.property
|
|
690
697
|
@pulumi.getter
|
|
691
|
-
def state(self) -> Optional[pulumi.Input[
|
|
698
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
692
699
|
return pulumi.get(self, "state")
|
|
693
700
|
|
|
694
701
|
@state.setter
|
|
695
|
-
def state(self, value: Optional[pulumi.Input[
|
|
702
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
696
703
|
pulumi.set(self, "state", value)
|
|
697
704
|
|
|
698
|
-
@property
|
|
705
|
+
@_builtins.property
|
|
699
706
|
@pulumi.getter(name="staticIps")
|
|
700
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
707
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
701
708
|
"""
|
|
702
709
|
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
703
710
|
"""
|
|
704
711
|
return pulumi.get(self, "static_ips")
|
|
705
712
|
|
|
706
713
|
@static_ips.setter
|
|
707
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
714
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
708
715
|
pulumi.set(self, "static_ips", value)
|
|
709
716
|
|
|
710
|
-
@property
|
|
717
|
+
@_builtins.property
|
|
711
718
|
@pulumi.getter
|
|
712
719
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTagArgs']]]]:
|
|
713
720
|
"""
|
|
@@ -719,7 +726,7 @@ class _M3AggregatorState:
|
|
|
719
726
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTagArgs']]]]):
|
|
720
727
|
pulumi.set(self, "tags", value)
|
|
721
728
|
|
|
722
|
-
@property
|
|
729
|
+
@_builtins.property
|
|
723
730
|
@pulumi.getter(name="techEmails")
|
|
724
731
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTechEmailArgs']]]]:
|
|
725
732
|
"""
|
|
@@ -731,16 +738,16 @@ class _M3AggregatorState:
|
|
|
731
738
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['M3AggregatorTechEmailArgs']]]]):
|
|
732
739
|
pulumi.set(self, "tech_emails", value)
|
|
733
740
|
|
|
734
|
-
@property
|
|
741
|
+
@_builtins.property
|
|
735
742
|
@pulumi.getter(name="terminationProtection")
|
|
736
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
743
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
737
744
|
"""
|
|
738
745
|
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
739
746
|
"""
|
|
740
747
|
return pulumi.get(self, "termination_protection")
|
|
741
748
|
|
|
742
749
|
@termination_protection.setter
|
|
743
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
750
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
744
751
|
pulumi.set(self, "termination_protection", value)
|
|
745
752
|
|
|
746
753
|
|
|
@@ -750,22 +757,22 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
750
757
|
def __init__(__self__,
|
|
751
758
|
resource_name: str,
|
|
752
759
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
753
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
754
|
-
cloud_name: Optional[pulumi.Input[
|
|
755
|
-
disk_space: Optional[pulumi.Input[
|
|
760
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
761
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
762
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
756
763
|
m3aggregator: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']]] = None,
|
|
757
764
|
m3aggregator_user_config: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']]] = None,
|
|
758
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
759
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
760
|
-
plan: Optional[pulumi.Input[
|
|
761
|
-
project: Optional[pulumi.Input[
|
|
762
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
765
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
766
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
767
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
768
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
769
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
763
770
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorServiceIntegrationArgs', 'M3AggregatorServiceIntegrationArgsDict']]]]] = None,
|
|
764
|
-
service_name: Optional[pulumi.Input[
|
|
765
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
771
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
772
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
766
773
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTagArgs', 'M3AggregatorTagArgsDict']]]]] = None,
|
|
767
774
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTechEmailArgs', 'M3AggregatorTechEmailArgsDict']]]]] = None,
|
|
768
|
-
termination_protection: Optional[pulumi.Input[
|
|
775
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
769
776
|
__props__=None):
|
|
770
777
|
"""
|
|
771
778
|
The M3 Aggregator resource allows the creation and management of Aiven M3 Aggregator services.
|
|
@@ -796,22 +803,22 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
796
803
|
|
|
797
804
|
:param str resource_name: The name of the resource.
|
|
798
805
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
799
|
-
:param pulumi.Input[
|
|
800
|
-
:param pulumi.Input[
|
|
801
|
-
:param pulumi.Input[
|
|
806
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
807
|
+
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
808
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
802
809
|
:param pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']] m3aggregator: M3 Aggregator server provided values
|
|
803
810
|
:param pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']] m3aggregator_user_config: M3aggregator user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
804
|
-
:param pulumi.Input[
|
|
805
|
-
:param pulumi.Input[
|
|
806
|
-
:param pulumi.Input[
|
|
807
|
-
:param pulumi.Input[
|
|
808
|
-
:param pulumi.Input[
|
|
811
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
812
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
813
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
814
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
815
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
809
816
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorServiceIntegrationArgs', 'M3AggregatorServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
810
|
-
:param pulumi.Input[
|
|
811
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
817
|
+
: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.
|
|
818
|
+
: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
|
|
812
819
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTagArgs', 'M3AggregatorTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
813
820
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTechEmailArgs', 'M3AggregatorTechEmailArgsDict']]]] 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.
|
|
814
|
-
:param pulumi.Input[
|
|
821
|
+
: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.
|
|
815
822
|
"""
|
|
816
823
|
...
|
|
817
824
|
@overload
|
|
@@ -861,22 +868,22 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
861
868
|
def _internal_init(__self__,
|
|
862
869
|
resource_name: str,
|
|
863
870
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
864
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
865
|
-
cloud_name: Optional[pulumi.Input[
|
|
866
|
-
disk_space: Optional[pulumi.Input[
|
|
871
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
872
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
873
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
867
874
|
m3aggregator: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']]] = None,
|
|
868
875
|
m3aggregator_user_config: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']]] = None,
|
|
869
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
870
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
871
|
-
plan: Optional[pulumi.Input[
|
|
872
|
-
project: Optional[pulumi.Input[
|
|
873
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
876
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
877
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
878
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
879
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
880
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
874
881
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorServiceIntegrationArgs', 'M3AggregatorServiceIntegrationArgsDict']]]]] = None,
|
|
875
|
-
service_name: Optional[pulumi.Input[
|
|
876
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
882
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
883
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
877
884
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTagArgs', 'M3AggregatorTagArgsDict']]]]] = None,
|
|
878
885
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTechEmailArgs', 'M3AggregatorTechEmailArgsDict']]]]] = None,
|
|
879
|
-
termination_protection: Optional[pulumi.Input[
|
|
886
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
880
887
|
__props__=None):
|
|
881
888
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
882
889
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -932,34 +939,34 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
932
939
|
def get(resource_name: str,
|
|
933
940
|
id: pulumi.Input[str],
|
|
934
941
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
935
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
936
|
-
cloud_name: Optional[pulumi.Input[
|
|
942
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
943
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
937
944
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorComponentArgs', 'M3AggregatorComponentArgsDict']]]]] = None,
|
|
938
|
-
disk_space: Optional[pulumi.Input[
|
|
939
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
940
|
-
disk_space_default: Optional[pulumi.Input[
|
|
941
|
-
disk_space_step: Optional[pulumi.Input[
|
|
942
|
-
disk_space_used: Optional[pulumi.Input[
|
|
945
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
946
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
947
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
948
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
949
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
943
950
|
m3aggregator: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']]] = None,
|
|
944
951
|
m3aggregator_user_config: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']]] = None,
|
|
945
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
946
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
947
|
-
plan: Optional[pulumi.Input[
|
|
948
|
-
project: Optional[pulumi.Input[
|
|
949
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
950
|
-
service_host: Optional[pulumi.Input[
|
|
952
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
953
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
954
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
955
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
956
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
957
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
951
958
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorServiceIntegrationArgs', 'M3AggregatorServiceIntegrationArgsDict']]]]] = None,
|
|
952
|
-
service_name: Optional[pulumi.Input[
|
|
953
|
-
service_password: Optional[pulumi.Input[
|
|
954
|
-
service_port: Optional[pulumi.Input[
|
|
955
|
-
service_type: Optional[pulumi.Input[
|
|
956
|
-
service_uri: Optional[pulumi.Input[
|
|
957
|
-
service_username: Optional[pulumi.Input[
|
|
958
|
-
state: Optional[pulumi.Input[
|
|
959
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
959
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
960
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
961
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
962
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
963
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
964
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
965
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
966
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
960
967
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTagArgs', 'M3AggregatorTagArgsDict']]]]] = None,
|
|
961
968
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTechEmailArgs', 'M3AggregatorTechEmailArgsDict']]]]] = None,
|
|
962
|
-
termination_protection: Optional[pulumi.Input[
|
|
969
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None) -> 'M3Aggregator':
|
|
963
970
|
"""
|
|
964
971
|
Get an existing M3Aggregator resource's state with the given name, id, and optional extra
|
|
965
972
|
properties used to qualify the lookup.
|
|
@@ -967,33 +974,33 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
967
974
|
:param str resource_name: The unique name of the resulting resource.
|
|
968
975
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
969
976
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
970
|
-
:param pulumi.Input[
|
|
971
|
-
:param pulumi.Input[
|
|
977
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
978
|
+
: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.
|
|
972
979
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorComponentArgs', 'M3AggregatorComponentArgsDict']]]] components: Service component information objects
|
|
973
|
-
:param pulumi.Input[
|
|
974
|
-
:param pulumi.Input[
|
|
975
|
-
:param pulumi.Input[
|
|
976
|
-
:param pulumi.Input[
|
|
977
|
-
:param pulumi.Input[
|
|
980
|
+
: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.
|
|
981
|
+
: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.
|
|
982
|
+
: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`
|
|
983
|
+
: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.
|
|
984
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
978
985
|
:param pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']] m3aggregator: M3 Aggregator server provided values
|
|
979
986
|
:param pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']] m3aggregator_user_config: M3aggregator user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
980
|
-
:param pulumi.Input[
|
|
981
|
-
:param pulumi.Input[
|
|
982
|
-
:param pulumi.Input[
|
|
983
|
-
:param pulumi.Input[
|
|
984
|
-
:param pulumi.Input[
|
|
985
|
-
:param pulumi.Input[
|
|
987
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
988
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
989
|
+
: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).
|
|
990
|
+
: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.
|
|
991
|
+
:param pulumi.Input[_builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
992
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
986
993
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorServiceIntegrationArgs', 'M3AggregatorServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
987
|
-
:param pulumi.Input[
|
|
988
|
-
:param pulumi.Input[
|
|
989
|
-
:param pulumi.Input[
|
|
990
|
-
:param pulumi.Input[
|
|
991
|
-
:param pulumi.Input[
|
|
992
|
-
:param pulumi.Input[
|
|
993
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
994
|
+
: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.
|
|
995
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
996
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
997
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
998
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
999
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1000
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
994
1001
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTagArgs', 'M3AggregatorTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
995
1002
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTechEmailArgs', 'M3AggregatorTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
996
|
-
:param pulumi.Input[
|
|
1003
|
+
:param pulumi.Input[_builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
997
1004
|
"""
|
|
998
1005
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
999
1006
|
|
|
@@ -1029,23 +1036,23 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1029
1036
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
1030
1037
|
return M3Aggregator(resource_name, opts=opts, __props__=__props__)
|
|
1031
1038
|
|
|
1032
|
-
@property
|
|
1039
|
+
@_builtins.property
|
|
1033
1040
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1034
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1041
|
+
def additional_disk_space(self) -> pulumi.Output[_builtins.str]:
|
|
1035
1042
|
"""
|
|
1036
1043
|
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
1037
1044
|
"""
|
|
1038
1045
|
return pulumi.get(self, "additional_disk_space")
|
|
1039
1046
|
|
|
1040
|
-
@property
|
|
1047
|
+
@_builtins.property
|
|
1041
1048
|
@pulumi.getter(name="cloudName")
|
|
1042
|
-
def cloud_name(self) -> pulumi.Output[Optional[
|
|
1049
|
+
def cloud_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1043
1050
|
"""
|
|
1044
1051
|
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.
|
|
1045
1052
|
"""
|
|
1046
1053
|
return pulumi.get(self, "cloud_name")
|
|
1047
1054
|
|
|
1048
|
-
@property
|
|
1055
|
+
@_builtins.property
|
|
1049
1056
|
@pulumi.getter
|
|
1050
1057
|
def components(self) -> pulumi.Output[Sequence['outputs.M3AggregatorComponent']]:
|
|
1051
1058
|
"""
|
|
@@ -1053,49 +1060,49 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1053
1060
|
"""
|
|
1054
1061
|
return pulumi.get(self, "components")
|
|
1055
1062
|
|
|
1056
|
-
@property
|
|
1063
|
+
@_builtins.property
|
|
1057
1064
|
@pulumi.getter(name="diskSpace")
|
|
1058
1065
|
@_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.""")
|
|
1059
|
-
def disk_space(self) -> pulumi.Output[Optional[
|
|
1066
|
+
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1060
1067
|
"""
|
|
1061
1068
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1062
1069
|
"""
|
|
1063
1070
|
return pulumi.get(self, "disk_space")
|
|
1064
1071
|
|
|
1065
|
-
@property
|
|
1072
|
+
@_builtins.property
|
|
1066
1073
|
@pulumi.getter(name="diskSpaceCap")
|
|
1067
|
-
def disk_space_cap(self) -> pulumi.Output[
|
|
1074
|
+
def disk_space_cap(self) -> pulumi.Output[_builtins.str]:
|
|
1068
1075
|
"""
|
|
1069
1076
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1070
1077
|
"""
|
|
1071
1078
|
return pulumi.get(self, "disk_space_cap")
|
|
1072
1079
|
|
|
1073
|
-
@property
|
|
1080
|
+
@_builtins.property
|
|
1074
1081
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1075
|
-
def disk_space_default(self) -> pulumi.Output[
|
|
1082
|
+
def disk_space_default(self) -> pulumi.Output[_builtins.str]:
|
|
1076
1083
|
"""
|
|
1077
1084
|
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`
|
|
1078
1085
|
"""
|
|
1079
1086
|
return pulumi.get(self, "disk_space_default")
|
|
1080
1087
|
|
|
1081
|
-
@property
|
|
1088
|
+
@_builtins.property
|
|
1082
1089
|
@pulumi.getter(name="diskSpaceStep")
|
|
1083
|
-
def disk_space_step(self) -> pulumi.Output[
|
|
1090
|
+
def disk_space_step(self) -> pulumi.Output[_builtins.str]:
|
|
1084
1091
|
"""
|
|
1085
1092
|
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.
|
|
1086
1093
|
"""
|
|
1087
1094
|
return pulumi.get(self, "disk_space_step")
|
|
1088
1095
|
|
|
1089
|
-
@property
|
|
1096
|
+
@_builtins.property
|
|
1090
1097
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1091
1098
|
@_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.""")
|
|
1092
|
-
def disk_space_used(self) -> pulumi.Output[
|
|
1099
|
+
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1093
1100
|
"""
|
|
1094
1101
|
Disk space that service is currently using
|
|
1095
1102
|
"""
|
|
1096
1103
|
return pulumi.get(self, "disk_space_used")
|
|
1097
1104
|
|
|
1098
|
-
@property
|
|
1105
|
+
@_builtins.property
|
|
1099
1106
|
@pulumi.getter
|
|
1100
1107
|
def m3aggregator(self) -> pulumi.Output['outputs.M3AggregatorM3aggregator']:
|
|
1101
1108
|
"""
|
|
@@ -1103,63 +1110,64 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1103
1110
|
"""
|
|
1104
1111
|
return pulumi.get(self, "m3aggregator")
|
|
1105
1112
|
|
|
1106
|
-
@property
|
|
1113
|
+
@_builtins.property
|
|
1107
1114
|
@pulumi.getter(name="m3aggregatorUserConfig")
|
|
1115
|
+
@_utilities.deprecated("""This property is deprecated.""")
|
|
1108
1116
|
def m3aggregator_user_config(self) -> pulumi.Output[Optional['outputs.M3AggregatorM3aggregatorUserConfig']]:
|
|
1109
1117
|
"""
|
|
1110
1118
|
M3aggregator user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1111
1119
|
"""
|
|
1112
1120
|
return pulumi.get(self, "m3aggregator_user_config")
|
|
1113
1121
|
|
|
1114
|
-
@property
|
|
1122
|
+
@_builtins.property
|
|
1115
1123
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1116
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[
|
|
1124
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1117
1125
|
"""
|
|
1118
1126
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1119
1127
|
"""
|
|
1120
1128
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1121
1129
|
|
|
1122
|
-
@property
|
|
1130
|
+
@_builtins.property
|
|
1123
1131
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1124
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[
|
|
1132
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1125
1133
|
"""
|
|
1126
1134
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1127
1135
|
"""
|
|
1128
1136
|
return pulumi.get(self, "maintenance_window_time")
|
|
1129
1137
|
|
|
1130
|
-
@property
|
|
1138
|
+
@_builtins.property
|
|
1131
1139
|
@pulumi.getter
|
|
1132
|
-
def plan(self) -> pulumi.Output[
|
|
1140
|
+
def plan(self) -> pulumi.Output[_builtins.str]:
|
|
1133
1141
|
"""
|
|
1134
1142
|
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).
|
|
1135
1143
|
"""
|
|
1136
1144
|
return pulumi.get(self, "plan")
|
|
1137
1145
|
|
|
1138
|
-
@property
|
|
1146
|
+
@_builtins.property
|
|
1139
1147
|
@pulumi.getter
|
|
1140
|
-
def project(self) -> pulumi.Output[
|
|
1148
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
|
1141
1149
|
"""
|
|
1142
1150
|
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.
|
|
1143
1151
|
"""
|
|
1144
1152
|
return pulumi.get(self, "project")
|
|
1145
1153
|
|
|
1146
|
-
@property
|
|
1154
|
+
@_builtins.property
|
|
1147
1155
|
@pulumi.getter(name="projectVpcId")
|
|
1148
|
-
def project_vpc_id(self) -> pulumi.Output[Optional[
|
|
1156
|
+
def project_vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1149
1157
|
"""
|
|
1150
1158
|
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
1151
1159
|
"""
|
|
1152
1160
|
return pulumi.get(self, "project_vpc_id")
|
|
1153
1161
|
|
|
1154
|
-
@property
|
|
1162
|
+
@_builtins.property
|
|
1155
1163
|
@pulumi.getter(name="serviceHost")
|
|
1156
|
-
def service_host(self) -> pulumi.Output[
|
|
1164
|
+
def service_host(self) -> pulumi.Output[_builtins.str]:
|
|
1157
1165
|
"""
|
|
1158
1166
|
The hostname of the service.
|
|
1159
1167
|
"""
|
|
1160
1168
|
return pulumi.get(self, "service_host")
|
|
1161
1169
|
|
|
1162
|
-
@property
|
|
1170
|
+
@_builtins.property
|
|
1163
1171
|
@pulumi.getter(name="serviceIntegrations")
|
|
1164
1172
|
def service_integrations(self) -> pulumi.Output[Sequence['outputs.M3AggregatorServiceIntegration']]:
|
|
1165
1173
|
"""
|
|
@@ -1167,68 +1175,68 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1167
1175
|
"""
|
|
1168
1176
|
return pulumi.get(self, "service_integrations")
|
|
1169
1177
|
|
|
1170
|
-
@property
|
|
1178
|
+
@_builtins.property
|
|
1171
1179
|
@pulumi.getter(name="serviceName")
|
|
1172
|
-
def service_name(self) -> pulumi.Output[
|
|
1180
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
1173
1181
|
"""
|
|
1174
1182
|
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.
|
|
1175
1183
|
"""
|
|
1176
1184
|
return pulumi.get(self, "service_name")
|
|
1177
1185
|
|
|
1178
|
-
@property
|
|
1186
|
+
@_builtins.property
|
|
1179
1187
|
@pulumi.getter(name="servicePassword")
|
|
1180
|
-
def service_password(self) -> pulumi.Output[
|
|
1188
|
+
def service_password(self) -> pulumi.Output[_builtins.str]:
|
|
1181
1189
|
"""
|
|
1182
1190
|
Password used for connecting to the service, if applicable
|
|
1183
1191
|
"""
|
|
1184
1192
|
return pulumi.get(self, "service_password")
|
|
1185
1193
|
|
|
1186
|
-
@property
|
|
1194
|
+
@_builtins.property
|
|
1187
1195
|
@pulumi.getter(name="servicePort")
|
|
1188
|
-
def service_port(self) -> pulumi.Output[
|
|
1196
|
+
def service_port(self) -> pulumi.Output[_builtins.int]:
|
|
1189
1197
|
"""
|
|
1190
1198
|
The port of the service
|
|
1191
1199
|
"""
|
|
1192
1200
|
return pulumi.get(self, "service_port")
|
|
1193
1201
|
|
|
1194
|
-
@property
|
|
1202
|
+
@_builtins.property
|
|
1195
1203
|
@pulumi.getter(name="serviceType")
|
|
1196
|
-
def service_type(self) -> pulumi.Output[
|
|
1204
|
+
def service_type(self) -> pulumi.Output[_builtins.str]:
|
|
1197
1205
|
"""
|
|
1198
1206
|
Aiven internal service type code
|
|
1199
1207
|
"""
|
|
1200
1208
|
return pulumi.get(self, "service_type")
|
|
1201
1209
|
|
|
1202
|
-
@property
|
|
1210
|
+
@_builtins.property
|
|
1203
1211
|
@pulumi.getter(name="serviceUri")
|
|
1204
|
-
def service_uri(self) -> pulumi.Output[
|
|
1212
|
+
def service_uri(self) -> pulumi.Output[_builtins.str]:
|
|
1205
1213
|
"""
|
|
1206
1214
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1207
1215
|
"""
|
|
1208
1216
|
return pulumi.get(self, "service_uri")
|
|
1209
1217
|
|
|
1210
|
-
@property
|
|
1218
|
+
@_builtins.property
|
|
1211
1219
|
@pulumi.getter(name="serviceUsername")
|
|
1212
|
-
def service_username(self) -> pulumi.Output[
|
|
1220
|
+
def service_username(self) -> pulumi.Output[_builtins.str]:
|
|
1213
1221
|
"""
|
|
1214
1222
|
Username used for connecting to the service, if applicable
|
|
1215
1223
|
"""
|
|
1216
1224
|
return pulumi.get(self, "service_username")
|
|
1217
1225
|
|
|
1218
|
-
@property
|
|
1226
|
+
@_builtins.property
|
|
1219
1227
|
@pulumi.getter
|
|
1220
|
-
def state(self) -> pulumi.Output[
|
|
1228
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
1221
1229
|
return pulumi.get(self, "state")
|
|
1222
1230
|
|
|
1223
|
-
@property
|
|
1231
|
+
@_builtins.property
|
|
1224
1232
|
@pulumi.getter(name="staticIps")
|
|
1225
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[
|
|
1233
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1226
1234
|
"""
|
|
1227
1235
|
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
|
|
1228
1236
|
"""
|
|
1229
1237
|
return pulumi.get(self, "static_ips")
|
|
1230
1238
|
|
|
1231
|
-
@property
|
|
1239
|
+
@_builtins.property
|
|
1232
1240
|
@pulumi.getter
|
|
1233
1241
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.M3AggregatorTag']]]:
|
|
1234
1242
|
"""
|
|
@@ -1236,7 +1244,7 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1236
1244
|
"""
|
|
1237
1245
|
return pulumi.get(self, "tags")
|
|
1238
1246
|
|
|
1239
|
-
@property
|
|
1247
|
+
@_builtins.property
|
|
1240
1248
|
@pulumi.getter(name="techEmails")
|
|
1241
1249
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.M3AggregatorTechEmail']]]:
|
|
1242
1250
|
"""
|
|
@@ -1244,9 +1252,9 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1244
1252
|
"""
|
|
1245
1253
|
return pulumi.get(self, "tech_emails")
|
|
1246
1254
|
|
|
1247
|
-
@property
|
|
1255
|
+
@_builtins.property
|
|
1248
1256
|
@pulumi.getter(name="terminationProtection")
|
|
1249
|
-
def termination_protection(self) -> pulumi.Output[Optional[
|
|
1257
|
+
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1250
1258
|
"""
|
|
1251
1259
|
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.
|
|
1252
1260
|
"""
|