pulumi-aiven 6.43.0a1756184863__py3-none-any.whl → 6.47.0a1767071446__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.
- pulumi_aiven/__init__.py +4 -0
- pulumi_aiven/_inputs.py +3087 -602
- pulumi_aiven/account_team.py +6 -12
- pulumi_aiven/account_team_member.py +6 -12
- pulumi_aiven/account_team_project.py +6 -12
- pulumi_aiven/alloydbomni.py +72 -23
- pulumi_aiven/alloydbomni_database.py +26 -0
- pulumi_aiven/alloydbomni_user.py +135 -8
- pulumi_aiven/billing_group.py +225 -114
- pulumi_aiven/cassandra.py +46 -23
- pulumi_aiven/cassandra_user.py +110 -9
- pulumi_aiven/clickhouse.py +46 -23
- pulumi_aiven/clickhouse_user.py +127 -7
- pulumi_aiven/dragonfly.py +46 -23
- pulumi_aiven/flink.py +46 -23
- pulumi_aiven/get_account_team.py +6 -12
- pulumi_aiven/get_account_team_member.py +6 -12
- pulumi_aiven/get_account_team_project.py +6 -12
- pulumi_aiven/get_alloydbomni.py +43 -3
- pulumi_aiven/get_alloydbomni_database.py +26 -0
- pulumi_aiven/get_alloydbomni_user.py +27 -1
- pulumi_aiven/get_billing_group.py +47 -15
- pulumi_aiven/get_cassanda.py +17 -3
- pulumi_aiven/get_cassandra.py +17 -3
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +17 -3
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_dragonfly.py +17 -3
- pulumi_aiven/get_flink.py +17 -3
- pulumi_aiven/get_grafana.py +17 -3
- pulumi_aiven/get_influx_db.py +12 -1
- pulumi_aiven/get_kafka.py +17 -3
- pulumi_aiven/get_kafka_connect.py +17 -3
- pulumi_aiven/get_kafka_mirror_maker.py +17 -3
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +14 -112
- pulumi_aiven/get_m3_db.py +14 -124
- pulumi_aiven/get_m3db_user.py +2 -61
- pulumi_aiven/get_my_sql.py +17 -3
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +17 -3
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_address.py +1 -1
- pulumi_aiven/get_organization_application_user.py +29 -11
- pulumi_aiven/get_organization_billing_group.py +3 -3
- pulumi_aiven/get_organization_project.py +2 -8
- pulumi_aiven/get_organization_user_group_list.py +131 -0
- pulumi_aiven/get_organization_user_group_member_list.py +171 -0
- pulumi_aiven/get_organization_user_list.py +33 -11
- pulumi_aiven/get_organizational_unit.py +4 -0
- pulumi_aiven/get_pg.py +17 -3
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_redis.py +14 -128
- pulumi_aiven/get_redis_user.py +2 -77
- pulumi_aiven/get_service_component.py +3 -3
- pulumi_aiven/get_service_plan.py +309 -0
- pulumi_aiven/get_service_plan_list.py +151 -0
- pulumi_aiven/get_thanos.py +17 -3
- pulumi_aiven/get_valkey.py +17 -3
- pulumi_aiven/get_valkey_user.py +4 -4
- pulumi_aiven/governance_access.py +12 -0
- pulumi_aiven/grafana.py +46 -23
- pulumi_aiven/influx_db.py +133 -291
- pulumi_aiven/influxdb_database.py +14 -28
- pulumi_aiven/influxdb_user.py +21 -42
- pulumi_aiven/kafka.py +46 -23
- pulumi_aiven/kafka_connect.py +48 -25
- pulumi_aiven/kafka_mirror_maker.py +46 -23
- pulumi_aiven/kafka_schema.py +20 -20
- pulumi_aiven/kafka_user.py +110 -9
- pulumi_aiven/m3_aggregator.py +48 -75
- pulumi_aiven/m3_db.py +48 -95
- pulumi_aiven/m3db_user.py +2 -54
- pulumi_aiven/my_sql.py +46 -23
- pulumi_aiven/mysql_user.py +110 -9
- pulumi_aiven/open_search.py +46 -23
- pulumi_aiven/opensearch_user.py +110 -9
- pulumi_aiven/organization.py +6 -6
- pulumi_aiven/organization_address.py +12 -0
- pulumi_aiven/organization_application_user.py +76 -48
- pulumi_aiven/organization_application_user_token.py +127 -91
- pulumi_aiven/organization_billing_group.py +33 -21
- pulumi_aiven/organization_permission.py +82 -49
- pulumi_aiven/organization_project.py +9 -15
- pulumi_aiven/organization_user.py +8 -8
- pulumi_aiven/organization_user_group_member.py +29 -35
- pulumi_aiven/outputs.py +2042 -326
- pulumi_aiven/pg.py +112 -23
- pulumi_aiven/pg_user.py +109 -8
- pulumi_aiven/project.py +2 -24
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +57 -97
- pulumi_aiven/redis_user.py +23 -79
- pulumi_aiven/thanos.py +46 -23
- pulumi_aiven/valkey.py +46 -23
- pulumi_aiven/valkey_user.py +130 -29
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/METADATA +1 -1
- pulumi_aiven-6.47.0a1767071446.dist-info/RECORD +193 -0
- pulumi_aiven-6.43.0a1756184863.dist-info/RECORD +0 -189
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_redis.py
CHANGED
|
@@ -27,7 +27,7 @@ class GetRedisResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getRedis.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, redis=None, redis_user_configs=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
30
|
+
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_enabled=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, redis=None, redis_user_configs=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
31
31
|
if additional_disk_space and not isinstance(additional_disk_space, str):
|
|
32
32
|
raise TypeError("Expected argument 'additional_disk_space' to be a str")
|
|
33
33
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -58,6 +58,9 @@ class GetRedisResult:
|
|
|
58
58
|
if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
|
|
59
59
|
raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
|
|
60
60
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
61
|
+
if maintenance_window_enabled and not isinstance(maintenance_window_enabled, bool):
|
|
62
|
+
raise TypeError("Expected argument 'maintenance_window_enabled' to be a bool")
|
|
63
|
+
pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
|
|
61
64
|
if maintenance_window_time and not isinstance(maintenance_window_time, str):
|
|
62
65
|
raise TypeError("Expected argument 'maintenance_window_time' to be a str")
|
|
63
66
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
@@ -119,65 +122,41 @@ class GetRedisResult:
|
|
|
119
122
|
@_builtins.property
|
|
120
123
|
@pulumi.getter(name="additionalDiskSpace")
|
|
121
124
|
def additional_disk_space(self) -> _builtins.str:
|
|
122
|
-
"""
|
|
123
|
-
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
124
|
-
"""
|
|
125
125
|
return pulumi.get(self, "additional_disk_space")
|
|
126
126
|
|
|
127
127
|
@_builtins.property
|
|
128
128
|
@pulumi.getter(name="cloudName")
|
|
129
129
|
def cloud_name(self) -> _builtins.str:
|
|
130
|
-
"""
|
|
131
|
-
The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
132
|
-
"""
|
|
133
130
|
return pulumi.get(self, "cloud_name")
|
|
134
131
|
|
|
135
132
|
@_builtins.property
|
|
136
133
|
@pulumi.getter
|
|
137
134
|
def components(self) -> Sequence['outputs.GetRedisComponentResult']:
|
|
138
|
-
"""
|
|
139
|
-
Service component information objects
|
|
140
|
-
"""
|
|
141
135
|
return pulumi.get(self, "components")
|
|
142
136
|
|
|
143
137
|
@_builtins.property
|
|
144
138
|
@pulumi.getter(name="diskSpace")
|
|
145
139
|
def disk_space(self) -> _builtins.str:
|
|
146
|
-
"""
|
|
147
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
148
|
-
"""
|
|
149
140
|
return pulumi.get(self, "disk_space")
|
|
150
141
|
|
|
151
142
|
@_builtins.property
|
|
152
143
|
@pulumi.getter(name="diskSpaceCap")
|
|
153
144
|
def disk_space_cap(self) -> _builtins.str:
|
|
154
|
-
"""
|
|
155
|
-
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
156
|
-
"""
|
|
157
145
|
return pulumi.get(self, "disk_space_cap")
|
|
158
146
|
|
|
159
147
|
@_builtins.property
|
|
160
148
|
@pulumi.getter(name="diskSpaceDefault")
|
|
161
149
|
def disk_space_default(self) -> _builtins.str:
|
|
162
|
-
"""
|
|
163
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
164
|
-
"""
|
|
165
150
|
return pulumi.get(self, "disk_space_default")
|
|
166
151
|
|
|
167
152
|
@_builtins.property
|
|
168
153
|
@pulumi.getter(name="diskSpaceStep")
|
|
169
154
|
def disk_space_step(self) -> _builtins.str:
|
|
170
|
-
"""
|
|
171
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
172
|
-
"""
|
|
173
155
|
return pulumi.get(self, "disk_space_step")
|
|
174
156
|
|
|
175
157
|
@_builtins.property
|
|
176
158
|
@pulumi.getter(name="diskSpaceUsed")
|
|
177
159
|
def disk_space_used(self) -> _builtins.str:
|
|
178
|
-
"""
|
|
179
|
-
Disk space that service is currently using
|
|
180
|
-
"""
|
|
181
160
|
return pulumi.get(self, "disk_space_used")
|
|
182
161
|
|
|
183
162
|
@_builtins.property
|
|
@@ -191,121 +170,81 @@ class GetRedisResult:
|
|
|
191
170
|
@_builtins.property
|
|
192
171
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
193
172
|
def maintenance_window_dow(self) -> _builtins.str:
|
|
194
|
-
"""
|
|
195
|
-
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
196
|
-
"""
|
|
197
173
|
return pulumi.get(self, "maintenance_window_dow")
|
|
198
174
|
|
|
175
|
+
@_builtins.property
|
|
176
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
177
|
+
def maintenance_window_enabled(self) -> _builtins.bool:
|
|
178
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
179
|
+
|
|
199
180
|
@_builtins.property
|
|
200
181
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
201
182
|
def maintenance_window_time(self) -> _builtins.str:
|
|
202
|
-
"""
|
|
203
|
-
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
204
|
-
"""
|
|
205
183
|
return pulumi.get(self, "maintenance_window_time")
|
|
206
184
|
|
|
207
185
|
@_builtins.property
|
|
208
186
|
@pulumi.getter
|
|
209
187
|
def plan(self) -> _builtins.str:
|
|
210
|
-
"""
|
|
211
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
212
|
-
"""
|
|
213
188
|
return pulumi.get(self, "plan")
|
|
214
189
|
|
|
215
190
|
@_builtins.property
|
|
216
191
|
@pulumi.getter
|
|
217
192
|
def project(self) -> _builtins.str:
|
|
218
|
-
"""
|
|
219
|
-
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.
|
|
220
|
-
"""
|
|
221
193
|
return pulumi.get(self, "project")
|
|
222
194
|
|
|
223
195
|
@_builtins.property
|
|
224
196
|
@pulumi.getter(name="projectVpcId")
|
|
225
197
|
def project_vpc_id(self) -> _builtins.str:
|
|
226
|
-
"""
|
|
227
|
-
Specifies the VPC the service should run in. If the value is not set, the service runs on the Public Internet. When set, the value should be given as a reference to set up dependencies correctly, and the VPC must be in the same cloud and region as the service itself. The service can be freely moved to and from VPC after creation, but doing so triggers migration to new servers, so the operation can take a significant amount of time to complete if the service has a lot of data.
|
|
228
|
-
"""
|
|
229
198
|
return pulumi.get(self, "project_vpc_id")
|
|
230
199
|
|
|
231
200
|
@_builtins.property
|
|
232
201
|
@pulumi.getter
|
|
233
202
|
def redis(self) -> Sequence['outputs.GetRedisRediResult']:
|
|
234
|
-
"""
|
|
235
|
-
Redis server provided values
|
|
236
|
-
"""
|
|
237
203
|
return pulumi.get(self, "redis")
|
|
238
204
|
|
|
239
205
|
@_builtins.property
|
|
240
206
|
@pulumi.getter(name="redisUserConfigs")
|
|
241
207
|
def redis_user_configs(self) -> Sequence['outputs.GetRedisRedisUserConfigResult']:
|
|
242
|
-
"""
|
|
243
|
-
Redis user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
244
|
-
"""
|
|
245
208
|
return pulumi.get(self, "redis_user_configs")
|
|
246
209
|
|
|
247
210
|
@_builtins.property
|
|
248
211
|
@pulumi.getter(name="serviceHost")
|
|
249
212
|
def service_host(self) -> _builtins.str:
|
|
250
|
-
"""
|
|
251
|
-
The hostname of the service.
|
|
252
|
-
"""
|
|
253
213
|
return pulumi.get(self, "service_host")
|
|
254
214
|
|
|
255
215
|
@_builtins.property
|
|
256
216
|
@pulumi.getter(name="serviceIntegrations")
|
|
257
217
|
def service_integrations(self) -> Sequence['outputs.GetRedisServiceIntegrationResult']:
|
|
258
|
-
"""
|
|
259
|
-
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
260
|
-
"""
|
|
261
218
|
return pulumi.get(self, "service_integrations")
|
|
262
219
|
|
|
263
220
|
@_builtins.property
|
|
264
221
|
@pulumi.getter(name="serviceName")
|
|
265
222
|
def service_name(self) -> _builtins.str:
|
|
266
|
-
"""
|
|
267
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
268
|
-
"""
|
|
269
223
|
return pulumi.get(self, "service_name")
|
|
270
224
|
|
|
271
225
|
@_builtins.property
|
|
272
226
|
@pulumi.getter(name="servicePassword")
|
|
273
227
|
def service_password(self) -> _builtins.str:
|
|
274
|
-
"""
|
|
275
|
-
Password used for connecting to the service, if applicable
|
|
276
|
-
"""
|
|
277
228
|
return pulumi.get(self, "service_password")
|
|
278
229
|
|
|
279
230
|
@_builtins.property
|
|
280
231
|
@pulumi.getter(name="servicePort")
|
|
281
232
|
def service_port(self) -> _builtins.int:
|
|
282
|
-
"""
|
|
283
|
-
The port of the service
|
|
284
|
-
"""
|
|
285
233
|
return pulumi.get(self, "service_port")
|
|
286
234
|
|
|
287
235
|
@_builtins.property
|
|
288
236
|
@pulumi.getter(name="serviceType")
|
|
289
237
|
def service_type(self) -> _builtins.str:
|
|
290
|
-
"""
|
|
291
|
-
Aiven internal service type code
|
|
292
|
-
"""
|
|
293
238
|
return pulumi.get(self, "service_type")
|
|
294
239
|
|
|
295
240
|
@_builtins.property
|
|
296
241
|
@pulumi.getter(name="serviceUri")
|
|
297
242
|
def service_uri(self) -> _builtins.str:
|
|
298
|
-
"""
|
|
299
|
-
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
300
|
-
"""
|
|
301
243
|
return pulumi.get(self, "service_uri")
|
|
302
244
|
|
|
303
245
|
@_builtins.property
|
|
304
246
|
@pulumi.getter(name="serviceUsername")
|
|
305
247
|
def service_username(self) -> _builtins.str:
|
|
306
|
-
"""
|
|
307
|
-
Username used for connecting to the service, if applicable
|
|
308
|
-
"""
|
|
309
248
|
return pulumi.get(self, "service_username")
|
|
310
249
|
|
|
311
250
|
@_builtins.property
|
|
@@ -316,33 +255,21 @@ class GetRedisResult:
|
|
|
316
255
|
@_builtins.property
|
|
317
256
|
@pulumi.getter(name="staticIps")
|
|
318
257
|
def static_ips(self) -> Sequence[_builtins.str]:
|
|
319
|
-
"""
|
|
320
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
321
|
-
"""
|
|
322
258
|
return pulumi.get(self, "static_ips")
|
|
323
259
|
|
|
324
260
|
@_builtins.property
|
|
325
261
|
@pulumi.getter
|
|
326
262
|
def tags(self) -> Sequence['outputs.GetRedisTagResult']:
|
|
327
|
-
"""
|
|
328
|
-
Tags are key-value pairs that allow you to categorize services.
|
|
329
|
-
"""
|
|
330
263
|
return pulumi.get(self, "tags")
|
|
331
264
|
|
|
332
265
|
@_builtins.property
|
|
333
266
|
@pulumi.getter(name="techEmails")
|
|
334
267
|
def tech_emails(self) -> Sequence['outputs.GetRedisTechEmailResult']:
|
|
335
|
-
"""
|
|
336
|
-
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
337
|
-
"""
|
|
338
268
|
return pulumi.get(self, "tech_emails")
|
|
339
269
|
|
|
340
270
|
@_builtins.property
|
|
341
271
|
@pulumi.getter(name="terminationProtection")
|
|
342
272
|
def termination_protection(self) -> _builtins.bool:
|
|
343
|
-
"""
|
|
344
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
345
|
-
"""
|
|
346
273
|
return pulumi.get(self, "termination_protection")
|
|
347
274
|
|
|
348
275
|
|
|
@@ -362,6 +289,7 @@ class AwaitableGetRedisResult(GetRedisResult):
|
|
|
362
289
|
disk_space_used=self.disk_space_used,
|
|
363
290
|
id=self.id,
|
|
364
291
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
292
|
+
maintenance_window_enabled=self.maintenance_window_enabled,
|
|
365
293
|
maintenance_window_time=self.maintenance_window_time,
|
|
366
294
|
plan=self.plan,
|
|
367
295
|
project=self.project,
|
|
@@ -387,29 +315,7 @@ def get_redis(project: Optional[_builtins.str] = None,
|
|
|
387
315
|
service_name: Optional[_builtins.str] = None,
|
|
388
316
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRedisResult:
|
|
389
317
|
"""
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
!> **End of life notice**
|
|
393
|
-
In March 2024, a new licensing model was announced for Redis® that impacts the Aiven for Caching offering (formerly Aiven for Redis®).
|
|
394
|
-
Aiven for Caching is entering its end-of-life cycle to comply with Redis's copyright and license agreements.
|
|
395
|
-
From **February 15th, 2025**, it will not be possible to start a new Aiven for Caching service, but existing services up until version 7.2 will still be available until end of life.
|
|
396
|
-
From **March 31st, 2025**, Aiven for Caching will no longer be available and all existing services will be migrated to Aiven for Valkey™.
|
|
397
|
-
You can [upgrade to Valkey for free](https://aiven.io/docs/products/caching/howto/upgrade-aiven-for-caching-to-valkey) before then
|
|
398
|
-
and update your existing `Redis` resources.
|
|
399
|
-
|
|
400
|
-
## Example Usage
|
|
401
|
-
|
|
402
|
-
```python
|
|
403
|
-
import pulumi
|
|
404
|
-
import pulumi_aiven as aiven
|
|
405
|
-
|
|
406
|
-
redis1 = aiven.get_redis(project=pr1["project"],
|
|
407
|
-
service_name="my-redis1")
|
|
408
|
-
```
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
:param _builtins.str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
412
|
-
:param _builtins.str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
318
|
+
Use this data source to access information about an existing resource.
|
|
413
319
|
"""
|
|
414
320
|
__args__ = dict()
|
|
415
321
|
__args__['project'] = project
|
|
@@ -428,6 +334,7 @@ def get_redis(project: Optional[_builtins.str] = None,
|
|
|
428
334
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
429
335
|
id=pulumi.get(__ret__, 'id'),
|
|
430
336
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
337
|
+
maintenance_window_enabled=pulumi.get(__ret__, 'maintenance_window_enabled'),
|
|
431
338
|
maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
|
|
432
339
|
plan=pulumi.get(__ret__, 'plan'),
|
|
433
340
|
project=pulumi.get(__ret__, 'project'),
|
|
@@ -451,29 +358,7 @@ def get_redis_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
451
358
|
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
452
359
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRedisResult]:
|
|
453
360
|
"""
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
!> **End of life notice**
|
|
457
|
-
In March 2024, a new licensing model was announced for Redis® that impacts the Aiven for Caching offering (formerly Aiven for Redis®).
|
|
458
|
-
Aiven for Caching is entering its end-of-life cycle to comply with Redis's copyright and license agreements.
|
|
459
|
-
From **February 15th, 2025**, it will not be possible to start a new Aiven for Caching service, but existing services up until version 7.2 will still be available until end of life.
|
|
460
|
-
From **March 31st, 2025**, Aiven for Caching will no longer be available and all existing services will be migrated to Aiven for Valkey™.
|
|
461
|
-
You can [upgrade to Valkey for free](https://aiven.io/docs/products/caching/howto/upgrade-aiven-for-caching-to-valkey) before then
|
|
462
|
-
and update your existing `Redis` resources.
|
|
463
|
-
|
|
464
|
-
## Example Usage
|
|
465
|
-
|
|
466
|
-
```python
|
|
467
|
-
import pulumi
|
|
468
|
-
import pulumi_aiven as aiven
|
|
469
|
-
|
|
470
|
-
redis1 = aiven.get_redis(project=pr1["project"],
|
|
471
|
-
service_name="my-redis1")
|
|
472
|
-
```
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
:param _builtins.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.
|
|
476
|
-
:param _builtins.str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
361
|
+
Use this data source to access information about an existing resource.
|
|
477
362
|
"""
|
|
478
363
|
__args__ = dict()
|
|
479
364
|
__args__['project'] = project
|
|
@@ -491,6 +376,7 @@ def get_redis_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
491
376
|
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
492
377
|
id=pulumi.get(__response__, 'id'),
|
|
493
378
|
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
379
|
+
maintenance_window_enabled=pulumi.get(__response__, 'maintenance_window_enabled'),
|
|
494
380
|
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
495
381
|
plan=pulumi.get(__response__, 'plan'),
|
|
496
382
|
project=pulumi.get(__response__, 'project'),
|
pulumi_aiven/get_redis_user.py
CHANGED
|
@@ -69,73 +69,46 @@ class GetRedisUserResult:
|
|
|
69
69
|
@_builtins.property
|
|
70
70
|
@pulumi.getter
|
|
71
71
|
def password(self) -> _builtins.str:
|
|
72
|
-
"""
|
|
73
|
-
The password of the Redis User.
|
|
74
|
-
"""
|
|
75
72
|
return pulumi.get(self, "password")
|
|
76
73
|
|
|
77
74
|
@_builtins.property
|
|
78
75
|
@pulumi.getter
|
|
79
76
|
def project(self) -> _builtins.str:
|
|
80
|
-
"""
|
|
81
|
-
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.
|
|
82
|
-
"""
|
|
83
77
|
return pulumi.get(self, "project")
|
|
84
78
|
|
|
85
79
|
@_builtins.property
|
|
86
80
|
@pulumi.getter(name="redisAclCategories")
|
|
87
81
|
def redis_acl_categories(self) -> Sequence[_builtins.str]:
|
|
88
|
-
"""
|
|
89
|
-
Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
90
|
-
"""
|
|
91
82
|
return pulumi.get(self, "redis_acl_categories")
|
|
92
83
|
|
|
93
84
|
@_builtins.property
|
|
94
85
|
@pulumi.getter(name="redisAclChannels")
|
|
95
86
|
def redis_acl_channels(self) -> Sequence[_builtins.str]:
|
|
96
|
-
"""
|
|
97
|
-
Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
|
|
98
|
-
"""
|
|
99
87
|
return pulumi.get(self, "redis_acl_channels")
|
|
100
88
|
|
|
101
89
|
@_builtins.property
|
|
102
90
|
@pulumi.getter(name="redisAclCommands")
|
|
103
91
|
def redis_acl_commands(self) -> Sequence[_builtins.str]:
|
|
104
|
-
"""
|
|
105
|
-
Defines rules for individual commands. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
106
|
-
"""
|
|
107
92
|
return pulumi.get(self, "redis_acl_commands")
|
|
108
93
|
|
|
109
94
|
@_builtins.property
|
|
110
95
|
@pulumi.getter(name="redisAclKeys")
|
|
111
96
|
def redis_acl_keys(self) -> Sequence[_builtins.str]:
|
|
112
|
-
"""
|
|
113
|
-
Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
114
|
-
"""
|
|
115
97
|
return pulumi.get(self, "redis_acl_keys")
|
|
116
98
|
|
|
117
99
|
@_builtins.property
|
|
118
100
|
@pulumi.getter(name="serviceName")
|
|
119
101
|
def service_name(self) -> _builtins.str:
|
|
120
|
-
"""
|
|
121
|
-
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.
|
|
122
|
-
"""
|
|
123
102
|
return pulumi.get(self, "service_name")
|
|
124
103
|
|
|
125
104
|
@_builtins.property
|
|
126
105
|
@pulumi.getter
|
|
127
106
|
def type(self) -> _builtins.str:
|
|
128
|
-
"""
|
|
129
|
-
Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
130
|
-
"""
|
|
131
107
|
return pulumi.get(self, "type")
|
|
132
108
|
|
|
133
109
|
@_builtins.property
|
|
134
110
|
@pulumi.getter
|
|
135
111
|
def username(self) -> _builtins.str:
|
|
136
|
-
"""
|
|
137
|
-
The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
138
|
-
"""
|
|
139
112
|
return pulumi.get(self, "username")
|
|
140
113
|
|
|
141
114
|
|
|
@@ -162,31 +135,7 @@ def get_redis_user(project: Optional[_builtins.str] = None,
|
|
|
162
135
|
username: Optional[_builtins.str] = None,
|
|
163
136
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRedisUserResult:
|
|
164
137
|
"""
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
!> **End of life notice**
|
|
168
|
-
In March 2024, a new licensing model was announced for Redis® that impacts the Aiven for Caching offering (formerly Aiven for Redis®).
|
|
169
|
-
Aiven for Caching is entering its end-of-life cycle to comply with Redis's copyright and license agreements.
|
|
170
|
-
From **February 15th, 2025**, it will not be possible to start a new Aiven for Caching service, but existing services up until version 7.2 will still be available until end of life.
|
|
171
|
-
From **March 31st, 2025**, Aiven for Caching will no longer be available and all existing services will be migrated to Aiven for Valkey™.
|
|
172
|
-
You can [upgrade to Valkey for free](https://aiven.io/docs/products/caching/howto/upgrade-aiven-for-caching-to-valkey) before then
|
|
173
|
-
and update your existing `Redis` resources.
|
|
174
|
-
|
|
175
|
-
## Example Usage
|
|
176
|
-
|
|
177
|
-
```python
|
|
178
|
-
import pulumi
|
|
179
|
-
import pulumi_aiven as aiven
|
|
180
|
-
|
|
181
|
-
user = aiven.get_redis_user(service_name="my-service",
|
|
182
|
-
project="my-project",
|
|
183
|
-
username="user1")
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
:param _builtins.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.
|
|
188
|
-
:param _builtins.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.
|
|
189
|
-
:param _builtins.str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
138
|
+
Use this data source to access information about an existing resource.
|
|
190
139
|
"""
|
|
191
140
|
__args__ = dict()
|
|
192
141
|
__args__['project'] = project
|
|
@@ -211,31 +160,7 @@ def get_redis_user_output(project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
211
160
|
username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
212
161
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRedisUserResult]:
|
|
213
162
|
"""
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
!> **End of life notice**
|
|
217
|
-
In March 2024, a new licensing model was announced for Redis® that impacts the Aiven for Caching offering (formerly Aiven for Redis®).
|
|
218
|
-
Aiven for Caching is entering its end-of-life cycle to comply with Redis's copyright and license agreements.
|
|
219
|
-
From **February 15th, 2025**, it will not be possible to start a new Aiven for Caching service, but existing services up until version 7.2 will still be available until end of life.
|
|
220
|
-
From **March 31st, 2025**, Aiven for Caching will no longer be available and all existing services will be migrated to Aiven for Valkey™.
|
|
221
|
-
You can [upgrade to Valkey for free](https://aiven.io/docs/products/caching/howto/upgrade-aiven-for-caching-to-valkey) before then
|
|
222
|
-
and update your existing `Redis` resources.
|
|
223
|
-
|
|
224
|
-
## Example Usage
|
|
225
|
-
|
|
226
|
-
```python
|
|
227
|
-
import pulumi
|
|
228
|
-
import pulumi_aiven as aiven
|
|
229
|
-
|
|
230
|
-
user = aiven.get_redis_user(service_name="my-service",
|
|
231
|
-
project="my-project",
|
|
232
|
-
username="user1")
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
:param _builtins.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.
|
|
237
|
-
:param _builtins.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.
|
|
238
|
-
:param _builtins.str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
163
|
+
Use this data source to access information about an existing resource.
|
|
239
164
|
"""
|
|
240
165
|
__args__ = dict()
|
|
241
166
|
__args__['project'] = project
|
|
@@ -145,7 +145,7 @@ class GetServiceComponentResult:
|
|
|
145
145
|
@pulumi.getter
|
|
146
146
|
def usage(self) -> Optional[_builtins.str]:
|
|
147
147
|
"""
|
|
148
|
-
DNS usage name. The possible values are `disaster_recovery`, `primary` and `replica`.
|
|
148
|
+
DNS usage name. The possible values are `disaster_recovery`, `ha_replica`, `primary` and `replica`.
|
|
149
149
|
"""
|
|
150
150
|
return pulumi.get(self, "usage")
|
|
151
151
|
|
|
@@ -202,7 +202,7 @@ def get_service_component(component: Optional[_builtins.str] = None,
|
|
|
202
202
|
:param _builtins.str route: Network access route. The possible values are `dynamic`, `private`, `privatelink` and `public`.
|
|
203
203
|
:param _builtins.str service_name: Service name
|
|
204
204
|
:param _builtins.bool ssl: Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
|
|
205
|
-
:param _builtins.str usage: DNS usage name. The possible values are `disaster_recovery`, `primary` and `replica`.
|
|
205
|
+
:param _builtins.str usage: DNS usage name. The possible values are `disaster_recovery`, `ha_replica`, `primary` and `replica`.
|
|
206
206
|
"""
|
|
207
207
|
__args__ = dict()
|
|
208
208
|
__args__['component'] = component
|
|
@@ -260,7 +260,7 @@ def get_service_component_output(component: Optional[pulumi.Input[_builtins.str]
|
|
|
260
260
|
:param _builtins.str route: Network access route. The possible values are `dynamic`, `private`, `privatelink` and `public`.
|
|
261
261
|
:param _builtins.str service_name: Service name
|
|
262
262
|
:param _builtins.bool ssl: Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
|
|
263
|
-
:param _builtins.str usage: DNS usage name. The possible values are `disaster_recovery`, `primary` and `replica`.
|
|
263
|
+
:param _builtins.str usage: DNS usage name. The possible values are `disaster_recovery`, `ha_replica`, `primary` and `replica`.
|
|
264
264
|
"""
|
|
265
265
|
__args__ = dict()
|
|
266
266
|
__args__['component'] = component
|