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