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/m3_db.py CHANGED
@@ -44,7 +44,7 @@ class M3DbArgs:
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['M3DbM3dbArgs'] m3db: Values provided by the M3DB server.
49
49
  :param pulumi.Input['M3DbM3dbUserConfigArgs'] m3db_user_config: M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
50
50
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
@@ -64,8 +64,8 @@ class M3DbArgs:
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 m3db is not None:
@@ -154,10 +154,10 @@ class M3DbArgs:
154
154
 
155
155
  @_builtins.property
156
156
  @pulumi.getter(name="diskSpace")
157
- @_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.""")
158
158
  def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
159
159
  """
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.
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.
161
161
  """
162
162
  return pulumi.get(self, "disk_space")
163
163
 
@@ -301,6 +301,7 @@ class _M3DbState:
301
301
  m3db: Optional[pulumi.Input['M3DbM3dbArgs']] = None,
302
302
  m3db_user_config: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']] = None,
303
303
  maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
304
+ maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
304
305
  maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
305
306
  plan: Optional[pulumi.Input[_builtins.str]] = None,
306
307
  project: Optional[pulumi.Input[_builtins.str]] = None,
@@ -323,14 +324,15 @@ class _M3DbState:
323
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.
324
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.
325
326
  :param pulumi.Input[Sequence[pulumi.Input['M3DbComponentArgs']]] components: Service component information objects
326
- :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.
327
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.
328
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`
329
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.
330
- :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`).
331
332
  :param pulumi.Input['M3DbM3dbArgs'] m3db: Values provided by the M3DB server.
332
333
  :param pulumi.Input['M3DbM3dbUserConfigArgs'] m3db_user_config: M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
333
334
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
335
+ :param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
334
336
  :param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
335
337
  :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).
336
338
  :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.
@@ -355,8 +357,8 @@ class _M3DbState:
355
357
  if components is not None:
356
358
  pulumi.set(__self__, "components", components)
357
359
  if disk_space is not None:
358
- 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)
359
- 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.""")
360
362
  if disk_space is not None:
361
363
  pulumi.set(__self__, "disk_space", disk_space)
362
364
  if disk_space_cap is not None:
@@ -365,9 +367,6 @@ class _M3DbState:
365
367
  pulumi.set(__self__, "disk_space_default", disk_space_default)
366
368
  if disk_space_step is not None:
367
369
  pulumi.set(__self__, "disk_space_step", disk_space_step)
368
- if disk_space_used is not None:
369
- 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)
370
- 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.""")
371
370
  if disk_space_used is not None:
372
371
  pulumi.set(__self__, "disk_space_used", disk_space_used)
373
372
  if m3db is not None:
@@ -379,6 +378,8 @@ class _M3DbState:
379
378
  pulumi.set(__self__, "m3db_user_config", m3db_user_config)
380
379
  if maintenance_window_dow is not None:
381
380
  pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
381
+ if maintenance_window_enabled is not None:
382
+ pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
382
383
  if maintenance_window_time is not None:
383
384
  pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
384
385
  if plan is not None:
@@ -452,10 +453,10 @@ class _M3DbState:
452
453
 
453
454
  @_builtins.property
454
455
  @pulumi.getter(name="diskSpace")
455
- @_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.""")
456
457
  def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
457
458
  """
458
- 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.
459
460
  """
460
461
  return pulumi.get(self, "disk_space")
461
462
 
@@ -501,10 +502,9 @@ class _M3DbState:
501
502
 
502
503
  @_builtins.property
503
504
  @pulumi.getter(name="diskSpaceUsed")
504
- @_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.""")
505
505
  def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
506
506
  """
507
- 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`).
508
508
  """
509
509
  return pulumi.get(self, "disk_space_used")
510
510
 
@@ -549,6 +549,18 @@ class _M3DbState:
549
549
  def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
550
550
  pulumi.set(self, "maintenance_window_dow", value)
551
551
 
552
+ @_builtins.property
553
+ @pulumi.getter(name="maintenanceWindowEnabled")
554
+ def maintenance_window_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
555
+ """
556
+ Indicates whether the maintenance window is currently enabled for this service.
557
+ """
558
+ return pulumi.get(self, "maintenance_window_enabled")
559
+
560
+ @maintenance_window_enabled.setter
561
+ def maintenance_window_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
562
+ pulumi.set(self, "maintenance_window_enabled", value)
563
+
552
564
  @_builtins.property
553
565
  @pulumi.getter(name="maintenanceWindowTime")
554
566
  def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -775,47 +787,12 @@ class M3Db(pulumi.CustomResource):
775
787
  termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
776
788
  __props__=None):
777
789
  """
778
- Creates and manages an [Aiven for M3](https://aiven.io/docs/products/m3db) service.
779
-
780
- !> **End of life notice**
781
- **After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
782
- You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
783
- To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
784
- before the end of life date.
785
-
786
- ## Example Usage
787
-
788
- ```python
789
- import pulumi
790
- import pulumi_aiven as aiven
791
-
792
- example_m3db = aiven.M3Db("example_m3db",
793
- project=example_project["project"],
794
- cloud_name="google-europe-west1",
795
- plan="business-8",
796
- service_name="example-m3db-service",
797
- maintenance_window_dow="monday",
798
- maintenance_window_time="10:00:00",
799
- m3db_user_config={
800
- "m3db_version": "1.1",
801
- "namespaces": [{
802
- "name": "example-namespace",
803
- "type": "unaggregated",
804
- }],
805
- })
806
- ```
807
-
808
- ## Import
809
-
810
- ```sh
811
- $ pulumi import aiven:index/m3Db:M3Db example_m3db PROJECT/SERVICE_NAME
812
- ```
813
-
790
+ Create a M3Db resource with the given unique name, props, and options.
814
791
  :param str resource_name: The name of the resource.
815
792
  :param pulumi.ResourceOptions opts: Options for the resource.
816
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.
817
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.
818
- :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.
819
796
  :param pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']] m3db: Values provided by the M3DB server.
820
797
  :param pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']] m3db_user_config: M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
821
798
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
@@ -837,42 +814,7 @@ class M3Db(pulumi.CustomResource):
837
814
  args: M3DbArgs,
838
815
  opts: Optional[pulumi.ResourceOptions] = None):
839
816
  """
840
- Creates and manages an [Aiven for M3](https://aiven.io/docs/products/m3db) service.
841
-
842
- !> **End of life notice**
843
- **After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
844
- You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
845
- To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
846
- before the end of life date.
847
-
848
- ## Example Usage
849
-
850
- ```python
851
- import pulumi
852
- import pulumi_aiven as aiven
853
-
854
- example_m3db = aiven.M3Db("example_m3db",
855
- project=example_project["project"],
856
- cloud_name="google-europe-west1",
857
- plan="business-8",
858
- service_name="example-m3db-service",
859
- maintenance_window_dow="monday",
860
- maintenance_window_time="10:00:00",
861
- m3db_user_config={
862
- "m3db_version": "1.1",
863
- "namespaces": [{
864
- "name": "example-namespace",
865
- "type": "unaggregated",
866
- }],
867
- })
868
- ```
869
-
870
- ## Import
871
-
872
- ```sh
873
- $ pulumi import aiven:index/m3Db:M3Db example_m3db PROJECT/SERVICE_NAME
874
- ```
875
-
817
+ Create a M3Db resource with the given unique name, props, and options.
876
818
  :param str resource_name: The name of the resource.
877
819
  :param M3DbArgs args: The arguments to use to populate this resource's properties.
878
820
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -940,6 +882,7 @@ class M3Db(pulumi.CustomResource):
940
882
  __props__.__dict__["disk_space_default"] = None
941
883
  __props__.__dict__["disk_space_step"] = None
942
884
  __props__.__dict__["disk_space_used"] = None
885
+ __props__.__dict__["maintenance_window_enabled"] = None
943
886
  __props__.__dict__["service_host"] = None
944
887
  __props__.__dict__["service_password"] = None
945
888
  __props__.__dict__["service_port"] = None
@@ -970,6 +913,7 @@ class M3Db(pulumi.CustomResource):
970
913
  m3db: Optional[pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']]] = None,
971
914
  m3db_user_config: Optional[pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']]] = None,
972
915
  maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
916
+ maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
973
917
  maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
974
918
  plan: Optional[pulumi.Input[_builtins.str]] = None,
975
919
  project: Optional[pulumi.Input[_builtins.str]] = None,
@@ -997,14 +941,15 @@ class M3Db(pulumi.CustomResource):
997
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.
998
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.
999
943
  :param pulumi.Input[Sequence[pulumi.Input[Union['M3DbComponentArgs', 'M3DbComponentArgsDict']]]] components: Service component information objects
1000
- :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.
1001
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.
1002
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`
1003
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.
1004
- :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`).
1005
949
  :param pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']] m3db: Values provided by the M3DB server.
1006
950
  :param pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']] m3db_user_config: M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
1007
951
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
952
+ :param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
1008
953
  :param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
1009
954
  :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).
1010
955
  :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.
@@ -1037,6 +982,7 @@ class M3Db(pulumi.CustomResource):
1037
982
  __props__.__dict__["m3db"] = m3db
1038
983
  __props__.__dict__["m3db_user_config"] = m3db_user_config
1039
984
  __props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
985
+ __props__.__dict__["maintenance_window_enabled"] = maintenance_window_enabled
1040
986
  __props__.__dict__["maintenance_window_time"] = maintenance_window_time
1041
987
  __props__.__dict__["plan"] = plan
1042
988
  __props__.__dict__["project"] = project
@@ -1082,10 +1028,10 @@ class M3Db(pulumi.CustomResource):
1082
1028
 
1083
1029
  @_builtins.property
1084
1030
  @pulumi.getter(name="diskSpace")
1085
- @_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.""")
1086
1032
  def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
1087
1033
  """
1088
- 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.
1089
1035
  """
1090
1036
  return pulumi.get(self, "disk_space")
1091
1037
 
@@ -1115,10 +1061,9 @@ class M3Db(pulumi.CustomResource):
1115
1061
 
1116
1062
  @_builtins.property
1117
1063
  @pulumi.getter(name="diskSpaceUsed")
1118
- @_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.""")
1119
1064
  def disk_space_used(self) -> pulumi.Output[_builtins.str]:
1120
1065
  """
1121
- 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`).
1122
1067
  """
1123
1068
  return pulumi.get(self, "disk_space_used")
1124
1069
 
@@ -1147,6 +1092,14 @@ class M3Db(pulumi.CustomResource):
1147
1092
  """
1148
1093
  return pulumi.get(self, "maintenance_window_dow")
1149
1094
 
1095
+ @_builtins.property
1096
+ @pulumi.getter(name="maintenanceWindowEnabled")
1097
+ def maintenance_window_enabled(self) -> pulumi.Output[_builtins.bool]:
1098
+ """
1099
+ Indicates whether the maintenance window is currently enabled for this service.
1100
+ """
1101
+ return pulumi.get(self, "maintenance_window_enabled")
1102
+
1150
1103
  @_builtins.property
1151
1104
  @pulumi.getter(name="maintenanceWindowTime")
1152
1105
  def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
pulumi_aiven/m3db_user.py CHANGED
@@ -185,33 +185,7 @@ class M3dbUser(pulumi.CustomResource):
185
185
  username: Optional[pulumi.Input[_builtins.str]] = None,
186
186
  __props__=None):
187
187
  """
188
- Creates and manages an Aiven for M3 service user.
189
-
190
- !> **End of life notice**
191
- **After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
192
- You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
193
- To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
194
- before the end of life date.
195
-
196
- ## Example Usage
197
-
198
- ```python
199
- import pulumi
200
- import pulumi_aiven as aiven
201
-
202
- example_service_user = aiven.M3dbUser("example_service_user",
203
- service_name=example_m3db["serviceName"],
204
- project=example_project["project"],
205
- username="example-m3db-user",
206
- password=service_user_pw)
207
- ```
208
-
209
- ## Import
210
-
211
- ```sh
212
- $ pulumi import aiven:index/m3dbUser:M3dbUser example_service_user PROJECT/SERVICE_NAME/USERNAME
213
- ```
214
-
188
+ Create a M3dbUser resource with the given unique name, props, and options.
215
189
  :param str resource_name: The name of the resource.
216
190
  :param pulumi.ResourceOptions opts: Options for the resource.
217
191
  :param pulumi.Input[_builtins.str] password: The M3DB service user's password.
@@ -226,33 +200,7 @@ class M3dbUser(pulumi.CustomResource):
226
200
  args: M3dbUserArgs,
227
201
  opts: Optional[pulumi.ResourceOptions] = None):
228
202
  """
229
- Creates and manages an Aiven for M3 service user.
230
-
231
- !> **End of life notice**
232
- **After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
233
- You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
234
- To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
235
- before the end of life date.
236
-
237
- ## Example Usage
238
-
239
- ```python
240
- import pulumi
241
- import pulumi_aiven as aiven
242
-
243
- example_service_user = aiven.M3dbUser("example_service_user",
244
- service_name=example_m3db["serviceName"],
245
- project=example_project["project"],
246
- username="example-m3db-user",
247
- password=service_user_pw)
248
- ```
249
-
250
- ## Import
251
-
252
- ```sh
253
- $ pulumi import aiven:index/m3dbUser:M3dbUser example_service_user PROJECT/SERVICE_NAME/USERNAME
254
- ```
255
-
203
+ Create a M3dbUser resource with the given unique name, props, and options.
256
204
  :param str resource_name: The name of the resource.
257
205
  :param M3dbUserArgs args: The arguments to use to populate this resource's properties.
258
206
  :param pulumi.ResourceOptions opts: Options for the resource.
pulumi_aiven/my_sql.py CHANGED
@@ -44,7 +44,7 @@ class MySqlArgs:
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['MySqlMysqlArgs'] mysql: MySQL server-provided values.
@@ -64,8 +64,8 @@ class MySqlArgs:
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:
@@ -151,10 +151,10 @@ class MySqlArgs:
151
151
 
152
152
  @_builtins.property
153
153
  @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.""")
154
+ @_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
155
155
  def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
156
156
  """
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.
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. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
158
158
  """
159
159
  return pulumi.get(self, "disk_space")
160
160
 
@@ -295,6 +295,7 @@ class _MySqlState:
295
295
  disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
296
296
  disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
297
297
  maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
298
+ maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
298
299
  maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
299
300
  mysql: Optional[pulumi.Input['MySqlMysqlArgs']] = None,
300
301
  mysql_user_config: Optional[pulumi.Input['MySqlMysqlUserConfigArgs']] = None,
@@ -319,12 +320,13 @@ class _MySqlState:
319
320
  :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
321
  :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
322
  :param pulumi.Input[Sequence[pulumi.Input['MySqlComponentArgs']]] 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.
323
+ :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
324
  :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
325
  :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
326
  :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
327
+ :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
328
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
329
+ :param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
328
330
  :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
331
  :param pulumi.Input['MySqlMysqlArgs'] mysql: MySQL server-provided values.
330
332
  :param pulumi.Input['MySqlMysqlUserConfigArgs'] mysql_user_config: Mysql user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
@@ -351,8 +353,8 @@ class _MySqlState:
351
353
  if components is not None:
352
354
  pulumi.set(__self__, "components", components)
353
355
  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.""")
356
+ warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
357
+ 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
358
  if disk_space is not None:
357
359
  pulumi.set(__self__, "disk_space", disk_space)
358
360
  if disk_space_cap is not None:
@@ -361,13 +363,12 @@ class _MySqlState:
361
363
  pulumi.set(__self__, "disk_space_default", disk_space_default)
362
364
  if disk_space_step is not None:
363
365
  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
366
  if disk_space_used is not None:
368
367
  pulumi.set(__self__, "disk_space_used", disk_space_used)
369
368
  if maintenance_window_dow is not None:
370
369
  pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
370
+ if maintenance_window_enabled is not None:
371
+ pulumi.set(__self__, "maintenance_window_enabled", maintenance_window_enabled)
371
372
  if maintenance_window_time is not None:
372
373
  pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
373
374
  if mysql is not None:
@@ -445,10 +446,10 @@ class _MySqlState:
445
446
 
446
447
  @_builtins.property
447
448
  @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.""")
449
+ @_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
449
450
  def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
450
451
  """
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.
452
+ 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
453
  """
453
454
  return pulumi.get(self, "disk_space")
454
455
 
@@ -494,10 +495,9 @@ class _MySqlState:
494
495
 
495
496
  @_builtins.property
496
497
  @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
498
  def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
499
499
  """
500
- Disk space that service is currently using
500
+ 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
501
  """
502
502
  return pulumi.get(self, "disk_space_used")
503
503
 
@@ -517,6 +517,18 @@ class _MySqlState:
517
517
  def maintenance_window_dow(self, value: Optional[pulumi.Input[_builtins.str]]):
518
518
  pulumi.set(self, "maintenance_window_dow", value)
519
519
 
520
+ @_builtins.property
521
+ @pulumi.getter(name="maintenanceWindowEnabled")
522
+ def maintenance_window_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
523
+ """
524
+ Indicates whether the maintenance window is currently enabled for this service.
525
+ """
526
+ return pulumi.get(self, "maintenance_window_enabled")
527
+
528
+ @maintenance_window_enabled.setter
529
+ def maintenance_window_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
530
+ pulumi.set(self, "maintenance_window_enabled", value)
531
+
520
532
  @_builtins.property
521
533
  @pulumi.getter(name="maintenanceWindowTime")
522
534
  def maintenance_window_time(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -804,7 +816,7 @@ class MySql(pulumi.CustomResource):
804
816
  :param pulumi.ResourceOptions opts: Options for the resource.
805
817
  :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.
806
818
  :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.
807
- :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.
819
+ :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.
808
820
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
809
821
  :param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
810
822
  :param pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']] mysql: MySQL server-provided values.
@@ -926,6 +938,7 @@ class MySql(pulumi.CustomResource):
926
938
  __props__.__dict__["disk_space_default"] = None
927
939
  __props__.__dict__["disk_space_step"] = None
928
940
  __props__.__dict__["disk_space_used"] = None
941
+ __props__.__dict__["maintenance_window_enabled"] = None
929
942
  __props__.__dict__["service_host"] = None
930
943
  __props__.__dict__["service_password"] = None
931
944
  __props__.__dict__["service_port"] = None
@@ -954,6 +967,7 @@ class MySql(pulumi.CustomResource):
954
967
  disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
955
968
  disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
956
969
  maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
970
+ maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
957
971
  maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
958
972
  mysql: Optional[pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']]] = None,
959
973
  mysql_user_config: Optional[pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']]] = None,
@@ -983,12 +997,13 @@ class MySql(pulumi.CustomResource):
983
997
  :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.
984
998
  :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.
985
999
  :param pulumi.Input[Sequence[pulumi.Input[Union['MySqlComponentArgs', 'MySqlComponentArgsDict']]]] components: Service component information objects
986
- :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.
1000
+ :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.
987
1001
  :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.
988
1002
  :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`
989
1003
  :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.
990
- :param pulumi.Input[_builtins.str] disk_space_used: Disk space that service is currently using
1004
+ :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`).
991
1005
  :param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
1006
+ :param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
992
1007
  :param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
993
1008
  :param pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']] mysql: MySQL server-provided values.
994
1009
  :param pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']] mysql_user_config: Mysql user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
@@ -1021,6 +1036,7 @@ class MySql(pulumi.CustomResource):
1021
1036
  __props__.__dict__["disk_space_step"] = disk_space_step
1022
1037
  __props__.__dict__["disk_space_used"] = disk_space_used
1023
1038
  __props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
1039
+ __props__.__dict__["maintenance_window_enabled"] = maintenance_window_enabled
1024
1040
  __props__.__dict__["maintenance_window_time"] = maintenance_window_time
1025
1041
  __props__.__dict__["mysql"] = mysql
1026
1042
  __props__.__dict__["mysql_user_config"] = mysql_user_config
@@ -1068,10 +1084,10 @@ class MySql(pulumi.CustomResource):
1068
1084
 
1069
1085
  @_builtins.property
1070
1086
  @pulumi.getter(name="diskSpace")
1071
- @_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.""")
1087
+ @_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
1072
1088
  def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
1073
1089
  """
1074
- Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
1090
+ 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.
1075
1091
  """
1076
1092
  return pulumi.get(self, "disk_space")
1077
1093
 
@@ -1101,10 +1117,9 @@ class MySql(pulumi.CustomResource):
1101
1117
 
1102
1118
  @_builtins.property
1103
1119
  @pulumi.getter(name="diskSpaceUsed")
1104
- @_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.""")
1105
1120
  def disk_space_used(self) -> pulumi.Output[_builtins.str]:
1106
1121
  """
1107
- Disk space that service is currently using
1122
+ 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`).
1108
1123
  """
1109
1124
  return pulumi.get(self, "disk_space_used")
1110
1125
 
@@ -1116,6 +1131,14 @@ class MySql(pulumi.CustomResource):
1116
1131
  """
1117
1132
  return pulumi.get(self, "maintenance_window_dow")
1118
1133
 
1134
+ @_builtins.property
1135
+ @pulumi.getter(name="maintenanceWindowEnabled")
1136
+ def maintenance_window_enabled(self) -> pulumi.Output[_builtins.bool]:
1137
+ """
1138
+ Indicates whether the maintenance window is currently enabled for this service.
1139
+ """
1140
+ return pulumi.get(self, "maintenance_window_enabled")
1141
+
1119
1142
  @_builtins.property
1120
1143
  @pulumi.getter(name="maintenanceWindowTime")
1121
1144
  def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]: