pulumi-aiven 6.30.0a1734498430__py3-none-any.whl → 6.30.0a1734637105__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 +30 -0
- pulumi_aiven/_inputs.py +2961 -67
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/clickhouse.py +8 -8
- pulumi_aiven/get_account_team_project.py +1 -1
- 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_clickhouse.py +1 -1
- pulumi_aiven/get_external_identity.py +3 -3
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_service_integration.py +32 -4
- pulumi_aiven/kafka_acl.py +6 -4
- pulumi_aiven/kafka_native_acl.py +98 -44
- pulumi_aiven/organization_group_project.py +7 -7
- pulumi_aiven/organization_permission.py +56 -6
- pulumi_aiven/outputs.py +20185 -16451
- pulumi_aiven/project_user.py +7 -7
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/service_integration.py +98 -4
- {pulumi_aiven-6.30.0a1734498430.dist-info → pulumi_aiven-6.30.0a1734637105.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.30.0a1734498430.dist-info → pulumi_aiven-6.30.0a1734637105.dist-info}/RECORD +27 -21
- {pulumi_aiven-6.30.0a1734498430.dist-info → pulumi_aiven-6.30.0a1734637105.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.30.0a1734498430.dist-info → pulumi_aiven-6.30.0a1734637105.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
|
+
|
pulumi_aiven/clickhouse.py
CHANGED
|
@@ -50,7 +50,7 @@ class ClickhouseArgs:
|
|
|
50
50
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
51
51
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
52
52
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations:
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
54
54
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
55
55
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
56
56
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
@@ -226,7 +226,7 @@ class ClickhouseArgs:
|
|
|
226
226
|
@pulumi.getter(name="serviceIntegrations")
|
|
227
227
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]]]:
|
|
228
228
|
"""
|
|
229
|
-
|
|
229
|
+
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
230
230
|
"""
|
|
231
231
|
return pulumi.get(self, "service_integrations")
|
|
232
232
|
|
|
@@ -332,7 +332,7 @@ class _ClickhouseState:
|
|
|
332
332
|
: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.
|
|
333
333
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
334
334
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
335
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations:
|
|
335
|
+
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
336
336
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
337
337
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
338
338
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -606,7 +606,7 @@ class _ClickhouseState:
|
|
|
606
606
|
@pulumi.getter(name="serviceIntegrations")
|
|
607
607
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]]]:
|
|
608
608
|
"""
|
|
609
|
-
|
|
609
|
+
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
610
610
|
"""
|
|
611
611
|
return pulumi.get(self, "service_integrations")
|
|
612
612
|
|
|
@@ -805,7 +805,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
805
805
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
806
806
|
: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.
|
|
807
807
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
808
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]] service_integrations:
|
|
808
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
809
809
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
810
810
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
811
811
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseTagArgs', 'ClickhouseTagArgsDict']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
@@ -979,7 +979,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
979
979
|
: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.
|
|
980
980
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
981
981
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
982
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]] service_integrations:
|
|
982
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ClickhouseServiceIntegrationArgs', 'ClickhouseServiceIntegrationArgsDict']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
983
983
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
984
984
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
985
985
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -1158,9 +1158,9 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1158
1158
|
|
|
1159
1159
|
@property
|
|
1160
1160
|
@pulumi.getter(name="serviceIntegrations")
|
|
1161
|
-
def service_integrations(self) -> pulumi.Output[
|
|
1161
|
+
def service_integrations(self) -> pulumi.Output[Sequence['outputs.ClickhouseServiceIntegration']]:
|
|
1162
1162
|
"""
|
|
1163
|
-
|
|
1163
|
+
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
1164
1164
|
"""
|
|
1165
1165
|
return pulumi.get(self, "service_integrations")
|
|
1166
1166
|
|
|
@@ -79,7 +79,7 @@ class GetAccountTeamProjectResult:
|
|
|
79
79
|
@pulumi.getter(name="teamType")
|
|
80
80
|
def team_type(self) -> str:
|
|
81
81
|
"""
|
|
82
|
-
The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `
|
|
82
|
+
The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `service:configuration:write`, `service:logs:read`, `project:services:read`, `project:services:write`, `project:audit_logs:read`, `service:data:write`, `service:secrets:read`, `service:users:write`, `role:services:maintenance`, `role:services:recover`, `organization:audit_logs:read`, `organization:users:write`, `organization:app_users:write`, `organization:groups:write`, `organization:idps:write`, `organization:domains:write` and `role:organization:admin`.
|
|
83
83
|
"""
|
|
84
84
|
return pulumi.get(self, "team_type")
|
|
85
85
|
|