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/pg.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__ = ['PgArgs', 'Pg']
21
22
  @pulumi.input_type
22
23
  class PgArgs:
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,
29
- maintenance_window_dow: Optional[pulumi.Input[str]] = None,
30
- maintenance_window_time: 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,
30
+ maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
31
+ maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
31
32
  pg: Optional[pulumi.Input['PgPgArgs']] = None,
32
33
  pg_user_config: Optional[pulumi.Input['PgPgUserConfigArgs']] = None,
33
- project_vpc_id: Optional[pulumi.Input[str]] = None,
34
+ project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
34
35
  service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['PgServiceIntegrationArgs']]]] = 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['PgTagArgs']]]] = None,
38
39
  tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]]] = 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 Pg 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.
47
- :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
48
- :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
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.
48
+ :param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
49
+ :param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
49
50
  :param pulumi.Input['PgPgArgs'] pg: Values provided by the PostgreSQL server.
50
51
  :param pulumi.Input['PgPgUserConfigArgs'] pg_user_config: Pg user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
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.
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['PgServiceIntegrationArgs']]] 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['PgTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
56
57
  :param pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]] 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,87 +93,87 @@ class PgArgs:
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
155
156
  @pulumi.getter(name="maintenanceWindowDow")
156
- def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
157
+ def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
157
158
  """
158
159
  Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
159
160
  """
160
161
  return pulumi.get(self, "maintenance_window_dow")
161
162
 
162
163
  @maintenance_window_dow.setter
163
- def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
164
+ def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
164
165
  pulumi.set(self, "maintenance_window_dow", value)
165
166
 
166
167
  @property
167
168
  @pulumi.getter(name="maintenanceWindowTime")
168
- def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
169
+ def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
169
170
  """
170
171
  Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
171
172
  """
172
173
  return pulumi.get(self, "maintenance_window_time")
173
174
 
174
175
  @maintenance_window_time.setter
175
- def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
176
+ def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
176
177
  pulumi.set(self, "maintenance_window_time", value)
177
178
 
178
179
  @property
@@ -201,14 +202,14 @@ class PgArgs:
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 PgArgs:
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 PgArgs:
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 _PgState:
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['PgComponentArgs']]]] = 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,
298
- maintenance_window_dow: Optional[pulumi.Input[str]] = None,
299
- maintenance_window_time: 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,
299
+ maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
300
+ maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
300
301
  pg: Optional[pulumi.Input['PgPgArgs']] = None,
301
302
  pg_user_config: Optional[pulumi.Input['PgPgUserConfigArgs']] = 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,
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['PgServiceIntegrationArgs']]]] = 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['PgTagArgs']]]] = None,
316
317
  tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]]] = 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 Pg 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['PgComponentArgs']]] 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
328
- :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
329
- :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
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
329
+ :param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
330
+ :param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
330
331
  :param pulumi.Input['PgPgArgs'] pg: Values provided by the PostgreSQL server.
331
332
  :param pulumi.Input['PgPgUserConfigArgs'] pg_user_config: Pg user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
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.
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['PgServiceIntegrationArgs']]] 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['PgTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
346
346
  :param pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]] 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 _PgState:
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,87 +448,87 @@ class _PgState:
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
511
511
  @pulumi.getter(name="maintenanceWindowDow")
512
- def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
512
+ def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
513
513
  """
514
514
  Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
515
515
  """
516
516
  return pulumi.get(self, "maintenance_window_dow")
517
517
 
518
518
  @maintenance_window_dow.setter
519
- def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
519
+ def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
520
520
  pulumi.set(self, "maintenance_window_dow", value)
521
521
 
522
522
  @property
523
523
  @pulumi.getter(name="maintenanceWindowTime")
524
- def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
524
+ def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
525
525
  """
526
526
  Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
527
527
  """
528
528
  return pulumi.get(self, "maintenance_window_time")
529
529
 
530
530
  @maintenance_window_time.setter
531
- def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
531
+ def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
532
532
  pulumi.set(self, "maintenance_window_time", value)
533
533
 
534
534
  @property
@@ -557,50 +557,50 @@ class _PgState:
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 _PgState:
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 _PgState:
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 Pg(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,
759
- maintenance_window_dow: Optional[pulumi.Input[str]] = None,
760
- maintenance_window_time: 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,
756
+ maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
757
+ maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
761
758
  pg: Optional[pulumi.Input[Union['PgPgArgs', 'PgPgArgsDict']]] = None,
762
759
  pg_user_config: Optional[pulumi.Input[Union['PgPgUserConfigArgs', 'PgPgUserConfigArgsDict']]] = None,
763
- plan: Optional[pulumi.Input[str]] = None,
764
- project: Optional[pulumi.Input[str]] = None,
765
- project_vpc_id: Optional[pulumi.Input[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['PgServiceIntegrationArgs', 'PgServiceIntegrationArgsDict']]]]] = 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['PgTagArgs', 'PgTagArgsDict']]]]] = None,
770
767
  tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTechEmailArgs', 'PgTechEmailArgsDict']]]]] = 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 PostgreSQL® service.
@@ -781,22 +778,22 @@ class Pg(pulumi.CustomResource):
781
778
 
782
779
  :param str resource_name: The name of the resource.
783
780
  :param pulumi.ResourceOptions opts: Options for the resource.
784
- :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.
785
- :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.
786
- :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.
787
- :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
788
- :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
781
+ :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.
782
+ :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.
783
+ :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.
784
+ :param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
785
+ :param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
789
786
  :param pulumi.Input[Union['PgPgArgs', 'PgPgArgsDict']] pg: Values provided by the PostgreSQL server.
790
787
  :param pulumi.Input[Union['PgPgUserConfigArgs', 'PgPgUserConfigArgsDict']] pg_user_config: Pg user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
791
- :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).
792
- :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.
793
- :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.
788
+ :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).
789
+ :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.
790
+ :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.
794
791
  :param pulumi.Input[Sequence[pulumi.Input[Union['PgServiceIntegrationArgs', 'PgServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
795
- :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.
796
- :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
792
+ :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.
793
+ :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
797
794
  :param pulumi.Input[Sequence[pulumi.Input[Union['PgTagArgs', 'PgTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
798
795
  :param pulumi.Input[Sequence[pulumi.Input[Union['PgTechEmailArgs', 'PgTechEmailArgsDict']]]] 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.
799
- :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.
796
+ :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.
800
797
  """
801
798
  ...
802
799
  @overload
@@ -828,22 +825,22 @@ class Pg(pulumi.CustomResource):
828
825
  def _internal_init(__self__,
829
826
  resource_name: str,
830
827
  opts: Optional[pulumi.ResourceOptions] = None,
831
- additional_disk_space: Optional[pulumi.Input[str]] = None,
832
- cloud_name: Optional[pulumi.Input[str]] = None,
833
- disk_space: Optional[pulumi.Input[str]] = None,
834
- maintenance_window_dow: Optional[pulumi.Input[str]] = None,
835
- maintenance_window_time: Optional[pulumi.Input[str]] = None,
828
+ additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
829
+ cloud_name: Optional[pulumi.Input[builtins.str]] = None,
830
+ disk_space: Optional[pulumi.Input[builtins.str]] = None,
831
+ maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
832
+ maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
836
833
  pg: Optional[pulumi.Input[Union['PgPgArgs', 'PgPgArgsDict']]] = None,
837
834
  pg_user_config: Optional[pulumi.Input[Union['PgPgUserConfigArgs', 'PgPgUserConfigArgsDict']]] = None,
838
- plan: Optional[pulumi.Input[str]] = None,
839
- project: Optional[pulumi.Input[str]] = None,
840
- project_vpc_id: Optional[pulumi.Input[str]] = None,
835
+ plan: Optional[pulumi.Input[builtins.str]] = None,
836
+ project: Optional[pulumi.Input[builtins.str]] = None,
837
+ project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
841
838
  service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgServiceIntegrationArgs', 'PgServiceIntegrationArgsDict']]]]] = None,
842
- service_name: Optional[pulumi.Input[str]] = None,
843
- static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
839
+ service_name: Optional[pulumi.Input[builtins.str]] = None,
840
+ static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
844
841
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTagArgs', 'PgTagArgsDict']]]]] = None,
845
842
  tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTechEmailArgs', 'PgTechEmailArgsDict']]]]] = None,
846
- termination_protection: Optional[pulumi.Input[bool]] = None,
843
+ termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
847
844
  __props__=None):
848
845
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
849
846
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -897,34 +894,34 @@ class Pg(pulumi.CustomResource):
897
894
  def get(resource_name: str,
898
895
  id: pulumi.Input[str],
899
896
  opts: Optional[pulumi.ResourceOptions] = None,
900
- additional_disk_space: Optional[pulumi.Input[str]] = None,
901
- cloud_name: Optional[pulumi.Input[str]] = None,
897
+ additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
898
+ cloud_name: Optional[pulumi.Input[builtins.str]] = None,
902
899
  components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgComponentArgs', 'PgComponentArgsDict']]]]] = None,
903
- disk_space: Optional[pulumi.Input[str]] = None,
904
- disk_space_cap: Optional[pulumi.Input[str]] = None,
905
- disk_space_default: Optional[pulumi.Input[str]] = None,
906
- disk_space_step: Optional[pulumi.Input[str]] = None,
907
- disk_space_used: Optional[pulumi.Input[str]] = None,
908
- maintenance_window_dow: Optional[pulumi.Input[str]] = None,
909
- maintenance_window_time: Optional[pulumi.Input[str]] = None,
900
+ disk_space: Optional[pulumi.Input[builtins.str]] = None,
901
+ disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
902
+ disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
903
+ disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
904
+ disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
905
+ maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
906
+ maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
910
907
  pg: Optional[pulumi.Input[Union['PgPgArgs', 'PgPgArgsDict']]] = None,
911
908
  pg_user_config: Optional[pulumi.Input[Union['PgPgUserConfigArgs', 'PgPgUserConfigArgsDict']]] = None,
912
- plan: Optional[pulumi.Input[str]] = None,
913
- project: Optional[pulumi.Input[str]] = None,
914
- project_vpc_id: Optional[pulumi.Input[str]] = None,
915
- service_host: Optional[pulumi.Input[str]] = None,
909
+ plan: Optional[pulumi.Input[builtins.str]] = None,
910
+ project: Optional[pulumi.Input[builtins.str]] = None,
911
+ project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
912
+ service_host: Optional[pulumi.Input[builtins.str]] = None,
916
913
  service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgServiceIntegrationArgs', 'PgServiceIntegrationArgsDict']]]]] = None,
917
- service_name: Optional[pulumi.Input[str]] = None,
918
- service_password: Optional[pulumi.Input[str]] = None,
919
- service_port: Optional[pulumi.Input[int]] = None,
920
- service_type: Optional[pulumi.Input[str]] = None,
921
- service_uri: Optional[pulumi.Input[str]] = None,
922
- service_username: Optional[pulumi.Input[str]] = None,
923
- state: Optional[pulumi.Input[str]] = None,
924
- static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
914
+ service_name: Optional[pulumi.Input[builtins.str]] = None,
915
+ service_password: Optional[pulumi.Input[builtins.str]] = None,
916
+ service_port: Optional[pulumi.Input[builtins.int]] = None,
917
+ service_type: Optional[pulumi.Input[builtins.str]] = None,
918
+ service_uri: Optional[pulumi.Input[builtins.str]] = None,
919
+ service_username: Optional[pulumi.Input[builtins.str]] = None,
920
+ state: Optional[pulumi.Input[builtins.str]] = None,
921
+ static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
925
922
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTagArgs', 'PgTagArgsDict']]]]] = None,
926
923
  tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTechEmailArgs', 'PgTechEmailArgsDict']]]]] = None,
927
- termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Pg':
924
+ termination_protection: Optional[pulumi.Input[builtins.bool]] = None) -> 'Pg':
928
925
  """
929
926
  Get an existing Pg resource's state with the given name, id, and optional extra
930
927
  properties used to qualify the lookup.
@@ -932,34 +929,33 @@ class Pg(pulumi.CustomResource):
932
929
  :param str resource_name: The unique name of the resulting resource.
933
930
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
934
931
  :param pulumi.ResourceOptions opts: Options for the resource.
935
- :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.
936
- :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.
932
+ :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.
933
+ :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.
937
934
  :param pulumi.Input[Sequence[pulumi.Input[Union['PgComponentArgs', 'PgComponentArgsDict']]]] components: Service component information objects
938
- :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.
939
- :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.
940
- :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`
941
- :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.
942
- :param pulumi.Input[str] disk_space_used: Disk space that service is currently using
943
- :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
944
- :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
935
+ :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.
936
+ :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.
937
+ :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`
938
+ :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.
939
+ :param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
940
+ :param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
941
+ :param pulumi.Input[builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
945
942
  :param pulumi.Input[Union['PgPgArgs', 'PgPgArgsDict']] pg: Values provided by the PostgreSQL server.
946
943
  :param pulumi.Input[Union['PgPgUserConfigArgs', 'PgPgUserConfigArgsDict']] pg_user_config: Pg user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
947
- :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).
948
- :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.
949
- :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.
950
- :param pulumi.Input[str] service_host: The hostname of the service.
944
+ :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).
945
+ :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.
946
+ :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.
947
+ :param pulumi.Input[builtins.str] service_host: The hostname of the service.
951
948
  :param pulumi.Input[Sequence[pulumi.Input[Union['PgServiceIntegrationArgs', 'PgServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
952
- :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.
953
- :param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
954
- :param pulumi.Input[int] service_port: The port of the service
955
- :param pulumi.Input[str] service_type: Aiven internal service type code
956
- :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
957
- :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
958
- :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
959
- :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
949
+ :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.
950
+ :param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
951
+ :param pulumi.Input[builtins.int] service_port: The port of the service
952
+ :param pulumi.Input[builtins.str] service_type: Aiven internal service type code
953
+ :param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
954
+ :param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
955
+ :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
960
956
  :param pulumi.Input[Sequence[pulumi.Input[Union['PgTagArgs', 'PgTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
961
957
  :param pulumi.Input[Sequence[pulumi.Input[Union['PgTechEmailArgs', 'PgTechEmailArgsDict']]]] 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.
962
- :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.
958
+ :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.
963
959
  """
964
960
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
965
961
 
@@ -997,15 +993,15 @@ class Pg(pulumi.CustomResource):
997
993
 
998
994
  @property
999
995
  @pulumi.getter(name="additionalDiskSpace")
1000
- def additional_disk_space(self) -> pulumi.Output[str]:
996
+ def additional_disk_space(self) -> pulumi.Output[builtins.str]:
1001
997
  """
1002
- 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.
998
+ 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.
1003
999
  """
1004
1000
  return pulumi.get(self, "additional_disk_space")
1005
1001
 
1006
1002
  @property
1007
1003
  @pulumi.getter(name="cloudName")
1008
- def cloud_name(self) -> pulumi.Output[Optional[str]]:
1004
+ def cloud_name(self) -> pulumi.Output[Optional[builtins.str]]:
1009
1005
  """
1010
1006
  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.
1011
1007
  """
@@ -1022,7 +1018,7 @@ class Pg(pulumi.CustomResource):
1022
1018
  @property
1023
1019
  @pulumi.getter(name="diskSpace")
1024
1020
  @_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.""")
1025
- def disk_space(self) -> pulumi.Output[Optional[str]]:
1021
+ def disk_space(self) -> pulumi.Output[Optional[builtins.str]]:
1026
1022
  """
1027
1023
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1028
1024
  """
@@ -1030,7 +1026,7 @@ class Pg(pulumi.CustomResource):
1030
1026
 
1031
1027
  @property
1032
1028
  @pulumi.getter(name="diskSpaceCap")
1033
- def disk_space_cap(self) -> pulumi.Output[str]:
1029
+ def disk_space_cap(self) -> pulumi.Output[builtins.str]:
1034
1030
  """
1035
1031
  The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
1036
1032
  """
@@ -1038,7 +1034,7 @@ class Pg(pulumi.CustomResource):
1038
1034
 
1039
1035
  @property
1040
1036
  @pulumi.getter(name="diskSpaceDefault")
1041
- def disk_space_default(self) -> pulumi.Output[str]:
1037
+ def disk_space_default(self) -> pulumi.Output[builtins.str]:
1042
1038
  """
1043
1039
  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`
1044
1040
  """
@@ -1046,7 +1042,7 @@ class Pg(pulumi.CustomResource):
1046
1042
 
1047
1043
  @property
1048
1044
  @pulumi.getter(name="diskSpaceStep")
1049
- def disk_space_step(self) -> pulumi.Output[str]:
1045
+ def disk_space_step(self) -> pulumi.Output[builtins.str]:
1050
1046
  """
1051
1047
  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.
1052
1048
  """
@@ -1055,7 +1051,7 @@ class Pg(pulumi.CustomResource):
1055
1051
  @property
1056
1052
  @pulumi.getter(name="diskSpaceUsed")
1057
1053
  @_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
1058
- def disk_space_used(self) -> pulumi.Output[str]:
1054
+ def disk_space_used(self) -> pulumi.Output[builtins.str]:
1059
1055
  """
1060
1056
  Disk space that service is currently using
1061
1057
  """
@@ -1063,7 +1059,7 @@ class Pg(pulumi.CustomResource):
1063
1059
 
1064
1060
  @property
1065
1061
  @pulumi.getter(name="maintenanceWindowDow")
1066
- def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
1062
+ def maintenance_window_dow(self) -> pulumi.Output[Optional[builtins.str]]:
1067
1063
  """
1068
1064
  Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
1069
1065
  """
@@ -1071,7 +1067,7 @@ class Pg(pulumi.CustomResource):
1071
1067
 
1072
1068
  @property
1073
1069
  @pulumi.getter(name="maintenanceWindowTime")
1074
- def maintenance_window_time(self) -> pulumi.Output[Optional[str]]:
1070
+ def maintenance_window_time(self) -> pulumi.Output[Optional[builtins.str]]:
1075
1071
  """
1076
1072
  Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
1077
1073
  """
@@ -1095,7 +1091,7 @@ class Pg(pulumi.CustomResource):
1095
1091
 
1096
1092
  @property
1097
1093
  @pulumi.getter
1098
- def plan(self) -> pulumi.Output[str]:
1094
+ def plan(self) -> pulumi.Output[builtins.str]:
1099
1095
  """
1100
1096
  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).
1101
1097
  """
@@ -1103,7 +1099,7 @@ class Pg(pulumi.CustomResource):
1103
1099
 
1104
1100
  @property
1105
1101
  @pulumi.getter
1106
- def project(self) -> pulumi.Output[str]:
1102
+ def project(self) -> pulumi.Output[builtins.str]:
1107
1103
  """
1108
1104
  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.
1109
1105
  """
@@ -1111,7 +1107,7 @@ class Pg(pulumi.CustomResource):
1111
1107
 
1112
1108
  @property
1113
1109
  @pulumi.getter(name="projectVpcId")
1114
- def project_vpc_id(self) -> pulumi.Output[str]:
1110
+ def project_vpc_id(self) -> pulumi.Output[builtins.str]:
1115
1111
  """
1116
1112
  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.
1117
1113
  """
@@ -1119,7 +1115,7 @@ class Pg(pulumi.CustomResource):
1119
1115
 
1120
1116
  @property
1121
1117
  @pulumi.getter(name="serviceHost")
1122
- def service_host(self) -> pulumi.Output[str]:
1118
+ def service_host(self) -> pulumi.Output[builtins.str]:
1123
1119
  """
1124
1120
  The hostname of the service.
1125
1121
  """
@@ -1135,7 +1131,7 @@ class Pg(pulumi.CustomResource):
1135
1131
 
1136
1132
  @property
1137
1133
  @pulumi.getter(name="serviceName")
1138
- def service_name(self) -> pulumi.Output[str]:
1134
+ def service_name(self) -> pulumi.Output[builtins.str]:
1139
1135
  """
1140
1136
  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.
1141
1137
  """
@@ -1143,7 +1139,7 @@ class Pg(pulumi.CustomResource):
1143
1139
 
1144
1140
  @property
1145
1141
  @pulumi.getter(name="servicePassword")
1146
- def service_password(self) -> pulumi.Output[str]:
1142
+ def service_password(self) -> pulumi.Output[builtins.str]:
1147
1143
  """
1148
1144
  Password used for connecting to the service, if applicable
1149
1145
  """
@@ -1151,7 +1147,7 @@ class Pg(pulumi.CustomResource):
1151
1147
 
1152
1148
  @property
1153
1149
  @pulumi.getter(name="servicePort")
1154
- def service_port(self) -> pulumi.Output[int]:
1150
+ def service_port(self) -> pulumi.Output[builtins.int]:
1155
1151
  """
1156
1152
  The port of the service
1157
1153
  """
@@ -1159,7 +1155,7 @@ class Pg(pulumi.CustomResource):
1159
1155
 
1160
1156
  @property
1161
1157
  @pulumi.getter(name="serviceType")
1162
- def service_type(self) -> pulumi.Output[str]:
1158
+ def service_type(self) -> pulumi.Output[builtins.str]:
1163
1159
  """
1164
1160
  Aiven internal service type code
1165
1161
  """
@@ -1167,7 +1163,7 @@ class Pg(pulumi.CustomResource):
1167
1163
 
1168
1164
  @property
1169
1165
  @pulumi.getter(name="serviceUri")
1170
- def service_uri(self) -> pulumi.Output[str]:
1166
+ def service_uri(self) -> pulumi.Output[builtins.str]:
1171
1167
  """
1172
1168
  URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
1173
1169
  """
@@ -1175,7 +1171,7 @@ class Pg(pulumi.CustomResource):
1175
1171
 
1176
1172
  @property
1177
1173
  @pulumi.getter(name="serviceUsername")
1178
- def service_username(self) -> pulumi.Output[str]:
1174
+ def service_username(self) -> pulumi.Output[builtins.str]:
1179
1175
  """
1180
1176
  Username used for connecting to the service, if applicable
1181
1177
  """
@@ -1183,15 +1179,12 @@ class Pg(pulumi.CustomResource):
1183
1179
 
1184
1180
  @property
1185
1181
  @pulumi.getter
1186
- def state(self) -> pulumi.Output[str]:
1187
- """
1188
- Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
1189
- """
1182
+ def state(self) -> pulumi.Output[builtins.str]:
1190
1183
  return pulumi.get(self, "state")
1191
1184
 
1192
1185
  @property
1193
1186
  @pulumi.getter(name="staticIps")
1194
- def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
1187
+ def static_ips(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1195
1188
  """
1196
1189
  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
1197
1190
  """
@@ -1215,7 +1208,7 @@ class Pg(pulumi.CustomResource):
1215
1208
 
1216
1209
  @property
1217
1210
  @pulumi.getter(name="terminationProtection")
1218
- def termination_protection(self) -> pulumi.Output[Optional[bool]]:
1211
+ def termination_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
1219
1212
  """
1220
1213
  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.
1221
1214
  """