pulumi-aiven 6.37.0a1743570488__py3-none-any.whl → 6.37.0a1744255932__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 +22 -0
- pulumi_aiven/_inputs.py +8877 -8288
- pulumi_aiven/account.py +71 -70
- pulumi_aiven/account_authentication.py +204 -203
- pulumi_aiven/account_team.py +50 -49
- pulumi_aiven/account_team_member.py +64 -63
- pulumi_aiven/account_team_project.py +57 -56
- pulumi_aiven/alloydbomni.py +247 -254
- pulumi_aiven/alloydbomni_database.py +71 -70
- pulumi_aiven/alloydbomni_user.py +92 -91
- pulumi_aiven/aws_org_vpc_peering_connection.py +92 -91
- pulumi_aiven/aws_privatelink.py +57 -56
- pulumi_aiven/aws_vpc_peering_connection.py +78 -77
- pulumi_aiven/azure_org_vpc_peering_connection.py +113 -112
- pulumi_aiven/azure_privatelink.py +71 -70
- pulumi_aiven/azure_privatelink_connection_approval.py +57 -56
- pulumi_aiven/azure_vpc_peering_connection.py +106 -105
- pulumi_aiven/billing_group.py +211 -210
- pulumi_aiven/cassandra.py +233 -240
- pulumi_aiven/cassandra_user.py +78 -77
- pulumi_aiven/clickhouse.py +233 -240
- pulumi_aiven/clickhouse_database.py +53 -52
- pulumi_aiven/clickhouse_grant.py +57 -56
- pulumi_aiven/clickhouse_role.py +43 -42
- pulumi_aiven/clickhouse_user.py +64 -63
- pulumi_aiven/config/__init__.py +1 -0
- pulumi_aiven/config/__init__.pyi +1 -0
- pulumi_aiven/config/vars.py +1 -0
- pulumi_aiven/connection_pool.py +106 -105
- pulumi_aiven/dragonfly.py +233 -240
- pulumi_aiven/flink.py +233 -240
- pulumi_aiven/flink_application.py +78 -77
- pulumi_aiven/flink_application_deployment.py +113 -112
- pulumi_aiven/flink_application_version.py +85 -84
- pulumi_aiven/flink_jar_application.py +78 -77
- pulumi_aiven/flink_jar_application_deployment.py +176 -175
- pulumi_aiven/flink_jar_application_version.py +92 -91
- pulumi_aiven/gcp_org_vpc_peering_connection.py +71 -70
- pulumi_aiven/gcp_privatelink.py +50 -49
- pulumi_aiven/gcp_privatelink_connection_approval.py +64 -63
- pulumi_aiven/gcp_vpc_peering_connection.py +64 -63
- pulumi_aiven/get_account.py +14 -13
- pulumi_aiven/get_account_authentication.py +27 -26
- pulumi_aiven/get_account_team.py +15 -14
- pulumi_aiven/get_account_team_member.py +20 -19
- pulumi_aiven/get_account_team_project.py +18 -17
- pulumi_aiven/get_alloydbomni.py +34 -36
- pulumi_aiven/get_alloydbomni_database.py +19 -18
- pulumi_aiven/get_alloydbomni_user.py +22 -21
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +30 -29
- pulumi_aiven/get_aws_privatelink.py +15 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +25 -24
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +31 -30
- pulumi_aiven/get_azure_privatelink.py +17 -16
- pulumi_aiven/get_azure_vpc_peering_connection.py +35 -34
- pulumi_aiven/get_billing_group.py +22 -21
- pulumi_aiven/get_cassanda.py +33 -35
- pulumi_aiven/get_cassandra.py +33 -35
- pulumi_aiven/get_cassandra_user.py +21 -20
- pulumi_aiven/get_clickhouse.py +33 -35
- pulumi_aiven/get_clickhouse_database.py +18 -17
- pulumi_aiven/get_clickhouse_user.py +20 -19
- pulumi_aiven/get_connection_pool.py +22 -21
- pulumi_aiven/get_dragonfly.py +33 -35
- pulumi_aiven/get_external_identity.py +22 -21
- pulumi_aiven/get_flink.py +33 -35
- pulumi_aiven/get_flink_application.py +22 -21
- pulumi_aiven/get_flink_application_version.py +26 -25
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +24 -23
- pulumi_aiven/get_gcp_privatelink.py +15 -14
- pulumi_aiven/get_gcp_vpc_peering_connection.py +20 -19
- pulumi_aiven/get_grafana.py +33 -35
- pulumi_aiven/get_influx_db.py +28 -27
- pulumi_aiven/get_influxdb_database.py +12 -11
- pulumi_aiven/get_influxdb_user.py +15 -14
- pulumi_aiven/get_kafka.py +35 -37
- pulumi_aiven/get_kafka_acl.py +28 -27
- pulumi_aiven/get_kafka_connect.py +33 -35
- pulumi_aiven/get_kafka_connector.py +24 -23
- pulumi_aiven/get_kafka_mirror_maker.py +33 -35
- pulumi_aiven/get_kafka_schema.py +21 -20
- pulumi_aiven/get_kafka_schema_configuration.py +17 -16
- pulumi_aiven/get_kafka_schema_registry_acl.py +28 -27
- pulumi_aiven/get_kafka_topic.py +22 -21
- pulumi_aiven/get_kafka_user.py +21 -20
- pulumi_aiven/get_m3_aggregator.py +33 -35
- pulumi_aiven/get_m3_db.py +33 -35
- pulumi_aiven/get_m3db_user.py +19 -18
- pulumi_aiven/get_mirror_maker_replication_flow.py +34 -33
- pulumi_aiven/get_my_sql.py +33 -35
- pulumi_aiven/get_mysql_database.py +18 -17
- pulumi_aiven/get_mysql_user.py +22 -21
- pulumi_aiven/get_open_search.py +33 -35
- pulumi_aiven/get_open_search_acl_config.py +14 -13
- pulumi_aiven/get_open_search_acl_rule.py +27 -26
- pulumi_aiven/get_opensearch_security_plugin_config.py +16 -15
- pulumi_aiven/get_opensearch_user.py +19 -18
- pulumi_aiven/get_organization.py +14 -13
- pulumi_aiven/get_organization_address.py +227 -0
- pulumi_aiven/get_organization_application_user.py +15 -34
- pulumi_aiven/get_organization_billing_group.py +241 -0
- pulumi_aiven/get_organization_billing_group_list.py +110 -0
- pulumi_aiven/get_organization_project.py +30 -15
- pulumi_aiven/get_organization_user.py +18 -17
- pulumi_aiven/get_organization_user_group.py +16 -15
- pulumi_aiven/get_organization_user_list.py +32 -19
- pulumi_aiven/get_organization_vpc.py +17 -16
- pulumi_aiven/get_organizational_unit.py +11 -10
- pulumi_aiven/get_pg.py +33 -35
- pulumi_aiven/get_pg_database.py +20 -19
- pulumi_aiven/get_pg_user.py +22 -21
- pulumi_aiven/get_project.py +19 -18
- pulumi_aiven/get_project_user.py +14 -13
- pulumi_aiven/get_project_vpc.py +19 -18
- pulumi_aiven/get_redis.py +33 -35
- pulumi_aiven/get_redis_user.py +23 -22
- pulumi_aiven/get_service_component.py +54 -39
- pulumi_aiven/get_service_integration.py +29 -28
- pulumi_aiven/get_service_integration_endpoint.py +14 -13
- pulumi_aiven/get_thanos.py +33 -35
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +22 -21
- pulumi_aiven/get_valkey.py +33 -35
- pulumi_aiven/get_valkey_user.py +23 -22
- pulumi_aiven/grafana.py +233 -240
- pulumi_aiven/influx_db.py +251 -244
- pulumi_aiven/influxdb_database.py +53 -52
- pulumi_aiven/influxdb_user.py +78 -77
- pulumi_aiven/kafka.py +261 -268
- pulumi_aiven/kafka_acl.py +78 -77
- pulumi_aiven/kafka_connect.py +233 -240
- pulumi_aiven/kafka_connector.py +99 -98
- pulumi_aiven/kafka_mirror_maker.py +233 -240
- pulumi_aiven/kafka_native_acl.py +127 -126
- pulumi_aiven/kafka_quota.py +99 -98
- pulumi_aiven/kafka_schema.py +92 -91
- pulumi_aiven/kafka_schema_configuration.py +43 -42
- pulumi_aiven/kafka_schema_registry_acl.py +78 -77
- pulumi_aiven/kafka_topic.py +109 -108
- pulumi_aiven/kafka_user.py +78 -77
- pulumi_aiven/m3_aggregator.py +233 -240
- pulumi_aiven/m3_db.py +233 -240
- pulumi_aiven/m3db_user.py +64 -63
- pulumi_aiven/mirror_maker_replication_flow.py +225 -224
- pulumi_aiven/my_sql.py +233 -240
- pulumi_aiven/mysql_database.py +53 -52
- pulumi_aiven/mysql_user.py +92 -91
- pulumi_aiven/open_search.py +233 -240
- pulumi_aiven/open_search_acl_config.py +57 -56
- pulumi_aiven/open_search_acl_rule.py +75 -74
- pulumi_aiven/opensearch_security_plugin_config.py +64 -63
- pulumi_aiven/opensearch_user.py +64 -63
- pulumi_aiven/organization.py +38 -37
- pulumi_aiven/organization_address.py +557 -0
- pulumi_aiven/organization_application_user.py +61 -60
- pulumi_aiven/organization_application_user_token.py +169 -168
- pulumi_aiven/organization_billing_group.py +645 -0
- pulumi_aiven/organization_group_project.py +43 -42
- pulumi_aiven/organization_permission.py +45 -44
- pulumi_aiven/organization_project.py +114 -82
- pulumi_aiven/organization_user.py +57 -56
- pulumi_aiven/organization_user_group.py +64 -63
- pulumi_aiven/organization_user_group_member.py +50 -81
- pulumi_aiven/organization_vpc.py +71 -70
- pulumi_aiven/organizational_unit.py +50 -49
- pulumi_aiven/outputs.py +10770 -10004
- pulumi_aiven/pg.py +233 -240
- pulumi_aiven/pg_database.py +81 -80
- pulumi_aiven/pg_user.py +92 -91
- pulumi_aiven/project.py +155 -154
- pulumi_aiven/project_user.py +50 -49
- pulumi_aiven/project_vpc.py +50 -49
- pulumi_aiven/provider.py +9 -8
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +233 -240
- pulumi_aiven/redis_user.py +120 -119
- pulumi_aiven/service_integration.py +124 -123
- pulumi_aiven/service_integration_endpoint.py +50 -49
- pulumi_aiven/static_ip.py +57 -56
- pulumi_aiven/thanos.py +233 -240
- pulumi_aiven/transit_gateway_vpc_attachment.py +92 -91
- pulumi_aiven/valkey.py +233 -240
- pulumi_aiven/valkey_user.py +120 -119
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/METADATA +1 -1
- pulumi_aiven-6.37.0a1744255932.dist-info/RECORD +188 -0
- pulumi_aiven-6.37.0a1743570488.dist-info/RECORD +0 -183
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/top_level.txt +0 -0
pulumi_aiven/alloydbomni.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,42 +22,42 @@ __all__ = ['AlloydbomniArgs', 'Alloydbomni']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class AlloydbomniArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
plan: pulumi.Input[str],
|
|
25
|
-
project: pulumi.Input[str],
|
|
26
|
-
service_name: pulumi.Input[str],
|
|
27
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
plan: pulumi.Input[builtins.str],
|
|
26
|
+
project: pulumi.Input[builtins.str],
|
|
27
|
+
service_name: pulumi.Input[builtins.str],
|
|
28
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
29
|
alloydbomni: Optional[pulumi.Input['AlloydbomniAlloydbomniArgs']] = None,
|
|
29
30
|
alloydbomni_user_config: Optional[pulumi.Input['AlloydbomniAlloydbomniUserConfigArgs']] = None,
|
|
30
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
32
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
33
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
34
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
service_account_credentials: Optional[pulumi.Input[str]] = None,
|
|
31
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
33
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
35
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
service_account_credentials: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
37
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]]] = None,
|
|
37
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
38
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
38
39
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]]] = None,
|
|
39
40
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTechEmailArgs']]]] = None,
|
|
40
|
-
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
41
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
|
|
41
42
|
"""
|
|
42
43
|
The set of arguments for constructing a Alloydbomni resource.
|
|
43
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
44
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
45
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
44
|
+
: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).
|
|
45
|
+
: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.
|
|
46
|
+
: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.
|
|
47
|
+
: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.
|
|
47
48
|
:param pulumi.Input['AlloydbomniAlloydbomniArgs'] alloydbomni: Values provided by the AlloyDB Omni server.
|
|
48
49
|
: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
|
|
49
|
-
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
50
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
51
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
52
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
53
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
54
|
-
:param pulumi.Input[str] service_account_credentials: Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
50
|
+
: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.
|
|
51
|
+
: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.
|
|
52
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
53
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
54
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
55
|
+
: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.
|
|
55
56
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
56
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
57
|
+
: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
|
|
57
58
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
58
59
|
: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.
|
|
59
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
60
|
+
: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.
|
|
60
61
|
"""
|
|
61
62
|
pulumi.set(__self__, "plan", plan)
|
|
62
63
|
pulumi.set(__self__, "project", project)
|
|
@@ -95,50 +96,50 @@ class AlloydbomniArgs:
|
|
|
95
96
|
|
|
96
97
|
@property
|
|
97
98
|
@pulumi.getter
|
|
98
|
-
def plan(self) -> pulumi.Input[str]:
|
|
99
|
+
def plan(self) -> pulumi.Input[builtins.str]:
|
|
99
100
|
"""
|
|
100
101
|
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).
|
|
101
102
|
"""
|
|
102
103
|
return pulumi.get(self, "plan")
|
|
103
104
|
|
|
104
105
|
@plan.setter
|
|
105
|
-
def plan(self, value: pulumi.Input[str]):
|
|
106
|
+
def plan(self, value: pulumi.Input[builtins.str]):
|
|
106
107
|
pulumi.set(self, "plan", value)
|
|
107
108
|
|
|
108
109
|
@property
|
|
109
110
|
@pulumi.getter
|
|
110
|
-
def project(self) -> pulumi.Input[str]:
|
|
111
|
+
def project(self) -> pulumi.Input[builtins.str]:
|
|
111
112
|
"""
|
|
112
113
|
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.
|
|
113
114
|
"""
|
|
114
115
|
return pulumi.get(self, "project")
|
|
115
116
|
|
|
116
117
|
@project.setter
|
|
117
|
-
def project(self, value: pulumi.Input[str]):
|
|
118
|
+
def project(self, value: pulumi.Input[builtins.str]):
|
|
118
119
|
pulumi.set(self, "project", value)
|
|
119
120
|
|
|
120
121
|
@property
|
|
121
122
|
@pulumi.getter(name="serviceName")
|
|
122
|
-
def service_name(self) -> pulumi.Input[str]:
|
|
123
|
+
def service_name(self) -> pulumi.Input[builtins.str]:
|
|
123
124
|
"""
|
|
124
125
|
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.
|
|
125
126
|
"""
|
|
126
127
|
return pulumi.get(self, "service_name")
|
|
127
128
|
|
|
128
129
|
@service_name.setter
|
|
129
|
-
def service_name(self, value: pulumi.Input[str]):
|
|
130
|
+
def service_name(self, value: pulumi.Input[builtins.str]):
|
|
130
131
|
pulumi.set(self, "service_name", value)
|
|
131
132
|
|
|
132
133
|
@property
|
|
133
134
|
@pulumi.getter(name="additionalDiskSpace")
|
|
134
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
135
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
135
136
|
"""
|
|
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
|
|
137
|
+
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.
|
|
137
138
|
"""
|
|
138
139
|
return pulumi.get(self, "additional_disk_space")
|
|
139
140
|
|
|
140
141
|
@additional_disk_space.setter
|
|
141
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
142
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
142
143
|
pulumi.set(self, "additional_disk_space", value)
|
|
143
144
|
|
|
144
145
|
@property
|
|
@@ -167,75 +168,75 @@ class AlloydbomniArgs:
|
|
|
167
168
|
|
|
168
169
|
@property
|
|
169
170
|
@pulumi.getter(name="cloudName")
|
|
170
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
171
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
171
172
|
"""
|
|
172
173
|
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.
|
|
173
174
|
"""
|
|
174
175
|
return pulumi.get(self, "cloud_name")
|
|
175
176
|
|
|
176
177
|
@cloud_name.setter
|
|
177
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
178
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
178
179
|
pulumi.set(self, "cloud_name", value)
|
|
179
180
|
|
|
180
181
|
@property
|
|
181
182
|
@pulumi.getter(name="diskSpace")
|
|
182
183
|
@_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.""")
|
|
183
|
-
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
184
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
184
185
|
"""
|
|
185
186
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
186
187
|
"""
|
|
187
188
|
return pulumi.get(self, "disk_space")
|
|
188
189
|
|
|
189
190
|
@disk_space.setter
|
|
190
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
191
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
191
192
|
pulumi.set(self, "disk_space", value)
|
|
192
193
|
|
|
193
194
|
@property
|
|
194
195
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
195
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
196
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
196
197
|
"""
|
|
197
198
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
198
199
|
"""
|
|
199
200
|
return pulumi.get(self, "maintenance_window_dow")
|
|
200
201
|
|
|
201
202
|
@maintenance_window_dow.setter
|
|
202
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
203
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
203
204
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
204
205
|
|
|
205
206
|
@property
|
|
206
207
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
207
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
208
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
208
209
|
"""
|
|
209
210
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
210
211
|
"""
|
|
211
212
|
return pulumi.get(self, "maintenance_window_time")
|
|
212
213
|
|
|
213
214
|
@maintenance_window_time.setter
|
|
214
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
215
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
215
216
|
pulumi.set(self, "maintenance_window_time", value)
|
|
216
217
|
|
|
217
218
|
@property
|
|
218
219
|
@pulumi.getter(name="projectVpcId")
|
|
219
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
220
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
220
221
|
"""
|
|
221
222
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
222
223
|
"""
|
|
223
224
|
return pulumi.get(self, "project_vpc_id")
|
|
224
225
|
|
|
225
226
|
@project_vpc_id.setter
|
|
226
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
227
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
227
228
|
pulumi.set(self, "project_vpc_id", value)
|
|
228
229
|
|
|
229
230
|
@property
|
|
230
231
|
@pulumi.getter(name="serviceAccountCredentials")
|
|
231
|
-
def service_account_credentials(self) -> Optional[pulumi.Input[str]]:
|
|
232
|
+
def service_account_credentials(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
232
233
|
"""
|
|
233
234
|
Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
234
235
|
"""
|
|
235
236
|
return pulumi.get(self, "service_account_credentials")
|
|
236
237
|
|
|
237
238
|
@service_account_credentials.setter
|
|
238
|
-
def service_account_credentials(self, value: Optional[pulumi.Input[str]]):
|
|
239
|
+
def service_account_credentials(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
239
240
|
pulumi.set(self, "service_account_credentials", value)
|
|
240
241
|
|
|
241
242
|
@property
|
|
@@ -252,14 +253,14 @@ class AlloydbomniArgs:
|
|
|
252
253
|
|
|
253
254
|
@property
|
|
254
255
|
@pulumi.getter(name="staticIps")
|
|
255
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
256
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
256
257
|
"""
|
|
257
258
|
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
|
|
258
259
|
"""
|
|
259
260
|
return pulumi.get(self, "static_ips")
|
|
260
261
|
|
|
261
262
|
@static_ips.setter
|
|
262
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
263
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
263
264
|
pulumi.set(self, "static_ips", value)
|
|
264
265
|
|
|
265
266
|
@property
|
|
@@ -288,80 +289,79 @@ class AlloydbomniArgs:
|
|
|
288
289
|
|
|
289
290
|
@property
|
|
290
291
|
@pulumi.getter(name="terminationProtection")
|
|
291
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
292
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
292
293
|
"""
|
|
293
294
|
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.
|
|
294
295
|
"""
|
|
295
296
|
return pulumi.get(self, "termination_protection")
|
|
296
297
|
|
|
297
298
|
@termination_protection.setter
|
|
298
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
299
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
299
300
|
pulumi.set(self, "termination_protection", value)
|
|
300
301
|
|
|
301
302
|
|
|
302
303
|
@pulumi.input_type
|
|
303
304
|
class _AlloydbomniState:
|
|
304
305
|
def __init__(__self__, *,
|
|
305
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
306
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
306
307
|
alloydbomni: Optional[pulumi.Input['AlloydbomniAlloydbomniArgs']] = None,
|
|
307
308
|
alloydbomni_user_config: Optional[pulumi.Input['AlloydbomniAlloydbomniUserConfigArgs']] = None,
|
|
308
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
309
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
309
310
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniComponentArgs']]]] = None,
|
|
310
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
311
|
-
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
312
|
-
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
313
|
-
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
314
|
-
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
315
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
316
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
317
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
318
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
319
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
320
|
-
service_account_credentials: Optional[pulumi.Input[str]] = None,
|
|
321
|
-
service_host: Optional[pulumi.Input[str]] = None,
|
|
311
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
312
|
+
disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
|
|
313
|
+
disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
|
|
314
|
+
disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
|
|
315
|
+
disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
|
|
316
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
317
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
318
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
319
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
320
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
321
|
+
service_account_credentials: Optional[pulumi.Input[builtins.str]] = None,
|
|
322
|
+
service_host: Optional[pulumi.Input[builtins.str]] = None,
|
|
322
323
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]]] = None,
|
|
323
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
324
|
-
service_password: Optional[pulumi.Input[str]] = None,
|
|
325
|
-
service_port: Optional[pulumi.Input[int]] = None,
|
|
326
|
-
service_type: Optional[pulumi.Input[str]] = None,
|
|
327
|
-
service_uri: Optional[pulumi.Input[str]] = None,
|
|
328
|
-
service_username: Optional[pulumi.Input[str]] = None,
|
|
329
|
-
state: Optional[pulumi.Input[str]] = None,
|
|
330
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
324
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
325
|
+
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
|
326
|
+
service_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
327
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
328
|
+
service_uri: Optional[pulumi.Input[builtins.str]] = None,
|
|
329
|
+
service_username: Optional[pulumi.Input[builtins.str]] = None,
|
|
330
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
331
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
331
332
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]]] = None,
|
|
332
333
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['AlloydbomniTechEmailArgs']]]] = None,
|
|
333
|
-
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
334
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
|
|
334
335
|
"""
|
|
335
336
|
Input properties used for looking up and filtering Alloydbomni resources.
|
|
336
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
337
|
+
: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.
|
|
337
338
|
:param pulumi.Input['AlloydbomniAlloydbomniArgs'] alloydbomni: Values provided by the AlloyDB Omni server.
|
|
338
339
|
: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
|
|
339
|
-
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
340
|
+
: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.
|
|
340
341
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniComponentArgs']]] components: Service component information objects
|
|
341
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
342
|
-
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
343
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
344
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
345
|
-
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
346
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
347
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
348
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
349
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
350
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
351
|
-
:param pulumi.Input[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[str] service_host: The hostname of the service.
|
|
342
|
+
: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.
|
|
343
|
+
: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.
|
|
344
|
+
: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`
|
|
345
|
+
: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.
|
|
346
|
+
:param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
|
|
347
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
348
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
349
|
+
: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).
|
|
350
|
+
: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.
|
|
351
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
352
|
+
: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.
|
|
353
|
+
:param pulumi.Input[builtins.str] service_host: The hostname of the service.
|
|
353
354
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
354
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
355
|
-
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
356
|
-
:param pulumi.Input[int] service_port: The port of the service
|
|
357
|
-
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
358
|
-
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
359
|
-
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
360
|
-
:param pulumi.Input[str]
|
|
361
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
355
|
+
: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.
|
|
356
|
+
:param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
357
|
+
:param pulumi.Input[builtins.int] service_port: The port of the service
|
|
358
|
+
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
359
|
+
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
360
|
+
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
361
|
+
: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
362
|
:param pulumi.Input[Sequence[pulumi.Input['AlloydbomniTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
363
363
|
: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[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.
|
|
364
|
+
: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
365
|
"""
|
|
366
366
|
if additional_disk_space is not None:
|
|
367
367
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -430,14 +430,14 @@ class _AlloydbomniState:
|
|
|
430
430
|
|
|
431
431
|
@property
|
|
432
432
|
@pulumi.getter(name="additionalDiskSpace")
|
|
433
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
433
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
434
434
|
"""
|
|
435
|
-
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
|
|
435
|
+
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
436
|
"""
|
|
437
437
|
return pulumi.get(self, "additional_disk_space")
|
|
438
438
|
|
|
439
439
|
@additional_disk_space.setter
|
|
440
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
440
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
441
441
|
pulumi.set(self, "additional_disk_space", value)
|
|
442
442
|
|
|
443
443
|
@property
|
|
@@ -466,14 +466,14 @@ class _AlloydbomniState:
|
|
|
466
466
|
|
|
467
467
|
@property
|
|
468
468
|
@pulumi.getter(name="cloudName")
|
|
469
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
469
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
470
470
|
"""
|
|
471
471
|
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
472
|
"""
|
|
473
473
|
return pulumi.get(self, "cloud_name")
|
|
474
474
|
|
|
475
475
|
@cloud_name.setter
|
|
476
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
476
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
477
477
|
pulumi.set(self, "cloud_name", value)
|
|
478
478
|
|
|
479
479
|
@property
|
|
@@ -491,147 +491,147 @@ class _AlloydbomniState:
|
|
|
491
491
|
@property
|
|
492
492
|
@pulumi.getter(name="diskSpace")
|
|
493
493
|
@_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[str]]:
|
|
494
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
495
495
|
"""
|
|
496
496
|
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
497
|
"""
|
|
498
498
|
return pulumi.get(self, "disk_space")
|
|
499
499
|
|
|
500
500
|
@disk_space.setter
|
|
501
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
501
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
502
502
|
pulumi.set(self, "disk_space", value)
|
|
503
503
|
|
|
504
504
|
@property
|
|
505
505
|
@pulumi.getter(name="diskSpaceCap")
|
|
506
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[str]]:
|
|
506
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
507
507
|
"""
|
|
508
508
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
509
509
|
"""
|
|
510
510
|
return pulumi.get(self, "disk_space_cap")
|
|
511
511
|
|
|
512
512
|
@disk_space_cap.setter
|
|
513
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[str]]):
|
|
513
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
514
514
|
pulumi.set(self, "disk_space_cap", value)
|
|
515
515
|
|
|
516
516
|
@property
|
|
517
517
|
@pulumi.getter(name="diskSpaceDefault")
|
|
518
|
-
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
518
|
+
def disk_space_default(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
519
519
|
"""
|
|
520
520
|
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
521
|
"""
|
|
522
522
|
return pulumi.get(self, "disk_space_default")
|
|
523
523
|
|
|
524
524
|
@disk_space_default.setter
|
|
525
|
-
def disk_space_default(self, value: Optional[pulumi.Input[str]]):
|
|
525
|
+
def disk_space_default(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
526
526
|
pulumi.set(self, "disk_space_default", value)
|
|
527
527
|
|
|
528
528
|
@property
|
|
529
529
|
@pulumi.getter(name="diskSpaceStep")
|
|
530
|
-
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
530
|
+
def disk_space_step(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
531
531
|
"""
|
|
532
532
|
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
533
|
"""
|
|
534
534
|
return pulumi.get(self, "disk_space_step")
|
|
535
535
|
|
|
536
536
|
@disk_space_step.setter
|
|
537
|
-
def disk_space_step(self, value: Optional[pulumi.Input[str]]):
|
|
537
|
+
def disk_space_step(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
538
538
|
pulumi.set(self, "disk_space_step", value)
|
|
539
539
|
|
|
540
540
|
@property
|
|
541
541
|
@pulumi.getter(name="diskSpaceUsed")
|
|
542
542
|
@_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[str]]:
|
|
543
|
+
def disk_space_used(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
544
544
|
"""
|
|
545
545
|
Disk space that service is currently using
|
|
546
546
|
"""
|
|
547
547
|
return pulumi.get(self, "disk_space_used")
|
|
548
548
|
|
|
549
549
|
@disk_space_used.setter
|
|
550
|
-
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
550
|
+
def disk_space_used(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
551
551
|
pulumi.set(self, "disk_space_used", value)
|
|
552
552
|
|
|
553
553
|
@property
|
|
554
554
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
555
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
555
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
556
556
|
"""
|
|
557
557
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
558
558
|
"""
|
|
559
559
|
return pulumi.get(self, "maintenance_window_dow")
|
|
560
560
|
|
|
561
561
|
@maintenance_window_dow.setter
|
|
562
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
562
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
563
563
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
564
564
|
|
|
565
565
|
@property
|
|
566
566
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
567
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
567
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
568
568
|
"""
|
|
569
569
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
570
570
|
"""
|
|
571
571
|
return pulumi.get(self, "maintenance_window_time")
|
|
572
572
|
|
|
573
573
|
@maintenance_window_time.setter
|
|
574
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
574
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
575
575
|
pulumi.set(self, "maintenance_window_time", value)
|
|
576
576
|
|
|
577
577
|
@property
|
|
578
578
|
@pulumi.getter
|
|
579
|
-
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
579
|
+
def plan(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
580
580
|
"""
|
|
581
581
|
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
582
|
"""
|
|
583
583
|
return pulumi.get(self, "plan")
|
|
584
584
|
|
|
585
585
|
@plan.setter
|
|
586
|
-
def plan(self, value: Optional[pulumi.Input[str]]):
|
|
586
|
+
def plan(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
587
587
|
pulumi.set(self, "plan", value)
|
|
588
588
|
|
|
589
589
|
@property
|
|
590
590
|
@pulumi.getter
|
|
591
|
-
def project(self) -> Optional[pulumi.Input[str]]:
|
|
591
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
592
592
|
"""
|
|
593
593
|
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
594
|
"""
|
|
595
595
|
return pulumi.get(self, "project")
|
|
596
596
|
|
|
597
597
|
@project.setter
|
|
598
|
-
def project(self, value: Optional[pulumi.Input[str]]):
|
|
598
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
599
599
|
pulumi.set(self, "project", value)
|
|
600
600
|
|
|
601
601
|
@property
|
|
602
602
|
@pulumi.getter(name="projectVpcId")
|
|
603
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
603
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
604
604
|
"""
|
|
605
605
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
606
606
|
"""
|
|
607
607
|
return pulumi.get(self, "project_vpc_id")
|
|
608
608
|
|
|
609
609
|
@project_vpc_id.setter
|
|
610
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
610
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
611
611
|
pulumi.set(self, "project_vpc_id", value)
|
|
612
612
|
|
|
613
613
|
@property
|
|
614
614
|
@pulumi.getter(name="serviceAccountCredentials")
|
|
615
|
-
def service_account_credentials(self) -> Optional[pulumi.Input[str]]:
|
|
615
|
+
def service_account_credentials(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
616
616
|
"""
|
|
617
617
|
Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
618
618
|
"""
|
|
619
619
|
return pulumi.get(self, "service_account_credentials")
|
|
620
620
|
|
|
621
621
|
@service_account_credentials.setter
|
|
622
|
-
def service_account_credentials(self, value: Optional[pulumi.Input[str]]):
|
|
622
|
+
def service_account_credentials(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
623
623
|
pulumi.set(self, "service_account_credentials", value)
|
|
624
624
|
|
|
625
625
|
@property
|
|
626
626
|
@pulumi.getter(name="serviceHost")
|
|
627
|
-
def service_host(self) -> Optional[pulumi.Input[str]]:
|
|
627
|
+
def service_host(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
628
628
|
"""
|
|
629
629
|
The hostname of the service.
|
|
630
630
|
"""
|
|
631
631
|
return pulumi.get(self, "service_host")
|
|
632
632
|
|
|
633
633
|
@service_host.setter
|
|
634
|
-
def service_host(self, value: Optional[pulumi.Input[str]]):
|
|
634
|
+
def service_host(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
635
635
|
pulumi.set(self, "service_host", value)
|
|
636
636
|
|
|
637
637
|
@property
|
|
@@ -648,98 +648,95 @@ class _AlloydbomniState:
|
|
|
648
648
|
|
|
649
649
|
@property
|
|
650
650
|
@pulumi.getter(name="serviceName")
|
|
651
|
-
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
651
|
+
def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
652
652
|
"""
|
|
653
653
|
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
654
|
"""
|
|
655
655
|
return pulumi.get(self, "service_name")
|
|
656
656
|
|
|
657
657
|
@service_name.setter
|
|
658
|
-
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
658
|
+
def service_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
659
659
|
pulumi.set(self, "service_name", value)
|
|
660
660
|
|
|
661
661
|
@property
|
|
662
662
|
@pulumi.getter(name="servicePassword")
|
|
663
|
-
def service_password(self) -> Optional[pulumi.Input[str]]:
|
|
663
|
+
def service_password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
664
664
|
"""
|
|
665
665
|
Password used for connecting to the service, if applicable
|
|
666
666
|
"""
|
|
667
667
|
return pulumi.get(self, "service_password")
|
|
668
668
|
|
|
669
669
|
@service_password.setter
|
|
670
|
-
def service_password(self, value: Optional[pulumi.Input[str]]):
|
|
670
|
+
def service_password(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
671
671
|
pulumi.set(self, "service_password", value)
|
|
672
672
|
|
|
673
673
|
@property
|
|
674
674
|
@pulumi.getter(name="servicePort")
|
|
675
|
-
def service_port(self) -> Optional[pulumi.Input[int]]:
|
|
675
|
+
def service_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
676
676
|
"""
|
|
677
677
|
The port of the service
|
|
678
678
|
"""
|
|
679
679
|
return pulumi.get(self, "service_port")
|
|
680
680
|
|
|
681
681
|
@service_port.setter
|
|
682
|
-
def service_port(self, value: Optional[pulumi.Input[int]]):
|
|
682
|
+
def service_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
683
683
|
pulumi.set(self, "service_port", value)
|
|
684
684
|
|
|
685
685
|
@property
|
|
686
686
|
@pulumi.getter(name="serviceType")
|
|
687
|
-
def service_type(self) -> Optional[pulumi.Input[str]]:
|
|
687
|
+
def service_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
688
688
|
"""
|
|
689
689
|
Aiven internal service type code
|
|
690
690
|
"""
|
|
691
691
|
return pulumi.get(self, "service_type")
|
|
692
692
|
|
|
693
693
|
@service_type.setter
|
|
694
|
-
def service_type(self, value: Optional[pulumi.Input[str]]):
|
|
694
|
+
def service_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
695
695
|
pulumi.set(self, "service_type", value)
|
|
696
696
|
|
|
697
697
|
@property
|
|
698
698
|
@pulumi.getter(name="serviceUri")
|
|
699
|
-
def service_uri(self) -> Optional[pulumi.Input[str]]:
|
|
699
|
+
def service_uri(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
700
700
|
"""
|
|
701
701
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
702
702
|
"""
|
|
703
703
|
return pulumi.get(self, "service_uri")
|
|
704
704
|
|
|
705
705
|
@service_uri.setter
|
|
706
|
-
def service_uri(self, value: Optional[pulumi.Input[str]]):
|
|
706
|
+
def service_uri(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
707
707
|
pulumi.set(self, "service_uri", value)
|
|
708
708
|
|
|
709
709
|
@property
|
|
710
710
|
@pulumi.getter(name="serviceUsername")
|
|
711
|
-
def service_username(self) -> Optional[pulumi.Input[str]]:
|
|
711
|
+
def service_username(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
712
712
|
"""
|
|
713
713
|
Username used for connecting to the service, if applicable
|
|
714
714
|
"""
|
|
715
715
|
return pulumi.get(self, "service_username")
|
|
716
716
|
|
|
717
717
|
@service_username.setter
|
|
718
|
-
def service_username(self, value: Optional[pulumi.Input[str]]):
|
|
718
|
+
def service_username(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
719
719
|
pulumi.set(self, "service_username", value)
|
|
720
720
|
|
|
721
721
|
@property
|
|
722
722
|
@pulumi.getter
|
|
723
|
-
def state(self) -> Optional[pulumi.Input[str]]:
|
|
724
|
-
"""
|
|
725
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
726
|
-
"""
|
|
723
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
727
724
|
return pulumi.get(self, "state")
|
|
728
725
|
|
|
729
726
|
@state.setter
|
|
730
|
-
def state(self, value: Optional[pulumi.Input[str]]):
|
|
727
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
731
728
|
pulumi.set(self, "state", value)
|
|
732
729
|
|
|
733
730
|
@property
|
|
734
731
|
@pulumi.getter(name="staticIps")
|
|
735
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
732
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
736
733
|
"""
|
|
737
734
|
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
|
|
738
735
|
"""
|
|
739
736
|
return pulumi.get(self, "static_ips")
|
|
740
737
|
|
|
741
738
|
@static_ips.setter
|
|
742
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
739
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
743
740
|
pulumi.set(self, "static_ips", value)
|
|
744
741
|
|
|
745
742
|
@property
|
|
@@ -768,14 +765,14 @@ class _AlloydbomniState:
|
|
|
768
765
|
|
|
769
766
|
@property
|
|
770
767
|
@pulumi.getter(name="terminationProtection")
|
|
771
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
768
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
772
769
|
"""
|
|
773
770
|
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.
|
|
774
771
|
"""
|
|
775
772
|
return pulumi.get(self, "termination_protection")
|
|
776
773
|
|
|
777
774
|
@termination_protection.setter
|
|
778
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
775
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
779
776
|
pulumi.set(self, "termination_protection", value)
|
|
780
777
|
|
|
781
778
|
|
|
@@ -784,23 +781,23 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
784
781
|
def __init__(__self__,
|
|
785
782
|
resource_name: str,
|
|
786
783
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
787
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
784
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
788
785
|
alloydbomni: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniArgs', 'AlloydbomniAlloydbomniArgsDict']]] = None,
|
|
789
786
|
alloydbomni_user_config: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniUserConfigArgs', 'AlloydbomniAlloydbomniUserConfigArgsDict']]] = None,
|
|
790
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
791
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
792
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
793
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
794
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
795
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
796
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
797
|
-
service_account_credentials: Optional[pulumi.Input[str]] = None,
|
|
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,
|
|
798
795
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniServiceIntegrationArgs', 'AlloydbomniServiceIntegrationArgsDict']]]]] = None,
|
|
799
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
800
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
796
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
797
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
801
798
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTagArgs', 'AlloydbomniTagArgsDict']]]]] = None,
|
|
802
799
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTechEmailArgs', 'AlloydbomniTechEmailArgsDict']]]]] = None,
|
|
803
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
800
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
804
801
|
__props__=None):
|
|
805
802
|
"""
|
|
806
803
|
Creates and manages an Aiven for AlloyDB Omni service.
|
|
@@ -845,23 +842,23 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
845
842
|
|
|
846
843
|
:param str resource_name: The name of the resource.
|
|
847
844
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
848
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
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.
|
|
849
846
|
:param pulumi.Input[Union['AlloydbomniAlloydbomniArgs', 'AlloydbomniAlloydbomniArgsDict']] alloydbomni: Values provided by the AlloyDB Omni server.
|
|
850
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
|
|
851
|
-
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
852
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
853
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
854
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
855
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
856
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
857
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
858
|
-
:param pulumi.Input[str] service_account_credentials: Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
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 is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
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.
|
|
859
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
|
|
860
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
861
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
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
|
|
862
859
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTagArgs', 'AlloydbomniTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
863
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.
|
|
864
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
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.
|
|
865
862
|
"""
|
|
866
863
|
...
|
|
867
864
|
@overload
|
|
@@ -925,23 +922,23 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
925
922
|
def _internal_init(__self__,
|
|
926
923
|
resource_name: str,
|
|
927
924
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
928
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
925
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
929
926
|
alloydbomni: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniArgs', 'AlloydbomniAlloydbomniArgsDict']]] = None,
|
|
930
927
|
alloydbomni_user_config: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniUserConfigArgs', 'AlloydbomniAlloydbomniUserConfigArgsDict']]] = None,
|
|
931
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
932
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
933
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
934
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
935
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
936
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
937
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
938
|
-
service_account_credentials: Optional[pulumi.Input[str]] = None,
|
|
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,
|
|
939
936
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniServiceIntegrationArgs', 'AlloydbomniServiceIntegrationArgsDict']]]]] = None,
|
|
940
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
941
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
937
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
938
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
942
939
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTagArgs', 'AlloydbomniTagArgsDict']]]]] = None,
|
|
943
940
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTechEmailArgs', 'AlloydbomniTechEmailArgsDict']]]]] = None,
|
|
944
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
941
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
945
942
|
__props__=None):
|
|
946
943
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
947
944
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -998,35 +995,35 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
998
995
|
def get(resource_name: str,
|
|
999
996
|
id: pulumi.Input[str],
|
|
1000
997
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1001
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
998
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
1002
999
|
alloydbomni: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniArgs', 'AlloydbomniAlloydbomniArgsDict']]] = None,
|
|
1003
1000
|
alloydbomni_user_config: Optional[pulumi.Input[Union['AlloydbomniAlloydbomniUserConfigArgs', 'AlloydbomniAlloydbomniUserConfigArgsDict']]] = None,
|
|
1004
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
1001
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1005
1002
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniComponentArgs', 'AlloydbomniComponentArgsDict']]]]] = None,
|
|
1006
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
1007
|
-
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
1008
|
-
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
1009
|
-
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
1010
|
-
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
1011
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
1012
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
1013
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
1014
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
1015
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1016
|
-
service_account_credentials: Optional[pulumi.Input[str]] = None,
|
|
1017
|
-
service_host: Optional[pulumi.Input[str]] = None,
|
|
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,
|
|
1018
1015
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniServiceIntegrationArgs', 'AlloydbomniServiceIntegrationArgsDict']]]]] = None,
|
|
1019
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
1020
|
-
service_password: Optional[pulumi.Input[str]] = None,
|
|
1021
|
-
service_port: Optional[pulumi.Input[int]] = None,
|
|
1022
|
-
service_type: Optional[pulumi.Input[str]] = None,
|
|
1023
|
-
service_uri: Optional[pulumi.Input[str]] = None,
|
|
1024
|
-
service_username: Optional[pulumi.Input[str]] = None,
|
|
1025
|
-
state: Optional[pulumi.Input[str]] = None,
|
|
1026
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
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,
|
|
1027
1024
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTagArgs', 'AlloydbomniTagArgsDict']]]]] = None,
|
|
1028
1025
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTechEmailArgs', 'AlloydbomniTechEmailArgsDict']]]]] = None,
|
|
1029
|
-
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Alloydbomni':
|
|
1026
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None) -> 'Alloydbomni':
|
|
1030
1027
|
"""
|
|
1031
1028
|
Get an existing Alloydbomni resource's state with the given name, id, and optional extra
|
|
1032
1029
|
properties used to qualify the lookup.
|
|
@@ -1034,35 +1031,34 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1034
1031
|
:param str resource_name: The unique name of the resulting resource.
|
|
1035
1032
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1036
1033
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1037
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
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.
|
|
1038
1035
|
:param pulumi.Input[Union['AlloydbomniAlloydbomniArgs', 'AlloydbomniAlloydbomniArgsDict']] alloydbomni: Values provided by the AlloyDB Omni server.
|
|
1039
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
|
|
1040
|
-
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
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.
|
|
1041
1038
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniComponentArgs', 'AlloydbomniComponentArgsDict']]]] components: Service component information objects
|
|
1042
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1043
|
-
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1044
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
1045
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1046
|
-
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1047
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1048
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1049
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1050
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
1051
|
-
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1052
|
-
:param pulumi.Input[str] service_account_credentials: Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
1053
|
-
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
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 is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
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.
|
|
1054
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
|
|
1055
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
1056
|
-
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1057
|
-
:param pulumi.Input[int] service_port: The port of the service
|
|
1058
|
-
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
1059
|
-
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1060
|
-
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1061
|
-
:param pulumi.Input[str]
|
|
1062
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
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
|
|
1063
1059
|
:param pulumi.Input[Sequence[pulumi.Input[Union['AlloydbomniTagArgs', 'AlloydbomniTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1064
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.
|
|
1065
|
-
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
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.
|
|
1066
1062
|
"""
|
|
1067
1063
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1068
1064
|
|
|
@@ -1101,9 +1097,9 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1101
1097
|
|
|
1102
1098
|
@property
|
|
1103
1099
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1104
|
-
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1100
|
+
def additional_disk_space(self) -> pulumi.Output[builtins.str]:
|
|
1105
1101
|
"""
|
|
1106
|
-
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
|
|
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.
|
|
1107
1103
|
"""
|
|
1108
1104
|
return pulumi.get(self, "additional_disk_space")
|
|
1109
1105
|
|
|
@@ -1125,7 +1121,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1125
1121
|
|
|
1126
1122
|
@property
|
|
1127
1123
|
@pulumi.getter(name="cloudName")
|
|
1128
|
-
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1124
|
+
def cloud_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1129
1125
|
"""
|
|
1130
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.
|
|
1131
1127
|
"""
|
|
@@ -1142,7 +1138,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1142
1138
|
@property
|
|
1143
1139
|
@pulumi.getter(name="diskSpace")
|
|
1144
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.""")
|
|
1145
|
-
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1141
|
+
def disk_space(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1146
1142
|
"""
|
|
1147
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.
|
|
1148
1144
|
"""
|
|
@@ -1150,7 +1146,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1150
1146
|
|
|
1151
1147
|
@property
|
|
1152
1148
|
@pulumi.getter(name="diskSpaceCap")
|
|
1153
|
-
def disk_space_cap(self) -> pulumi.Output[str]:
|
|
1149
|
+
def disk_space_cap(self) -> pulumi.Output[builtins.str]:
|
|
1154
1150
|
"""
|
|
1155
1151
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1156
1152
|
"""
|
|
@@ -1158,7 +1154,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1158
1154
|
|
|
1159
1155
|
@property
|
|
1160
1156
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1161
|
-
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1157
|
+
def disk_space_default(self) -> pulumi.Output[builtins.str]:
|
|
1162
1158
|
"""
|
|
1163
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`
|
|
1164
1160
|
"""
|
|
@@ -1166,7 +1162,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1166
1162
|
|
|
1167
1163
|
@property
|
|
1168
1164
|
@pulumi.getter(name="diskSpaceStep")
|
|
1169
|
-
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1165
|
+
def disk_space_step(self) -> pulumi.Output[builtins.str]:
|
|
1170
1166
|
"""
|
|
1171
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.
|
|
1172
1168
|
"""
|
|
@@ -1175,7 +1171,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1175
1171
|
@property
|
|
1176
1172
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1177
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.""")
|
|
1178
|
-
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1174
|
+
def disk_space_used(self) -> pulumi.Output[builtins.str]:
|
|
1179
1175
|
"""
|
|
1180
1176
|
Disk space that service is currently using
|
|
1181
1177
|
"""
|
|
@@ -1183,7 +1179,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1183
1179
|
|
|
1184
1180
|
@property
|
|
1185
1181
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1186
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
|
|
1182
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1187
1183
|
"""
|
|
1188
1184
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1189
1185
|
"""
|
|
@@ -1191,7 +1187,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1191
1187
|
|
|
1192
1188
|
@property
|
|
1193
1189
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1194
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[str]]:
|
|
1190
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1195
1191
|
"""
|
|
1196
1192
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1197
1193
|
"""
|
|
@@ -1199,7 +1195,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1199
1195
|
|
|
1200
1196
|
@property
|
|
1201
1197
|
@pulumi.getter
|
|
1202
|
-
def plan(self) -> pulumi.Output[str]:
|
|
1198
|
+
def plan(self) -> pulumi.Output[builtins.str]:
|
|
1203
1199
|
"""
|
|
1204
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).
|
|
1205
1201
|
"""
|
|
@@ -1207,7 +1203,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1207
1203
|
|
|
1208
1204
|
@property
|
|
1209
1205
|
@pulumi.getter
|
|
1210
|
-
def project(self) -> pulumi.Output[str]:
|
|
1206
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
|
1211
1207
|
"""
|
|
1212
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.
|
|
1213
1209
|
"""
|
|
@@ -1215,7 +1211,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1215
1211
|
|
|
1216
1212
|
@property
|
|
1217
1213
|
@pulumi.getter(name="projectVpcId")
|
|
1218
|
-
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1214
|
+
def project_vpc_id(self) -> pulumi.Output[builtins.str]:
|
|
1219
1215
|
"""
|
|
1220
1216
|
Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1221
1217
|
"""
|
|
@@ -1223,7 +1219,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1223
1219
|
|
|
1224
1220
|
@property
|
|
1225
1221
|
@pulumi.getter(name="serviceAccountCredentials")
|
|
1226
|
-
def service_account_credentials(self) -> pulumi.Output[Optional[str]]:
|
|
1222
|
+
def service_account_credentials(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1227
1223
|
"""
|
|
1228
1224
|
Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
|
|
1229
1225
|
"""
|
|
@@ -1231,7 +1227,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1231
1227
|
|
|
1232
1228
|
@property
|
|
1233
1229
|
@pulumi.getter(name="serviceHost")
|
|
1234
|
-
def service_host(self) -> pulumi.Output[str]:
|
|
1230
|
+
def service_host(self) -> pulumi.Output[builtins.str]:
|
|
1235
1231
|
"""
|
|
1236
1232
|
The hostname of the service.
|
|
1237
1233
|
"""
|
|
@@ -1247,7 +1243,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1247
1243
|
|
|
1248
1244
|
@property
|
|
1249
1245
|
@pulumi.getter(name="serviceName")
|
|
1250
|
-
def service_name(self) -> pulumi.Output[str]:
|
|
1246
|
+
def service_name(self) -> pulumi.Output[builtins.str]:
|
|
1251
1247
|
"""
|
|
1252
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.
|
|
1253
1249
|
"""
|
|
@@ -1255,7 +1251,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1255
1251
|
|
|
1256
1252
|
@property
|
|
1257
1253
|
@pulumi.getter(name="servicePassword")
|
|
1258
|
-
def service_password(self) -> pulumi.Output[str]:
|
|
1254
|
+
def service_password(self) -> pulumi.Output[builtins.str]:
|
|
1259
1255
|
"""
|
|
1260
1256
|
Password used for connecting to the service, if applicable
|
|
1261
1257
|
"""
|
|
@@ -1263,7 +1259,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1263
1259
|
|
|
1264
1260
|
@property
|
|
1265
1261
|
@pulumi.getter(name="servicePort")
|
|
1266
|
-
def service_port(self) -> pulumi.Output[int]:
|
|
1262
|
+
def service_port(self) -> pulumi.Output[builtins.int]:
|
|
1267
1263
|
"""
|
|
1268
1264
|
The port of the service
|
|
1269
1265
|
"""
|
|
@@ -1271,7 +1267,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1271
1267
|
|
|
1272
1268
|
@property
|
|
1273
1269
|
@pulumi.getter(name="serviceType")
|
|
1274
|
-
def service_type(self) -> pulumi.Output[str]:
|
|
1270
|
+
def service_type(self) -> pulumi.Output[builtins.str]:
|
|
1275
1271
|
"""
|
|
1276
1272
|
Aiven internal service type code
|
|
1277
1273
|
"""
|
|
@@ -1279,7 +1275,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1279
1275
|
|
|
1280
1276
|
@property
|
|
1281
1277
|
@pulumi.getter(name="serviceUri")
|
|
1282
|
-
def service_uri(self) -> pulumi.Output[str]:
|
|
1278
|
+
def service_uri(self) -> pulumi.Output[builtins.str]:
|
|
1283
1279
|
"""
|
|
1284
1280
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1285
1281
|
"""
|
|
@@ -1287,7 +1283,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1287
1283
|
|
|
1288
1284
|
@property
|
|
1289
1285
|
@pulumi.getter(name="serviceUsername")
|
|
1290
|
-
def service_username(self) -> pulumi.Output[str]:
|
|
1286
|
+
def service_username(self) -> pulumi.Output[builtins.str]:
|
|
1291
1287
|
"""
|
|
1292
1288
|
Username used for connecting to the service, if applicable
|
|
1293
1289
|
"""
|
|
@@ -1295,15 +1291,12 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1295
1291
|
|
|
1296
1292
|
@property
|
|
1297
1293
|
@pulumi.getter
|
|
1298
|
-
def state(self) -> pulumi.Output[str]:
|
|
1299
|
-
"""
|
|
1300
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1301
|
-
"""
|
|
1294
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
|
1302
1295
|
return pulumi.get(self, "state")
|
|
1303
1296
|
|
|
1304
1297
|
@property
|
|
1305
1298
|
@pulumi.getter(name="staticIps")
|
|
1306
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1299
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1307
1300
|
"""
|
|
1308
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
|
|
1309
1302
|
"""
|
|
@@ -1327,7 +1320,7 @@ class Alloydbomni(pulumi.CustomResource):
|
|
|
1327
1320
|
|
|
1328
1321
|
@property
|
|
1329
1322
|
@pulumi.getter(name="terminationProtection")
|
|
1330
|
-
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1323
|
+
def termination_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1331
1324
|
"""
|
|
1332
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.
|
|
1333
1326
|
"""
|