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
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['MysqlDatabaseArgs', 'MysqlDatabase']
@@ -20,11 +25,9 @@ class MysqlDatabaseArgs:
20
25
  termination_protection: Optional[pulumi.Input[bool]] = None):
21
26
  """
22
27
  The set of arguments for constructing a MysqlDatabase resource.
23
- :param pulumi.Input[str] database_name: The name of the service database. This property cannot be changed, doing so forces recreation of the resource.
24
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
25
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
26
- :param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
27
- recommended to enable this for any production databases containing critical data. The default value is `false`.
28
+ :param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
29
+ :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.
30
+ :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.
28
31
  """
29
32
  pulumi.set(__self__, "database_name", database_name)
30
33
  pulumi.set(__self__, "project", project)
@@ -36,7 +39,7 @@ class MysqlDatabaseArgs:
36
39
  @pulumi.getter(name="databaseName")
37
40
  def database_name(self) -> pulumi.Input[str]:
38
41
  """
39
- The name of the service database. This property cannot be changed, doing so forces recreation of the resource.
42
+ The name of the service database. Changing this property forces recreation of the resource.
40
43
  """
41
44
  return pulumi.get(self, "database_name")
42
45
 
@@ -48,7 +51,7 @@ class MysqlDatabaseArgs:
48
51
  @pulumi.getter
49
52
  def project(self) -> pulumi.Input[str]:
50
53
  """
51
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
54
+ 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.
52
55
  """
53
56
  return pulumi.get(self, "project")
54
57
 
@@ -60,7 +63,7 @@ class MysqlDatabaseArgs:
60
63
  @pulumi.getter(name="serviceName")
61
64
  def service_name(self) -> pulumi.Input[str]:
62
65
  """
63
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
66
+ 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.
64
67
  """
65
68
  return pulumi.get(self, "service_name")
66
69
 
@@ -71,10 +74,6 @@ class MysqlDatabaseArgs:
71
74
  @property
72
75
  @pulumi.getter(name="terminationProtection")
73
76
  def termination_protection(self) -> Optional[pulumi.Input[bool]]:
74
- """
75
- It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
76
- recommended to enable this for any production databases containing critical data. The default value is `false`.
77
- """
78
77
  return pulumi.get(self, "termination_protection")
79
78
 
80
79
  @termination_protection.setter
@@ -91,11 +90,9 @@ class _MysqlDatabaseState:
91
90
  termination_protection: Optional[pulumi.Input[bool]] = None):
92
91
  """
93
92
  Input properties used for looking up and filtering MysqlDatabase resources.
94
- :param pulumi.Input[str] database_name: The name of the service database. This property cannot be changed, doing so forces recreation of the resource.
95
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
96
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
97
- :param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
98
- recommended to enable this for any production databases containing critical data. The default value is `false`.
93
+ :param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
94
+ :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.
95
+ :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.
99
96
  """
100
97
  if database_name is not None:
101
98
  pulumi.set(__self__, "database_name", database_name)
@@ -110,7 +107,7 @@ class _MysqlDatabaseState:
110
107
  @pulumi.getter(name="databaseName")
111
108
  def database_name(self) -> Optional[pulumi.Input[str]]:
112
109
  """
113
- The name of the service database. This property cannot be changed, doing so forces recreation of the resource.
110
+ The name of the service database. Changing this property forces recreation of the resource.
114
111
  """
115
112
  return pulumi.get(self, "database_name")
116
113
 
@@ -122,7 +119,7 @@ class _MysqlDatabaseState:
122
119
  @pulumi.getter
123
120
  def project(self) -> Optional[pulumi.Input[str]]:
124
121
  """
125
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
122
+ 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.
126
123
  """
127
124
  return pulumi.get(self, "project")
128
125
 
@@ -134,7 +131,7 @@ class _MysqlDatabaseState:
134
131
  @pulumi.getter(name="serviceName")
135
132
  def service_name(self) -> Optional[pulumi.Input[str]]:
136
133
  """
137
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
134
+ 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.
138
135
  """
139
136
  return pulumi.get(self, "service_name")
140
137
 
@@ -145,10 +142,6 @@ class _MysqlDatabaseState:
145
142
  @property
146
143
  @pulumi.getter(name="terminationProtection")
147
144
  def termination_protection(self) -> Optional[pulumi.Input[bool]]:
148
- """
149
- It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
150
- recommended to enable this for any production databases containing critical data. The default value is `false`.
151
- """
152
145
  return pulumi.get(self, "termination_protection")
153
146
 
154
147
  @termination_protection.setter
@@ -176,24 +169,22 @@ class MysqlDatabase(pulumi.CustomResource):
176
169
  import pulumi_aiven as aiven
177
170
 
178
171
  mydatabase = aiven.MysqlDatabase("mydatabase",
179
- project=aiven_project["myproject"]["project"],
180
- service_name=aiven_mysql["mymysql"]["service_name"],
172
+ project=myproject["project"],
173
+ service_name=mymysql["serviceName"],
181
174
  database_name="<DATABASE_NAME>")
182
175
  ```
183
176
 
184
177
  ## Import
185
178
 
186
179
  ```sh
187
- $ pulumi import aiven:index/mysqlDatabase:MysqlDatabase mydatabase project/service_name/database_name
180
+ $ pulumi import aiven:index/mysqlDatabase:MysqlDatabase mydatabase PROJECT/SERVICE_NAME/DATABASE_NAME
188
181
  ```
189
182
 
190
183
  :param str resource_name: The name of the resource.
191
184
  :param pulumi.ResourceOptions opts: Options for the resource.
192
- :param pulumi.Input[str] database_name: The name of the service database. This property cannot be changed, doing so forces recreation of the resource.
193
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
194
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
195
- :param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
196
- recommended to enable this for any production databases containing critical data. The default value is `false`.
185
+ :param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
186
+ :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.
187
+ :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.
197
188
  """
198
189
  ...
199
190
  @overload
@@ -211,15 +202,15 @@ class MysqlDatabase(pulumi.CustomResource):
211
202
  import pulumi_aiven as aiven
212
203
 
213
204
  mydatabase = aiven.MysqlDatabase("mydatabase",
214
- project=aiven_project["myproject"]["project"],
215
- service_name=aiven_mysql["mymysql"]["service_name"],
205
+ project=myproject["project"],
206
+ service_name=mymysql["serviceName"],
216
207
  database_name="<DATABASE_NAME>")
217
208
  ```
218
209
 
219
210
  ## Import
220
211
 
221
212
  ```sh
222
- $ pulumi import aiven:index/mysqlDatabase:MysqlDatabase mydatabase project/service_name/database_name
213
+ $ pulumi import aiven:index/mysqlDatabase:MysqlDatabase mydatabase PROJECT/SERVICE_NAME/DATABASE_NAME
223
214
  ```
224
215
 
225
216
  :param str resource_name: The name of the resource.
@@ -281,11 +272,9 @@ class MysqlDatabase(pulumi.CustomResource):
281
272
  :param str resource_name: The unique name of the resulting resource.
282
273
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
283
274
  :param pulumi.ResourceOptions opts: Options for the resource.
284
- :param pulumi.Input[str] database_name: The name of the service database. This property cannot be changed, doing so forces recreation of the resource.
285
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
286
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
287
- :param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
288
- recommended to enable this for any production databases containing critical data. The default value is `false`.
275
+ :param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
276
+ :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.
277
+ :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.
289
278
  """
290
279
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
291
280
 
@@ -301,7 +290,7 @@ class MysqlDatabase(pulumi.CustomResource):
301
290
  @pulumi.getter(name="databaseName")
302
291
  def database_name(self) -> pulumi.Output[str]:
303
292
  """
304
- The name of the service database. This property cannot be changed, doing so forces recreation of the resource.
293
+ The name of the service database. Changing this property forces recreation of the resource.
305
294
  """
306
295
  return pulumi.get(self, "database_name")
307
296
 
@@ -309,7 +298,7 @@ class MysqlDatabase(pulumi.CustomResource):
309
298
  @pulumi.getter
310
299
  def project(self) -> pulumi.Output[str]:
311
300
  """
312
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
301
+ 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.
313
302
  """
314
303
  return pulumi.get(self, "project")
315
304
 
@@ -317,16 +306,12 @@ class MysqlDatabase(pulumi.CustomResource):
317
306
  @pulumi.getter(name="serviceName")
318
307
  def service_name(self) -> pulumi.Output[str]:
319
308
  """
320
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
309
+ 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.
321
310
  """
322
311
  return pulumi.get(self, "service_name")
323
312
 
324
313
  @property
325
314
  @pulumi.getter(name="terminationProtection")
326
315
  def termination_protection(self) -> pulumi.Output[Optional[bool]]:
327
- """
328
- It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
329
- recommended to enable this for any production databases containing critical data. The default value is `false`.
330
- """
331
316
  return pulumi.get(self, "termination_protection")
332
317
 
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['MysqlUserArgs', 'MysqlUser']
@@ -21,10 +26,10 @@ class MysqlUserArgs:
21
26
  password: Optional[pulumi.Input[str]] = None):
22
27
  """
23
28
  The set of arguments for constructing a MysqlUser resource.
24
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
25
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
26
- :param pulumi.Input[str] username: The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
27
- :param pulumi.Input[str] authentication: Authentication details. The possible values are `caching_sha2_password` and `mysql_native_password`.
29
+ :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.
30
+ :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.
31
+ :param pulumi.Input[str] username: The actual name of the MySQL User. 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] authentication: Authentication details. The possible values are `null`, `caching_sha2_password` and `mysql_native_password`.
28
33
  :param pulumi.Input[str] password: The password of the MySQL User ( not applicable for all services ).
29
34
  """
30
35
  pulumi.set(__self__, "project", project)
@@ -39,7 +44,7 @@ class MysqlUserArgs:
39
44
  @pulumi.getter
40
45
  def project(self) -> pulumi.Input[str]:
41
46
  """
42
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
47
+ 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.
43
48
  """
44
49
  return pulumi.get(self, "project")
45
50
 
@@ -51,7 +56,7 @@ class MysqlUserArgs:
51
56
  @pulumi.getter(name="serviceName")
52
57
  def service_name(self) -> pulumi.Input[str]:
53
58
  """
54
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
59
+ 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.
55
60
  """
56
61
  return pulumi.get(self, "service_name")
57
62
 
@@ -63,7 +68,7 @@ class MysqlUserArgs:
63
68
  @pulumi.getter
64
69
  def username(self) -> pulumi.Input[str]:
65
70
  """
66
- The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
71
+ The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
67
72
  """
68
73
  return pulumi.get(self, "username")
69
74
 
@@ -75,7 +80,7 @@ class MysqlUserArgs:
75
80
  @pulumi.getter
76
81
  def authentication(self) -> Optional[pulumi.Input[str]]:
77
82
  """
78
- Authentication details. The possible values are `caching_sha2_password` and `mysql_native_password`.
83
+ Authentication details. The possible values are `null`, `caching_sha2_password` and `mysql_native_password`.
79
84
  """
80
85
  return pulumi.get(self, "authentication")
81
86
 
@@ -111,12 +116,12 @@ class _MysqlUserState:
111
116
  Input properties used for looking up and filtering MysqlUser resources.
112
117
  :param pulumi.Input[str] access_cert: Access certificate for the user
113
118
  :param pulumi.Input[str] access_key: Access certificate key for the user
114
- :param pulumi.Input[str] authentication: Authentication details. The possible values are `caching_sha2_password` and `mysql_native_password`.
119
+ :param pulumi.Input[str] authentication: Authentication details. The possible values are `null`, `caching_sha2_password` and `mysql_native_password`.
115
120
  :param pulumi.Input[str] password: The password of the MySQL User ( not applicable for all services ).
116
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
117
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
121
+ :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.
122
+ :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.
118
123
  :param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
119
- :param pulumi.Input[str] username: The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
124
+ :param pulumi.Input[str] username: The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
120
125
  """
121
126
  if access_cert is not None:
122
127
  pulumi.set(__self__, "access_cert", access_cert)
@@ -163,7 +168,7 @@ class _MysqlUserState:
163
168
  @pulumi.getter
164
169
  def authentication(self) -> Optional[pulumi.Input[str]]:
165
170
  """
166
- Authentication details. The possible values are `caching_sha2_password` and `mysql_native_password`.
171
+ Authentication details. The possible values are `null`, `caching_sha2_password` and `mysql_native_password`.
167
172
  """
168
173
  return pulumi.get(self, "authentication")
169
174
 
@@ -187,7 +192,7 @@ class _MysqlUserState:
187
192
  @pulumi.getter
188
193
  def project(self) -> Optional[pulumi.Input[str]]:
189
194
  """
190
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
195
+ 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.
191
196
  """
192
197
  return pulumi.get(self, "project")
193
198
 
@@ -199,7 +204,7 @@ class _MysqlUserState:
199
204
  @pulumi.getter(name="serviceName")
200
205
  def service_name(self) -> Optional[pulumi.Input[str]]:
201
206
  """
202
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
207
+ 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.
203
208
  """
204
209
  return pulumi.get(self, "service_name")
205
210
 
@@ -223,7 +228,7 @@ class _MysqlUserState:
223
228
  @pulumi.getter
224
229
  def username(self) -> Optional[pulumi.Input[str]]:
225
230
  """
226
- The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
231
+ The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
227
232
  """
228
233
  return pulumi.get(self, "username")
229
234
 
@@ -253,7 +258,7 @@ class MysqlUser(pulumi.CustomResource):
253
258
  import pulumi_aiven as aiven
254
259
 
255
260
  foo = aiven.MysqlUser("foo",
256
- service_name=aiven_mysql["bar"]["service_name"],
261
+ service_name=bar["serviceName"],
257
262
  project="my-project",
258
263
  username="user-1",
259
264
  password="Test$1234")
@@ -262,16 +267,16 @@ class MysqlUser(pulumi.CustomResource):
262
267
  ## Import
263
268
 
264
269
  ```sh
265
- $ pulumi import aiven:index/mysqlUser:MysqlUser foo project/service_name/username
270
+ $ pulumi import aiven:index/mysqlUser:MysqlUser foo PROJECT/SERVICE_NAME/USERNAME
266
271
  ```
267
272
 
268
273
  :param str resource_name: The name of the resource.
269
274
  :param pulumi.ResourceOptions opts: Options for the resource.
270
- :param pulumi.Input[str] authentication: Authentication details. The possible values are `caching_sha2_password` and `mysql_native_password`.
275
+ :param pulumi.Input[str] authentication: Authentication details. The possible values are `null`, `caching_sha2_password` and `mysql_native_password`.
271
276
  :param pulumi.Input[str] password: The password of the MySQL User ( not applicable for all services ).
272
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
273
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
274
- :param pulumi.Input[str] username: The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
277
+ :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.
278
+ :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.
279
+ :param pulumi.Input[str] username: The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
275
280
  """
276
281
  ...
277
282
  @overload
@@ -289,7 +294,7 @@ class MysqlUser(pulumi.CustomResource):
289
294
  import pulumi_aiven as aiven
290
295
 
291
296
  foo = aiven.MysqlUser("foo",
292
- service_name=aiven_mysql["bar"]["service_name"],
297
+ service_name=bar["serviceName"],
293
298
  project="my-project",
294
299
  username="user-1",
295
300
  password="Test$1234")
@@ -298,7 +303,7 @@ class MysqlUser(pulumi.CustomResource):
298
303
  ## Import
299
304
 
300
305
  ```sh
301
- $ pulumi import aiven:index/mysqlUser:MysqlUser foo project/service_name/username
306
+ $ pulumi import aiven:index/mysqlUser:MysqlUser foo PROJECT/SERVICE_NAME/USERNAME
302
307
  ```
303
308
 
304
309
  :param str resource_name: The name of the resource.
@@ -373,12 +378,12 @@ class MysqlUser(pulumi.CustomResource):
373
378
  :param pulumi.ResourceOptions opts: Options for the resource.
374
379
  :param pulumi.Input[str] access_cert: Access certificate for the user
375
380
  :param pulumi.Input[str] access_key: Access certificate key for the user
376
- :param pulumi.Input[str] authentication: Authentication details. The possible values are `caching_sha2_password` and `mysql_native_password`.
381
+ :param pulumi.Input[str] authentication: Authentication details. The possible values are `null`, `caching_sha2_password` and `mysql_native_password`.
377
382
  :param pulumi.Input[str] password: The password of the MySQL User ( not applicable for all services ).
378
- :param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
379
- :param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
383
+ :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.
384
+ :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.
380
385
  :param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
381
- :param pulumi.Input[str] username: The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
386
+ :param pulumi.Input[str] username: The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
382
387
  """
383
388
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
384
389
 
@@ -414,7 +419,7 @@ class MysqlUser(pulumi.CustomResource):
414
419
  @pulumi.getter
415
420
  def authentication(self) -> pulumi.Output[Optional[str]]:
416
421
  """
417
- Authentication details. The possible values are `caching_sha2_password` and `mysql_native_password`.
422
+ Authentication details. The possible values are `null`, `caching_sha2_password` and `mysql_native_password`.
418
423
  """
419
424
  return pulumi.get(self, "authentication")
420
425
 
@@ -430,7 +435,7 @@ class MysqlUser(pulumi.CustomResource):
430
435
  @pulumi.getter
431
436
  def project(self) -> pulumi.Output[str]:
432
437
  """
433
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
438
+ 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.
434
439
  """
435
440
  return pulumi.get(self, "project")
436
441
 
@@ -438,7 +443,7 @@ class MysqlUser(pulumi.CustomResource):
438
443
  @pulumi.getter(name="serviceName")
439
444
  def service_name(self) -> pulumi.Output[str]:
440
445
  """
441
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
446
+ 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.
442
447
  """
443
448
  return pulumi.get(self, "service_name")
444
449
 
@@ -454,7 +459,7 @@ class MysqlUser(pulumi.CustomResource):
454
459
  @pulumi.getter
455
460
  def username(self) -> pulumi.Output[str]:
456
461
  """
457
- The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
462
+ The actual name of the MySQL User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
458
463
  """
459
464
  return pulumi.get(self, "username")
460
465