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