pulumi-aiven 6.12.0a1708492523__py3-none-any.whl → 6.13.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/__init__.py +28 -0
- pulumi_aiven/_inputs.py +2973 -1323
- pulumi_aiven/account.py +40 -32
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +36 -4
- pulumi_aiven/account_team_member.py +69 -35
- pulumi_aiven/account_team_project.py +52 -12
- pulumi_aiven/aws_privatelink.py +43 -39
- pulumi_aiven/aws_vpc_peering_connection.py +66 -52
- pulumi_aiven/azure_privatelink.py +53 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +33 -33
- pulumi_aiven/azure_vpc_peering_connection.py +80 -68
- pulumi_aiven/billing_group.py +6 -2
- pulumi_aiven/cassandra.py +17 -13
- pulumi_aiven/cassandra_user.py +27 -23
- pulumi_aiven/clickhouse.py +13 -9
- pulumi_aiven/clickhouse_database.py +27 -23
- pulumi_aiven/clickhouse_grant.py +46 -42
- pulumi_aiven/clickhouse_role.py +27 -23
- pulumi_aiven/clickhouse_user.py +27 -23
- pulumi_aiven/connection_pool.py +34 -30
- pulumi_aiven/dragonfly.py +1344 -0
- pulumi_aiven/flink.py +13 -9
- pulumi_aiven/flink_application.py +20 -16
- pulumi_aiven/flink_application_deployment.py +14 -14
- pulumi_aiven/flink_application_version.py +16 -16
- pulumi_aiven/gcp_privatelink.py +26 -26
- pulumi_aiven/gcp_privatelink_connection_approval.py +33 -33
- pulumi_aiven/gcp_vpc_peering_connection.py +41 -37
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +19 -15
- pulumi_aiven/get_aws_vpc_peering_connection.py +37 -23
- pulumi_aiven/get_azure_privatelink.py +21 -17
- pulumi_aiven/get_azure_vpc_peering_connection.py +58 -26
- pulumi_aiven/get_cassanda.py +7 -3
- pulumi_aiven/get_cassandra.py +7 -3
- pulumi_aiven/get_cassandra_user.py +13 -9
- pulumi_aiven/get_clickhouse.py +7 -3
- pulumi_aiven/get_clickhouse_database.py +13 -9
- pulumi_aiven/get_clickhouse_user.py +13 -9
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +443 -0
- pulumi_aiven/get_flink.py +7 -3
- pulumi_aiven/get_flink_application.py +10 -6
- pulumi_aiven/get_flink_application_version.py +10 -6
- pulumi_aiven/get_gcp_vpc_peering_connection.py +22 -18
- pulumi_aiven/get_grafana.py +7 -3
- pulumi_aiven/get_influx_db.py +2 -114
- pulumi_aiven/get_influxdb_database.py +2 -21
- pulumi_aiven/get_influxdb_user.py +2 -55
- pulumi_aiven/get_kafka.py +7 -3
- pulumi_aiven/get_kafka_acl.py +19 -15
- pulumi_aiven/get_kafka_connect.py +7 -3
- pulumi_aiven/get_kafka_connector.py +13 -9
- pulumi_aiven/get_kafka_mirror_maker.py +7 -3
- pulumi_aiven/get_kafka_schema.py +13 -9
- pulumi_aiven/get_kafka_schema_configuration.py +11 -7
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +13 -9
- pulumi_aiven/get_kafka_user.py +13 -9
- pulumi_aiven/get_m3_aggregator.py +7 -3
- pulumi_aiven/get_m3_db.py +7 -3
- pulumi_aiven/get_m3db_user.py +13 -9
- pulumi_aiven/get_mirror_maker_replication_flow.py +10 -6
- pulumi_aiven/get_my_sql.py +7 -3
- pulumi_aiven/get_mysql_database.py +13 -9
- pulumi_aiven/get_mysql_user.py +13 -9
- pulumi_aiven/get_open_search.py +7 -3
- pulumi_aiven/get_open_search_acl_config.py +10 -6
- pulumi_aiven/get_open_search_acl_rule.py +16 -12
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -6
- pulumi_aiven/get_opensearch_user.py +13 -9
- pulumi_aiven/get_organization.py +12 -8
- pulumi_aiven/get_organization_user_group.py +33 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +7 -3
- pulumi_aiven/get_pg_database.py +15 -11
- pulumi_aiven/get_pg_user.py +13 -9
- pulumi_aiven/get_project.py +4 -0
- pulumi_aiven/get_project_user.py +10 -6
- pulumi_aiven/get_project_vpc.py +15 -13
- pulumi_aiven/get_redis.py +7 -3
- pulumi_aiven/get_redis_user.py +17 -13
- pulumi_aiven/get_service_component.py +4 -0
- pulumi_aiven/get_service_integration.py +68 -6
- pulumi_aiven/get_service_integration_endpoint.py +5 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +13 -9
- pulumi_aiven/grafana.py +13 -9
- pulumi_aiven/influx_db.py +239 -138
- pulumi_aiven/influxdb_database.py +37 -25
- pulumi_aiven/influxdb_user.py +44 -63
- pulumi_aiven/kafka.py +19 -15
- pulumi_aiven/kafka_acl.py +41 -37
- pulumi_aiven/kafka_connect.py +13 -9
- pulumi_aiven/kafka_connector.py +29 -25
- pulumi_aiven/kafka_mirror_maker.py +13 -9
- pulumi_aiven/kafka_schema.py +53 -45
- pulumi_aiven/kafka_schema_configuration.py +20 -16
- pulumi_aiven/kafka_schema_registry_acl.py +35 -35
- pulumi_aiven/kafka_topic.py +23 -23
- pulumi_aiven/kafka_user.py +27 -23
- pulumi_aiven/m3_aggregator.py +13 -9
- pulumi_aiven/m3_db.py +13 -9
- pulumi_aiven/m3db_user.py +27 -23
- pulumi_aiven/mirror_maker_replication_flow.py +56 -50
- pulumi_aiven/my_sql.py +13 -9
- pulumi_aiven/mysql_database.py +27 -23
- pulumi_aiven/mysql_user.py +27 -23
- pulumi_aiven/open_search.py +17 -13
- pulumi_aiven/open_search_acl_config.py +20 -16
- pulumi_aiven/open_search_acl_rule.py +34 -30
- pulumi_aiven/opensearch_security_plugin_config.py +68 -16
- pulumi_aiven/opensearch_user.py +27 -23
- pulumi_aiven/organization.py +14 -10
- pulumi_aiven/organization_group_project.py +290 -0
- pulumi_aiven/organization_user.py +20 -18
- pulumi_aiven/organization_user_group.py +77 -38
- pulumi_aiven/organization_user_group_member.py +352 -0
- pulumi_aiven/organizational_unit.py +36 -32
- pulumi_aiven/outputs.py +4004 -1363
- pulumi_aiven/pg.py +16 -16
- pulumi_aiven/pg_database.py +41 -37
- pulumi_aiven/pg_user.py +27 -23
- pulumi_aiven/project.py +28 -2
- pulumi_aiven/project_user.py +20 -16
- pulumi_aiven/project_vpc.py +25 -25
- pulumi_aiven/redis.py +13 -9
- pulumi_aiven/redis_user.py +55 -51
- pulumi_aiven/service_integration.py +207 -15
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +27 -23
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.13.0.dist-info/RECORD +150 -0
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.12.0a1708492523.dist-info/RECORD +0 -146
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/top_level.txt +0 -0
|
@@ -15,14 +15,14 @@ __all__ = ['MirrorMakerReplicationFlowArgs', 'MirrorMakerReplicationFlow']
|
|
|
15
15
|
class MirrorMakerReplicationFlowArgs:
|
|
16
16
|
def __init__(__self__, *,
|
|
17
17
|
enable: pulumi.Input[bool],
|
|
18
|
+
offset_syncs_topic_location: pulumi.Input[str],
|
|
18
19
|
project: pulumi.Input[str],
|
|
20
|
+
replication_policy_class: pulumi.Input[str],
|
|
19
21
|
service_name: pulumi.Input[str],
|
|
20
22
|
source_cluster: pulumi.Input[str],
|
|
21
23
|
target_cluster: pulumi.Input[str],
|
|
22
24
|
emit_backward_heartbeats_enabled: Optional[pulumi.Input[bool]] = None,
|
|
23
25
|
emit_heartbeats_enabled: Optional[pulumi.Input[bool]] = None,
|
|
24
|
-
offset_syncs_topic_location: Optional[pulumi.Input[str]] = None,
|
|
25
|
-
replication_policy_class: Optional[pulumi.Input[str]] = None,
|
|
26
26
|
sync_group_offsets_enabled: Optional[pulumi.Input[bool]] = None,
|
|
27
27
|
sync_group_offsets_interval_seconds: Optional[pulumi.Input[int]] = None,
|
|
28
28
|
topics: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
@@ -30,21 +30,23 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
30
30
|
"""
|
|
31
31
|
The set of arguments for constructing a MirrorMakerReplicationFlow resource.
|
|
32
32
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
33
|
-
:param pulumi.Input[str]
|
|
34
|
-
:param pulumi.Input[str]
|
|
33
|
+
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
34
|
+
:param pulumi.Input[str] project: Identifies 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
|
+
: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
|
+
:param pulumi.Input[str] service_name: Identifies 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
37
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
36
38
|
:param pulumi.Input[str] target_cluster: Target cluster alias. Maximum length: `128`.
|
|
37
39
|
: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`.
|
|
38
40
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
39
|
-
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
40
|
-
: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`.
|
|
41
41
|
:param pulumi.Input[bool] sync_group_offsets_enabled: Sync consumer group offsets. The default value is `false`.
|
|
42
42
|
:param pulumi.Input[int] sync_group_offsets_interval_seconds: Frequency of consumer group offset sync. The default value is `1`.
|
|
43
43
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] topics: List of topics and/or regular expressions to replicate
|
|
44
44
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] topics_blacklists: List of topics and/or regular expressions to not replicate.
|
|
45
45
|
"""
|
|
46
46
|
pulumi.set(__self__, "enable", enable)
|
|
47
|
+
pulumi.set(__self__, "offset_syncs_topic_location", offset_syncs_topic_location)
|
|
47
48
|
pulumi.set(__self__, "project", project)
|
|
49
|
+
pulumi.set(__self__, "replication_policy_class", replication_policy_class)
|
|
48
50
|
pulumi.set(__self__, "service_name", service_name)
|
|
49
51
|
pulumi.set(__self__, "source_cluster", source_cluster)
|
|
50
52
|
pulumi.set(__self__, "target_cluster", target_cluster)
|
|
@@ -52,10 +54,6 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
52
54
|
pulumi.set(__self__, "emit_backward_heartbeats_enabled", emit_backward_heartbeats_enabled)
|
|
53
55
|
if emit_heartbeats_enabled is not None:
|
|
54
56
|
pulumi.set(__self__, "emit_heartbeats_enabled", emit_heartbeats_enabled)
|
|
55
|
-
if offset_syncs_topic_location is not None:
|
|
56
|
-
pulumi.set(__self__, "offset_syncs_topic_location", offset_syncs_topic_location)
|
|
57
|
-
if replication_policy_class is not None:
|
|
58
|
-
pulumi.set(__self__, "replication_policy_class", replication_policy_class)
|
|
59
57
|
if sync_group_offsets_enabled is not None:
|
|
60
58
|
pulumi.set(__self__, "sync_group_offsets_enabled", sync_group_offsets_enabled)
|
|
61
59
|
if sync_group_offsets_interval_seconds is not None:
|
|
@@ -77,11 +75,23 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
77
75
|
def enable(self, value: pulumi.Input[bool]):
|
|
78
76
|
pulumi.set(self, "enable", value)
|
|
79
77
|
|
|
78
|
+
@property
|
|
79
|
+
@pulumi.getter(name="offsetSyncsTopicLocation")
|
|
80
|
+
def offset_syncs_topic_location(self) -> pulumi.Input[str]:
|
|
81
|
+
"""
|
|
82
|
+
Offset syncs topic location.
|
|
83
|
+
"""
|
|
84
|
+
return pulumi.get(self, "offset_syncs_topic_location")
|
|
85
|
+
|
|
86
|
+
@offset_syncs_topic_location.setter
|
|
87
|
+
def offset_syncs_topic_location(self, value: pulumi.Input[str]):
|
|
88
|
+
pulumi.set(self, "offset_syncs_topic_location", value)
|
|
89
|
+
|
|
80
90
|
@property
|
|
81
91
|
@pulumi.getter
|
|
82
92
|
def project(self) -> pulumi.Input[str]:
|
|
83
93
|
"""
|
|
84
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
94
|
+
Identifies 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.
|
|
85
95
|
"""
|
|
86
96
|
return pulumi.get(self, "project")
|
|
87
97
|
|
|
@@ -89,11 +99,23 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
89
99
|
def project(self, value: pulumi.Input[str]):
|
|
90
100
|
pulumi.set(self, "project", value)
|
|
91
101
|
|
|
102
|
+
@property
|
|
103
|
+
@pulumi.getter(name="replicationPolicyClass")
|
|
104
|
+
def replication_policy_class(self) -> pulumi.Input[str]:
|
|
105
|
+
"""
|
|
106
|
+
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`.
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "replication_policy_class")
|
|
109
|
+
|
|
110
|
+
@replication_policy_class.setter
|
|
111
|
+
def replication_policy_class(self, value: pulumi.Input[str]):
|
|
112
|
+
pulumi.set(self, "replication_policy_class", value)
|
|
113
|
+
|
|
92
114
|
@property
|
|
93
115
|
@pulumi.getter(name="serviceName")
|
|
94
116
|
def service_name(self) -> pulumi.Input[str]:
|
|
95
117
|
"""
|
|
96
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
118
|
+
Identifies 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.
|
|
97
119
|
"""
|
|
98
120
|
return pulumi.get(self, "service_name")
|
|
99
121
|
|
|
@@ -149,30 +171,6 @@ class MirrorMakerReplicationFlowArgs:
|
|
|
149
171
|
def emit_heartbeats_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
150
172
|
pulumi.set(self, "emit_heartbeats_enabled", value)
|
|
151
173
|
|
|
152
|
-
@property
|
|
153
|
-
@pulumi.getter(name="offsetSyncsTopicLocation")
|
|
154
|
-
def offset_syncs_topic_location(self) -> Optional[pulumi.Input[str]]:
|
|
155
|
-
"""
|
|
156
|
-
Offset syncs topic location.
|
|
157
|
-
"""
|
|
158
|
-
return pulumi.get(self, "offset_syncs_topic_location")
|
|
159
|
-
|
|
160
|
-
@offset_syncs_topic_location.setter
|
|
161
|
-
def offset_syncs_topic_location(self, value: Optional[pulumi.Input[str]]):
|
|
162
|
-
pulumi.set(self, "offset_syncs_topic_location", value)
|
|
163
|
-
|
|
164
|
-
@property
|
|
165
|
-
@pulumi.getter(name="replicationPolicyClass")
|
|
166
|
-
def replication_policy_class(self) -> Optional[pulumi.Input[str]]:
|
|
167
|
-
"""
|
|
168
|
-
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`.
|
|
169
|
-
"""
|
|
170
|
-
return pulumi.get(self, "replication_policy_class")
|
|
171
|
-
|
|
172
|
-
@replication_policy_class.setter
|
|
173
|
-
def replication_policy_class(self, value: Optional[pulumi.Input[str]]):
|
|
174
|
-
pulumi.set(self, "replication_policy_class", value)
|
|
175
|
-
|
|
176
174
|
@property
|
|
177
175
|
@pulumi.getter(name="syncGroupOffsetsEnabled")
|
|
178
176
|
def sync_group_offsets_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
@@ -244,9 +242,9 @@ class _MirrorMakerReplicationFlowState:
|
|
|
244
242
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
245
243
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
246
244
|
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
247
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
245
|
+
:param pulumi.Input[str] project: Identifies 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
246
|
: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`.
|
|
249
|
-
:param pulumi.Input[str] service_name: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
247
|
+
:param pulumi.Input[str] service_name: Identifies 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.
|
|
250
248
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
251
249
|
:param pulumi.Input[bool] sync_group_offsets_enabled: Sync consumer group offsets. The default value is `false`.
|
|
252
250
|
:param pulumi.Input[int] sync_group_offsets_interval_seconds: Frequency of consumer group offset sync. The default value is `1`.
|
|
@@ -333,7 +331,7 @@ class _MirrorMakerReplicationFlowState:
|
|
|
333
331
|
@pulumi.getter
|
|
334
332
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
335
333
|
"""
|
|
336
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
334
|
+
Identifies 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.
|
|
337
335
|
"""
|
|
338
336
|
return pulumi.get(self, "project")
|
|
339
337
|
|
|
@@ -357,7 +355,7 @@ class _MirrorMakerReplicationFlowState:
|
|
|
357
355
|
@pulumi.getter(name="serviceName")
|
|
358
356
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
359
357
|
"""
|
|
360
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
358
|
+
Identifies 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.
|
|
361
359
|
"""
|
|
362
360
|
return pulumi.get(self, "service_name")
|
|
363
361
|
|
|
@@ -462,6 +460,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
462
460
|
|
|
463
461
|
## Example Usage
|
|
464
462
|
|
|
463
|
+
<!--Start PulumiCodeChooser -->
|
|
465
464
|
```python
|
|
466
465
|
import pulumi
|
|
467
466
|
import pulumi_aiven as aiven
|
|
@@ -479,11 +478,12 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
479
478
|
"__.*",
|
|
480
479
|
])
|
|
481
480
|
```
|
|
481
|
+
<!--End PulumiCodeChooser -->
|
|
482
482
|
|
|
483
483
|
## Import
|
|
484
484
|
|
|
485
485
|
```sh
|
|
486
|
-
|
|
486
|
+
$ pulumi import aiven:index/mirrorMakerReplicationFlow:MirrorMakerReplicationFlow f1 project/service_name/source_cluster/target_cluster
|
|
487
487
|
```
|
|
488
488
|
|
|
489
489
|
:param str resource_name: The name of the resource.
|
|
@@ -492,9 +492,9 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
492
492
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
493
493
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
494
494
|
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
495
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
495
|
+
:param pulumi.Input[str] project: Identifies 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
496
|
: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`.
|
|
497
|
-
:param pulumi.Input[str] service_name: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
497
|
+
:param pulumi.Input[str] service_name: Identifies 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.
|
|
498
498
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
499
499
|
:param pulumi.Input[bool] sync_group_offsets_enabled: Sync consumer group offsets. The default value is `false`.
|
|
500
500
|
:param pulumi.Input[int] sync_group_offsets_interval_seconds: Frequency of consumer group offset sync. The default value is `1`.
|
|
@@ -513,6 +513,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
513
513
|
|
|
514
514
|
## Example Usage
|
|
515
515
|
|
|
516
|
+
<!--Start PulumiCodeChooser -->
|
|
516
517
|
```python
|
|
517
518
|
import pulumi
|
|
518
519
|
import pulumi_aiven as aiven
|
|
@@ -530,11 +531,12 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
530
531
|
"__.*",
|
|
531
532
|
])
|
|
532
533
|
```
|
|
534
|
+
<!--End PulumiCodeChooser -->
|
|
533
535
|
|
|
534
536
|
## Import
|
|
535
537
|
|
|
536
538
|
```sh
|
|
537
|
-
|
|
539
|
+
$ pulumi import aiven:index/mirrorMakerReplicationFlow:MirrorMakerReplicationFlow f1 project/service_name/source_cluster/target_cluster
|
|
538
540
|
```
|
|
539
541
|
|
|
540
542
|
:param str resource_name: The name of the resource.
|
|
@@ -579,10 +581,14 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
579
581
|
if enable is None and not opts.urn:
|
|
580
582
|
raise TypeError("Missing required property 'enable'")
|
|
581
583
|
__props__.__dict__["enable"] = enable
|
|
584
|
+
if offset_syncs_topic_location is None and not opts.urn:
|
|
585
|
+
raise TypeError("Missing required property 'offset_syncs_topic_location'")
|
|
582
586
|
__props__.__dict__["offset_syncs_topic_location"] = offset_syncs_topic_location
|
|
583
587
|
if project is None and not opts.urn:
|
|
584
588
|
raise TypeError("Missing required property 'project'")
|
|
585
589
|
__props__.__dict__["project"] = project
|
|
590
|
+
if replication_policy_class is None and not opts.urn:
|
|
591
|
+
raise TypeError("Missing required property 'replication_policy_class'")
|
|
586
592
|
__props__.__dict__["replication_policy_class"] = replication_policy_class
|
|
587
593
|
if service_name is None and not opts.urn:
|
|
588
594
|
raise TypeError("Missing required property 'service_name'")
|
|
@@ -631,9 +637,9 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
631
637
|
:param pulumi.Input[bool] emit_heartbeats_enabled: Whether to emit heartbeats to the target cluster. The default value is `false`.
|
|
632
638
|
:param pulumi.Input[bool] enable: Enable of disable replication flows for a service.
|
|
633
639
|
:param pulumi.Input[str] offset_syncs_topic_location: Offset syncs topic location.
|
|
634
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
640
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
635
641
|
: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`.
|
|
636
|
-
:param pulumi.Input[str] service_name: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
642
|
+
:param pulumi.Input[str] service_name: Identifies 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.
|
|
637
643
|
:param pulumi.Input[str] source_cluster: Source cluster alias. Maximum length: `128`.
|
|
638
644
|
:param pulumi.Input[bool] sync_group_offsets_enabled: Sync consumer group offsets. The default value is `false`.
|
|
639
645
|
:param pulumi.Input[int] sync_group_offsets_interval_seconds: Frequency of consumer group offset sync. The default value is `1`.
|
|
@@ -686,7 +692,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
686
692
|
|
|
687
693
|
@property
|
|
688
694
|
@pulumi.getter(name="offsetSyncsTopicLocation")
|
|
689
|
-
def offset_syncs_topic_location(self) -> pulumi.Output[
|
|
695
|
+
def offset_syncs_topic_location(self) -> pulumi.Output[str]:
|
|
690
696
|
"""
|
|
691
697
|
Offset syncs topic location.
|
|
692
698
|
"""
|
|
@@ -696,13 +702,13 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
696
702
|
@pulumi.getter
|
|
697
703
|
def project(self) -> pulumi.Output[str]:
|
|
698
704
|
"""
|
|
699
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
705
|
+
Identifies 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.
|
|
700
706
|
"""
|
|
701
707
|
return pulumi.get(self, "project")
|
|
702
708
|
|
|
703
709
|
@property
|
|
704
710
|
@pulumi.getter(name="replicationPolicyClass")
|
|
705
|
-
def replication_policy_class(self) -> pulumi.Output[
|
|
711
|
+
def replication_policy_class(self) -> pulumi.Output[str]:
|
|
706
712
|
"""
|
|
707
713
|
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`.
|
|
708
714
|
"""
|
|
@@ -712,7 +718,7 @@ class MirrorMakerReplicationFlow(pulumi.CustomResource):
|
|
|
712
718
|
@pulumi.getter(name="serviceName")
|
|
713
719
|
def service_name(self) -> pulumi.Output[str]:
|
|
714
720
|
"""
|
|
715
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
721
|
+
Identifies 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.
|
|
716
722
|
"""
|
|
717
723
|
return pulumi.get(self, "service_name")
|
|
718
724
|
|
pulumi_aiven/my_sql.py
CHANGED
|
@@ -40,7 +40,7 @@ class MySqlArgs:
|
|
|
40
40
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
41
41
|
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
42
42
|
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
43
|
-
reference.
|
|
43
|
+
reference. Changing this property forces recreation of the resource.
|
|
44
44
|
: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
|
|
45
45
|
service so name should be picked based on intended service usage rather than current attributes.
|
|
46
46
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
@@ -123,7 +123,7 @@ class MySqlArgs:
|
|
|
123
123
|
def project(self) -> pulumi.Input[str]:
|
|
124
124
|
"""
|
|
125
125
|
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
126
|
-
reference.
|
|
126
|
+
reference. Changing this property forces recreation of the resource.
|
|
127
127
|
"""
|
|
128
128
|
return pulumi.get(self, "project")
|
|
129
129
|
|
|
@@ -367,7 +367,7 @@ class _MySqlState:
|
|
|
367
367
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
368
368
|
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
369
369
|
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
370
|
-
reference.
|
|
370
|
+
reference. Changing this property forces recreation of the resource.
|
|
371
371
|
: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
|
|
372
372
|
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
373
373
|
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
@@ -629,7 +629,7 @@ class _MySqlState:
|
|
|
629
629
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
630
630
|
"""
|
|
631
631
|
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
632
|
-
reference.
|
|
632
|
+
reference. Changing this property forces recreation of the resource.
|
|
633
633
|
"""
|
|
634
634
|
return pulumi.get(self, "project")
|
|
635
635
|
|
|
@@ -840,6 +840,7 @@ class MySql(pulumi.CustomResource):
|
|
|
840
840
|
|
|
841
841
|
## Example Usage
|
|
842
842
|
|
|
843
|
+
<!--Start PulumiCodeChooser -->
|
|
843
844
|
```python
|
|
844
845
|
import pulumi
|
|
845
846
|
import pulumi_aiven as aiven
|
|
@@ -862,11 +863,12 @@ class MySql(pulumi.CustomResource):
|
|
|
862
863
|
),
|
|
863
864
|
))
|
|
864
865
|
```
|
|
866
|
+
<!--End PulumiCodeChooser -->
|
|
865
867
|
|
|
866
868
|
## Import
|
|
867
869
|
|
|
868
870
|
```sh
|
|
869
|
-
|
|
871
|
+
$ pulumi import aiven:index/mySql:MySql mysql1 project/service_name
|
|
870
872
|
```
|
|
871
873
|
|
|
872
874
|
:param str resource_name: The name of the resource.
|
|
@@ -891,7 +893,7 @@ class MySql(pulumi.CustomResource):
|
|
|
891
893
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
892
894
|
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
893
895
|
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
894
|
-
reference.
|
|
896
|
+
reference. Changing this property forces recreation of the resource.
|
|
895
897
|
: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
|
|
896
898
|
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
897
899
|
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
@@ -919,6 +921,7 @@ class MySql(pulumi.CustomResource):
|
|
|
919
921
|
|
|
920
922
|
## Example Usage
|
|
921
923
|
|
|
924
|
+
<!--Start PulumiCodeChooser -->
|
|
922
925
|
```python
|
|
923
926
|
import pulumi
|
|
924
927
|
import pulumi_aiven as aiven
|
|
@@ -941,11 +944,12 @@ class MySql(pulumi.CustomResource):
|
|
|
941
944
|
),
|
|
942
945
|
))
|
|
943
946
|
```
|
|
947
|
+
<!--End PulumiCodeChooser -->
|
|
944
948
|
|
|
945
949
|
## Import
|
|
946
950
|
|
|
947
951
|
```sh
|
|
948
|
-
|
|
952
|
+
$ pulumi import aiven:index/mySql:MySql mysql1 project/service_name
|
|
949
953
|
```
|
|
950
954
|
|
|
951
955
|
:param str resource_name: The name of the resource.
|
|
@@ -1096,7 +1100,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1096
1100
|
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1097
1101
|
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1098
1102
|
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1099
|
-
reference.
|
|
1103
|
+
reference. Changing this property forces recreation of the resource.
|
|
1100
1104
|
: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
|
|
1101
1105
|
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1102
1106
|
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
@@ -1280,7 +1284,7 @@ class MySql(pulumi.CustomResource):
|
|
|
1280
1284
|
def project(self) -> pulumi.Output[str]:
|
|
1281
1285
|
"""
|
|
1282
1286
|
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1283
|
-
reference.
|
|
1287
|
+
reference. Changing this property forces recreation of the resource.
|
|
1284
1288
|
"""
|
|
1285
1289
|
return pulumi.get(self, "project")
|
|
1286
1290
|
|
pulumi_aiven/mysql_database.py
CHANGED
|
@@ -20,9 +20,9 @@ class MysqlDatabaseArgs:
|
|
|
20
20
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
21
21
|
"""
|
|
22
22
|
The set of arguments for constructing a MysqlDatabase resource.
|
|
23
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
24
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
25
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
23
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
24
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
25
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that 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.
|
|
26
26
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
27
27
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
28
28
|
"""
|
|
@@ -36,7 +36,7 @@ class MysqlDatabaseArgs:
|
|
|
36
36
|
@pulumi.getter(name="databaseName")
|
|
37
37
|
def database_name(self) -> pulumi.Input[str]:
|
|
38
38
|
"""
|
|
39
|
-
The name of the service database.
|
|
39
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
40
40
|
"""
|
|
41
41
|
return pulumi.get(self, "database_name")
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ class MysqlDatabaseArgs:
|
|
|
48
48
|
@pulumi.getter
|
|
49
49
|
def project(self) -> pulumi.Input[str]:
|
|
50
50
|
"""
|
|
51
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
51
|
+
Identifies 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.
|
|
52
52
|
"""
|
|
53
53
|
return pulumi.get(self, "project")
|
|
54
54
|
|
|
@@ -60,7 +60,7 @@ class MysqlDatabaseArgs:
|
|
|
60
60
|
@pulumi.getter(name="serviceName")
|
|
61
61
|
def service_name(self) -> pulumi.Input[str]:
|
|
62
62
|
"""
|
|
63
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
63
|
+
Specifies the name of the service that 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.
|
|
64
64
|
"""
|
|
65
65
|
return pulumi.get(self, "service_name")
|
|
66
66
|
|
|
@@ -91,9 +91,9 @@ class _MysqlDatabaseState:
|
|
|
91
91
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
92
92
|
"""
|
|
93
93
|
Input properties used for looking up and filtering MysqlDatabase resources.
|
|
94
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
95
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
96
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
94
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
95
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
96
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that 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.
|
|
97
97
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
98
98
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
99
99
|
"""
|
|
@@ -110,7 +110,7 @@ class _MysqlDatabaseState:
|
|
|
110
110
|
@pulumi.getter(name="databaseName")
|
|
111
111
|
def database_name(self) -> Optional[pulumi.Input[str]]:
|
|
112
112
|
"""
|
|
113
|
-
The name of the service database.
|
|
113
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "database_name")
|
|
116
116
|
|
|
@@ -122,7 +122,7 @@ class _MysqlDatabaseState:
|
|
|
122
122
|
@pulumi.getter
|
|
123
123
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
124
124
|
"""
|
|
125
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
125
|
+
Identifies 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.
|
|
126
126
|
"""
|
|
127
127
|
return pulumi.get(self, "project")
|
|
128
128
|
|
|
@@ -134,7 +134,7 @@ class _MysqlDatabaseState:
|
|
|
134
134
|
@pulumi.getter(name="serviceName")
|
|
135
135
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
136
136
|
"""
|
|
137
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
137
|
+
Specifies the name of the service that 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.
|
|
138
138
|
"""
|
|
139
139
|
return pulumi.get(self, "service_name")
|
|
140
140
|
|
|
@@ -171,6 +171,7 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
171
171
|
|
|
172
172
|
## Example Usage
|
|
173
173
|
|
|
174
|
+
<!--Start PulumiCodeChooser -->
|
|
174
175
|
```python
|
|
175
176
|
import pulumi
|
|
176
177
|
import pulumi_aiven as aiven
|
|
@@ -180,18 +181,19 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
180
181
|
service_name=aiven_mysql["mymysql"]["service_name"],
|
|
181
182
|
database_name="<DATABASE_NAME>")
|
|
182
183
|
```
|
|
184
|
+
<!--End PulumiCodeChooser -->
|
|
183
185
|
|
|
184
186
|
## Import
|
|
185
187
|
|
|
186
188
|
```sh
|
|
187
|
-
|
|
189
|
+
$ pulumi import aiven:index/mysqlDatabase:MysqlDatabase mydatabase project/service_name/database_name
|
|
188
190
|
```
|
|
189
191
|
|
|
190
192
|
:param str resource_name: The name of the resource.
|
|
191
193
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
192
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
193
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
194
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
194
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
195
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
196
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that 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.
|
|
195
197
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
196
198
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
197
199
|
"""
|
|
@@ -206,6 +208,7 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
206
208
|
|
|
207
209
|
## Example Usage
|
|
208
210
|
|
|
211
|
+
<!--Start PulumiCodeChooser -->
|
|
209
212
|
```python
|
|
210
213
|
import pulumi
|
|
211
214
|
import pulumi_aiven as aiven
|
|
@@ -215,11 +218,12 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
215
218
|
service_name=aiven_mysql["mymysql"]["service_name"],
|
|
216
219
|
database_name="<DATABASE_NAME>")
|
|
217
220
|
```
|
|
221
|
+
<!--End PulumiCodeChooser -->
|
|
218
222
|
|
|
219
223
|
## Import
|
|
220
224
|
|
|
221
225
|
```sh
|
|
222
|
-
|
|
226
|
+
$ pulumi import aiven:index/mysqlDatabase:MysqlDatabase mydatabase project/service_name/database_name
|
|
223
227
|
```
|
|
224
228
|
|
|
225
229
|
:param str resource_name: The name of the resource.
|
|
@@ -281,9 +285,9 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
281
285
|
:param str resource_name: The unique name of the resulting resource.
|
|
282
286
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
283
287
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
284
|
-
:param pulumi.Input[str] database_name: The name of the service database.
|
|
285
|
-
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
286
|
-
:param pulumi.Input[str] service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
288
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
289
|
+
:param pulumi.Input[str] project: Identifies 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.
|
|
290
|
+
:param pulumi.Input[str] service_name: Specifies the name of the service that 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.
|
|
287
291
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
288
292
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
289
293
|
"""
|
|
@@ -301,7 +305,7 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
301
305
|
@pulumi.getter(name="databaseName")
|
|
302
306
|
def database_name(self) -> pulumi.Output[str]:
|
|
303
307
|
"""
|
|
304
|
-
The name of the service database.
|
|
308
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
305
309
|
"""
|
|
306
310
|
return pulumi.get(self, "database_name")
|
|
307
311
|
|
|
@@ -309,7 +313,7 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
309
313
|
@pulumi.getter
|
|
310
314
|
def project(self) -> pulumi.Output[str]:
|
|
311
315
|
"""
|
|
312
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
316
|
+
Identifies 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.
|
|
313
317
|
"""
|
|
314
318
|
return pulumi.get(self, "project")
|
|
315
319
|
|
|
@@ -317,7 +321,7 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
317
321
|
@pulumi.getter(name="serviceName")
|
|
318
322
|
def service_name(self) -> pulumi.Output[str]:
|
|
319
323
|
"""
|
|
320
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
324
|
+
Specifies the name of the service that 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.
|
|
321
325
|
"""
|
|
322
326
|
return pulumi.get(self, "service_name")
|
|
323
327
|
|