pulumi-aiven 6.41.0a1753242343__py3-none-any.whl → 6.42.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 +1 -1
- pulumi_aiven/_inputs.py +10923 -10764
- pulumi_aiven/account.py +89 -90
- pulumi_aiven/account_authentication.py +253 -254
- pulumi_aiven/account_team.py +62 -63
- pulumi_aiven/account_team_member.py +79 -80
- pulumi_aiven/account_team_project.py +69 -70
- pulumi_aiven/alloydbomni.py +319 -320
- pulumi_aiven/alloydbomni_database.py +86 -87
- pulumi_aiven/alloydbomni_user.py +113 -114
- pulumi_aiven/aws_org_vpc_peering_connection.py +113 -114
- pulumi_aiven/aws_privatelink.py +70 -71
- pulumi_aiven/aws_vpc_peering_connection.py +96 -97
- pulumi_aiven/azure_org_vpc_peering_connection.py +138 -139
- pulumi_aiven/azure_privatelink.py +88 -89
- pulumi_aiven/azure_privatelink_connection_approval.py +70 -71
- pulumi_aiven/azure_vpc_peering_connection.py +130 -131
- pulumi_aiven/billing_group.py +256 -257
- pulumi_aiven/cassandra.py +302 -303
- pulumi_aiven/cassandra_user.py +96 -97
- pulumi_aiven/clickhouse.py +302 -303
- pulumi_aiven/clickhouse_database.py +65 -66
- pulumi_aiven/clickhouse_grant.py +75 -76
- pulumi_aiven/clickhouse_role.py +52 -53
- pulumi_aiven/clickhouse_user.py +79 -80
- pulumi_aiven/config/__init__.py +1 -1
- pulumi_aiven/config/__init__.pyi +1 -2
- pulumi_aiven/config/vars.py +2 -3
- pulumi_aiven/connection_pool.py +129 -130
- pulumi_aiven/dragonfly.py +302 -303
- pulumi_aiven/flink.py +302 -303
- pulumi_aiven/flink_application.py +97 -98
- pulumi_aiven/flink_application_deployment.py +138 -139
- pulumi_aiven/flink_application_version.py +117 -118
- pulumi_aiven/flink_jar_application.py +101 -102
- pulumi_aiven/flink_jar_application_deployment.py +217 -218
- pulumi_aiven/flink_jar_application_version.py +116 -117
- pulumi_aiven/gcp_org_vpc_peering_connection.py +87 -88
- pulumi_aiven/gcp_privatelink.py +62 -63
- pulumi_aiven/gcp_privatelink_connection_approval.py +79 -80
- pulumi_aiven/gcp_vpc_peering_connection.py +79 -80
- pulumi_aiven/get_account.py +23 -24
- pulumi_aiven/get_account_authentication.py +46 -47
- pulumi_aiven/get_account_team.py +21 -22
- pulumi_aiven/get_account_team_member.py +27 -28
- pulumi_aiven/get_account_team_project.py +23 -24
- pulumi_aiven/get_alloydbomni.py +63 -64
- pulumi_aiven/get_alloydbomni_database.py +25 -26
- pulumi_aiven/get_alloydbomni_user.py +31 -32
- pulumi_aiven/get_aws_org_vpc_peering_connection.py +39 -40
- pulumi_aiven/get_aws_privatelink.py +21 -22
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -34
- pulumi_aiven/get_azure_org_vpc_peering_connection.py +41 -42
- pulumi_aiven/get_azure_privatelink.py +25 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +45 -46
- pulumi_aiven/get_billing_group.py +39 -40
- pulumi_aiven/get_cassanda.py +61 -62
- pulumi_aiven/get_cassandra.py +61 -62
- pulumi_aiven/get_cassandra_user.py +29 -30
- pulumi_aiven/get_clickhouse.py +61 -62
- pulumi_aiven/get_clickhouse_database.py +23 -24
- pulumi_aiven/get_clickhouse_user.py +27 -28
- pulumi_aiven/get_connection_pool.py +31 -32
- pulumi_aiven/get_dragonfly.py +61 -62
- pulumi_aiven/get_external_identity.py +27 -28
- pulumi_aiven/get_flink.py +61 -62
- pulumi_aiven/get_flink_application.py +31 -32
- pulumi_aiven/get_flink_application_version.py +39 -40
- pulumi_aiven/get_gcp_org_vpc_peering_connection.py +31 -32
- pulumi_aiven/get_gcp_privatelink.py +21 -22
- pulumi_aiven/get_gcp_vpc_peering_connection.py +27 -28
- pulumi_aiven/get_grafana.py +61 -62
- pulumi_aiven/get_influx_db.py +57 -58
- pulumi_aiven/get_influxdb_database.py +17 -18
- pulumi_aiven/get_influxdb_user.py +23 -24
- pulumi_aiven/get_kafka.py +65 -66
- pulumi_aiven/get_kafka_acl.py +35 -36
- pulumi_aiven/get_kafka_connect.py +60 -61
- pulumi_aiven/get_kafka_connector.py +36 -37
- pulumi_aiven/get_kafka_mirror_maker.py +60 -61
- pulumi_aiven/get_kafka_schema.py +29 -30
- pulumi_aiven/get_kafka_schema_configuration.py +25 -26
- pulumi_aiven/get_kafka_schema_registry_acl.py +35 -36
- pulumi_aiven/get_kafka_topic.py +33 -34
- pulumi_aiven/get_kafka_user.py +29 -30
- pulumi_aiven/get_m3_aggregator.py +61 -62
- pulumi_aiven/get_m3_db.py +61 -62
- pulumi_aiven/get_m3db_user.py +25 -26
- pulumi_aiven/get_mirror_maker_replication_flow.py +51 -52
- pulumi_aiven/get_my_sql.py +61 -62
- pulumi_aiven/get_mysql_database.py +23 -24
- pulumi_aiven/get_mysql_user.py +31 -32
- pulumi_aiven/get_open_search.py +61 -62
- pulumi_aiven/get_open_search_acl_config.py +19 -20
- pulumi_aiven/get_open_search_acl_rule.py +33 -34
- pulumi_aiven/get_opensearch_security_plugin_config.py +23 -24
- pulumi_aiven/get_opensearch_user.py +25 -26
- pulumi_aiven/get_organization.py +20 -21
- pulumi_aiven/get_organization_address.py +32 -33
- pulumi_aiven/get_organization_application_user.py +21 -22
- pulumi_aiven/get_organization_billing_group.py +34 -35
- pulumi_aiven/get_organization_billing_group_list.py +11 -12
- pulumi_aiven/get_organization_project.py +27 -28
- pulumi_aiven/get_organization_user.py +23 -24
- pulumi_aiven/get_organization_user_group.py +23 -24
- pulumi_aiven/get_organization_user_list.py +14 -15
- pulumi_aiven/get_organization_vpc.py +25 -26
- pulumi_aiven/get_organizational_unit.py +17 -18
- pulumi_aiven/get_pg.py +61 -62
- pulumi_aiven/get_pg_database.py +27 -28
- pulumi_aiven/get_pg_user.py +31 -32
- pulumi_aiven/get_project.py +34 -35
- pulumi_aiven/get_project_user.py +19 -20
- pulumi_aiven/get_project_vpc.py +25 -26
- pulumi_aiven/get_redis.py +61 -62
- pulumi_aiven/get_redis_user.py +33 -34
- pulumi_aiven/get_service_component.py +51 -52
- pulumi_aiven/get_service_integration.py +52 -53
- pulumi_aiven/get_service_integration_endpoint.py +38 -39
- pulumi_aiven/get_thanos.py +61 -62
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +31 -32
- pulumi_aiven/get_valkey.py +61 -62
- pulumi_aiven/get_valkey_user.py +33 -34
- pulumi_aiven/governance_access.py +84 -85
- pulumi_aiven/grafana.py +302 -303
- pulumi_aiven/influx_db.py +302 -303
- pulumi_aiven/influxdb_database.py +65 -66
- pulumi_aiven/influxdb_user.py +96 -97
- pulumi_aiven/kafka.py +336 -337
- pulumi_aiven/kafka_acl.py +95 -96
- pulumi_aiven/kafka_connect.py +299 -300
- pulumi_aiven/kafka_connector.py +125 -126
- pulumi_aiven/kafka_mirror_maker.py +299 -300
- pulumi_aiven/kafka_native_acl.py +154 -155
- pulumi_aiven/kafka_quota.py +120 -121
- pulumi_aiven/kafka_schema.py +112 -113
- pulumi_aiven/kafka_schema_configuration.py +52 -53
- pulumi_aiven/kafka_schema_registry_acl.py +95 -96
- pulumi_aiven/kafka_topic.py +139 -140
- pulumi_aiven/kafka_user.py +96 -97
- pulumi_aiven/m3_aggregator.py +311 -303
- pulumi_aiven/m3_db.py +311 -303
- pulumi_aiven/m3db_user.py +78 -79
- pulumi_aiven/mirror_maker_replication_flow.py +273 -274
- pulumi_aiven/my_sql.py +302 -303
- pulumi_aiven/mysql_database.py +65 -66
- pulumi_aiven/mysql_user.py +113 -114
- pulumi_aiven/open_search.py +302 -303
- pulumi_aiven/open_search_acl_config.py +69 -70
- pulumi_aiven/open_search_acl_rule.py +86 -87
- pulumi_aiven/opensearch_security_plugin_config.py +79 -80
- pulumi_aiven/opensearch_user.py +78 -79
- pulumi_aiven/organization.py +48 -49
- pulumi_aiven/organization_address.py +150 -151
- pulumi_aiven/organization_application_user.py +70 -71
- pulumi_aiven/organization_application_user_token.py +210 -211
- pulumi_aiven/organization_billing_group.py +183 -184
- pulumi_aiven/organization_group_project.py +55 -56
- pulumi_aiven/organization_permission.py +55 -56
- pulumi_aiven/organization_project.py +118 -119
- pulumi_aiven/organization_user.py +71 -72
- pulumi_aiven/organization_user_group.py +79 -80
- pulumi_aiven/organization_user_group_member.py +64 -65
- pulumi_aiven/organization_vpc.py +88 -89
- pulumi_aiven/organizational_unit.py +62 -63
- pulumi_aiven/outputs.py +14499 -14292
- pulumi_aiven/pg.py +302 -303
- pulumi_aiven/pg_database.py +99 -100
- pulumi_aiven/pg_user.py +113 -114
- pulumi_aiven/project.py +193 -194
- pulumi_aiven/project_user.py +61 -62
- pulumi_aiven/project_vpc.py +61 -62
- pulumi_aiven/provider.py +12 -13
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +302 -303
- pulumi_aiven/redis_user.py +146 -147
- pulumi_aiven/service_integration.py +191 -192
- pulumi_aiven/service_integration_endpoint.py +118 -119
- pulumi_aiven/static_ip.py +71 -72
- pulumi_aiven/thanos.py +302 -303
- pulumi_aiven/transit_gateway_vpc_attachment.py +113 -114
- pulumi_aiven/valkey.py +302 -303
- pulumi_aiven/valkey_user.py +146 -147
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.42.0.dist-info/RECORD +189 -0
- pulumi_aiven-6.41.0a1753242343.dist-info/RECORD +0 -189
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.41.0a1753242343.dist-info → pulumi_aiven-6.42.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/mysql_database.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,15 +19,15 @@ __all__ = ['MysqlDatabaseArgs', 'MysqlDatabase']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class MysqlDatabaseArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
database_name: pulumi.Input[
|
|
24
|
-
project: pulumi.Input[
|
|
25
|
-
service_name: pulumi.Input[
|
|
26
|
-
termination_protection: Optional[pulumi.Input[
|
|
22
|
+
database_name: pulumi.Input[_builtins.str],
|
|
23
|
+
project: pulumi.Input[_builtins.str],
|
|
24
|
+
service_name: pulumi.Input[_builtins.str],
|
|
25
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
27
26
|
"""
|
|
28
27
|
The set of arguments for constructing a MysqlDatabase resource.
|
|
29
|
-
:param pulumi.Input[
|
|
30
|
-
:param pulumi.Input[
|
|
31
|
-
:param pulumi.Input[
|
|
28
|
+
:param pulumi.Input[_builtins.str] database_name: The name of the database. Changing this property forces recreation of the resource.
|
|
29
|
+
:param pulumi.Input[_builtins.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.
|
|
30
|
+
:param pulumi.Input[_builtins.str] service_name: 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.
|
|
32
31
|
"""
|
|
33
32
|
pulumi.set(__self__, "database_name", database_name)
|
|
34
33
|
pulumi.set(__self__, "project", project)
|
|
@@ -36,64 +35,64 @@ class MysqlDatabaseArgs:
|
|
|
36
35
|
if termination_protection is not None:
|
|
37
36
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
38
37
|
|
|
39
|
-
@property
|
|
38
|
+
@_builtins.property
|
|
40
39
|
@pulumi.getter(name="databaseName")
|
|
41
|
-
def database_name(self) -> pulumi.Input[
|
|
40
|
+
def database_name(self) -> pulumi.Input[_builtins.str]:
|
|
42
41
|
"""
|
|
43
42
|
The name of the database. Changing this property forces recreation of the resource.
|
|
44
43
|
"""
|
|
45
44
|
return pulumi.get(self, "database_name")
|
|
46
45
|
|
|
47
46
|
@database_name.setter
|
|
48
|
-
def database_name(self, value: pulumi.Input[
|
|
47
|
+
def database_name(self, value: pulumi.Input[_builtins.str]):
|
|
49
48
|
pulumi.set(self, "database_name", value)
|
|
50
49
|
|
|
51
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
52
51
|
@pulumi.getter
|
|
53
|
-
def project(self) -> pulumi.Input[
|
|
52
|
+
def project(self) -> pulumi.Input[_builtins.str]:
|
|
54
53
|
"""
|
|
55
54
|
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.
|
|
56
55
|
"""
|
|
57
56
|
return pulumi.get(self, "project")
|
|
58
57
|
|
|
59
58
|
@project.setter
|
|
60
|
-
def project(self, value: pulumi.Input[
|
|
59
|
+
def project(self, value: pulumi.Input[_builtins.str]):
|
|
61
60
|
pulumi.set(self, "project", value)
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter(name="serviceName")
|
|
65
|
-
def service_name(self) -> pulumi.Input[
|
|
64
|
+
def service_name(self) -> pulumi.Input[_builtins.str]:
|
|
66
65
|
"""
|
|
67
66
|
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.
|
|
68
67
|
"""
|
|
69
68
|
return pulumi.get(self, "service_name")
|
|
70
69
|
|
|
71
70
|
@service_name.setter
|
|
72
|
-
def service_name(self, value: pulumi.Input[
|
|
71
|
+
def service_name(self, value: pulumi.Input[_builtins.str]):
|
|
73
72
|
pulumi.set(self, "service_name", value)
|
|
74
73
|
|
|
75
|
-
@property
|
|
74
|
+
@_builtins.property
|
|
76
75
|
@pulumi.getter(name="terminationProtection")
|
|
77
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
76
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
78
77
|
return pulumi.get(self, "termination_protection")
|
|
79
78
|
|
|
80
79
|
@termination_protection.setter
|
|
81
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
80
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
82
81
|
pulumi.set(self, "termination_protection", value)
|
|
83
82
|
|
|
84
83
|
|
|
85
84
|
@pulumi.input_type
|
|
86
85
|
class _MysqlDatabaseState:
|
|
87
86
|
def __init__(__self__, *,
|
|
88
|
-
database_name: Optional[pulumi.Input[
|
|
89
|
-
project: Optional[pulumi.Input[
|
|
90
|
-
service_name: Optional[pulumi.Input[
|
|
91
|
-
termination_protection: Optional[pulumi.Input[
|
|
87
|
+
database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
88
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
89
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
90
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
92
91
|
"""
|
|
93
92
|
Input properties used for looking up and filtering MysqlDatabase resources.
|
|
94
|
-
:param pulumi.Input[
|
|
95
|
-
:param pulumi.Input[
|
|
96
|
-
:param pulumi.Input[
|
|
93
|
+
:param pulumi.Input[_builtins.str] database_name: The name of the database. Changing this property forces recreation of the resource.
|
|
94
|
+
:param pulumi.Input[_builtins.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.
|
|
95
|
+
:param pulumi.Input[_builtins.str] service_name: 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
96
|
"""
|
|
98
97
|
if database_name is not None:
|
|
99
98
|
pulumi.set(__self__, "database_name", database_name)
|
|
@@ -104,49 +103,49 @@ class _MysqlDatabaseState:
|
|
|
104
103
|
if termination_protection is not None:
|
|
105
104
|
pulumi.set(__self__, "termination_protection", termination_protection)
|
|
106
105
|
|
|
107
|
-
@property
|
|
106
|
+
@_builtins.property
|
|
108
107
|
@pulumi.getter(name="databaseName")
|
|
109
|
-
def database_name(self) -> Optional[pulumi.Input[
|
|
108
|
+
def database_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
110
109
|
"""
|
|
111
110
|
The name of the database. Changing this property forces recreation of the resource.
|
|
112
111
|
"""
|
|
113
112
|
return pulumi.get(self, "database_name")
|
|
114
113
|
|
|
115
114
|
@database_name.setter
|
|
116
|
-
def database_name(self, value: Optional[pulumi.Input[
|
|
115
|
+
def database_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
117
116
|
pulumi.set(self, "database_name", value)
|
|
118
117
|
|
|
119
|
-
@property
|
|
118
|
+
@_builtins.property
|
|
120
119
|
@pulumi.getter
|
|
121
|
-
def project(self) -> Optional[pulumi.Input[
|
|
120
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
122
121
|
"""
|
|
123
122
|
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.
|
|
124
123
|
"""
|
|
125
124
|
return pulumi.get(self, "project")
|
|
126
125
|
|
|
127
126
|
@project.setter
|
|
128
|
-
def project(self, value: Optional[pulumi.Input[
|
|
127
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
129
128
|
pulumi.set(self, "project", value)
|
|
130
129
|
|
|
131
|
-
@property
|
|
130
|
+
@_builtins.property
|
|
132
131
|
@pulumi.getter(name="serviceName")
|
|
133
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
132
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
134
133
|
"""
|
|
135
134
|
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.
|
|
136
135
|
"""
|
|
137
136
|
return pulumi.get(self, "service_name")
|
|
138
137
|
|
|
139
138
|
@service_name.setter
|
|
140
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
139
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
141
140
|
pulumi.set(self, "service_name", value)
|
|
142
141
|
|
|
143
|
-
@property
|
|
142
|
+
@_builtins.property
|
|
144
143
|
@pulumi.getter(name="terminationProtection")
|
|
145
|
-
def termination_protection(self) -> Optional[pulumi.Input[
|
|
144
|
+
def termination_protection(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
146
145
|
return pulumi.get(self, "termination_protection")
|
|
147
146
|
|
|
148
147
|
@termination_protection.setter
|
|
149
|
-
def termination_protection(self, value: Optional[pulumi.Input[
|
|
148
|
+
def termination_protection(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
150
149
|
pulumi.set(self, "termination_protection", value)
|
|
151
150
|
|
|
152
151
|
|
|
@@ -156,10 +155,10 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
156
155
|
def __init__(__self__,
|
|
157
156
|
resource_name: str,
|
|
158
157
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
159
|
-
database_name: Optional[pulumi.Input[
|
|
160
|
-
project: Optional[pulumi.Input[
|
|
161
|
-
service_name: Optional[pulumi.Input[
|
|
162
|
-
termination_protection: Optional[pulumi.Input[
|
|
158
|
+
database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
159
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
160
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
161
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
163
162
|
__props__=None):
|
|
164
163
|
"""
|
|
165
164
|
Creates and manages an [Aiven for MySQL®](https://aiven.io/docs/products/mysql) database.
|
|
@@ -184,9 +183,9 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
184
183
|
|
|
185
184
|
:param str resource_name: The name of the resource.
|
|
186
185
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
187
|
-
:param pulumi.Input[
|
|
188
|
-
:param pulumi.Input[
|
|
189
|
-
:param pulumi.Input[
|
|
186
|
+
:param pulumi.Input[_builtins.str] database_name: The name of the database. Changing this property forces recreation of the resource.
|
|
187
|
+
:param pulumi.Input[_builtins.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.
|
|
188
|
+
:param pulumi.Input[_builtins.str] service_name: 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.
|
|
190
189
|
"""
|
|
191
190
|
...
|
|
192
191
|
@overload
|
|
@@ -230,10 +229,10 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
230
229
|
def _internal_init(__self__,
|
|
231
230
|
resource_name: str,
|
|
232
231
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
233
|
-
database_name: Optional[pulumi.Input[
|
|
234
|
-
project: Optional[pulumi.Input[
|
|
235
|
-
service_name: Optional[pulumi.Input[
|
|
236
|
-
termination_protection: Optional[pulumi.Input[
|
|
232
|
+
database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
233
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
234
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
235
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
237
236
|
__props__=None):
|
|
238
237
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
239
238
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -263,10 +262,10 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
263
262
|
def get(resource_name: str,
|
|
264
263
|
id: pulumi.Input[str],
|
|
265
264
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
266
|
-
database_name: Optional[pulumi.Input[
|
|
267
|
-
project: Optional[pulumi.Input[
|
|
268
|
-
service_name: Optional[pulumi.Input[
|
|
269
|
-
termination_protection: Optional[pulumi.Input[
|
|
265
|
+
database_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
266
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
|
267
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
268
|
+
termination_protection: Optional[pulumi.Input[_builtins.bool]] = None) -> 'MysqlDatabase':
|
|
270
269
|
"""
|
|
271
270
|
Get an existing MysqlDatabase resource's state with the given name, id, and optional extra
|
|
272
271
|
properties used to qualify the lookup.
|
|
@@ -274,9 +273,9 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
274
273
|
:param str resource_name: The unique name of the resulting resource.
|
|
275
274
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
276
275
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
277
|
-
:param pulumi.Input[
|
|
278
|
-
:param pulumi.Input[
|
|
279
|
-
:param pulumi.Input[
|
|
276
|
+
:param pulumi.Input[_builtins.str] database_name: The name of the database. Changing this property forces recreation of the resource.
|
|
277
|
+
:param pulumi.Input[_builtins.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.
|
|
278
|
+
:param pulumi.Input[_builtins.str] service_name: 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.
|
|
280
279
|
"""
|
|
281
280
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
282
281
|
|
|
@@ -288,32 +287,32 @@ class MysqlDatabase(pulumi.CustomResource):
|
|
|
288
287
|
__props__.__dict__["termination_protection"] = termination_protection
|
|
289
288
|
return MysqlDatabase(resource_name, opts=opts, __props__=__props__)
|
|
290
289
|
|
|
291
|
-
@property
|
|
290
|
+
@_builtins.property
|
|
292
291
|
@pulumi.getter(name="databaseName")
|
|
293
|
-
def database_name(self) -> pulumi.Output[
|
|
292
|
+
def database_name(self) -> pulumi.Output[_builtins.str]:
|
|
294
293
|
"""
|
|
295
294
|
The name of the database. Changing this property forces recreation of the resource.
|
|
296
295
|
"""
|
|
297
296
|
return pulumi.get(self, "database_name")
|
|
298
297
|
|
|
299
|
-
@property
|
|
298
|
+
@_builtins.property
|
|
300
299
|
@pulumi.getter
|
|
301
|
-
def project(self) -> pulumi.Output[
|
|
300
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
|
302
301
|
"""
|
|
303
302
|
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.
|
|
304
303
|
"""
|
|
305
304
|
return pulumi.get(self, "project")
|
|
306
305
|
|
|
307
|
-
@property
|
|
306
|
+
@_builtins.property
|
|
308
307
|
@pulumi.getter(name="serviceName")
|
|
309
|
-
def service_name(self) -> pulumi.Output[
|
|
308
|
+
def service_name(self) -> pulumi.Output[_builtins.str]:
|
|
310
309
|
"""
|
|
311
310
|
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.
|
|
312
311
|
"""
|
|
313
312
|
return pulumi.get(self, "service_name")
|
|
314
313
|
|
|
315
|
-
@property
|
|
314
|
+
@_builtins.property
|
|
316
315
|
@pulumi.getter(name="terminationProtection")
|
|
317
|
-
def termination_protection(self) -> pulumi.Output[Optional[
|
|
316
|
+
def termination_protection(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
318
317
|
return pulumi.get(self, "termination_protection")
|
|
319
318
|
|