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