pulumi-aiven 6.13.0a1710156545__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 +32615 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  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 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  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 -48
  36. pulumi_aiven/get_account.py +20 -9
  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 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  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 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  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 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  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 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  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 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +63 -58
  121. pulumi_aiven/kafka_schema_configuration.py +25 -24
  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 -58
  125. pulumi_aiven/m3_aggregator.py +174 -310
  126. pulumi_aiven/m3_db.py +190 -326
  127. pulumi_aiven/m3db_user.py +51 -50
  128. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  129. pulumi_aiven/my_sql.py +188 -324
  130. pulumi_aiven/mysql_database.py +32 -51
  131. pulumi_aiven/mysql_user.py +37 -36
  132. pulumi_aiven/open_search.py +126 -107
  133. pulumi_aiven/open_search_acl_config.py +33 -36
  134. pulumi_aiven/open_search_acl_rule.py +55 -54
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -29
  137. pulumi_aiven/organization.py +18 -17
  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 -36
  146. pulumi_aiven/outputs.py +38355 -21458
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -71
  149. pulumi_aiven/pg_user.py +80 -65
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -35
  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 +161 -297
  156. pulumi_aiven/redis_user.py +58 -57
  157. pulumi_aiven/service_integration.py +511 -165
  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 -58
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1710156545.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.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,347 @@
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__ = ['AlloydbomniDatabaseArgs', 'AlloydbomniDatabase']
18
+
19
+ @pulumi.input_type
20
+ class AlloydbomniDatabaseArgs:
21
+ def __init__(__self__, *,
22
+ database_name: pulumi.Input[str],
23
+ project: pulumi.Input[str],
24
+ service_name: pulumi.Input[str],
25
+ lc_collate: Optional[pulumi.Input[str]] = None,
26
+ lc_ctype: Optional[pulumi.Input[str]] = None):
27
+ """
28
+ The set of arguments for constructing a AlloydbomniDatabase resource.
29
+ :param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
30
+ :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.
31
+ :param pulumi.Input[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.
32
+ :param pulumi.Input[str] lc_collate: 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.
33
+ :param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
34
+ """
35
+ pulumi.set(__self__, "database_name", database_name)
36
+ pulumi.set(__self__, "project", project)
37
+ pulumi.set(__self__, "service_name", service_name)
38
+ if lc_collate is not None:
39
+ pulumi.set(__self__, "lc_collate", lc_collate)
40
+ if lc_ctype is not None:
41
+ pulumi.set(__self__, "lc_ctype", lc_ctype)
42
+
43
+ @property
44
+ @pulumi.getter(name="databaseName")
45
+ def database_name(self) -> pulumi.Input[str]:
46
+ """
47
+ The name of the service database. Changing this property forces recreation of the resource.
48
+ """
49
+ return pulumi.get(self, "database_name")
50
+
51
+ @database_name.setter
52
+ def database_name(self, value: pulumi.Input[str]):
53
+ pulumi.set(self, "database_name", value)
54
+
55
+ @property
56
+ @pulumi.getter
57
+ def project(self) -> pulumi.Input[str]:
58
+ """
59
+ 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.
60
+ """
61
+ return pulumi.get(self, "project")
62
+
63
+ @project.setter
64
+ def project(self, value: pulumi.Input[str]):
65
+ pulumi.set(self, "project", value)
66
+
67
+ @property
68
+ @pulumi.getter(name="serviceName")
69
+ def service_name(self) -> pulumi.Input[str]:
70
+ """
71
+ 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.
72
+ """
73
+ return pulumi.get(self, "service_name")
74
+
75
+ @service_name.setter
76
+ def service_name(self, value: pulumi.Input[str]):
77
+ pulumi.set(self, "service_name", value)
78
+
79
+ @property
80
+ @pulumi.getter(name="lcCollate")
81
+ def lc_collate(self) -> Optional[pulumi.Input[str]]:
82
+ """
83
+ 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.
84
+ """
85
+ return pulumi.get(self, "lc_collate")
86
+
87
+ @lc_collate.setter
88
+ def lc_collate(self, value: Optional[pulumi.Input[str]]):
89
+ pulumi.set(self, "lc_collate", value)
90
+
91
+ @property
92
+ @pulumi.getter(name="lcCtype")
93
+ def lc_ctype(self) -> Optional[pulumi.Input[str]]:
94
+ """
95
+ Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
96
+ """
97
+ return pulumi.get(self, "lc_ctype")
98
+
99
+ @lc_ctype.setter
100
+ def lc_ctype(self, value: Optional[pulumi.Input[str]]):
101
+ pulumi.set(self, "lc_ctype", value)
102
+
103
+
104
+ @pulumi.input_type
105
+ class _AlloydbomniDatabaseState:
106
+ def __init__(__self__, *,
107
+ database_name: Optional[pulumi.Input[str]] = None,
108
+ lc_collate: Optional[pulumi.Input[str]] = None,
109
+ lc_ctype: Optional[pulumi.Input[str]] = None,
110
+ project: Optional[pulumi.Input[str]] = None,
111
+ service_name: Optional[pulumi.Input[str]] = None):
112
+ """
113
+ Input properties used for looking up and filtering AlloydbomniDatabase resources.
114
+ :param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
115
+ :param pulumi.Input[str] lc_collate: 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.
116
+ :param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
117
+ :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.
118
+ :param pulumi.Input[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.
119
+ """
120
+ if database_name is not None:
121
+ pulumi.set(__self__, "database_name", database_name)
122
+ if lc_collate is not None:
123
+ pulumi.set(__self__, "lc_collate", lc_collate)
124
+ if lc_ctype is not None:
125
+ pulumi.set(__self__, "lc_ctype", lc_ctype)
126
+ if project is not None:
127
+ pulumi.set(__self__, "project", project)
128
+ if service_name is not None:
129
+ pulumi.set(__self__, "service_name", service_name)
130
+
131
+ @property
132
+ @pulumi.getter(name="databaseName")
133
+ def database_name(self) -> Optional[pulumi.Input[str]]:
134
+ """
135
+ The name of the service database. Changing this property forces recreation of the resource.
136
+ """
137
+ return pulumi.get(self, "database_name")
138
+
139
+ @database_name.setter
140
+ def database_name(self, value: Optional[pulumi.Input[str]]):
141
+ pulumi.set(self, "database_name", value)
142
+
143
+ @property
144
+ @pulumi.getter(name="lcCollate")
145
+ def lc_collate(self) -> Optional[pulumi.Input[str]]:
146
+ """
147
+ 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.
148
+ """
149
+ return pulumi.get(self, "lc_collate")
150
+
151
+ @lc_collate.setter
152
+ def lc_collate(self, value: Optional[pulumi.Input[str]]):
153
+ pulumi.set(self, "lc_collate", value)
154
+
155
+ @property
156
+ @pulumi.getter(name="lcCtype")
157
+ def lc_ctype(self) -> Optional[pulumi.Input[str]]:
158
+ """
159
+ Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
160
+ """
161
+ return pulumi.get(self, "lc_ctype")
162
+
163
+ @lc_ctype.setter
164
+ def lc_ctype(self, value: Optional[pulumi.Input[str]]):
165
+ pulumi.set(self, "lc_ctype", value)
166
+
167
+ @property
168
+ @pulumi.getter
169
+ def project(self) -> Optional[pulumi.Input[str]]:
170
+ """
171
+ 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.
172
+ """
173
+ return pulumi.get(self, "project")
174
+
175
+ @project.setter
176
+ def project(self, value: Optional[pulumi.Input[str]]):
177
+ pulumi.set(self, "project", value)
178
+
179
+ @property
180
+ @pulumi.getter(name="serviceName")
181
+ def service_name(self) -> Optional[pulumi.Input[str]]:
182
+ """
183
+ 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.
184
+ """
185
+ return pulumi.get(self, "service_name")
186
+
187
+ @service_name.setter
188
+ def service_name(self, value: Optional[pulumi.Input[str]]):
189
+ pulumi.set(self, "service_name", value)
190
+
191
+
192
+ class AlloydbomniDatabase(pulumi.CustomResource):
193
+ @overload
194
+ def __init__(__self__,
195
+ resource_name: str,
196
+ opts: Optional[pulumi.ResourceOptions] = None,
197
+ database_name: Optional[pulumi.Input[str]] = None,
198
+ lc_collate: Optional[pulumi.Input[str]] = None,
199
+ lc_ctype: Optional[pulumi.Input[str]] = None,
200
+ project: Optional[pulumi.Input[str]] = None,
201
+ service_name: Optional[pulumi.Input[str]] = None,
202
+ __props__=None):
203
+ """
204
+ Creates and manages a database in an Aiven for AlloyDB Omni service.
205
+
206
+ **This resource is in the beta stage and may change without notice.** Set
207
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
208
+
209
+ :param str resource_name: The name of the resource.
210
+ :param pulumi.ResourceOptions opts: Options for the resource.
211
+ :param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
212
+ :param pulumi.Input[str] lc_collate: 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.
213
+ :param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
214
+ :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.
215
+ :param pulumi.Input[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.
216
+ """
217
+ ...
218
+ @overload
219
+ def __init__(__self__,
220
+ resource_name: str,
221
+ args: AlloydbomniDatabaseArgs,
222
+ opts: Optional[pulumi.ResourceOptions] = None):
223
+ """
224
+ Creates and manages a database in an Aiven for AlloyDB Omni service.
225
+
226
+ **This resource is in the beta stage and may change without notice.** Set
227
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
228
+
229
+ :param str resource_name: The name of the resource.
230
+ :param AlloydbomniDatabaseArgs args: The arguments to use to populate this resource's properties.
231
+ :param pulumi.ResourceOptions opts: Options for the resource.
232
+ """
233
+ ...
234
+ def __init__(__self__, resource_name: str, *args, **kwargs):
235
+ resource_args, opts = _utilities.get_resource_args_opts(AlloydbomniDatabaseArgs, pulumi.ResourceOptions, *args, **kwargs)
236
+ if resource_args is not None:
237
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
238
+ else:
239
+ __self__._internal_init(resource_name, *args, **kwargs)
240
+
241
+ def _internal_init(__self__,
242
+ resource_name: str,
243
+ opts: Optional[pulumi.ResourceOptions] = None,
244
+ database_name: Optional[pulumi.Input[str]] = None,
245
+ lc_collate: Optional[pulumi.Input[str]] = None,
246
+ lc_ctype: Optional[pulumi.Input[str]] = None,
247
+ project: Optional[pulumi.Input[str]] = None,
248
+ service_name: Optional[pulumi.Input[str]] = None,
249
+ __props__=None):
250
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
251
+ if not isinstance(opts, pulumi.ResourceOptions):
252
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
253
+ if opts.id is None:
254
+ if __props__ is not None:
255
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
256
+ __props__ = AlloydbomniDatabaseArgs.__new__(AlloydbomniDatabaseArgs)
257
+
258
+ if database_name is None and not opts.urn:
259
+ raise TypeError("Missing required property 'database_name'")
260
+ __props__.__dict__["database_name"] = database_name
261
+ __props__.__dict__["lc_collate"] = lc_collate
262
+ __props__.__dict__["lc_ctype"] = lc_ctype
263
+ if project is None and not opts.urn:
264
+ raise TypeError("Missing required property 'project'")
265
+ __props__.__dict__["project"] = project
266
+ if service_name is None and not opts.urn:
267
+ raise TypeError("Missing required property 'service_name'")
268
+ __props__.__dict__["service_name"] = service_name
269
+ super(AlloydbomniDatabase, __self__).__init__(
270
+ 'aiven:index/alloydbomniDatabase:AlloydbomniDatabase',
271
+ resource_name,
272
+ __props__,
273
+ opts)
274
+
275
+ @staticmethod
276
+ def get(resource_name: str,
277
+ id: pulumi.Input[str],
278
+ opts: Optional[pulumi.ResourceOptions] = None,
279
+ database_name: Optional[pulumi.Input[str]] = None,
280
+ lc_collate: Optional[pulumi.Input[str]] = None,
281
+ lc_ctype: Optional[pulumi.Input[str]] = None,
282
+ project: Optional[pulumi.Input[str]] = None,
283
+ service_name: Optional[pulumi.Input[str]] = None) -> 'AlloydbomniDatabase':
284
+ """
285
+ Get an existing AlloydbomniDatabase resource's state with the given name, id, and optional extra
286
+ properties used to qualify the lookup.
287
+
288
+ :param str resource_name: The unique name of the resulting resource.
289
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
290
+ :param pulumi.ResourceOptions opts: Options for the resource.
291
+ :param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
292
+ :param pulumi.Input[str] lc_collate: 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.
293
+ :param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
294
+ :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.
295
+ :param pulumi.Input[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.
296
+ """
297
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
298
+
299
+ __props__ = _AlloydbomniDatabaseState.__new__(_AlloydbomniDatabaseState)
300
+
301
+ __props__.__dict__["database_name"] = database_name
302
+ __props__.__dict__["lc_collate"] = lc_collate
303
+ __props__.__dict__["lc_ctype"] = lc_ctype
304
+ __props__.__dict__["project"] = project
305
+ __props__.__dict__["service_name"] = service_name
306
+ return AlloydbomniDatabase(resource_name, opts=opts, __props__=__props__)
307
+
308
+ @property
309
+ @pulumi.getter(name="databaseName")
310
+ def database_name(self) -> pulumi.Output[str]:
311
+ """
312
+ The name of the service database. Changing this property forces recreation of the resource.
313
+ """
314
+ return pulumi.get(self, "database_name")
315
+
316
+ @property
317
+ @pulumi.getter(name="lcCollate")
318
+ def lc_collate(self) -> pulumi.Output[Optional[str]]:
319
+ """
320
+ 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.
321
+ """
322
+ return pulumi.get(self, "lc_collate")
323
+
324
+ @property
325
+ @pulumi.getter(name="lcCtype")
326
+ def lc_ctype(self) -> pulumi.Output[Optional[str]]:
327
+ """
328
+ Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
329
+ """
330
+ return pulumi.get(self, "lc_ctype")
331
+
332
+ @property
333
+ @pulumi.getter
334
+ def project(self) -> pulumi.Output[str]:
335
+ """
336
+ 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.
337
+ """
338
+ return pulumi.get(self, "project")
339
+
340
+ @property
341
+ @pulumi.getter(name="serviceName")
342
+ def service_name(self) -> pulumi.Output[str]:
343
+ """
344
+ 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.
345
+ """
346
+ return pulumi.get(self, "service_name")
347
+