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__ = ['KafkaSchemaArgs', 'KafkaSchema']
@@ -22,12 +27,12 @@ class KafkaSchemaArgs:
22
27
  schema_type: Optional[pulumi.Input[str]] = None):
23
28
  """
24
29
  The set of arguments for constructing a KafkaSchema resource.
25
- :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.
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.
26
31
  :param pulumi.Input[str] schema: Kafka Schema configuration. Should be a valid Avro, JSON, or Protobuf schema, depending on the schema type.
27
- :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.
28
- :param pulumi.Input[str] subject_name: The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
32
+ :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.
33
+ :param pulumi.Input[str] subject_name: The Kafka Schema Subject name. Changing this property forces recreation of the resource.
29
34
  :param pulumi.Input[str] compatibility_level: Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
30
- :param pulumi.Input[str] schema_type: Kafka Schema configuration type. Defaults to AVRO. Possible values are AVRO, JSON, and PROTOBUF.
35
+ :param pulumi.Input[str] schema_type: Kafka Schema configuration type. Defaults to AVRO. The possible values are `AVRO`, `JSON` and `PROTOBUF`.
31
36
  """
32
37
  pulumi.set(__self__, "project", project)
33
38
  pulumi.set(__self__, "schema", schema)
@@ -42,7 +47,7 @@ class KafkaSchemaArgs:
42
47
  @pulumi.getter
43
48
  def project(self) -> pulumi.Input[str]:
44
49
  """
45
- 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.
50
+ 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.
46
51
  """
47
52
  return pulumi.get(self, "project")
48
53
 
@@ -66,7 +71,7 @@ class KafkaSchemaArgs:
66
71
  @pulumi.getter(name="serviceName")
67
72
  def service_name(self) -> pulumi.Input[str]:
68
73
  """
69
- 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.
74
+ 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.
70
75
  """
71
76
  return pulumi.get(self, "service_name")
72
77
 
@@ -78,7 +83,7 @@ class KafkaSchemaArgs:
78
83
  @pulumi.getter(name="subjectName")
79
84
  def subject_name(self) -> pulumi.Input[str]:
80
85
  """
81
- The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
86
+ The Kafka Schema Subject name. Changing this property forces recreation of the resource.
82
87
  """
83
88
  return pulumi.get(self, "subject_name")
84
89
 
@@ -102,7 +107,7 @@ class KafkaSchemaArgs:
102
107
  @pulumi.getter(name="schemaType")
103
108
  def schema_type(self) -> Optional[pulumi.Input[str]]:
104
109
  """
105
- Kafka Schema configuration type. Defaults to AVRO. Possible values are AVRO, JSON, and PROTOBUF.
110
+ Kafka Schema configuration type. Defaults to AVRO. The possible values are `AVRO`, `JSON` and `PROTOBUF`.
106
111
  """
107
112
  return pulumi.get(self, "schema_type")
108
113
 
@@ -124,11 +129,11 @@ class _KafkaSchemaState:
124
129
  """
125
130
  Input properties used for looking up and filtering KafkaSchema resources.
126
131
  :param pulumi.Input[str] compatibility_level: Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
127
- :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.
132
+ :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.
128
133
  :param pulumi.Input[str] schema: Kafka Schema configuration. Should be a valid Avro, JSON, or Protobuf schema, depending on the schema type.
129
- :param pulumi.Input[str] schema_type: Kafka Schema configuration type. Defaults to AVRO. Possible values are AVRO, JSON, and PROTOBUF.
130
- :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.
131
- :param pulumi.Input[str] subject_name: The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
134
+ :param pulumi.Input[str] schema_type: Kafka Schema configuration type. Defaults to AVRO. The possible values are `AVRO`, `JSON` and `PROTOBUF`.
135
+ :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.
136
+ :param pulumi.Input[str] subject_name: The Kafka Schema Subject name. Changing this property forces recreation of the resource.
132
137
  :param pulumi.Input[int] version: Kafka Schema configuration version.
133
138
  """
134
139
  if compatibility_level is not None:
@@ -162,7 +167,7 @@ class _KafkaSchemaState:
162
167
  @pulumi.getter
163
168
  def project(self) -> Optional[pulumi.Input[str]]:
164
169
  """
165
- 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.
170
+ 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.
166
171
  """
167
172
  return pulumi.get(self, "project")
168
173
 
@@ -186,7 +191,7 @@ class _KafkaSchemaState:
186
191
  @pulumi.getter(name="schemaType")
187
192
  def schema_type(self) -> Optional[pulumi.Input[str]]:
188
193
  """
189
- Kafka Schema configuration type. Defaults to AVRO. Possible values are AVRO, JSON, and PROTOBUF.
194
+ Kafka Schema configuration type. Defaults to AVRO. The possible values are `AVRO`, `JSON` and `PROTOBUF`.
190
195
  """
191
196
  return pulumi.get(self, "schema_type")
192
197
 
@@ -198,7 +203,7 @@ class _KafkaSchemaState:
198
203
  @pulumi.getter(name="serviceName")
199
204
  def service_name(self) -> Optional[pulumi.Input[str]]:
200
205
  """
201
- 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.
206
+ 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.
202
207
  """
203
208
  return pulumi.get(self, "service_name")
204
209
 
@@ -210,7 +215,7 @@ class _KafkaSchemaState:
210
215
  @pulumi.getter(name="subjectName")
211
216
  def subject_name(self) -> Optional[pulumi.Input[str]]:
212
217
  """
213
- The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
218
+ The Kafka Schema Subject name. Changing this property forces recreation of the resource.
214
219
  """
215
220
  return pulumi.get(self, "subject_name")
216
221
 
@@ -253,22 +258,24 @@ class KafkaSchema(pulumi.CustomResource):
253
258
  import pulumi_aiven as aiven
254
259
 
255
260
  kafka_schema1 = aiven.KafkaSchema("kafka-schema1",
256
- project=aiven_project["kafka-schemas-project1"]["project"],
257
- service_name=aiven_kafka["kafka-service1"]["service_name"],
261
+ project=kafka_schemas_project1["project"],
262
+ service_name=kafka_service1["serviceName"],
258
263
  subject_name="kafka-schema1",
259
264
  compatibility_level="FORWARD",
260
265
  schema=\"\"\" {
261
- "doc": "example",
262
- "fields": [{
263
- "default": 5,
264
- "doc": "my test number",
265
- "name": "test",
266
- "namespace": "test",
267
- "type": "int"
268
- }],
269
- "name": "example",
270
- "namespace": "example",
271
- "type": "record"
266
+ "doc": "example",
267
+ "fields": [
268
+ {
269
+ "default": 5,
270
+ "doc": "my test number",
271
+ "name": "test",
272
+ "namespace": "test",
273
+ "type": "int"
274
+ }
275
+ ],
276
+ "name": "example",
277
+ "namespace": "example",
278
+ "type": "record"
272
279
  }
273
280
  \"\"\")
274
281
  ```
@@ -276,17 +283,17 @@ class KafkaSchema(pulumi.CustomResource):
276
283
  ## Import
277
284
 
278
285
  ```sh
279
- $ pulumi import aiven:index/kafkaSchema:KafkaSchema kafka-schema1 project/service_name/subject_name
286
+ $ pulumi import aiven:index/kafkaSchema:KafkaSchema kafka-schema1 project/service_name/subject_name
280
287
  ```
281
288
 
282
289
  :param str resource_name: The name of the resource.
283
290
  :param pulumi.ResourceOptions opts: Options for the resource.
284
291
  :param pulumi.Input[str] compatibility_level: Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
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.
292
+ :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.
286
293
  :param pulumi.Input[str] schema: Kafka Schema configuration. Should be a valid Avro, JSON, or Protobuf schema, depending on the schema type.
287
- :param pulumi.Input[str] schema_type: Kafka Schema configuration type. Defaults to AVRO. Possible values are AVRO, JSON, and PROTOBUF.
288
- :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.
289
- :param pulumi.Input[str] subject_name: The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
294
+ :param pulumi.Input[str] schema_type: Kafka Schema configuration type. Defaults to AVRO. The possible values are `AVRO`, `JSON` and `PROTOBUF`.
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
+ :param pulumi.Input[str] subject_name: The Kafka Schema Subject name. Changing this property forces recreation of the resource.
290
297
  """
291
298
  ...
292
299
  @overload
@@ -304,22 +311,24 @@ class KafkaSchema(pulumi.CustomResource):
304
311
  import pulumi_aiven as aiven
305
312
 
306
313
  kafka_schema1 = aiven.KafkaSchema("kafka-schema1",
307
- project=aiven_project["kafka-schemas-project1"]["project"],
308
- service_name=aiven_kafka["kafka-service1"]["service_name"],
314
+ project=kafka_schemas_project1["project"],
315
+ service_name=kafka_service1["serviceName"],
309
316
  subject_name="kafka-schema1",
310
317
  compatibility_level="FORWARD",
311
318
  schema=\"\"\" {
312
- "doc": "example",
313
- "fields": [{
314
- "default": 5,
315
- "doc": "my test number",
316
- "name": "test",
317
- "namespace": "test",
318
- "type": "int"
319
- }],
320
- "name": "example",
321
- "namespace": "example",
322
- "type": "record"
319
+ "doc": "example",
320
+ "fields": [
321
+ {
322
+ "default": 5,
323
+ "doc": "my test number",
324
+ "name": "test",
325
+ "namespace": "test",
326
+ "type": "int"
327
+ }
328
+ ],
329
+ "name": "example",
330
+ "namespace": "example",
331
+ "type": "record"
323
332
  }
324
333
  \"\"\")
325
334
  ```
@@ -327,7 +336,7 @@ class KafkaSchema(pulumi.CustomResource):
327
336
  ## Import
328
337
 
329
338
  ```sh
330
- $ pulumi import aiven:index/kafkaSchema:KafkaSchema kafka-schema1 project/service_name/subject_name
339
+ $ pulumi import aiven:index/kafkaSchema:KafkaSchema kafka-schema1 project/service_name/subject_name
331
340
  ```
332
341
 
333
342
  :param str resource_name: The name of the resource.
@@ -400,11 +409,11 @@ class KafkaSchema(pulumi.CustomResource):
400
409
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
401
410
  :param pulumi.ResourceOptions opts: Options for the resource.
402
411
  :param pulumi.Input[str] compatibility_level: Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
403
- :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.
412
+ :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.
404
413
  :param pulumi.Input[str] schema: Kafka Schema configuration. Should be a valid Avro, JSON, or Protobuf schema, depending on the schema type.
405
- :param pulumi.Input[str] schema_type: Kafka Schema configuration type. Defaults to AVRO. Possible values are AVRO, JSON, and PROTOBUF.
406
- :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.
407
- :param pulumi.Input[str] subject_name: The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
414
+ :param pulumi.Input[str] schema_type: Kafka Schema configuration type. Defaults to AVRO. The possible values are `AVRO`, `JSON` and `PROTOBUF`.
415
+ :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.
416
+ :param pulumi.Input[str] subject_name: The Kafka Schema Subject name. Changing this property forces recreation of the resource.
408
417
  :param pulumi.Input[int] version: Kafka Schema configuration version.
409
418
  """
410
419
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -432,7 +441,7 @@ class KafkaSchema(pulumi.CustomResource):
432
441
  @pulumi.getter
433
442
  def project(self) -> pulumi.Output[str]:
434
443
  """
435
- 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.
444
+ 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.
436
445
  """
437
446
  return pulumi.get(self, "project")
438
447
 
@@ -448,7 +457,7 @@ class KafkaSchema(pulumi.CustomResource):
448
457
  @pulumi.getter(name="schemaType")
449
458
  def schema_type(self) -> pulumi.Output[Optional[str]]:
450
459
  """
451
- Kafka Schema configuration type. Defaults to AVRO. Possible values are AVRO, JSON, and PROTOBUF.
460
+ Kafka Schema configuration type. Defaults to AVRO. The possible values are `AVRO`, `JSON` and `PROTOBUF`.
452
461
  """
453
462
  return pulumi.get(self, "schema_type")
454
463
 
@@ -456,7 +465,7 @@ class KafkaSchema(pulumi.CustomResource):
456
465
  @pulumi.getter(name="serviceName")
457
466
  def service_name(self) -> pulumi.Output[str]:
458
467
  """
459
- 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.
468
+ 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.
460
469
  """
461
470
  return pulumi.get(self, "service_name")
462
471
 
@@ -464,7 +473,7 @@ class KafkaSchema(pulumi.CustomResource):
464
473
  @pulumi.getter(name="subjectName")
465
474
  def subject_name(self) -> pulumi.Output[str]:
466
475
  """
467
- The Kafka Schema Subject name. This property cannot be changed, doing so forces recreation of the resource.
476
+ The Kafka Schema Subject name. Changing this property forces recreation of the resource.
468
477
  """
469
478
  return pulumi.get(self, "subject_name")
470
479
 
@@ -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__ = ['KafkaSchemaConfigurationArgs', 'KafkaSchemaConfiguration']
@@ -19,8 +24,8 @@ class KafkaSchemaConfigurationArgs:
19
24
  compatibility_level: Optional[pulumi.Input[str]] = None):
20
25
  """
21
26
  The set of arguments for constructing a KafkaSchemaConfiguration resource.
22
- :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.
23
- :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.
27
+ :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.
28
+ :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.
24
29
  :param pulumi.Input[str] compatibility_level: Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
25
30
  """
26
31
  pulumi.set(__self__, "project", project)
@@ -32,7 +37,7 @@ class KafkaSchemaConfigurationArgs:
32
37
  @pulumi.getter
33
38
  def project(self) -> pulumi.Input[str]:
34
39
  """
35
- 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.
40
+ 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.
36
41
  """
37
42
  return pulumi.get(self, "project")
38
43
 
@@ -44,7 +49,7 @@ class KafkaSchemaConfigurationArgs:
44
49
  @pulumi.getter(name="serviceName")
45
50
  def service_name(self) -> pulumi.Input[str]:
46
51
  """
47
- 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.
52
+ 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.
48
53
  """
49
54
  return pulumi.get(self, "service_name")
50
55
 
@@ -74,8 +79,8 @@ class _KafkaSchemaConfigurationState:
74
79
  """
75
80
  Input properties used for looking up and filtering KafkaSchemaConfiguration resources.
76
81
  :param pulumi.Input[str] compatibility_level: Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
77
- :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.
78
- :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.
82
+ :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.
83
+ :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.
79
84
  """
80
85
  if compatibility_level is not None:
81
86
  pulumi.set(__self__, "compatibility_level", compatibility_level)
@@ -100,7 +105,7 @@ class _KafkaSchemaConfigurationState:
100
105
  @pulumi.getter
101
106
  def project(self) -> Optional[pulumi.Input[str]]:
102
107
  """
103
- 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.
108
+ 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.
104
109
  """
105
110
  return pulumi.get(self, "project")
106
111
 
@@ -112,7 +117,7 @@ class _KafkaSchemaConfigurationState:
112
117
  @pulumi.getter(name="serviceName")
113
118
  def service_name(self) -> Optional[pulumi.Input[str]]:
114
119
  """
115
- 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.
120
+ 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.
116
121
  """
117
122
  return pulumi.get(self, "service_name")
118
123
 
@@ -140,22 +145,22 @@ class KafkaSchemaConfiguration(pulumi.CustomResource):
140
145
  import pulumi_aiven as aiven
141
146
 
142
147
  config = aiven.KafkaSchemaConfiguration("config",
143
- project=aiven_project["kafka-schemas-project1"]["project"],
144
- service_name=aiven_kafka["kafka-service1"]["service_name"],
148
+ project=kafka_schemas_project1["project"],
149
+ service_name=kafka_service1["serviceName"],
145
150
  compatibility_level="BACKWARD")
146
151
  ```
147
152
 
148
153
  ## Import
149
154
 
150
155
  ```sh
151
- $ pulumi import aiven:index/kafkaSchemaConfiguration:KafkaSchemaConfiguration config project/service_name
156
+ $ pulumi import aiven:index/kafkaSchemaConfiguration:KafkaSchemaConfiguration config PROJECT/SERVICE_NAME
152
157
  ```
153
158
 
154
159
  :param str resource_name: The name of the resource.
155
160
  :param pulumi.ResourceOptions opts: Options for the resource.
156
161
  :param pulumi.Input[str] compatibility_level: Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
157
- :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.
158
- :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.
162
+ :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.
163
+ :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.
159
164
  """
160
165
  ...
161
166
  @overload
@@ -173,15 +178,15 @@ class KafkaSchemaConfiguration(pulumi.CustomResource):
173
178
  import pulumi_aiven as aiven
174
179
 
175
180
  config = aiven.KafkaSchemaConfiguration("config",
176
- project=aiven_project["kafka-schemas-project1"]["project"],
177
- service_name=aiven_kafka["kafka-service1"]["service_name"],
181
+ project=kafka_schemas_project1["project"],
182
+ service_name=kafka_service1["serviceName"],
178
183
  compatibility_level="BACKWARD")
179
184
  ```
180
185
 
181
186
  ## Import
182
187
 
183
188
  ```sh
184
- $ pulumi import aiven:index/kafkaSchemaConfiguration:KafkaSchemaConfiguration config project/service_name
189
+ $ pulumi import aiven:index/kafkaSchemaConfiguration:KafkaSchemaConfiguration config PROJECT/SERVICE_NAME
185
190
  ```
186
191
 
187
192
  :param str resource_name: The name of the resource.
@@ -239,8 +244,8 @@ class KafkaSchemaConfiguration(pulumi.CustomResource):
239
244
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
240
245
  :param pulumi.ResourceOptions opts: Options for the resource.
241
246
  :param pulumi.Input[str] compatibility_level: Kafka Schemas compatibility level. The possible values are `BACKWARD`, `BACKWARD_TRANSITIVE`, `FORWARD`, `FORWARD_TRANSITIVE`, `FULL`, `FULL_TRANSITIVE` and `NONE`.
242
- :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.
243
- :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.
247
+ :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.
248
+ :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.
244
249
  """
245
250
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
246
251
 
@@ -263,7 +268,7 @@ class KafkaSchemaConfiguration(pulumi.CustomResource):
263
268
  @pulumi.getter
264
269
  def project(self) -> pulumi.Output[str]:
265
270
  """
266
- 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.
271
+ 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.
267
272
  """
268
273
  return pulumi.get(self, "project")
269
274
 
@@ -271,7 +276,7 @@ class KafkaSchemaConfiguration(pulumi.CustomResource):
271
276
  @pulumi.getter(name="serviceName")
272
277
  def service_name(self) -> pulumi.Output[str]:
273
278
  """
274
- 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.
279
+ 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.
275
280
  """
276
281
  return pulumi.get(self, "service_name")
277
282