pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (168) hide show
  1. pulumi_aiven/__init__.py +127 -0
  2. pulumi_aiven/_inputs.py +32826 -13922
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +34 -43
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +37 -12
  7. pulumi_aiven/account_team_member.py +48 -35
  8. pulumi_aiven/account_team_project.py +42 -25
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -39
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -57
  14. pulumi_aiven/azure_privatelink.py +54 -49
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -73
  17. pulumi_aiven/billing_group.py +33 -30
  18. pulumi_aiven/cassandra.py +145 -122
  19. pulumi_aiven/cassandra_user.py +59 -54
  20. pulumi_aiven/clickhouse.py +133 -110
  21. pulumi_aiven/clickhouse_database.py +58 -58
  22. pulumi_aiven/clickhouse_grant.py +135 -130
  23. pulumi_aiven/clickhouse_role.py +36 -45
  24. pulumi_aiven/clickhouse_user.py +50 -45
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -62
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -100
  30. pulumi_aiven/flink_application.py +58 -51
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
  36. pulumi_aiven/get_account.py +20 -5
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -20
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
  46. pulumi_aiven/get_azure_privatelink.py +37 -22
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -19
  50. pulumi_aiven/get_cassandra.py +55 -19
  51. pulumi_aiven/get_cassandra_user.py +42 -26
  52. pulumi_aiven/get_clickhouse.py +55 -19
  53. pulumi_aiven/get_clickhouse_database.py +35 -22
  54. pulumi_aiven/get_clickhouse_user.py +40 -25
  55. pulumi_aiven/get_connection_pool.py +43 -26
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -19
  59. pulumi_aiven/get_flink_application.py +44 -27
  60. pulumi_aiven/get_flink_application_version.py +55 -33
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
  63. pulumi_aiven/get_grafana.py +55 -19
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -21
  68. pulumi_aiven/get_kafka_acl.py +50 -33
  69. pulumi_aiven/get_kafka_connect.py +54 -32
  70. pulumi_aiven/get_kafka_connector.py +44 -24
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -28
  72. pulumi_aiven/get_kafka_schema.py +35 -19
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -17
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -25
  76. pulumi_aiven/get_kafka_user.py +42 -26
  77. pulumi_aiven/get_m3_aggregator.py +51 -15
  78. pulumi_aiven/get_m3_db.py +55 -19
  79. pulumi_aiven/get_m3db_user.py +38 -24
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
  81. pulumi_aiven/get_my_sql.py +50 -14
  82. pulumi_aiven/get_mysql_database.py +31 -18
  83. pulumi_aiven/get_mysql_user.py +36 -19
  84. pulumi_aiven/get_open_search.py +50 -14
  85. pulumi_aiven/get_open_search_acl_config.py +27 -15
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -21
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
  88. pulumi_aiven/get_opensearch_user.py +32 -18
  89. pulumi_aiven/get_organization.py +25 -13
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -19
  96. pulumi_aiven/get_pg_database.py +39 -24
  97. pulumi_aiven/get_pg_user.py +44 -27
  98. pulumi_aiven/get_project.py +43 -22
  99. pulumi_aiven/get_project_user.py +27 -15
  100. pulumi_aiven/get_project_vpc.py +31 -19
  101. pulumi_aiven/get_redis.py +50 -14
  102. pulumi_aiven/get_redis_user.py +40 -22
  103. pulumi_aiven/get_service_component.py +40 -18
  104. pulumi_aiven/get_service_integration.py +163 -49
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -33
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -318
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -140
  115. pulumi_aiven/kafka_acl.py +64 -53
  116. pulumi_aiven/kafka_connect.py +201 -328
  117. pulumi_aiven/kafka_connector.py +67 -56
  118. pulumi_aiven/kafka_mirror_maker.py +139 -318
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +65 -56
  121. pulumi_aiven/kafka_schema_configuration.py +25 -20
  122. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  123. pulumi_aiven/kafka_topic.py +184 -65
  124. pulumi_aiven/kafka_user.py +59 -54
  125. pulumi_aiven/m3_aggregator.py +176 -308
  126. pulumi_aiven/m3_db.py +190 -322
  127. pulumi_aiven/m3db_user.py +51 -46
  128. pulumi_aiven/mirror_maker_replication_flow.py +217 -53
  129. pulumi_aiven/my_sql.py +190 -322
  130. pulumi_aiven/mysql_database.py +32 -47
  131. pulumi_aiven/mysql_user.py +37 -32
  132. pulumi_aiven/open_search.py +128 -105
  133. pulumi_aiven/open_search_acl_config.py +33 -32
  134. pulumi_aiven/open_search_acl_rule.py +55 -50
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -25
  137. pulumi_aiven/organization.py +18 -13
  138. pulumi_aiven/organization_application_user.py +345 -0
  139. pulumi_aiven/organization_application_user_token.py +711 -0
  140. pulumi_aiven/organization_group_project.py +349 -0
  141. pulumi_aiven/organization_permission.py +421 -0
  142. pulumi_aiven/organization_user.py +25 -46
  143. pulumi_aiven/organization_user_group.py +64 -23
  144. pulumi_aiven/organization_user_group_member.py +359 -0
  145. pulumi_aiven/organizational_unit.py +41 -32
  146. pulumi_aiven/outputs.py +38509 -21612
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -67
  149. pulumi_aiven/pg_user.py +80 -61
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -31
  152. pulumi_aiven/project_vpc.py +58 -29
  153. pulumi_aiven/provider.py +5 -0
  154. pulumi_aiven/pulumi-plugin.json +2 -1
  155. pulumi_aiven/redis.py +163 -295
  156. pulumi_aiven/redis_user.py +58 -53
  157. pulumi_aiven/service_integration.py +511 -161
  158. pulumi_aiven/service_integration_endpoint.py +466 -158
  159. pulumi_aiven/static_ip.py +21 -16
  160. pulumi_aiven/thanos.py +1262 -0
  161. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
  165. pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
  166. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,499 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetAlloydbomniResult',
20
+ 'AwaitableGetAlloydbomniResult',
21
+ 'get_alloydbomni',
22
+ 'get_alloydbomni_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetAlloydbomniResult:
27
+ """
28
+ A collection of values returned by getAlloydbomni.
29
+ """
30
+ def __init__(__self__, additional_disk_space=None, alloydbomni_user_configs=None, alloydbomnis=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_account_credentials=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
31
+ if additional_disk_space and not isinstance(additional_disk_space, str):
32
+ raise TypeError("Expected argument 'additional_disk_space' to be a str")
33
+ pulumi.set(__self__, "additional_disk_space", additional_disk_space)
34
+ if alloydbomni_user_configs and not isinstance(alloydbomni_user_configs, list):
35
+ raise TypeError("Expected argument 'alloydbomni_user_configs' to be a list")
36
+ pulumi.set(__self__, "alloydbomni_user_configs", alloydbomni_user_configs)
37
+ if alloydbomnis and not isinstance(alloydbomnis, list):
38
+ raise TypeError("Expected argument 'alloydbomnis' to be a list")
39
+ pulumi.set(__self__, "alloydbomnis", alloydbomnis)
40
+ if cloud_name and not isinstance(cloud_name, str):
41
+ raise TypeError("Expected argument 'cloud_name' to be a str")
42
+ pulumi.set(__self__, "cloud_name", cloud_name)
43
+ if components and not isinstance(components, list):
44
+ raise TypeError("Expected argument 'components' to be a list")
45
+ pulumi.set(__self__, "components", components)
46
+ if disk_space and not isinstance(disk_space, str):
47
+ raise TypeError("Expected argument 'disk_space' to be a str")
48
+ pulumi.set(__self__, "disk_space", disk_space)
49
+ if disk_space_cap and not isinstance(disk_space_cap, str):
50
+ raise TypeError("Expected argument 'disk_space_cap' to be a str")
51
+ pulumi.set(__self__, "disk_space_cap", disk_space_cap)
52
+ if disk_space_default and not isinstance(disk_space_default, str):
53
+ raise TypeError("Expected argument 'disk_space_default' to be a str")
54
+ pulumi.set(__self__, "disk_space_default", disk_space_default)
55
+ if disk_space_step and not isinstance(disk_space_step, str):
56
+ raise TypeError("Expected argument 'disk_space_step' to be a str")
57
+ pulumi.set(__self__, "disk_space_step", disk_space_step)
58
+ if disk_space_used and not isinstance(disk_space_used, str):
59
+ raise TypeError("Expected argument 'disk_space_used' to be a str")
60
+ pulumi.set(__self__, "disk_space_used", disk_space_used)
61
+ if id and not isinstance(id, str):
62
+ raise TypeError("Expected argument 'id' to be a str")
63
+ pulumi.set(__self__, "id", id)
64
+ if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
65
+ raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
66
+ pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
67
+ if maintenance_window_time and not isinstance(maintenance_window_time, str):
68
+ raise TypeError("Expected argument 'maintenance_window_time' to be a str")
69
+ pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
70
+ if plan and not isinstance(plan, str):
71
+ raise TypeError("Expected argument 'plan' to be a str")
72
+ pulumi.set(__self__, "plan", plan)
73
+ if project and not isinstance(project, str):
74
+ raise TypeError("Expected argument 'project' to be a str")
75
+ pulumi.set(__self__, "project", project)
76
+ if project_vpc_id and not isinstance(project_vpc_id, str):
77
+ raise TypeError("Expected argument 'project_vpc_id' to be a str")
78
+ pulumi.set(__self__, "project_vpc_id", project_vpc_id)
79
+ if service_account_credentials and not isinstance(service_account_credentials, str):
80
+ raise TypeError("Expected argument 'service_account_credentials' to be a str")
81
+ pulumi.set(__self__, "service_account_credentials", service_account_credentials)
82
+ if service_host and not isinstance(service_host, str):
83
+ raise TypeError("Expected argument 'service_host' to be a str")
84
+ pulumi.set(__self__, "service_host", service_host)
85
+ if service_integrations and not isinstance(service_integrations, list):
86
+ raise TypeError("Expected argument 'service_integrations' to be a list")
87
+ pulumi.set(__self__, "service_integrations", service_integrations)
88
+ if service_name and not isinstance(service_name, str):
89
+ raise TypeError("Expected argument 'service_name' to be a str")
90
+ pulumi.set(__self__, "service_name", service_name)
91
+ if service_password and not isinstance(service_password, str):
92
+ raise TypeError("Expected argument 'service_password' to be a str")
93
+ pulumi.set(__self__, "service_password", service_password)
94
+ if service_port and not isinstance(service_port, int):
95
+ raise TypeError("Expected argument 'service_port' to be a int")
96
+ pulumi.set(__self__, "service_port", service_port)
97
+ if service_type and not isinstance(service_type, str):
98
+ raise TypeError("Expected argument 'service_type' to be a str")
99
+ pulumi.set(__self__, "service_type", service_type)
100
+ if service_uri and not isinstance(service_uri, str):
101
+ raise TypeError("Expected argument 'service_uri' to be a str")
102
+ pulumi.set(__self__, "service_uri", service_uri)
103
+ if service_username and not isinstance(service_username, str):
104
+ raise TypeError("Expected argument 'service_username' to be a str")
105
+ pulumi.set(__self__, "service_username", service_username)
106
+ if state and not isinstance(state, str):
107
+ raise TypeError("Expected argument 'state' to be a str")
108
+ pulumi.set(__self__, "state", state)
109
+ if static_ips and not isinstance(static_ips, list):
110
+ raise TypeError("Expected argument 'static_ips' to be a list")
111
+ pulumi.set(__self__, "static_ips", static_ips)
112
+ if tags and not isinstance(tags, list):
113
+ raise TypeError("Expected argument 'tags' to be a list")
114
+ pulumi.set(__self__, "tags", tags)
115
+ if tech_emails and not isinstance(tech_emails, list):
116
+ raise TypeError("Expected argument 'tech_emails' to be a list")
117
+ pulumi.set(__self__, "tech_emails", tech_emails)
118
+ if termination_protection and not isinstance(termination_protection, bool):
119
+ raise TypeError("Expected argument 'termination_protection' to be a bool")
120
+ pulumi.set(__self__, "termination_protection", termination_protection)
121
+
122
+ @property
123
+ @pulumi.getter(name="additionalDiskSpace")
124
+ def additional_disk_space(self) -> str:
125
+ """
126
+ 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.
127
+ """
128
+ return pulumi.get(self, "additional_disk_space")
129
+
130
+ @property
131
+ @pulumi.getter(name="alloydbomniUserConfigs")
132
+ def alloydbomni_user_configs(self) -> Sequence['outputs.GetAlloydbomniAlloydbomniUserConfigResult']:
133
+ """
134
+ Alloydbomni user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
135
+ """
136
+ return pulumi.get(self, "alloydbomni_user_configs")
137
+
138
+ @property
139
+ @pulumi.getter
140
+ def alloydbomnis(self) -> Sequence['outputs.GetAlloydbomniAlloydbomniResult']:
141
+ """
142
+ Values provided by the AlloyDB Omni server.
143
+ """
144
+ return pulumi.get(self, "alloydbomnis")
145
+
146
+ @property
147
+ @pulumi.getter(name="cloudName")
148
+ def cloud_name(self) -> str:
149
+ """
150
+ Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
151
+ """
152
+ return pulumi.get(self, "cloud_name")
153
+
154
+ @property
155
+ @pulumi.getter
156
+ def components(self) -> Sequence['outputs.GetAlloydbomniComponentResult']:
157
+ """
158
+ Service component information objects
159
+ """
160
+ return pulumi.get(self, "components")
161
+
162
+ @property
163
+ @pulumi.getter(name="diskSpace")
164
+ def disk_space(self) -> str:
165
+ """
166
+ Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
167
+ """
168
+ return pulumi.get(self, "disk_space")
169
+
170
+ @property
171
+ @pulumi.getter(name="diskSpaceCap")
172
+ def disk_space_cap(self) -> str:
173
+ """
174
+ The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
175
+ """
176
+ return pulumi.get(self, "disk_space_cap")
177
+
178
+ @property
179
+ @pulumi.getter(name="diskSpaceDefault")
180
+ def disk_space_default(self) -> str:
181
+ """
182
+ 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`
183
+ """
184
+ return pulumi.get(self, "disk_space_default")
185
+
186
+ @property
187
+ @pulumi.getter(name="diskSpaceStep")
188
+ def disk_space_step(self) -> str:
189
+ """
190
+ 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.
191
+ """
192
+ return pulumi.get(self, "disk_space_step")
193
+
194
+ @property
195
+ @pulumi.getter(name="diskSpaceUsed")
196
+ def disk_space_used(self) -> str:
197
+ """
198
+ Disk space that service is currently using
199
+ """
200
+ return pulumi.get(self, "disk_space_used")
201
+
202
+ @property
203
+ @pulumi.getter
204
+ def id(self) -> str:
205
+ """
206
+ The provider-assigned unique ID for this managed resource.
207
+ """
208
+ return pulumi.get(self, "id")
209
+
210
+ @property
211
+ @pulumi.getter(name="maintenanceWindowDow")
212
+ def maintenance_window_dow(self) -> str:
213
+ """
214
+ Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
215
+ """
216
+ return pulumi.get(self, "maintenance_window_dow")
217
+
218
+ @property
219
+ @pulumi.getter(name="maintenanceWindowTime")
220
+ def maintenance_window_time(self) -> str:
221
+ """
222
+ Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
223
+ """
224
+ return pulumi.get(self, "maintenance_window_time")
225
+
226
+ @property
227
+ @pulumi.getter
228
+ def plan(self) -> str:
229
+ """
230
+ 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).
231
+ """
232
+ return pulumi.get(self, "plan")
233
+
234
+ @property
235
+ @pulumi.getter
236
+ def project(self) -> str:
237
+ """
238
+ 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.
239
+ """
240
+ return pulumi.get(self, "project")
241
+
242
+ @property
243
+ @pulumi.getter(name="projectVpcId")
244
+ def project_vpc_id(self) -> str:
245
+ """
246
+ 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.
247
+ """
248
+ return pulumi.get(self, "project_vpc_id")
249
+
250
+ @property
251
+ @pulumi.getter(name="serviceAccountCredentials")
252
+ def service_account_credentials(self) -> str:
253
+ """
254
+ Your [Google service account key](https://cloud.google.com/iam/docs/service-account-creds#key-types) in JSON format.
255
+ """
256
+ return pulumi.get(self, "service_account_credentials")
257
+
258
+ @property
259
+ @pulumi.getter(name="serviceHost")
260
+ def service_host(self) -> str:
261
+ """
262
+ The hostname of the service.
263
+ """
264
+ return pulumi.get(self, "service_host")
265
+
266
+ @property
267
+ @pulumi.getter(name="serviceIntegrations")
268
+ def service_integrations(self) -> Sequence['outputs.GetAlloydbomniServiceIntegrationResult']:
269
+ """
270
+ Service integrations to specify when creating a service. Not applied after initial service creation
271
+ """
272
+ return pulumi.get(self, "service_integrations")
273
+
274
+ @property
275
+ @pulumi.getter(name="serviceName")
276
+ def service_name(self) -> str:
277
+ """
278
+ 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.
279
+ """
280
+ return pulumi.get(self, "service_name")
281
+
282
+ @property
283
+ @pulumi.getter(name="servicePassword")
284
+ def service_password(self) -> str:
285
+ """
286
+ Password used for connecting to the service, if applicable
287
+ """
288
+ return pulumi.get(self, "service_password")
289
+
290
+ @property
291
+ @pulumi.getter(name="servicePort")
292
+ def service_port(self) -> int:
293
+ """
294
+ The port of the service
295
+ """
296
+ return pulumi.get(self, "service_port")
297
+
298
+ @property
299
+ @pulumi.getter(name="serviceType")
300
+ def service_type(self) -> str:
301
+ """
302
+ Aiven internal service type code
303
+ """
304
+ return pulumi.get(self, "service_type")
305
+
306
+ @property
307
+ @pulumi.getter(name="serviceUri")
308
+ def service_uri(self) -> str:
309
+ """
310
+ URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
311
+ """
312
+ return pulumi.get(self, "service_uri")
313
+
314
+ @property
315
+ @pulumi.getter(name="serviceUsername")
316
+ def service_username(self) -> str:
317
+ """
318
+ Username used for connecting to the service, if applicable
319
+ """
320
+ return pulumi.get(self, "service_username")
321
+
322
+ @property
323
+ @pulumi.getter
324
+ def state(self) -> str:
325
+ """
326
+ Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
327
+ """
328
+ return pulumi.get(self, "state")
329
+
330
+ @property
331
+ @pulumi.getter(name="staticIps")
332
+ def static_ips(self) -> Sequence[str]:
333
+ """
334
+ 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
335
+ """
336
+ return pulumi.get(self, "static_ips")
337
+
338
+ @property
339
+ @pulumi.getter
340
+ def tags(self) -> Sequence['outputs.GetAlloydbomniTagResult']:
341
+ """
342
+ Tags are key-value pairs that allow you to categorize services.
343
+ """
344
+ return pulumi.get(self, "tags")
345
+
346
+ @property
347
+ @pulumi.getter(name="techEmails")
348
+ def tech_emails(self) -> Sequence['outputs.GetAlloydbomniTechEmailResult']:
349
+ """
350
+ 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.
351
+ """
352
+ return pulumi.get(self, "tech_emails")
353
+
354
+ @property
355
+ @pulumi.getter(name="terminationProtection")
356
+ def termination_protection(self) -> bool:
357
+ """
358
+ 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.
359
+ """
360
+ return pulumi.get(self, "termination_protection")
361
+
362
+
363
+ class AwaitableGetAlloydbomniResult(GetAlloydbomniResult):
364
+ # pylint: disable=using-constant-test
365
+ def __await__(self):
366
+ if False:
367
+ yield self
368
+ return GetAlloydbomniResult(
369
+ additional_disk_space=self.additional_disk_space,
370
+ alloydbomni_user_configs=self.alloydbomni_user_configs,
371
+ alloydbomnis=self.alloydbomnis,
372
+ cloud_name=self.cloud_name,
373
+ components=self.components,
374
+ disk_space=self.disk_space,
375
+ disk_space_cap=self.disk_space_cap,
376
+ disk_space_default=self.disk_space_default,
377
+ disk_space_step=self.disk_space_step,
378
+ disk_space_used=self.disk_space_used,
379
+ id=self.id,
380
+ maintenance_window_dow=self.maintenance_window_dow,
381
+ maintenance_window_time=self.maintenance_window_time,
382
+ plan=self.plan,
383
+ project=self.project,
384
+ project_vpc_id=self.project_vpc_id,
385
+ service_account_credentials=self.service_account_credentials,
386
+ service_host=self.service_host,
387
+ service_integrations=self.service_integrations,
388
+ service_name=self.service_name,
389
+ service_password=self.service_password,
390
+ service_port=self.service_port,
391
+ service_type=self.service_type,
392
+ service_uri=self.service_uri,
393
+ service_username=self.service_username,
394
+ state=self.state,
395
+ static_ips=self.static_ips,
396
+ tags=self.tags,
397
+ tech_emails=self.tech_emails,
398
+ termination_protection=self.termination_protection)
399
+
400
+
401
+ def get_alloydbomni(project: Optional[str] = None,
402
+ service_name: Optional[str] = None,
403
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlloydbomniResult:
404
+ """
405
+ Gets information about an Aiven for AlloyDB Omni service.
406
+
407
+ **This resource is in the beta stage and may change without notice.** Set
408
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
409
+
410
+
411
+ :param 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.
412
+ :param 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.
413
+ """
414
+ __args__ = dict()
415
+ __args__['project'] = project
416
+ __args__['serviceName'] = service_name
417
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
418
+ __ret__ = pulumi.runtime.invoke('aiven:index/getAlloydbomni:getAlloydbomni', __args__, opts=opts, typ=GetAlloydbomniResult).value
419
+
420
+ return AwaitableGetAlloydbomniResult(
421
+ additional_disk_space=pulumi.get(__ret__, 'additional_disk_space'),
422
+ alloydbomni_user_configs=pulumi.get(__ret__, 'alloydbomni_user_configs'),
423
+ alloydbomnis=pulumi.get(__ret__, 'alloydbomnis'),
424
+ cloud_name=pulumi.get(__ret__, 'cloud_name'),
425
+ components=pulumi.get(__ret__, 'components'),
426
+ disk_space=pulumi.get(__ret__, 'disk_space'),
427
+ disk_space_cap=pulumi.get(__ret__, 'disk_space_cap'),
428
+ disk_space_default=pulumi.get(__ret__, 'disk_space_default'),
429
+ disk_space_step=pulumi.get(__ret__, 'disk_space_step'),
430
+ disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
431
+ id=pulumi.get(__ret__, 'id'),
432
+ maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
433
+ maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
434
+ plan=pulumi.get(__ret__, 'plan'),
435
+ project=pulumi.get(__ret__, 'project'),
436
+ project_vpc_id=pulumi.get(__ret__, 'project_vpc_id'),
437
+ service_account_credentials=pulumi.get(__ret__, 'service_account_credentials'),
438
+ service_host=pulumi.get(__ret__, 'service_host'),
439
+ service_integrations=pulumi.get(__ret__, 'service_integrations'),
440
+ service_name=pulumi.get(__ret__, 'service_name'),
441
+ service_password=pulumi.get(__ret__, 'service_password'),
442
+ service_port=pulumi.get(__ret__, 'service_port'),
443
+ service_type=pulumi.get(__ret__, 'service_type'),
444
+ service_uri=pulumi.get(__ret__, 'service_uri'),
445
+ service_username=pulumi.get(__ret__, 'service_username'),
446
+ state=pulumi.get(__ret__, 'state'),
447
+ static_ips=pulumi.get(__ret__, 'static_ips'),
448
+ tags=pulumi.get(__ret__, 'tags'),
449
+ tech_emails=pulumi.get(__ret__, 'tech_emails'),
450
+ termination_protection=pulumi.get(__ret__, 'termination_protection'))
451
+ def get_alloydbomni_output(project: Optional[pulumi.Input[str]] = None,
452
+ service_name: Optional[pulumi.Input[str]] = None,
453
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlloydbomniResult]:
454
+ """
455
+ Gets information about an Aiven for AlloyDB Omni service.
456
+
457
+ **This resource is in the beta stage and may change without notice.** Set
458
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
459
+
460
+
461
+ :param 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.
462
+ :param 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.
463
+ """
464
+ __args__ = dict()
465
+ __args__['project'] = project
466
+ __args__['serviceName'] = service_name
467
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
468
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getAlloydbomni:getAlloydbomni', __args__, opts=opts, typ=GetAlloydbomniResult)
469
+ return __ret__.apply(lambda __response__: GetAlloydbomniResult(
470
+ additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
471
+ alloydbomni_user_configs=pulumi.get(__response__, 'alloydbomni_user_configs'),
472
+ alloydbomnis=pulumi.get(__response__, 'alloydbomnis'),
473
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
474
+ components=pulumi.get(__response__, 'components'),
475
+ disk_space=pulumi.get(__response__, 'disk_space'),
476
+ disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
477
+ disk_space_default=pulumi.get(__response__, 'disk_space_default'),
478
+ disk_space_step=pulumi.get(__response__, 'disk_space_step'),
479
+ disk_space_used=pulumi.get(__response__, 'disk_space_used'),
480
+ id=pulumi.get(__response__, 'id'),
481
+ maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
482
+ maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
483
+ plan=pulumi.get(__response__, 'plan'),
484
+ project=pulumi.get(__response__, 'project'),
485
+ project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
486
+ service_account_credentials=pulumi.get(__response__, 'service_account_credentials'),
487
+ service_host=pulumi.get(__response__, 'service_host'),
488
+ service_integrations=pulumi.get(__response__, 'service_integrations'),
489
+ service_name=pulumi.get(__response__, 'service_name'),
490
+ service_password=pulumi.get(__response__, 'service_password'),
491
+ service_port=pulumi.get(__response__, 'service_port'),
492
+ service_type=pulumi.get(__response__, 'service_type'),
493
+ service_uri=pulumi.get(__response__, 'service_uri'),
494
+ service_username=pulumi.get(__response__, 'service_username'),
495
+ state=pulumi.get(__response__, 'state'),
496
+ static_ips=pulumi.get(__response__, 'static_ips'),
497
+ tags=pulumi.get(__response__, 'tags'),
498
+ tech_emails=pulumi.get(__response__, 'tech_emails'),
499
+ termination_protection=pulumi.get(__response__, 'termination_protection')))
@@ -0,0 +1,168 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+
17
+ __all__ = [
18
+ 'GetAlloydbomniDatabaseResult',
19
+ 'AwaitableGetAlloydbomniDatabaseResult',
20
+ 'get_alloydbomni_database',
21
+ 'get_alloydbomni_database_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetAlloydbomniDatabaseResult:
26
+ """
27
+ A collection of values returned by getAlloydbomniDatabase.
28
+ """
29
+ def __init__(__self__, database_name=None, id=None, lc_collate=None, lc_ctype=None, project=None, service_name=None):
30
+ if database_name and not isinstance(database_name, str):
31
+ raise TypeError("Expected argument 'database_name' to be a str")
32
+ pulumi.set(__self__, "database_name", database_name)
33
+ if id and not isinstance(id, str):
34
+ raise TypeError("Expected argument 'id' to be a str")
35
+ pulumi.set(__self__, "id", id)
36
+ if lc_collate and not isinstance(lc_collate, str):
37
+ raise TypeError("Expected argument 'lc_collate' to be a str")
38
+ pulumi.set(__self__, "lc_collate", lc_collate)
39
+ if lc_ctype and not isinstance(lc_ctype, str):
40
+ raise TypeError("Expected argument 'lc_ctype' to be a str")
41
+ pulumi.set(__self__, "lc_ctype", lc_ctype)
42
+ if project and not isinstance(project, str):
43
+ raise TypeError("Expected argument 'project' to be a str")
44
+ pulumi.set(__self__, "project", project)
45
+ if service_name and not isinstance(service_name, str):
46
+ raise TypeError("Expected argument 'service_name' to be a str")
47
+ pulumi.set(__self__, "service_name", service_name)
48
+
49
+ @property
50
+ @pulumi.getter(name="databaseName")
51
+ def database_name(self) -> str:
52
+ """
53
+ The name of the service database. Changing this property forces recreation of the resource.
54
+ """
55
+ return pulumi.get(self, "database_name")
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def id(self) -> str:
60
+ """
61
+ The provider-assigned unique ID for this managed resource.
62
+ """
63
+ return pulumi.get(self, "id")
64
+
65
+ @property
66
+ @pulumi.getter(name="lcCollate")
67
+ def lc_collate(self) -> str:
68
+ """
69
+ Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
70
+ """
71
+ return pulumi.get(self, "lc_collate")
72
+
73
+ @property
74
+ @pulumi.getter(name="lcCtype")
75
+ def lc_ctype(self) -> str:
76
+ """
77
+ Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
78
+ """
79
+ return pulumi.get(self, "lc_ctype")
80
+
81
+ @property
82
+ @pulumi.getter
83
+ def project(self) -> str:
84
+ """
85
+ 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.
86
+ """
87
+ return pulumi.get(self, "project")
88
+
89
+ @property
90
+ @pulumi.getter(name="serviceName")
91
+ def service_name(self) -> str:
92
+ """
93
+ The name of the service that 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.
94
+ """
95
+ return pulumi.get(self, "service_name")
96
+
97
+
98
+ class AwaitableGetAlloydbomniDatabaseResult(GetAlloydbomniDatabaseResult):
99
+ # pylint: disable=using-constant-test
100
+ def __await__(self):
101
+ if False:
102
+ yield self
103
+ return GetAlloydbomniDatabaseResult(
104
+ database_name=self.database_name,
105
+ id=self.id,
106
+ lc_collate=self.lc_collate,
107
+ lc_ctype=self.lc_ctype,
108
+ project=self.project,
109
+ service_name=self.service_name)
110
+
111
+
112
+ def get_alloydbomni_database(database_name: Optional[str] = None,
113
+ project: Optional[str] = None,
114
+ service_name: Optional[str] = None,
115
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlloydbomniDatabaseResult:
116
+ """
117
+ Gets information about a database in an Aiven for AlloyDB Omni service.
118
+
119
+ **This resource is in the beta stage and may change without notice.** Set
120
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
121
+
122
+
123
+ :param str database_name: The name of the service database. Changing this property forces recreation of the resource.
124
+ :param 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.
125
+ :param str service_name: The name of the service that 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.
126
+ """
127
+ __args__ = dict()
128
+ __args__['databaseName'] = database_name
129
+ __args__['project'] = project
130
+ __args__['serviceName'] = service_name
131
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
132
+ __ret__ = pulumi.runtime.invoke('aiven:index/getAlloydbomniDatabase:getAlloydbomniDatabase', __args__, opts=opts, typ=GetAlloydbomniDatabaseResult).value
133
+
134
+ return AwaitableGetAlloydbomniDatabaseResult(
135
+ database_name=pulumi.get(__ret__, 'database_name'),
136
+ id=pulumi.get(__ret__, 'id'),
137
+ lc_collate=pulumi.get(__ret__, 'lc_collate'),
138
+ lc_ctype=pulumi.get(__ret__, 'lc_ctype'),
139
+ project=pulumi.get(__ret__, 'project'),
140
+ service_name=pulumi.get(__ret__, 'service_name'))
141
+ def get_alloydbomni_database_output(database_name: Optional[pulumi.Input[str]] = None,
142
+ project: Optional[pulumi.Input[str]] = None,
143
+ service_name: Optional[pulumi.Input[str]] = None,
144
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlloydbomniDatabaseResult]:
145
+ """
146
+ Gets information about a database in an Aiven for AlloyDB Omni service.
147
+
148
+ **This resource is in the beta stage and may change without notice.** Set
149
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
150
+
151
+
152
+ :param str database_name: The name of the service database. Changing this property forces recreation of the resource.
153
+ :param 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.
154
+ :param str service_name: The name of the service that 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.
155
+ """
156
+ __args__ = dict()
157
+ __args__['databaseName'] = database_name
158
+ __args__['project'] = project
159
+ __args__['serviceName'] = service_name
160
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
161
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getAlloydbomniDatabase:getAlloydbomniDatabase', __args__, opts=opts, typ=GetAlloydbomniDatabaseResult)
162
+ return __ret__.apply(lambda __response__: GetAlloydbomniDatabaseResult(
163
+ database_name=pulumi.get(__response__, 'database_name'),
164
+ id=pulumi.get(__response__, 'id'),
165
+ lc_collate=pulumi.get(__response__, 'lc_collate'),
166
+ lc_ctype=pulumi.get(__response__, 'lc_ctype'),
167
+ project=pulumi.get(__response__, 'project'),
168
+ service_name=pulumi.get(__response__, 'service_name')))