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.
Files changed (102) hide show
  1. pulumi_aiven/__init__.py +4 -0
  2. pulumi_aiven/_inputs.py +3087 -602
  3. pulumi_aiven/account_team.py +6 -12
  4. pulumi_aiven/account_team_member.py +6 -12
  5. pulumi_aiven/account_team_project.py +6 -12
  6. pulumi_aiven/alloydbomni.py +72 -23
  7. pulumi_aiven/alloydbomni_database.py +26 -0
  8. pulumi_aiven/alloydbomni_user.py +135 -8
  9. pulumi_aiven/billing_group.py +225 -114
  10. pulumi_aiven/cassandra.py +46 -23
  11. pulumi_aiven/cassandra_user.py +110 -9
  12. pulumi_aiven/clickhouse.py +46 -23
  13. pulumi_aiven/clickhouse_user.py +127 -7
  14. pulumi_aiven/dragonfly.py +46 -23
  15. pulumi_aiven/flink.py +46 -23
  16. pulumi_aiven/get_account_team.py +6 -12
  17. pulumi_aiven/get_account_team_member.py +6 -12
  18. pulumi_aiven/get_account_team_project.py +6 -12
  19. pulumi_aiven/get_alloydbomni.py +43 -3
  20. pulumi_aiven/get_alloydbomni_database.py +26 -0
  21. pulumi_aiven/get_alloydbomni_user.py +27 -1
  22. pulumi_aiven/get_billing_group.py +47 -15
  23. pulumi_aiven/get_cassanda.py +17 -3
  24. pulumi_aiven/get_cassandra.py +17 -3
  25. pulumi_aiven/get_cassandra_user.py +1 -1
  26. pulumi_aiven/get_clickhouse.py +17 -3
  27. pulumi_aiven/get_clickhouse_user.py +1 -1
  28. pulumi_aiven/get_dragonfly.py +17 -3
  29. pulumi_aiven/get_flink.py +17 -3
  30. pulumi_aiven/get_grafana.py +17 -3
  31. pulumi_aiven/get_influx_db.py +12 -1
  32. pulumi_aiven/get_kafka.py +17 -3
  33. pulumi_aiven/get_kafka_connect.py +17 -3
  34. pulumi_aiven/get_kafka_mirror_maker.py +17 -3
  35. pulumi_aiven/get_kafka_user.py +1 -1
  36. pulumi_aiven/get_m3_aggregator.py +14 -112
  37. pulumi_aiven/get_m3_db.py +14 -124
  38. pulumi_aiven/get_m3db_user.py +2 -61
  39. pulumi_aiven/get_my_sql.py +17 -3
  40. pulumi_aiven/get_mysql_user.py +1 -1
  41. pulumi_aiven/get_open_search.py +17 -3
  42. pulumi_aiven/get_opensearch_user.py +1 -1
  43. pulumi_aiven/get_organization.py +1 -1
  44. pulumi_aiven/get_organization_address.py +1 -1
  45. pulumi_aiven/get_organization_application_user.py +29 -11
  46. pulumi_aiven/get_organization_billing_group.py +3 -3
  47. pulumi_aiven/get_organization_project.py +2 -8
  48. pulumi_aiven/get_organization_user_group_list.py +131 -0
  49. pulumi_aiven/get_organization_user_group_member_list.py +171 -0
  50. pulumi_aiven/get_organization_user_list.py +33 -11
  51. pulumi_aiven/get_organizational_unit.py +4 -0
  52. pulumi_aiven/get_pg.py +17 -3
  53. pulumi_aiven/get_pg_user.py +1 -1
  54. pulumi_aiven/get_redis.py +14 -128
  55. pulumi_aiven/get_redis_user.py +2 -77
  56. pulumi_aiven/get_service_component.py +3 -3
  57. pulumi_aiven/get_service_plan.py +309 -0
  58. pulumi_aiven/get_service_plan_list.py +151 -0
  59. pulumi_aiven/get_thanos.py +17 -3
  60. pulumi_aiven/get_valkey.py +17 -3
  61. pulumi_aiven/get_valkey_user.py +4 -4
  62. pulumi_aiven/governance_access.py +12 -0
  63. pulumi_aiven/grafana.py +46 -23
  64. pulumi_aiven/influx_db.py +133 -291
  65. pulumi_aiven/influxdb_database.py +14 -28
  66. pulumi_aiven/influxdb_user.py +21 -42
  67. pulumi_aiven/kafka.py +46 -23
  68. pulumi_aiven/kafka_connect.py +48 -25
  69. pulumi_aiven/kafka_mirror_maker.py +46 -23
  70. pulumi_aiven/kafka_schema.py +20 -20
  71. pulumi_aiven/kafka_user.py +110 -9
  72. pulumi_aiven/m3_aggregator.py +48 -75
  73. pulumi_aiven/m3_db.py +48 -95
  74. pulumi_aiven/m3db_user.py +2 -54
  75. pulumi_aiven/my_sql.py +46 -23
  76. pulumi_aiven/mysql_user.py +110 -9
  77. pulumi_aiven/open_search.py +46 -23
  78. pulumi_aiven/opensearch_user.py +110 -9
  79. pulumi_aiven/organization.py +6 -6
  80. pulumi_aiven/organization_address.py +12 -0
  81. pulumi_aiven/organization_application_user.py +76 -48
  82. pulumi_aiven/organization_application_user_token.py +127 -91
  83. pulumi_aiven/organization_billing_group.py +33 -21
  84. pulumi_aiven/organization_permission.py +82 -49
  85. pulumi_aiven/organization_project.py +9 -15
  86. pulumi_aiven/organization_user.py +8 -8
  87. pulumi_aiven/organization_user_group_member.py +29 -35
  88. pulumi_aiven/outputs.py +2042 -326
  89. pulumi_aiven/pg.py +112 -23
  90. pulumi_aiven/pg_user.py +109 -8
  91. pulumi_aiven/project.py +2 -24
  92. pulumi_aiven/pulumi-plugin.json +1 -1
  93. pulumi_aiven/redis.py +57 -97
  94. pulumi_aiven/redis_user.py +23 -79
  95. pulumi_aiven/thanos.py +46 -23
  96. pulumi_aiven/valkey.py +46 -23
  97. pulumi_aiven/valkey_user.py +130 -29
  98. {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/METADATA +1 -1
  99. pulumi_aiven-6.47.0a1767071446.dist-info/RECORD +193 -0
  100. pulumi_aiven-6.43.0a1756184863.dist-info/RECORD +0 -189
  101. {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/WHEEL +0 -0
  102. {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/top_level.txt +0 -0
pulumi_aiven/redis.py CHANGED
@@ -44,7 +44,7 @@ class RedisArgs:
44
44
  :param pulumi.Input[_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.
45
45
  :param pulumi.Input[_builtins.str] additional_disk_space: 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.
46
46
  :param pulumi.Input[_builtins.str] cloud_name: 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.
47
- :param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
47
+ :param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
48
48
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
49
49
  :param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
50
50
  :param pulumi.Input[_builtins.str] project_vpc_id: 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.
@@ -64,8 +64,8 @@ class RedisArgs:
64
64
  if cloud_name is not None:
65
65
  pulumi.set(__self__, "cloud_name", cloud_name)
66
66
  if disk_space is not None:
67
- warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
68
- pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
67
+ warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
68
+ pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
69
69
  if disk_space is not None:
70
70
  pulumi.set(__self__, "disk_space", disk_space)
71
71
  if maintenance_window_dow is not None:
@@ -76,6 +76,9 @@ class RedisArgs:
76
76
  pulumi.set(__self__, "project_vpc_id", project_vpc_id)
77
77
  if redis is not None:
78
78
  pulumi.set(__self__, "redis", redis)
79
+ if redis_user_config is not None:
80
+ warnings.warn("""This property is deprecated.""", DeprecationWarning)
81
+ pulumi.log.warn("""redis_user_config is deprecated: This property is deprecated.""")
79
82
  if redis_user_config is not None:
80
83
  pulumi.set(__self__, "redis_user_config", redis_user_config)
81
84
  if service_integrations is not None:
@@ -151,10 +154,10 @@ class RedisArgs:
151
154
 
152
155
  @_builtins.property
153
156
  @pulumi.getter(name="diskSpace")
154
- @_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
157
+ @_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
155
158
  def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
156
159
  """
157
- Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
160
+ Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
158
161
  """
159
162
  return pulumi.get(self, "disk_space")
160
163
 
@@ -212,6 +215,7 @@ class RedisArgs:
212
215
 
213
216
  @_builtins.property
214
217
  @pulumi.getter(name="redisUserConfig")
218
+ @_utilities.deprecated("""This property is deprecated.""")
215
219
  def redis_user_config(self) -> Optional[pulumi.Input['RedisRedisUserConfigArgs']]:
216
220
  """
217
221
  Redis user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
@@ -295,6 +299,7 @@ class _RedisState:
295
299
  disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
296
300
  disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
297
301
  maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
302
+ maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
298
303
  maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
299
304
  plan: Optional[pulumi.Input[_builtins.str]] = None,
300
305
  project: Optional[pulumi.Input[_builtins.str]] = None,
@@ -319,12 +324,13 @@ class _RedisState:
319
324
  :param pulumi.Input[_builtins.str] additional_disk_space: 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.
320
325
  :param pulumi.Input[_builtins.str] cloud_name: 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.
321
326
  :param pulumi.Input[Sequence[pulumi.Input['RedisComponentArgs']]] components: Service component information objects
322
- :param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
327
+ :param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
323
328
  :param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
324
329
  :param pulumi.Input[_builtins.str] disk_space_default: 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`
325
330
  :param pulumi.Input[_builtins.str] disk_space_step: 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.
326
- :param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
331
+ :param pulumi.Input[_builtins.str] disk_space_used: The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
327
332
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
333
+ :param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
328
334
  :param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
329
335
  :param pulumi.Input[_builtins.str] plan: 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).
330
336
  :param pulumi.Input[_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.
@@ -351,8 +357,8 @@ class _RedisState:
351
357
  if components is not None:
352
358
  pulumi.set(__self__, "components", components)
353
359
  if disk_space is not None:
354
- warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
355
- pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
360
+ warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
361
+ pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
356
362
  if disk_space is not None:
357
363
  pulumi.set(__self__, "disk_space", disk_space)
358
364
  if disk_space_cap is not None:
@@ -361,13 +367,12 @@ class _RedisState:
361
367
  pulumi.set(__self__, "disk_space_default", disk_space_default)
362
368
  if disk_space_step is not None:
363
369
  pulumi.set(__self__, "disk_space_step", disk_space_step)
364
- if disk_space_used is not None:
365
- warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
366
- pulumi.log.warn("""disk_space_used is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
367
370
  if disk_space_used is not None:
368
371
  pulumi.set(__self__, "disk_space_used", disk_space_used)
369
372
  if maintenance_window_dow is not None:
370
373
  pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
374
+ if maintenance_window_enabled is not None:
375
+ pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
371
376
  if maintenance_window_time is not None:
372
377
  pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
373
378
  if plan is not None:
@@ -378,6 +383,9 @@ class _RedisState:
378
383
  pulumi.set(__self__, "project_vpc_id", project_vpc_id)
379
384
  if redis is not None:
380
385
  pulumi.set(__self__, "redis", redis)
386
+ if redis_user_config is not None:
387
+ warnings.warn("""This property is deprecated.""", DeprecationWarning)
388
+ pulumi.log.warn("""redis_user_config is deprecated: This property is deprecated.""")
381
389
  if redis_user_config is not None:
382
390
  pulumi.set(__self__, "redis_user_config", redis_user_config)
383
391
  if service_host is not None:
@@ -445,10 +453,10 @@ class _RedisState:
445
453
 
446
454
  @_builtins.property
447
455
  @pulumi.getter(name="diskSpace")
448
- @_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
456
+ @_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
449
457
  def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
450
458
  """
451
- Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
459
+ Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
452
460
  """
453
461
  return pulumi.get(self, "disk_space")
454
462
 
@@ -494,10 +502,9 @@ class _RedisState:
494
502
 
495
503
  @_builtins.property
496
504
  @pulumi.getter(name="diskSpaceUsed")
497
- @_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
498
505
  def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
499
506
  """
500
- Disk space that service is currently using
507
+ The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
501
508
  """
502
509
  return pulumi.get(self, "disk_space_used")
503
510
 
@@ -517,6 +524,18 @@ class _RedisState:
517
524
  def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
518
525
  pulumi.set(self, "maintenance_window_dow", value)
519
526
 
527
+ @_builtins.property
528
+ @pulumi.getter(name="maintenanceWindowEnabled")
529
+ def maintenance_window_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
530
+ """
531
+ Indicates whether the maintenance window is currently enabled for this service.
532
+ """
533
+ return pulumi.get(self, "maintenance_window_enabled")
534
+
535
+ @maintenance_window_enabled.setter
536
+ def maintenance_window_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
537
+ pulumi.set(self, "maintenance_window_enabled", value)
538
+
520
539
  @_builtins.property
521
540
  @pulumi.getter(name="maintenanceWindowTime")
522
541
  def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -579,6 +598,7 @@ class _RedisState:
579
598
 
580
599
  @_builtins.property
581
600
  @pulumi.getter(name="redisUserConfig")
601
+ @_utilities.deprecated("""This property is deprecated.""")
582
602
  def redis_user_config(self) -> Optional[pulumi.Input['RedisRedisUserConfigArgs']]:
583
603
  """
584
604
  Redis user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
@@ -767,48 +787,12 @@ class Redis(pulumi.CustomResource):
767
787
  termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
768
788
  __props__=None):
769
789
  """
770
- Creates and manages and [Aiven for Caching](https://aiven.io/docs/products/caching) (formerly known as Aiven for Redis®) service.
771
-
772
- !> **End of life notice**
773
- In March 2024, a new licensing model was announced for Redis® that impacts the Aiven for Caching offering (formerly Aiven for Redis®).
774
- Aiven for Caching is entering its end-of-life cycle to comply with Redis's copyright and license agreements.
775
- 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.
776
- From **March 31st, 2025**, Aiven for Caching will no longer be available and all existing services will be migrated to Aiven for Valkey™.
777
- You can [upgrade to Valkey for free](https://aiven.io/docs/products/caching/howto/upgrade-aiven-for-caching-to-valkey) before then
778
- and update your existing `Redis` resources.
779
-
780
- ## Example Usage
781
-
782
- ```python
783
- import pulumi
784
- import pulumi_aiven as aiven
785
-
786
- redis1 = aiven.Redis("redis1",
787
- project=pr1["project"],
788
- cloud_name="google-europe-west1",
789
- plan="business-4",
790
- service_name="my-redis1",
791
- maintenance_window_dow="monday",
792
- maintenance_window_time="10:00:00",
793
- redis_user_config={
794
- "redis_maxmemory_policy": "allkeys-random",
795
- "public_access": {
796
- "redis": True,
797
- },
798
- })
799
- ```
800
-
801
- ## Import
802
-
803
- ```sh
804
- $ pulumi import aiven:index/redis:Redis redis1 project/service_name
805
- ```
806
-
790
+ Create a Redis resource with the given unique name, props, and options.
807
791
  :param str resource_name: The name of the resource.
808
792
  :param pulumi.ResourceOptions opts: Options for the resource.
809
793
  :param pulumi.Input[_builtins.str] additional_disk_space: 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.
810
794
  :param pulumi.Input[_builtins.str] cloud_name: 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.
811
- :param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
795
+ :param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
812
796
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
813
797
  :param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
814
798
  :param pulumi.Input[_builtins.str] plan: 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).
@@ -830,43 +814,7 @@ class Redis(pulumi.CustomResource):
830
814
  args: RedisArgs,
831
815
  opts: Optional[pulumi.ResourceOptions] = None):
832
816
  """
833
- Creates and manages and [Aiven for Caching](https://aiven.io/docs/products/caching) (formerly known as Aiven for Redis®) service.
834
-
835
- !> **End of life notice**
836
- In March 2024, a new licensing model was announced for Redis® that impacts the Aiven for Caching offering (formerly Aiven for Redis®).
837
- Aiven for Caching is entering its end-of-life cycle to comply with Redis's copyright and license agreements.
838
- 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.
839
- From **March 31st, 2025**, Aiven for Caching will no longer be available and all existing services will be migrated to Aiven for Valkey™.
840
- You can [upgrade to Valkey for free](https://aiven.io/docs/products/caching/howto/upgrade-aiven-for-caching-to-valkey) before then
841
- and update your existing `Redis` resources.
842
-
843
- ## Example Usage
844
-
845
- ```python
846
- import pulumi
847
- import pulumi_aiven as aiven
848
-
849
- redis1 = aiven.Redis("redis1",
850
- project=pr1["project"],
851
- cloud_name="google-europe-west1",
852
- plan="business-4",
853
- service_name="my-redis1",
854
- maintenance_window_dow="monday",
855
- maintenance_window_time="10:00:00",
856
- redis_user_config={
857
- "redis_maxmemory_policy": "allkeys-random",
858
- "public_access": {
859
- "redis": True,
860
- },
861
- })
862
- ```
863
-
864
- ## Import
865
-
866
- ```sh
867
- $ pulumi import aiven:index/redis:Redis redis1 project/service_name
868
- ```
869
-
817
+ Create a Redis resource with the given unique name, props, and options.
870
818
  :param str resource_name: The name of the resource.
871
819
  :param RedisArgs args: The arguments to use to populate this resource's properties.
872
820
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -934,6 +882,7 @@ class Redis(pulumi.CustomResource):
934
882
  __props__.__dict__["disk_space_default"] = None
935
883
  __props__.__dict__["disk_space_step"] = None
936
884
  __props__.__dict__["disk_space_used"] = None
885
+ __props__.__dict__["maintenance_window_enabled"] = None
937
886
  __props__.__dict__["service_host"] = None
938
887
  __props__.__dict__["service_password"] = None
939
888
  __props__.__dict__["service_port"] = None
@@ -962,6 +911,7 @@ class Redis(pulumi.CustomResource):
962
911
  disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
963
912
  disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
964
913
  maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
914
+ maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
965
915
  maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
966
916
  plan: Optional[pulumi.Input[_builtins.str]] = None,
967
917
  project: Optional[pulumi.Input[_builtins.str]] = None,
@@ -991,12 +941,13 @@ class Redis(pulumi.CustomResource):
991
941
  :param pulumi.Input[_builtins.str] additional_disk_space: 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.
992
942
  :param pulumi.Input[_builtins.str] cloud_name: 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.
993
943
  :param pulumi.Input[Sequence[pulumi.Input[Union['RedisComponentArgs', 'RedisComponentArgsDict']]]] components: Service component information objects
994
- :param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
944
+ :param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
995
945
  :param pulumi.Input[_builtins.str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
996
946
  :param pulumi.Input[_builtins.str] disk_space_default: 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`
997
947
  :param pulumi.Input[_builtins.str] disk_space_step: 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.
998
- :param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
948
+ :param pulumi.Input[_builtins.str] disk_space_used: The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
999
949
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
950
+ :param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
1000
951
  :param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
1001
952
  :param pulumi.Input[_builtins.str] plan: 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).
1002
953
  :param pulumi.Input[_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.
@@ -1029,6 +980,7 @@ class Redis(pulumi.CustomResource):
1029
980
  __props__.__dict__["disk_space_step"] = disk_space_step
1030
981
  __props__.__dict__["disk_space_used"] = disk_space_used
1031
982
  __props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
983
+ __props__.__dict__["maintenance_window_enabled"] = maintenance_window_enabled
1032
984
  __props__.__dict__["maintenance_window_time"] = maintenance_window_time
1033
985
  __props__.__dict__["plan"] = plan
1034
986
  __props__.__dict__["project"] = project
@@ -1076,10 +1028,10 @@ class Redis(pulumi.CustomResource):
1076
1028
 
1077
1029
  @_builtins.property
1078
1030
  @pulumi.getter(name="diskSpace")
1079
- @_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
1031
+ @_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
1080
1032
  def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
1081
1033
  """
1082
- Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1034
+ Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
1083
1035
  """
1084
1036
  return pulumi.get(self, "disk_space")
1085
1037
 
@@ -1109,10 +1061,9 @@ class Redis(pulumi.CustomResource):
1109
1061
 
1110
1062
  @_builtins.property
1111
1063
  @pulumi.getter(name="diskSpaceUsed")
1112
- @_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
1113
1064
  def disk_space_used(self) -> pulumi.Output[_builtins.str]:
1114
1065
  """
1115
- Disk space that service is currently using
1066
+ The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
1116
1067
  """
1117
1068
  return pulumi.get(self, "disk_space_used")
1118
1069
 
@@ -1124,6 +1075,14 @@ class Redis(pulumi.CustomResource):
1124
1075
  """
1125
1076
  return pulumi.get(self, "maintenance_window_dow")
1126
1077
 
1078
+ @_builtins.property
1079
+ @pulumi.getter(name="maintenanceWindowEnabled")
1080
+ def maintenance_window_enabled(self) -> pulumi.Output[_builtins.bool]:
1081
+ """
1082
+ Indicates whether the maintenance window is currently enabled for this service.
1083
+ """
1084
+ return pulumi.get(self, "maintenance_window_enabled")
1085
+
1127
1086
  @_builtins.property
1128
1087
  @pulumi.getter(name="maintenanceWindowTime")
1129
1088
  def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
@@ -1166,6 +1125,7 @@ class Redis(pulumi.CustomResource):
1166
1125
 
1167
1126
  @_builtins.property
1168
1127
  @pulumi.getter(name="redisUserConfig")
1128
+ @_utilities.deprecated("""This property is deprecated.""")
1169
1129
  def redis_user_config(self) -> pulumi.Output[Optional['outputs.RedisRedisUserConfig']]:
1170
1130
  """
1171
1131
  Redis user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
@@ -33,10 +33,10 @@ class RedisUserArgs:
33
33
  :param pulumi.Input[_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.
34
34
  :param pulumi.Input[_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.
35
35
  :param pulumi.Input[_builtins.str] password: The password of the Redis User.
36
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_categories: Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
36
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_categories: Defines command category rules. The field is required with `redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
37
37
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_channels: Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
38
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_commands: 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.
39
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_keys: Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
38
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_commands: 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.
39
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_keys: Defines key access rules. The field is required with `redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
40
40
  """
41
41
  pulumi.set(__self__, "project", project)
42
42
  pulumi.set(__self__, "service_name", service_name)
@@ -104,7 +104,7 @@ class RedisUserArgs:
104
104
  @pulumi.getter(name="redisAclCategories")
105
105
  def redis_acl_categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
106
106
  """
107
- Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
107
+ Defines command category rules. The field is required with `redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
108
108
  """
109
109
  return pulumi.get(self, "redis_acl_categories")
110
110
 
@@ -128,7 +128,7 @@ class RedisUserArgs:
128
128
  @pulumi.getter(name="redisAclCommands")
129
129
  def redis_acl_commands(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
130
130
  """
131
- 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.
131
+ 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.
132
132
  """
133
133
  return pulumi.get(self, "redis_acl_commands")
134
134
 
@@ -140,7 +140,7 @@ class RedisUserArgs:
140
140
  @pulumi.getter(name="redisAclKeys")
141
141
  def redis_acl_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
142
142
  """
143
- Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
143
+ Defines key access rules. The field is required with `redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
144
144
  """
145
145
  return pulumi.get(self, "redis_acl_keys")
146
146
 
@@ -165,10 +165,10 @@ class _RedisUserState:
165
165
  Input properties used for looking up and filtering RedisUser resources.
166
166
  :param pulumi.Input[_builtins.str] password: The password of the Redis User.
167
167
  :param pulumi.Input[_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.
168
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_categories: Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
168
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_categories: Defines command category rules. The field is required with `redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
169
169
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_channels: Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
170
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_commands: 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.
171
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_keys: Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
170
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_commands: 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.
171
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_keys: Defines key access rules. The field is required with `redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
172
172
  :param pulumi.Input[_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.
173
173
  :param pulumi.Input[_builtins.str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
174
174
  :param pulumi.Input[_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.
@@ -220,7 +220,7 @@ class _RedisUserState:
220
220
  @pulumi.getter(name="redisAclCategories")
221
221
  def redis_acl_categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
222
222
  """
223
- Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
223
+ Defines command category rules. The field is required with `redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
224
224
  """
225
225
  return pulumi.get(self, "redis_acl_categories")
226
226
 
@@ -244,7 +244,7 @@ class _RedisUserState:
244
244
  @pulumi.getter(name="redisAclCommands")
245
245
  def redis_acl_commands(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
246
246
  """
247
- 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.
247
+ 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.
248
248
  """
249
249
  return pulumi.get(self, "redis_acl_commands")
250
250
 
@@ -256,7 +256,7 @@ class _RedisUserState:
256
256
  @pulumi.getter(name="redisAclKeys")
257
257
  def redis_acl_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
258
258
  """
259
- Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
259
+ Defines key access rules. The field is required with `redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
260
260
  """
261
261
  return pulumi.get(self, "redis_acl_keys")
262
262
 
@@ -317,43 +317,15 @@ class RedisUser(pulumi.CustomResource):
317
317
  username: Optional[pulumi.Input[_builtins.str]] = None,
318
318
  __props__=None):
319
319
  """
320
- Creates and manages an [Aiven for Caching](https://aiven.io/docs/products/caching) (formerly known as Aiven for Redis®) service user.
321
-
322
- !> **End of life notice**
323
- In March 2024, a new licensing model was announced for Redis® that impacts the Aiven for Caching offering (formerly Aiven for Redis®).
324
- Aiven for Caching is entering its end-of-life cycle to comply with Redis's copyright and license agreements.
325
- 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.
326
- From **March 31st, 2025**, Aiven for Caching will no longer be available and all existing services will be migrated to Aiven for Valkey™.
327
- You can [upgrade to Valkey for free](https://aiven.io/docs/products/caching/howto/upgrade-aiven-for-caching-to-valkey) before then
328
- and update your existing `Redis` resources.
329
-
330
- ## Example Usage
331
-
332
- ```python
333
- import pulumi
334
- import pulumi_aiven as aiven
335
-
336
- foo = aiven.RedisUser("foo",
337
- service_name=bar["serviceName"],
338
- project="my-project",
339
- username="user-1",
340
- password="Test$1234")
341
- ```
342
-
343
- ## Import
344
-
345
- ```sh
346
- $ pulumi import aiven:index/redisUser:RedisUser foo PROJECT/SERVICE_NAME/USERNAME
347
- ```
348
-
320
+ Create a RedisUser resource with the given unique name, props, and options.
349
321
  :param str resource_name: The name of the resource.
350
322
  :param pulumi.ResourceOptions opts: Options for the resource.
351
323
  :param pulumi.Input[_builtins.str] password: The password of the Redis User.
352
324
  :param pulumi.Input[_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.
353
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_categories: Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
325
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_categories: Defines command category rules. The field is required with `redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
354
326
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_channels: Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
355
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_commands: 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.
356
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_keys: Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
327
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_commands: 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.
328
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_keys: Defines key access rules. The field is required with `redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
357
329
  :param pulumi.Input[_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.
358
330
  :param pulumi.Input[_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.
359
331
  """
@@ -364,35 +336,7 @@ class RedisUser(pulumi.CustomResource):
364
336
  args: RedisUserArgs,
365
337
  opts: Optional[pulumi.ResourceOptions] = None):
366
338
  """
367
- Creates and manages an [Aiven for Caching](https://aiven.io/docs/products/caching) (formerly known as Aiven for Redis®) service user.
368
-
369
- !> **End of life notice**
370
- In March 2024, a new licensing model was announced for Redis® that impacts the Aiven for Caching offering (formerly Aiven for Redis®).
371
- Aiven for Caching is entering its end-of-life cycle to comply with Redis's copyright and license agreements.
372
- 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.
373
- From **March 31st, 2025**, Aiven for Caching will no longer be available and all existing services will be migrated to Aiven for Valkey™.
374
- You can [upgrade to Valkey for free](https://aiven.io/docs/products/caching/howto/upgrade-aiven-for-caching-to-valkey) before then
375
- and update your existing `Redis` resources.
376
-
377
- ## Example Usage
378
-
379
- ```python
380
- import pulumi
381
- import pulumi_aiven as aiven
382
-
383
- foo = aiven.RedisUser("foo",
384
- service_name=bar["serviceName"],
385
- project="my-project",
386
- username="user-1",
387
- password="Test$1234")
388
- ```
389
-
390
- ## Import
391
-
392
- ```sh
393
- $ pulumi import aiven:index/redisUser:RedisUser foo PROJECT/SERVICE_NAME/USERNAME
394
- ```
395
-
339
+ Create a RedisUser resource with the given unique name, props, and options.
396
340
  :param str resource_name: The name of the resource.
397
341
  :param RedisUserArgs args: The arguments to use to populate this resource's properties.
398
342
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -470,10 +414,10 @@ class RedisUser(pulumi.CustomResource):
470
414
  :param pulumi.ResourceOptions opts: Options for the resource.
471
415
  :param pulumi.Input[_builtins.str] password: The password of the Redis User.
472
416
  :param pulumi.Input[_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.
473
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_categories: Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
417
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_categories: Defines command category rules. The field is required with `redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
474
418
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_channels: Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
475
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_commands: 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.
476
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_keys: Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
419
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_commands: 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.
420
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] redis_acl_keys: Defines key access rules. The field is required with `redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
477
421
  :param pulumi.Input[_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.
478
422
  :param pulumi.Input[_builtins.str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
479
423
  :param pulumi.Input[_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.
@@ -513,7 +457,7 @@ class RedisUser(pulumi.CustomResource):
513
457
  @pulumi.getter(name="redisAclCategories")
514
458
  def redis_acl_categories(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
515
459
  """
516
- Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
460
+ Defines command category rules. The field is required with `redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
517
461
  """
518
462
  return pulumi.get(self, "redis_acl_categories")
519
463
 
@@ -529,7 +473,7 @@ class RedisUser(pulumi.CustomResource):
529
473
  @pulumi.getter(name="redisAclCommands")
530
474
  def redis_acl_commands(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
531
475
  """
532
- 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.
476
+ 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.
533
477
  """
534
478
  return pulumi.get(self, "redis_acl_commands")
535
479
 
@@ -537,7 +481,7 @@ class RedisUser(pulumi.CustomResource):
537
481
  @pulumi.getter(name="redisAclKeys")
538
482
  def redis_acl_keys(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
539
483
  """
540
- Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
484
+ Defines key access rules. The field is required with `redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
541
485
  """
542
486
  return pulumi.get(self, "redis_acl_keys")
543
487