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__ = ['ClickhouseRoleArgs', 'ClickhouseRole']
@@ -19,9 +24,9 @@ class ClickhouseRoleArgs:
19
24
  service_name: pulumi.Input[str]):
20
25
  """
21
26
  The set of arguments for constructing a ClickhouseRole 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] role: The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
24
- :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] role: The name of role. Changing this property forces recreation of the resource.
29
+ :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.
25
30
  """
26
31
  pulumi.set(__self__, "project", project)
27
32
  pulumi.set(__self__, "role", role)
@@ -31,7 +36,7 @@ class ClickhouseRoleArgs:
31
36
  @pulumi.getter
32
37
  def project(self) -> pulumi.Input[str]:
33
38
  """
34
- 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.
39
+ 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.
35
40
  """
36
41
  return pulumi.get(self, "project")
37
42
 
@@ -43,7 +48,7 @@ class ClickhouseRoleArgs:
43
48
  @pulumi.getter
44
49
  def role(self) -> pulumi.Input[str]:
45
50
  """
46
- The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
51
+ The name of role. Changing this property forces recreation of the resource.
47
52
  """
48
53
  return pulumi.get(self, "role")
49
54
 
@@ -55,7 +60,7 @@ class ClickhouseRoleArgs:
55
60
  @pulumi.getter(name="serviceName")
56
61
  def service_name(self) -> pulumi.Input[str]:
57
62
  """
58
- 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.
63
+ 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.
59
64
  """
60
65
  return pulumi.get(self, "service_name")
61
66
 
@@ -72,9 +77,9 @@ class _ClickhouseRoleState:
72
77
  service_name: Optional[pulumi.Input[str]] = None):
73
78
  """
74
79
  Input properties used for looking up and filtering ClickhouseRole resources.
75
- :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.
76
- :param pulumi.Input[str] role: The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
77
- :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.
80
+ :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.
81
+ :param pulumi.Input[str] role: The name of role. Changing this property forces recreation of the resource.
82
+ :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.
78
83
  """
79
84
  if project is not None:
80
85
  pulumi.set(__self__, "project", project)
@@ -87,7 +92,7 @@ class _ClickhouseRoleState:
87
92
  @pulumi.getter
88
93
  def project(self) -> Optional[pulumi.Input[str]]:
89
94
  """
90
- 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.
95
+ 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.
91
96
  """
92
97
  return pulumi.get(self, "project")
93
98
 
@@ -99,7 +104,7 @@ class _ClickhouseRoleState:
99
104
  @pulumi.getter
100
105
  def role(self) -> Optional[pulumi.Input[str]]:
101
106
  """
102
- The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
107
+ The name of role. Changing this property forces recreation of the resource.
103
108
  """
104
109
  return pulumi.get(self, "role")
105
110
 
@@ -111,7 +116,7 @@ class _ClickhouseRoleState:
111
116
  @pulumi.getter(name="serviceName")
112
117
  def service_name(self) -> Optional[pulumi.Input[str]]:
113
118
  """
114
- 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.
119
+ 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.
115
120
  """
116
121
  return pulumi.get(self, "service_name")
117
122
 
@@ -130,7 +135,7 @@ class ClickhouseRole(pulumi.CustomResource):
130
135
  service_name: Optional[pulumi.Input[str]] = None,
131
136
  __props__=None):
132
137
  """
133
- The Clickhouse Role resource allows the creation and management of Roles in Aiven Clickhouse services
138
+ Creates and manages ClickHouse roles.
134
139
 
135
140
  ## Example Usage
136
141
 
@@ -138,30 +143,23 @@ class ClickhouseRole(pulumi.CustomResource):
138
143
  import pulumi
139
144
  import pulumi_aiven as aiven
140
145
 
141
- bar = aiven.Clickhouse("bar",
142
- project="example-project",
143
- cloud_name="google-europe-west1",
144
- plan="startup-beta-8",
145
- service_name="example-service",
146
- maintenance_window_dow="monday",
147
- maintenance_window_time="10:00:00")
148
- foo = aiven.ClickhouseRole("foo",
149
- service_name=bar.service_name,
150
- project=bar.project,
146
+ example_role = aiven.ClickhouseRole("example_role",
147
+ service_name=example_clickhouse["serviceName"],
148
+ project=example_project["project"],
151
149
  role="writer")
152
150
  ```
153
151
 
154
152
  ## Import
155
153
 
156
154
  ```sh
157
- $ pulumi import aiven:index/clickhouseRole:ClickhouseRole foo project/service_name/role
155
+ $ pulumi import aiven:index/clickhouseRole:ClickhouseRole example_role PROJECT/SERVICE_NAME/ROLE
158
156
  ```
159
157
 
160
158
  :param str resource_name: The name of the resource.
161
159
  :param pulumi.ResourceOptions opts: Options for the resource.
162
- :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.
163
- :param pulumi.Input[str] role: The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
164
- :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.
160
+ :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.
161
+ :param pulumi.Input[str] role: The name of role. Changing this property forces recreation of the resource.
162
+ :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.
165
163
  """
166
164
  ...
167
165
  @overload
@@ -170,7 +168,7 @@ class ClickhouseRole(pulumi.CustomResource):
170
168
  args: ClickhouseRoleArgs,
171
169
  opts: Optional[pulumi.ResourceOptions] = None):
172
170
  """
173
- The Clickhouse Role resource allows the creation and management of Roles in Aiven Clickhouse services
171
+ Creates and manages ClickHouse roles.
174
172
 
175
173
  ## Example Usage
176
174
 
@@ -178,23 +176,16 @@ class ClickhouseRole(pulumi.CustomResource):
178
176
  import pulumi
179
177
  import pulumi_aiven as aiven
180
178
 
181
- bar = aiven.Clickhouse("bar",
182
- project="example-project",
183
- cloud_name="google-europe-west1",
184
- plan="startup-beta-8",
185
- service_name="example-service",
186
- maintenance_window_dow="monday",
187
- maintenance_window_time="10:00:00")
188
- foo = aiven.ClickhouseRole("foo",
189
- service_name=bar.service_name,
190
- project=bar.project,
179
+ example_role = aiven.ClickhouseRole("example_role",
180
+ service_name=example_clickhouse["serviceName"],
181
+ project=example_project["project"],
191
182
  role="writer")
192
183
  ```
193
184
 
194
185
  ## Import
195
186
 
196
187
  ```sh
197
- $ pulumi import aiven:index/clickhouseRole:ClickhouseRole foo project/service_name/role
188
+ $ pulumi import aiven:index/clickhouseRole:ClickhouseRole example_role PROJECT/SERVICE_NAME/ROLE
198
189
  ```
199
190
 
200
191
  :param str resource_name: The name of the resource.
@@ -253,9 +244,9 @@ class ClickhouseRole(pulumi.CustomResource):
253
244
  :param str resource_name: The unique name of the resulting resource.
254
245
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
255
246
  :param pulumi.ResourceOptions opts: Options for the resource.
256
- :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.
257
- :param pulumi.Input[str] role: The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
258
- :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] role: The name of role. Changing this property forces recreation of the resource.
249
+ :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.
259
250
  """
260
251
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
261
252
 
@@ -270,7 +261,7 @@ class ClickhouseRole(pulumi.CustomResource):
270
261
  @pulumi.getter
271
262
  def project(self) -> pulumi.Output[str]:
272
263
  """
273
- 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.
264
+ 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.
274
265
  """
275
266
  return pulumi.get(self, "project")
276
267
 
@@ -278,7 +269,7 @@ class ClickhouseRole(pulumi.CustomResource):
278
269
  @pulumi.getter
279
270
  def role(self) -> pulumi.Output[str]:
280
271
  """
281
- The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
272
+ The name of role. Changing this property forces recreation of the resource.
282
273
  """
283
274
  return pulumi.get(self, "role")
284
275
 
@@ -286,7 +277,7 @@ class ClickhouseRole(pulumi.CustomResource):
286
277
  @pulumi.getter(name="serviceName")
287
278
  def service_name(self) -> pulumi.Output[str]:
288
279
  """
289
- 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.
280
+ 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.
290
281
  """
291
282
  return pulumi.get(self, "service_name")
292
283
 
@@ -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__ = ['ClickhouseUserArgs', 'ClickhouseUser']
@@ -19,9 +24,9 @@ class ClickhouseUserArgs:
19
24
  username: pulumi.Input[str]):
20
25
  """
21
26
  The set of arguments for constructing a ClickhouseUser 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.
24
- :param pulumi.Input[str] username: The actual name of the Clickhouse user. 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.
29
+ :param pulumi.Input[str] username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
25
30
  """
26
31
  pulumi.set(__self__, "project", project)
27
32
  pulumi.set(__self__, "service_name", service_name)
@@ -31,7 +36,7 @@ class ClickhouseUserArgs:
31
36
  @pulumi.getter
32
37
  def project(self) -> pulumi.Input[str]:
33
38
  """
34
- 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.
39
+ 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.
35
40
  """
36
41
  return pulumi.get(self, "project")
37
42
 
@@ -43,7 +48,7 @@ class ClickhouseUserArgs:
43
48
  @pulumi.getter(name="serviceName")
44
49
  def service_name(self) -> pulumi.Input[str]:
45
50
  """
46
- 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.
51
+ 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.
47
52
  """
48
53
  return pulumi.get(self, "service_name")
49
54
 
@@ -55,7 +60,7 @@ class ClickhouseUserArgs:
55
60
  @pulumi.getter
56
61
  def username(self) -> pulumi.Input[str]:
57
62
  """
58
- The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
63
+ The name of the ClickHouse user. Changing this property forces recreation of the resource.
59
64
  """
60
65
  return pulumi.get(self, "username")
61
66
 
@@ -75,12 +80,12 @@ class _ClickhouseUserState:
75
80
  uuid: Optional[pulumi.Input[str]] = None):
76
81
  """
77
82
  Input properties used for looking up and filtering ClickhouseUser resources.
78
- :param pulumi.Input[str] password: The password of the clickhouse user.
79
- :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.
80
- :param pulumi.Input[bool] required: Indicates if a clickhouse user is required
81
- :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] username: The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
83
- :param pulumi.Input[str] uuid: UUID of the clickhouse user.
83
+ :param pulumi.Input[str] password: The password of the ClickHouse user.
84
+ :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.
85
+ :param pulumi.Input[bool] required: Indicates if a ClickHouse user is required.
86
+ :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.
87
+ :param pulumi.Input[str] username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
88
+ :param pulumi.Input[str] uuid: UUID of the ClickHouse user.
84
89
  """
85
90
  if password is not None:
86
91
  pulumi.set(__self__, "password", password)
@@ -99,7 +104,7 @@ class _ClickhouseUserState:
99
104
  @pulumi.getter
100
105
  def password(self) -> Optional[pulumi.Input[str]]:
101
106
  """
102
- The password of the clickhouse user.
107
+ The password of the ClickHouse user.
103
108
  """
104
109
  return pulumi.get(self, "password")
105
110
 
@@ -111,7 +116,7 @@ class _ClickhouseUserState:
111
116
  @pulumi.getter
112
117
  def project(self) -> Optional[pulumi.Input[str]]:
113
118
  """
114
- 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.
119
+ 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.
115
120
  """
116
121
  return pulumi.get(self, "project")
117
122
 
@@ -123,7 +128,7 @@ class _ClickhouseUserState:
123
128
  @pulumi.getter
124
129
  def required(self) -> Optional[pulumi.Input[bool]]:
125
130
  """
126
- Indicates if a clickhouse user is required
131
+ Indicates if a ClickHouse user is required.
127
132
  """
128
133
  return pulumi.get(self, "required")
129
134
 
@@ -135,7 +140,7 @@ class _ClickhouseUserState:
135
140
  @pulumi.getter(name="serviceName")
136
141
  def service_name(self) -> Optional[pulumi.Input[str]]:
137
142
  """
138
- 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.
143
+ 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.
139
144
  """
140
145
  return pulumi.get(self, "service_name")
141
146
 
@@ -147,7 +152,7 @@ class _ClickhouseUserState:
147
152
  @pulumi.getter
148
153
  def username(self) -> Optional[pulumi.Input[str]]:
149
154
  """
150
- The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
155
+ The name of the ClickHouse user. Changing this property forces recreation of the resource.
151
156
  """
152
157
  return pulumi.get(self, "username")
153
158
 
@@ -159,7 +164,7 @@ class _ClickhouseUserState:
159
164
  @pulumi.getter
160
165
  def uuid(self) -> Optional[pulumi.Input[str]]:
161
166
  """
162
- UUID of the clickhouse user.
167
+ UUID of the ClickHouse user.
163
168
  """
164
169
  return pulumi.get(self, "uuid")
165
170
 
@@ -178,7 +183,7 @@ class ClickhouseUser(pulumi.CustomResource):
178
183
  username: Optional[pulumi.Input[str]] = None,
179
184
  __props__=None):
180
185
  """
181
- The Clickhouse User resource allows the creation and management of Aiven Clikhouse Users.
186
+ Creates and manages a ClickHouse user.
182
187
 
183
188
  ## Example Usage
184
189
 
@@ -186,23 +191,23 @@ class ClickhouseUser(pulumi.CustomResource):
186
191
  import pulumi
187
192
  import pulumi_aiven as aiven
188
193
 
189
- ch_user = aiven.ClickhouseUser("ch-user",
190
- project=aiven_project["myproject"]["project"],
191
- service_name=aiven_clickhouse["myservice"]["service_name"],
192
- username="<USERNAME>")
194
+ example_user = aiven.ClickhouseUser("example_user",
195
+ project=example_project["project"],
196
+ service_name=example_service["serviceName"],
197
+ username="analyst")
193
198
  ```
194
199
 
195
200
  ## Import
196
201
 
197
202
  ```sh
198
- $ pulumi import aiven:index/clickhouseUser:ClickhouseUser ch-user project/service_name/username
203
+ $ pulumi import aiven:index/clickhouseUser:ClickhouseUser example_user PROJECT/SERVICE_NAME/USERNAME
199
204
  ```
200
205
 
201
206
  :param str resource_name: The name of the resource.
202
207
  :param pulumi.ResourceOptions opts: Options for the resource.
203
- :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.
204
- :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.
205
- :param pulumi.Input[str] username: The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
208
+ :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.
209
+ :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.
210
+ :param pulumi.Input[str] username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
206
211
  """
207
212
  ...
208
213
  @overload
@@ -211,7 +216,7 @@ class ClickhouseUser(pulumi.CustomResource):
211
216
  args: ClickhouseUserArgs,
212
217
  opts: Optional[pulumi.ResourceOptions] = None):
213
218
  """
214
- The Clickhouse User resource allows the creation and management of Aiven Clikhouse Users.
219
+ Creates and manages a ClickHouse user.
215
220
 
216
221
  ## Example Usage
217
222
 
@@ -219,16 +224,16 @@ class ClickhouseUser(pulumi.CustomResource):
219
224
  import pulumi
220
225
  import pulumi_aiven as aiven
221
226
 
222
- ch_user = aiven.ClickhouseUser("ch-user",
223
- project=aiven_project["myproject"]["project"],
224
- service_name=aiven_clickhouse["myservice"]["service_name"],
225
- username="<USERNAME>")
227
+ example_user = aiven.ClickhouseUser("example_user",
228
+ project=example_project["project"],
229
+ service_name=example_service["serviceName"],
230
+ username="analyst")
226
231
  ```
227
232
 
228
233
  ## Import
229
234
 
230
235
  ```sh
231
- $ pulumi import aiven:index/clickhouseUser:ClickhouseUser ch-user project/service_name/username
236
+ $ pulumi import aiven:index/clickhouseUser:ClickhouseUser example_user PROJECT/SERVICE_NAME/USERNAME
232
237
  ```
233
238
 
234
239
  :param str resource_name: The name of the resource.
@@ -295,12 +300,12 @@ class ClickhouseUser(pulumi.CustomResource):
295
300
  :param str resource_name: The unique name of the resulting resource.
296
301
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
297
302
  :param pulumi.ResourceOptions opts: Options for the resource.
298
- :param pulumi.Input[str] password: The password of the clickhouse user.
299
- :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.
300
- :param pulumi.Input[bool] required: Indicates if a clickhouse user is required
301
- :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.
302
- :param pulumi.Input[str] username: The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
303
- :param pulumi.Input[str] uuid: UUID of the clickhouse user.
303
+ :param pulumi.Input[str] password: The password of the ClickHouse user.
304
+ :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.
305
+ :param pulumi.Input[bool] required: Indicates if a ClickHouse user is required.
306
+ :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.
307
+ :param pulumi.Input[str] username: The name of the ClickHouse user. Changing this property forces recreation of the resource.
308
+ :param pulumi.Input[str] uuid: UUID of the ClickHouse user.
304
309
  """
305
310
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
306
311
 
@@ -318,7 +323,7 @@ class ClickhouseUser(pulumi.CustomResource):
318
323
  @pulumi.getter
319
324
  def password(self) -> pulumi.Output[str]:
320
325
  """
321
- The password of the clickhouse user.
326
+ The password of the ClickHouse user.
322
327
  """
323
328
  return pulumi.get(self, "password")
324
329
 
@@ -326,7 +331,7 @@ class ClickhouseUser(pulumi.CustomResource):
326
331
  @pulumi.getter
327
332
  def project(self) -> pulumi.Output[str]:
328
333
  """
329
- 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.
334
+ 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.
330
335
  """
331
336
  return pulumi.get(self, "project")
332
337
 
@@ -334,7 +339,7 @@ class ClickhouseUser(pulumi.CustomResource):
334
339
  @pulumi.getter
335
340
  def required(self) -> pulumi.Output[bool]:
336
341
  """
337
- Indicates if a clickhouse user is required
342
+ Indicates if a ClickHouse user is required.
338
343
  """
339
344
  return pulumi.get(self, "required")
340
345
 
@@ -342,7 +347,7 @@ class ClickhouseUser(pulumi.CustomResource):
342
347
  @pulumi.getter(name="serviceName")
343
348
  def service_name(self) -> pulumi.Output[str]:
344
349
  """
345
- 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.
350
+ 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.
346
351
  """
347
352
  return pulumi.get(self, "service_name")
348
353
 
@@ -350,7 +355,7 @@ class ClickhouseUser(pulumi.CustomResource):
350
355
  @pulumi.getter
351
356
  def username(self) -> pulumi.Output[str]:
352
357
  """
353
- The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
358
+ The name of the ClickHouse user. Changing this property forces recreation of the resource.
354
359
  """
355
360
  return pulumi.get(self, "username")
356
361
 
@@ -358,7 +363,7 @@ class ClickhouseUser(pulumi.CustomResource):
358
363
  @pulumi.getter
359
364
  def uuid(self) -> pulumi.Output[str]:
360
365
  """
361
- UUID of the clickhouse user.
366
+ UUID of the ClickHouse user.
362
367
  """
363
368
  return pulumi.get(self, "uuid")
364
369
 
@@ -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
  apiToken: Optional[str]
@@ -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
  import types