pulumi-aiven 6.37.0a1743570488__py3-none-any.whl → 6.37.0a1744255932__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-aiven might be problematic. Click here for more details.

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