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/alloydbomni.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,42 +21,42 @@ __all__ = ['AlloydbomniArgs', 'Alloydbomni']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class AlloydbomniArgs:
|
|
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[
|
|
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,
|
|
29
28
|
alloydbomni: Optional[pulumi.Input['AlloydbomniAlloydbomniArgs']] = None,
|
|
30
29
|
alloydbomni_user_config: Optional[pulumi.Input['AlloydbomniAlloydbomniUserConfigArgs']] = None,
|
|
31
|
-
cloud_name: Optional[pulumi.Input[
|
|
32
|
-
disk_space: Optional[pulumi.Input[
|
|
33
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
34
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
35
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
36
|
-
service_account_credentials: Optional[pulumi.Input[
|
|
30
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
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,
|
|
35
|
+
service_account_credentials: Optional[pulumi.Input[_builtins.str]] = None,
|
|
37
36
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]]] = None,
|
|
38
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
37
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
39
38
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]]] = None,
|
|
40
39
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTechEmailArgs']]]] = None,
|
|
41
|
-
termination_protection: Optional[pulumi.Input[
|
|
40
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
42
41
|
"""
|
|
43
42
|
The set of arguments for constructing a Alloydbomni resource.
|
|
44
|
-
:param pulumi.Input[
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[
|
|
47
|
-
:param pulumi.Input[
|
|
43
|
+
:param pulumi.Input[_builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
44
|
+
:param pulumi.Input[_builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
45
|
+
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
+
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
48
47
|
:param pulumi.Input['AlloydbomniAlloydbomniArgs'] alloydbomni: Values provided by the AlloyDB Omni server.
|
|
49
48
|
:param pulumi.Input['AlloydbomniAlloydbomniUserConfigArgs'] alloydbomni_user_config: Alloydbomni user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
50
|
-
:param pulumi.Input[
|
|
51
|
-
:param pulumi.Input[
|
|
52
|
-
:param pulumi.Input[
|
|
53
|
-
:param pulumi.Input[
|
|
54
|
-
:param pulumi.Input[
|
|
55
|
-
:param pulumi.Input[
|
|
49
|
+
: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.
|
|
50
|
+
: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.
|
|
51
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
52
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
53
|
+
: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
|
+
:param pulumi.Input[_builtins.str] service_account_credentials: Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
56
55
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
57
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
56
|
+
: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
|
|
58
57
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
59
58
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniTechEmailArgs']]] 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.
|
|
60
|
-
:param pulumi.Input[
|
|
59
|
+
: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.
|
|
61
60
|
"""
|
|
62
61
|
pulumi.set(__self__, "plan", plan)
|
|
63
62
|
pulumi.set(__self__, "project", project)
|
|
@@ -94,55 +93,55 @@ class AlloydbomniArgs:
|
|
|
94
93
|
if termination_protection is not None:
|
|
95
94
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
96
95
|
|
|
97
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
98
97
|
@pulumi.getter
|
|
99
|
-
def plan(self) -> pulumi.Input[
|
|
98
|
+
def plan(self) -> pulumi.Input[_builtins.str]:
|
|
100
99
|
"""
|
|
101
100
|
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).
|
|
102
101
|
"""
|
|
103
102
|
return pulumi.get(self, "plan")
|
|
104
103
|
|
|
105
104
|
@plan.setter
|
|
106
|
-
def plan(self, value: pulumi.Input[
|
|
105
|
+
def plan(self, value: pulumi.Input[_builtins.str]):
|
|
107
106
|
pulumi.set(self, "plan", value)
|
|
108
107
|
|
|
109
|
-
@property
|
|
108
|
+
@_builtins.property
|
|
110
109
|
@pulumi.getter
|
|
111
|
-
def project(self) -> pulumi.Input[
|
|
110
|
+
def project(self) -> pulumi.Input[_builtins.str]:
|
|
112
111
|
"""
|
|
113
112
|
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.
|
|
114
113
|
"""
|
|
115
114
|
return pulumi.get(self, "project")
|
|
116
115
|
|
|
117
116
|
@project.setter
|
|
118
|
-
def project(self, value: pulumi.Input[
|
|
117
|
+
def project(self, value: pulumi.Input[_builtins.str]):
|
|
119
118
|
pulumi.set(self, "project", value)
|
|
120
119
|
|
|
121
|
-
@property
|
|
120
|
+
@_builtins.property
|
|
122
121
|
@pulumi.getter(name="serviceName")
|
|
123
|
-
def service_name(self) -> pulumi.Input[
|
|
122
|
+
def service_name(self) -> pulumi.Input[_builtins.str]:
|
|
124
123
|
"""
|
|
125
124
|
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.
|
|
126
125
|
"""
|
|
127
126
|
return pulumi.get(self, "service_name")
|
|
128
127
|
|
|
129
128
|
@service_name.setter
|
|
130
|
-
def service_name(self, value: pulumi.Input[
|
|
129
|
+
def service_name(self, value: pulumi.Input[_builtins.str]):
|
|
131
130
|
pulumi.set(self, "service_name", value)
|
|
132
131
|
|
|
133
|
-
@property
|
|
132
|
+
@_builtins.property
|
|
134
133
|
@pulumi.getter(name="additionalDiskSpace")
|
|
135
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
134
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
136
135
|
"""
|
|
137
136
|
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.
|
|
138
137
|
"""
|
|
139
138
|
return pulumi.get(self, "additional_disk_space")
|
|
140
139
|
|
|
141
140
|
@additional_disk_space.setter
|
|
142
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
141
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
143
142
|
pulumi.set(self, "additional_disk_space", value)
|
|
144
143
|
|
|
145
|
-
@property
|
|
144
|
+
@_builtins.property
|
|
146
145
|
@pulumi.getter
|
|
147
146
|
def alloydbomni(self) -> Optional[pulumi.Input['AlloydbomniAlloydbomniArgs']]:
|
|
148
147
|
"""
|
|
@@ -154,7 +153,7 @@ class AlloydbomniArgs:
|
|
|
154
153
|
def alloydbomni(self, value: Optional[pulumi.Input['AlloydbomniAlloydbomniArgs']]):
|
|
155
154
|
pulumi.set(self, "alloydbomni", value)
|
|
156
155
|
|
|
157
|
-
@property
|
|
156
|
+
@_builtins.property
|
|
158
157
|
@pulumi.getter(name="alloydbomniUserConfig")
|
|
159
158
|
def alloydbomni_user_config(self) -> Optional[pulumi.Input['AlloydbomniAlloydbomniUserConfigArgs']]:
|
|
160
159
|
"""
|
|
@@ -166,80 +165,80 @@ class AlloydbomniArgs:
|
|
|
166
165
|
def alloydbomni_user_config(self, value: Optional[pulumi.Input['AlloydbomniAlloydbomniUserConfigArgs']]):
|
|
167
166
|
pulumi.set(self, "alloydbomni_user_config", value)
|
|
168
167
|
|
|
169
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
170
169
|
@pulumi.getter(name="cloudName")
|
|
171
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
170
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
172
171
|
"""
|
|
173
172
|
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.
|
|
174
173
|
"""
|
|
175
174
|
return pulumi.get(self, "cloud_name")
|
|
176
175
|
|
|
177
176
|
@cloud_name.setter
|
|
178
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
177
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
179
178
|
pulumi.set(self, "cloud_name", value)
|
|
180
179
|
|
|
181
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
182
181
|
@pulumi.getter(name="diskSpace")
|
|
183
182
|
@_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.""")
|
|
184
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
183
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
185
184
|
"""
|
|
186
185
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
187
186
|
"""
|
|
188
187
|
return pulumi.get(self, "disk_space")
|
|
189
188
|
|
|
190
189
|
@disk_space.setter
|
|
191
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
190
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
192
191
|
pulumi.set(self, "disk_space", value)
|
|
193
192
|
|
|
194
|
-
@property
|
|
193
|
+
@_builtins.property
|
|
195
194
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
196
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
195
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
197
196
|
"""
|
|
198
197
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
199
198
|
"""
|
|
200
199
|
return pulumi.get(self, "maintenance_window_dow")
|
|
201
200
|
|
|
202
201
|
@maintenance_window_dow.setter
|
|
203
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
202
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
204
203
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
205
204
|
|
|
206
|
-
@property
|
|
205
|
+
@_builtins.property
|
|
207
206
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
208
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
207
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
209
208
|
"""
|
|
210
209
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
211
210
|
"""
|
|
212
211
|
return pulumi.get(self, "maintenance_window_time")
|
|
213
212
|
|
|
214
213
|
@maintenance_window_time.setter
|
|
215
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
214
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
216
215
|
pulumi.set(self, "maintenance_window_time", value)
|
|
217
216
|
|
|
218
|
-
@property
|
|
217
|
+
@_builtins.property
|
|
219
218
|
@pulumi.getter(name="projectVpcId")
|
|
220
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
219
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
221
220
|
"""
|
|
222
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.
|
|
223
222
|
"""
|
|
224
223
|
return pulumi.get(self, "project_vpc_id")
|
|
225
224
|
|
|
226
225
|
@project_vpc_id.setter
|
|
227
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
226
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
228
227
|
pulumi.set(self, "project_vpc_id", value)
|
|
229
228
|
|
|
230
|
-
@property
|
|
229
|
+
@_builtins.property
|
|
231
230
|
@pulumi.getter(name="serviceAccountCredentials")
|
|
232
|
-
def service_account_credentials(self) -> Optional[pulumi.Input[
|
|
231
|
+
def service_account_credentials(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
233
232
|
"""
|
|
234
233
|
Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
235
234
|
"""
|
|
236
235
|
return pulumi.get(self, "service_account_credentials")
|
|
237
236
|
|
|
238
237
|
@service_account_credentials.setter
|
|
239
|
-
def service_account_credentials(self, value: Optional[pulumi.Input[
|
|
238
|
+
def service_account_credentials(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
240
239
|
pulumi.set(self, "service_account_credentials", value)
|
|
241
240
|
|
|
242
|
-
@property
|
|
241
|
+
@_builtins.property
|
|
243
242
|
@pulumi.getter(name="serviceIntegrations")
|
|
244
243
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]]]:
|
|
245
244
|
"""
|
|
@@ -251,19 +250,19 @@ class AlloydbomniArgs:
|
|
|
251
250
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]]]):
|
|
252
251
|
pulumi.set(self, "service_integrations", value)
|
|
253
252
|
|
|
254
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
255
254
|
@pulumi.getter(name="staticIps")
|
|
256
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
255
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
257
256
|
"""
|
|
258
257
|
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
|
|
259
258
|
"""
|
|
260
259
|
return pulumi.get(self, "static_ips")
|
|
261
260
|
|
|
262
261
|
@static_ips.setter
|
|
263
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
262
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
264
263
|
pulumi.set(self, "static_ips", value)
|
|
265
264
|
|
|
266
|
-
@property
|
|
265
|
+
@_builtins.property
|
|
267
266
|
@pulumi.getter
|
|
268
267
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]]]:
|
|
269
268
|
"""
|
|
@@ -275,7 +274,7 @@ class AlloydbomniArgs:
|
|
|
275
274
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]]]):
|
|
276
275
|
pulumi.set(self, "tags", value)
|
|
277
276
|
|
|
278
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
279
278
|
@pulumi.getter(name="techEmails")
|
|
280
279
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTechEmailArgs']]]]:
|
|
281
280
|
"""
|
|
@@ -287,81 +286,81 @@ class AlloydbomniArgs:
|
|
|
287
286
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTechEmailArgs']]]]):
|
|
288
287
|
pulumi.set(self, "tech_emails", value)
|
|
289
288
|
|
|
290
|
-
@property
|
|
289
|
+
@_builtins.property
|
|
291
290
|
@pulumi.getter(name="terminationProtection")
|
|
292
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
291
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
293
292
|
"""
|
|
294
293
|
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.
|
|
295
294
|
"""
|
|
296
295
|
return pulumi.get(self, "termination_protection")
|
|
297
296
|
|
|
298
297
|
@termination_protection.setter
|
|
299
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
298
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
300
299
|
pulumi.set(self, "termination_protection", value)
|
|
301
300
|
|
|
302
301
|
|
|
303
302
|
@pulumi.input_type
|
|
304
303
|
class _AlloydbomniState:
|
|
305
304
|
def __init__(__self__, *,
|
|
306
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
305
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
306
|
alloydbomni: Optional[pulumi.Input['AlloydbomniAlloydbomniArgs']] = None,
|
|
308
307
|
alloydbomni_user_config: Optional[pulumi.Input['AlloydbomniAlloydbomniUserConfigArgs']] = None,
|
|
309
|
-
cloud_name: Optional[pulumi.Input[
|
|
308
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
309
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniComponentArgs']]]] = None,
|
|
311
|
-
disk_space: Optional[pulumi.Input[
|
|
312
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
313
|
-
disk_space_default: Optional[pulumi.Input[
|
|
314
|
-
disk_space_step: Optional[pulumi.Input[
|
|
315
|
-
disk_space_used: Optional[pulumi.Input[
|
|
316
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
317
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
318
|
-
plan: Optional[pulumi.Input[
|
|
319
|
-
project: Optional[pulumi.Input[
|
|
320
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
321
|
-
service_account_credentials: Optional[pulumi.Input[
|
|
322
|
-
service_host: Optional[pulumi.Input[
|
|
310
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
311
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
312
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
313
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
314
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
315
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
316
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
318
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
319
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
320
|
+
service_account_credentials: Optional[pulumi.Input[_builtins.str]] = None,
|
|
321
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
323
322
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]]] = None,
|
|
324
|
-
service_name: Optional[pulumi.Input[
|
|
325
|
-
service_password: Optional[pulumi.Input[
|
|
326
|
-
service_port: Optional[pulumi.Input[
|
|
327
|
-
service_type: Optional[pulumi.Input[
|
|
328
|
-
service_uri: Optional[pulumi.Input[
|
|
329
|
-
service_username: Optional[pulumi.Input[
|
|
330
|
-
state: Optional[pulumi.Input[
|
|
331
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
323
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
324
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
325
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
326
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
327
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
328
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
329
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
330
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
332
331
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]]] = None,
|
|
333
332
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTechEmailArgs']]]] = None,
|
|
334
|
-
termination_protection: Optional[pulumi.Input[
|
|
333
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
335
334
|
"""
|
|
336
335
|
Input properties used for looking up and filtering Alloydbomni resources.
|
|
337
|
-
:param pulumi.Input[
|
|
336
|
+
: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.
|
|
338
337
|
:param pulumi.Input['AlloydbomniAlloydbomniArgs'] alloydbomni: Values provided by the AlloyDB Omni server.
|
|
339
338
|
:param pulumi.Input['AlloydbomniAlloydbomniUserConfigArgs'] alloydbomni_user_config: Alloydbomni user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
340
|
-
:param pulumi.Input[
|
|
339
|
+
: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.
|
|
341
340
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniComponentArgs']]] components: Service component information objects
|
|
342
|
-
:param pulumi.Input[
|
|
343
|
-
:param pulumi.Input[
|
|
344
|
-
:param pulumi.Input[
|
|
345
|
-
:param pulumi.Input[
|
|
346
|
-
:param pulumi.Input[
|
|
347
|
-
:param pulumi.Input[
|
|
348
|
-
:param pulumi.Input[
|
|
349
|
-
:param pulumi.Input[
|
|
350
|
-
:param pulumi.Input[
|
|
351
|
-
:param pulumi.Input[
|
|
352
|
-
:param pulumi.Input[
|
|
353
|
-
:param pulumi.Input[
|
|
341
|
+
: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.
|
|
342
|
+
: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.
|
|
343
|
+
: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`
|
|
344
|
+
: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.
|
|
345
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
346
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
347
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
348
|
+
: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).
|
|
349
|
+
: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.
|
|
350
|
+
: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.
|
|
351
|
+
:param pulumi.Input[_builtins.str] service_account_credentials: Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
352
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
354
353
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
355
|
-
:param pulumi.Input[
|
|
356
|
-
:param pulumi.Input[
|
|
357
|
-
:param pulumi.Input[
|
|
358
|
-
:param pulumi.Input[
|
|
359
|
-
:param pulumi.Input[
|
|
360
|
-
:param pulumi.Input[
|
|
361
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
354
|
+
: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.
|
|
355
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
356
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
357
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
358
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
359
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
360
|
+
: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
|
|
362
361
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
363
362
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniTechEmailArgs']]] 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.
|
|
364
|
-
:param pulumi.Input[
|
|
363
|
+
: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.
|
|
365
364
|
"""
|
|
366
365
|
if additional_disk_space is not None:
|
|
367
366
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -428,19 +427,19 @@ class _AlloydbomniState:
|
|
|
428
427
|
if termination_protection is not None:
|
|
429
428
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
430
429
|
|
|
431
|
-
@property
|
|
430
|
+
@_builtins.property
|
|
432
431
|
@pulumi.getter(name="additionalDiskSpace")
|
|
433
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[
|
|
432
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
434
433
|
"""
|
|
435
434
|
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.
|
|
436
435
|
"""
|
|
437
436
|
return pulumi.get(self, "additional_disk_space")
|
|
438
437
|
|
|
439
438
|
@additional_disk_space.setter
|
|
440
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[
|
|
439
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
441
440
|
pulumi.set(self, "additional_disk_space", value)
|
|
442
441
|
|
|
443
|
-
@property
|
|
442
|
+
@_builtins.property
|
|
444
443
|
@pulumi.getter
|
|
445
444
|
def alloydbomni(self) -> Optional[pulumi.Input['AlloydbomniAlloydbomniArgs']]:
|
|
446
445
|
"""
|
|
@@ -452,7 +451,7 @@ class _AlloydbomniState:
|
|
|
452
451
|
def alloydbomni(self, value: Optional[pulumi.Input['AlloydbomniAlloydbomniArgs']]):
|
|
453
452
|
pulumi.set(self, "alloydbomni", value)
|
|
454
453
|
|
|
455
|
-
@property
|
|
454
|
+
@_builtins.property
|
|
456
455
|
@pulumi.getter(name="alloydbomniUserConfig")
|
|
457
456
|
def alloydbomni_user_config(self) -> Optional[pulumi.Input['AlloydbomniAlloydbomniUserConfigArgs']]:
|
|
458
457
|
"""
|
|
@@ -464,19 +463,19 @@ class _AlloydbomniState:
|
|
|
464
463
|
def alloydbomni_user_config(self, value: Optional[pulumi.Input['AlloydbomniAlloydbomniUserConfigArgs']]):
|
|
465
464
|
pulumi.set(self, "alloydbomni_user_config", value)
|
|
466
465
|
|
|
467
|
-
@property
|
|
466
|
+
@_builtins.property
|
|
468
467
|
@pulumi.getter(name="cloudName")
|
|
469
|
-
def cloud_name(self) -> Optional[pulumi.Input[
|
|
468
|
+
def cloud_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
470
469
|
"""
|
|
471
470
|
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.
|
|
472
471
|
"""
|
|
473
472
|
return pulumi.get(self, "cloud_name")
|
|
474
473
|
|
|
475
474
|
@cloud_name.setter
|
|
476
|
-
def cloud_name(self, value: Optional[pulumi.Input[
|
|
475
|
+
def cloud_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
477
476
|
pulumi.set(self, "cloud_name", value)
|
|
478
477
|
|
|
479
|
-
@property
|
|
478
|
+
@_builtins.property
|
|
480
479
|
@pulumi.getter
|
|
481
480
|
def components(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniComponentArgs']]]]:
|
|
482
481
|
"""
|
|
@@ -488,153 +487,153 @@ class _AlloydbomniState:
|
|
|
488
487
|
def components(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniComponentArgs']]]]):
|
|
489
488
|
pulumi.set(self, "components", value)
|
|
490
489
|
|
|
491
|
-
@property
|
|
490
|
+
@_builtins.property
|
|
492
491
|
@pulumi.getter(name="diskSpace")
|
|
493
492
|
@_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.""")
|
|
494
|
-
def disk_space(self) -> Optional[pulumi.Input[
|
|
493
|
+
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
495
494
|
"""
|
|
496
495
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
497
496
|
"""
|
|
498
497
|
return pulumi.get(self, "disk_space")
|
|
499
498
|
|
|
500
499
|
@disk_space.setter
|
|
501
|
-
def disk_space(self, value: Optional[pulumi.Input[
|
|
500
|
+
def disk_space(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
502
501
|
pulumi.set(self, "disk_space", value)
|
|
503
502
|
|
|
504
|
-
@property
|
|
503
|
+
@_builtins.property
|
|
505
504
|
@pulumi.getter(name="diskSpaceCap")
|
|
506
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[
|
|
505
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
507
506
|
"""
|
|
508
507
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
509
508
|
"""
|
|
510
509
|
return pulumi.get(self, "disk_space_cap")
|
|
511
510
|
|
|
512
511
|
@disk_space_cap.setter
|
|
513
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[
|
|
512
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
514
513
|
pulumi.set(self, "disk_space_cap", value)
|
|
515
514
|
|
|
516
|
-
@property
|
|
515
|
+
@_builtins.property
|
|
517
516
|
@pulumi.getter(name="diskSpaceDefault")
|
|
518
|
-
def disk_space_default(self) -> Optional[pulumi.Input[
|
|
517
|
+
def disk_space_default(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
519
518
|
"""
|
|
520
519
|
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`
|
|
521
520
|
"""
|
|
522
521
|
return pulumi.get(self, "disk_space_default")
|
|
523
522
|
|
|
524
523
|
@disk_space_default.setter
|
|
525
|
-
def disk_space_default(self, value: Optional[pulumi.Input[
|
|
524
|
+
def disk_space_default(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
526
525
|
pulumi.set(self, "disk_space_default", value)
|
|
527
526
|
|
|
528
|
-
@property
|
|
527
|
+
@_builtins.property
|
|
529
528
|
@pulumi.getter(name="diskSpaceStep")
|
|
530
|
-
def disk_space_step(self) -> Optional[pulumi.Input[
|
|
529
|
+
def disk_space_step(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
531
530
|
"""
|
|
532
531
|
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.
|
|
533
532
|
"""
|
|
534
533
|
return pulumi.get(self, "disk_space_step")
|
|
535
534
|
|
|
536
535
|
@disk_space_step.setter
|
|
537
|
-
def disk_space_step(self, value: Optional[pulumi.Input[
|
|
536
|
+
def disk_space_step(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
538
537
|
pulumi.set(self, "disk_space_step", value)
|
|
539
538
|
|
|
540
|
-
@property
|
|
539
|
+
@_builtins.property
|
|
541
540
|
@pulumi.getter(name="diskSpaceUsed")
|
|
542
541
|
@_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.""")
|
|
543
|
-
def disk_space_used(self) -> Optional[pulumi.Input[
|
|
542
|
+
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
544
543
|
"""
|
|
545
544
|
Disk space that service is currently using
|
|
546
545
|
"""
|
|
547
546
|
return pulumi.get(self, "disk_space_used")
|
|
548
547
|
|
|
549
548
|
@disk_space_used.setter
|
|
550
|
-
def disk_space_used(self, value: Optional[pulumi.Input[
|
|
549
|
+
def disk_space_used(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
551
550
|
pulumi.set(self, "disk_space_used", value)
|
|
552
551
|
|
|
553
|
-
@property
|
|
552
|
+
@_builtins.property
|
|
554
553
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
555
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[
|
|
554
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
556
555
|
"""
|
|
557
556
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
558
557
|
"""
|
|
559
558
|
return pulumi.get(self, "maintenance_window_dow")
|
|
560
559
|
|
|
561
560
|
@maintenance_window_dow.setter
|
|
562
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[
|
|
561
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
563
562
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
564
563
|
|
|
565
|
-
@property
|
|
564
|
+
@_builtins.property
|
|
566
565
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
567
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[
|
|
566
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
568
567
|
"""
|
|
569
568
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
570
569
|
"""
|
|
571
570
|
return pulumi.get(self, "maintenance_window_time")
|
|
572
571
|
|
|
573
572
|
@maintenance_window_time.setter
|
|
574
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[
|
|
573
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
575
574
|
pulumi.set(self, "maintenance_window_time", value)
|
|
576
575
|
|
|
577
|
-
@property
|
|
576
|
+
@_builtins.property
|
|
578
577
|
@pulumi.getter
|
|
579
|
-
def plan(self) -> Optional[pulumi.Input[
|
|
578
|
+
def plan(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
580
579
|
"""
|
|
581
580
|
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).
|
|
582
581
|
"""
|
|
583
582
|
return pulumi.get(self, "plan")
|
|
584
583
|
|
|
585
584
|
@plan.setter
|
|
586
|
-
def plan(self, value: Optional[pulumi.Input[
|
|
585
|
+
def plan(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
587
586
|
pulumi.set(self, "plan", value)
|
|
588
587
|
|
|
589
|
-
@property
|
|
588
|
+
@_builtins.property
|
|
590
589
|
@pulumi.getter
|
|
591
|
-
def project(self) -> Optional[pulumi.Input[
|
|
590
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
592
591
|
"""
|
|
593
592
|
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.
|
|
594
593
|
"""
|
|
595
594
|
return pulumi.get(self, "project")
|
|
596
595
|
|
|
597
596
|
@project.setter
|
|
598
|
-
def project(self, value: Optional[pulumi.Input[
|
|
597
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
599
598
|
pulumi.set(self, "project", value)
|
|
600
599
|
|
|
601
|
-
@property
|
|
600
|
+
@_builtins.property
|
|
602
601
|
@pulumi.getter(name="projectVpcId")
|
|
603
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[
|
|
602
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
604
603
|
"""
|
|
605
604
|
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.
|
|
606
605
|
"""
|
|
607
606
|
return pulumi.get(self, "project_vpc_id")
|
|
608
607
|
|
|
609
608
|
@project_vpc_id.setter
|
|
610
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[
|
|
609
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
611
610
|
pulumi.set(self, "project_vpc_id", value)
|
|
612
611
|
|
|
613
|
-
@property
|
|
612
|
+
@_builtins.property
|
|
614
613
|
@pulumi.getter(name="serviceAccountCredentials")
|
|
615
|
-
def service_account_credentials(self) -> Optional[pulumi.Input[
|
|
614
|
+
def service_account_credentials(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
616
615
|
"""
|
|
617
616
|
Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
618
617
|
"""
|
|
619
618
|
return pulumi.get(self, "service_account_credentials")
|
|
620
619
|
|
|
621
620
|
@service_account_credentials.setter
|
|
622
|
-
def service_account_credentials(self, value: Optional[pulumi.Input[
|
|
621
|
+
def service_account_credentials(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
623
622
|
pulumi.set(self, "service_account_credentials", value)
|
|
624
623
|
|
|
625
|
-
@property
|
|
624
|
+
@_builtins.property
|
|
626
625
|
@pulumi.getter(name="serviceHost")
|
|
627
|
-
def service_host(self) -> Optional[pulumi.Input[
|
|
626
|
+
def service_host(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
628
627
|
"""
|
|
629
628
|
The hostname of the service.
|
|
630
629
|
"""
|
|
631
630
|
return pulumi.get(self, "service_host")
|
|
632
631
|
|
|
633
632
|
@service_host.setter
|
|
634
|
-
def service_host(self, value: Optional[pulumi.Input[
|
|
633
|
+
def service_host(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
635
634
|
pulumi.set(self, "service_host", value)
|
|
636
635
|
|
|
637
|
-
@property
|
|
636
|
+
@_builtins.property
|
|
638
637
|
@pulumi.getter(name="serviceIntegrations")
|
|
639
638
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]]]:
|
|
640
639
|
"""
|
|
@@ -646,100 +645,100 @@ class _AlloydbomniState:
|
|
|
646
645
|
def service_integrations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]]]):
|
|
647
646
|
pulumi.set(self, "service_integrations", value)
|
|
648
647
|
|
|
649
|
-
@property
|
|
648
|
+
@_builtins.property
|
|
650
649
|
@pulumi.getter(name="serviceName")
|
|
651
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
650
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
652
651
|
"""
|
|
653
652
|
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.
|
|
654
653
|
"""
|
|
655
654
|
return pulumi.get(self, "service_name")
|
|
656
655
|
|
|
657
656
|
@service_name.setter
|
|
658
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
657
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
659
658
|
pulumi.set(self, "service_name", value)
|
|
660
659
|
|
|
661
|
-
@property
|
|
660
|
+
@_builtins.property
|
|
662
661
|
@pulumi.getter(name="servicePassword")
|
|
663
|
-
def service_password(self) -> Optional[pulumi.Input[
|
|
662
|
+
def service_password(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
664
663
|
"""
|
|
665
664
|
Password used for connecting to the service, if applicable
|
|
666
665
|
"""
|
|
667
666
|
return pulumi.get(self, "service_password")
|
|
668
667
|
|
|
669
668
|
@service_password.setter
|
|
670
|
-
def service_password(self, value: Optional[pulumi.Input[
|
|
669
|
+
def service_password(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
671
670
|
pulumi.set(self, "service_password", value)
|
|
672
671
|
|
|
673
|
-
@property
|
|
672
|
+
@_builtins.property
|
|
674
673
|
@pulumi.getter(name="servicePort")
|
|
675
|
-
def service_port(self) -> Optional[pulumi.Input[
|
|
674
|
+
def service_port(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
676
675
|
"""
|
|
677
676
|
The port of the service
|
|
678
677
|
"""
|
|
679
678
|
return pulumi.get(self, "service_port")
|
|
680
679
|
|
|
681
680
|
@service_port.setter
|
|
682
|
-
def service_port(self, value: Optional[pulumi.Input[
|
|
681
|
+
def service_port(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
683
682
|
pulumi.set(self, "service_port", value)
|
|
684
683
|
|
|
685
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
686
685
|
@pulumi.getter(name="serviceType")
|
|
687
|
-
def service_type(self) -> Optional[pulumi.Input[
|
|
686
|
+
def service_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
688
687
|
"""
|
|
689
688
|
Aiven internal service type code
|
|
690
689
|
"""
|
|
691
690
|
return pulumi.get(self, "service_type")
|
|
692
691
|
|
|
693
692
|
@service_type.setter
|
|
694
|
-
def service_type(self, value: Optional[pulumi.Input[
|
|
693
|
+
def service_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
695
694
|
pulumi.set(self, "service_type", value)
|
|
696
695
|
|
|
697
|
-
@property
|
|
696
|
+
@_builtins.property
|
|
698
697
|
@pulumi.getter(name="serviceUri")
|
|
699
|
-
def service_uri(self) -> Optional[pulumi.Input[
|
|
698
|
+
def service_uri(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
700
699
|
"""
|
|
701
700
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
702
701
|
"""
|
|
703
702
|
return pulumi.get(self, "service_uri")
|
|
704
703
|
|
|
705
704
|
@service_uri.setter
|
|
706
|
-
def service_uri(self, value: Optional[pulumi.Input[
|
|
705
|
+
def service_uri(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
707
706
|
pulumi.set(self, "service_uri", value)
|
|
708
707
|
|
|
709
|
-
@property
|
|
708
|
+
@_builtins.property
|
|
710
709
|
@pulumi.getter(name="serviceUsername")
|
|
711
|
-
def service_username(self) -> Optional[pulumi.Input[
|
|
710
|
+
def service_username(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
712
711
|
"""
|
|
713
712
|
Username used for connecting to the service, if applicable
|
|
714
713
|
"""
|
|
715
714
|
return pulumi.get(self, "service_username")
|
|
716
715
|
|
|
717
716
|
@service_username.setter
|
|
718
|
-
def service_username(self, value: Optional[pulumi.Input[
|
|
717
|
+
def service_username(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
719
718
|
pulumi.set(self, "service_username", value)
|
|
720
719
|
|
|
721
|
-
@property
|
|
720
|
+
@_builtins.property
|
|
722
721
|
@pulumi.getter
|
|
723
|
-
def state(self) -> Optional[pulumi.Input[
|
|
722
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
724
723
|
return pulumi.get(self, "state")
|
|
725
724
|
|
|
726
725
|
@state.setter
|
|
727
|
-
def state(self, value: Optional[pulumi.Input[
|
|
726
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
728
727
|
pulumi.set(self, "state", value)
|
|
729
728
|
|
|
730
|
-
@property
|
|
729
|
+
@_builtins.property
|
|
731
730
|
@pulumi.getter(name="staticIps")
|
|
732
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
731
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
733
732
|
"""
|
|
734
733
|
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
|
|
735
734
|
"""
|
|
736
735
|
return pulumi.get(self, "static_ips")
|
|
737
736
|
|
|
738
737
|
@static_ips.setter
|
|
739
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
738
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
740
739
|
pulumi.set(self, "static_ips", value)
|
|
741
740
|
|
|
742
|
-
@property
|
|
741
|
+
@_builtins.property
|
|
743
742
|
@pulumi.getter
|
|
744
743
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]]]:
|
|
745
744
|
"""
|
|
@@ -751,7 +750,7 @@ class _AlloydbomniState:
|
|
|
751
750
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]]]):
|
|
752
751
|
pulumi.set(self, "tags", value)
|
|
753
752
|
|
|
754
|
-
@property
|
|
753
|
+
@_builtins.property
|
|
755
754
|
@pulumi.getter(name="techEmails")
|
|
756
755
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTechEmailArgs']]]]:
|
|
757
756
|
"""
|
|
@@ -763,16 +762,16 @@ class _AlloydbomniState:
|
|
|
763
762
|
def tech_emails(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTechEmailArgs']]]]):
|
|
764
763
|
pulumi.set(self, "tech_emails", value)
|
|
765
764
|
|
|
766
|
-
@property
|
|
765
|
+
@_builtins.property
|
|
767
766
|
@pulumi.getter(name="terminationProtection")
|
|
768
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
767
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
769
768
|
"""
|
|
770
769
|
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.
|
|
771
770
|
"""
|
|
772
771
|
return pulumi.get(self, "termination_protection")
|
|
773
772
|
|
|
774
773
|
@termination_protection.setter
|
|
775
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
774
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
776
775
|
pulumi.set(self, "termination_protection", value)
|
|
777
776
|
|
|
778
777
|
|
|
@@ -782,23 +781,23 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
782
781
|
def __init__(__self__,
|
|
783
782
|
resource_name: str,
|
|
784
783
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
785
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
784
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
786
785
|
alloydbomni: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniArgs', 'AlloydbomniAlloydbomniArgsDict']]] = None,
|
|
787
786
|
alloydbomni_user_config: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniUserConfigArgs', 'AlloydbomniAlloydbomniUserConfigArgsDict']]] = None,
|
|
788
|
-
cloud_name: Optional[pulumi.Input[
|
|
789
|
-
disk_space: Optional[pulumi.Input[
|
|
790
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
791
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
792
|
-
plan: Optional[pulumi.Input[
|
|
793
|
-
project: Optional[pulumi.Input[
|
|
794
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
795
|
-
service_account_credentials: Optional[pulumi.Input[
|
|
787
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
788
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
789
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
790
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
791
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
792
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
793
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
794
|
+
service_account_credentials: Optional[pulumi.Input[_builtins.str]] = None,
|
|
796
795
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniServiceIntegrationArgs', 'AlloydbomniServiceIntegrationArgsDict']]]]] = None,
|
|
797
|
-
service_name: Optional[pulumi.Input[
|
|
798
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
796
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
797
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
799
798
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTagArgs', 'AlloydbomniTagArgsDict']]]]] = None,
|
|
800
799
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTechEmailArgs', 'AlloydbomniTechEmailArgsDict']]]]] = None,
|
|
801
|
-
termination_protection: Optional[pulumi.Input[
|
|
800
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
802
801
|
__props__=None):
|
|
803
802
|
"""
|
|
804
803
|
Creates and manages an Aiven for AlloyDB Omni service.
|
|
@@ -843,23 +842,23 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
843
842
|
|
|
844
843
|
:param str resource_name: The name of the resource.
|
|
845
844
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
846
|
-
:param pulumi.Input[
|
|
845
|
+
: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.
|
|
847
846
|
:param pulumi.Input[Union['AlloydbomniAlloydbomniArgs', 'AlloydbomniAlloydbomniArgsDict']] alloydbomni: Values provided by the AlloyDB Omni server.
|
|
848
847
|
:param pulumi.Input[Union['AlloydbomniAlloydbomniUserConfigArgs', 'AlloydbomniAlloydbomniUserConfigArgsDict']] alloydbomni_user_config: Alloydbomni user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
849
|
-
:param pulumi.Input[
|
|
850
|
-
:param pulumi.Input[
|
|
851
|
-
:param pulumi.Input[
|
|
852
|
-
:param pulumi.Input[
|
|
853
|
-
:param pulumi.Input[
|
|
854
|
-
:param pulumi.Input[
|
|
855
|
-
:param pulumi.Input[
|
|
856
|
-
:param pulumi.Input[
|
|
848
|
+
: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.
|
|
849
|
+
: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.
|
|
850
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
851
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
852
|
+
: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).
|
|
853
|
+
: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.
|
|
854
|
+
: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.
|
|
855
|
+
:param pulumi.Input[_builtins.str] service_account_credentials: Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
857
856
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniServiceIntegrationArgs', 'AlloydbomniServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
858
|
-
:param pulumi.Input[
|
|
859
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
857
|
+
: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.
|
|
858
|
+
: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
|
|
860
859
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTagArgs', 'AlloydbomniTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
861
860
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTechEmailArgs', 'AlloydbomniTechEmailArgsDict']]]] 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.
|
|
862
|
-
:param pulumi.Input[
|
|
861
|
+
: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.
|
|
863
862
|
"""
|
|
864
863
|
...
|
|
865
864
|
@overload
|
|
@@ -923,23 +922,23 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
923
922
|
def _internal_init(__self__,
|
|
924
923
|
resource_name: str,
|
|
925
924
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
926
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
925
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
927
926
|
alloydbomni: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniArgs', 'AlloydbomniAlloydbomniArgsDict']]] = None,
|
|
928
927
|
alloydbomni_user_config: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniUserConfigArgs', 'AlloydbomniAlloydbomniUserConfigArgsDict']]] = None,
|
|
929
|
-
cloud_name: Optional[pulumi.Input[
|
|
930
|
-
disk_space: Optional[pulumi.Input[
|
|
931
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
932
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
933
|
-
plan: Optional[pulumi.Input[
|
|
934
|
-
project: Optional[pulumi.Input[
|
|
935
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
936
|
-
service_account_credentials: Optional[pulumi.Input[
|
|
928
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
929
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
930
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
931
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
932
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
933
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
934
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
935
|
+
service_account_credentials: Optional[pulumi.Input[_builtins.str]] = None,
|
|
937
936
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniServiceIntegrationArgs', 'AlloydbomniServiceIntegrationArgsDict']]]]] = None,
|
|
938
|
-
service_name: Optional[pulumi.Input[
|
|
939
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
937
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
938
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
940
939
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTagArgs', 'AlloydbomniTagArgsDict']]]]] = None,
|
|
941
940
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTechEmailArgs', 'AlloydbomniTechEmailArgsDict']]]]] = None,
|
|
942
|
-
termination_protection: Optional[pulumi.Input[
|
|
941
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
943
942
|
__props__=None):
|
|
944
943
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
945
944
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -996,35 +995,35 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
996
995
|
def get(resource_name: str,
|
|
997
996
|
id: pulumi.Input[str],
|
|
998
997
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
999
|
-
additional_disk_space: Optional[pulumi.Input[
|
|
998
|
+
additional_disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1000
999
|
alloydbomni: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniArgs', 'AlloydbomniAlloydbomniArgsDict']]] = None,
|
|
1001
1000
|
alloydbomni_user_config: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniUserConfigArgs', 'AlloydbomniAlloydbomniUserConfigArgsDict']]] = None,
|
|
1002
|
-
cloud_name: Optional[pulumi.Input[
|
|
1001
|
+
cloud_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1003
1002
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniComponentArgs', 'AlloydbomniComponentArgsDict']]]]] = None,
|
|
1004
|
-
disk_space: Optional[pulumi.Input[
|
|
1005
|
-
disk_space_cap: Optional[pulumi.Input[
|
|
1006
|
-
disk_space_default: Optional[pulumi.Input[
|
|
1007
|
-
disk_space_step: Optional[pulumi.Input[
|
|
1008
|
-
disk_space_used: Optional[pulumi.Input[
|
|
1009
|
-
maintenance_window_dow: Optional[pulumi.Input[
|
|
1010
|
-
maintenance_window_time: Optional[pulumi.Input[
|
|
1011
|
-
plan: Optional[pulumi.Input[
|
|
1012
|
-
project: Optional[pulumi.Input[
|
|
1013
|
-
project_vpc_id: Optional[pulumi.Input[
|
|
1014
|
-
service_account_credentials: Optional[pulumi.Input[
|
|
1015
|
-
service_host: Optional[pulumi.Input[
|
|
1003
|
+
disk_space: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1004
|
+
disk_space_cap: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1005
|
+
disk_space_default: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1006
|
+
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1007
|
+
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1008
|
+
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1009
|
+
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1010
|
+
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1011
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1012
|
+
project_vpc_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1013
|
+
service_account_credentials: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1014
|
+
service_host: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1016
1015
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniServiceIntegrationArgs', 'AlloydbomniServiceIntegrationArgsDict']]]]] = None,
|
|
1017
|
-
service_name: Optional[pulumi.Input[
|
|
1018
|
-
service_password: Optional[pulumi.Input[
|
|
1019
|
-
service_port: Optional[pulumi.Input[
|
|
1020
|
-
service_type: Optional[pulumi.Input[
|
|
1021
|
-
service_uri: Optional[pulumi.Input[
|
|
1022
|
-
service_username: Optional[pulumi.Input[
|
|
1023
|
-
state: Optional[pulumi.Input[
|
|
1024
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1016
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1017
|
+
service_password: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1018
|
+
service_port: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1019
|
+
service_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1020
|
+
service_uri: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1021
|
+
service_username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1022
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1023
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
1025
1024
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTagArgs', 'AlloydbomniTagArgsDict']]]]] = None,
|
|
1026
1025
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTechEmailArgs', 'AlloydbomniTechEmailArgsDict']]]]] = None,
|
|
1027
|
-
termination_protection: Optional[pulumi.Input[
|
|
1026
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None) -> 'Alloydbomni':
|
|
1028
1027
|
"""
|
|
1029
1028
|
Get an existing Alloydbomni resource's state with the given name, id, and optional extra
|
|
1030
1029
|
properties used to qualify the lookup.
|
|
@@ -1032,34 +1031,34 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1032
1031
|
:param str resource_name: The unique name of the resulting resource.
|
|
1033
1032
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1034
1033
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1035
|
-
:param pulumi.Input[
|
|
1034
|
+
: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.
|
|
1036
1035
|
:param pulumi.Input[Union['AlloydbomniAlloydbomniArgs', 'AlloydbomniAlloydbomniArgsDict']] alloydbomni: Values provided by the AlloyDB Omni server.
|
|
1037
1036
|
:param pulumi.Input[Union['AlloydbomniAlloydbomniUserConfigArgs', 'AlloydbomniAlloydbomniUserConfigArgsDict']] alloydbomni_user_config: Alloydbomni user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1038
|
-
:param pulumi.Input[
|
|
1037
|
+
: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.
|
|
1039
1038
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniComponentArgs', 'AlloydbomniComponentArgsDict']]]] components: Service component information objects
|
|
1040
|
-
:param pulumi.Input[
|
|
1041
|
-
:param pulumi.Input[
|
|
1042
|
-
:param pulumi.Input[
|
|
1043
|
-
:param pulumi.Input[
|
|
1044
|
-
:param pulumi.Input[
|
|
1045
|
-
:param pulumi.Input[
|
|
1046
|
-
:param pulumi.Input[
|
|
1047
|
-
:param pulumi.Input[
|
|
1048
|
-
:param pulumi.Input[
|
|
1049
|
-
:param pulumi.Input[
|
|
1050
|
-
:param pulumi.Input[
|
|
1051
|
-
:param pulumi.Input[
|
|
1039
|
+
: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.
|
|
1040
|
+
: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.
|
|
1041
|
+
: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`
|
|
1042
|
+
: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.
|
|
1043
|
+
:param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
|
|
1044
|
+
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1045
|
+
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1046
|
+
: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).
|
|
1047
|
+
: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.
|
|
1048
|
+
: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.
|
|
1049
|
+
:param pulumi.Input[_builtins.str] service_account_credentials: Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
1050
|
+
:param pulumi.Input[_builtins.str] service_host: The hostname of the service.
|
|
1052
1051
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniServiceIntegrationArgs', 'AlloydbomniServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1053
|
-
:param pulumi.Input[
|
|
1054
|
-
:param pulumi.Input[
|
|
1055
|
-
:param pulumi.Input[
|
|
1056
|
-
:param pulumi.Input[
|
|
1057
|
-
:param pulumi.Input[
|
|
1058
|
-
:param pulumi.Input[
|
|
1059
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1052
|
+
: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.
|
|
1053
|
+
:param pulumi.Input[_builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
1054
|
+
:param pulumi.Input[_builtins.int] service_port: The port of the service
|
|
1055
|
+
:param pulumi.Input[_builtins.str] service_type: Aiven internal service type code
|
|
1056
|
+
:param pulumi.Input[_builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1057
|
+
:param pulumi.Input[_builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
1058
|
+
: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
|
|
1060
1059
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTagArgs', 'AlloydbomniTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1061
1060
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTechEmailArgs', 'AlloydbomniTechEmailArgsDict']]]] 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.
|
|
1062
|
-
:param pulumi.Input[
|
|
1061
|
+
: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.
|
|
1063
1062
|
"""
|
|
1064
1063
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1065
1064
|
|
|
@@ -1096,15 +1095,15 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1096
1095
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
1097
1096
|
return Alloydbomni(resource_name, opts=opts, __props__=__props__)
|
|
1098
1097
|
|
|
1099
|
-
@property
|
|
1098
|
+
@_builtins.property
|
|
1100
1099
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1101
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1100
|
+
def additional_disk_space(self) -> pulumi.Output[_builtins.str]:
|
|
1102
1101
|
"""
|
|
1103
1102
|
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.
|
|
1104
1103
|
"""
|
|
1105
1104
|
return pulumi.get(self, "additional_disk_space")
|
|
1106
1105
|
|
|
1107
|
-
@property
|
|
1106
|
+
@_builtins.property
|
|
1108
1107
|
@pulumi.getter
|
|
1109
1108
|
def alloydbomni(self) -> pulumi.Output['outputs.AlloydbomniAlloydbomni']:
|
|
1110
1109
|
"""
|
|
@@ -1112,7 +1111,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1112
1111
|
"""
|
|
1113
1112
|
return pulumi.get(self, "alloydbomni")
|
|
1114
1113
|
|
|
1115
|
-
@property
|
|
1114
|
+
@_builtins.property
|
|
1116
1115
|
@pulumi.getter(name="alloydbomniUserConfig")
|
|
1117
1116
|
def alloydbomni_user_config(self) -> pulumi.Output[Optional['outputs.AlloydbomniAlloydbomniUserConfig']]:
|
|
1118
1117
|
"""
|
|
@@ -1120,15 +1119,15 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1120
1119
|
"""
|
|
1121
1120
|
return pulumi.get(self, "alloydbomni_user_config")
|
|
1122
1121
|
|
|
1123
|
-
@property
|
|
1122
|
+
@_builtins.property
|
|
1124
1123
|
@pulumi.getter(name="cloudName")
|
|
1125
|
-
def cloud_name(self) -> pulumi.Output[Optional[
|
|
1124
|
+
def cloud_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1126
1125
|
"""
|
|
1127
1126
|
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.
|
|
1128
1127
|
"""
|
|
1129
1128
|
return pulumi.get(self, "cloud_name")
|
|
1130
1129
|
|
|
1131
|
-
@property
|
|
1130
|
+
@_builtins.property
|
|
1132
1131
|
@pulumi.getter
|
|
1133
1132
|
def components(self) -> pulumi.Output[Sequence['outputs.AlloydbomniComponent']]:
|
|
1134
1133
|
"""
|
|
@@ -1136,105 +1135,105 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1136
1135
|
"""
|
|
1137
1136
|
return pulumi.get(self, "components")
|
|
1138
1137
|
|
|
1139
|
-
@property
|
|
1138
|
+
@_builtins.property
|
|
1140
1139
|
@pulumi.getter(name="diskSpace")
|
|
1141
1140
|
@_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.""")
|
|
1142
|
-
def disk_space(self) -> pulumi.Output[Optional[
|
|
1141
|
+
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1143
1142
|
"""
|
|
1144
1143
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1145
1144
|
"""
|
|
1146
1145
|
return pulumi.get(self, "disk_space")
|
|
1147
1146
|
|
|
1148
|
-
@property
|
|
1147
|
+
@_builtins.property
|
|
1149
1148
|
@pulumi.getter(name="diskSpaceCap")
|
|
1150
|
-
def disk_space_cap(self) -> pulumi.Output[
|
|
1149
|
+
def disk_space_cap(self) -> pulumi.Output[_builtins.str]:
|
|
1151
1150
|
"""
|
|
1152
1151
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1153
1152
|
"""
|
|
1154
1153
|
return pulumi.get(self, "disk_space_cap")
|
|
1155
1154
|
|
|
1156
|
-
@property
|
|
1155
|
+
@_builtins.property
|
|
1157
1156
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1158
|
-
def disk_space_default(self) -> pulumi.Output[
|
|
1157
|
+
def disk_space_default(self) -> pulumi.Output[_builtins.str]:
|
|
1159
1158
|
"""
|
|
1160
1159
|
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`
|
|
1161
1160
|
"""
|
|
1162
1161
|
return pulumi.get(self, "disk_space_default")
|
|
1163
1162
|
|
|
1164
|
-
@property
|
|
1163
|
+
@_builtins.property
|
|
1165
1164
|
@pulumi.getter(name="diskSpaceStep")
|
|
1166
|
-
def disk_space_step(self) -> pulumi.Output[
|
|
1165
|
+
def disk_space_step(self) -> pulumi.Output[_builtins.str]:
|
|
1167
1166
|
"""
|
|
1168
1167
|
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.
|
|
1169
1168
|
"""
|
|
1170
1169
|
return pulumi.get(self, "disk_space_step")
|
|
1171
1170
|
|
|
1172
|
-
@property
|
|
1171
|
+
@_builtins.property
|
|
1173
1172
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1174
1173
|
@_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.""")
|
|
1175
|
-
def disk_space_used(self) -> pulumi.Output[
|
|
1174
|
+
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1176
1175
|
"""
|
|
1177
1176
|
Disk space that service is currently using
|
|
1178
1177
|
"""
|
|
1179
1178
|
return pulumi.get(self, "disk_space_used")
|
|
1180
1179
|
|
|
1181
|
-
@property
|
|
1180
|
+
@_builtins.property
|
|
1182
1181
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1183
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[
|
|
1182
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1184
1183
|
"""
|
|
1185
1184
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1186
1185
|
"""
|
|
1187
1186
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1188
1187
|
|
|
1189
|
-
@property
|
|
1188
|
+
@_builtins.property
|
|
1190
1189
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1191
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[
|
|
1190
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1192
1191
|
"""
|
|
1193
1192
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1194
1193
|
"""
|
|
1195
1194
|
return pulumi.get(self, "maintenance_window_time")
|
|
1196
1195
|
|
|
1197
|
-
@property
|
|
1196
|
+
@_builtins.property
|
|
1198
1197
|
@pulumi.getter
|
|
1199
|
-
def plan(self) -> pulumi.Output[
|
|
1198
|
+
def plan(self) -> pulumi.Output[_builtins.str]:
|
|
1200
1199
|
"""
|
|
1201
1200
|
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).
|
|
1202
1201
|
"""
|
|
1203
1202
|
return pulumi.get(self, "plan")
|
|
1204
1203
|
|
|
1205
|
-
@property
|
|
1204
|
+
@_builtins.property
|
|
1206
1205
|
@pulumi.getter
|
|
1207
|
-
def project(self) -> pulumi.Output[
|
|
1206
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
|
1208
1207
|
"""
|
|
1209
1208
|
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.
|
|
1210
1209
|
"""
|
|
1211
1210
|
return pulumi.get(self, "project")
|
|
1212
1211
|
|
|
1213
|
-
@property
|
|
1212
|
+
@_builtins.property
|
|
1214
1213
|
@pulumi.getter(name="projectVpcId")
|
|
1215
|
-
def project_vpc_id(self) -> pulumi.Output[Optional[
|
|
1214
|
+
def project_vpc_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1216
1215
|
"""
|
|
1217
1216
|
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.
|
|
1218
1217
|
"""
|
|
1219
1218
|
return pulumi.get(self, "project_vpc_id")
|
|
1220
1219
|
|
|
1221
|
-
@property
|
|
1220
|
+
@_builtins.property
|
|
1222
1221
|
@pulumi.getter(name="serviceAccountCredentials")
|
|
1223
|
-
def service_account_credentials(self) -> pulumi.Output[Optional[
|
|
1222
|
+
def service_account_credentials(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1224
1223
|
"""
|
|
1225
1224
|
Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
1226
1225
|
"""
|
|
1227
1226
|
return pulumi.get(self, "service_account_credentials")
|
|
1228
1227
|
|
|
1229
|
-
@property
|
|
1228
|
+
@_builtins.property
|
|
1230
1229
|
@pulumi.getter(name="serviceHost")
|
|
1231
|
-
def service_host(self) -> pulumi.Output[
|
|
1230
|
+
def service_host(self) -> pulumi.Output[_builtins.str]:
|
|
1232
1231
|
"""
|
|
1233
1232
|
The hostname of the service.
|
|
1234
1233
|
"""
|
|
1235
1234
|
return pulumi.get(self, "service_host")
|
|
1236
1235
|
|
|
1237
|
-
@property
|
|
1236
|
+
@_builtins.property
|
|
1238
1237
|
@pulumi.getter(name="serviceIntegrations")
|
|
1239
1238
|
def service_integrations(self) -> pulumi.Output[Sequence['outputs.AlloydbomniServiceIntegration']]:
|
|
1240
1239
|
"""
|
|
@@ -1242,68 +1241,68 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1242
1241
|
"""
|
|
1243
1242
|
return pulumi.get(self, "service_integrations")
|
|
1244
1243
|
|
|
1245
|
-
@property
|
|
1244
|
+
@_builtins.property
|
|
1246
1245
|
@pulumi.getter(name="serviceName")
|
|
1247
|
-
def service_name(self) -> pulumi.Output[
|
|
1246
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
1248
1247
|
"""
|
|
1249
1248
|
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.
|
|
1250
1249
|
"""
|
|
1251
1250
|
return pulumi.get(self, "service_name")
|
|
1252
1251
|
|
|
1253
|
-
@property
|
|
1252
|
+
@_builtins.property
|
|
1254
1253
|
@pulumi.getter(name="servicePassword")
|
|
1255
|
-
def service_password(self) -> pulumi.Output[
|
|
1254
|
+
def service_password(self) -> pulumi.Output[_builtins.str]:
|
|
1256
1255
|
"""
|
|
1257
1256
|
Password used for connecting to the service, if applicable
|
|
1258
1257
|
"""
|
|
1259
1258
|
return pulumi.get(self, "service_password")
|
|
1260
1259
|
|
|
1261
|
-
@property
|
|
1260
|
+
@_builtins.property
|
|
1262
1261
|
@pulumi.getter(name="servicePort")
|
|
1263
|
-
def service_port(self) -> pulumi.Output[
|
|
1262
|
+
def service_port(self) -> pulumi.Output[_builtins.int]:
|
|
1264
1263
|
"""
|
|
1265
1264
|
The port of the service
|
|
1266
1265
|
"""
|
|
1267
1266
|
return pulumi.get(self, "service_port")
|
|
1268
1267
|
|
|
1269
|
-
@property
|
|
1268
|
+
@_builtins.property
|
|
1270
1269
|
@pulumi.getter(name="serviceType")
|
|
1271
|
-
def service_type(self) -> pulumi.Output[
|
|
1270
|
+
def service_type(self) -> pulumi.Output[_builtins.str]:
|
|
1272
1271
|
"""
|
|
1273
1272
|
Aiven internal service type code
|
|
1274
1273
|
"""
|
|
1275
1274
|
return pulumi.get(self, "service_type")
|
|
1276
1275
|
|
|
1277
|
-
@property
|
|
1276
|
+
@_builtins.property
|
|
1278
1277
|
@pulumi.getter(name="serviceUri")
|
|
1279
|
-
def service_uri(self) -> pulumi.Output[
|
|
1278
|
+
def service_uri(self) -> pulumi.Output[_builtins.str]:
|
|
1280
1279
|
"""
|
|
1281
1280
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1282
1281
|
"""
|
|
1283
1282
|
return pulumi.get(self, "service_uri")
|
|
1284
1283
|
|
|
1285
|
-
@property
|
|
1284
|
+
@_builtins.property
|
|
1286
1285
|
@pulumi.getter(name="serviceUsername")
|
|
1287
|
-
def service_username(self) -> pulumi.Output[
|
|
1286
|
+
def service_username(self) -> pulumi.Output[_builtins.str]:
|
|
1288
1287
|
"""
|
|
1289
1288
|
Username used for connecting to the service, if applicable
|
|
1290
1289
|
"""
|
|
1291
1290
|
return pulumi.get(self, "service_username")
|
|
1292
1291
|
|
|
1293
|
-
@property
|
|
1292
|
+
@_builtins.property
|
|
1294
1293
|
@pulumi.getter
|
|
1295
|
-
def state(self) -> pulumi.Output[
|
|
1294
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
1296
1295
|
return pulumi.get(self, "state")
|
|
1297
1296
|
|
|
1298
|
-
@property
|
|
1297
|
+
@_builtins.property
|
|
1299
1298
|
@pulumi.getter(name="staticIps")
|
|
1300
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[
|
|
1299
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1301
1300
|
"""
|
|
1302
1301
|
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
|
|
1303
1302
|
"""
|
|
1304
1303
|
return pulumi.get(self, "static_ips")
|
|
1305
1304
|
|
|
1306
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1307
1306
|
@pulumi.getter
|
|
1308
1307
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.AlloydbomniTag']]]:
|
|
1309
1308
|
"""
|
|
@@ -1311,7 +1310,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1311
1310
|
"""
|
|
1312
1311
|
return pulumi.get(self, "tags")
|
|
1313
1312
|
|
|
1314
|
-
@property
|
|
1313
|
+
@_builtins.property
|
|
1315
1314
|
@pulumi.getter(name="techEmails")
|
|
1316
1315
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.AlloydbomniTechEmail']]]:
|
|
1317
1316
|
"""
|
|
@@ -1319,9 +1318,9 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1319
1318
|
"""
|
|
1320
1319
|
return pulumi.get(self, "tech_emails")
|
|
1321
1320
|
|
|
1322
|
-
@property
|
|
1321
|
+
@_builtins.property
|
|
1323
1322
|
@pulumi.getter(name="terminationProtection")
|
|
1324
|
-
def termination_protection(self) -> pulumi.Output[Optional[
|
|
1323
|
+
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1325
1324
|
"""
|
|
1326
1325
|
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.
|
|
1327
1326
|
"""
|