pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__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 +127 -0
- pulumi_aiven/_inputs.py +32826 -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_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 +38509 -21612
- 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.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.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.0a1736831339.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,433 @@
|
|
|
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__ = ['AlloydbomniUserArgs', 'AlloydbomniUser']
|
|
18
|
+
|
|
19
|
+
@pulumi.input_type
|
|
20
|
+
class AlloydbomniUserArgs:
|
|
21
|
+
def __init__(__self__, *,
|
|
22
|
+
project: pulumi.Input[str],
|
|
23
|
+
service_name: pulumi.Input[str],
|
|
24
|
+
username: pulumi.Input[str],
|
|
25
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
26
|
+
pg_allow_replication: Optional[pulumi.Input[bool]] = None):
|
|
27
|
+
"""
|
|
28
|
+
The set of arguments for constructing a AlloydbomniUser 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.
|
|
31
|
+
:param pulumi.Input[str] username: The name of the service user for this service. 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] password: The password of the service user.
|
|
33
|
+
:param pulumi.Input[bool] pg_allow_replication: Allows replication. For the default avnadmin user this attribute is required and is always `true`.
|
|
34
|
+
"""
|
|
35
|
+
pulumi.set(__self__, "project", project)
|
|
36
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
37
|
+
pulumi.set(__self__, "username", username)
|
|
38
|
+
if password is not None:
|
|
39
|
+
pulumi.set(__self__, "password", password)
|
|
40
|
+
if pg_allow_replication is not None:
|
|
41
|
+
pulumi.set(__self__, "pg_allow_replication", pg_allow_replication)
|
|
42
|
+
|
|
43
|
+
@property
|
|
44
|
+
@pulumi.getter
|
|
45
|
+
def project(self) -> pulumi.Input[str]:
|
|
46
|
+
"""
|
|
47
|
+
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.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "project")
|
|
50
|
+
|
|
51
|
+
@project.setter
|
|
52
|
+
def project(self, value: pulumi.Input[str]):
|
|
53
|
+
pulumi.set(self, "project", value)
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
@pulumi.getter(name="serviceName")
|
|
57
|
+
def service_name(self) -> pulumi.Input[str]:
|
|
58
|
+
"""
|
|
59
|
+
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.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "service_name")
|
|
62
|
+
|
|
63
|
+
@service_name.setter
|
|
64
|
+
def service_name(self, value: pulumi.Input[str]):
|
|
65
|
+
pulumi.set(self, "service_name", value)
|
|
66
|
+
|
|
67
|
+
@property
|
|
68
|
+
@pulumi.getter
|
|
69
|
+
def username(self) -> pulumi.Input[str]:
|
|
70
|
+
"""
|
|
71
|
+
The name of the service user for this service. 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, "username")
|
|
74
|
+
|
|
75
|
+
@username.setter
|
|
76
|
+
def username(self, value: pulumi.Input[str]):
|
|
77
|
+
pulumi.set(self, "username", value)
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
@pulumi.getter
|
|
81
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
|
82
|
+
"""
|
|
83
|
+
The password of the service user.
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "password")
|
|
86
|
+
|
|
87
|
+
@password.setter
|
|
88
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
|
89
|
+
pulumi.set(self, "password", value)
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
@pulumi.getter(name="pgAllowReplication")
|
|
93
|
+
def pg_allow_replication(self) -> Optional[pulumi.Input[bool]]:
|
|
94
|
+
"""
|
|
95
|
+
Allows replication. For the default avnadmin user this attribute is required and is always `true`.
|
|
96
|
+
"""
|
|
97
|
+
return pulumi.get(self, "pg_allow_replication")
|
|
98
|
+
|
|
99
|
+
@pg_allow_replication.setter
|
|
100
|
+
def pg_allow_replication(self, value: Optional[pulumi.Input[bool]]):
|
|
101
|
+
pulumi.set(self, "pg_allow_replication", value)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
@pulumi.input_type
|
|
105
|
+
class _AlloydbomniUserState:
|
|
106
|
+
def __init__(__self__, *,
|
|
107
|
+
access_cert: Optional[pulumi.Input[str]] = None,
|
|
108
|
+
access_key: Optional[pulumi.Input[str]] = None,
|
|
109
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
110
|
+
pg_allow_replication: Optional[pulumi.Input[bool]] = None,
|
|
111
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
112
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
113
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
114
|
+
username: Optional[pulumi.Input[str]] = None):
|
|
115
|
+
"""
|
|
116
|
+
Input properties used for looking up and filtering AlloydbomniUser resources.
|
|
117
|
+
:param pulumi.Input[str] access_cert: The access certificate for the servie user.
|
|
118
|
+
:param pulumi.Input[str] access_key: The access certificate key for the service user.
|
|
119
|
+
:param pulumi.Input[str] password: The password of the service user.
|
|
120
|
+
:param pulumi.Input[bool] pg_allow_replication: Allows replication. For the default avnadmin user this attribute is required and is always `true`.
|
|
121
|
+
: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.
|
|
122
|
+
: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.
|
|
123
|
+
:param pulumi.Input[str] type: The service user account type, either primary or regular.
|
|
124
|
+
:param pulumi.Input[str] username: The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
125
|
+
"""
|
|
126
|
+
if access_cert is not None:
|
|
127
|
+
pulumi.set(__self__, "access_cert", access_cert)
|
|
128
|
+
if access_key is not None:
|
|
129
|
+
pulumi.set(__self__, "access_key", access_key)
|
|
130
|
+
if password is not None:
|
|
131
|
+
pulumi.set(__self__, "password", password)
|
|
132
|
+
if pg_allow_replication is not None:
|
|
133
|
+
pulumi.set(__self__, "pg_allow_replication", pg_allow_replication)
|
|
134
|
+
if project is not None:
|
|
135
|
+
pulumi.set(__self__, "project", project)
|
|
136
|
+
if service_name is not None:
|
|
137
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
138
|
+
if type is not None:
|
|
139
|
+
pulumi.set(__self__, "type", type)
|
|
140
|
+
if username is not None:
|
|
141
|
+
pulumi.set(__self__, "username", username)
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
@pulumi.getter(name="accessCert")
|
|
145
|
+
def access_cert(self) -> Optional[pulumi.Input[str]]:
|
|
146
|
+
"""
|
|
147
|
+
The access certificate for the servie user.
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "access_cert")
|
|
150
|
+
|
|
151
|
+
@access_cert.setter
|
|
152
|
+
def access_cert(self, value: Optional[pulumi.Input[str]]):
|
|
153
|
+
pulumi.set(self, "access_cert", value)
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
@pulumi.getter(name="accessKey")
|
|
157
|
+
def access_key(self) -> Optional[pulumi.Input[str]]:
|
|
158
|
+
"""
|
|
159
|
+
The access certificate key for the service user.
|
|
160
|
+
"""
|
|
161
|
+
return pulumi.get(self, "access_key")
|
|
162
|
+
|
|
163
|
+
@access_key.setter
|
|
164
|
+
def access_key(self, value: Optional[pulumi.Input[str]]):
|
|
165
|
+
pulumi.set(self, "access_key", value)
|
|
166
|
+
|
|
167
|
+
@property
|
|
168
|
+
@pulumi.getter
|
|
169
|
+
def password(self) -> Optional[pulumi.Input[str]]:
|
|
170
|
+
"""
|
|
171
|
+
The password of the service user.
|
|
172
|
+
"""
|
|
173
|
+
return pulumi.get(self, "password")
|
|
174
|
+
|
|
175
|
+
@password.setter
|
|
176
|
+
def password(self, value: Optional[pulumi.Input[str]]):
|
|
177
|
+
pulumi.set(self, "password", value)
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
@pulumi.getter(name="pgAllowReplication")
|
|
181
|
+
def pg_allow_replication(self) -> Optional[pulumi.Input[bool]]:
|
|
182
|
+
"""
|
|
183
|
+
Allows replication. For the default avnadmin user this attribute is required and is always `true`.
|
|
184
|
+
"""
|
|
185
|
+
return pulumi.get(self, "pg_allow_replication")
|
|
186
|
+
|
|
187
|
+
@pg_allow_replication.setter
|
|
188
|
+
def pg_allow_replication(self, value: Optional[pulumi.Input[bool]]):
|
|
189
|
+
pulumi.set(self, "pg_allow_replication", value)
|
|
190
|
+
|
|
191
|
+
@property
|
|
192
|
+
@pulumi.getter
|
|
193
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
|
194
|
+
"""
|
|
195
|
+
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.
|
|
196
|
+
"""
|
|
197
|
+
return pulumi.get(self, "project")
|
|
198
|
+
|
|
199
|
+
@project.setter
|
|
200
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
|
201
|
+
pulumi.set(self, "project", value)
|
|
202
|
+
|
|
203
|
+
@property
|
|
204
|
+
@pulumi.getter(name="serviceName")
|
|
205
|
+
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
206
|
+
"""
|
|
207
|
+
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.
|
|
208
|
+
"""
|
|
209
|
+
return pulumi.get(self, "service_name")
|
|
210
|
+
|
|
211
|
+
@service_name.setter
|
|
212
|
+
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
213
|
+
pulumi.set(self, "service_name", value)
|
|
214
|
+
|
|
215
|
+
@property
|
|
216
|
+
@pulumi.getter
|
|
217
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
|
218
|
+
"""
|
|
219
|
+
The service user account type, either primary or regular.
|
|
220
|
+
"""
|
|
221
|
+
return pulumi.get(self, "type")
|
|
222
|
+
|
|
223
|
+
@type.setter
|
|
224
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
|
225
|
+
pulumi.set(self, "type", value)
|
|
226
|
+
|
|
227
|
+
@property
|
|
228
|
+
@pulumi.getter
|
|
229
|
+
def username(self) -> Optional[pulumi.Input[str]]:
|
|
230
|
+
"""
|
|
231
|
+
The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
232
|
+
"""
|
|
233
|
+
return pulumi.get(self, "username")
|
|
234
|
+
|
|
235
|
+
@username.setter
|
|
236
|
+
def username(self, value: Optional[pulumi.Input[str]]):
|
|
237
|
+
pulumi.set(self, "username", value)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
class AlloydbomniUser(pulumi.CustomResource):
|
|
241
|
+
@overload
|
|
242
|
+
def __init__(__self__,
|
|
243
|
+
resource_name: str,
|
|
244
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
245
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
246
|
+
pg_allow_replication: Optional[pulumi.Input[bool]] = None,
|
|
247
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
248
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
249
|
+
username: Optional[pulumi.Input[str]] = None,
|
|
250
|
+
__props__=None):
|
|
251
|
+
"""
|
|
252
|
+
Creates and manages an Aiven for AlloyDB Omni service user.
|
|
253
|
+
|
|
254
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
255
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
256
|
+
|
|
257
|
+
:param str resource_name: The name of the resource.
|
|
258
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
259
|
+
:param pulumi.Input[str] password: The password of the service user.
|
|
260
|
+
:param pulumi.Input[bool] pg_allow_replication: Allows replication. For the default avnadmin user this attribute is required and is always `true`.
|
|
261
|
+
: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.
|
|
262
|
+
: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.
|
|
263
|
+
:param pulumi.Input[str] username: The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
264
|
+
"""
|
|
265
|
+
...
|
|
266
|
+
@overload
|
|
267
|
+
def __init__(__self__,
|
|
268
|
+
resource_name: str,
|
|
269
|
+
args: AlloydbomniUserArgs,
|
|
270
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
271
|
+
"""
|
|
272
|
+
Creates and manages an Aiven for AlloyDB Omni service user.
|
|
273
|
+
|
|
274
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
275
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
276
|
+
|
|
277
|
+
:param str resource_name: The name of the resource.
|
|
278
|
+
:param AlloydbomniUserArgs args: The arguments to use to populate this resource's properties.
|
|
279
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
280
|
+
"""
|
|
281
|
+
...
|
|
282
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
283
|
+
resource_args, opts = _utilities.get_resource_args_opts(AlloydbomniUserArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
284
|
+
if resource_args is not None:
|
|
285
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
286
|
+
else:
|
|
287
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
288
|
+
|
|
289
|
+
def _internal_init(__self__,
|
|
290
|
+
resource_name: str,
|
|
291
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
292
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
293
|
+
pg_allow_replication: Optional[pulumi.Input[bool]] = None,
|
|
294
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
295
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
296
|
+
username: Optional[pulumi.Input[str]] = None,
|
|
297
|
+
__props__=None):
|
|
298
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
299
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
300
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
301
|
+
if opts.id is None:
|
|
302
|
+
if __props__ is not None:
|
|
303
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
304
|
+
__props__ = AlloydbomniUserArgs.__new__(AlloydbomniUserArgs)
|
|
305
|
+
|
|
306
|
+
__props__.__dict__["password"] = None if password is None else pulumi.Output.secret(password)
|
|
307
|
+
__props__.__dict__["pg_allow_replication"] = pg_allow_replication
|
|
308
|
+
if project is None and not opts.urn:
|
|
309
|
+
raise TypeError("Missing required property 'project'")
|
|
310
|
+
__props__.__dict__["project"] = project
|
|
311
|
+
if service_name is None and not opts.urn:
|
|
312
|
+
raise TypeError("Missing required property 'service_name'")
|
|
313
|
+
__props__.__dict__["service_name"] = service_name
|
|
314
|
+
if username is None and not opts.urn:
|
|
315
|
+
raise TypeError("Missing required property 'username'")
|
|
316
|
+
__props__.__dict__["username"] = username
|
|
317
|
+
__props__.__dict__["access_cert"] = None
|
|
318
|
+
__props__.__dict__["access_key"] = None
|
|
319
|
+
__props__.__dict__["type"] = None
|
|
320
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["accessCert", "accessKey", "password"])
|
|
321
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
322
|
+
super(AlloydbomniUser, __self__).__init__(
|
|
323
|
+
'aiven:index/alloydbomniUser:AlloydbomniUser',
|
|
324
|
+
resource_name,
|
|
325
|
+
__props__,
|
|
326
|
+
opts)
|
|
327
|
+
|
|
328
|
+
@staticmethod
|
|
329
|
+
def get(resource_name: str,
|
|
330
|
+
id: pulumi.Input[str],
|
|
331
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
332
|
+
access_cert: Optional[pulumi.Input[str]] = None,
|
|
333
|
+
access_key: Optional[pulumi.Input[str]] = None,
|
|
334
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
335
|
+
pg_allow_replication: Optional[pulumi.Input[bool]] = None,
|
|
336
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
337
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
338
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
339
|
+
username: Optional[pulumi.Input[str]] = None) -> 'AlloydbomniUser':
|
|
340
|
+
"""
|
|
341
|
+
Get an existing AlloydbomniUser resource's state with the given name, id, and optional extra
|
|
342
|
+
properties used to qualify the lookup.
|
|
343
|
+
|
|
344
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
345
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
346
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
347
|
+
:param pulumi.Input[str] access_cert: The access certificate for the servie user.
|
|
348
|
+
:param pulumi.Input[str] access_key: The access certificate key for the service user.
|
|
349
|
+
:param pulumi.Input[str] password: The password of the service user.
|
|
350
|
+
:param pulumi.Input[bool] pg_allow_replication: Allows replication. For the default avnadmin user this attribute is required and is always `true`.
|
|
351
|
+
: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.
|
|
352
|
+
: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.
|
|
353
|
+
:param pulumi.Input[str] type: The service user account type, either primary or regular.
|
|
354
|
+
:param pulumi.Input[str] username: The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
355
|
+
"""
|
|
356
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
357
|
+
|
|
358
|
+
__props__ = _AlloydbomniUserState.__new__(_AlloydbomniUserState)
|
|
359
|
+
|
|
360
|
+
__props__.__dict__["access_cert"] = access_cert
|
|
361
|
+
__props__.__dict__["access_key"] = access_key
|
|
362
|
+
__props__.__dict__["password"] = password
|
|
363
|
+
__props__.__dict__["pg_allow_replication"] = pg_allow_replication
|
|
364
|
+
__props__.__dict__["project"] = project
|
|
365
|
+
__props__.__dict__["service_name"] = service_name
|
|
366
|
+
__props__.__dict__["type"] = type
|
|
367
|
+
__props__.__dict__["username"] = username
|
|
368
|
+
return AlloydbomniUser(resource_name, opts=opts, __props__=__props__)
|
|
369
|
+
|
|
370
|
+
@property
|
|
371
|
+
@pulumi.getter(name="accessCert")
|
|
372
|
+
def access_cert(self) -> pulumi.Output[str]:
|
|
373
|
+
"""
|
|
374
|
+
The access certificate for the servie user.
|
|
375
|
+
"""
|
|
376
|
+
return pulumi.get(self, "access_cert")
|
|
377
|
+
|
|
378
|
+
@property
|
|
379
|
+
@pulumi.getter(name="accessKey")
|
|
380
|
+
def access_key(self) -> pulumi.Output[str]:
|
|
381
|
+
"""
|
|
382
|
+
The access certificate key for the service user.
|
|
383
|
+
"""
|
|
384
|
+
return pulumi.get(self, "access_key")
|
|
385
|
+
|
|
386
|
+
@property
|
|
387
|
+
@pulumi.getter
|
|
388
|
+
def password(self) -> pulumi.Output[str]:
|
|
389
|
+
"""
|
|
390
|
+
The password of the service user.
|
|
391
|
+
"""
|
|
392
|
+
return pulumi.get(self, "password")
|
|
393
|
+
|
|
394
|
+
@property
|
|
395
|
+
@pulumi.getter(name="pgAllowReplication")
|
|
396
|
+
def pg_allow_replication(self) -> pulumi.Output[Optional[bool]]:
|
|
397
|
+
"""
|
|
398
|
+
Allows replication. For the default avnadmin user this attribute is required and is always `true`.
|
|
399
|
+
"""
|
|
400
|
+
return pulumi.get(self, "pg_allow_replication")
|
|
401
|
+
|
|
402
|
+
@property
|
|
403
|
+
@pulumi.getter
|
|
404
|
+
def project(self) -> pulumi.Output[str]:
|
|
405
|
+
"""
|
|
406
|
+
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.
|
|
407
|
+
"""
|
|
408
|
+
return pulumi.get(self, "project")
|
|
409
|
+
|
|
410
|
+
@property
|
|
411
|
+
@pulumi.getter(name="serviceName")
|
|
412
|
+
def service_name(self) -> pulumi.Output[str]:
|
|
413
|
+
"""
|
|
414
|
+
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.
|
|
415
|
+
"""
|
|
416
|
+
return pulumi.get(self, "service_name")
|
|
417
|
+
|
|
418
|
+
@property
|
|
419
|
+
@pulumi.getter
|
|
420
|
+
def type(self) -> pulumi.Output[str]:
|
|
421
|
+
"""
|
|
422
|
+
The service user account type, either primary or regular.
|
|
423
|
+
"""
|
|
424
|
+
return pulumi.get(self, "type")
|
|
425
|
+
|
|
426
|
+
@property
|
|
427
|
+
@pulumi.getter
|
|
428
|
+
def username(self) -> pulumi.Output[str]:
|
|
429
|
+
"""
|
|
430
|
+
The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
431
|
+
"""
|
|
432
|
+
return pulumi.get(self, "username")
|
|
433
|
+
|