pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.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 +136 -0
- pulumi_aiven/_inputs.py +32960 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
- pulumi_aiven/get_account.py +20 -5
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_quota.py +604 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -32
- pulumi_aiven/outputs.py +38714 -21632
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0.dist-info/RECORD +170 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = ['AlloydbomniDatabaseArgs', 'AlloydbomniDatabase']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class AlloydbomniDatabaseArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
database_name: pulumi.Input[str],
|
|
23
|
+
project: pulumi.Input[str],
|
|
24
|
+
service_name: pulumi.Input[str],
|
|
25
|
+
lc_collate: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
lc_ctype: Optional[pulumi.Input[str]] = None):
|
|
27
|
+
"""
|
|
28
|
+
The set of arguments for constructing a AlloydbomniDatabase resource.
|
|
29
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
30
|
+
: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.
|
|
31
|
+
: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.
|
|
32
|
+
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
33
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
34
|
+
"""
|
|
35
|
+
pulumi.set(__self__, "database_name", database_name)
|
|
36
|
+
pulumi.set(__self__, "project", project)
|
|
37
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
38
|
+
if lc_collate is not None:
|
|
39
|
+
pulumi.set(__self__, "lc_collate", lc_collate)
|
|
40
|
+
if lc_ctype is not None:
|
|
41
|
+
pulumi.set(__self__, "lc_ctype", lc_ctype)
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter(name="databaseName")
|
|
45
|
+
def database_name(self) -> pulumi.Input[str]:
|
|
46
|
+
"""
|
|
47
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "database_name")
|
|
50
|
+
|
|
51
|
+
@database_name.setter
|
|
52
|
+
def database_name(self, value: pulumi.Input[str]):
|
|
53
|
+
pulumi.set(self, "database_name", value)
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter
|
|
57
|
+
def project(self) -> pulumi.Input[str]:
|
|
58
|
+
"""
|
|
59
|
+
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.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "project")
|
|
62
|
+
|
|
63
|
+
@project.setter
|
|
64
|
+
def project(self, value: pulumi.Input[str]):
|
|
65
|
+
pulumi.set(self, "project", value)
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter(name="serviceName")
|
|
69
|
+
def service_name(self) -> pulumi.Input[str]:
|
|
70
|
+
"""
|
|
71
|
+
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.
|
|
72
|
+
"""
|
|
73
|
+
return pulumi.get(self, "service_name")
|
|
74
|
+
|
|
75
|
+
@service_name.setter
|
|
76
|
+
def service_name(self, value: pulumi.Input[str]):
|
|
77
|
+
pulumi.set(self, "service_name", value)
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter(name="lcCollate")
|
|
81
|
+
def lc_collate(self) -> Optional[pulumi.Input[str]]:
|
|
82
|
+
"""
|
|
83
|
+
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "lc_collate")
|
|
86
|
+
|
|
87
|
+
@lc_collate.setter
|
|
88
|
+
def lc_collate(self, value: Optional[pulumi.Input[str]]):
|
|
89
|
+
pulumi.set(self, "lc_collate", value)
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter(name="lcCtype")
|
|
93
|
+
def lc_ctype(self) -> Optional[pulumi.Input[str]]:
|
|
94
|
+
"""
|
|
95
|
+
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "lc_ctype")
|
|
98
|
+
|
|
99
|
+
@lc_ctype.setter
|
|
100
|
+
def lc_ctype(self, value: Optional[pulumi.Input[str]]):
|
|
101
|
+
pulumi.set(self, "lc_ctype", value)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
@pulumi.input_type
|
|
105
|
+
class _AlloydbomniDatabaseState:
|
|
106
|
+
def __init__(__self__, *,
|
|
107
|
+
database_name: Optional[pulumi.Input[str]] = None,
|
|
108
|
+
lc_collate: Optional[pulumi.Input[str]] = None,
|
|
109
|
+
lc_ctype: Optional[pulumi.Input[str]] = None,
|
|
110
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
111
|
+
service_name: Optional[pulumi.Input[str]] = None):
|
|
112
|
+
"""
|
|
113
|
+
Input properties used for looking up and filtering AlloydbomniDatabase resources.
|
|
114
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
115
|
+
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
116
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
117
|
+
: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.
|
|
118
|
+
: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.
|
|
119
|
+
"""
|
|
120
|
+
if database_name is not None:
|
|
121
|
+
pulumi.set(__self__, "database_name", database_name)
|
|
122
|
+
if lc_collate is not None:
|
|
123
|
+
pulumi.set(__self__, "lc_collate", lc_collate)
|
|
124
|
+
if lc_ctype is not None:
|
|
125
|
+
pulumi.set(__self__, "lc_ctype", lc_ctype)
|
|
126
|
+
if project is not None:
|
|
127
|
+
pulumi.set(__self__, "project", project)
|
|
128
|
+
if service_name is not None:
|
|
129
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
130
|
+
|
|
131
|
+
@property
|
|
132
|
+
@pulumi.getter(name="databaseName")
|
|
133
|
+
def database_name(self) -> Optional[pulumi.Input[str]]:
|
|
134
|
+
"""
|
|
135
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
136
|
+
"""
|
|
137
|
+
return pulumi.get(self, "database_name")
|
|
138
|
+
|
|
139
|
+
@database_name.setter
|
|
140
|
+
def database_name(self, value: Optional[pulumi.Input[str]]):
|
|
141
|
+
pulumi.set(self, "database_name", value)
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter(name="lcCollate")
|
|
145
|
+
def lc_collate(self) -> Optional[pulumi.Input[str]]:
|
|
146
|
+
"""
|
|
147
|
+
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "lc_collate")
|
|
150
|
+
|
|
151
|
+
@lc_collate.setter
|
|
152
|
+
def lc_collate(self, value: Optional[pulumi.Input[str]]):
|
|
153
|
+
pulumi.set(self, "lc_collate", value)
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
@pulumi.getter(name="lcCtype")
|
|
157
|
+
def lc_ctype(self) -> Optional[pulumi.Input[str]]:
|
|
158
|
+
"""
|
|
159
|
+
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
160
|
+
"""
|
|
161
|
+
return pulumi.get(self, "lc_ctype")
|
|
162
|
+
|
|
163
|
+
@lc_ctype.setter
|
|
164
|
+
def lc_ctype(self, value: Optional[pulumi.Input[str]]):
|
|
165
|
+
pulumi.set(self, "lc_ctype", value)
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
@pulumi.getter
|
|
169
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
|
170
|
+
"""
|
|
171
|
+
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.
|
|
172
|
+
"""
|
|
173
|
+
return pulumi.get(self, "project")
|
|
174
|
+
|
|
175
|
+
@project.setter
|
|
176
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
|
177
|
+
pulumi.set(self, "project", value)
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
@pulumi.getter(name="serviceName")
|
|
181
|
+
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
182
|
+
"""
|
|
183
|
+
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.
|
|
184
|
+
"""
|
|
185
|
+
return pulumi.get(self, "service_name")
|
|
186
|
+
|
|
187
|
+
@service_name.setter
|
|
188
|
+
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
189
|
+
pulumi.set(self, "service_name", value)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
class AlloydbomniDatabase(pulumi.CustomResource):
|
|
193
|
+
@overload
|
|
194
|
+
def __init__(__self__,
|
|
195
|
+
resource_name: str,
|
|
196
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
197
|
+
database_name: Optional[pulumi.Input[str]] = None,
|
|
198
|
+
lc_collate: Optional[pulumi.Input[str]] = None,
|
|
199
|
+
lc_ctype: Optional[pulumi.Input[str]] = None,
|
|
200
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
201
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
202
|
+
__props__=None):
|
|
203
|
+
"""
|
|
204
|
+
Creates and manages a database in an Aiven for AlloyDB Omni service.
|
|
205
|
+
|
|
206
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
207
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
208
|
+
|
|
209
|
+
:param str resource_name: The name of the resource.
|
|
210
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
211
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
212
|
+
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
213
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
214
|
+
: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.
|
|
215
|
+
: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.
|
|
216
|
+
"""
|
|
217
|
+
...
|
|
218
|
+
@overload
|
|
219
|
+
def __init__(__self__,
|
|
220
|
+
resource_name: str,
|
|
221
|
+
args: AlloydbomniDatabaseArgs,
|
|
222
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
223
|
+
"""
|
|
224
|
+
Creates and manages a database in an Aiven for AlloyDB Omni service.
|
|
225
|
+
|
|
226
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
227
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
228
|
+
|
|
229
|
+
:param str resource_name: The name of the resource.
|
|
230
|
+
:param AlloydbomniDatabaseArgs args: The arguments to use to populate this resource's properties.
|
|
231
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
232
|
+
"""
|
|
233
|
+
...
|
|
234
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
235
|
+
resource_args, opts = _utilities.get_resource_args_opts(AlloydbomniDatabaseArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
236
|
+
if resource_args is not None:
|
|
237
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
238
|
+
else:
|
|
239
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
240
|
+
|
|
241
|
+
def _internal_init(__self__,
|
|
242
|
+
resource_name: str,
|
|
243
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
244
|
+
database_name: Optional[pulumi.Input[str]] = None,
|
|
245
|
+
lc_collate: Optional[pulumi.Input[str]] = None,
|
|
246
|
+
lc_ctype: Optional[pulumi.Input[str]] = None,
|
|
247
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
248
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
249
|
+
__props__=None):
|
|
250
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
251
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
252
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
253
|
+
if opts.id is None:
|
|
254
|
+
if __props__ is not None:
|
|
255
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
256
|
+
__props__ = AlloydbomniDatabaseArgs.__new__(AlloydbomniDatabaseArgs)
|
|
257
|
+
|
|
258
|
+
if database_name is None and not opts.urn:
|
|
259
|
+
raise TypeError("Missing required property 'database_name'")
|
|
260
|
+
__props__.__dict__["database_name"] = database_name
|
|
261
|
+
__props__.__dict__["lc_collate"] = lc_collate
|
|
262
|
+
__props__.__dict__["lc_ctype"] = lc_ctype
|
|
263
|
+
if project is None and not opts.urn:
|
|
264
|
+
raise TypeError("Missing required property 'project'")
|
|
265
|
+
__props__.__dict__["project"] = project
|
|
266
|
+
if service_name is None and not opts.urn:
|
|
267
|
+
raise TypeError("Missing required property 'service_name'")
|
|
268
|
+
__props__.__dict__["service_name"] = service_name
|
|
269
|
+
super(AlloydbomniDatabase, __self__).__init__(
|
|
270
|
+
'aiven:index/alloydbomniDatabase:AlloydbomniDatabase',
|
|
271
|
+
resource_name,
|
|
272
|
+
__props__,
|
|
273
|
+
opts)
|
|
274
|
+
|
|
275
|
+
@staticmethod
|
|
276
|
+
def get(resource_name: str,
|
|
277
|
+
id: pulumi.Input[str],
|
|
278
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
279
|
+
database_name: Optional[pulumi.Input[str]] = None,
|
|
280
|
+
lc_collate: Optional[pulumi.Input[str]] = None,
|
|
281
|
+
lc_ctype: Optional[pulumi.Input[str]] = None,
|
|
282
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
283
|
+
service_name: Optional[pulumi.Input[str]] = None) -> 'AlloydbomniDatabase':
|
|
284
|
+
"""
|
|
285
|
+
Get an existing AlloydbomniDatabase resource's state with the given name, id, and optional extra
|
|
286
|
+
properties used to qualify the lookup.
|
|
287
|
+
|
|
288
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
289
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
290
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
291
|
+
:param pulumi.Input[str] database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
292
|
+
:param pulumi.Input[str] lc_collate: Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
293
|
+
:param pulumi.Input[str] lc_ctype: Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
294
|
+
: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.
|
|
295
|
+
: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.
|
|
296
|
+
"""
|
|
297
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
298
|
+
|
|
299
|
+
__props__ = _AlloydbomniDatabaseState.__new__(_AlloydbomniDatabaseState)
|
|
300
|
+
|
|
301
|
+
__props__.__dict__["database_name"] = database_name
|
|
302
|
+
__props__.__dict__["lc_collate"] = lc_collate
|
|
303
|
+
__props__.__dict__["lc_ctype"] = lc_ctype
|
|
304
|
+
__props__.__dict__["project"] = project
|
|
305
|
+
__props__.__dict__["service_name"] = service_name
|
|
306
|
+
return AlloydbomniDatabase(resource_name, opts=opts, __props__=__props__)
|
|
307
|
+
|
|
308
|
+
@property
|
|
309
|
+
@pulumi.getter(name="databaseName")
|
|
310
|
+
def database_name(self) -> pulumi.Output[str]:
|
|
311
|
+
"""
|
|
312
|
+
The name of the service database. Changing this property forces recreation of the resource.
|
|
313
|
+
"""
|
|
314
|
+
return pulumi.get(self, "database_name")
|
|
315
|
+
|
|
316
|
+
@property
|
|
317
|
+
@pulumi.getter(name="lcCollate")
|
|
318
|
+
def lc_collate(self) -> pulumi.Output[Optional[str]]:
|
|
319
|
+
"""
|
|
320
|
+
Default string sort order (`LC_COLLATE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
321
|
+
"""
|
|
322
|
+
return pulumi.get(self, "lc_collate")
|
|
323
|
+
|
|
324
|
+
@property
|
|
325
|
+
@pulumi.getter(name="lcCtype")
|
|
326
|
+
def lc_ctype(self) -> pulumi.Output[Optional[str]]:
|
|
327
|
+
"""
|
|
328
|
+
Default character classification (`LC_CTYPE`) of the database. The default value is `en_US.UTF-8`. Changing this property forces recreation of the resource.
|
|
329
|
+
"""
|
|
330
|
+
return pulumi.get(self, "lc_ctype")
|
|
331
|
+
|
|
332
|
+
@property
|
|
333
|
+
@pulumi.getter
|
|
334
|
+
def project(self) -> pulumi.Output[str]:
|
|
335
|
+
"""
|
|
336
|
+
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.
|
|
337
|
+
"""
|
|
338
|
+
return pulumi.get(self, "project")
|
|
339
|
+
|
|
340
|
+
@property
|
|
341
|
+
@pulumi.getter(name="serviceName")
|
|
342
|
+
def service_name(self) -> pulumi.Output[str]:
|
|
343
|
+
"""
|
|
344
|
+
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.
|
|
345
|
+
"""
|
|
346
|
+
return pulumi.get(self, "service_name")
|
|
347
|
+
|