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

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

Potentially problematic release.


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

Files changed (182) hide show
  1. pulumi_aiven/__init__.py +1 -0
  2. pulumi_aiven/_inputs.py +8278 -8277
  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 +246 -245
  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 +232 -231
  20. pulumi_aiven/cassandra_user.py +78 -77
  21. pulumi_aiven/clickhouse.py +232 -231
  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 +232 -231
  31. pulumi_aiven/flink.py +232 -231
  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 +33 -32
  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 +32 -31
  58. pulumi_aiven/get_cassandra.py +32 -31
  59. pulumi_aiven/get_cassandra_user.py +21 -20
  60. pulumi_aiven/get_clickhouse.py +32 -31
  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 +32 -31
  65. pulumi_aiven/get_external_identity.py +22 -21
  66. pulumi_aiven/get_flink.py +32 -31
  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 +32 -31
  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 +34 -33
  77. pulumi_aiven/get_kafka_acl.py +28 -27
  78. pulumi_aiven/get_kafka_connect.py +32 -31
  79. pulumi_aiven/get_kafka_connector.py +24 -23
  80. pulumi_aiven/get_kafka_mirror_maker.py +32 -31
  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 +32 -31
  87. pulumi_aiven/get_m3_db.py +32 -31
  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 +32 -31
  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 +32 -31
  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_application_user.py +15 -14
  100. pulumi_aiven/get_organization_project.py +15 -14
  101. pulumi_aiven/get_organization_user.py +18 -17
  102. pulumi_aiven/get_organization_user_group.py +16 -15
  103. pulumi_aiven/get_organization_user_list.py +11 -10
  104. pulumi_aiven/get_organization_vpc.py +17 -16
  105. pulumi_aiven/get_organizational_unit.py +11 -10
  106. pulumi_aiven/get_pg.py +32 -31
  107. pulumi_aiven/get_pg_database.py +20 -19
  108. pulumi_aiven/get_pg_user.py +22 -21
  109. pulumi_aiven/get_project.py +19 -18
  110. pulumi_aiven/get_project_user.py +14 -13
  111. pulumi_aiven/get_project_vpc.py +19 -18
  112. pulumi_aiven/get_redis.py +32 -31
  113. pulumi_aiven/get_redis_user.py +23 -22
  114. pulumi_aiven/get_service_component.py +39 -38
  115. pulumi_aiven/get_service_integration.py +27 -26
  116. pulumi_aiven/get_service_integration_endpoint.py +14 -13
  117. pulumi_aiven/get_thanos.py +32 -31
  118. pulumi_aiven/get_transit_gateway_vpc_attachment.py +22 -21
  119. pulumi_aiven/get_valkey.py +32 -31
  120. pulumi_aiven/get_valkey_user.py +23 -22
  121. pulumi_aiven/grafana.py +232 -231
  122. pulumi_aiven/influx_db.py +232 -231
  123. pulumi_aiven/influxdb_database.py +53 -52
  124. pulumi_aiven/influxdb_user.py +78 -77
  125. pulumi_aiven/kafka.py +260 -259
  126. pulumi_aiven/kafka_acl.py +78 -77
  127. pulumi_aiven/kafka_connect.py +232 -231
  128. pulumi_aiven/kafka_connector.py +99 -98
  129. pulumi_aiven/kafka_mirror_maker.py +232 -231
  130. pulumi_aiven/kafka_native_acl.py +127 -126
  131. pulumi_aiven/kafka_quota.py +99 -98
  132. pulumi_aiven/kafka_schema.py +92 -91
  133. pulumi_aiven/kafka_schema_configuration.py +43 -42
  134. pulumi_aiven/kafka_schema_registry_acl.py +78 -77
  135. pulumi_aiven/kafka_topic.py +109 -108
  136. pulumi_aiven/kafka_user.py +78 -77
  137. pulumi_aiven/m3_aggregator.py +232 -231
  138. pulumi_aiven/m3_db.py +232 -231
  139. pulumi_aiven/m3db_user.py +64 -63
  140. pulumi_aiven/mirror_maker_replication_flow.py +225 -224
  141. pulumi_aiven/my_sql.py +232 -231
  142. pulumi_aiven/mysql_database.py +53 -52
  143. pulumi_aiven/mysql_user.py +92 -91
  144. pulumi_aiven/open_search.py +232 -231
  145. pulumi_aiven/open_search_acl_config.py +57 -56
  146. pulumi_aiven/open_search_acl_rule.py +75 -74
  147. pulumi_aiven/opensearch_security_plugin_config.py +64 -63
  148. pulumi_aiven/opensearch_user.py +64 -63
  149. pulumi_aiven/organization.py +36 -35
  150. pulumi_aiven/organization_application_user.py +57 -56
  151. pulumi_aiven/organization_application_user_token.py +169 -168
  152. pulumi_aiven/organization_group_project.py +43 -42
  153. pulumi_aiven/organization_permission.py +43 -42
  154. pulumi_aiven/organization_project.py +71 -70
  155. pulumi_aiven/organization_user.py +57 -56
  156. pulumi_aiven/organization_user_group.py +64 -63
  157. pulumi_aiven/organization_user_group_member.py +50 -49
  158. pulumi_aiven/organization_vpc.py +71 -70
  159. pulumi_aiven/organizational_unit.py +50 -49
  160. pulumi_aiven/outputs.py +9982 -9981
  161. pulumi_aiven/pg.py +232 -231
  162. pulumi_aiven/pg_database.py +81 -80
  163. pulumi_aiven/pg_user.py +92 -91
  164. pulumi_aiven/project.py +155 -154
  165. pulumi_aiven/project_user.py +50 -49
  166. pulumi_aiven/project_vpc.py +50 -49
  167. pulumi_aiven/provider.py +9 -8
  168. pulumi_aiven/pulumi-plugin.json +1 -1
  169. pulumi_aiven/redis.py +232 -231
  170. pulumi_aiven/redis_user.py +120 -119
  171. pulumi_aiven/service_integration.py +120 -119
  172. pulumi_aiven/service_integration_endpoint.py +50 -49
  173. pulumi_aiven/static_ip.py +57 -56
  174. pulumi_aiven/thanos.py +232 -231
  175. pulumi_aiven/transit_gateway_vpc_attachment.py +92 -91
  176. pulumi_aiven/valkey.py +232 -231
  177. pulumi_aiven/valkey_user.py +120 -119
  178. {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/METADATA +1 -1
  179. pulumi_aiven-6.37.0a1744182902.dist-info/RECORD +183 -0
  180. pulumi_aiven-6.37.0a1743570488.dist-info/RECORD +0 -183
  181. {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.dist-info}/WHEEL +0 -0
  182. {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744182902.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 with no HA capabilities.
46
+ :param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
47
+ :param pulumi.Input[builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
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
122
  Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
122
123
  """
123
124
  return pulumi.get(self, "additional_disk_space")
124
125
 
125
126
  @additional_disk_space.setter
126
- def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
127
+ def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
127
128
  pulumi.set(self, "additional_disk_space", value)
128
129
 
129
130
  @property
130
131
  @pulumi.getter(name="cloudName")
131
- def cloud_name(self) -> Optional[pulumi.Input[str]]:
132
+ def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
132
133
  """
133
134
  The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
134
135
  """
135
136
  return pulumi.get(self, "cloud_name")
136
137
 
137
138
  @cloud_name.setter
138
- def cloud_name(self, value: Optional[pulumi.Input[str]]):
139
+ def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
139
140
  pulumi.set(self, "cloud_name", value)
140
141
 
141
142
  @property
142
143
  @pulumi.getter(name="diskSpace")
143
144
  @_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
144
- def disk_space(self) -> Optional[pulumi.Input[str]]:
145
+ def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
145
146
  """
146
147
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
147
148
  """
148
149
  return pulumi.get(self, "disk_space")
149
150
 
150
151
  @disk_space.setter
151
- def disk_space(self, value: Optional[pulumi.Input[str]]):
152
+ def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
152
153
  pulumi.set(self, "disk_space", value)
153
154
 
154
155
  @property
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,78 @@ 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 with no HA capabilities.
322
+ :param pulumi.Input[builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
322
323
  :param pulumi.Input[Sequence[pulumi.Input['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[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
345
+ :param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
345
346
  :param pulumi.Input[Sequence[pulumi.Input['PgTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
346
347
  :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.
348
+ :param pulumi.Input[builtins.bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
348
349
  """
349
350
  if additional_disk_space is not None:
350
351
  pulumi.set(__self__, "additional_disk_space", additional_disk_space)
@@ -411,26 +412,26 @@ class _PgState:
411
412
 
412
413
  @property
413
414
  @pulumi.getter(name="additionalDiskSpace")
414
- def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
415
+ def additional_disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
415
416
  """
416
417
  Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
417
418
  """
418
419
  return pulumi.get(self, "additional_disk_space")
419
420
 
420
421
  @additional_disk_space.setter
421
- def additional_disk_space(self, value: Optional[pulumi.Input[str]]):
422
+ def additional_disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
422
423
  pulumi.set(self, "additional_disk_space", value)
423
424
 
424
425
  @property
425
426
  @pulumi.getter(name="cloudName")
426
- def cloud_name(self) -> Optional[pulumi.Input[str]]:
427
+ def cloud_name(self) -> Optional[pulumi.Input[builtins.str]]:
427
428
  """
428
429
  The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
429
430
  """
430
431
  return pulumi.get(self, "cloud_name")
431
432
 
432
433
  @cloud_name.setter
433
- def cloud_name(self, value: Optional[pulumi.Input[str]]):
434
+ def cloud_name(self, value: Optional[pulumi.Input[builtins.str]]):
434
435
  pulumi.set(self, "cloud_name", value)
435
436
 
436
437
  @property
@@ -448,87 +449,87 @@ class _PgState:
448
449
  @property
449
450
  @pulumi.getter(name="diskSpace")
450
451
  @_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
451
- def disk_space(self) -> Optional[pulumi.Input[str]]:
452
+ def disk_space(self) -> Optional[pulumi.Input[builtins.str]]:
452
453
  """
453
454
  Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
454
455
  """
455
456
  return pulumi.get(self, "disk_space")
456
457
 
457
458
  @disk_space.setter
458
- def disk_space(self, value: Optional[pulumi.Input[str]]):
459
+ def disk_space(self, value: Optional[pulumi.Input[builtins.str]]):
459
460
  pulumi.set(self, "disk_space", value)
460
461
 
461
462
  @property
462
463
  @pulumi.getter(name="diskSpaceCap")
463
- def disk_space_cap(self) -> Optional[pulumi.Input[str]]:
464
+ def disk_space_cap(self) -> Optional[pulumi.Input[builtins.str]]:
464
465
  """
465
466
  The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
466
467
  """
467
468
  return pulumi.get(self, "disk_space_cap")
468
469
 
469
470
  @disk_space_cap.setter
470
- def disk_space_cap(self, value: Optional[pulumi.Input[str]]):
471
+ def disk_space_cap(self, value: Optional[pulumi.Input[builtins.str]]):
471
472
  pulumi.set(self, "disk_space_cap", value)
472
473
 
473
474
  @property
474
475
  @pulumi.getter(name="diskSpaceDefault")
475
- def disk_space_default(self) -> Optional[pulumi.Input[str]]:
476
+ def disk_space_default(self) -> Optional[pulumi.Input[builtins.str]]:
476
477
  """
477
478
  The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
478
479
  """
479
480
  return pulumi.get(self, "disk_space_default")
480
481
 
481
482
  @disk_space_default.setter
482
- def disk_space_default(self, value: Optional[pulumi.Input[str]]):
483
+ def disk_space_default(self, value: Optional[pulumi.Input[builtins.str]]):
483
484
  pulumi.set(self, "disk_space_default", value)
484
485
 
485
486
  @property
486
487
  @pulumi.getter(name="diskSpaceStep")
487
- def disk_space_step(self) -> Optional[pulumi.Input[str]]:
488
+ def disk_space_step(self) -> Optional[pulumi.Input[builtins.str]]:
488
489
  """
489
490
  The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
490
491
  """
491
492
  return pulumi.get(self, "disk_space_step")
492
493
 
493
494
  @disk_space_step.setter
494
- def disk_space_step(self, value: Optional[pulumi.Input[str]]):
495
+ def disk_space_step(self, value: Optional[pulumi.Input[builtins.str]]):
495
496
  pulumi.set(self, "disk_space_step", value)
496
497
 
497
498
  @property
498
499
  @pulumi.getter(name="diskSpaceUsed")
499
500
  @_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
500
- def disk_space_used(self) -> Optional[pulumi.Input[str]]:
501
+ def disk_space_used(self) -> Optional[pulumi.Input[builtins.str]]:
501
502
  """
502
503
  Disk space that service is currently using
503
504
  """
504
505
  return pulumi.get(self, "disk_space_used")
505
506
 
506
507
  @disk_space_used.setter
507
- def disk_space_used(self, value: Optional[pulumi.Input[str]]):
508
+ def disk_space_used(self, value: Optional[pulumi.Input[builtins.str]]):
508
509
  pulumi.set(self, "disk_space_used", value)
509
510
 
510
511
  @property
511
512
  @pulumi.getter(name="maintenanceWindowDow")
512
- def maintenance_window_dow(self) -> Optional[pulumi.Input[str]]:
513
+ def maintenance_window_dow(self) -> Optional[pulumi.Input[builtins.str]]:
513
514
  """
514
515
  Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
515
516
  """
516
517
  return pulumi.get(self, "maintenance_window_dow")
517
518
 
518
519
  @maintenance_window_dow.setter
519
- def maintenance_window_dow(self, value: Optional[pulumi.Input[str]]):
520
+ def maintenance_window_dow(self, value: Optional[pulumi.Input[builtins.str]]):
520
521
  pulumi.set(self, "maintenance_window_dow", value)
521
522
 
522
523
  @property
523
524
  @pulumi.getter(name="maintenanceWindowTime")
524
- def maintenance_window_time(self) -> Optional[pulumi.Input[str]]:
525
+ def maintenance_window_time(self) -> Optional[pulumi.Input[builtins.str]]:
525
526
  """
526
527
  Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
527
528
  """
528
529
  return pulumi.get(self, "maintenance_window_time")
529
530
 
530
531
  @maintenance_window_time.setter
531
- def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
532
+ def maintenance_window_time(self, value: Optional[pulumi.Input[builtins.str]]):
532
533
  pulumi.set(self, "maintenance_window_time", value)
533
534
 
534
535
  @property
@@ -557,50 +558,50 @@ class _PgState:
557
558
 
558
559
  @property
559
560
  @pulumi.getter
560
- def plan(self) -> Optional[pulumi.Input[str]]:
561
+ def plan(self) -> Optional[pulumi.Input[builtins.str]]:
561
562
  """
562
563
  Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
563
564
  """
564
565
  return pulumi.get(self, "plan")
565
566
 
566
567
  @plan.setter
567
- def plan(self, value: Optional[pulumi.Input[str]]):
568
+ def plan(self, value: Optional[pulumi.Input[builtins.str]]):
568
569
  pulumi.set(self, "plan", value)
569
570
 
570
571
  @property
571
572
  @pulumi.getter
572
- def project(self) -> Optional[pulumi.Input[str]]:
573
+ def project(self) -> Optional[pulumi.Input[builtins.str]]:
573
574
  """
574
575
  The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
575
576
  """
576
577
  return pulumi.get(self, "project")
577
578
 
578
579
  @project.setter
579
- def project(self, value: Optional[pulumi.Input[str]]):
580
+ def project(self, value: Optional[pulumi.Input[builtins.str]]):
580
581
  pulumi.set(self, "project", value)
581
582
 
582
583
  @property
583
584
  @pulumi.getter(name="projectVpcId")
584
- def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
585
+ def project_vpc_id(self) -> Optional[pulumi.Input[builtins.str]]:
585
586
  """
586
587
  Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
587
588
  """
588
589
  return pulumi.get(self, "project_vpc_id")
589
590
 
590
591
  @project_vpc_id.setter
591
- def project_vpc_id(self, value: Optional[pulumi.Input[str]]):
592
+ def project_vpc_id(self, value: Optional[pulumi.Input[builtins.str]]):
592
593
  pulumi.set(self, "project_vpc_id", value)
593
594
 
594
595
  @property
595
596
  @pulumi.getter(name="serviceHost")
596
- def service_host(self) -> Optional[pulumi.Input[str]]:
597
+ def service_host(self) -> Optional[pulumi.Input[builtins.str]]:
597
598
  """
598
599
  The hostname of the service.
599
600
  """
600
601
  return pulumi.get(self, "service_host")
601
602
 
602
603
  @service_host.setter
603
- def service_host(self, value: Optional[pulumi.Input[str]]):
604
+ def service_host(self, value: Optional[pulumi.Input[builtins.str]]):
604
605
  pulumi.set(self, "service_host", value)
605
606
 
606
607
  @property
@@ -617,98 +618,98 @@ class _PgState:
617
618
 
618
619
  @property
619
620
  @pulumi.getter(name="serviceName")
620
- def service_name(self) -> Optional[pulumi.Input[str]]:
621
+ def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
621
622
  """
622
623
  Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
623
624
  """
624
625
  return pulumi.get(self, "service_name")
625
626
 
626
627
  @service_name.setter
627
- def service_name(self, value: Optional[pulumi.Input[str]]):
628
+ def service_name(self, value: Optional[pulumi.Input[builtins.str]]):
628
629
  pulumi.set(self, "service_name", value)
629
630
 
630
631
  @property
631
632
  @pulumi.getter(name="servicePassword")
632
- def service_password(self) -> Optional[pulumi.Input[str]]:
633
+ def service_password(self) -> Optional[pulumi.Input[builtins.str]]:
633
634
  """
634
635
  Password used for connecting to the service, if applicable
635
636
  """
636
637
  return pulumi.get(self, "service_password")
637
638
 
638
639
  @service_password.setter
639
- def service_password(self, value: Optional[pulumi.Input[str]]):
640
+ def service_password(self, value: Optional[pulumi.Input[builtins.str]]):
640
641
  pulumi.set(self, "service_password", value)
641
642
 
642
643
  @property
643
644
  @pulumi.getter(name="servicePort")
644
- def service_port(self) -> Optional[pulumi.Input[int]]:
645
+ def service_port(self) -> Optional[pulumi.Input[builtins.int]]:
645
646
  """
646
647
  The port of the service
647
648
  """
648
649
  return pulumi.get(self, "service_port")
649
650
 
650
651
  @service_port.setter
651
- def service_port(self, value: Optional[pulumi.Input[int]]):
652
+ def service_port(self, value: Optional[pulumi.Input[builtins.int]]):
652
653
  pulumi.set(self, "service_port", value)
653
654
 
654
655
  @property
655
656
  @pulumi.getter(name="serviceType")
656
- def service_type(self) -> Optional[pulumi.Input[str]]:
657
+ def service_type(self) -> Optional[pulumi.Input[builtins.str]]:
657
658
  """
658
659
  Aiven internal service type code
659
660
  """
660
661
  return pulumi.get(self, "service_type")
661
662
 
662
663
  @service_type.setter
663
- def service_type(self, value: Optional[pulumi.Input[str]]):
664
+ def service_type(self, value: Optional[pulumi.Input[builtins.str]]):
664
665
  pulumi.set(self, "service_type", value)
665
666
 
666
667
  @property
667
668
  @pulumi.getter(name="serviceUri")
668
- def service_uri(self) -> Optional[pulumi.Input[str]]:
669
+ def service_uri(self) -> Optional[pulumi.Input[builtins.str]]:
669
670
  """
670
671
  URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
671
672
  """
672
673
  return pulumi.get(self, "service_uri")
673
674
 
674
675
  @service_uri.setter
675
- def service_uri(self, value: Optional[pulumi.Input[str]]):
676
+ def service_uri(self, value: Optional[pulumi.Input[builtins.str]]):
676
677
  pulumi.set(self, "service_uri", value)
677
678
 
678
679
  @property
679
680
  @pulumi.getter(name="serviceUsername")
680
- def service_username(self) -> Optional[pulumi.Input[str]]:
681
+ def service_username(self) -> Optional[pulumi.Input[builtins.str]]:
681
682
  """
682
683
  Username used for connecting to the service, if applicable
683
684
  """
684
685
  return pulumi.get(self, "service_username")
685
686
 
686
687
  @service_username.setter
687
- def service_username(self, value: Optional[pulumi.Input[str]]):
688
+ def service_username(self, value: Optional[pulumi.Input[builtins.str]]):
688
689
  pulumi.set(self, "service_username", value)
689
690
 
690
691
  @property
691
692
  @pulumi.getter
692
- def state(self) -> Optional[pulumi.Input[str]]:
693
+ def state(self) -> Optional[pulumi.Input[builtins.str]]:
693
694
  """
694
695
  Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
695
696
  """
696
697
  return pulumi.get(self, "state")
697
698
 
698
699
  @state.setter
699
- def state(self, value: Optional[pulumi.Input[str]]):
700
+ def state(self, value: Optional[pulumi.Input[builtins.str]]):
700
701
  pulumi.set(self, "state", value)
701
702
 
702
703
  @property
703
704
  @pulumi.getter(name="staticIps")
704
- def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
705
+ def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
705
706
  """
706
707
  Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
707
708
  """
708
709
  return pulumi.get(self, "static_ips")
709
710
 
710
711
  @static_ips.setter
711
- def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
712
+ def static_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
712
713
  pulumi.set(self, "static_ips", value)
713
714
 
714
715
  @property
@@ -737,14 +738,14 @@ class _PgState:
737
738
 
738
739
  @property
739
740
  @pulumi.getter(name="terminationProtection")
740
- def termination_protection(self) -> Optional[pulumi.Input[bool]]:
741
+ def termination_protection(self) -> Optional[pulumi.Input[builtins.bool]]:
741
742
  """
742
743
  Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
743
744
  """
744
745
  return pulumi.get(self, "termination_protection")
745
746
 
746
747
  @termination_protection.setter
747
- def termination_protection(self, value: Optional[pulumi.Input[bool]]):
748
+ def termination_protection(self, value: Optional[pulumi.Input[builtins.bool]]):
748
749
  pulumi.set(self, "termination_protection", value)
749
750
 
750
751
 
@@ -753,22 +754,22 @@ class Pg(pulumi.CustomResource):
753
754
  def __init__(__self__,
754
755
  resource_name: str,
755
756
  opts: Optional[pulumi.ResourceOptions] = None,
756
- additional_disk_space: Optional[pulumi.Input[str]] = None,
757
- cloud_name: Optional[pulumi.Input[str]] = None,
758
- disk_space: Optional[pulumi.Input[str]] = None,
759
- maintenance_window_dow: Optional[pulumi.Input[str]] = None,
760
- maintenance_window_time: Optional[pulumi.Input[str]] = None,
757
+ additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
758
+ cloud_name: Optional[pulumi.Input[builtins.str]] = None,
759
+ disk_space: Optional[pulumi.Input[builtins.str]] = None,
760
+ maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
761
+ maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
761
762
  pg: Optional[pulumi.Input[Union['PgPgArgs', 'PgPgArgsDict']]] = None,
762
763
  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,
764
+ plan: Optional[pulumi.Input[builtins.str]] = None,
765
+ project: Optional[pulumi.Input[builtins.str]] = None,
766
+ project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
766
767
  service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgServiceIntegrationArgs', 'PgServiceIntegrationArgsDict']]]]] = None,
767
- service_name: Optional[pulumi.Input[str]] = None,
768
- static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
768
+ service_name: Optional[pulumi.Input[builtins.str]] = None,
769
+ static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
769
770
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTagArgs', 'PgTagArgsDict']]]]] = None,
770
771
  tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTechEmailArgs', 'PgTechEmailArgsDict']]]]] = None,
771
- termination_protection: Optional[pulumi.Input[bool]] = None,
772
+ termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
772
773
  __props__=None):
773
774
  """
774
775
  Creates and manages an Aiven for PostgreSQL® service.
@@ -781,22 +782,22 @@ class Pg(pulumi.CustomResource):
781
782
 
782
783
  :param str resource_name: The name of the resource.
783
784
  :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.
785
+ :param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
786
+ :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.
787
+ :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.
788
+ :param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
789
+ :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
790
  :param pulumi.Input[Union['PgPgArgs', 'PgPgArgsDict']] pg: Values provided by the PostgreSQL server.
790
791
  :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.
792
+ :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).
793
+ :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.
794
+ :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
795
  :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
796
+ :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.
797
+ :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
798
  :param pulumi.Input[Sequence[pulumi.Input[Union['PgTagArgs', 'PgTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
798
799
  :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.
800
+ :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
801
  """
801
802
  ...
802
803
  @overload
@@ -828,22 +829,22 @@ class Pg(pulumi.CustomResource):
828
829
  def _internal_init(__self__,
829
830
  resource_name: str,
830
831
  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,
832
+ additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
833
+ cloud_name: Optional[pulumi.Input[builtins.str]] = None,
834
+ disk_space: Optional[pulumi.Input[builtins.str]] = None,
835
+ maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
836
+ maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
836
837
  pg: Optional[pulumi.Input[Union['PgPgArgs', 'PgPgArgsDict']]] = None,
837
838
  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,
839
+ plan: Optional[pulumi.Input[builtins.str]] = None,
840
+ project: Optional[pulumi.Input[builtins.str]] = None,
841
+ project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
841
842
  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,
843
+ service_name: Optional[pulumi.Input[builtins.str]] = None,
844
+ static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
844
845
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTagArgs', 'PgTagArgsDict']]]]] = None,
845
846
  tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTechEmailArgs', 'PgTechEmailArgsDict']]]]] = None,
846
- termination_protection: Optional[pulumi.Input[bool]] = None,
847
+ termination_protection: Optional[pulumi.Input[builtins.bool]] = None,
847
848
  __props__=None):
848
849
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
849
850
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -897,34 +898,34 @@ class Pg(pulumi.CustomResource):
897
898
  def get(resource_name: str,
898
899
  id: pulumi.Input[str],
899
900
  opts: Optional[pulumi.ResourceOptions] = None,
900
- additional_disk_space: Optional[pulumi.Input[str]] = None,
901
- cloud_name: Optional[pulumi.Input[str]] = None,
901
+ additional_disk_space: Optional[pulumi.Input[builtins.str]] = None,
902
+ cloud_name: Optional[pulumi.Input[builtins.str]] = None,
902
903
  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,
904
+ disk_space: Optional[pulumi.Input[builtins.str]] = None,
905
+ disk_space_cap: Optional[pulumi.Input[builtins.str]] = None,
906
+ disk_space_default: Optional[pulumi.Input[builtins.str]] = None,
907
+ disk_space_step: Optional[pulumi.Input[builtins.str]] = None,
908
+ disk_space_used: Optional[pulumi.Input[builtins.str]] = None,
909
+ maintenance_window_dow: Optional[pulumi.Input[builtins.str]] = None,
910
+ maintenance_window_time: Optional[pulumi.Input[builtins.str]] = None,
910
911
  pg: Optional[pulumi.Input[Union['PgPgArgs', 'PgPgArgsDict']]] = None,
911
912
  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,
913
+ plan: Optional[pulumi.Input[builtins.str]] = None,
914
+ project: Optional[pulumi.Input[builtins.str]] = None,
915
+ project_vpc_id: Optional[pulumi.Input[builtins.str]] = None,
916
+ service_host: Optional[pulumi.Input[builtins.str]] = None,
916
917
  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,
918
+ service_name: Optional[pulumi.Input[builtins.str]] = None,
919
+ service_password: Optional[pulumi.Input[builtins.str]] = None,
920
+ service_port: Optional[pulumi.Input[builtins.int]] = None,
921
+ service_type: Optional[pulumi.Input[builtins.str]] = None,
922
+ service_uri: Optional[pulumi.Input[builtins.str]] = None,
923
+ service_username: Optional[pulumi.Input[builtins.str]] = None,
924
+ state: Optional[pulumi.Input[builtins.str]] = None,
925
+ static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
925
926
  tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTagArgs', 'PgTagArgsDict']]]]] = None,
926
927
  tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PgTechEmailArgs', 'PgTechEmailArgsDict']]]]] = None,
927
- termination_protection: Optional[pulumi.Input[bool]] = None) -> 'Pg':
928
+ termination_protection: Optional[pulumi.Input[builtins.bool]] = None) -> 'Pg':
928
929
  """
929
930
  Get an existing Pg resource's state with the given name, id, and optional extra
930
931
  properties used to qualify the lookup.
@@ -932,34 +933,34 @@ class Pg(pulumi.CustomResource):
932
933
  :param str resource_name: The unique name of the resulting resource.
933
934
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
934
935
  :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.
936
+ :param pulumi.Input[builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
937
+ :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
938
  :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.
939
+ :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.
940
+ :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.
941
+ :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`
942
+ :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.
943
+ :param pulumi.Input[builtins.str] disk_space_used: Disk space that service is currently using
944
+ :param pulumi.Input[builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
945
+ :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
946
  :param pulumi.Input[Union['PgPgArgs', 'PgPgArgsDict']] pg: Values provided by the PostgreSQL server.
946
947
  :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.
948
+ :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).
949
+ :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.
950
+ :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.
951
+ :param pulumi.Input[builtins.str] service_host: The hostname of the service.
951
952
  :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
953
+ :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.
954
+ :param pulumi.Input[builtins.str] service_password: Password used for connecting to the service, if applicable
955
+ :param pulumi.Input[builtins.int] service_port: The port of the service
956
+ :param pulumi.Input[builtins.str] service_type: Aiven internal service type code
957
+ :param pulumi.Input[builtins.str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
958
+ :param pulumi.Input[builtins.str] service_username: Username used for connecting to the service, if applicable
959
+ :param pulumi.Input[builtins.str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
960
+ :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
961
  :param pulumi.Input[Sequence[pulumi.Input[Union['PgTagArgs', 'PgTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
961
962
  :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.
963
+ :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
964
  """
964
965
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
965
966
 
@@ -997,7 +998,7 @@ class Pg(pulumi.CustomResource):
997
998
 
998
999
  @property
999
1000
  @pulumi.getter(name="additionalDiskSpace")
1000
- def additional_disk_space(self) -> pulumi.Output[str]:
1001
+ def additional_disk_space(self) -> pulumi.Output[builtins.str]:
1001
1002
  """
1002
1003
  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.
1003
1004
  """
@@ -1005,7 +1006,7 @@ class Pg(pulumi.CustomResource):
1005
1006
 
1006
1007
  @property
1007
1008
  @pulumi.getter(name="cloudName")
1008
- def cloud_name(self) -> pulumi.Output[Optional[str]]:
1009
+ def cloud_name(self) -> pulumi.Output[Optional[builtins.str]]:
1009
1010
  """
1010
1011
  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
1012
  """
@@ -1022,7 +1023,7 @@ class Pg(pulumi.CustomResource):
1022
1023
  @property
1023
1024
  @pulumi.getter(name="diskSpace")
1024
1025
  @_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]]:
1026
+ def disk_space(self) -> pulumi.Output[Optional[builtins.str]]:
1026
1027
  """
1027
1028
  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
1029
  """
@@ -1030,7 +1031,7 @@ class Pg(pulumi.CustomResource):
1030
1031
 
1031
1032
  @property
1032
1033
  @pulumi.getter(name="diskSpaceCap")
1033
- def disk_space_cap(self) -> pulumi.Output[str]:
1034
+ def disk_space_cap(self) -> pulumi.Output[builtins.str]:
1034
1035
  """
1035
1036
  The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
1036
1037
  """
@@ -1038,7 +1039,7 @@ class Pg(pulumi.CustomResource):
1038
1039
 
1039
1040
  @property
1040
1041
  @pulumi.getter(name="diskSpaceDefault")
1041
- def disk_space_default(self) -> pulumi.Output[str]:
1042
+ def disk_space_default(self) -> pulumi.Output[builtins.str]:
1042
1043
  """
1043
1044
  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
1045
  """
@@ -1046,7 +1047,7 @@ class Pg(pulumi.CustomResource):
1046
1047
 
1047
1048
  @property
1048
1049
  @pulumi.getter(name="diskSpaceStep")
1049
- def disk_space_step(self) -> pulumi.Output[str]:
1050
+ def disk_space_step(self) -> pulumi.Output[builtins.str]:
1050
1051
  """
1051
1052
  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
1053
  """
@@ -1055,7 +1056,7 @@ class Pg(pulumi.CustomResource):
1055
1056
  @property
1056
1057
  @pulumi.getter(name="diskSpaceUsed")
1057
1058
  @_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]:
1059
+ def disk_space_used(self) -> pulumi.Output[builtins.str]:
1059
1060
  """
1060
1061
  Disk space that service is currently using
1061
1062
  """
@@ -1063,7 +1064,7 @@ class Pg(pulumi.CustomResource):
1063
1064
 
1064
1065
  @property
1065
1066
  @pulumi.getter(name="maintenanceWindowDow")
1066
- def maintenance_window_dow(self) -> pulumi.Output[Optional[str]]:
1067
+ def maintenance_window_dow(self) -> pulumi.Output[Optional[builtins.str]]:
1067
1068
  """
1068
1069
  Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
1069
1070
  """
@@ -1071,7 +1072,7 @@ class Pg(pulumi.CustomResource):
1071
1072
 
1072
1073
  @property
1073
1074
  @pulumi.getter(name="maintenanceWindowTime")
1074
- def maintenance_window_time(self) -> pulumi.Output[Optional[str]]:
1075
+ def maintenance_window_time(self) -> pulumi.Output[Optional[builtins.str]]:
1075
1076
  """
1076
1077
  Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
1077
1078
  """
@@ -1095,7 +1096,7 @@ class Pg(pulumi.CustomResource):
1095
1096
 
1096
1097
  @property
1097
1098
  @pulumi.getter
1098
- def plan(self) -> pulumi.Output[str]:
1099
+ def plan(self) -> pulumi.Output[builtins.str]:
1099
1100
  """
1100
1101
  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
1102
  """
@@ -1103,7 +1104,7 @@ class Pg(pulumi.CustomResource):
1103
1104
 
1104
1105
  @property
1105
1106
  @pulumi.getter
1106
- def project(self) -> pulumi.Output[str]:
1107
+ def project(self) -> pulumi.Output[builtins.str]:
1107
1108
  """
1108
1109
  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
1110
  """
@@ -1111,7 +1112,7 @@ class Pg(pulumi.CustomResource):
1111
1112
 
1112
1113
  @property
1113
1114
  @pulumi.getter(name="projectVpcId")
1114
- def project_vpc_id(self) -> pulumi.Output[str]:
1115
+ def project_vpc_id(self) -> pulumi.Output[builtins.str]:
1115
1116
  """
1116
1117
  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
1118
  """
@@ -1119,7 +1120,7 @@ class Pg(pulumi.CustomResource):
1119
1120
 
1120
1121
  @property
1121
1122
  @pulumi.getter(name="serviceHost")
1122
- def service_host(self) -> pulumi.Output[str]:
1123
+ def service_host(self) -> pulumi.Output[builtins.str]:
1123
1124
  """
1124
1125
  The hostname of the service.
1125
1126
  """
@@ -1135,7 +1136,7 @@ class Pg(pulumi.CustomResource):
1135
1136
 
1136
1137
  @property
1137
1138
  @pulumi.getter(name="serviceName")
1138
- def service_name(self) -> pulumi.Output[str]:
1139
+ def service_name(self) -> pulumi.Output[builtins.str]:
1139
1140
  """
1140
1141
  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
1142
  """
@@ -1143,7 +1144,7 @@ class Pg(pulumi.CustomResource):
1143
1144
 
1144
1145
  @property
1145
1146
  @pulumi.getter(name="servicePassword")
1146
- def service_password(self) -> pulumi.Output[str]:
1147
+ def service_password(self) -> pulumi.Output[builtins.str]:
1147
1148
  """
1148
1149
  Password used for connecting to the service, if applicable
1149
1150
  """
@@ -1151,7 +1152,7 @@ class Pg(pulumi.CustomResource):
1151
1152
 
1152
1153
  @property
1153
1154
  @pulumi.getter(name="servicePort")
1154
- def service_port(self) -> pulumi.Output[int]:
1155
+ def service_port(self) -> pulumi.Output[builtins.int]:
1155
1156
  """
1156
1157
  The port of the service
1157
1158
  """
@@ -1159,7 +1160,7 @@ class Pg(pulumi.CustomResource):
1159
1160
 
1160
1161
  @property
1161
1162
  @pulumi.getter(name="serviceType")
1162
- def service_type(self) -> pulumi.Output[str]:
1163
+ def service_type(self) -> pulumi.Output[builtins.str]:
1163
1164
  """
1164
1165
  Aiven internal service type code
1165
1166
  """
@@ -1167,7 +1168,7 @@ class Pg(pulumi.CustomResource):
1167
1168
 
1168
1169
  @property
1169
1170
  @pulumi.getter(name="serviceUri")
1170
- def service_uri(self) -> pulumi.Output[str]:
1171
+ def service_uri(self) -> pulumi.Output[builtins.str]:
1171
1172
  """
1172
1173
  URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
1173
1174
  """
@@ -1175,7 +1176,7 @@ class Pg(pulumi.CustomResource):
1175
1176
 
1176
1177
  @property
1177
1178
  @pulumi.getter(name="serviceUsername")
1178
- def service_username(self) -> pulumi.Output[str]:
1179
+ def service_username(self) -> pulumi.Output[builtins.str]:
1179
1180
  """
1180
1181
  Username used for connecting to the service, if applicable
1181
1182
  """
@@ -1183,7 +1184,7 @@ class Pg(pulumi.CustomResource):
1183
1184
 
1184
1185
  @property
1185
1186
  @pulumi.getter
1186
- def state(self) -> pulumi.Output[str]:
1187
+ def state(self) -> pulumi.Output[builtins.str]:
1187
1188
  """
1188
1189
  Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
1189
1190
  """
@@ -1191,7 +1192,7 @@ class Pg(pulumi.CustomResource):
1191
1192
 
1192
1193
  @property
1193
1194
  @pulumi.getter(name="staticIps")
1194
- def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
1195
+ def static_ips(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
1195
1196
  """
1196
1197
  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
1198
  """
@@ -1215,7 +1216,7 @@ class Pg(pulumi.CustomResource):
1215
1216
 
1216
1217
  @property
1217
1218
  @pulumi.getter(name="terminationProtection")
1218
- def termination_protection(self) -> pulumi.Output[Optional[bool]]:
1219
+ def termination_protection(self) -> pulumi.Output[Optional[builtins.bool]]:
1219
1220
  """
1220
1221
  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
1222
  """