pulumi-aiven 6.22.0a1723007981__py3-none-any.whl → 6.22.0a1723454180__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.

Files changed (35) hide show
  1. pulumi_aiven/account_authentication.py +5 -5
  2. pulumi_aiven/azure_privatelink_connection_approval.py +16 -16
  3. pulumi_aiven/cassandra.py +39 -39
  4. pulumi_aiven/clickhouse.py +27 -27
  5. pulumi_aiven/clickhouse_grant.py +34 -34
  6. pulumi_aiven/dragonfly.py +33 -33
  7. pulumi_aiven/flink.py +33 -33
  8. pulumi_aiven/flink_application_deployment.py +16 -16
  9. pulumi_aiven/flink_application_version.py +36 -36
  10. pulumi_aiven/grafana.py +39 -39
  11. pulumi_aiven/influx_db.py +27 -27
  12. pulumi_aiven/kafka.py +55 -55
  13. pulumi_aiven/kafka_connect.py +52 -52
  14. pulumi_aiven/kafka_connector.py +2 -2
  15. pulumi_aiven/kafka_mirror_maker.py +38 -38
  16. pulumi_aiven/kafka_topic.py +18 -18
  17. pulumi_aiven/m3_aggregator.py +33 -33
  18. pulumi_aiven/m3_db.py +41 -41
  19. pulumi_aiven/my_sql.py +47 -47
  20. pulumi_aiven/open_search.py +49 -49
  21. pulumi_aiven/organization.py +3 -3
  22. pulumi_aiven/organization_group_project.py +3 -3
  23. pulumi_aiven/organization_user_group_member.py +3 -3
  24. pulumi_aiven/pg.py +27 -27
  25. pulumi_aiven/project.py +5 -5
  26. pulumi_aiven/pulumi-plugin.json +1 -1
  27. pulumi_aiven/redis.py +39 -39
  28. pulumi_aiven/service_integration.py +65 -65
  29. pulumi_aiven/service_integration_endpoint.py +65 -65
  30. pulumi_aiven/thanos.py +27 -27
  31. pulumi_aiven/valkey.py +33 -33
  32. {pulumi_aiven-6.22.0a1723007981.dist-info → pulumi_aiven-6.22.0a1723454180.dist-info}/METADATA +1 -1
  33. {pulumi_aiven-6.22.0a1723007981.dist-info → pulumi_aiven-6.22.0a1723454180.dist-info}/RECORD +35 -35
  34. {pulumi_aiven-6.22.0a1723007981.dist-info → pulumi_aiven-6.22.0a1723454180.dist-info}/WHEEL +0 -0
  35. {pulumi_aiven-6.22.0a1723007981.dist-info → pulumi_aiven-6.22.0a1723454180.dist-info}/top_level.txt +0 -0
@@ -746,18 +746,18 @@ class M3Aggregator(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
- m3aggregator: Optional[pulumi.Input[pulumi.InputType['M3AggregatorM3aggregatorArgs']]] = None,
750
- m3aggregator_user_config: Optional[pulumi.Input[pulumi.InputType['M3AggregatorM3aggregatorUserConfigArgs']]] = None,
749
+ m3aggregator: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']]] = None,
750
+ m3aggregator_user_config: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']]] = 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[pulumi.InputType['M3AggregatorServiceIntegrationArgs']]]]] = None,
756
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorServiceIntegrationArgs', 'M3AggregatorServiceIntegrationArgsDict']]]]] = 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[pulumi.InputType['M3AggregatorTagArgs']]]]] = None,
760
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorTechEmailArgs']]]]] = None,
759
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTagArgs', 'M3AggregatorTagArgsDict']]]]] = None,
760
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTechEmailArgs', 'M3AggregatorTechEmailArgsDict']]]]] = None,
761
761
  termination_protection: Optional[pulumi.Input[bool]] = None,
762
762
  __props__=None):
763
763
  """
@@ -776,9 +776,9 @@ class M3Aggregator(pulumi.CustomResource):
776
776
  service_name="my-m3a",
777
777
  maintenance_window_dow="monday",
778
778
  maintenance_window_time="10:00:00",
779
- m3aggregator_user_config=aiven.M3AggregatorM3aggregatorUserConfigArgs(
780
- m3aggregator_version="0.15",
781
- ))
779
+ m3aggregator_user_config={
780
+ "m3aggregator_version": "0.15",
781
+ })
782
782
  ```
783
783
 
784
784
  ## Import
@@ -792,18 +792,18 @@ class M3Aggregator(pulumi.CustomResource):
792
792
  :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.
793
793
  :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).
794
794
  :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.
795
- :param pulumi.Input[pulumi.InputType['M3AggregatorM3aggregatorArgs']] m3aggregator: M3 Aggregator server provided values
796
- :param pulumi.Input[pulumi.InputType['M3AggregatorM3aggregatorUserConfigArgs']] m3aggregator_user_config: M3aggregator user configurable settings
795
+ :param pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']] m3aggregator: M3 Aggregator server provided values
796
+ :param pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']] m3aggregator_user_config: M3aggregator user configurable settings
797
797
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
798
798
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
799
799
  :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).
800
800
  :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.
801
801
  :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.
802
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
802
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorServiceIntegrationArgs', 'M3AggregatorServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
803
803
  :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.
804
804
  :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
805
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
806
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorTechEmailArgs']]]] 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.
805
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTagArgs', 'M3AggregatorTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
806
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTechEmailArgs', 'M3AggregatorTechEmailArgsDict']]]] 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.
807
807
  :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.
808
808
  """
809
809
  ...
@@ -828,9 +828,9 @@ class M3Aggregator(pulumi.CustomResource):
828
828
  service_name="my-m3a",
829
829
  maintenance_window_dow="monday",
830
830
  maintenance_window_time="10:00:00",
831
- m3aggregator_user_config=aiven.M3AggregatorM3aggregatorUserConfigArgs(
832
- m3aggregator_version="0.15",
833
- ))
831
+ m3aggregator_user_config={
832
+ "m3aggregator_version": "0.15",
833
+ })
834
834
  ```
835
835
 
836
836
  ## Import
@@ -857,18 +857,18 @@ class M3Aggregator(pulumi.CustomResource):
857
857
  additional_disk_space: Optional[pulumi.Input[str]] = None,
858
858
  cloud_name: Optional[pulumi.Input[str]] = None,
859
859
  disk_space: Optional[pulumi.Input[str]] = None,
860
- m3aggregator: Optional[pulumi.Input[pulumi.InputType['M3AggregatorM3aggregatorArgs']]] = None,
861
- m3aggregator_user_config: Optional[pulumi.Input[pulumi.InputType['M3AggregatorM3aggregatorUserConfigArgs']]] = None,
860
+ m3aggregator: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']]] = None,
861
+ m3aggregator_user_config: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']]] = None,
862
862
  maintenance_window_dow: Optional[pulumi.Input[str]] = None,
863
863
  maintenance_window_time: Optional[pulumi.Input[str]] = None,
864
864
  plan: Optional[pulumi.Input[str]] = None,
865
865
  project: Optional[pulumi.Input[str]] = None,
866
866
  project_vpc_id: Optional[pulumi.Input[str]] = None,
867
- service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorServiceIntegrationArgs']]]]] = None,
867
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorServiceIntegrationArgs', 'M3AggregatorServiceIntegrationArgsDict']]]]] = None,
868
868
  service_name: Optional[pulumi.Input[str]] = None,
869
869
  static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
870
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorTagArgs']]]]] = None,
871
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorTechEmailArgs']]]]] = None,
870
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTagArgs', 'M3AggregatorTagArgsDict']]]]] = None,
871
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTechEmailArgs', 'M3AggregatorTechEmailArgsDict']]]]] = None,
872
872
  termination_protection: Optional[pulumi.Input[bool]] = None,
873
873
  __props__=None):
874
874
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -927,21 +927,21 @@ class M3Aggregator(pulumi.CustomResource):
927
927
  opts: Optional[pulumi.ResourceOptions] = None,
928
928
  additional_disk_space: Optional[pulumi.Input[str]] = None,
929
929
  cloud_name: Optional[pulumi.Input[str]] = None,
930
- components: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorComponentArgs']]]]] = None,
930
+ components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorComponentArgs', 'M3AggregatorComponentArgsDict']]]]] = None,
931
931
  disk_space: Optional[pulumi.Input[str]] = None,
932
932
  disk_space_cap: Optional[pulumi.Input[str]] = None,
933
933
  disk_space_default: Optional[pulumi.Input[str]] = None,
934
934
  disk_space_step: Optional[pulumi.Input[str]] = None,
935
935
  disk_space_used: Optional[pulumi.Input[str]] = None,
936
- m3aggregator: Optional[pulumi.Input[pulumi.InputType['M3AggregatorM3aggregatorArgs']]] = None,
937
- m3aggregator_user_config: Optional[pulumi.Input[pulumi.InputType['M3AggregatorM3aggregatorUserConfigArgs']]] = None,
936
+ m3aggregator: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']]] = None,
937
+ m3aggregator_user_config: Optional[pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']]] = None,
938
938
  maintenance_window_dow: Optional[pulumi.Input[str]] = None,
939
939
  maintenance_window_time: Optional[pulumi.Input[str]] = None,
940
940
  plan: Optional[pulumi.Input[str]] = None,
941
941
  project: Optional[pulumi.Input[str]] = None,
942
942
  project_vpc_id: Optional[pulumi.Input[str]] = None,
943
943
  service_host: Optional[pulumi.Input[str]] = None,
944
- service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorServiceIntegrationArgs']]]]] = None,
944
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorServiceIntegrationArgs', 'M3AggregatorServiceIntegrationArgsDict']]]]] = None,
945
945
  service_name: Optional[pulumi.Input[str]] = None,
946
946
  service_password: Optional[pulumi.Input[str]] = None,
947
947
  service_port: Optional[pulumi.Input[int]] = None,
@@ -950,8 +950,8 @@ class M3Aggregator(pulumi.CustomResource):
950
950
  service_username: Optional[pulumi.Input[str]] = None,
951
951
  state: Optional[pulumi.Input[str]] = None,
952
952
  static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
953
- tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorTagArgs']]]]] = None,
954
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorTechEmailArgs']]]]] = None,
953
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTagArgs', 'M3AggregatorTagArgsDict']]]]] = None,
954
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTechEmailArgs', 'M3AggregatorTechEmailArgsDict']]]]] = None,
955
955
  termination_protection: Optional[pulumi.Input[bool]] = None) -> 'M3Aggregator':
956
956
  """
957
957
  Get an existing M3Aggregator resource's state with the given name, id, and optional extra
@@ -962,21 +962,21 @@ class M3Aggregator(pulumi.CustomResource):
962
962
  :param pulumi.ResourceOptions opts: Options for the resource.
963
963
  :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.
964
964
  :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).
965
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorComponentArgs']]]] components: Service component information objects
965
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorComponentArgs', 'M3AggregatorComponentArgsDict']]]] components: Service component information objects
966
966
  :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.
967
967
  :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.
968
968
  :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`
969
969
  :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.
970
970
  :param pulumi.Input[str] disk_space_used: Disk space that service is currently using
971
- :param pulumi.Input[pulumi.InputType['M3AggregatorM3aggregatorArgs']] m3aggregator: M3 Aggregator server provided values
972
- :param pulumi.Input[pulumi.InputType['M3AggregatorM3aggregatorUserConfigArgs']] m3aggregator_user_config: M3aggregator user configurable settings
971
+ :param pulumi.Input[Union['M3AggregatorM3aggregatorArgs', 'M3AggregatorM3aggregatorArgsDict']] m3aggregator: M3 Aggregator server provided values
972
+ :param pulumi.Input[Union['M3AggregatorM3aggregatorUserConfigArgs', 'M3AggregatorM3aggregatorUserConfigArgsDict']] m3aggregator_user_config: M3aggregator user configurable settings
973
973
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
974
974
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
975
975
  :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).
976
976
  :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.
977
977
  :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.
978
978
  :param pulumi.Input[str] service_host: The hostname of the service.
979
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
979
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorServiceIntegrationArgs', 'M3AggregatorServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
980
980
  :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.
981
981
  :param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
982
982
  :param pulumi.Input[int] service_port: The port of the service
@@ -985,8 +985,8 @@ class M3Aggregator(pulumi.CustomResource):
985
985
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
986
986
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
987
987
  :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
988
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
989
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3AggregatorTechEmailArgs']]]] 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.
988
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTagArgs', 'M3AggregatorTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
989
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3AggregatorTechEmailArgs', 'M3AggregatorTechEmailArgsDict']]]] 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.
990
990
  :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.
991
991
  """
992
992
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
pulumi_aiven/m3_db.py CHANGED
@@ -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[pulumi.InputType['M3DbM3dbArgs']]] = None,
750
- m3db_user_config: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']]] = None,
749
+ m3db: Optional[pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']]] = None,
750
+ m3db_user_config: Optional[pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']]] = 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[pulumi.InputType['M3DbServiceIntegrationArgs']]]]] = None,
756
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]]] = 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[pulumi.InputType['M3DbTagArgs']]]]] = None,
760
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTechEmailArgs']]]]] = None,
759
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]]] = None,
760
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]]] = 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=aiven.M3DbM3dbUserConfigArgs(
780
- m3db_version="1.1",
781
- namespaces=[aiven.M3DbM3dbUserConfigNamespaceArgs(
782
- name="my_ns1",
783
- type="unaggregated",
784
- )],
785
- ))
779
+ m3db_user_config={
780
+ "m3db_version": "1.1",
781
+ "namespaces": [{
782
+ "name": "my_ns1",
783
+ "type": "unaggregated",
784
+ }],
785
+ })
786
786
  ```
787
787
 
788
788
  ## Import
@@ -796,18 +796,18 @@ class M3Db(pulumi.CustomResource):
796
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[pulumi.InputType['M3DbM3dbArgs']] m3db: M3DB server provided values
800
- :param pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']] m3db_user_config: M3db user configurable settings
799
+ :param pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']] m3db: M3DB server provided values
800
+ :param pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']] 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[pulumi.InputType['M3DbServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
806
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]] 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[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.
809
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
810
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]] 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=aiven.M3DbM3dbUserConfigArgs(
836
- m3db_version="1.1",
837
- namespaces=[aiven.M3DbM3dbUserConfigNamespaceArgs(
838
- name="my_ns1",
839
- type="unaggregated",
840
- )],
841
- ))
835
+ m3db_user_config={
836
+ "m3db_version": "1.1",
837
+ "namespaces": [{
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[pulumi.InputType['M3DbM3dbArgs']]] = None,
869
- m3db_user_config: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']]] = None,
868
+ m3db: Optional[pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']]] = None,
869
+ m3db_user_config: Optional[pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']]] = 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[pulumi.InputType['M3DbServiceIntegrationArgs']]]]] = None,
875
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]]] = 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[pulumi.InputType['M3DbTagArgs']]]]] = None,
879
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTechEmailArgs']]]]] = None,
878
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]]] = None,
879
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]]] = 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[pulumi.InputType['M3DbComponentArgs']]]]] = None,
938
+ components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbComponentArgs', 'M3DbComponentArgsDict']]]]] = 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[pulumi.InputType['M3DbM3dbArgs']]] = None,
945
- m3db_user_config: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']]] = None,
944
+ m3db: Optional[pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']]] = None,
945
+ m3db_user_config: Optional[pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']]] = 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[pulumi.InputType['M3DbServiceIntegrationArgs']]]]] = None,
952
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]]] = 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[pulumi.InputType['M3DbTagArgs']]]]] = None,
962
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['M3DbTechEmailArgs']]]]] = None,
961
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]]] = None,
962
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]]] = 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
@@ -970,21 +970,21 @@ class M3Db(pulumi.CustomResource):
970
970
  :param pulumi.ResourceOptions opts: Options for the resource.
971
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[pulumi.InputType['M3DbComponentArgs']]]] components: Service component information objects
973
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3DbComponentArgs', 'M3DbComponentArgsDict']]]] 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[pulumi.InputType['M3DbM3dbArgs']] m3db: M3DB server provided values
980
- :param pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']] m3db_user_config: M3db user configurable settings
979
+ :param pulumi.Input[Union['M3DbM3dbArgs', 'M3DbM3dbArgsDict']] m3db: M3DB server provided values
980
+ :param pulumi.Input[Union['M3DbM3dbUserConfigArgs', 'M3DbM3dbUserConfigArgsDict']] 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[pulumi.InputType['M3DbServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
987
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3DbServiceIntegrationArgs', 'M3DbServiceIntegrationArgsDict']]]] 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[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.
996
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3DbTagArgs', 'M3DbTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
997
+ :param pulumi.Input[Sequence[pulumi.Input[Union['M3DbTechEmailArgs', 'M3DbTechEmailArgsDict']]]] 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))
pulumi_aiven/my_sql.py CHANGED
@@ -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[pulumi.InputType['MySqlMysqlArgs']]] = None,
752
- mysql_user_config: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']]] = None,
751
+ mysql: Optional[pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']]] = None,
752
+ mysql_user_config: Optional[pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']]] = 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[pulumi.InputType['MySqlServiceIntegrationArgs']]]]] = None,
756
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MySqlServiceIntegrationArgs', 'MySqlServiceIntegrationArgsDict']]]]] = 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[pulumi.InputType['MySqlTagArgs']]]]] = None,
760
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]]] = None,
759
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MySqlTagArgs', 'MySqlTagArgsDict']]]]] = None,
760
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MySqlTechEmailArgs', 'MySqlTechEmailArgsDict']]]]] = 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=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
- ))
779
+ mysql_user_config={
780
+ "mysql_version": "8",
781
+ "mysql": {
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": {
786
+ "mysql": True,
787
+ },
788
+ })
789
789
  ```
790
790
 
791
791
  ## Import
@@ -801,16 +801,16 @@ class MySql(pulumi.CustomResource):
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[pulumi.InputType['MySqlMysqlArgs']] mysql: MySQL specific server provided values
805
- :param pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']] mysql_user_config: Mysql user configurable settings
804
+ :param pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']] mysql: MySQL specific server provided values
805
+ :param pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']] 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[pulumi.InputType['MySqlServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
809
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MySqlServiceIntegrationArgs', 'MySqlServiceIntegrationArgsDict']]]] 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[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.
812
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MySqlTagArgs', 'MySqlTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
813
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MySqlTechEmailArgs', 'MySqlTechEmailArgsDict']]]] 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=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
- ))
838
+ mysql_user_config={
839
+ "mysql_version": "8",
840
+ "mysql": {
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": {
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[pulumi.InputType['MySqlMysqlArgs']]] = None,
877
- mysql_user_config: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']]] = None,
876
+ mysql: Optional[pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']]] = None,
877
+ mysql_user_config: Optional[pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']]] = 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[pulumi.InputType['MySqlServiceIntegrationArgs']]]]] = None,
881
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MySqlServiceIntegrationArgs', 'MySqlServiceIntegrationArgsDict']]]]] = 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[pulumi.InputType['MySqlTagArgs']]]]] = None,
885
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]]] = None,
884
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MySqlTagArgs', 'MySqlTagArgsDict']]]]] = None,
885
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MySqlTechEmailArgs', 'MySqlTechEmailArgsDict']]]]] = 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[pulumi.InputType['MySqlComponentArgs']]]]] = None,
944
+ components: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MySqlComponentArgs', 'MySqlComponentArgsDict']]]]] = 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[pulumi.InputType['MySqlMysqlArgs']]] = None,
953
- mysql_user_config: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']]] = None,
952
+ mysql: Optional[pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']]] = None,
953
+ mysql_user_config: Optional[pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']]] = 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[pulumi.InputType['MySqlServiceIntegrationArgs']]]]] = None,
958
+ service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MySqlServiceIntegrationArgs', 'MySqlServiceIntegrationArgsDict']]]]] = 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[pulumi.InputType['MySqlTagArgs']]]]] = None,
968
- tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['MySqlTechEmailArgs']]]]] = None,
967
+ tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MySqlTagArgs', 'MySqlTagArgsDict']]]]] = None,
968
+ tech_emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MySqlTechEmailArgs', 'MySqlTechEmailArgsDict']]]]] = 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
@@ -976,7 +976,7 @@ class MySql(pulumi.CustomResource):
976
976
  :param pulumi.ResourceOptions opts: Options for the resource.
977
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[pulumi.InputType['MySqlComponentArgs']]]] components: Service component information objects
979
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MySqlComponentArgs', 'MySqlComponentArgsDict']]]] 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[pulumi.InputType['MySqlMysqlArgs']] mysql: MySQL specific server provided values
988
- :param pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']] mysql_user_config: Mysql user configurable settings
987
+ :param pulumi.Input[Union['MySqlMysqlArgs', 'MySqlMysqlArgsDict']] mysql: MySQL specific server provided values
988
+ :param pulumi.Input[Union['MySqlMysqlUserConfigArgs', 'MySqlMysqlUserConfigArgsDict']] 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[pulumi.InputType['MySqlServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
993
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MySqlServiceIntegrationArgs', 'MySqlServiceIntegrationArgsDict']]]] 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[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.
1002
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MySqlTagArgs', 'MySqlTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
1003
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MySqlTechEmailArgs', 'MySqlTechEmailArgsDict']]]] 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))