pulumi-aiven 6.42.0a1755315469__py3-none-any.whl → 6.43.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +657 -183
- 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 +44 -23
- pulumi_aiven/alloydbomni_database.py +26 -0
- pulumi_aiven/alloydbomni_user.py +26 -0
- pulumi_aiven/cassandra.py +18 -23
- pulumi_aiven/clickhouse.py +18 -23
- pulumi_aiven/dragonfly.py +18 -23
- pulumi_aiven/flink.py +18 -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 +28 -2
- pulumi_aiven/get_alloydbomni_database.py +26 -0
- pulumi_aiven/get_alloydbomni_user.py +26 -0
- pulumi_aiven/get_cassanda.py +2 -2
- pulumi_aiven/get_cassandra.py +2 -2
- pulumi_aiven/get_clickhouse.py +2 -2
- pulumi_aiven/get_dragonfly.py +2 -2
- pulumi_aiven/get_flink.py +2 -2
- pulumi_aiven/get_grafana.py +2 -2
- pulumi_aiven/get_kafka.py +2 -2
- pulumi_aiven/get_kafka_connect.py +2 -2
- pulumi_aiven/get_kafka_mirror_maker.py +2 -2
- pulumi_aiven/get_m3_aggregator.py +2 -111
- pulumi_aiven/get_m3_db.py +2 -123
- pulumi_aiven/get_m3db_user.py +2 -61
- pulumi_aiven/get_my_sql.py +2 -2
- pulumi_aiven/get_open_search.py +2 -2
- pulumi_aiven/get_organization_application_user.py +29 -11
- pulumi_aiven/get_organization_project.py +0 -6
- pulumi_aiven/get_pg.py +2 -2
- pulumi_aiven/get_redis.py +2 -2
- pulumi_aiven/get_redis_user.py +3 -3
- pulumi_aiven/get_thanos.py +2 -2
- pulumi_aiven/get_valkey.py +2 -2
- pulumi_aiven/get_valkey_user.py +3 -3
- pulumi_aiven/grafana.py +18 -23
- pulumi_aiven/influx_db.py +96 -291
- pulumi_aiven/influxdb_database.py +14 -28
- pulumi_aiven/influxdb_user.py +21 -42
- pulumi_aiven/kafka.py +18 -23
- pulumi_aiven/kafka_connect.py +18 -23
- pulumi_aiven/kafka_mirror_maker.py +18 -23
- pulumi_aiven/m3_aggregator.py +20 -75
- pulumi_aiven/m3_db.py +20 -95
- pulumi_aiven/m3db_user.py +2 -54
- pulumi_aiven/my_sql.py +18 -23
- pulumi_aiven/open_search.py +18 -23
- pulumi_aiven/organization_application_user.py +69 -41
- pulumi_aiven/organization_application_user_token.py +127 -91
- pulumi_aiven/organization_billing_group.py +7 -7
- pulumi_aiven/organization_permission.py +80 -47
- pulumi_aiven/organization_project.py +0 -6
- pulumi_aiven/organization_user.py +8 -8
- pulumi_aiven/outputs.py +616 -234
- pulumi_aiven/pg.py +18 -23
- pulumi_aiven/project.py +2 -24
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +18 -23
- pulumi_aiven/redis_user.py +21 -21
- pulumi_aiven/thanos.py +18 -23
- pulumi_aiven/valkey.py +18 -23
- pulumi_aiven/valkey_user.py +21 -21
- {pulumi_aiven-6.42.0a1755315469.dist-info → pulumi_aiven-6.43.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.42.0a1755315469.dist-info → pulumi_aiven-6.43.0.dist-info}/RECORD +70 -70
- {pulumi_aiven-6.42.0a1755315469.dist-info → pulumi_aiven-6.43.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.42.0a1755315469.dist-info → pulumi_aiven-6.43.0.dist-info}/top_level.txt +0 -0
|
@@ -43,7 +43,7 @@ class KafkaMirrorMakerArgs:
|
|
|
43
43
|
: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.
|
|
44
44
|
: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.
|
|
45
45
|
: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.
|
|
46
|
-
: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.
|
|
46
|
+
: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.
|
|
47
47
|
:param pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs'] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
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.
|
|
@@ -62,8 +62,8 @@ class KafkaMirrorMakerArgs:
|
|
|
62
62
|
if cloud_name is not None:
|
|
63
63
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
64
64
|
if disk_space is not None:
|
|
65
|
-
warnings.warn("""
|
|
66
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
65
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
66
|
+
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.""")
|
|
67
67
|
if disk_space is not None:
|
|
68
68
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
69
69
|
if kafka_mirrormaker_user_config is not None:
|
|
@@ -147,10 +147,10 @@ class KafkaMirrorMakerArgs:
|
|
|
147
147
|
|
|
148
148
|
@_builtins.property
|
|
149
149
|
@pulumi.getter(name="diskSpace")
|
|
150
|
-
@_utilities.deprecated("""
|
|
150
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
151
151
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
152
152
|
"""
|
|
153
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
153
|
+
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.
|
|
154
154
|
"""
|
|
155
155
|
return pulumi.get(self, "disk_space")
|
|
156
156
|
|
|
@@ -302,11 +302,11 @@ class _KafkaMirrorMakerState:
|
|
|
302
302
|
: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.
|
|
303
303
|
: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.
|
|
304
304
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaMirrorMakerComponentArgs']]] components: Service component information objects
|
|
305
|
-
: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.
|
|
305
|
+
: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.
|
|
306
306
|
: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.
|
|
307
307
|
: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`
|
|
308
308
|
: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.
|
|
309
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
309
|
+
: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`).
|
|
310
310
|
:param pulumi.Input['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs'] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
311
311
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
312
312
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -333,8 +333,8 @@ class _KafkaMirrorMakerState:
|
|
|
333
333
|
if components is not None:
|
|
334
334
|
pulumi.set(__self__, "components", components)
|
|
335
335
|
if disk_space is not None:
|
|
336
|
-
warnings.warn("""
|
|
337
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
336
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
337
|
+
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.""")
|
|
338
338
|
if disk_space is not None:
|
|
339
339
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
340
340
|
if disk_space_cap is not None:
|
|
@@ -343,9 +343,6 @@ class _KafkaMirrorMakerState:
|
|
|
343
343
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
344
344
|
if disk_space_step is not None:
|
|
345
345
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
346
|
-
if disk_space_used is not None:
|
|
347
|
-
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)
|
|
348
|
-
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.""")
|
|
349
346
|
if disk_space_used is not None:
|
|
350
347
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
351
348
|
if kafka_mirrormaker_user_config is not None:
|
|
@@ -425,10 +422,10 @@ class _KafkaMirrorMakerState:
|
|
|
425
422
|
|
|
426
423
|
@_builtins.property
|
|
427
424
|
@pulumi.getter(name="diskSpace")
|
|
428
|
-
@_utilities.deprecated("""
|
|
425
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
429
426
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
430
427
|
"""
|
|
431
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
428
|
+
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.
|
|
432
429
|
"""
|
|
433
430
|
return pulumi.get(self, "disk_space")
|
|
434
431
|
|
|
@@ -474,10 +471,9 @@ class _KafkaMirrorMakerState:
|
|
|
474
471
|
|
|
475
472
|
@_builtins.property
|
|
476
473
|
@pulumi.getter(name="diskSpaceUsed")
|
|
477
|
-
@_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.""")
|
|
478
474
|
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
479
475
|
"""
|
|
480
|
-
|
|
476
|
+
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`).
|
|
481
477
|
"""
|
|
482
478
|
return pulumi.get(self, "disk_space_used")
|
|
483
479
|
|
|
@@ -767,7 +763,7 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
767
763
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
768
764
|
: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.
|
|
769
765
|
: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.
|
|
770
|
-
: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.
|
|
766
|
+
: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.
|
|
771
767
|
:param pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
772
768
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
773
769
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -938,11 +934,11 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
938
934
|
: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.
|
|
939
935
|
: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.
|
|
940
936
|
:param pulumi.Input[Sequence[pulumi.Input[Union['KafkaMirrorMakerComponentArgs', 'KafkaMirrorMakerComponentArgsDict']]]] components: Service component information objects
|
|
941
|
-
: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.
|
|
937
|
+
: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.
|
|
942
938
|
: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.
|
|
943
939
|
: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`
|
|
944
940
|
: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.
|
|
945
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
941
|
+
: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`).
|
|
946
942
|
:param pulumi.Input[Union['KafkaMirrorMakerKafkaMirrormakerUserConfigArgs', 'KafkaMirrorMakerKafkaMirrormakerUserConfigArgsDict']] kafka_mirrormaker_user_config: KafkaMirrormaker user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
947
943
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
948
944
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -1021,10 +1017,10 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1021
1017
|
|
|
1022
1018
|
@_builtins.property
|
|
1023
1019
|
@pulumi.getter(name="diskSpace")
|
|
1024
|
-
@_utilities.deprecated("""
|
|
1020
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1025
1021
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1026
1022
|
"""
|
|
1027
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1023
|
+
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.
|
|
1028
1024
|
"""
|
|
1029
1025
|
return pulumi.get(self, "disk_space")
|
|
1030
1026
|
|
|
@@ -1054,10 +1050,9 @@ class KafkaMirrorMaker(pulumi.CustomResource):
|
|
|
1054
1050
|
|
|
1055
1051
|
@_builtins.property
|
|
1056
1052
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1057
|
-
@_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.""")
|
|
1058
1053
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1059
1054
|
"""
|
|
1060
|
-
|
|
1055
|
+
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`).
|
|
1061
1056
|
"""
|
|
1062
1057
|
return pulumi.get(self, "disk_space_used")
|
|
1063
1058
|
|
pulumi_aiven/m3_aggregator.py
CHANGED
|
@@ -44,7 +44,7 @@ class M3AggregatorArgs:
|
|
|
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['M3AggregatorM3aggregatorArgs'] m3aggregator: M3 Aggregator server provided values
|
|
49
49
|
:param pulumi.Input['M3AggregatorM3aggregatorUserConfigArgs'] m3aggregator_user_config: M3aggregator 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 M3AggregatorArgs:
|
|
|
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 m3aggregator is not None:
|
|
@@ -154,10 +154,10 @@ class M3AggregatorArgs:
|
|
|
154
154
|
|
|
155
155
|
@_builtins.property
|
|
156
156
|
@pulumi.getter(name="diskSpace")
|
|
157
|
-
@_utilities.deprecated("""
|
|
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
|
|
|
@@ -323,11 +323,11 @@ class _M3AggregatorState:
|
|
|
323
323
|
: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
324
|
: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
325
|
:param pulumi.Input[Sequence[pulumi.Input['M3AggregatorComponentArgs']]] 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.
|
|
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. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
327
327
|
: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
328
|
: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
329
|
: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:
|
|
330
|
+
: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
331
|
:param pulumi.Input['M3AggregatorM3aggregatorArgs'] m3aggregator: M3 Aggregator server provided values
|
|
332
332
|
:param pulumi.Input['M3AggregatorM3aggregatorUserConfigArgs'] m3aggregator_user_config: M3aggregator user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
333
333
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -355,8 +355,8 @@ class _M3AggregatorState:
|
|
|
355
355
|
if components is not None:
|
|
356
356
|
pulumi.set(__self__, "components", components)
|
|
357
357
|
if disk_space is not None:
|
|
358
|
-
warnings.warn("""
|
|
359
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
358
|
+
warnings.warn("""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: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
360
360
|
if disk_space is not None:
|
|
361
361
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
362
362
|
if disk_space_cap is not None:
|
|
@@ -365,9 +365,6 @@ class _M3AggregatorState:
|
|
|
365
365
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
366
366
|
if disk_space_step is not None:
|
|
367
367
|
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
368
|
if disk_space_used is not None:
|
|
372
369
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
373
370
|
if m3aggregator is not None:
|
|
@@ -452,10 +449,10 @@ class _M3AggregatorState:
|
|
|
452
449
|
|
|
453
450
|
@_builtins.property
|
|
454
451
|
@pulumi.getter(name="diskSpace")
|
|
455
|
-
@_utilities.deprecated("""
|
|
452
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
456
453
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
457
454
|
"""
|
|
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.
|
|
455
|
+
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
456
|
"""
|
|
460
457
|
return pulumi.get(self, "disk_space")
|
|
461
458
|
|
|
@@ -501,10 +498,9 @@ class _M3AggregatorState:
|
|
|
501
498
|
|
|
502
499
|
@_builtins.property
|
|
503
500
|
@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
501
|
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
506
502
|
"""
|
|
507
|
-
|
|
503
|
+
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
504
|
"""
|
|
509
505
|
return pulumi.get(self, "disk_space_used")
|
|
510
506
|
|
|
@@ -775,37 +771,12 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
775
771
|
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
776
772
|
__props__=None):
|
|
777
773
|
"""
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
## Example Usage
|
|
781
|
-
|
|
782
|
-
```python
|
|
783
|
-
import pulumi
|
|
784
|
-
import pulumi_aiven as aiven
|
|
785
|
-
|
|
786
|
-
m3a = aiven.M3Aggregator("m3a",
|
|
787
|
-
project=foo["project"],
|
|
788
|
-
cloud_name="google-europe-west1",
|
|
789
|
-
plan="business-8",
|
|
790
|
-
service_name="my-m3a",
|
|
791
|
-
maintenance_window_dow="monday",
|
|
792
|
-
maintenance_window_time="10:00:00",
|
|
793
|
-
m3aggregator_user_config={
|
|
794
|
-
"m3aggregator_version": "0.15",
|
|
795
|
-
})
|
|
796
|
-
```
|
|
797
|
-
|
|
798
|
-
## Import
|
|
799
|
-
|
|
800
|
-
```sh
|
|
801
|
-
$ pulumi import aiven:index/m3Aggregator:M3Aggregator m3a project/service_name
|
|
802
|
-
```
|
|
803
|
-
|
|
774
|
+
Create a M3Aggregator resource with the given unique name, props, and options.
|
|
804
775
|
:param str resource_name: The name of the resource.
|
|
805
776
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
806
777
|
: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.
|
|
807
778
|
: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.
|
|
808
|
-
: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.
|
|
779
|
+
: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.
|
|
809
780
|
:param pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']] m3aggregator: M3 Aggregator server provided values
|
|
810
781
|
:param pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']] m3aggregator_user_config: M3aggregator user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
811
782
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -827,32 +798,7 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
827
798
|
args: M3AggregatorArgs,
|
|
828
799
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
829
800
|
"""
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
## Example Usage
|
|
833
|
-
|
|
834
|
-
```python
|
|
835
|
-
import pulumi
|
|
836
|
-
import pulumi_aiven as aiven
|
|
837
|
-
|
|
838
|
-
m3a = aiven.M3Aggregator("m3a",
|
|
839
|
-
project=foo["project"],
|
|
840
|
-
cloud_name="google-europe-west1",
|
|
841
|
-
plan="business-8",
|
|
842
|
-
service_name="my-m3a",
|
|
843
|
-
maintenance_window_dow="monday",
|
|
844
|
-
maintenance_window_time="10:00:00",
|
|
845
|
-
m3aggregator_user_config={
|
|
846
|
-
"m3aggregator_version": "0.15",
|
|
847
|
-
})
|
|
848
|
-
```
|
|
849
|
-
|
|
850
|
-
## Import
|
|
851
|
-
|
|
852
|
-
```sh
|
|
853
|
-
$ pulumi import aiven:index/m3Aggregator:M3Aggregator m3a project/service_name
|
|
854
|
-
```
|
|
855
|
-
|
|
801
|
+
Create a M3Aggregator resource with the given unique name, props, and options.
|
|
856
802
|
:param str resource_name: The name of the resource.
|
|
857
803
|
:param M3AggregatorArgs args: The arguments to use to populate this resource's properties.
|
|
858
804
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -977,11 +923,11 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
977
923
|
: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.
|
|
978
924
|
: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.
|
|
979
925
|
:param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorComponentArgs', 'M3AggregatorComponentArgsDict']]]] components: Service component information objects
|
|
980
|
-
: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.
|
|
926
|
+
: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.
|
|
981
927
|
: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.
|
|
982
928
|
: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`
|
|
983
929
|
: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.
|
|
984
|
-
:param pulumi.Input[_builtins.str] disk_space_used:
|
|
930
|
+
: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`).
|
|
985
931
|
:param pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']] m3aggregator: M3 Aggregator server provided values
|
|
986
932
|
:param pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']] m3aggregator_user_config: M3aggregator user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
987
933
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -1062,10 +1008,10 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1062
1008
|
|
|
1063
1009
|
@_builtins.property
|
|
1064
1010
|
@pulumi.getter(name="diskSpace")
|
|
1065
|
-
@_utilities.deprecated("""
|
|
1011
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1066
1012
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1067
1013
|
"""
|
|
1068
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1014
|
+
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.
|
|
1069
1015
|
"""
|
|
1070
1016
|
return pulumi.get(self, "disk_space")
|
|
1071
1017
|
|
|
@@ -1095,10 +1041,9 @@ class M3Aggregator(pulumi.CustomResource):
|
|
|
1095
1041
|
|
|
1096
1042
|
@_builtins.property
|
|
1097
1043
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1098
|
-
@_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.""")
|
|
1099
1044
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1100
1045
|
"""
|
|
1101
|
-
|
|
1046
|
+
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`).
|
|
1102
1047
|
"""
|
|
1103
1048
|
return pulumi.get(self, "disk_space_used")
|
|
1104
1049
|
|
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("""
|
|
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 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("""
|
|
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
|
|
|
@@ -323,11 +323,11 @@ class _M3DbState:
|
|
|
323
323
|
: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
324
|
: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
325
|
: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.
|
|
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. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
327
327
|
: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
328
|
: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
329
|
: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:
|
|
330
|
+
: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
331
|
:param pulumi.Input['M3DbM3dbArgs'] m3db: Values provided by the M3DB server.
|
|
332
332
|
: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
333
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -355,8 +355,8 @@ class _M3DbState:
|
|
|
355
355
|
if components is not None:
|
|
356
356
|
pulumi.set(__self__, "components", components)
|
|
357
357
|
if disk_space is not None:
|
|
358
|
-
warnings.warn("""
|
|
359
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
358
|
+
warnings.warn("""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: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
360
360
|
if disk_space is not None:
|
|
361
361
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
362
362
|
if disk_space_cap is not None:
|
|
@@ -365,9 +365,6 @@ class _M3DbState:
|
|
|
365
365
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
366
366
|
if disk_space_step is not None:
|
|
367
367
|
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
368
|
if disk_space_used is not None:
|
|
372
369
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
373
370
|
if m3db is not None:
|
|
@@ -452,10 +449,10 @@ class _M3DbState:
|
|
|
452
449
|
|
|
453
450
|
@_builtins.property
|
|
454
451
|
@pulumi.getter(name="diskSpace")
|
|
455
|
-
@_utilities.deprecated("""
|
|
452
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
456
453
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
457
454
|
"""
|
|
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.
|
|
455
|
+
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
456
|
"""
|
|
460
457
|
return pulumi.get(self, "disk_space")
|
|
461
458
|
|
|
@@ -501,10 +498,9 @@ class _M3DbState:
|
|
|
501
498
|
|
|
502
499
|
@_builtins.property
|
|
503
500
|
@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
501
|
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
506
502
|
"""
|
|
507
|
-
|
|
503
|
+
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
504
|
"""
|
|
509
505
|
return pulumi.get(self, "disk_space_used")
|
|
510
506
|
|
|
@@ -775,47 +771,12 @@ class M3Db(pulumi.CustomResource):
|
|
|
775
771
|
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
776
772
|
__props__=None):
|
|
777
773
|
"""
|
|
778
|
-
|
|
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
|
-
|
|
774
|
+
Create a M3Db resource with the given unique name, props, and options.
|
|
814
775
|
:param str resource_name: The name of the resource.
|
|
815
776
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
816
777
|
: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
778
|
: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.
|
|
779
|
+
: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
780
|
:param pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']] m3db: Values provided by the M3DB server.
|
|
820
781
|
: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
782
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -837,42 +798,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
837
798
|
args: M3DbArgs,
|
|
838
799
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
839
800
|
"""
|
|
840
|
-
|
|
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
|
-
|
|
801
|
+
Create a M3Db resource with the given unique name, props, and options.
|
|
876
802
|
:param str resource_name: The name of the resource.
|
|
877
803
|
:param M3DbArgs args: The arguments to use to populate this resource's properties.
|
|
878
804
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -997,11 +923,11 @@ class M3Db(pulumi.CustomResource):
|
|
|
997
923
|
: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
924
|
: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
925
|
: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.
|
|
926
|
+
: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
927
|
: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
928
|
: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
929
|
: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:
|
|
930
|
+
: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
931
|
:param pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']] m3db: Values provided by the M3DB server.
|
|
1006
932
|
: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
933
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -1082,10 +1008,10 @@ class M3Db(pulumi.CustomResource):
|
|
|
1082
1008
|
|
|
1083
1009
|
@_builtins.property
|
|
1084
1010
|
@pulumi.getter(name="diskSpace")
|
|
1085
|
-
@_utilities.deprecated("""
|
|
1011
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1086
1012
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1087
1013
|
"""
|
|
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.
|
|
1014
|
+
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
1015
|
"""
|
|
1090
1016
|
return pulumi.get(self, "disk_space")
|
|
1091
1017
|
|
|
@@ -1115,10 +1041,9 @@ class M3Db(pulumi.CustomResource):
|
|
|
1115
1041
|
|
|
1116
1042
|
@_builtins.property
|
|
1117
1043
|
@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
1044
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1120
1045
|
"""
|
|
1121
|
-
|
|
1046
|
+
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
1047
|
"""
|
|
1123
1048
|
return pulumi.get(self, "disk_space_used")
|
|
1124
1049
|
|