pulumi-aiven 6.43.0a1756184863__py3-none-any.whl → 6.47.0a1767071446__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_aiven/__init__.py +4 -0
- pulumi_aiven/_inputs.py +3087 -602
- pulumi_aiven/account_team.py +6 -12
- pulumi_aiven/account_team_member.py +6 -12
- pulumi_aiven/account_team_project.py +6 -12
- pulumi_aiven/alloydbomni.py +72 -23
- pulumi_aiven/alloydbomni_database.py +26 -0
- pulumi_aiven/alloydbomni_user.py +135 -8
- pulumi_aiven/billing_group.py +225 -114
- pulumi_aiven/cassandra.py +46 -23
- pulumi_aiven/cassandra_user.py +110 -9
- pulumi_aiven/clickhouse.py +46 -23
- pulumi_aiven/clickhouse_user.py +127 -7
- pulumi_aiven/dragonfly.py +46 -23
- pulumi_aiven/flink.py +46 -23
- pulumi_aiven/get_account_team.py +6 -12
- pulumi_aiven/get_account_team_member.py +6 -12
- pulumi_aiven/get_account_team_project.py +6 -12
- pulumi_aiven/get_alloydbomni.py +43 -3
- pulumi_aiven/get_alloydbomni_database.py +26 -0
- pulumi_aiven/get_alloydbomni_user.py +27 -1
- pulumi_aiven/get_billing_group.py +47 -15
- pulumi_aiven/get_cassanda.py +17 -3
- pulumi_aiven/get_cassandra.py +17 -3
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +17 -3
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_dragonfly.py +17 -3
- pulumi_aiven/get_flink.py +17 -3
- pulumi_aiven/get_grafana.py +17 -3
- pulumi_aiven/get_influx_db.py +12 -1
- pulumi_aiven/get_kafka.py +17 -3
- pulumi_aiven/get_kafka_connect.py +17 -3
- pulumi_aiven/get_kafka_mirror_maker.py +17 -3
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +14 -112
- pulumi_aiven/get_m3_db.py +14 -124
- pulumi_aiven/get_m3db_user.py +2 -61
- pulumi_aiven/get_my_sql.py +17 -3
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +17 -3
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_address.py +1 -1
- pulumi_aiven/get_organization_application_user.py +29 -11
- pulumi_aiven/get_organization_billing_group.py +3 -3
- pulumi_aiven/get_organization_project.py +2 -8
- pulumi_aiven/get_organization_user_group_list.py +131 -0
- pulumi_aiven/get_organization_user_group_member_list.py +171 -0
- pulumi_aiven/get_organization_user_list.py +33 -11
- pulumi_aiven/get_organizational_unit.py +4 -0
- pulumi_aiven/get_pg.py +17 -3
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_redis.py +14 -128
- pulumi_aiven/get_redis_user.py +2 -77
- pulumi_aiven/get_service_component.py +3 -3
- pulumi_aiven/get_service_plan.py +309 -0
- pulumi_aiven/get_service_plan_list.py +151 -0
- pulumi_aiven/get_thanos.py +17 -3
- pulumi_aiven/get_valkey.py +17 -3
- pulumi_aiven/get_valkey_user.py +4 -4
- pulumi_aiven/governance_access.py +12 -0
- pulumi_aiven/grafana.py +46 -23
- pulumi_aiven/influx_db.py +133 -291
- pulumi_aiven/influxdb_database.py +14 -28
- pulumi_aiven/influxdb_user.py +21 -42
- pulumi_aiven/kafka.py +46 -23
- pulumi_aiven/kafka_connect.py +48 -25
- pulumi_aiven/kafka_mirror_maker.py +46 -23
- pulumi_aiven/kafka_schema.py +20 -20
- pulumi_aiven/kafka_user.py +110 -9
- pulumi_aiven/m3_aggregator.py +48 -75
- pulumi_aiven/m3_db.py +48 -95
- pulumi_aiven/m3db_user.py +2 -54
- pulumi_aiven/my_sql.py +46 -23
- pulumi_aiven/mysql_user.py +110 -9
- pulumi_aiven/open_search.py +46 -23
- pulumi_aiven/opensearch_user.py +110 -9
- pulumi_aiven/organization.py +6 -6
- pulumi_aiven/organization_address.py +12 -0
- pulumi_aiven/organization_application_user.py +76 -48
- pulumi_aiven/organization_application_user_token.py +127 -91
- pulumi_aiven/organization_billing_group.py +33 -21
- pulumi_aiven/organization_permission.py +82 -49
- pulumi_aiven/organization_project.py +9 -15
- pulumi_aiven/organization_user.py +8 -8
- pulumi_aiven/organization_user_group_member.py +29 -35
- pulumi_aiven/outputs.py +2042 -326
- pulumi_aiven/pg.py +112 -23
- pulumi_aiven/pg_user.py +109 -8
- pulumi_aiven/project.py +2 -24
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +57 -97
- pulumi_aiven/redis_user.py +23 -79
- pulumi_aiven/thanos.py +46 -23
- pulumi_aiven/valkey.py +46 -23
- pulumi_aiven/valkey_user.py +130 -29
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/METADATA +1 -1
- pulumi_aiven-6.47.0a1767071446.dist-info/RECORD +193 -0
- pulumi_aiven-6.43.0a1756184863.dist-info/RECORD +0 -189
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.43.0a1756184863.dist-info → pulumi_aiven-6.47.0a1767071446.dist-info}/top_level.txt +0 -0
pulumi_aiven/thanos.py
CHANGED
|
@@ -44,7 +44,7 @@ class ThanosArgs:
|
|
|
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 ThanosArgs:
|
|
|
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("""
|
|
68
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
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 ThanosArgs:
|
|
|
151
151
|
|
|
152
152
|
@_builtins.property
|
|
153
153
|
@pulumi.getter(name="diskSpace")
|
|
154
|
-
@_utilities.deprecated("""
|
|
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 _ThanosState:
|
|
|
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
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
301
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -319,12 +320,13 @@ class _ThanosState:
|
|
|
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['ThanosComponentArgs']]] 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:
|
|
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[_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
332
|
: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 +353,8 @@ class _ThanosState:
|
|
|
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("""
|
|
355
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
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 _ThanosState:
|
|
|
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 plan is not None:
|
|
@@ -445,10 +446,10 @@ class _ThanosState:
|
|
|
445
446
|
|
|
446
447
|
@_builtins.property
|
|
447
448
|
@pulumi.getter(name="diskSpace")
|
|
448
|
-
@_utilities.deprecated("""
|
|
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 _ThanosState:
|
|
|
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
|
-
|
|
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 _ThanosState:
|
|
|
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]]:
|
|
@@ -798,7 +810,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
798
810
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
799
811
|
: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.
|
|
800
812
|
: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.
|
|
801
|
-
: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.
|
|
813
|
+
: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.
|
|
802
814
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
803
815
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
804
816
|
: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).
|
|
@@ -914,6 +926,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
914
926
|
__props__.__dict__["disk_space_default"] = None
|
|
915
927
|
__props__.__dict__["disk_space_step"] = None
|
|
916
928
|
__props__.__dict__["disk_space_used"] = None
|
|
929
|
+
__props__.__dict__["maintenance_window_enabled"] = None
|
|
917
930
|
__props__.__dict__["service_host"] = None
|
|
918
931
|
__props__.__dict__["service_password"] = None
|
|
919
932
|
__props__.__dict__["service_port"] = None
|
|
@@ -942,6 +955,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
942
955
|
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
943
956
|
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
944
957
|
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
958
|
+
maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
945
959
|
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
946
960
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
947
961
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -971,12 +985,13 @@ class Thanos(pulumi.CustomResource):
|
|
|
971
985
|
: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.
|
|
972
986
|
: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.
|
|
973
987
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ThanosComponentArgs', 'ThanosComponentArgsDict']]]] components: Service component information objects
|
|
974
|
-
: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.
|
|
988
|
+
: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.
|
|
975
989
|
: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.
|
|
976
990
|
: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`
|
|
977
991
|
: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.
|
|
978
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
992
|
+
: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`).
|
|
979
993
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
994
|
+
:param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
|
|
980
995
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
981
996
|
: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).
|
|
982
997
|
: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.
|
|
@@ -1009,6 +1024,7 @@ class Thanos(pulumi.CustomResource):
|
|
|
1009
1024
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
1010
1025
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1011
1026
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1027
|
+
__props__.__dict__["maintenance_window_enabled"] = maintenance_window_enabled
|
|
1012
1028
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1013
1029
|
__props__.__dict__["plan"] = plan
|
|
1014
1030
|
__props__.__dict__["project"] = project
|
|
@@ -1056,10 +1072,10 @@ class Thanos(pulumi.CustomResource):
|
|
|
1056
1072
|
|
|
1057
1073
|
@_builtins.property
|
|
1058
1074
|
@pulumi.getter(name="diskSpace")
|
|
1059
|
-
@_utilities.deprecated("""
|
|
1075
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1060
1076
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1061
1077
|
"""
|
|
1062
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1078
|
+
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.
|
|
1063
1079
|
"""
|
|
1064
1080
|
return pulumi.get(self, "disk_space")
|
|
1065
1081
|
|
|
@@ -1089,10 +1105,9 @@ class Thanos(pulumi.CustomResource):
|
|
|
1089
1105
|
|
|
1090
1106
|
@_builtins.property
|
|
1091
1107
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1092
|
-
@_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.""")
|
|
1093
1108
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1094
1109
|
"""
|
|
1095
|
-
|
|
1110
|
+
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`).
|
|
1096
1111
|
"""
|
|
1097
1112
|
return pulumi.get(self, "disk_space_used")
|
|
1098
1113
|
|
|
@@ -1104,6 +1119,14 @@ class Thanos(pulumi.CustomResource):
|
|
|
1104
1119
|
"""
|
|
1105
1120
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1106
1121
|
|
|
1122
|
+
@_builtins.property
|
|
1123
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
1124
|
+
def maintenance_window_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
1125
|
+
"""
|
|
1126
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
1127
|
+
"""
|
|
1128
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
1129
|
+
|
|
1107
1130
|
@_builtins.property
|
|
1108
1131
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1109
1132
|
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|
pulumi_aiven/valkey.py
CHANGED
|
@@ -44,7 +44,7 @@ class ValkeyArgs:
|
|
|
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 ValkeyArgs:
|
|
|
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("""
|
|
68
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
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 ValkeyArgs:
|
|
|
151
151
|
|
|
152
152
|
@_builtins.property
|
|
153
153
|
@pulumi.getter(name="diskSpace")
|
|
154
|
-
@_utilities.deprecated("""
|
|
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 _ValkeyState:
|
|
|
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
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
301
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -319,12 +320,13 @@ class _ValkeyState:
|
|
|
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['ValkeyComponentArgs']]] 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:
|
|
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[_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
332
|
: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 +353,8 @@ class _ValkeyState:
|
|
|
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("""
|
|
355
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
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 _ValkeyState:
|
|
|
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 plan is not None:
|
|
@@ -445,10 +446,10 @@ class _ValkeyState:
|
|
|
445
446
|
|
|
446
447
|
@_builtins.property
|
|
447
448
|
@pulumi.getter(name="diskSpace")
|
|
448
|
-
@_utilities.deprecated("""
|
|
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 _ValkeyState:
|
|
|
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
|
-
|
|
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 _ValkeyState:
|
|
|
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]]:
|
|
@@ -795,7 +807,7 @@ class Valkey(pulumi.CustomResource):
|
|
|
795
807
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
796
808
|
: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.
|
|
797
809
|
: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.
|
|
798
|
-
: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.
|
|
810
|
+
: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.
|
|
799
811
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
800
812
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
801
813
|
: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).
|
|
@@ -908,6 +920,7 @@ class Valkey(pulumi.CustomResource):
|
|
|
908
920
|
__props__.__dict__["disk_space_default"] = None
|
|
909
921
|
__props__.__dict__["disk_space_step"] = None
|
|
910
922
|
__props__.__dict__["disk_space_used"] = None
|
|
923
|
+
__props__.__dict__["maintenance_window_enabled"] = None
|
|
911
924
|
__props__.__dict__["service_host"] = None
|
|
912
925
|
__props__.__dict__["service_password"] = None
|
|
913
926
|
__props__.__dict__["service_port"] = None
|
|
@@ -936,6 +949,7 @@ class Valkey(pulumi.CustomResource):
|
|
|
936
949
|
disk_space_step: Optional[pulumi.Input[_builtins.str]] = None,
|
|
937
950
|
disk_space_used: Optional[pulumi.Input[_builtins.str]] = None,
|
|
938
951
|
maintenance_window_dow: Optional[pulumi.Input[_builtins.str]] = None,
|
|
952
|
+
maintenance_window_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
939
953
|
maintenance_window_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
940
954
|
plan: Optional[pulumi.Input[_builtins.str]] = None,
|
|
941
955
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -965,12 +979,13 @@ class Valkey(pulumi.CustomResource):
|
|
|
965
979
|
: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.
|
|
966
980
|
: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.
|
|
967
981
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ValkeyComponentArgs', 'ValkeyComponentArgsDict']]]] components: Service component information objects
|
|
968
|
-
: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.
|
|
982
|
+
: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.
|
|
969
983
|
: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.
|
|
970
984
|
: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`
|
|
971
985
|
: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.
|
|
972
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
986
|
+
: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`).
|
|
973
987
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
988
|
+
:param pulumi.Input[_builtins.bool] maintenance_window_enabled: Indicates whether the maintenance window is currently enabled for this service.
|
|
974
989
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
975
990
|
: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).
|
|
976
991
|
: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.
|
|
@@ -1003,6 +1018,7 @@ class Valkey(pulumi.CustomResource):
|
|
|
1003
1018
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
1004
1019
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1005
1020
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
1021
|
+
__props__.__dict__["maintenance_window_enabled"] = maintenance_window_enabled
|
|
1006
1022
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1007
1023
|
__props__.__dict__["plan"] = plan
|
|
1008
1024
|
__props__.__dict__["project"] = project
|
|
@@ -1050,10 +1066,10 @@ class Valkey(pulumi.CustomResource):
|
|
|
1050
1066
|
|
|
1051
1067
|
@_builtins.property
|
|
1052
1068
|
@pulumi.getter(name="diskSpace")
|
|
1053
|
-
@_utilities.deprecated("""
|
|
1069
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1054
1070
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1055
1071
|
"""
|
|
1056
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1072
|
+
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.
|
|
1057
1073
|
"""
|
|
1058
1074
|
return pulumi.get(self, "disk_space")
|
|
1059
1075
|
|
|
@@ -1083,10 +1099,9 @@ class Valkey(pulumi.CustomResource):
|
|
|
1083
1099
|
|
|
1084
1100
|
@_builtins.property
|
|
1085
1101
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1086
|
-
@_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
1102
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1088
1103
|
"""
|
|
1089
|
-
|
|
1104
|
+
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`).
|
|
1090
1105
|
"""
|
|
1091
1106
|
return pulumi.get(self, "disk_space_used")
|
|
1092
1107
|
|
|
@@ -1098,6 +1113,14 @@ class Valkey(pulumi.CustomResource):
|
|
|
1098
1113
|
"""
|
|
1099
1114
|
return pulumi.get(self, "maintenance_window_dow")
|
|
1100
1115
|
|
|
1116
|
+
@_builtins.property
|
|
1117
|
+
@pulumi.getter(name="maintenanceWindowEnabled")
|
|
1118
|
+
def maintenance_window_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
1119
|
+
"""
|
|
1120
|
+
Indicates whether the maintenance window is currently enabled for this service.
|
|
1121
|
+
"""
|
|
1122
|
+
return pulumi.get(self, "maintenance_window_enabled")
|
|
1123
|
+
|
|
1101
1124
|
@_builtins.property
|
|
1102
1125
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
1103
1126
|
def maintenance_window_time(self) -> pulumi.Output[Optional[_builtins.str]]:
|