pulumi-aiven 6.42.1__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 +18 -23
- 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.1.dist-info → pulumi_aiven-6.43.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.42.1.dist-info → pulumi_aiven-6.43.0.dist-info}/RECORD +68 -68
- {pulumi_aiven-6.42.1.dist-info → pulumi_aiven-6.43.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.42.1.dist-info → pulumi_aiven-6.43.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/m3_db.py
CHANGED
|
@@ -44,7 +44,7 @@ class M3DbArgs:
|
|
|
44
44
|
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
45
|
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
46
46
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
47
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
47
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
48
48
|
:param pulumi.Input['M3DbM3dbArgs'] m3db: Values provided by the M3DB server.
|
|
49
49
|
:param pulumi.Input['M3DbM3dbUserConfigArgs'] m3db_user_config: M3db user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
50
50
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -64,8 +64,8 @@ class M3DbArgs:
|
|
|
64
64
|
if cloud_name is not None:
|
|
65
65
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
66
66
|
if disk_space is not None:
|
|
67
|
-
warnings.warn("""
|
|
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
|
|
pulumi_aiven/m3db_user.py
CHANGED
|
@@ -185,33 +185,7 @@ class M3dbUser(pulumi.CustomResource):
|
|
|
185
185
|
username: Optional[pulumi.Input[_builtins.str]] = None,
|
|
186
186
|
__props__=None):
|
|
187
187
|
"""
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
!> **End of life notice**
|
|
191
|
-
**After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
|
|
192
|
-
You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
|
|
193
|
-
To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
|
|
194
|
-
before the end of life date.
|
|
195
|
-
|
|
196
|
-
## Example Usage
|
|
197
|
-
|
|
198
|
-
```python
|
|
199
|
-
import pulumi
|
|
200
|
-
import pulumi_aiven as aiven
|
|
201
|
-
|
|
202
|
-
example_service_user = aiven.M3dbUser("example_service_user",
|
|
203
|
-
service_name=example_m3db["serviceName"],
|
|
204
|
-
project=example_project["project"],
|
|
205
|
-
username="example-m3db-user",
|
|
206
|
-
password=service_user_pw)
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
## Import
|
|
210
|
-
|
|
211
|
-
```sh
|
|
212
|
-
$ pulumi import aiven:index/m3dbUser:M3dbUser example_service_user PROJECT/SERVICE_NAME/USERNAME
|
|
213
|
-
```
|
|
214
|
-
|
|
188
|
+
Create a M3dbUser resource with the given unique name, props, and options.
|
|
215
189
|
:param str resource_name: The name of the resource.
|
|
216
190
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
217
191
|
:param pulumi.Input[_builtins.str] password: The M3DB service user's password.
|
|
@@ -226,33 +200,7 @@ class M3dbUser(pulumi.CustomResource):
|
|
|
226
200
|
args: M3dbUserArgs,
|
|
227
201
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
228
202
|
"""
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
!> **End of life notice**
|
|
232
|
-
**After 30 April 2025** all running Aiven for M3 services will be powered off and deleted, making data from these services inaccessible.
|
|
233
|
-
You cannot create M3DB services in Aiven projects that didn't have M3DB services before.
|
|
234
|
-
To avoid interruptions to your service, migrate to Aiven for Thanos Metrics
|
|
235
|
-
before the end of life date.
|
|
236
|
-
|
|
237
|
-
## Example Usage
|
|
238
|
-
|
|
239
|
-
```python
|
|
240
|
-
import pulumi
|
|
241
|
-
import pulumi_aiven as aiven
|
|
242
|
-
|
|
243
|
-
example_service_user = aiven.M3dbUser("example_service_user",
|
|
244
|
-
service_name=example_m3db["serviceName"],
|
|
245
|
-
project=example_project["project"],
|
|
246
|
-
username="example-m3db-user",
|
|
247
|
-
password=service_user_pw)
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
## Import
|
|
251
|
-
|
|
252
|
-
```sh
|
|
253
|
-
$ pulumi import aiven:index/m3dbUser:M3dbUser example_service_user PROJECT/SERVICE_NAME/USERNAME
|
|
254
|
-
```
|
|
255
|
-
|
|
203
|
+
Create a M3dbUser resource with the given unique name, props, and options.
|
|
256
204
|
:param str resource_name: The name of the resource.
|
|
257
205
|
:param M3dbUserArgs args: The arguments to use to populate this resource's properties.
|
|
258
206
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
pulumi_aiven/my_sql.py
CHANGED
|
@@ -44,7 +44,7 @@ class MySqlArgs:
|
|
|
44
44
|
:param pulumi.Input[_builtins.str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
45
45
|
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
46
46
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
47
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
47
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
48
48
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
49
49
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
50
50
|
:param pulumi.Input['MySqlMysqlArgs'] mysql: MySQL server-provided values.
|
|
@@ -64,8 +64,8 @@ class MySqlArgs:
|
|
|
64
64
|
if cloud_name is not None:
|
|
65
65
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
66
66
|
if disk_space is not None:
|
|
67
|
-
warnings.warn("""
|
|
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 MySqlArgs:
|
|
|
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
|
|
|
@@ -319,11 +319,11 @@ class _MySqlState:
|
|
|
319
319
|
: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
320
|
: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
321
|
:param pulumi.Input[Sequence[pulumi.Input['MySqlComponentArgs']]] components: Service component information objects
|
|
322
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
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. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
323
323
|
: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
324
|
: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
325
|
: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:
|
|
326
|
+
: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
327
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
328
328
|
: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
329
|
:param pulumi.Input['MySqlMysqlArgs'] mysql: MySQL server-provided values.
|
|
@@ -351,8 +351,8 @@ class _MySqlState:
|
|
|
351
351
|
if components is not None:
|
|
352
352
|
pulumi.set(__self__, "components", components)
|
|
353
353
|
if disk_space is not None:
|
|
354
|
-
warnings.warn("""
|
|
355
|
-
pulumi.log.warn("""disk_space is deprecated:
|
|
354
|
+
warnings.warn("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""", DeprecationWarning)
|
|
355
|
+
pulumi.log.warn("""disk_space is deprecated: Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
356
356
|
if disk_space is not None:
|
|
357
357
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
358
358
|
if disk_space_cap is not None:
|
|
@@ -361,9 +361,6 @@ class _MySqlState:
|
|
|
361
361
|
pulumi.set(__self__, "disk_space_default", disk_space_default)
|
|
362
362
|
if disk_space_step is not None:
|
|
363
363
|
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
364
|
if disk_space_used is not None:
|
|
368
365
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
369
366
|
if maintenance_window_dow is not None:
|
|
@@ -445,10 +442,10 @@ class _MySqlState:
|
|
|
445
442
|
|
|
446
443
|
@_builtins.property
|
|
447
444
|
@pulumi.getter(name="diskSpace")
|
|
448
|
-
@_utilities.deprecated("""
|
|
445
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
449
446
|
def disk_space(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
450
447
|
"""
|
|
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.
|
|
448
|
+
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
449
|
"""
|
|
453
450
|
return pulumi.get(self, "disk_space")
|
|
454
451
|
|
|
@@ -494,10 +491,9 @@ class _MySqlState:
|
|
|
494
491
|
|
|
495
492
|
@_builtins.property
|
|
496
493
|
@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
494
|
def disk_space_used(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
499
495
|
"""
|
|
500
|
-
|
|
496
|
+
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
497
|
"""
|
|
502
498
|
return pulumi.get(self, "disk_space_used")
|
|
503
499
|
|
|
@@ -804,7 +800,7 @@ class MySql(pulumi.CustomResource):
|
|
|
804
800
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
805
801
|
:param pulumi.Input[_builtins.str] additional_disk_space: Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart, and there might be a short downtime for services without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
|
|
806
802
|
:param pulumi.Input[_builtins.str] cloud_name: The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
|
|
807
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
803
|
+
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
808
804
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
809
805
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
810
806
|
:param pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']] mysql: MySQL server-provided values.
|
|
@@ -983,11 +979,11 @@ class MySql(pulumi.CustomResource):
|
|
|
983
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.
|
|
984
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.
|
|
985
981
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MySqlComponentArgs', 'MySqlComponentArgsDict']]]] components: Service component information objects
|
|
986
|
-
:param pulumi.Input[_builtins.str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
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.
|
|
987
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.
|
|
988
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`
|
|
989
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.
|
|
990
|
-
: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`).
|
|
991
987
|
:param pulumi.Input[_builtins.str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
992
988
|
:param pulumi.Input[_builtins.str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
993
989
|
:param pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']] mysql: MySQL server-provided values.
|
|
@@ -1068,10 +1064,10 @@ class MySql(pulumi.CustomResource):
|
|
|
1068
1064
|
|
|
1069
1065
|
@_builtins.property
|
|
1070
1066
|
@pulumi.getter(name="diskSpace")
|
|
1071
|
-
@_utilities.deprecated("""
|
|
1067
|
+
@_utilities.deprecated("""Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.""")
|
|
1072
1068
|
def disk_space(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1073
1069
|
"""
|
|
1074
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1070
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing. Please use `additional_disk_space` to specify the space to be added to the default disk space defined by the plan.
|
|
1075
1071
|
"""
|
|
1076
1072
|
return pulumi.get(self, "disk_space")
|
|
1077
1073
|
|
|
@@ -1101,10 +1097,9 @@ class MySql(pulumi.CustomResource):
|
|
|
1101
1097
|
|
|
1102
1098
|
@_builtins.property
|
|
1103
1099
|
@pulumi.getter(name="diskSpaceUsed")
|
|
1104
|
-
@_utilities.deprecated("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
1105
1100
|
def disk_space_used(self) -> pulumi.Output[_builtins.str]:
|
|
1106
1101
|
"""
|
|
1107
|
-
|
|
1102
|
+
The disk space that the service is currently using. This is the sum of `disk_space` and `additional_disk_space` in human-readable format (for example: `90GiB`).
|
|
1108
1103
|
"""
|
|
1109
1104
|
return pulumi.get(self, "disk_space_used")
|
|
1110
1105
|
|