pulumi-aiven 6.16.0a1716504562__py3-none-any.whl → 6.17.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +1133 -397
- pulumi_aiven/cassandra.py +48 -1
- pulumi_aiven/clickhouse.py +48 -1
- pulumi_aiven/dragonfly.py +48 -1
- pulumi_aiven/flink.py +2 -2
- pulumi_aiven/flink_application_deployment.py +56 -30
- pulumi_aiven/gcp_privatelink.py +52 -30
- pulumi_aiven/gcp_privatelink_connection_approval.py +54 -30
- pulumi_aiven/get_cassanda.py +14 -1
- pulumi_aiven/get_cassandra.py +14 -1
- pulumi_aiven/get_clickhouse.py +14 -1
- pulumi_aiven/get_dragonfly.py +14 -1
- pulumi_aiven/get_gcp_privatelink.py +45 -2
- pulumi_aiven/get_grafana.py +14 -1
- pulumi_aiven/get_m3_aggregator.py +14 -1
- pulumi_aiven/get_m3_db.py +14 -1
- pulumi_aiven/get_mirror_maker_replication_flow.py +15 -2
- pulumi_aiven/get_my_sql.py +14 -1
- pulumi_aiven/get_organization_application_user.py +15 -8
- pulumi_aiven/get_redis.py +14 -1
- pulumi_aiven/get_service_integration.py +3 -3
- pulumi_aiven/get_service_integration_endpoint.py +1 -1
- pulumi_aiven/grafana.py +48 -1
- pulumi_aiven/influx_db.py +21 -2
- pulumi_aiven/kafka.py +20 -1
- pulumi_aiven/m3_aggregator.py +48 -1
- pulumi_aiven/m3_db.py +48 -1
- pulumi_aiven/mirror_maker_replication_flow.py +54 -7
- pulumi_aiven/my_sql.py +48 -1
- pulumi_aiven/open_search.py +21 -2
- pulumi_aiven/organization_application_user.py +52 -45
- pulumi_aiven/organization_application_user_token.py +15 -51
- pulumi_aiven/outputs.py +1758 -397
- pulumi_aiven/pg.py +2 -2
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +48 -1
- pulumi_aiven/service_integration.py +7 -7
- pulumi_aiven/service_integration_endpoint.py +7 -7
- {pulumi_aiven-6.16.0a1716504562.dist-info → pulumi_aiven-6.17.0.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.16.0a1716504562.dist-info → pulumi_aiven-6.17.0.dist-info}/RECORD +42 -42
- {pulumi_aiven-6.16.0a1716504562.dist-info → pulumi_aiven-6.17.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.16.0a1716504562.dist-info → pulumi_aiven-6.17.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/m3_db.py
CHANGED
|
@@ -22,6 +22,7 @@ class M3DbArgs:
|
|
|
22
22
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
23
23
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
24
24
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
25
|
+
m3db: Optional[pulumi.Input['M3DbM3dbArgs']] = None,
|
|
25
26
|
m3db_user_config: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']] = None,
|
|
26
27
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
27
28
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -39,6 +40,7 @@ class M3DbArgs:
|
|
|
39
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.
|
|
40
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).
|
|
41
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
|
+
:param pulumi.Input['M3DbM3dbArgs'] m3db: M3DB server provided values
|
|
42
44
|
:param pulumi.Input['M3DbM3dbUserConfigArgs'] m3db_user_config: M3db user configurable settings
|
|
43
45
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
44
46
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -61,6 +63,8 @@ class M3DbArgs:
|
|
|
61
63
|
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
62
64
|
if disk_space is not None:
|
|
63
65
|
pulumi.set(__self__, "disk_space", disk_space)
|
|
66
|
+
if m3db is not None:
|
|
67
|
+
pulumi.set(__self__, "m3db", m3db)
|
|
64
68
|
if m3db_user_config is not None:
|
|
65
69
|
pulumi.set(__self__, "m3db_user_config", m3db_user_config)
|
|
66
70
|
if maintenance_window_dow is not None:
|
|
@@ -155,6 +159,18 @@ class M3DbArgs:
|
|
|
155
159
|
def disk_space(self, value: Optional[pulumi.Input[str]]):
|
|
156
160
|
pulumi.set(self, "disk_space", value)
|
|
157
161
|
|
|
162
|
+
@property
|
|
163
|
+
@pulumi.getter
|
|
164
|
+
def m3db(self) -> Optional[pulumi.Input['M3DbM3dbArgs']]:
|
|
165
|
+
"""
|
|
166
|
+
M3DB server provided values
|
|
167
|
+
"""
|
|
168
|
+
return pulumi.get(self, "m3db")
|
|
169
|
+
|
|
170
|
+
@m3db.setter
|
|
171
|
+
def m3db(self, value: Optional[pulumi.Input['M3DbM3dbArgs']]):
|
|
172
|
+
pulumi.set(self, "m3db", value)
|
|
173
|
+
|
|
158
174
|
@property
|
|
159
175
|
@pulumi.getter(name="m3dbUserConfig")
|
|
160
176
|
def m3db_user_config(self) -> Optional[pulumi.Input['M3DbM3dbUserConfigArgs']]:
|
|
@@ -275,6 +291,7 @@ class _M3DbState:
|
|
|
275
291
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
276
292
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
277
293
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
294
|
+
m3db: Optional[pulumi.Input['M3DbM3dbArgs']] = None,
|
|
278
295
|
m3db_user_config: Optional[pulumi.Input['M3DbM3dbUserConfigArgs']] = None,
|
|
279
296
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
280
297
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -304,6 +321,7 @@ class _M3DbState:
|
|
|
304
321
|
: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`
|
|
305
322
|
: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.
|
|
306
323
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
324
|
+
:param pulumi.Input['M3DbM3dbArgs'] m3db: M3DB server provided values
|
|
307
325
|
:param pulumi.Input['M3DbM3dbUserConfigArgs'] m3db_user_config: M3db user configurable settings
|
|
308
326
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
309
327
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -343,6 +361,8 @@ class _M3DbState:
|
|
|
343
361
|
pulumi.set(__self__, "disk_space_step", disk_space_step)
|
|
344
362
|
if disk_space_used is not None:
|
|
345
363
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
364
|
+
if m3db is not None:
|
|
365
|
+
pulumi.set(__self__, "m3db", m3db)
|
|
346
366
|
if m3db_user_config is not None:
|
|
347
367
|
pulumi.set(__self__, "m3db_user_config", m3db_user_config)
|
|
348
368
|
if maintenance_window_dow is not None:
|
|
@@ -481,6 +501,18 @@ class _M3DbState:
|
|
|
481
501
|
def disk_space_used(self, value: Optional[pulumi.Input[str]]):
|
|
482
502
|
pulumi.set(self, "disk_space_used", value)
|
|
483
503
|
|
|
504
|
+
@property
|
|
505
|
+
@pulumi.getter
|
|
506
|
+
def m3db(self) -> Optional[pulumi.Input['M3DbM3dbArgs']]:
|
|
507
|
+
"""
|
|
508
|
+
M3DB server provided values
|
|
509
|
+
"""
|
|
510
|
+
return pulumi.get(self, "m3db")
|
|
511
|
+
|
|
512
|
+
@m3db.setter
|
|
513
|
+
def m3db(self, value: Optional[pulumi.Input['M3DbM3dbArgs']]):
|
|
514
|
+
pulumi.set(self, "m3db", value)
|
|
515
|
+
|
|
484
516
|
@property
|
|
485
517
|
@pulumi.getter(name="m3dbUserConfig")
|
|
486
518
|
def m3db_user_config(self) -> Optional[pulumi.Input['M3DbM3dbUserConfigArgs']]:
|
|
@@ -718,6 +750,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
718
750
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
719
751
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
720
752
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
753
|
+
m3db: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbArgs']]] = None,
|
|
721
754
|
m3db_user_config: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']]] = None,
|
|
722
755
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
723
756
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -767,6 +800,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
767
800
|
: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.
|
|
768
801
|
: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).
|
|
769
802
|
: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.
|
|
803
|
+
:param pulumi.Input[pulumi.InputType['M3DbM3dbArgs']] m3db: M3DB server provided values
|
|
770
804
|
:param pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']] m3db_user_config: M3db user configurable settings
|
|
771
805
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
772
806
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -835,6 +869,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
835
869
|
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
836
870
|
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
837
871
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
872
|
+
m3db: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbArgs']]] = None,
|
|
838
873
|
m3db_user_config: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']]] = None,
|
|
839
874
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
840
875
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -859,6 +894,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
859
894
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
860
895
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
861
896
|
__props__.__dict__["disk_space"] = disk_space
|
|
897
|
+
__props__.__dict__["m3db"] = None if m3db is None else pulumi.Output.secret(m3db)
|
|
862
898
|
__props__.__dict__["m3db_user_config"] = m3db_user_config
|
|
863
899
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
864
900
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
@@ -889,7 +925,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
889
925
|
__props__.__dict__["service_uri"] = None
|
|
890
926
|
__props__.__dict__["service_username"] = None
|
|
891
927
|
__props__.__dict__["state"] = None
|
|
892
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
928
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["m3db", "servicePassword", "serviceUri"])
|
|
893
929
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
894
930
|
super(M3Db, __self__).__init__(
|
|
895
931
|
'aiven:index/m3Db:M3Db',
|
|
@@ -909,6 +945,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
909
945
|
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
910
946
|
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
911
947
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
948
|
+
m3db: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbArgs']]] = None,
|
|
912
949
|
m3db_user_config: Optional[pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']]] = None,
|
|
913
950
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
914
951
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
@@ -943,6 +980,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
943
980
|
: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`
|
|
944
981
|
: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.
|
|
945
982
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
983
|
+
:param pulumi.Input[pulumi.InputType['M3DbM3dbArgs']] m3db: M3DB server provided values
|
|
946
984
|
:param pulumi.Input[pulumi.InputType['M3DbM3dbUserConfigArgs']] m3db_user_config: M3db user configurable settings
|
|
947
985
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
948
986
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -975,6 +1013,7 @@ class M3Db(pulumi.CustomResource):
|
|
|
975
1013
|
__props__.__dict__["disk_space_default"] = disk_space_default
|
|
976
1014
|
__props__.__dict__["disk_space_step"] = disk_space_step
|
|
977
1015
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
1016
|
+
__props__.__dict__["m3db"] = m3db
|
|
978
1017
|
__props__.__dict__["m3db_user_config"] = m3db_user_config
|
|
979
1018
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
980
1019
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
@@ -1063,6 +1102,14 @@ class M3Db(pulumi.CustomResource):
|
|
|
1063
1102
|
"""
|
|
1064
1103
|
return pulumi.get(self, "disk_space_used")
|
|
1065
1104
|
|
|
1105
|
+
@property
|
|
1106
|
+
@pulumi.getter
|
|
1107
|
+
def m3db(self) -> pulumi.Output['outputs.M3DbM3db']:
|
|
1108
|
+
"""
|
|
1109
|
+
M3DB server provided values
|
|
1110
|
+
"""
|
|
1111
|
+
return pulumi.get(self, "m3db")
|
|
1112
|
+
|
|
1066
1113
|
@property
|
|
1067
1114
|
@pulumi.getter(name="m3dbUserConfig")
|
|
1068
1115
|
def m3db_user_config(self) -> pulumi.Output[Optional['outputs.M3DbM3dbUserConfig']]:
|
|
@@ -23,6 +23,7 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
23
23
|
target_cluster: pulumi.Input[str],
|
|
24
24
|
emit_backward_heartbeats_enabled: Optional[pulumi.Input[bool]] = None,
|
|
25
25
|
emit_heartbeats_enabled: Optional[pulumi.Input[bool]] = None,
|
|
26
|
+
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
26
27
|
sync_group_offsets_enabled: Optional[pulumi.Input[bool]] = None,
|
|
27
28
|
sync_group_offsets_interval_seconds: Optional[pulumi.Input[int]] = None,
|
|
28
29
|
topics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -30,7 +31,7 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
30
31
|
"""
|
|
31
32
|
The set of arguments for constructing a MirrorMakerReplicationFlow resource.
|
|
32
33
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
33
|
-
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
34
|
+
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
34
35
|
: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.
|
|
35
36
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
36
37
|
:param pulumi.Input[str] service_name: 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.
|
|
@@ -38,6 +39,7 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
38
39
|
:param pulumi.Input[str] target_cluster: Target cluster alias. Maximum length: `128`.
|
|
39
40
|
:param pulumi.Input[bool] emit_backward_heartbeats_enabled: Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is `false`.
|
|
40
41
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
42
|
+
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
41
43
|
:param pulumi.Input[bool] sync_group_offsets_enabled: Sync consumer group offsets. The default value is `false`.
|
|
42
44
|
:param pulumi.Input[int] sync_group_offsets_interval_seconds: Frequency of consumer group offset sync. The default value is `1`.
|
|
43
45
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] topics: List of topics and/or regular expressions to replicate
|
|
@@ -54,6 +56,8 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
54
56
|
pulumi.set(__self__, "emit_backward_heartbeats_enabled", emit_backward_heartbeats_enabled)
|
|
55
57
|
if emit_heartbeats_enabled is not None:
|
|
56
58
|
pulumi.set(__self__, "emit_heartbeats_enabled", emit_heartbeats_enabled)
|
|
59
|
+
if replication_factor is not None:
|
|
60
|
+
pulumi.set(__self__, "replication_factor", replication_factor)
|
|
57
61
|
if sync_group_offsets_enabled is not None:
|
|
58
62
|
pulumi.set(__self__, "sync_group_offsets_enabled", sync_group_offsets_enabled)
|
|
59
63
|
if sync_group_offsets_interval_seconds is not None:
|
|
@@ -79,7 +83,7 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
79
83
|
@pulumi.getter(name="offsetSyncsTopicLocation")
|
|
80
84
|
def offset_syncs_topic_location(self) -> pulumi.Input[str]:
|
|
81
85
|
"""
|
|
82
|
-
Offset syncs topic location.
|
|
86
|
+
Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
83
87
|
"""
|
|
84
88
|
return pulumi.get(self, "offset_syncs_topic_location")
|
|
85
89
|
|
|
@@ -171,6 +175,18 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
171
175
|
def emit_heartbeats_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
172
176
|
pulumi.set(self, "emit_heartbeats_enabled", value)
|
|
173
177
|
|
|
178
|
+
@property
|
|
179
|
+
@pulumi.getter(name="replicationFactor")
|
|
180
|
+
def replication_factor(self) -> Optional[pulumi.Input[int]]:
|
|
181
|
+
"""
|
|
182
|
+
Replication factor, `>= 1`.
|
|
183
|
+
"""
|
|
184
|
+
return pulumi.get(self, "replication_factor")
|
|
185
|
+
|
|
186
|
+
@replication_factor.setter
|
|
187
|
+
def replication_factor(self, value: Optional[pulumi.Input[int]]):
|
|
188
|
+
pulumi.set(self, "replication_factor", value)
|
|
189
|
+
|
|
174
190
|
@property
|
|
175
191
|
@pulumi.getter(name="syncGroupOffsetsEnabled")
|
|
176
192
|
def sync_group_offsets_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -228,6 +244,7 @@ class _MirrorMakerReplicationFlowState:
|
|
|
228
244
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
229
245
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
230
246
|
project: Optional[pulumi.Input[str]] = None,
|
|
247
|
+
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
231
248
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
232
249
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
233
250
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -241,8 +258,9 @@ class _MirrorMakerReplicationFlowState:
|
|
|
241
258
|
:param pulumi.Input[bool] emit_backward_heartbeats_enabled: Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is `false`.
|
|
242
259
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
243
260
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
244
|
-
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
261
|
+
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
245
262
|
: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.
|
|
263
|
+
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
246
264
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
247
265
|
:param pulumi.Input[str] service_name: 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.
|
|
248
266
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
@@ -262,6 +280,8 @@ class _MirrorMakerReplicationFlowState:
|
|
|
262
280
|
pulumi.set(__self__, "offset_syncs_topic_location", offset_syncs_topic_location)
|
|
263
281
|
if project is not None:
|
|
264
282
|
pulumi.set(__self__, "project", project)
|
|
283
|
+
if replication_factor is not None:
|
|
284
|
+
pulumi.set(__self__, "replication_factor", replication_factor)
|
|
265
285
|
if replication_policy_class is not None:
|
|
266
286
|
pulumi.set(__self__, "replication_policy_class", replication_policy_class)
|
|
267
287
|
if service_name is not None:
|
|
@@ -319,7 +339,7 @@ class _MirrorMakerReplicationFlowState:
|
|
|
319
339
|
@pulumi.getter(name="offsetSyncsTopicLocation")
|
|
320
340
|
def offset_syncs_topic_location(self) -> Optional[pulumi.Input[str]]:
|
|
321
341
|
"""
|
|
322
|
-
Offset syncs topic location.
|
|
342
|
+
Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
323
343
|
"""
|
|
324
344
|
return pulumi.get(self, "offset_syncs_topic_location")
|
|
325
345
|
|
|
@@ -339,6 +359,18 @@ class _MirrorMakerReplicationFlowState:
|
|
|
339
359
|
def project(self, value: Optional[pulumi.Input[str]]):
|
|
340
360
|
pulumi.set(self, "project", value)
|
|
341
361
|
|
|
362
|
+
@property
|
|
363
|
+
@pulumi.getter(name="replicationFactor")
|
|
364
|
+
def replication_factor(self) -> Optional[pulumi.Input[int]]:
|
|
365
|
+
"""
|
|
366
|
+
Replication factor, `>= 1`.
|
|
367
|
+
"""
|
|
368
|
+
return pulumi.get(self, "replication_factor")
|
|
369
|
+
|
|
370
|
+
@replication_factor.setter
|
|
371
|
+
def replication_factor(self, value: Optional[pulumi.Input[int]]):
|
|
372
|
+
pulumi.set(self, "replication_factor", value)
|
|
373
|
+
|
|
342
374
|
@property
|
|
343
375
|
@pulumi.getter(name="replicationPolicyClass")
|
|
344
376
|
def replication_policy_class(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -446,6 +478,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
446
478
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
447
479
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
448
480
|
project: Optional[pulumi.Input[str]] = None,
|
|
481
|
+
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
449
482
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
450
483
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
451
484
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -489,8 +522,9 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
489
522
|
:param pulumi.Input[bool] emit_backward_heartbeats_enabled: Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is `false`.
|
|
490
523
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
491
524
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
492
|
-
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
525
|
+
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
493
526
|
: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.
|
|
527
|
+
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
494
528
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
495
529
|
:param pulumi.Input[str] service_name: 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.
|
|
496
530
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
@@ -555,6 +589,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
555
589
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
556
590
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
557
591
|
project: Optional[pulumi.Input[str]] = None,
|
|
592
|
+
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
558
593
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
559
594
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
560
595
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -583,6 +618,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
583
618
|
if project is None and not opts.urn:
|
|
584
619
|
raise TypeError("Missing required property 'project'")
|
|
585
620
|
__props__.__dict__["project"] = project
|
|
621
|
+
__props__.__dict__["replication_factor"] = replication_factor
|
|
586
622
|
if replication_policy_class is None and not opts.urn:
|
|
587
623
|
raise TypeError("Missing required property 'replication_policy_class'")
|
|
588
624
|
__props__.__dict__["replication_policy_class"] = replication_policy_class
|
|
@@ -614,6 +650,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
614
650
|
enable: Optional[pulumi.Input[bool]] = None,
|
|
615
651
|
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
616
652
|
project: Optional[pulumi.Input[str]] = None,
|
|
653
|
+
replication_factor: Optional[pulumi.Input[int]] = None,
|
|
617
654
|
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
618
655
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
619
656
|
source_cluster: Optional[pulumi.Input[str]] = None,
|
|
@@ -632,8 +669,9 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
632
669
|
:param pulumi.Input[bool] emit_backward_heartbeats_enabled: Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is `false`.
|
|
633
670
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
634
671
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
635
|
-
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
672
|
+
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
636
673
|
: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.
|
|
674
|
+
:param pulumi.Input[int] replication_factor: Replication factor, `>= 1`.
|
|
637
675
|
:param pulumi.Input[str] replication_policy_class: Replication policy class. The possible values are `org.apache.kafka.connect.mirror.DefaultReplicationPolicy` and `org.apache.kafka.connect.mirror.IdentityReplicationPolicy`. The default value is `org.apache.kafka.connect.mirror.DefaultReplicationPolicy`.
|
|
638
676
|
:param pulumi.Input[str] service_name: 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.
|
|
639
677
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
@@ -652,6 +690,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
652
690
|
__props__.__dict__["enable"] = enable
|
|
653
691
|
__props__.__dict__["offset_syncs_topic_location"] = offset_syncs_topic_location
|
|
654
692
|
__props__.__dict__["project"] = project
|
|
693
|
+
__props__.__dict__["replication_factor"] = replication_factor
|
|
655
694
|
__props__.__dict__["replication_policy_class"] = replication_policy_class
|
|
656
695
|
__props__.__dict__["service_name"] = service_name
|
|
657
696
|
__props__.__dict__["source_cluster"] = source_cluster
|
|
@@ -690,7 +729,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
690
729
|
@pulumi.getter(name="offsetSyncsTopicLocation")
|
|
691
730
|
def offset_syncs_topic_location(self) -> pulumi.Output[str]:
|
|
692
731
|
"""
|
|
693
|
-
Offset syncs topic location.
|
|
732
|
+
Offset syncs topic location. Possible values are `source` & `target`. There is no default value.
|
|
694
733
|
"""
|
|
695
734
|
return pulumi.get(self, "offset_syncs_topic_location")
|
|
696
735
|
|
|
@@ -702,6 +741,14 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
702
741
|
"""
|
|
703
742
|
return pulumi.get(self, "project")
|
|
704
743
|
|
|
744
|
+
@property
|
|
745
|
+
@pulumi.getter(name="replicationFactor")
|
|
746
|
+
def replication_factor(self) -> pulumi.Output[Optional[int]]:
|
|
747
|
+
"""
|
|
748
|
+
Replication factor, `>= 1`.
|
|
749
|
+
"""
|
|
750
|
+
return pulumi.get(self, "replication_factor")
|
|
751
|
+
|
|
705
752
|
@property
|
|
706
753
|
@pulumi.getter(name="replicationPolicyClass")
|
|
707
754
|
def replication_policy_class(self) -> pulumi.Output[str]:
|
pulumi_aiven/my_sql.py
CHANGED
|
@@ -24,6 +24,7 @@ class MySqlArgs:
|
|
|
24
24
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
25
25
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
26
26
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
27
|
+
mysql: Optional[pulumi.Input['MySqlMysqlArgs']] = None,
|
|
27
28
|
mysql_user_config: Optional[pulumi.Input['MySqlMysqlUserConfigArgs']] = None,
|
|
28
29
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
29
30
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['MySqlServiceIntegrationArgs']]]] = None,
|
|
@@ -41,6 +42,7 @@ class MySqlArgs:
|
|
|
41
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.
|
|
42
43
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
43
44
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
45
|
+
:param pulumi.Input['MySqlMysqlArgs'] mysql: MySQL specific server provided values
|
|
44
46
|
:param pulumi.Input['MySqlMysqlUserConfigArgs'] mysql_user_config: Mysql user configurable settings
|
|
45
47
|
: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.
|
|
46
48
|
:param pulumi.Input[Sequence[pulumi.Input['MySqlServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
@@ -65,6 +67,8 @@ class MySqlArgs:
|
|
|
65
67
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
66
68
|
if maintenance_window_time is not None:
|
|
67
69
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
70
|
+
if mysql is not None:
|
|
71
|
+
pulumi.set(__self__, "mysql", mysql)
|
|
68
72
|
if mysql_user_config is not None:
|
|
69
73
|
pulumi.set(__self__, "mysql_user_config", mysql_user_config)
|
|
70
74
|
if project_vpc_id is not None:
|
|
@@ -179,6 +183,18 @@ class MySqlArgs:
|
|
|
179
183
|
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
180
184
|
pulumi.set(self, "maintenance_window_time", value)
|
|
181
185
|
|
|
186
|
+
@property
|
|
187
|
+
@pulumi.getter
|
|
188
|
+
def mysql(self) -> Optional[pulumi.Input['MySqlMysqlArgs']]:
|
|
189
|
+
"""
|
|
190
|
+
MySQL specific server provided values
|
|
191
|
+
"""
|
|
192
|
+
return pulumi.get(self, "mysql")
|
|
193
|
+
|
|
194
|
+
@mysql.setter
|
|
195
|
+
def mysql(self, value: Optional[pulumi.Input['MySqlMysqlArgs']]):
|
|
196
|
+
pulumi.set(self, "mysql", value)
|
|
197
|
+
|
|
182
198
|
@property
|
|
183
199
|
@pulumi.getter(name="mysqlUserConfig")
|
|
184
200
|
def mysql_user_config(self) -> Optional[pulumi.Input['MySqlMysqlUserConfigArgs']]:
|
|
@@ -277,6 +293,7 @@ class _MySqlState:
|
|
|
277
293
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
278
294
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
279
295
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
296
|
+
mysql: Optional[pulumi.Input['MySqlMysqlArgs']] = None,
|
|
280
297
|
mysql_user_config: Optional[pulumi.Input['MySqlMysqlUserConfigArgs']] = None,
|
|
281
298
|
plan: Optional[pulumi.Input[str]] = None,
|
|
282
299
|
project: Optional[pulumi.Input[str]] = None,
|
|
@@ -306,6 +323,7 @@ class _MySqlState:
|
|
|
306
323
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
307
324
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
308
325
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
326
|
+
:param pulumi.Input['MySqlMysqlArgs'] mysql: MySQL specific server provided values
|
|
309
327
|
:param pulumi.Input['MySqlMysqlUserConfigArgs'] mysql_user_config: Mysql user configurable settings
|
|
310
328
|
: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).
|
|
311
329
|
: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.
|
|
@@ -347,6 +365,8 @@ class _MySqlState:
|
|
|
347
365
|
pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
|
|
348
366
|
if maintenance_window_time is not None:
|
|
349
367
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
368
|
+
if mysql is not None:
|
|
369
|
+
pulumi.set(__self__, "mysql", mysql)
|
|
350
370
|
if mysql_user_config is not None:
|
|
351
371
|
pulumi.set(__self__, "mysql_user_config", mysql_user_config)
|
|
352
372
|
if plan is not None:
|
|
@@ -505,6 +525,18 @@ class _MySqlState:
|
|
|
505
525
|
def maintenance_window_time(self, value: Optional[pulumi.Input[str]]):
|
|
506
526
|
pulumi.set(self, "maintenance_window_time", value)
|
|
507
527
|
|
|
528
|
+
@property
|
|
529
|
+
@pulumi.getter
|
|
530
|
+
def mysql(self) -> Optional[pulumi.Input['MySqlMysqlArgs']]:
|
|
531
|
+
"""
|
|
532
|
+
MySQL specific server provided values
|
|
533
|
+
"""
|
|
534
|
+
return pulumi.get(self, "mysql")
|
|
535
|
+
|
|
536
|
+
@mysql.setter
|
|
537
|
+
def mysql(self, value: Optional[pulumi.Input['MySqlMysqlArgs']]):
|
|
538
|
+
pulumi.set(self, "mysql", value)
|
|
539
|
+
|
|
508
540
|
@property
|
|
509
541
|
@pulumi.getter(name="mysqlUserConfig")
|
|
510
542
|
def mysql_user_config(self) -> Optional[pulumi.Input['MySqlMysqlUserConfigArgs']]:
|
|
@@ -720,6 +752,7 @@ class MySql(pulumi.CustomResource):
|
|
|
720
752
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
721
753
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
722
754
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
755
|
+
mysql: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlArgs']]] = None,
|
|
723
756
|
mysql_user_config: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']]] = None,
|
|
724
757
|
plan: Optional[pulumi.Input[str]] = None,
|
|
725
758
|
project: Optional[pulumi.Input[str]] = None,
|
|
@@ -772,6 +805,7 @@ class MySql(pulumi.CustomResource):
|
|
|
772
805
|
: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.
|
|
773
806
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
774
807
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
808
|
+
:param pulumi.Input[pulumi.InputType['MySqlMysqlArgs']] mysql: MySQL specific server provided values
|
|
775
809
|
:param pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']] mysql_user_config: Mysql user configurable settings
|
|
776
810
|
: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).
|
|
777
811
|
: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.
|
|
@@ -843,6 +877,7 @@ class MySql(pulumi.CustomResource):
|
|
|
843
877
|
disk_space: Optional[pulumi.Input[str]] = None,
|
|
844
878
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
845
879
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
880
|
+
mysql: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlArgs']]] = None,
|
|
846
881
|
mysql_user_config: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']]] = None,
|
|
847
882
|
plan: Optional[pulumi.Input[str]] = None,
|
|
848
883
|
project: Optional[pulumi.Input[str]] = None,
|
|
@@ -867,6 +902,7 @@ class MySql(pulumi.CustomResource):
|
|
|
867
902
|
__props__.__dict__["disk_space"] = disk_space
|
|
868
903
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
869
904
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
905
|
+
__props__.__dict__["mysql"] = None if mysql is None else pulumi.Output.secret(mysql)
|
|
870
906
|
__props__.__dict__["mysql_user_config"] = mysql_user_config
|
|
871
907
|
if plan is None and not opts.urn:
|
|
872
908
|
raise TypeError("Missing required property 'plan'")
|
|
@@ -895,7 +931,7 @@ class MySql(pulumi.CustomResource):
|
|
|
895
931
|
__props__.__dict__["service_uri"] = None
|
|
896
932
|
__props__.__dict__["service_username"] = None
|
|
897
933
|
__props__.__dict__["state"] = None
|
|
898
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
934
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["mysql", "servicePassword", "serviceUri"])
|
|
899
935
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
900
936
|
super(MySql, __self__).__init__(
|
|
901
937
|
'aiven:index/mySql:MySql',
|
|
@@ -917,6 +953,7 @@ class MySql(pulumi.CustomResource):
|
|
|
917
953
|
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
918
954
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
919
955
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
956
|
+
mysql: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlArgs']]] = None,
|
|
920
957
|
mysql_user_config: Optional[pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']]] = None,
|
|
921
958
|
plan: Optional[pulumi.Input[str]] = None,
|
|
922
959
|
project: Optional[pulumi.Input[str]] = None,
|
|
@@ -951,6 +988,7 @@ class MySql(pulumi.CustomResource):
|
|
|
951
988
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
952
989
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
953
990
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
991
|
+
:param pulumi.Input[pulumi.InputType['MySqlMysqlArgs']] mysql: MySQL specific server provided values
|
|
954
992
|
:param pulumi.Input[pulumi.InputType['MySqlMysqlUserConfigArgs']] mysql_user_config: Mysql user configurable settings
|
|
955
993
|
: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).
|
|
956
994
|
: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.
|
|
@@ -983,6 +1021,7 @@ class MySql(pulumi.CustomResource):
|
|
|
983
1021
|
__props__.__dict__["disk_space_used"] = disk_space_used
|
|
984
1022
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
985
1023
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
1024
|
+
__props__.__dict__["mysql"] = mysql
|
|
986
1025
|
__props__.__dict__["mysql_user_config"] = mysql_user_config
|
|
987
1026
|
__props__.__dict__["plan"] = plan
|
|
988
1027
|
__props__.__dict__["project"] = project
|
|
@@ -1085,6 +1124,14 @@ class MySql(pulumi.CustomResource):
|
|
|
1085
1124
|
"""
|
|
1086
1125
|
return pulumi.get(self, "maintenance_window_time")
|
|
1087
1126
|
|
|
1127
|
+
@property
|
|
1128
|
+
@pulumi.getter
|
|
1129
|
+
def mysql(self) -> pulumi.Output['outputs.MySqlMysql']:
|
|
1130
|
+
"""
|
|
1131
|
+
MySQL specific server provided values
|
|
1132
|
+
"""
|
|
1133
|
+
return pulumi.get(self, "mysql")
|
|
1134
|
+
|
|
1088
1135
|
@property
|
|
1089
1136
|
@pulumi.getter(name="mysqlUserConfig")
|
|
1090
1137
|
def mysql_user_config(self) -> pulumi.Output[Optional['outputs.MySqlMysqlUserConfig']]:
|
pulumi_aiven/open_search.py
CHANGED
|
@@ -25,6 +25,7 @@ class OpenSearchArgs:
|
|
|
25
25
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
26
26
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
27
27
|
opensearch_user_config: Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']] = None,
|
|
28
|
+
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]] = None,
|
|
28
29
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
29
30
|
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]]] = None,
|
|
30
31
|
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -42,6 +43,7 @@ class OpenSearchArgs:
|
|
|
42
43
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
43
44
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
44
45
|
:param pulumi.Input['OpenSearchOpensearchUserConfigArgs'] opensearch_user_config: Opensearch user configurable settings
|
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]] opensearches: OpenSearch server provided values
|
|
45
47
|
: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.
|
|
46
48
|
:param pulumi.Input[Sequence[pulumi.Input['OpenSearchServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
47
49
|
: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
|
|
@@ -67,6 +69,8 @@ class OpenSearchArgs:
|
|
|
67
69
|
pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
|
|
68
70
|
if opensearch_user_config is not None:
|
|
69
71
|
pulumi.set(__self__, "opensearch_user_config", opensearch_user_config)
|
|
72
|
+
if opensearches is not None:
|
|
73
|
+
pulumi.set(__self__, "opensearches", opensearches)
|
|
70
74
|
if project_vpc_id is not None:
|
|
71
75
|
pulumi.set(__self__, "project_vpc_id", project_vpc_id)
|
|
72
76
|
if service_integrations is not None:
|
|
@@ -191,6 +195,18 @@ class OpenSearchArgs:
|
|
|
191
195
|
def opensearch_user_config(self, value: Optional[pulumi.Input['OpenSearchOpensearchUserConfigArgs']]):
|
|
192
196
|
pulumi.set(self, "opensearch_user_config", value)
|
|
193
197
|
|
|
198
|
+
@property
|
|
199
|
+
@pulumi.getter
|
|
200
|
+
def opensearches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]:
|
|
201
|
+
"""
|
|
202
|
+
OpenSearch server provided values
|
|
203
|
+
"""
|
|
204
|
+
return pulumi.get(self, "opensearches")
|
|
205
|
+
|
|
206
|
+
@opensearches.setter
|
|
207
|
+
def opensearches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OpenSearchOpensearchArgs']]]]):
|
|
208
|
+
pulumi.set(self, "opensearches", value)
|
|
209
|
+
|
|
194
210
|
@property
|
|
195
211
|
@pulumi.getter(name="projectVpcId")
|
|
196
212
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -737,6 +753,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
737
753
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
738
754
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
739
755
|
opensearch_user_config: Optional[pulumi.Input[pulumi.InputType['OpenSearchOpensearchUserConfigArgs']]] = None,
|
|
756
|
+
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenSearchOpensearchArgs']]]]] = None,
|
|
740
757
|
plan: Optional[pulumi.Input[str]] = None,
|
|
741
758
|
project: Optional[pulumi.Input[str]] = None,
|
|
742
759
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -790,6 +807,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
790
807
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
791
808
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
792
809
|
:param pulumi.Input[pulumi.InputType['OpenSearchOpensearchUserConfigArgs']] opensearch_user_config: Opensearch user configurable settings
|
|
810
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenSearchOpensearchArgs']]]] opensearches: OpenSearch server provided values
|
|
793
811
|
: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).
|
|
794
812
|
: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.
|
|
795
813
|
: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.
|
|
@@ -862,6 +880,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
862
880
|
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
863
881
|
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
864
882
|
opensearch_user_config: Optional[pulumi.Input[pulumi.InputType['OpenSearchOpensearchUserConfigArgs']]] = None,
|
|
883
|
+
opensearches: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OpenSearchOpensearchArgs']]]]] = None,
|
|
865
884
|
plan: Optional[pulumi.Input[str]] = None,
|
|
866
885
|
project: Optional[pulumi.Input[str]] = None,
|
|
867
886
|
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
@@ -886,6 +905,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
886
905
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
887
906
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
888
907
|
__props__.__dict__["opensearch_user_config"] = opensearch_user_config
|
|
908
|
+
__props__.__dict__["opensearches"] = None if opensearches is None else pulumi.Output.secret(opensearches)
|
|
889
909
|
if plan is None and not opts.urn:
|
|
890
910
|
raise TypeError("Missing required property 'plan'")
|
|
891
911
|
__props__.__dict__["plan"] = plan
|
|
@@ -906,7 +926,6 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
906
926
|
__props__.__dict__["disk_space_default"] = None
|
|
907
927
|
__props__.__dict__["disk_space_step"] = None
|
|
908
928
|
__props__.__dict__["disk_space_used"] = None
|
|
909
|
-
__props__.__dict__["opensearches"] = None
|
|
910
929
|
__props__.__dict__["service_host"] = None
|
|
911
930
|
__props__.__dict__["service_password"] = None
|
|
912
931
|
__props__.__dict__["service_port"] = None
|
|
@@ -914,7 +933,7 @@ class OpenSearch(pulumi.CustomResource):
|
|
|
914
933
|
__props__.__dict__["service_uri"] = None
|
|
915
934
|
__props__.__dict__["service_username"] = None
|
|
916
935
|
__props__.__dict__["state"] = None
|
|
917
|
-
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["servicePassword", "serviceUri"])
|
|
936
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["opensearches", "servicePassword", "serviceUri"])
|
|
918
937
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
919
938
|
super(OpenSearch, __self__).__init__(
|
|
920
939
|
'aiven:index/openSearch:OpenSearch',
|