pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__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 +127 -0
- pulumi_aiven/_inputs.py +32826 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
- pulumi_aiven/get_account.py +20 -5
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -32
- pulumi_aiven/outputs.py +38509 -21612
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
pulumi_aiven/grafana.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ._inputs import *
|
|
@@ -21,6 +26,7 @@ class GrafanaArgs:
|
|
|
21
26
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
22
27
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
23
28
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
grafana: Optional[pulumi.Input['GrafanaGrafanaArgs']] = None,
|
|
24
30
|
grafana_user_config: Optional[pulumi.Input['GrafanaGrafanaUserConfigArgs']] = None,
|
|
25
31
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
26
32
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -33,42 +39,22 @@ class GrafanaArgs:
|
|
|
33
39
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
34
40
|
"""
|
|
35
41
|
The set of arguments for constructing a Grafana resource.
|
|
36
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
:param pulumi.Input[
|
|
43
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
44
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
45
|
-
reducing will result in the service rebalancing.
|
|
46
|
-
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
47
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
48
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
49
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
50
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
51
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
52
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
53
|
-
will result in the service rebalancing.
|
|
54
|
-
:param pulumi.Input['GrafanaGrafanaUserConfigArgs'] grafana_user_config: Grafana user configurable settings
|
|
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: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
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.
|
|
47
|
+
:param pulumi.Input['GrafanaGrafanaArgs'] grafana: Values provided by the Grafana server.
|
|
48
|
+
:param pulumi.Input['GrafanaGrafanaUserConfigArgs'] grafana_user_config: Grafana user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
55
49
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
56
50
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
57
|
-
: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
|
|
58
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
59
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
60
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
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.
|
|
61
52
|
:param pulumi.Input[Sequence[pulumi.Input['GrafanaServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
62
|
-
: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
|
|
63
|
-
|
|
64
|
-
: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
|
|
65
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
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
|
|
66
55
|
:param pulumi.Input[Sequence[pulumi.Input['GrafanaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
67
|
-
:param pulumi.Input[Sequence[pulumi.Input['GrafanaTechEmailArgs']]] tech_emails:
|
|
68
|
-
|
|
69
|
-
: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
|
|
70
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
71
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
56
|
+
:param pulumi.Input[Sequence[pulumi.Input['GrafanaTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
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.
|
|
72
58
|
"""
|
|
73
59
|
pulumi.set(__self__, "plan", plan)
|
|
74
60
|
pulumi.set(__self__, "project", project)
|
|
@@ -81,6 +67,8 @@ class GrafanaArgs:
|
|
|
81
67
|
pulumi.log.warn("""disk_space is 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.""")
|
|
82
68
|
if disk_space is not None:
|
|
83
69
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
70
|
+
if grafana is not None:
|
|
71
|
+
pulumi.set(__self__, "grafana", grafana)
|
|
84
72
|
if grafana_user_config is not None:
|
|
85
73
|
pulumi.set(__self__, "grafana_user_config", grafana_user_config)
|
|
86
74
|
if maintenance_window_dow is not None:
|
|
@@ -106,12 +94,7 @@ class GrafanaArgs:
|
|
|
106
94
|
@pulumi.getter
|
|
107
95
|
def plan(self) -> pulumi.Input[str]:
|
|
108
96
|
"""
|
|
109
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
110
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
111
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
112
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
113
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
114
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
97
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
115
98
|
"""
|
|
116
99
|
return pulumi.get(self, "plan")
|
|
117
100
|
|
|
@@ -123,8 +106,7 @@ class GrafanaArgs:
|
|
|
123
106
|
@pulumi.getter
|
|
124
107
|
def project(self) -> pulumi.Input[str]:
|
|
125
108
|
"""
|
|
126
|
-
|
|
127
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
109
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
128
110
|
"""
|
|
129
111
|
return pulumi.get(self, "project")
|
|
130
112
|
|
|
@@ -136,8 +118,7 @@ class GrafanaArgs:
|
|
|
136
118
|
@pulumi.getter(name="additionalDiskSpace")
|
|
137
119
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
138
120
|
"""
|
|
139
|
-
|
|
140
|
-
reducing will result in the service rebalancing.
|
|
121
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
141
122
|
"""
|
|
142
123
|
return pulumi.get(self, "additional_disk_space")
|
|
143
124
|
|
|
@@ -149,12 +130,7 @@ class GrafanaArgs:
|
|
|
149
130
|
@pulumi.getter(name="cloudName")
|
|
150
131
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
151
132
|
"""
|
|
152
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
153
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
154
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
155
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
156
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
157
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
133
|
+
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
158
134
|
"""
|
|
159
135
|
return pulumi.get(self, "cloud_name")
|
|
160
136
|
|
|
@@ -164,25 +140,34 @@ class GrafanaArgs:
|
|
|
164
140
|
|
|
165
141
|
@property
|
|
166
142
|
@pulumi.getter(name="diskSpace")
|
|
143
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
167
144
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
168
145
|
"""
|
|
169
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
170
|
-
will result in the service rebalancing.
|
|
146
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
171
147
|
"""
|
|
172
|
-
warnings.warn("""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.""", DeprecationWarning)
|
|
173
|
-
pulumi.log.warn("""disk_space is 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.""")
|
|
174
|
-
|
|
175
148
|
return pulumi.get(self, "disk_space")
|
|
176
149
|
|
|
177
150
|
@disk_space.setter
|
|
178
151
|
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
179
152
|
pulumi.set(self, "disk_space", value)
|
|
180
153
|
|
|
154
|
+
@property
|
|
155
|
+
@pulumi.getter
|
|
156
|
+
def grafana(self) -> Optional[pulumi.Input['GrafanaGrafanaArgs']]:
|
|
157
|
+
"""
|
|
158
|
+
Values provided by the Grafana server.
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "grafana")
|
|
161
|
+
|
|
162
|
+
@grafana.setter
|
|
163
|
+
def grafana(self, value: Optional[pulumi.Input['GrafanaGrafanaArgs']]):
|
|
164
|
+
pulumi.set(self, "grafana", value)
|
|
165
|
+
|
|
181
166
|
@property
|
|
182
167
|
@pulumi.getter(name="grafanaUserConfig")
|
|
183
168
|
def grafana_user_config(self) -> Optional[pulumi.Input['GrafanaGrafanaUserConfigArgs']]:
|
|
184
169
|
"""
|
|
185
|
-
Grafana user configurable settings
|
|
170
|
+
Grafana user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
186
171
|
"""
|
|
187
172
|
return pulumi.get(self, "grafana_user_config")
|
|
188
173
|
|
|
@@ -218,10 +203,7 @@ class GrafanaArgs:
|
|
|
218
203
|
@pulumi.getter(name="projectVpcId")
|
|
219
204
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
220
205
|
"""
|
|
221
|
-
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
|
|
222
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
223
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
224
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
206
|
+
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.
|
|
225
207
|
"""
|
|
226
208
|
return pulumi.get(self, "project_vpc_id")
|
|
227
209
|
|
|
@@ -245,8 +227,7 @@ class GrafanaArgs:
|
|
|
245
227
|
@pulumi.getter(name="serviceName")
|
|
246
228
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
247
229
|
"""
|
|
248
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
249
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
230
|
+
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
250
231
|
"""
|
|
251
232
|
return pulumi.get(self, "service_name")
|
|
252
233
|
|
|
@@ -258,8 +239,7 @@ class GrafanaArgs:
|
|
|
258
239
|
@pulumi.getter(name="staticIps")
|
|
259
240
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
260
241
|
"""
|
|
261
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
262
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
242
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
263
243
|
"""
|
|
264
244
|
return pulumi.get(self, "static_ips")
|
|
265
245
|
|
|
@@ -283,8 +263,7 @@ class GrafanaArgs:
|
|
|
283
263
|
@pulumi.getter(name="techEmails")
|
|
284
264
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaTechEmailArgs']]]]:
|
|
285
265
|
"""
|
|
286
|
-
|
|
287
|
-
instability.
|
|
266
|
+
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.
|
|
288
267
|
"""
|
|
289
268
|
return pulumi.get(self, "tech_emails")
|
|
290
269
|
|
|
@@ -296,9 +275,7 @@ class GrafanaArgs:
|
|
|
296
275
|
@pulumi.getter(name="terminationProtection")
|
|
297
276
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
298
277
|
"""
|
|
299
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
300
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
301
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
278
|
+
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
302
279
|
"""
|
|
303
280
|
return pulumi.get(self, "termination_protection")
|
|
304
281
|
|
|
@@ -318,8 +295,8 @@ class _GrafanaState:
|
|
|
318
295
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
319
296
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
320
297
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
298
|
+
grafana: Optional[pulumi.Input['GrafanaGrafanaArgs']] = None,
|
|
321
299
|
grafana_user_config: Optional[pulumi.Input['GrafanaGrafanaUserConfigArgs']] = None,
|
|
322
|
-
grafanas: Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaGrafanaArgs']]]] = None,
|
|
323
300
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
324
301
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
325
302
|
plan: Optional[pulumi.Input[str]] = None,
|
|
@@ -340,57 +317,34 @@ class _GrafanaState:
|
|
|
340
317
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
341
318
|
"""
|
|
342
319
|
Input properties used for looking up and filtering Grafana resources.
|
|
343
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
344
|
-
|
|
345
|
-
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
346
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
347
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
348
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
349
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
350
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
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: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
351
322
|
:param pulumi.Input[Sequence[pulumi.Input['GrafanaComponentArgs']]] components: Service component information objects
|
|
352
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
353
|
-
will result in the service rebalancing.
|
|
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.
|
|
354
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.
|
|
355
|
-
: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.
|
|
356
|
-
|
|
357
|
-
: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
|
|
358
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
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.
|
|
359
327
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
360
|
-
:param pulumi.Input['
|
|
361
|
-
:param pulumi.Input[
|
|
328
|
+
:param pulumi.Input['GrafanaGrafanaArgs'] grafana: Values provided by the Grafana server.
|
|
329
|
+
:param pulumi.Input['GrafanaGrafanaUserConfigArgs'] grafana_user_config: Grafana user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
362
330
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
363
331
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
364
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
368
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
369
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
370
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
371
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
372
|
-
: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
|
|
373
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
374
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
375
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
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.
|
|
376
335
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
377
336
|
:param pulumi.Input[Sequence[pulumi.Input['GrafanaServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
378
|
-
: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
|
|
379
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
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.
|
|
380
338
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
381
339
|
:param pulumi.Input[int] service_port: The port of the service
|
|
382
340
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
383
341
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
384
342
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
385
343
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
386
|
-
: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
|
|
387
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
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
|
|
388
345
|
:param pulumi.Input[Sequence[pulumi.Input['GrafanaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
389
|
-
:param pulumi.Input[Sequence[pulumi.Input['GrafanaTechEmailArgs']]] tech_emails:
|
|
390
|
-
|
|
391
|
-
: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
|
|
392
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
393
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
346
|
+
: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.
|
|
394
348
|
"""
|
|
395
349
|
if additional_disk_space is not None:
|
|
396
350
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -409,12 +363,15 @@ class _GrafanaState:
|
|
|
409
363
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
410
364
|
if disk_space_step is not None:
|
|
411
365
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
366
|
+
if disk_space_used is not None:
|
|
367
|
+
warnings.warn("""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.""", DeprecationWarning)
|
|
368
|
+
pulumi.log.warn("""disk_space_used is 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.""")
|
|
412
369
|
if disk_space_used is not None:
|
|
413
370
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
371
|
+
if grafana is not None:
|
|
372
|
+
pulumi.set(__self__, "grafana", grafana)
|
|
414
373
|
if grafana_user_config is not None:
|
|
415
374
|
pulumi.set(__self__, "grafana_user_config", grafana_user_config)
|
|
416
|
-
if grafanas is not None:
|
|
417
|
-
pulumi.set(__self__, "grafanas", grafanas)
|
|
418
375
|
if maintenance_window_dow is not None:
|
|
419
376
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
420
377
|
if maintenance_window_time is not None:
|
|
@@ -456,8 +413,7 @@ class _GrafanaState:
|
|
|
456
413
|
@pulumi.getter(name="additionalDiskSpace")
|
|
457
414
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
458
415
|
"""
|
|
459
|
-
|
|
460
|
-
reducing will result in the service rebalancing.
|
|
416
|
+
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.
|
|
461
417
|
"""
|
|
462
418
|
return pulumi.get(self, "additional_disk_space")
|
|
463
419
|
|
|
@@ -469,12 +425,7 @@ class _GrafanaState:
|
|
|
469
425
|
@pulumi.getter(name="cloudName")
|
|
470
426
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
471
427
|
"""
|
|
472
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
473
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
474
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
475
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
476
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
477
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
428
|
+
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
478
429
|
"""
|
|
479
430
|
return pulumi.get(self, "cloud_name")
|
|
480
431
|
|
|
@@ -496,14 +447,11 @@ class _GrafanaState:
|
|
|
496
447
|
|
|
497
448
|
@property
|
|
498
449
|
@pulumi.getter(name="diskSpace")
|
|
450
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
499
451
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
500
452
|
"""
|
|
501
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
502
|
-
will result in the service rebalancing.
|
|
453
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
503
454
|
"""
|
|
504
|
-
warnings.warn("""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.""", DeprecationWarning)
|
|
505
|
-
pulumi.log.warn("""disk_space is 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.""")
|
|
506
|
-
|
|
507
455
|
return pulumi.get(self, "disk_space")
|
|
508
456
|
|
|
509
457
|
@disk_space.setter
|
|
@@ -526,8 +474,7 @@ class _GrafanaState:
|
|
|
526
474
|
@pulumi.getter(name="diskSpaceDefault")
|
|
527
475
|
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
528
476
|
"""
|
|
529
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
530
|
-
Its also the minimum value for `disk_space`
|
|
477
|
+
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`
|
|
531
478
|
"""
|
|
532
479
|
return pulumi.get(self, "disk_space_default")
|
|
533
480
|
|
|
@@ -539,8 +486,7 @@ class _GrafanaState:
|
|
|
539
486
|
@pulumi.getter(name="diskSpaceStep")
|
|
540
487
|
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
541
488
|
"""
|
|
542
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
543
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
489
|
+
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.
|
|
544
490
|
"""
|
|
545
491
|
return pulumi.get(self, "disk_space_step")
|
|
546
492
|
|
|
@@ -550,6 +496,7 @@ class _GrafanaState:
|
|
|
550
496
|
|
|
551
497
|
@property
|
|
552
498
|
@pulumi.getter(name="diskSpaceUsed")
|
|
499
|
+
@_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.""")
|
|
553
500
|
def disk_space_used(self) -> Optional[pulumi.Input[str]]:
|
|
554
501
|
"""
|
|
555
502
|
Disk space that service is currently using
|
|
@@ -560,11 +507,23 @@ class _GrafanaState:
|
|
|
560
507
|
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
561
508
|
pulumi.set(self, "disk_space_used", value)
|
|
562
509
|
|
|
510
|
+
@property
|
|
511
|
+
@pulumi.getter
|
|
512
|
+
def grafana(self) -> Optional[pulumi.Input['GrafanaGrafanaArgs']]:
|
|
513
|
+
"""
|
|
514
|
+
Values provided by the Grafana server.
|
|
515
|
+
"""
|
|
516
|
+
return pulumi.get(self, "grafana")
|
|
517
|
+
|
|
518
|
+
@grafana.setter
|
|
519
|
+
def grafana(self, value: Optional[pulumi.Input['GrafanaGrafanaArgs']]):
|
|
520
|
+
pulumi.set(self, "grafana", value)
|
|
521
|
+
|
|
563
522
|
@property
|
|
564
523
|
@pulumi.getter(name="grafanaUserConfig")
|
|
565
524
|
def grafana_user_config(self) -> Optional[pulumi.Input['GrafanaGrafanaUserConfigArgs']]:
|
|
566
525
|
"""
|
|
567
|
-
Grafana user configurable settings
|
|
526
|
+
Grafana user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
568
527
|
"""
|
|
569
528
|
return pulumi.get(self, "grafana_user_config")
|
|
570
529
|
|
|
@@ -572,18 +531,6 @@ class _GrafanaState:
|
|
|
572
531
|
def grafana_user_config(self, value: Optional[pulumi.Input['GrafanaGrafanaUserConfigArgs']]):
|
|
573
532
|
pulumi.set(self, "grafana_user_config", value)
|
|
574
533
|
|
|
575
|
-
@property
|
|
576
|
-
@pulumi.getter
|
|
577
|
-
def grafanas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaGrafanaArgs']]]]:
|
|
578
|
-
"""
|
|
579
|
-
Grafana server provided values
|
|
580
|
-
"""
|
|
581
|
-
return pulumi.get(self, "grafanas")
|
|
582
|
-
|
|
583
|
-
@grafanas.setter
|
|
584
|
-
def grafanas(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaGrafanaArgs']]]]):
|
|
585
|
-
pulumi.set(self, "grafanas", value)
|
|
586
|
-
|
|
587
534
|
@property
|
|
588
535
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
589
536
|
def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -612,12 +559,7 @@ class _GrafanaState:
|
|
|
612
559
|
@pulumi.getter
|
|
613
560
|
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
614
561
|
"""
|
|
615
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
616
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
617
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
618
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
619
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
620
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
562
|
+
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).
|
|
621
563
|
"""
|
|
622
564
|
return pulumi.get(self, "plan")
|
|
623
565
|
|
|
@@ -629,8 +571,7 @@ class _GrafanaState:
|
|
|
629
571
|
@pulumi.getter
|
|
630
572
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
631
573
|
"""
|
|
632
|
-
|
|
633
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
574
|
+
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.
|
|
634
575
|
"""
|
|
635
576
|
return pulumi.get(self, "project")
|
|
636
577
|
|
|
@@ -642,10 +583,7 @@ class _GrafanaState:
|
|
|
642
583
|
@pulumi.getter(name="projectVpcId")
|
|
643
584
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
644
585
|
"""
|
|
645
|
-
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
|
|
646
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
647
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
648
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
586
|
+
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.
|
|
649
587
|
"""
|
|
650
588
|
return pulumi.get(self, "project_vpc_id")
|
|
651
589
|
|
|
@@ -681,8 +619,7 @@ class _GrafanaState:
|
|
|
681
619
|
@pulumi.getter(name="serviceName")
|
|
682
620
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
683
621
|
"""
|
|
684
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
685
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
622
|
+
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.
|
|
686
623
|
"""
|
|
687
624
|
return pulumi.get(self, "service_name")
|
|
688
625
|
|
|
@@ -766,8 +703,7 @@ class _GrafanaState:
|
|
|
766
703
|
@pulumi.getter(name="staticIps")
|
|
767
704
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
768
705
|
"""
|
|
769
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
770
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
706
|
+
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
|
|
771
707
|
"""
|
|
772
708
|
return pulumi.get(self, "static_ips")
|
|
773
709
|
|
|
@@ -791,8 +727,7 @@ class _GrafanaState:
|
|
|
791
727
|
@pulumi.getter(name="techEmails")
|
|
792
728
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaTechEmailArgs']]]]:
|
|
793
729
|
"""
|
|
794
|
-
|
|
795
|
-
instability.
|
|
730
|
+
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.
|
|
796
731
|
"""
|
|
797
732
|
return pulumi.get(self, "tech_emails")
|
|
798
733
|
|
|
@@ -804,9 +739,7 @@ class _GrafanaState:
|
|
|
804
739
|
@pulumi.getter(name="terminationProtection")
|
|
805
740
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
806
741
|
"""
|
|
807
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
808
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
809
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
742
|
+
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.
|
|
810
743
|
"""
|
|
811
744
|
return pulumi.get(self, "termination_protection")
|
|
812
745
|
|
|
@@ -823,21 +756,22 @@ class Grafana(pulumi.CustomResource):
|
|
|
823
756
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
824
757
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
825
758
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
826
|
-
|
|
759
|
+
grafana: Optional[pulumi.Input[Union['GrafanaGrafanaArgs', 'GrafanaGrafanaArgsDict']]] = None,
|
|
760
|
+
grafana_user_config: Optional[pulumi.Input[Union['GrafanaGrafanaUserConfigArgs', 'GrafanaGrafanaUserConfigArgsDict']]] = None,
|
|
827
761
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
828
762
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
829
763
|
plan: Optional[pulumi.Input[str]] = None,
|
|
830
764
|
project: Optional[pulumi.Input[str]] = None,
|
|
831
765
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
832
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
766
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaServiceIntegrationArgs', 'GrafanaServiceIntegrationArgsDict']]]]] = None,
|
|
833
767
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
834
768
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
835
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
836
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
769
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTagArgs', 'GrafanaTagArgsDict']]]]] = None,
|
|
770
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTechEmailArgs', 'GrafanaTechEmailArgsDict']]]]] = None,
|
|
837
771
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
838
772
|
__props__=None):
|
|
839
773
|
"""
|
|
840
|
-
|
|
774
|
+
Creates and manages an [Aiven for Grafana®](https://aiven.io/docs/products/grafana) service.
|
|
841
775
|
|
|
842
776
|
## Example Usage
|
|
843
777
|
|
|
@@ -845,64 +779,45 @@ class Grafana(pulumi.CustomResource):
|
|
|
845
779
|
import pulumi
|
|
846
780
|
import pulumi_aiven as aiven
|
|
847
781
|
|
|
848
|
-
|
|
849
|
-
project=
|
|
782
|
+
example_grafana = aiven.Grafana("example_grafana",
|
|
783
|
+
project=example_project["project"],
|
|
850
784
|
cloud_name="google-europe-west1",
|
|
851
785
|
plan="startup-1",
|
|
786
|
+
service_name="example-grafana-service",
|
|
852
787
|
maintenance_window_dow="monday",
|
|
853
788
|
maintenance_window_time="10:00:00",
|
|
854
|
-
grafana_user_config=
|
|
855
|
-
alerting_enabled
|
|
856
|
-
public_access
|
|
857
|
-
grafana
|
|
858
|
-
|
|
859
|
-
)
|
|
789
|
+
grafana_user_config={
|
|
790
|
+
"alerting_enabled": True,
|
|
791
|
+
"public_access": {
|
|
792
|
+
"grafana": True,
|
|
793
|
+
},
|
|
794
|
+
})
|
|
860
795
|
```
|
|
861
796
|
|
|
862
797
|
## Import
|
|
863
798
|
|
|
864
799
|
```sh
|
|
865
|
-
|
|
800
|
+
$ pulumi import aiven:index/grafana:Grafana example_grafana PROJECT/SERVICE_NAME
|
|
866
801
|
```
|
|
867
802
|
|
|
868
803
|
:param str resource_name: The name of the resource.
|
|
869
804
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
870
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
871
|
-
|
|
872
|
-
:param pulumi.Input[str]
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
876
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
877
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
878
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
879
|
-
will result in the service rebalancing.
|
|
880
|
-
:param pulumi.Input[pulumi.InputType['GrafanaGrafanaUserConfigArgs']] grafana_user_config: Grafana user configurable settings
|
|
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: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
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.
|
|
808
|
+
:param pulumi.Input[Union['GrafanaGrafanaArgs', 'GrafanaGrafanaArgsDict']] grafana: Values provided by the Grafana server.
|
|
809
|
+
: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
|
|
881
810
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
882
811
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
883
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
:param pulumi.Input[
|
|
890
|
-
|
|
891
|
-
:param pulumi.Input[
|
|
892
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
893
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
894
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
895
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GrafanaServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
896
|
-
: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
|
|
897
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
898
|
-
: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
|
|
899
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
900
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GrafanaTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
901
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GrafanaTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
902
|
-
instability.
|
|
903
|
-
: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
|
|
904
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
905
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
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.
|
|
815
|
+
: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
|
|
818
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTagArgs', 'GrafanaTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
819
|
+
: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.
|
|
906
821
|
"""
|
|
907
822
|
...
|
|
908
823
|
@overload
|
|
@@ -911,7 +826,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
911
826
|
args: GrafanaArgs,
|
|
912
827
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
913
828
|
"""
|
|
914
|
-
|
|
829
|
+
Creates and manages an [Aiven for Grafana®](https://aiven.io/docs/products/grafana) service.
|
|
915
830
|
|
|
916
831
|
## Example Usage
|
|
917
832
|
|
|
@@ -919,24 +834,25 @@ class Grafana(pulumi.CustomResource):
|
|
|
919
834
|
import pulumi
|
|
920
835
|
import pulumi_aiven as aiven
|
|
921
836
|
|
|
922
|
-
|
|
923
|
-
project=
|
|
837
|
+
example_grafana = aiven.Grafana("example_grafana",
|
|
838
|
+
project=example_project["project"],
|
|
924
839
|
cloud_name="google-europe-west1",
|
|
925
840
|
plan="startup-1",
|
|
841
|
+
service_name="example-grafana-service",
|
|
926
842
|
maintenance_window_dow="monday",
|
|
927
843
|
maintenance_window_time="10:00:00",
|
|
928
|
-
grafana_user_config=
|
|
929
|
-
alerting_enabled
|
|
930
|
-
public_access
|
|
931
|
-
grafana
|
|
932
|
-
|
|
933
|
-
)
|
|
844
|
+
grafana_user_config={
|
|
845
|
+
"alerting_enabled": True,
|
|
846
|
+
"public_access": {
|
|
847
|
+
"grafana": True,
|
|
848
|
+
},
|
|
849
|
+
})
|
|
934
850
|
```
|
|
935
851
|
|
|
936
852
|
## Import
|
|
937
853
|
|
|
938
854
|
```sh
|
|
939
|
-
|
|
855
|
+
$ pulumi import aiven:index/grafana:Grafana example_grafana PROJECT/SERVICE_NAME
|
|
940
856
|
```
|
|
941
857
|
|
|
942
858
|
:param str resource_name: The name of the resource.
|
|
@@ -957,17 +873,18 @@ class Grafana(pulumi.CustomResource):
|
|
|
957
873
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
958
874
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
959
875
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
960
|
-
|
|
876
|
+
grafana: Optional[pulumi.Input[Union['GrafanaGrafanaArgs', 'GrafanaGrafanaArgsDict']]] = None,
|
|
877
|
+
grafana_user_config: Optional[pulumi.Input[Union['GrafanaGrafanaUserConfigArgs', 'GrafanaGrafanaUserConfigArgsDict']]] = None,
|
|
961
878
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
962
879
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
963
880
|
plan: Optional[pulumi.Input[str]] = None,
|
|
964
881
|
project: Optional[pulumi.Input[str]] = None,
|
|
965
882
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
966
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
883
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaServiceIntegrationArgs', 'GrafanaServiceIntegrationArgsDict']]]]] = None,
|
|
967
884
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
968
885
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
969
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
970
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
886
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTagArgs', 'GrafanaTagArgsDict']]]]] = None,
|
|
887
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTechEmailArgs', 'GrafanaTechEmailArgsDict']]]]] = None,
|
|
971
888
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
972
889
|
__props__=None):
|
|
973
890
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -981,6 +898,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
981
898
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
982
899
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
983
900
|
__props__.__dict__["disk_space"] = disk_space
|
|
901
|
+
__props__.__dict__["grafana"] = None if grafana is None else pulumi.Output.secret(grafana)
|
|
984
902
|
__props__.__dict__["grafana_user_config"] = grafana_user_config
|
|
985
903
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
986
904
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
@@ -1002,7 +920,6 @@ class Grafana(pulumi.CustomResource):
|
|
|
1002
920
|
__props__.__dict__["disk_space_default"] = None
|
|
1003
921
|
__props__.__dict__["disk_space_step"] = None
|
|
1004
922
|
__props__.__dict__["disk_space_used"] = None
|
|
1005
|
-
__props__.__dict__["grafanas"] = None
|
|
1006
923
|
__props__.__dict__["service_host"] = None
|
|
1007
924
|
__props__.__dict__["service_password"] = None
|
|
1008
925
|
__props__.__dict__["service_port"] = None
|
|
@@ -1010,7 +927,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
1010
927
|
__props__.__dict__["service_uri"] = None
|
|
1011
928
|
__props__.__dict__["service_username"] = None
|
|
1012
929
|
__props__.__dict__["state"] = None
|
|
1013
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
930
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["grafana", "servicePassword", "serviceUri"])
|
|
1014
931
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
1015
932
|
super(Grafana, __self__).__init__(
|
|
1016
933
|
'aiven:index/grafana:Grafana',
|
|
@@ -1024,21 +941,21 @@ class Grafana(pulumi.CustomResource):
|
|
|
1024
941
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1025
942
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
1026
943
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
1027
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
944
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaComponentArgs', 'GrafanaComponentArgsDict']]]]] = None,
|
|
1028
945
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
1029
946
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
1030
947
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
1031
948
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
1032
949
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
1033
|
-
|
|
1034
|
-
|
|
950
|
+
grafana: Optional[pulumi.Input[Union['GrafanaGrafanaArgs', 'GrafanaGrafanaArgsDict']]] = None,
|
|
951
|
+
grafana_user_config: Optional[pulumi.Input[Union['GrafanaGrafanaUserConfigArgs', 'GrafanaGrafanaUserConfigArgsDict']]] = None,
|
|
1035
952
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
1036
953
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
1037
954
|
plan: Optional[pulumi.Input[str]] = None,
|
|
1038
955
|
project: Optional[pulumi.Input[str]] = None,
|
|
1039
956
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
1040
957
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
1041
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
958
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaServiceIntegrationArgs', 'GrafanaServiceIntegrationArgsDict']]]]] = None,
|
|
1042
959
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
1043
960
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
1044
961
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -1047,8 +964,8 @@ class Grafana(pulumi.CustomResource):
|
|
|
1047
964
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
1048
965
|
state: Optional[pulumi.Input[str]] = None,
|
|
1049
966
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1050
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
1051
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
967
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTagArgs', 'GrafanaTagArgsDict']]]]] = None,
|
|
968
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTechEmailArgs', 'GrafanaTechEmailArgsDict']]]]] = None,
|
|
1052
969
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Grafana':
|
|
1053
970
|
"""
|
|
1054
971
|
Get an existing Grafana resource's state with the given name, id, and optional extra
|
|
@@ -1057,57 +974,34 @@ class Grafana(pulumi.CustomResource):
|
|
|
1057
974
|
:param str resource_name: The unique name of the resulting resource.
|
|
1058
975
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1059
976
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1060
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
1061
|
-
|
|
1062
|
-
:param pulumi.Input[
|
|
1063
|
-
|
|
1064
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1065
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1066
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1067
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1068
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['GrafanaComponentArgs']]]] components: Service component information objects
|
|
1069
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1070
|
-
will result in the service rebalancing.
|
|
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: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
979
|
+
: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.
|
|
1071
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.
|
|
1072
|
-
: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.
|
|
1073
|
-
|
|
1074
|
-
: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
|
|
1075
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
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.
|
|
1076
984
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1077
|
-
:param pulumi.Input[
|
|
1078
|
-
:param pulumi.Input[
|
|
985
|
+
:param pulumi.Input[Union['GrafanaGrafanaArgs', 'GrafanaGrafanaArgsDict']] grafana: Values provided by the Grafana server.
|
|
986
|
+
: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
|
|
1079
987
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1080
988
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
1081
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1085
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1086
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1087
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1088
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
1089
|
-
: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
|
|
1090
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1091
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1092
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
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.
|
|
1093
992
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
1094
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1095
|
-
: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
|
|
1096
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
993
|
+
: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.
|
|
1097
995
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
1098
996
|
:param pulumi.Input[int] service_port: The port of the service
|
|
1099
997
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
1100
998
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1101
999
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1102
1000
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1103
|
-
: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
|
|
1104
|
-
|
|
1105
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1106
|
-
:param pulumi.Input[
|
|
1107
|
-
instability.
|
|
1108
|
-
: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
|
|
1109
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1110
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
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
|
|
1002
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['GrafanaTagArgs', 'GrafanaTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1003
|
+
: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.
|
|
1111
1005
|
"""
|
|
1112
1006
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1113
1007
|
|
|
@@ -1121,8 +1015,8 @@ class Grafana(pulumi.CustomResource):
|
|
|
1121
1015
|
__props__.__dict__["disk_space_default"] = disk_space_default
|
|
1122
1016
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
1123
1017
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1018
|
+
__props__.__dict__["grafana"] = grafana
|
|
1124
1019
|
__props__.__dict__["grafana_user_config"] = grafana_user_config
|
|
1125
|
-
__props__.__dict__["grafanas"] = grafanas
|
|
1126
1020
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1127
1021
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1128
1022
|
__props__.__dict__["plan"] = plan
|
|
@@ -1145,10 +1039,9 @@ class Grafana(pulumi.CustomResource):
|
|
|
1145
1039
|
|
|
1146
1040
|
@property
|
|
1147
1041
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1148
|
-
def additional_disk_space(self) -> pulumi.Output[
|
|
1042
|
+
def additional_disk_space(self) -> pulumi.Output[str]:
|
|
1149
1043
|
"""
|
|
1150
|
-
|
|
1151
|
-
reducing will result in the service rebalancing.
|
|
1044
|
+
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.
|
|
1152
1045
|
"""
|
|
1153
1046
|
return pulumi.get(self, "additional_disk_space")
|
|
1154
1047
|
|
|
@@ -1156,12 +1049,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
1156
1049
|
@pulumi.getter(name="cloudName")
|
|
1157
1050
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1158
1051
|
"""
|
|
1159
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
1160
|
-
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1161
|
-
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1162
|
-
are documented on each Cloud provider's own support articles, like [here for
|
|
1163
|
-
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1164
|
-
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1052
|
+
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1165
1053
|
"""
|
|
1166
1054
|
return pulumi.get(self, "cloud_name")
|
|
1167
1055
|
|
|
@@ -1175,14 +1063,11 @@ class Grafana(pulumi.CustomResource):
|
|
|
1175
1063
|
|
|
1176
1064
|
@property
|
|
1177
1065
|
@pulumi.getter(name="diskSpace")
|
|
1066
|
+
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1178
1067
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1179
1068
|
"""
|
|
1180
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1181
|
-
will result in the service rebalancing.
|
|
1069
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1182
1070
|
"""
|
|
1183
|
-
warnings.warn("""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.""", DeprecationWarning)
|
|
1184
|
-
pulumi.log.warn("""disk_space is 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.""")
|
|
1185
|
-
|
|
1186
1071
|
return pulumi.get(self, "disk_space")
|
|
1187
1072
|
|
|
1188
1073
|
@property
|
|
@@ -1197,8 +1082,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
1197
1082
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1198
1083
|
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1199
1084
|
"""
|
|
1200
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1201
|
-
Its also the minimum value for `disk_space`
|
|
1085
|
+
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`
|
|
1202
1086
|
"""
|
|
1203
1087
|
return pulumi.get(self, "disk_space_default")
|
|
1204
1088
|
|
|
@@ -1206,13 +1090,13 @@ class Grafana(pulumi.CustomResource):
|
|
|
1206
1090
|
@pulumi.getter(name="diskSpaceStep")
|
|
1207
1091
|
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1208
1092
|
"""
|
|
1209
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1210
|
-
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1093
|
+
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.
|
|
1211
1094
|
"""
|
|
1212
1095
|
return pulumi.get(self, "disk_space_step")
|
|
1213
1096
|
|
|
1214
1097
|
@property
|
|
1215
1098
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1099
|
+
@_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.""")
|
|
1216
1100
|
def disk_space_used(self) -> pulumi.Output[str]:
|
|
1217
1101
|
"""
|
|
1218
1102
|
Disk space that service is currently using
|
|
@@ -1220,20 +1104,20 @@ class Grafana(pulumi.CustomResource):
|
|
|
1220
1104
|
return pulumi.get(self, "disk_space_used")
|
|
1221
1105
|
|
|
1222
1106
|
@property
|
|
1223
|
-
@pulumi.getter
|
|
1224
|
-
def
|
|
1107
|
+
@pulumi.getter
|
|
1108
|
+
def grafana(self) -> pulumi.Output['outputs.GrafanaGrafana']:
|
|
1225
1109
|
"""
|
|
1226
|
-
|
|
1110
|
+
Values provided by the Grafana server.
|
|
1227
1111
|
"""
|
|
1228
|
-
return pulumi.get(self, "
|
|
1112
|
+
return pulumi.get(self, "grafana")
|
|
1229
1113
|
|
|
1230
1114
|
@property
|
|
1231
|
-
@pulumi.getter
|
|
1232
|
-
def
|
|
1115
|
+
@pulumi.getter(name="grafanaUserConfig")
|
|
1116
|
+
def grafana_user_config(self) -> pulumi.Output[Optional['outputs.GrafanaGrafanaUserConfig']]:
|
|
1233
1117
|
"""
|
|
1234
|
-
Grafana
|
|
1118
|
+
Grafana user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
1235
1119
|
"""
|
|
1236
|
-
return pulumi.get(self, "
|
|
1120
|
+
return pulumi.get(self, "grafana_user_config")
|
|
1237
1121
|
|
|
1238
1122
|
@property
|
|
1239
1123
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
@@ -1255,12 +1139,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
1255
1139
|
@pulumi.getter
|
|
1256
1140
|
def plan(self) -> pulumi.Output[str]:
|
|
1257
1141
|
"""
|
|
1258
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1259
|
-
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1260
|
-
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1261
|
-
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1262
|
-
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1263
|
-
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1142
|
+
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).
|
|
1264
1143
|
"""
|
|
1265
1144
|
return pulumi.get(self, "plan")
|
|
1266
1145
|
|
|
@@ -1268,19 +1147,15 @@ class Grafana(pulumi.CustomResource):
|
|
|
1268
1147
|
@pulumi.getter
|
|
1269
1148
|
def project(self) -> pulumi.Output[str]:
|
|
1270
1149
|
"""
|
|
1271
|
-
|
|
1272
|
-
reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
1150
|
+
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.
|
|
1273
1151
|
"""
|
|
1274
1152
|
return pulumi.get(self, "project")
|
|
1275
1153
|
|
|
1276
1154
|
@property
|
|
1277
1155
|
@pulumi.getter(name="projectVpcId")
|
|
1278
|
-
def project_vpc_id(self) -> pulumi.Output[
|
|
1156
|
+
def project_vpc_id(self) -> pulumi.Output[str]:
|
|
1279
1157
|
"""
|
|
1280
|
-
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
|
|
1281
|
-
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1282
|
-
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1283
|
-
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1158
|
+
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.
|
|
1284
1159
|
"""
|
|
1285
1160
|
return pulumi.get(self, "project_vpc_id")
|
|
1286
1161
|
|
|
@@ -1294,7 +1169,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
1294
1169
|
|
|
1295
1170
|
@property
|
|
1296
1171
|
@pulumi.getter(name="serviceIntegrations")
|
|
1297
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1172
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.GrafanaServiceIntegration']]:
|
|
1298
1173
|
"""
|
|
1299
1174
|
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1300
1175
|
"""
|
|
@@ -1304,8 +1179,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
1304
1179
|
@pulumi.getter(name="serviceName")
|
|
1305
1180
|
def service_name(self) -> pulumi.Output[str]:
|
|
1306
1181
|
"""
|
|
1307
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1308
|
-
service so name should be picked based on intended service usage rather than current attributes.
|
|
1182
|
+
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.
|
|
1309
1183
|
"""
|
|
1310
1184
|
return pulumi.get(self, "service_name")
|
|
1311
1185
|
|
|
@@ -1361,8 +1235,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
1361
1235
|
@pulumi.getter(name="staticIps")
|
|
1362
1236
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1363
1237
|
"""
|
|
1364
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1365
|
-
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1238
|
+
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
|
|
1366
1239
|
"""
|
|
1367
1240
|
return pulumi.get(self, "static_ips")
|
|
1368
1241
|
|
|
@@ -1378,8 +1251,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
1378
1251
|
@pulumi.getter(name="techEmails")
|
|
1379
1252
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.GrafanaTechEmail']]]:
|
|
1380
1253
|
"""
|
|
1381
|
-
|
|
1382
|
-
instability.
|
|
1254
|
+
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.
|
|
1383
1255
|
"""
|
|
1384
1256
|
return pulumi.get(self, "tech_emails")
|
|
1385
1257
|
|
|
@@ -1387,9 +1259,7 @@ class Grafana(pulumi.CustomResource):
|
|
|
1387
1259
|
@pulumi.getter(name="terminationProtection")
|
|
1388
1260
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1389
1261
|
"""
|
|
1390
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1391
|
-
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1392
|
-
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1262
|
+
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.
|
|
1393
1263
|
"""
|
|
1394
1264
|
return pulumi.get(self, "termination_protection")
|
|
1395
1265
|
|