pulumi-aiven 6.22.0__py3-none-any.whl → 6.22.0a1722921580__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 +67 -721
- pulumi_aiven/account_authentication.py +5 -5
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/aws_vpc_peering_connection.py +7 -7
- pulumi_aiven/azure_privatelink_connection_approval.py +16 -16
- pulumi_aiven/azure_vpc_peering_connection.py +7 -7
- pulumi_aiven/cassandra.py +46 -46
- pulumi_aiven/clickhouse.py +34 -34
- pulumi_aiven/clickhouse_grant.py +34 -34
- pulumi_aiven/dragonfly.py +40 -40
- pulumi_aiven/flink.py +40 -40
- pulumi_aiven/flink_application_deployment.py +16 -16
- pulumi_aiven/flink_application_version.py +36 -36
- pulumi_aiven/gcp_vpc_peering_connection.py +7 -7
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_dragonfly.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_pg.py +8 -8
- pulumi_aiven/get_pg_database.py +8 -8
- pulumi_aiven/get_pg_user.py +16 -16
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_project_vpc.py +1 -1
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_service_integration.py +3 -3
- pulumi_aiven/get_thanos.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/get_valkey.py +1 -1
- pulumi_aiven/grafana.py +46 -46
- pulumi_aiven/influx_db.py +41 -48
- pulumi_aiven/kafka.py +62 -62
- pulumi_aiven/kafka_connect.py +59 -59
- pulumi_aiven/kafka_connector.py +2 -2
- pulumi_aiven/kafka_mirror_maker.py +45 -45
- pulumi_aiven/kafka_topic.py +18 -18
- pulumi_aiven/m3_aggregator.py +40 -40
- pulumi_aiven/m3_db.py +48 -48
- pulumi_aiven/my_sql.py +54 -54
- pulumi_aiven/mysql_user.py +7 -7
- pulumi_aiven/open_search.py +56 -56
- pulumi_aiven/organization.py +3 -3
- pulumi_aiven/organization_group_project.py +3 -3
- pulumi_aiven/organization_user_group_member.py +3 -3
- pulumi_aiven/outputs.py +135 -1252
- pulumi_aiven/pg.py +43 -43
- pulumi_aiven/pg_database.py +12 -12
- pulumi_aiven/pg_user.py +47 -47
- pulumi_aiven/project.py +5 -5
- pulumi_aiven/project_user.py +7 -7
- pulumi_aiven/project_vpc.py +4 -4
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +46 -46
- pulumi_aiven/service_integration.py +72 -72
- pulumi_aiven/service_integration_endpoint.py +65 -65
- pulumi_aiven/thanos.py +34 -34
- pulumi_aiven/transit_gateway_vpc_attachment.py +7 -7
- pulumi_aiven/valkey.py +40 -40
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/RECORD +75 -75
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/WHEEL +1 -1
- {pulumi_aiven-6.22.0.dist-info → pulumi_aiven-6.22.0a1722921580.dist-info}/top_level.txt +0 -0
pulumi_aiven/m3_db.py
CHANGED
|
@@ -37,7 +37,7 @@ class M3DbArgs:
|
|
|
37
37
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
38
38
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
39
39
|
:param pulumi.Input[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.
|
|
40
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
40
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
41
41
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
42
42
|
:param pulumi.Input[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.
|
|
43
43
|
:param pulumi.Input['M3DbM3dbArgs'] m3db: M3DB server provided values
|
|
@@ -124,7 +124,7 @@ class M3DbArgs:
|
|
|
124
124
|
@pulumi.getter(name="additionalDiskSpace")
|
|
125
125
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
126
126
|
"""
|
|
127
|
-
|
|
127
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
128
128
|
"""
|
|
129
129
|
return pulumi.get(self, "additional_disk_space")
|
|
130
130
|
|
|
@@ -311,7 +311,7 @@ class _M3DbState:
|
|
|
311
311
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
312
312
|
"""
|
|
313
313
|
Input properties used for looking up and filtering M3Db resources.
|
|
314
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
314
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
315
315
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
316
316
|
:param pulumi.Input[Sequence[pulumi.Input['M3DbComponentArgs']]] components: Service component information objects
|
|
317
317
|
:param pulumi.Input[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.
|
|
@@ -404,7 +404,7 @@ class _M3DbState:
|
|
|
404
404
|
@pulumi.getter(name="additionalDiskSpace")
|
|
405
405
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
406
406
|
"""
|
|
407
|
-
|
|
407
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
408
408
|
"""
|
|
409
409
|
return pulumi.get(self, "additional_disk_space")
|
|
410
410
|
|
|
@@ -746,18 +746,18 @@ class M3Db(pulumi.CustomResource):
|
|
|
746
746
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
747
747
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
748
748
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
749
|
-
m3db: Optional[pulumi.Input[
|
|
750
|
-
m3db_user_config: Optional[pulumi.Input[
|
|
749
|
+
m3db: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbArgs']]] = None,
|
|
750
|
+
m3db_user_config: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']]] = None,
|
|
751
751
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
752
752
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
753
753
|
plan: Optional[pulumi.Input[str]] = None,
|
|
754
754
|
project: Optional[pulumi.Input[str]] = None,
|
|
755
755
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
756
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
756
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbServiceIntegrationArgs']]]]] = None,
|
|
757
757
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
758
758
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
759
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
760
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
759
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTagArgs']]]]] = None,
|
|
760
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTechEmailArgs']]]]] = None,
|
|
761
761
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
762
762
|
__props__=None):
|
|
763
763
|
"""
|
|
@@ -776,13 +776,13 @@ class M3Db(pulumi.CustomResource):
|
|
|
776
776
|
service_name="my-m3db",
|
|
777
777
|
maintenance_window_dow="monday",
|
|
778
778
|
maintenance_window_time="10:00:00",
|
|
779
|
-
m3db_user_config=
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
779
|
+
m3db_user_config=aiven.M3DbM3dbUserConfigArgs(
|
|
780
|
+
m3db_version="1.1",
|
|
781
|
+
namespaces=[aiven.M3DbM3dbUserConfigNamespaceArgs(
|
|
782
|
+
name="my_ns1",
|
|
783
|
+
type="unaggregated",
|
|
784
|
+
)],
|
|
785
|
+
))
|
|
786
786
|
```
|
|
787
787
|
|
|
788
788
|
## Import
|
|
@@ -793,21 +793,21 @@ class M3Db(pulumi.CustomResource):
|
|
|
793
793
|
|
|
794
794
|
:param str resource_name: The name of the resource.
|
|
795
795
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
796
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
796
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
797
797
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
798
798
|
:param pulumi.Input[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.
|
|
799
|
-
:param pulumi.Input[
|
|
800
|
-
:param pulumi.Input[
|
|
799
|
+
:param pulumi.Input[pulumi.InputType['M3DbM3dbArgs']] m3db: M3DB server provided values
|
|
800
|
+
:param pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']] m3db_user_config: M3db user configurable settings
|
|
801
801
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
802
802
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
803
803
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
804
804
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
805
805
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
806
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
806
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
807
807
|
:param pulumi.Input[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.
|
|
808
808
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
809
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
810
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
809
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
810
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTechEmailArgs']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
811
811
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
812
812
|
"""
|
|
813
813
|
...
|
|
@@ -832,13 +832,13 @@ class M3Db(pulumi.CustomResource):
|
|
|
832
832
|
service_name="my-m3db",
|
|
833
833
|
maintenance_window_dow="monday",
|
|
834
834
|
maintenance_window_time="10:00:00",
|
|
835
|
-
m3db_user_config=
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
835
|
+
m3db_user_config=aiven.M3DbM3dbUserConfigArgs(
|
|
836
|
+
m3db_version="1.1",
|
|
837
|
+
namespaces=[aiven.M3DbM3dbUserConfigNamespaceArgs(
|
|
838
|
+
name="my_ns1",
|
|
839
|
+
type="unaggregated",
|
|
840
|
+
)],
|
|
841
|
+
))
|
|
842
842
|
```
|
|
843
843
|
|
|
844
844
|
## Import
|
|
@@ -865,18 +865,18 @@ class M3Db(pulumi.CustomResource):
|
|
|
865
865
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
866
866
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
867
867
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
868
|
-
m3db: Optional[pulumi.Input[
|
|
869
|
-
m3db_user_config: Optional[pulumi.Input[
|
|
868
|
+
m3db: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbArgs']]] = None,
|
|
869
|
+
m3db_user_config: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']]] = None,
|
|
870
870
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
871
871
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
872
872
|
plan: Optional[pulumi.Input[str]] = None,
|
|
873
873
|
project: Optional[pulumi.Input[str]] = None,
|
|
874
874
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
875
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
875
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbServiceIntegrationArgs']]]]] = None,
|
|
876
876
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
877
877
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
878
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
879
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
878
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTagArgs']]]]] = None,
|
|
879
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTechEmailArgs']]]]] = None,
|
|
880
880
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
881
881
|
__props__=None):
|
|
882
882
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -935,21 +935,21 @@ class M3Db(pulumi.CustomResource):
|
|
|
935
935
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
936
936
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
937
937
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
938
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
938
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbComponentArgs']]]]] = None,
|
|
939
939
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
940
940
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
941
941
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
942
942
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
943
943
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
944
|
-
m3db: Optional[pulumi.Input[
|
|
945
|
-
m3db_user_config: Optional[pulumi.Input[
|
|
944
|
+
m3db: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbArgs']]] = None,
|
|
945
|
+
m3db_user_config: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']]] = None,
|
|
946
946
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
947
947
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
948
948
|
plan: Optional[pulumi.Input[str]] = None,
|
|
949
949
|
project: Optional[pulumi.Input[str]] = None,
|
|
950
950
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
951
951
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
952
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
952
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbServiceIntegrationArgs']]]]] = None,
|
|
953
953
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
954
954
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
955
955
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -958,8 +958,8 @@ class M3Db(pulumi.CustomResource):
|
|
|
958
958
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
959
959
|
state: Optional[pulumi.Input[str]] = None,
|
|
960
960
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
961
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
962
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
961
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTagArgs']]]]] = None,
|
|
962
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTechEmailArgs']]]]] = None,
|
|
963
963
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'M3Db':
|
|
964
964
|
"""
|
|
965
965
|
Get an existing M3Db resource's state with the given name, id, and optional extra
|
|
@@ -968,23 +968,23 @@ class M3Db(pulumi.CustomResource):
|
|
|
968
968
|
:param str resource_name: The unique name of the resulting resource.
|
|
969
969
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
970
970
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
971
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
971
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
972
972
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
973
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
973
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbComponentArgs']]]] components: Service component information objects
|
|
974
974
|
:param pulumi.Input[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.
|
|
975
975
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
976
976
|
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
977
977
|
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
978
978
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
979
|
-
:param pulumi.Input[
|
|
980
|
-
:param pulumi.Input[
|
|
979
|
+
:param pulumi.Input[pulumi.InputType['M3DbM3dbArgs']] m3db: M3DB server provided values
|
|
980
|
+
:param pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']] m3db_user_config: M3db user configurable settings
|
|
981
981
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
982
982
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
983
983
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
984
984
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
985
985
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
986
986
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
987
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
987
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
988
988
|
:param pulumi.Input[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.
|
|
989
989
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
990
990
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -993,8 +993,8 @@ class M3Db(pulumi.CustomResource):
|
|
|
993
993
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
994
994
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
995
995
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
996
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
997
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
996
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
997
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTechEmailArgs']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
998
998
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
999
999
|
"""
|
|
1000
1000
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1035,7 +1035,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
1035
1035
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1036
1036
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1037
1037
|
"""
|
|
1038
|
-
|
|
1038
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1039
1039
|
"""
|
|
1040
1040
|
return pulumi.get(self, "additional_disk_space")
|
|
1041
1041
|
|
pulumi_aiven/my_sql.py
CHANGED
|
@@ -37,7 +37,7 @@ class MySqlArgs:
|
|
|
37
37
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
38
38
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
39
39
|
:param pulumi.Input[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.
|
|
40
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
40
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
41
41
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
42
42
|
:param pulumi.Input[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.
|
|
43
43
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
@@ -124,7 +124,7 @@ class MySqlArgs:
|
|
|
124
124
|
@pulumi.getter(name="additionalDiskSpace")
|
|
125
125
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
126
126
|
"""
|
|
127
|
-
|
|
127
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
128
128
|
"""
|
|
129
129
|
return pulumi.get(self, "additional_disk_space")
|
|
130
130
|
|
|
@@ -311,7 +311,7 @@ class _MySqlState:
|
|
|
311
311
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
312
312
|
"""
|
|
313
313
|
Input properties used for looking up and filtering MySql resources.
|
|
314
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
314
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
315
315
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
316
316
|
:param pulumi.Input[Sequence[pulumi.Input['MySqlComponentArgs']]] components: Service component information objects
|
|
317
317
|
:param pulumi.Input[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.
|
|
@@ -404,7 +404,7 @@ class _MySqlState:
|
|
|
404
404
|
@pulumi.getter(name="additionalDiskSpace")
|
|
405
405
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
406
406
|
"""
|
|
407
|
-
|
|
407
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
408
408
|
"""
|
|
409
409
|
return pulumi.get(self, "additional_disk_space")
|
|
410
410
|
|
|
@@ -748,16 +748,16 @@ class MySql(pulumi.CustomResource):
|
|
|
748
748
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
749
749
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
750
750
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
751
|
-
mysql: Optional[pulumi.Input[
|
|
752
|
-
mysql_user_config: Optional[pulumi.Input[
|
|
751
|
+
mysql: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlArgs']]] = None,
|
|
752
|
+
mysql_user_config: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']]] = None,
|
|
753
753
|
plan: Optional[pulumi.Input[str]] = None,
|
|
754
754
|
project: Optional[pulumi.Input[str]] = None,
|
|
755
755
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
756
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
756
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlServiceIntegrationArgs']]]]] = None,
|
|
757
757
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
758
758
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
759
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
760
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
759
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTagArgs']]]]] = None,
|
|
760
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]]] = None,
|
|
761
761
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
762
762
|
__props__=None):
|
|
763
763
|
"""
|
|
@@ -776,16 +776,16 @@ class MySql(pulumi.CustomResource):
|
|
|
776
776
|
service_name="my-mysql1",
|
|
777
777
|
maintenance_window_dow="monday",
|
|
778
778
|
maintenance_window_time="10:00:00",
|
|
779
|
-
mysql_user_config=
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
779
|
+
mysql_user_config=aiven.MySqlMysqlUserConfigArgs(
|
|
780
|
+
mysql_version="8",
|
|
781
|
+
mysql=aiven.MySqlMysqlUserConfigMysqlArgs(
|
|
782
|
+
sql_mode="ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE",
|
|
783
|
+
sql_require_primary_key=True,
|
|
784
|
+
),
|
|
785
|
+
public_access=aiven.MySqlMysqlUserConfigPublicAccessArgs(
|
|
786
|
+
mysql=True,
|
|
787
|
+
),
|
|
788
|
+
))
|
|
789
789
|
```
|
|
790
790
|
|
|
791
791
|
## Import
|
|
@@ -796,21 +796,21 @@ class MySql(pulumi.CustomResource):
|
|
|
796
796
|
|
|
797
797
|
:param str resource_name: The name of the resource.
|
|
798
798
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
799
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
799
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
800
800
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
801
801
|
:param pulumi.Input[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.
|
|
802
802
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
803
803
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
804
|
-
:param pulumi.Input[
|
|
805
|
-
:param pulumi.Input[
|
|
804
|
+
:param pulumi.Input[pulumi.InputType['MySqlMysqlArgs']] mysql: MySQL specific server provided values
|
|
805
|
+
:param pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']] mysql_user_config: Mysql user configurable settings
|
|
806
806
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
807
807
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
808
808
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
809
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
809
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
810
810
|
:param pulumi.Input[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.
|
|
811
811
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
812
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
813
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
812
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
813
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
814
814
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
815
815
|
"""
|
|
816
816
|
...
|
|
@@ -835,16 +835,16 @@ class MySql(pulumi.CustomResource):
|
|
|
835
835
|
service_name="my-mysql1",
|
|
836
836
|
maintenance_window_dow="monday",
|
|
837
837
|
maintenance_window_time="10:00:00",
|
|
838
|
-
mysql_user_config=
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
838
|
+
mysql_user_config=aiven.MySqlMysqlUserConfigArgs(
|
|
839
|
+
mysql_version="8",
|
|
840
|
+
mysql=aiven.MySqlMysqlUserConfigMysqlArgs(
|
|
841
|
+
sql_mode="ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE",
|
|
842
|
+
sql_require_primary_key=True,
|
|
843
|
+
),
|
|
844
|
+
public_access=aiven.MySqlMysqlUserConfigPublicAccessArgs(
|
|
845
|
+
mysql=True,
|
|
846
|
+
),
|
|
847
|
+
))
|
|
848
848
|
```
|
|
849
849
|
|
|
850
850
|
## Import
|
|
@@ -873,16 +873,16 @@ class MySql(pulumi.CustomResource):
|
|
|
873
873
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
874
874
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
875
875
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
876
|
-
mysql: Optional[pulumi.Input[
|
|
877
|
-
mysql_user_config: Optional[pulumi.Input[
|
|
876
|
+
mysql: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlArgs']]] = None,
|
|
877
|
+
mysql_user_config: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']]] = None,
|
|
878
878
|
plan: Optional[pulumi.Input[str]] = None,
|
|
879
879
|
project: Optional[pulumi.Input[str]] = None,
|
|
880
880
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
881
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
881
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlServiceIntegrationArgs']]]]] = None,
|
|
882
882
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
883
883
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
884
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
885
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
884
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTagArgs']]]]] = None,
|
|
885
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]]] = None,
|
|
886
886
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
887
887
|
__props__=None):
|
|
888
888
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -941,7 +941,7 @@ class MySql(pulumi.CustomResource):
|
|
|
941
941
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
942
942
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
943
943
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
944
|
-
components: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
944
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlComponentArgs']]]]] = None,
|
|
945
945
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
946
946
|
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
947
947
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
@@ -949,13 +949,13 @@ class MySql(pulumi.CustomResource):
|
|
|
949
949
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
950
950
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
951
951
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
952
|
-
mysql: Optional[pulumi.Input[
|
|
953
|
-
mysql_user_config: Optional[pulumi.Input[
|
|
952
|
+
mysql: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlArgs']]] = None,
|
|
953
|
+
mysql_user_config: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']]] = None,
|
|
954
954
|
plan: Optional[pulumi.Input[str]] = None,
|
|
955
955
|
project: Optional[pulumi.Input[str]] = None,
|
|
956
956
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
957
957
|
service_host: Optional[pulumi.Input[str]] = None,
|
|
958
|
-
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
958
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlServiceIntegrationArgs']]]]] = None,
|
|
959
959
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
960
960
|
service_password: Optional[pulumi.Input[str]] = None,
|
|
961
961
|
service_port: Optional[pulumi.Input[int]] = None,
|
|
@@ -964,8 +964,8 @@ class MySql(pulumi.CustomResource):
|
|
|
964
964
|
service_username: Optional[pulumi.Input[str]] = None,
|
|
965
965
|
state: Optional[pulumi.Input[str]] = None,
|
|
966
966
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
967
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
968
|
-
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
967
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTagArgs']]]]] = None,
|
|
968
|
+
tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]]] = None,
|
|
969
969
|
termination_protection: Optional[pulumi.Input[bool]] = None) -> 'MySql':
|
|
970
970
|
"""
|
|
971
971
|
Get an existing MySql resource's state with the given name, id, and optional extra
|
|
@@ -974,9 +974,9 @@ class MySql(pulumi.CustomResource):
|
|
|
974
974
|
:param str resource_name: The unique name of the resulting resource.
|
|
975
975
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
976
976
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
977
|
-
:param pulumi.Input[str] additional_disk_space:
|
|
977
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
978
978
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
979
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
979
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlComponentArgs']]]] components: Service component information objects
|
|
980
980
|
:param pulumi.Input[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.
|
|
981
981
|
:param pulumi.Input[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
982
|
:param pulumi.Input[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`
|
|
@@ -984,13 +984,13 @@ class MySql(pulumi.CustomResource):
|
|
|
984
984
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
985
985
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
986
986
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
987
|
-
:param pulumi.Input[
|
|
988
|
-
:param pulumi.Input[
|
|
987
|
+
:param pulumi.Input[pulumi.InputType['MySqlMysqlArgs']] mysql: MySQL specific server provided values
|
|
988
|
+
:param pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']] mysql_user_config: Mysql user configurable settings
|
|
989
989
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
990
990
|
:param pulumi.Input[str] project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
991
991
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
992
992
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
993
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
993
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
994
994
|
:param pulumi.Input[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.
|
|
995
995
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
996
996
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -999,8 +999,8 @@ class MySql(pulumi.CustomResource):
|
|
|
999
999
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1000
1000
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1001
1001
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1002
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1003
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
1002
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1003
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
1004
1004
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1005
1005
|
"""
|
|
1006
1006
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1041,7 +1041,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1041
1041
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1042
1042
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1043
1043
|
"""
|
|
1044
|
-
|
|
1044
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
1045
1045
|
"""
|
|
1046
1046
|
return pulumi.get(self, "additional_disk_space")
|
|
1047
1047
|
|