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/dragonfly.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,40 +22,40 @@ __all__ = ['DragonflyArgs', 'Dragonfly']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class DragonflyArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
plan: pulumi.Input[str],
|
|
25
|
-
project: pulumi.Input[str],
|
|
26
|
-
service_name: pulumi.Input[str],
|
|
27
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
28
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
plan: pulumi.Input[builtins.str],
|
|
26
|
+
project: pulumi.Input[builtins.str],
|
|
27
|
+
service_name: pulumi.Input[builtins.str],
|
|
28
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
29
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
31
|
dragonfly: Optional[pulumi.Input['DragonflyDragonflyArgs']] = None,
|
|
31
32
|
dragonfly_user_config: Optional[pulumi.Input['DragonflyDragonflyUserConfigArgs']] = 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,
|
|
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,
|
|
35
36
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyServiceIntegrationArgs']]]] = None,
|
|
36
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
37
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
37
38
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyTagArgs']]]] = None,
|
|
38
39
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]]] = None,
|
|
39
|
-
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
40
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
|
|
40
41
|
"""
|
|
41
42
|
The set of arguments for constructing a Dragonfly resource.
|
|
42
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
43
|
-
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
44
|
-
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
46
|
-
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
47
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
43
|
+
:param pulumi.Input[builtins.str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
44
|
+
:param pulumi.Input[builtins.str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
45
|
+
:param pulumi.Input[builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
47
|
+
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
48
|
+
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
48
49
|
:param pulumi.Input['DragonflyDragonflyArgs'] dragonfly: Dragonfly server provided values
|
|
49
50
|
:param pulumi.Input['DragonflyDragonflyUserConfigArgs'] dragonfly_user_config: Dragonfly user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
50
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
51
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
52
|
-
: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.
|
|
51
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
52
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
53
|
+
:param pulumi.Input[builtins.str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service 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.
|
|
53
54
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
54
|
-
: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
|
|
55
|
+
: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
|
|
55
56
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
56
57
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]] 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.
|
|
57
|
-
: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.
|
|
58
|
+
: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.
|
|
58
59
|
"""
|
|
59
60
|
pulumi.set(__self__, "plan", plan)
|
|
60
61
|
pulumi.set(__self__, "project", project)
|
|
@@ -91,75 +92,75 @@ class DragonflyArgs:
|
|
|
91
92
|
|
|
92
93
|
@property
|
|
93
94
|
@pulumi.getter
|
|
94
|
-
def plan(self) -> pulumi.Input[str]:
|
|
95
|
+
def plan(self) -> pulumi.Input[builtins.str]:
|
|
95
96
|
"""
|
|
96
97
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
97
98
|
"""
|
|
98
99
|
return pulumi.get(self, "plan")
|
|
99
100
|
|
|
100
101
|
@plan.setter
|
|
101
|
-
def plan(self, value: pulumi.Input[str]):
|
|
102
|
+
def plan(self, value: pulumi.Input[builtins.str]):
|
|
102
103
|
pulumi.set(self, "plan", value)
|
|
103
104
|
|
|
104
105
|
@property
|
|
105
106
|
@pulumi.getter
|
|
106
|
-
def project(self) -> pulumi.Input[str]:
|
|
107
|
+
def project(self) -> pulumi.Input[builtins.str]:
|
|
107
108
|
"""
|
|
108
109
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
109
110
|
"""
|
|
110
111
|
return pulumi.get(self, "project")
|
|
111
112
|
|
|
112
113
|
@project.setter
|
|
113
|
-
def project(self, value: pulumi.Input[str]):
|
|
114
|
+
def project(self, value: pulumi.Input[builtins.str]):
|
|
114
115
|
pulumi.set(self, "project", value)
|
|
115
116
|
|
|
116
117
|
@property
|
|
117
118
|
@pulumi.getter(name="serviceName")
|
|
118
|
-
def service_name(self) -> pulumi.Input[str]:
|
|
119
|
+
def service_name(self) -> pulumi.Input[builtins.str]:
|
|
119
120
|
"""
|
|
120
121
|
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
121
122
|
"""
|
|
122
123
|
return pulumi.get(self, "service_name")
|
|
123
124
|
|
|
124
125
|
@service_name.setter
|
|
125
|
-
def service_name(self, value: pulumi.Input[str]):
|
|
126
|
+
def service_name(self, value: pulumi.Input[builtins.str]):
|
|
126
127
|
pulumi.set(self, "service_name", value)
|
|
127
128
|
|
|
128
129
|
@property
|
|
129
130
|
@pulumi.getter(name="additionalDiskSpace")
|
|
130
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
131
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
131
132
|
"""
|
|
132
|
-
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
|
|
133
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
133
134
|
"""
|
|
134
135
|
return pulumi.get(self, "additional_disk_space")
|
|
135
136
|
|
|
136
137
|
@additional_disk_space.setter
|
|
137
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
138
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
138
139
|
pulumi.set(self, "additional_disk_space", value)
|
|
139
140
|
|
|
140
141
|
@property
|
|
141
142
|
@pulumi.getter(name="cloudName")
|
|
142
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
143
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
143
144
|
"""
|
|
144
145
|
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
145
146
|
"""
|
|
146
147
|
return pulumi.get(self, "cloud_name")
|
|
147
148
|
|
|
148
149
|
@cloud_name.setter
|
|
149
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
150
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
150
151
|
pulumi.set(self, "cloud_name", value)
|
|
151
152
|
|
|
152
153
|
@property
|
|
153
154
|
@pulumi.getter(name="diskSpace")
|
|
154
155
|
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
155
|
-
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
156
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
156
157
|
"""
|
|
157
158
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
158
159
|
"""
|
|
159
160
|
return pulumi.get(self, "disk_space")
|
|
160
161
|
|
|
161
162
|
@disk_space.setter
|
|
162
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
163
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
163
164
|
pulumi.set(self, "disk_space", value)
|
|
164
165
|
|
|
165
166
|
@property
|
|
@@ -188,38 +189,38 @@ class DragonflyArgs:
|
|
|
188
189
|
|
|
189
190
|
@property
|
|
190
191
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
191
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
192
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
192
193
|
"""
|
|
193
194
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
194
195
|
"""
|
|
195
196
|
return pulumi.get(self, "maintenance_window_dow")
|
|
196
197
|
|
|
197
198
|
@maintenance_window_dow.setter
|
|
198
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
199
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
199
200
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
200
201
|
|
|
201
202
|
@property
|
|
202
203
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
203
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
204
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
204
205
|
"""
|
|
205
206
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
206
207
|
"""
|
|
207
208
|
return pulumi.get(self, "maintenance_window_time")
|
|
208
209
|
|
|
209
210
|
@maintenance_window_time.setter
|
|
210
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
211
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
211
212
|
pulumi.set(self, "maintenance_window_time", value)
|
|
212
213
|
|
|
213
214
|
@property
|
|
214
215
|
@pulumi.getter(name="projectVpcId")
|
|
215
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
216
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
216
217
|
"""
|
|
217
218
|
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.
|
|
218
219
|
"""
|
|
219
220
|
return pulumi.get(self, "project_vpc_id")
|
|
220
221
|
|
|
221
222
|
@project_vpc_id.setter
|
|
222
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
223
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
223
224
|
pulumi.set(self, "project_vpc_id", value)
|
|
224
225
|
|
|
225
226
|
@property
|
|
@@ -236,14 +237,14 @@ class DragonflyArgs:
|
|
|
236
237
|
|
|
237
238
|
@property
|
|
238
239
|
@pulumi.getter(name="staticIps")
|
|
239
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
240
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
240
241
|
"""
|
|
241
242
|
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
|
|
242
243
|
"""
|
|
243
244
|
return pulumi.get(self, "static_ips")
|
|
244
245
|
|
|
245
246
|
@static_ips.setter
|
|
246
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
247
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
247
248
|
pulumi.set(self, "static_ips", value)
|
|
248
249
|
|
|
249
250
|
@property
|
|
@@ -272,78 +273,77 @@ class DragonflyArgs:
|
|
|
272
273
|
|
|
273
274
|
@property
|
|
274
275
|
@pulumi.getter(name="terminationProtection")
|
|
275
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
276
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
276
277
|
"""
|
|
277
278
|
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.
|
|
278
279
|
"""
|
|
279
280
|
return pulumi.get(self, "termination_protection")
|
|
280
281
|
|
|
281
282
|
@termination_protection.setter
|
|
282
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
283
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
283
284
|
pulumi.set(self, "termination_protection", value)
|
|
284
285
|
|
|
285
286
|
|
|
286
287
|
@pulumi.input_type
|
|
287
288
|
class _DragonflyState:
|
|
288
289
|
def __init__(__self__, *,
|
|
289
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
290
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
290
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
291
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
291
292
|
components: Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyComponentArgs']]]] = None,
|
|
292
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
293
|
-
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
294
|
-
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
295
|
-
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
296
|
-
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
293
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
294
|
+
disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
|
|
295
|
+
disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
|
|
296
|
+
disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
|
+
disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
|
|
297
298
|
dragonfly: Optional[pulumi.Input['DragonflyDragonflyArgs']] = None,
|
|
298
299
|
dragonfly_user_config: Optional[pulumi.Input['DragonflyDragonflyUserConfigArgs']] = None,
|
|
299
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
300
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
301
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
303
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
304
|
-
service_host: Optional[pulumi.Input[str]] = None,
|
|
300
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
301
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
302
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
304
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
305
|
+
service_host: Optional[pulumi.Input[builtins.str]] = None,
|
|
305
306
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyServiceIntegrationArgs']]]] = None,
|
|
306
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
307
|
-
service_password: Optional[pulumi.Input[str]] = None,
|
|
308
|
-
service_port: Optional[pulumi.Input[int]] = None,
|
|
309
|
-
service_type: Optional[pulumi.Input[str]] = None,
|
|
310
|
-
service_uri: Optional[pulumi.Input[str]] = None,
|
|
311
|
-
service_username: Optional[pulumi.Input[str]] = None,
|
|
312
|
-
state: Optional[pulumi.Input[str]] = None,
|
|
313
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
307
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
308
|
+
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
|
309
|
+
service_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
310
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
311
|
+
service_uri: Optional[pulumi.Input[builtins.str]] = None,
|
|
312
|
+
service_username: Optional[pulumi.Input[builtins.str]] = None,
|
|
313
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
314
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
314
315
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyTagArgs']]]] = None,
|
|
315
316
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]]] = None,
|
|
316
|
-
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
317
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None):
|
|
317
318
|
"""
|
|
318
319
|
Input properties used for looking up and filtering Dragonfly resources.
|
|
319
|
-
:param pulumi.Input[str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services
|
|
320
|
-
:param pulumi.Input[str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
320
|
+
:param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
321
|
+
:param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
321
322
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyComponentArgs']]] components: Service component information objects
|
|
322
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
323
|
-
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
324
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
325
|
-
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
326
|
-
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
323
|
+
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
324
|
+
:param pulumi.Input[builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
325
|
+
:param pulumi.Input[builtins.str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
326
|
+
:param pulumi.Input[builtins.str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
327
|
+
:param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
|
|
327
328
|
:param pulumi.Input['DragonflyDragonflyArgs'] dragonfly: Dragonfly server provided values
|
|
328
329
|
:param pulumi.Input['DragonflyDragonflyUserConfigArgs'] dragonfly_user_config: Dragonfly user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
329
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
330
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
331
|
-
: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).
|
|
332
|
-
: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.
|
|
333
|
-
: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.
|
|
334
|
-
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
330
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
331
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
332
|
+
: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).
|
|
333
|
+
: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.
|
|
334
|
+
: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.
|
|
335
|
+
:param pulumi.Input[builtins.str] service_host: The hostname of the service.
|
|
335
336
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
336
|
-
: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.
|
|
337
|
-
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
338
|
-
:param pulumi.Input[int] service_port: The port of the service
|
|
339
|
-
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
340
|
-
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
341
|
-
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
342
|
-
:param pulumi.Input[str]
|
|
343
|
-
: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
|
|
337
|
+
: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.
|
|
338
|
+
:param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
339
|
+
:param pulumi.Input[builtins.int] service_port: The port of the service
|
|
340
|
+
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
341
|
+
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
342
|
+
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
343
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
344
344
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
345
345
|
:param pulumi.Input[Sequence[pulumi.Input['DragonflyTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
346
|
-
:param pulumi.Input[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.
|
|
346
|
+
:param pulumi.Input[builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
347
347
|
"""
|
|
348
348
|
if additional_disk_space is not None:
|
|
349
349
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -410,26 +410,26 @@ class _DragonflyState:
|
|
|
410
410
|
|
|
411
411
|
@property
|
|
412
412
|
@pulumi.getter(name="additionalDiskSpace")
|
|
413
|
-
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
413
|
+
def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
414
414
|
"""
|
|
415
|
-
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
|
|
415
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
416
416
|
"""
|
|
417
417
|
return pulumi.get(self, "additional_disk_space")
|
|
418
418
|
|
|
419
419
|
@additional_disk_space.setter
|
|
420
|
-
def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
420
|
+
def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
421
421
|
pulumi.set(self, "additional_disk_space", value)
|
|
422
422
|
|
|
423
423
|
@property
|
|
424
424
|
@pulumi.getter(name="cloudName")
|
|
425
|
-
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
425
|
+
def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
426
426
|
"""
|
|
427
427
|
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
428
428
|
"""
|
|
429
429
|
return pulumi.get(self, "cloud_name")
|
|
430
430
|
|
|
431
431
|
@cloud_name.setter
|
|
432
|
-
def cloud_name(self, value: Optional[pulumi.Input[str]]):
|
|
432
|
+
def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
433
433
|
pulumi.set(self, "cloud_name", value)
|
|
434
434
|
|
|
435
435
|
@property
|
|
@@ -447,63 +447,63 @@ class _DragonflyState:
|
|
|
447
447
|
@property
|
|
448
448
|
@pulumi.getter(name="diskSpace")
|
|
449
449
|
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
450
|
-
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
450
|
+
def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
451
451
|
"""
|
|
452
452
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
453
453
|
"""
|
|
454
454
|
return pulumi.get(self, "disk_space")
|
|
455
455
|
|
|
456
456
|
@disk_space.setter
|
|
457
|
-
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
457
|
+
def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
458
458
|
pulumi.set(self, "disk_space", value)
|
|
459
459
|
|
|
460
460
|
@property
|
|
461
461
|
@pulumi.getter(name="diskSpaceCap")
|
|
462
|
-
def disk_space_cap(self) -> Optional[pulumi.Input[str]]:
|
|
462
|
+
def disk_space_cap(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
463
463
|
"""
|
|
464
464
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
465
465
|
"""
|
|
466
466
|
return pulumi.get(self, "disk_space_cap")
|
|
467
467
|
|
|
468
468
|
@disk_space_cap.setter
|
|
469
|
-
def disk_space_cap(self, value: Optional[pulumi.Input[str]]):
|
|
469
|
+
def disk_space_cap(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
470
470
|
pulumi.set(self, "disk_space_cap", value)
|
|
471
471
|
|
|
472
472
|
@property
|
|
473
473
|
@pulumi.getter(name="diskSpaceDefault")
|
|
474
|
-
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
474
|
+
def disk_space_default(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
475
475
|
"""
|
|
476
476
|
The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
477
477
|
"""
|
|
478
478
|
return pulumi.get(self, "disk_space_default")
|
|
479
479
|
|
|
480
480
|
@disk_space_default.setter
|
|
481
|
-
def disk_space_default(self, value: Optional[pulumi.Input[str]]):
|
|
481
|
+
def disk_space_default(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
482
482
|
pulumi.set(self, "disk_space_default", value)
|
|
483
483
|
|
|
484
484
|
@property
|
|
485
485
|
@pulumi.getter(name="diskSpaceStep")
|
|
486
|
-
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
486
|
+
def disk_space_step(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
487
487
|
"""
|
|
488
488
|
The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
489
489
|
"""
|
|
490
490
|
return pulumi.get(self, "disk_space_step")
|
|
491
491
|
|
|
492
492
|
@disk_space_step.setter
|
|
493
|
-
def disk_space_step(self, value: Optional[pulumi.Input[str]]):
|
|
493
|
+
def disk_space_step(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
494
494
|
pulumi.set(self, "disk_space_step", value)
|
|
495
495
|
|
|
496
496
|
@property
|
|
497
497
|
@pulumi.getter(name="diskSpaceUsed")
|
|
498
498
|
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
499
|
-
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
499
|
+
def disk_space_used(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
500
500
|
"""
|
|
501
501
|
Disk space that service is currently using
|
|
502
502
|
"""
|
|
503
503
|
return pulumi.get(self, "disk_space_used")
|
|
504
504
|
|
|
505
505
|
@disk_space_used.setter
|
|
506
|
-
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
506
|
+
def disk_space_used(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
507
507
|
pulumi.set(self, "disk_space_used", value)
|
|
508
508
|
|
|
509
509
|
@property
|
|
@@ -532,74 +532,74 @@ class _DragonflyState:
|
|
|
532
532
|
|
|
533
533
|
@property
|
|
534
534
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
535
|
-
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
535
|
+
def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
536
536
|
"""
|
|
537
537
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
538
538
|
"""
|
|
539
539
|
return pulumi.get(self, "maintenance_window_dow")
|
|
540
540
|
|
|
541
541
|
@maintenance_window_dow.setter
|
|
542
|
-
def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
|
|
542
|
+
def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
543
543
|
pulumi.set(self, "maintenance_window_dow", value)
|
|
544
544
|
|
|
545
545
|
@property
|
|
546
546
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
547
|
-
def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
|
|
547
|
+
def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
548
548
|
"""
|
|
549
549
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
550
550
|
"""
|
|
551
551
|
return pulumi.get(self, "maintenance_window_time")
|
|
552
552
|
|
|
553
553
|
@maintenance_window_time.setter
|
|
554
|
-
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
554
|
+
def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
555
555
|
pulumi.set(self, "maintenance_window_time", value)
|
|
556
556
|
|
|
557
557
|
@property
|
|
558
558
|
@pulumi.getter
|
|
559
|
-
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
559
|
+
def plan(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
560
560
|
"""
|
|
561
561
|
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
562
562
|
"""
|
|
563
563
|
return pulumi.get(self, "plan")
|
|
564
564
|
|
|
565
565
|
@plan.setter
|
|
566
|
-
def plan(self, value: Optional[pulumi.Input[str]]):
|
|
566
|
+
def plan(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
567
567
|
pulumi.set(self, "plan", value)
|
|
568
568
|
|
|
569
569
|
@property
|
|
570
570
|
@pulumi.getter
|
|
571
|
-
def project(self) -> Optional[pulumi.Input[str]]:
|
|
571
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
572
572
|
"""
|
|
573
573
|
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
574
574
|
"""
|
|
575
575
|
return pulumi.get(self, "project")
|
|
576
576
|
|
|
577
577
|
@project.setter
|
|
578
|
-
def project(self, value: Optional[pulumi.Input[str]]):
|
|
578
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
579
579
|
pulumi.set(self, "project", value)
|
|
580
580
|
|
|
581
581
|
@property
|
|
582
582
|
@pulumi.getter(name="projectVpcId")
|
|
583
|
-
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
583
|
+
def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
584
584
|
"""
|
|
585
585
|
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.
|
|
586
586
|
"""
|
|
587
587
|
return pulumi.get(self, "project_vpc_id")
|
|
588
588
|
|
|
589
589
|
@project_vpc_id.setter
|
|
590
|
-
def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
|
|
590
|
+
def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
591
591
|
pulumi.set(self, "project_vpc_id", value)
|
|
592
592
|
|
|
593
593
|
@property
|
|
594
594
|
@pulumi.getter(name="serviceHost")
|
|
595
|
-
def service_host(self) -> Optional[pulumi.Input[str]]:
|
|
595
|
+
def service_host(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
596
596
|
"""
|
|
597
597
|
The hostname of the service.
|
|
598
598
|
"""
|
|
599
599
|
return pulumi.get(self, "service_host")
|
|
600
600
|
|
|
601
601
|
@service_host.setter
|
|
602
|
-
def service_host(self, value: Optional[pulumi.Input[str]]):
|
|
602
|
+
def service_host(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
603
603
|
pulumi.set(self, "service_host", value)
|
|
604
604
|
|
|
605
605
|
@property
|
|
@@ -616,98 +616,95 @@ class _DragonflyState:
|
|
|
616
616
|
|
|
617
617
|
@property
|
|
618
618
|
@pulumi.getter(name="serviceName")
|
|
619
|
-
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
619
|
+
def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
620
620
|
"""
|
|
621
621
|
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
622
622
|
"""
|
|
623
623
|
return pulumi.get(self, "service_name")
|
|
624
624
|
|
|
625
625
|
@service_name.setter
|
|
626
|
-
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
626
|
+
def service_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
627
627
|
pulumi.set(self, "service_name", value)
|
|
628
628
|
|
|
629
629
|
@property
|
|
630
630
|
@pulumi.getter(name="servicePassword")
|
|
631
|
-
def service_password(self) -> Optional[pulumi.Input[str]]:
|
|
631
|
+
def service_password(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
632
632
|
"""
|
|
633
633
|
Password used for connecting to the service, if applicable
|
|
634
634
|
"""
|
|
635
635
|
return pulumi.get(self, "service_password")
|
|
636
636
|
|
|
637
637
|
@service_password.setter
|
|
638
|
-
def service_password(self, value: Optional[pulumi.Input[str]]):
|
|
638
|
+
def service_password(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
639
639
|
pulumi.set(self, "service_password", value)
|
|
640
640
|
|
|
641
641
|
@property
|
|
642
642
|
@pulumi.getter(name="servicePort")
|
|
643
|
-
def service_port(self) -> Optional[pulumi.Input[int]]:
|
|
643
|
+
def service_port(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
644
644
|
"""
|
|
645
645
|
The port of the service
|
|
646
646
|
"""
|
|
647
647
|
return pulumi.get(self, "service_port")
|
|
648
648
|
|
|
649
649
|
@service_port.setter
|
|
650
|
-
def service_port(self, value: Optional[pulumi.Input[int]]):
|
|
650
|
+
def service_port(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
651
651
|
pulumi.set(self, "service_port", value)
|
|
652
652
|
|
|
653
653
|
@property
|
|
654
654
|
@pulumi.getter(name="serviceType")
|
|
655
|
-
def service_type(self) -> Optional[pulumi.Input[str]]:
|
|
655
|
+
def service_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
656
656
|
"""
|
|
657
657
|
Aiven internal service type code
|
|
658
658
|
"""
|
|
659
659
|
return pulumi.get(self, "service_type")
|
|
660
660
|
|
|
661
661
|
@service_type.setter
|
|
662
|
-
def service_type(self, value: Optional[pulumi.Input[str]]):
|
|
662
|
+
def service_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
663
663
|
pulumi.set(self, "service_type", value)
|
|
664
664
|
|
|
665
665
|
@property
|
|
666
666
|
@pulumi.getter(name="serviceUri")
|
|
667
|
-
def service_uri(self) -> Optional[pulumi.Input[str]]:
|
|
667
|
+
def service_uri(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
668
668
|
"""
|
|
669
669
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
670
670
|
"""
|
|
671
671
|
return pulumi.get(self, "service_uri")
|
|
672
672
|
|
|
673
673
|
@service_uri.setter
|
|
674
|
-
def service_uri(self, value: Optional[pulumi.Input[str]]):
|
|
674
|
+
def service_uri(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
675
675
|
pulumi.set(self, "service_uri", value)
|
|
676
676
|
|
|
677
677
|
@property
|
|
678
678
|
@pulumi.getter(name="serviceUsername")
|
|
679
|
-
def service_username(self) -> Optional[pulumi.Input[str]]:
|
|
679
|
+
def service_username(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
680
680
|
"""
|
|
681
681
|
Username used for connecting to the service, if applicable
|
|
682
682
|
"""
|
|
683
683
|
return pulumi.get(self, "service_username")
|
|
684
684
|
|
|
685
685
|
@service_username.setter
|
|
686
|
-
def service_username(self, value: Optional[pulumi.Input[str]]):
|
|
686
|
+
def service_username(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
687
687
|
pulumi.set(self, "service_username", value)
|
|
688
688
|
|
|
689
689
|
@property
|
|
690
690
|
@pulumi.getter
|
|
691
|
-
def state(self) -> Optional[pulumi.Input[str]]:
|
|
692
|
-
"""
|
|
693
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
694
|
-
"""
|
|
691
|
+
def state(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
695
692
|
return pulumi.get(self, "state")
|
|
696
693
|
|
|
697
694
|
@state.setter
|
|
698
|
-
def state(self, value: Optional[pulumi.Input[str]]):
|
|
695
|
+
def state(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
699
696
|
pulumi.set(self, "state", value)
|
|
700
697
|
|
|
701
698
|
@property
|
|
702
699
|
@pulumi.getter(name="staticIps")
|
|
703
|
-
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
700
|
+
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
704
701
|
"""
|
|
705
702
|
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
|
|
706
703
|
"""
|
|
707
704
|
return pulumi.get(self, "static_ips")
|
|
708
705
|
|
|
709
706
|
@static_ips.setter
|
|
710
|
-
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
707
|
+
def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
711
708
|
pulumi.set(self, "static_ips", value)
|
|
712
709
|
|
|
713
710
|
@property
|
|
@@ -736,14 +733,14 @@ class _DragonflyState:
|
|
|
736
733
|
|
|
737
734
|
@property
|
|
738
735
|
@pulumi.getter(name="terminationProtection")
|
|
739
|
-
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
736
|
+
def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
740
737
|
"""
|
|
741
738
|
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.
|
|
742
739
|
"""
|
|
743
740
|
return pulumi.get(self, "termination_protection")
|
|
744
741
|
|
|
745
742
|
@termination_protection.setter
|
|
746
|
-
def termination_protection(self, value: Optional[pulumi.Input[bool]]):
|
|
743
|
+
def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
747
744
|
pulumi.set(self, "termination_protection", value)
|
|
748
745
|
|
|
749
746
|
|
|
@@ -752,22 +749,22 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
752
749
|
def __init__(__self__,
|
|
753
750
|
resource_name: str,
|
|
754
751
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
755
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
756
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
757
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
752
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
753
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
754
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
758
755
|
dragonfly: Optional[pulumi.Input[Union['DragonflyDragonflyArgs', 'DragonflyDragonflyArgsDict']]] = None,
|
|
759
756
|
dragonfly_user_config: Optional[pulumi.Input[Union['DragonflyDragonflyUserConfigArgs', 'DragonflyDragonflyUserConfigArgsDict']]] = None,
|
|
760
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
761
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
762
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
763
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
764
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
757
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
758
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
759
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
760
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
761
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
765
762
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyServiceIntegrationArgs', 'DragonflyServiceIntegrationArgsDict']]]]] = None,
|
|
766
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
767
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
763
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
764
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
768
765
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTagArgs', 'DragonflyTagArgsDict']]]]] = None,
|
|
769
766
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTechEmailArgs', 'DragonflyTechEmailArgsDict']]]]] = None,
|
|
770
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
767
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
771
768
|
__props__=None):
|
|
772
769
|
"""
|
|
773
770
|
Creates and manages an [Aiven for Dragonfly®](https://aiven.io/docs/products/dragonfly/concepts/overview) service.
|
|
@@ -796,22 +793,22 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
796
793
|
|
|
797
794
|
:param str resource_name: The name of the resource.
|
|
798
795
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
799
|
-
: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
|
|
800
|
-
: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.
|
|
801
|
-
: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.
|
|
796
|
+
: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.
|
|
797
|
+
: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.
|
|
798
|
+
:param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
802
799
|
:param pulumi.Input[Union['DragonflyDragonflyArgs', 'DragonflyDragonflyArgsDict']] dragonfly: Dragonfly server provided values
|
|
803
800
|
:param pulumi.Input[Union['DragonflyDragonflyUserConfigArgs', 'DragonflyDragonflyUserConfigArgsDict']] dragonfly_user_config: Dragonfly user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
804
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
805
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
806
|
-
: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).
|
|
807
|
-
: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.
|
|
808
|
-
: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.
|
|
801
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
802
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
803
|
+
: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).
|
|
804
|
+
: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.
|
|
805
|
+
: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.
|
|
809
806
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyServiceIntegrationArgs', 'DragonflyServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
810
|
-
: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.
|
|
811
|
-
: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
|
|
807
|
+
: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.
|
|
808
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
812
809
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTagArgs', 'DragonflyTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
813
810
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTechEmailArgs', 'DragonflyTechEmailArgsDict']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
814
|
-
:param pulumi.Input[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.
|
|
811
|
+
:param pulumi.Input[builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
815
812
|
"""
|
|
816
813
|
...
|
|
817
814
|
@overload
|
|
@@ -859,22 +856,22 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
859
856
|
def _internal_init(__self__,
|
|
860
857
|
resource_name: str,
|
|
861
858
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
862
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
863
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
864
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
859
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
860
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
861
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
865
862
|
dragonfly: Optional[pulumi.Input[Union['DragonflyDragonflyArgs', 'DragonflyDragonflyArgsDict']]] = None,
|
|
866
863
|
dragonfly_user_config: Optional[pulumi.Input[Union['DragonflyDragonflyUserConfigArgs', 'DragonflyDragonflyUserConfigArgsDict']]] = None,
|
|
867
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
868
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
869
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
870
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
871
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
864
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
865
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
866
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
867
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
868
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
872
869
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyServiceIntegrationArgs', 'DragonflyServiceIntegrationArgsDict']]]]] = None,
|
|
873
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
874
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
870
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
871
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
875
872
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTagArgs', 'DragonflyTagArgsDict']]]]] = None,
|
|
876
873
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTechEmailArgs', 'DragonflyTechEmailArgsDict']]]]] = None,
|
|
877
|
-
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
874
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
|
|
878
875
|
__props__=None):
|
|
879
876
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
880
877
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -930,34 +927,34 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
930
927
|
def get(resource_name: str,
|
|
931
928
|
id: pulumi.Input[str],
|
|
932
929
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
933
|
-
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
934
|
-
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
930
|
+
additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
931
|
+
cloud_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
935
932
|
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyComponentArgs', 'DragonflyComponentArgsDict']]]]] = None,
|
|
936
|
-
disk_space: Optional[pulumi.Input[str]] = None,
|
|
937
|
-
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
938
|
-
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
939
|
-
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
940
|
-
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
933
|
+
disk_space: Optional[pulumi.Input[builtins.str]] = None,
|
|
934
|
+
disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
|
|
935
|
+
disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
|
|
936
|
+
disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
|
|
937
|
+
disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
|
|
941
938
|
dragonfly: Optional[pulumi.Input[Union['DragonflyDragonflyArgs', 'DragonflyDragonflyArgsDict']]] = None,
|
|
942
939
|
dragonfly_user_config: Optional[pulumi.Input[Union['DragonflyDragonflyUserConfigArgs', 'DragonflyDragonflyUserConfigArgsDict']]] = None,
|
|
943
|
-
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
944
|
-
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
945
|
-
plan: Optional[pulumi.Input[str]] = None,
|
|
946
|
-
project: Optional[pulumi.Input[str]] = None,
|
|
947
|
-
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
948
|
-
service_host: Optional[pulumi.Input[str]] = None,
|
|
940
|
+
maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
|
|
941
|
+
maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
942
|
+
plan: Optional[pulumi.Input[builtins.str]] = None,
|
|
943
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
|
944
|
+
project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
945
|
+
service_host: Optional[pulumi.Input[builtins.str]] = None,
|
|
949
946
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyServiceIntegrationArgs', 'DragonflyServiceIntegrationArgsDict']]]]] = None,
|
|
950
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
951
|
-
service_password: Optional[pulumi.Input[str]] = None,
|
|
952
|
-
service_port: Optional[pulumi.Input[int]] = None,
|
|
953
|
-
service_type: Optional[pulumi.Input[str]] = None,
|
|
954
|
-
service_uri: Optional[pulumi.Input[str]] = None,
|
|
955
|
-
service_username: Optional[pulumi.Input[str]] = None,
|
|
956
|
-
state: Optional[pulumi.Input[str]] = None,
|
|
957
|
-
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
947
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
948
|
+
service_password: Optional[pulumi.Input[builtins.str]] = None,
|
|
949
|
+
service_port: Optional[pulumi.Input[builtins.int]] = None,
|
|
950
|
+
service_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
951
|
+
service_uri: Optional[pulumi.Input[builtins.str]] = None,
|
|
952
|
+
service_username: Optional[pulumi.Input[builtins.str]] = None,
|
|
953
|
+
state: Optional[pulumi.Input[builtins.str]] = None,
|
|
954
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
958
955
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTagArgs', 'DragonflyTagArgsDict']]]]] = None,
|
|
959
956
|
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTechEmailArgs', 'DragonflyTechEmailArgsDict']]]]] = None,
|
|
960
|
-
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Dragonfly':
|
|
957
|
+
termination_protection: Optional[pulumi.Input[builtins.bool]] = None) -> 'Dragonfly':
|
|
961
958
|
"""
|
|
962
959
|
Get an existing Dragonfly resource's state with the given name, id, and optional extra
|
|
963
960
|
properties used to qualify the lookup.
|
|
@@ -965,34 +962,33 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
965
962
|
:param str resource_name: The unique name of the resulting resource.
|
|
966
963
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
967
964
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
968
|
-
: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
|
|
969
|
-
: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.
|
|
965
|
+
: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.
|
|
966
|
+
: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.
|
|
970
967
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyComponentArgs', 'DragonflyComponentArgsDict']]]] components: Service component information objects
|
|
971
|
-
: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.
|
|
972
|
-
: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.
|
|
973
|
-
: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`
|
|
974
|
-
: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.
|
|
975
|
-
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
968
|
+
: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.
|
|
969
|
+
: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.
|
|
970
|
+
: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`
|
|
971
|
+
: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.
|
|
972
|
+
:param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
|
|
976
973
|
:param pulumi.Input[Union['DragonflyDragonflyArgs', 'DragonflyDragonflyArgsDict']] dragonfly: Dragonfly server provided values
|
|
977
974
|
:param pulumi.Input[Union['DragonflyDragonflyUserConfigArgs', 'DragonflyDragonflyUserConfigArgsDict']] dragonfly_user_config: Dragonfly user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
978
|
-
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
979
|
-
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
980
|
-
: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).
|
|
981
|
-
: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.
|
|
982
|
-
: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.
|
|
983
|
-
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
975
|
+
:param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
976
|
+
:param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
977
|
+
: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).
|
|
978
|
+
: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.
|
|
979
|
+
: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.
|
|
980
|
+
:param pulumi.Input[builtins.str] service_host: The hostname of the service.
|
|
984
981
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyServiceIntegrationArgs', 'DragonflyServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
985
|
-
: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.
|
|
986
|
-
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
987
|
-
:param pulumi.Input[int] service_port: The port of the service
|
|
988
|
-
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
989
|
-
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
990
|
-
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
991
|
-
:param pulumi.Input[str]
|
|
992
|
-
: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
|
|
982
|
+
: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.
|
|
983
|
+
:param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
|
|
984
|
+
:param pulumi.Input[builtins.int] service_port: The port of the service
|
|
985
|
+
:param pulumi.Input[builtins.str] service_type: Aiven internal service type code
|
|
986
|
+
:param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
987
|
+
:param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
|
|
988
|
+
: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
|
|
993
989
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTagArgs', 'DragonflyTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
994
990
|
:param pulumi.Input[Sequence[pulumi.Input[Union['DragonflyTechEmailArgs', 'DragonflyTechEmailArgsDict']]]] 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.
|
|
995
|
-
: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.
|
|
991
|
+
: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.
|
|
996
992
|
"""
|
|
997
993
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
998
994
|
|
|
@@ -1030,15 +1026,15 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1030
1026
|
|
|
1031
1027
|
@property
|
|
1032
1028
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1033
|
-
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1029
|
+
def additional_disk_space(self) -> pulumi.Output[builtins.str]:
|
|
1034
1030
|
"""
|
|
1035
|
-
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
|
|
1031
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
1036
1032
|
"""
|
|
1037
1033
|
return pulumi.get(self, "additional_disk_space")
|
|
1038
1034
|
|
|
1039
1035
|
@property
|
|
1040
1036
|
@pulumi.getter(name="cloudName")
|
|
1041
|
-
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1037
|
+
def cloud_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1042
1038
|
"""
|
|
1043
1039
|
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.
|
|
1044
1040
|
"""
|
|
@@ -1055,7 +1051,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1055
1051
|
@property
|
|
1056
1052
|
@pulumi.getter(name="diskSpace")
|
|
1057
1053
|
@_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.""")
|
|
1058
|
-
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1054
|
+
def disk_space(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1059
1055
|
"""
|
|
1060
1056
|
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1061
1057
|
"""
|
|
@@ -1063,7 +1059,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1063
1059
|
|
|
1064
1060
|
@property
|
|
1065
1061
|
@pulumi.getter(name="diskSpaceCap")
|
|
1066
|
-
def disk_space_cap(self) -> pulumi.Output[str]:
|
|
1062
|
+
def disk_space_cap(self) -> pulumi.Output[builtins.str]:
|
|
1067
1063
|
"""
|
|
1068
1064
|
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1069
1065
|
"""
|
|
@@ -1071,7 +1067,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1071
1067
|
|
|
1072
1068
|
@property
|
|
1073
1069
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1074
|
-
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1070
|
+
def disk_space_default(self) -> pulumi.Output[builtins.str]:
|
|
1075
1071
|
"""
|
|
1076
1072
|
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`
|
|
1077
1073
|
"""
|
|
@@ -1079,7 +1075,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1079
1075
|
|
|
1080
1076
|
@property
|
|
1081
1077
|
@pulumi.getter(name="diskSpaceStep")
|
|
1082
|
-
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1078
|
+
def disk_space_step(self) -> pulumi.Output[builtins.str]:
|
|
1083
1079
|
"""
|
|
1084
1080
|
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.
|
|
1085
1081
|
"""
|
|
@@ -1088,7 +1084,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1088
1084
|
@property
|
|
1089
1085
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1090
1086
|
@_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.""")
|
|
1091
|
-
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1087
|
+
def disk_space_used(self) -> pulumi.Output[builtins.str]:
|
|
1092
1088
|
"""
|
|
1093
1089
|
Disk space that service is currently using
|
|
1094
1090
|
"""
|
|
@@ -1112,7 +1108,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1112
1108
|
|
|
1113
1109
|
@property
|
|
1114
1110
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
1115
|
-
def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
|
|
1111
|
+
def maintenance_window_dow(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1116
1112
|
"""
|
|
1117
1113
|
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1118
1114
|
"""
|
|
@@ -1120,7 +1116,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1120
1116
|
|
|
1121
1117
|
@property
|
|
1122
1118
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1123
|
-
def maintenance_window_time(self) -> pulumi.Output[Optional[str]]:
|
|
1119
|
+
def maintenance_window_time(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1124
1120
|
"""
|
|
1125
1121
|
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1126
1122
|
"""
|
|
@@ -1128,7 +1124,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1128
1124
|
|
|
1129
1125
|
@property
|
|
1130
1126
|
@pulumi.getter
|
|
1131
|
-
def plan(self) -> pulumi.Output[str]:
|
|
1127
|
+
def plan(self) -> pulumi.Output[builtins.str]:
|
|
1132
1128
|
"""
|
|
1133
1129
|
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).
|
|
1134
1130
|
"""
|
|
@@ -1136,7 +1132,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1136
1132
|
|
|
1137
1133
|
@property
|
|
1138
1134
|
@pulumi.getter
|
|
1139
|
-
def project(self) -> pulumi.Output[str]:
|
|
1135
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
|
1140
1136
|
"""
|
|
1141
1137
|
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.
|
|
1142
1138
|
"""
|
|
@@ -1144,7 +1140,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1144
1140
|
|
|
1145
1141
|
@property
|
|
1146
1142
|
@pulumi.getter(name="projectVpcId")
|
|
1147
|
-
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1143
|
+
def project_vpc_id(self) -> pulumi.Output[builtins.str]:
|
|
1148
1144
|
"""
|
|
1149
1145
|
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.
|
|
1150
1146
|
"""
|
|
@@ -1152,7 +1148,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1152
1148
|
|
|
1153
1149
|
@property
|
|
1154
1150
|
@pulumi.getter(name="serviceHost")
|
|
1155
|
-
def service_host(self) -> pulumi.Output[str]:
|
|
1151
|
+
def service_host(self) -> pulumi.Output[builtins.str]:
|
|
1156
1152
|
"""
|
|
1157
1153
|
The hostname of the service.
|
|
1158
1154
|
"""
|
|
@@ -1168,7 +1164,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1168
1164
|
|
|
1169
1165
|
@property
|
|
1170
1166
|
@pulumi.getter(name="serviceName")
|
|
1171
|
-
def service_name(self) -> pulumi.Output[str]:
|
|
1167
|
+
def service_name(self) -> pulumi.Output[builtins.str]:
|
|
1172
1168
|
"""
|
|
1173
1169
|
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.
|
|
1174
1170
|
"""
|
|
@@ -1176,7 +1172,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1176
1172
|
|
|
1177
1173
|
@property
|
|
1178
1174
|
@pulumi.getter(name="servicePassword")
|
|
1179
|
-
def service_password(self) -> pulumi.Output[str]:
|
|
1175
|
+
def service_password(self) -> pulumi.Output[builtins.str]:
|
|
1180
1176
|
"""
|
|
1181
1177
|
Password used for connecting to the service, if applicable
|
|
1182
1178
|
"""
|
|
@@ -1184,7 +1180,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1184
1180
|
|
|
1185
1181
|
@property
|
|
1186
1182
|
@pulumi.getter(name="servicePort")
|
|
1187
|
-
def service_port(self) -> pulumi.Output[int]:
|
|
1183
|
+
def service_port(self) -> pulumi.Output[builtins.int]:
|
|
1188
1184
|
"""
|
|
1189
1185
|
The port of the service
|
|
1190
1186
|
"""
|
|
@@ -1192,7 +1188,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1192
1188
|
|
|
1193
1189
|
@property
|
|
1194
1190
|
@pulumi.getter(name="serviceType")
|
|
1195
|
-
def service_type(self) -> pulumi.Output[str]:
|
|
1191
|
+
def service_type(self) -> pulumi.Output[builtins.str]:
|
|
1196
1192
|
"""
|
|
1197
1193
|
Aiven internal service type code
|
|
1198
1194
|
"""
|
|
@@ -1200,7 +1196,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1200
1196
|
|
|
1201
1197
|
@property
|
|
1202
1198
|
@pulumi.getter(name="serviceUri")
|
|
1203
|
-
def service_uri(self) -> pulumi.Output[str]:
|
|
1199
|
+
def service_uri(self) -> pulumi.Output[builtins.str]:
|
|
1204
1200
|
"""
|
|
1205
1201
|
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1206
1202
|
"""
|
|
@@ -1208,7 +1204,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1208
1204
|
|
|
1209
1205
|
@property
|
|
1210
1206
|
@pulumi.getter(name="serviceUsername")
|
|
1211
|
-
def service_username(self) -> pulumi.Output[str]:
|
|
1207
|
+
def service_username(self) -> pulumi.Output[builtins.str]:
|
|
1212
1208
|
"""
|
|
1213
1209
|
Username used for connecting to the service, if applicable
|
|
1214
1210
|
"""
|
|
@@ -1216,15 +1212,12 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1216
1212
|
|
|
1217
1213
|
@property
|
|
1218
1214
|
@pulumi.getter
|
|
1219
|
-
def state(self) -> pulumi.Output[str]:
|
|
1220
|
-
"""
|
|
1221
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1222
|
-
"""
|
|
1215
|
+
def state(self) -> pulumi.Output[builtins.str]:
|
|
1223
1216
|
return pulumi.get(self, "state")
|
|
1224
1217
|
|
|
1225
1218
|
@property
|
|
1226
1219
|
@pulumi.getter(name="staticIps")
|
|
1227
|
-
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1220
|
+
def static_ips(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1228
1221
|
"""
|
|
1229
1222
|
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
|
|
1230
1223
|
"""
|
|
@@ -1248,7 +1241,7 @@ class Dragonfly(pulumi.CustomResource):
|
|
|
1248
1241
|
|
|
1249
1242
|
@property
|
|
1250
1243
|
@pulumi.getter(name="terminationProtection")
|
|
1251
|
-
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1244
|
+
def termination_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1252
1245
|
"""
|
|
1253
1246
|
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.
|
|
1254
1247
|
"""
|