pulumi-aiven 6.33.0a1738213611__py3-none-any.whl → 6.34.0a1738300020__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 +27 -0
- pulumi_aiven/_inputs.py +677 -21
- pulumi_aiven/account_team_project.py +7 -7
- pulumi_aiven/connection_pool.py +7 -7
- pulumi_aiven/flink_application.py +2 -2
- pulumi_aiven/flink_application_deployment.py +2 -2
- pulumi_aiven/flink_jar_application.py +506 -0
- pulumi_aiven/flink_jar_application_deployment.py +808 -0
- pulumi_aiven/flink_jar_application_version.py +537 -0
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_connection_pool.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +6 -6
- pulumi_aiven/get_mirror_maker_replication_flow.py +13 -13
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search_acl_rule.py +3 -3
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_service_component.py +3 -3
- pulumi_aiven/get_service_integration_endpoint.py +1 -1
- pulumi_aiven/kafka_mirror_maker.py +10 -10
- pulumi_aiven/kafka_native_acl.py +7 -7
- pulumi_aiven/m3_db.py +14 -2
- pulumi_aiven/m3db_user.py +14 -2
- pulumi_aiven/mirror_maker_replication_flow.py +59 -59
- pulumi_aiven/mysql_user.py +7 -7
- pulumi_aiven/open_search_acl_rule.py +7 -7
- pulumi_aiven/organization_application_user_token.py +7 -7
- pulumi_aiven/organization_group_project.py +7 -7
- pulumi_aiven/organization_permission.py +7 -7
- pulumi_aiven/outputs.py +536 -26
- pulumi_aiven/project_user.py +7 -7
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/redis.py +18 -2
- pulumi_aiven/redis_user.py +18 -2
- pulumi_aiven/service_integration_endpoint.py +7 -7
- {pulumi_aiven-6.33.0a1738213611.dist-info → pulumi_aiven-6.34.0a1738300020.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.33.0a1738213611.dist-info → pulumi_aiven-6.34.0a1738300020.dist-info}/RECORD +38 -35
- {pulumi_aiven-6.33.0a1738213611.dist-info → pulumi_aiven-6.34.0a1738300020.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.33.0a1738213611.dist-info → pulumi_aiven-6.34.0a1738300020.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,537 @@
|
|
|
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
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['FlinkJarApplicationVersionArgs', 'FlinkJarApplicationVersion']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class FlinkJarApplicationVersionArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
application_id: pulumi.Input[str],
|
|
25
|
+
project: pulumi.Input[str],
|
|
26
|
+
service_name: pulumi.Input[str],
|
|
27
|
+
source: pulumi.Input[str]):
|
|
28
|
+
"""
|
|
29
|
+
The set of arguments for constructing a FlinkJarApplicationVersion resource.
|
|
30
|
+
:param pulumi.Input[str] application_id: Application Id. Changing this property forces recreation of the resource.
|
|
31
|
+
:param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
|
|
32
|
+
:param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
|
|
33
|
+
:param pulumi.Input[str] source: The path to the jar file to upload.
|
|
34
|
+
"""
|
|
35
|
+
pulumi.set(__self__, "application_id", application_id)
|
|
36
|
+
pulumi.set(__self__, "project", project)
|
|
37
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
38
|
+
pulumi.set(__self__, "source", source)
|
|
39
|
+
|
|
40
|
+
@property
|
|
41
|
+
@pulumi.getter(name="applicationId")
|
|
42
|
+
def application_id(self) -> pulumi.Input[str]:
|
|
43
|
+
"""
|
|
44
|
+
Application Id. Changing this property forces recreation of the resource.
|
|
45
|
+
"""
|
|
46
|
+
return pulumi.get(self, "application_id")
|
|
47
|
+
|
|
48
|
+
@application_id.setter
|
|
49
|
+
def application_id(self, value: pulumi.Input[str]):
|
|
50
|
+
pulumi.set(self, "application_id", value)
|
|
51
|
+
|
|
52
|
+
@property
|
|
53
|
+
@pulumi.getter
|
|
54
|
+
def project(self) -> pulumi.Input[str]:
|
|
55
|
+
"""
|
|
56
|
+
Project name. Changing this property forces recreation of the resource.
|
|
57
|
+
"""
|
|
58
|
+
return pulumi.get(self, "project")
|
|
59
|
+
|
|
60
|
+
@project.setter
|
|
61
|
+
def project(self, value: pulumi.Input[str]):
|
|
62
|
+
pulumi.set(self, "project", value)
|
|
63
|
+
|
|
64
|
+
@property
|
|
65
|
+
@pulumi.getter(name="serviceName")
|
|
66
|
+
def service_name(self) -> pulumi.Input[str]:
|
|
67
|
+
"""
|
|
68
|
+
Service name. Changing this property forces recreation of the resource.
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "service_name")
|
|
71
|
+
|
|
72
|
+
@service_name.setter
|
|
73
|
+
def service_name(self, value: pulumi.Input[str]):
|
|
74
|
+
pulumi.set(self, "service_name", value)
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
@pulumi.getter
|
|
78
|
+
def source(self) -> pulumi.Input[str]:
|
|
79
|
+
"""
|
|
80
|
+
The path to the jar file to upload.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "source")
|
|
83
|
+
|
|
84
|
+
@source.setter
|
|
85
|
+
def source(self, value: pulumi.Input[str]):
|
|
86
|
+
pulumi.set(self, "source", value)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
@pulumi.input_type
|
|
90
|
+
class _FlinkJarApplicationVersionState:
|
|
91
|
+
def __init__(__self__, *,
|
|
92
|
+
application_id: Optional[pulumi.Input[str]] = None,
|
|
93
|
+
application_version_id: Optional[pulumi.Input[str]] = None,
|
|
94
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
created_by: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
file_infos: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationVersionFileInfoArgs']]]] = None,
|
|
97
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
99
|
+
source: Optional[pulumi.Input[str]] = None,
|
|
100
|
+
source_checksum: Optional[pulumi.Input[str]] = None,
|
|
101
|
+
version: Optional[pulumi.Input[int]] = None):
|
|
102
|
+
"""
|
|
103
|
+
Input properties used for looking up and filtering FlinkJarApplicationVersion resources.
|
|
104
|
+
:param pulumi.Input[str] application_id: Application Id. Changing this property forces recreation of the resource.
|
|
105
|
+
:param pulumi.Input[str] application_version_id: ApplicationVersion ID.
|
|
106
|
+
:param pulumi.Input[str] created_at: The creation timestamp of this entity in ISO 8601 format, always in UTC.
|
|
107
|
+
:param pulumi.Input[str] created_by: The creator of this entity.
|
|
108
|
+
:param pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationVersionFileInfoArgs']]] file_infos: Flink JarApplicationVersion FileInfo.
|
|
109
|
+
:param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
|
|
110
|
+
:param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
|
|
111
|
+
:param pulumi.Input[str] source: The path to the jar file to upload.
|
|
112
|
+
:param pulumi.Input[str] source_checksum: The sha256 checksum of the jar file to upload.
|
|
113
|
+
:param pulumi.Input[int] version: Version number.
|
|
114
|
+
"""
|
|
115
|
+
if application_id is not None:
|
|
116
|
+
pulumi.set(__self__, "application_id", application_id)
|
|
117
|
+
if application_version_id is not None:
|
|
118
|
+
pulumi.set(__self__, "application_version_id", application_version_id)
|
|
119
|
+
if created_at is not None:
|
|
120
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
121
|
+
if created_by is not None:
|
|
122
|
+
pulumi.set(__self__, "created_by", created_by)
|
|
123
|
+
if file_infos is not None:
|
|
124
|
+
pulumi.set(__self__, "file_infos", file_infos)
|
|
125
|
+
if project is not None:
|
|
126
|
+
pulumi.set(__self__, "project", project)
|
|
127
|
+
if service_name is not None:
|
|
128
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
129
|
+
if source is not None:
|
|
130
|
+
pulumi.set(__self__, "source", source)
|
|
131
|
+
if source_checksum is not None:
|
|
132
|
+
pulumi.set(__self__, "source_checksum", source_checksum)
|
|
133
|
+
if version is not None:
|
|
134
|
+
pulumi.set(__self__, "version", version)
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
@pulumi.getter(name="applicationId")
|
|
138
|
+
def application_id(self) -> Optional[pulumi.Input[str]]:
|
|
139
|
+
"""
|
|
140
|
+
Application Id. Changing this property forces recreation of the resource.
|
|
141
|
+
"""
|
|
142
|
+
return pulumi.get(self, "application_id")
|
|
143
|
+
|
|
144
|
+
@application_id.setter
|
|
145
|
+
def application_id(self, value: Optional[pulumi.Input[str]]):
|
|
146
|
+
pulumi.set(self, "application_id", value)
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
@pulumi.getter(name="applicationVersionId")
|
|
150
|
+
def application_version_id(self) -> Optional[pulumi.Input[str]]:
|
|
151
|
+
"""
|
|
152
|
+
ApplicationVersion ID.
|
|
153
|
+
"""
|
|
154
|
+
return pulumi.get(self, "application_version_id")
|
|
155
|
+
|
|
156
|
+
@application_version_id.setter
|
|
157
|
+
def application_version_id(self, value: Optional[pulumi.Input[str]]):
|
|
158
|
+
pulumi.set(self, "application_version_id", value)
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
@pulumi.getter(name="createdAt")
|
|
162
|
+
def created_at(self) -> Optional[pulumi.Input[str]]:
|
|
163
|
+
"""
|
|
164
|
+
The creation timestamp of this entity in ISO 8601 format, always in UTC.
|
|
165
|
+
"""
|
|
166
|
+
return pulumi.get(self, "created_at")
|
|
167
|
+
|
|
168
|
+
@created_at.setter
|
|
169
|
+
def created_at(self, value: Optional[pulumi.Input[str]]):
|
|
170
|
+
pulumi.set(self, "created_at", value)
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
@pulumi.getter(name="createdBy")
|
|
174
|
+
def created_by(self) -> Optional[pulumi.Input[str]]:
|
|
175
|
+
"""
|
|
176
|
+
The creator of this entity.
|
|
177
|
+
"""
|
|
178
|
+
return pulumi.get(self, "created_by")
|
|
179
|
+
|
|
180
|
+
@created_by.setter
|
|
181
|
+
def created_by(self, value: Optional[pulumi.Input[str]]):
|
|
182
|
+
pulumi.set(self, "created_by", value)
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
@pulumi.getter(name="fileInfos")
|
|
186
|
+
def file_infos(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationVersionFileInfoArgs']]]]:
|
|
187
|
+
"""
|
|
188
|
+
Flink JarApplicationVersion FileInfo.
|
|
189
|
+
"""
|
|
190
|
+
return pulumi.get(self, "file_infos")
|
|
191
|
+
|
|
192
|
+
@file_infos.setter
|
|
193
|
+
def file_infos(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationVersionFileInfoArgs']]]]):
|
|
194
|
+
pulumi.set(self, "file_infos", value)
|
|
195
|
+
|
|
196
|
+
@property
|
|
197
|
+
@pulumi.getter
|
|
198
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
|
199
|
+
"""
|
|
200
|
+
Project name. Changing this property forces recreation of the resource.
|
|
201
|
+
"""
|
|
202
|
+
return pulumi.get(self, "project")
|
|
203
|
+
|
|
204
|
+
@project.setter
|
|
205
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
|
206
|
+
pulumi.set(self, "project", value)
|
|
207
|
+
|
|
208
|
+
@property
|
|
209
|
+
@pulumi.getter(name="serviceName")
|
|
210
|
+
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
211
|
+
"""
|
|
212
|
+
Service name. Changing this property forces recreation of the resource.
|
|
213
|
+
"""
|
|
214
|
+
return pulumi.get(self, "service_name")
|
|
215
|
+
|
|
216
|
+
@service_name.setter
|
|
217
|
+
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
218
|
+
pulumi.set(self, "service_name", value)
|
|
219
|
+
|
|
220
|
+
@property
|
|
221
|
+
@pulumi.getter
|
|
222
|
+
def source(self) -> Optional[pulumi.Input[str]]:
|
|
223
|
+
"""
|
|
224
|
+
The path to the jar file to upload.
|
|
225
|
+
"""
|
|
226
|
+
return pulumi.get(self, "source")
|
|
227
|
+
|
|
228
|
+
@source.setter
|
|
229
|
+
def source(self, value: Optional[pulumi.Input[str]]):
|
|
230
|
+
pulumi.set(self, "source", value)
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
@pulumi.getter(name="sourceChecksum")
|
|
234
|
+
def source_checksum(self) -> Optional[pulumi.Input[str]]:
|
|
235
|
+
"""
|
|
236
|
+
The sha256 checksum of the jar file to upload.
|
|
237
|
+
"""
|
|
238
|
+
return pulumi.get(self, "source_checksum")
|
|
239
|
+
|
|
240
|
+
@source_checksum.setter
|
|
241
|
+
def source_checksum(self, value: Optional[pulumi.Input[str]]):
|
|
242
|
+
pulumi.set(self, "source_checksum", value)
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
@pulumi.getter
|
|
246
|
+
def version(self) -> Optional[pulumi.Input[int]]:
|
|
247
|
+
"""
|
|
248
|
+
Version number.
|
|
249
|
+
"""
|
|
250
|
+
return pulumi.get(self, "version")
|
|
251
|
+
|
|
252
|
+
@version.setter
|
|
253
|
+
def version(self, value: Optional[pulumi.Input[int]]):
|
|
254
|
+
pulumi.set(self, "version", value)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
class FlinkJarApplicationVersion(pulumi.CustomResource):
|
|
258
|
+
@overload
|
|
259
|
+
def __init__(__self__,
|
|
260
|
+
resource_name: str,
|
|
261
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
262
|
+
application_id: Optional[pulumi.Input[str]] = None,
|
|
263
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
264
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
265
|
+
source: Optional[pulumi.Input[str]] = None,
|
|
266
|
+
__props__=None):
|
|
267
|
+
"""
|
|
268
|
+
Creates and manages an Aiven for Apache Flink® jar application version.
|
|
269
|
+
|
|
270
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
271
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
272
|
+
|
|
273
|
+
## Example Usage
|
|
274
|
+
|
|
275
|
+
```python
|
|
276
|
+
import pulumi
|
|
277
|
+
import pulumi_aiven as aiven
|
|
278
|
+
|
|
279
|
+
example = aiven.Flink("example",
|
|
280
|
+
project=example_aiven_project["project"],
|
|
281
|
+
service_name="example-flink-service",
|
|
282
|
+
cloud_name="google-europe-west1",
|
|
283
|
+
plan="business-4",
|
|
284
|
+
maintenance_window_dow="monday",
|
|
285
|
+
maintenance_window_time="04:00:00",
|
|
286
|
+
flink_user_config={
|
|
287
|
+
"custom_code": True,
|
|
288
|
+
})
|
|
289
|
+
example_flink_jar_application = aiven.FlinkJarApplication("example",
|
|
290
|
+
project=example.project,
|
|
291
|
+
service_name=example.service_name,
|
|
292
|
+
name="example-app-jar")
|
|
293
|
+
example_flink_jar_application_version = aiven.FlinkJarApplicationVersion("example",
|
|
294
|
+
project=example.project,
|
|
295
|
+
service_name=example.service_name,
|
|
296
|
+
application_id=example_flink_jar_application.application_id,
|
|
297
|
+
source="./example.jar")
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
## Import
|
|
301
|
+
|
|
302
|
+
```sh
|
|
303
|
+
$ pulumi import aiven:index/flinkJarApplicationVersion:FlinkJarApplicationVersion example PROJECT/SERVICE_NAME/APPLICATION_ID/APPLICATION_VERSION_ID
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
:param str resource_name: The name of the resource.
|
|
307
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
308
|
+
:param pulumi.Input[str] application_id: Application Id. Changing this property forces recreation of the resource.
|
|
309
|
+
:param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
|
|
310
|
+
:param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
|
|
311
|
+
:param pulumi.Input[str] source: The path to the jar file to upload.
|
|
312
|
+
"""
|
|
313
|
+
...
|
|
314
|
+
@overload
|
|
315
|
+
def __init__(__self__,
|
|
316
|
+
resource_name: str,
|
|
317
|
+
args: FlinkJarApplicationVersionArgs,
|
|
318
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
319
|
+
"""
|
|
320
|
+
Creates and manages an Aiven for Apache Flink® jar application version.
|
|
321
|
+
|
|
322
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
323
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
324
|
+
|
|
325
|
+
## Example Usage
|
|
326
|
+
|
|
327
|
+
```python
|
|
328
|
+
import pulumi
|
|
329
|
+
import pulumi_aiven as aiven
|
|
330
|
+
|
|
331
|
+
example = aiven.Flink("example",
|
|
332
|
+
project=example_aiven_project["project"],
|
|
333
|
+
service_name="example-flink-service",
|
|
334
|
+
cloud_name="google-europe-west1",
|
|
335
|
+
plan="business-4",
|
|
336
|
+
maintenance_window_dow="monday",
|
|
337
|
+
maintenance_window_time="04:00:00",
|
|
338
|
+
flink_user_config={
|
|
339
|
+
"custom_code": True,
|
|
340
|
+
})
|
|
341
|
+
example_flink_jar_application = aiven.FlinkJarApplication("example",
|
|
342
|
+
project=example.project,
|
|
343
|
+
service_name=example.service_name,
|
|
344
|
+
name="example-app-jar")
|
|
345
|
+
example_flink_jar_application_version = aiven.FlinkJarApplicationVersion("example",
|
|
346
|
+
project=example.project,
|
|
347
|
+
service_name=example.service_name,
|
|
348
|
+
application_id=example_flink_jar_application.application_id,
|
|
349
|
+
source="./example.jar")
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
## Import
|
|
353
|
+
|
|
354
|
+
```sh
|
|
355
|
+
$ pulumi import aiven:index/flinkJarApplicationVersion:FlinkJarApplicationVersion example PROJECT/SERVICE_NAME/APPLICATION_ID/APPLICATION_VERSION_ID
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
:param str resource_name: The name of the resource.
|
|
359
|
+
:param FlinkJarApplicationVersionArgs args: The arguments to use to populate this resource's properties.
|
|
360
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
361
|
+
"""
|
|
362
|
+
...
|
|
363
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
364
|
+
resource_args, opts = _utilities.get_resource_args_opts(FlinkJarApplicationVersionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
365
|
+
if resource_args is not None:
|
|
366
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
367
|
+
else:
|
|
368
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
369
|
+
|
|
370
|
+
def _internal_init(__self__,
|
|
371
|
+
resource_name: str,
|
|
372
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
373
|
+
application_id: Optional[pulumi.Input[str]] = None,
|
|
374
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
375
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
376
|
+
source: Optional[pulumi.Input[str]] = None,
|
|
377
|
+
__props__=None):
|
|
378
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
379
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
380
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
381
|
+
if opts.id is None:
|
|
382
|
+
if __props__ is not None:
|
|
383
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
384
|
+
__props__ = FlinkJarApplicationVersionArgs.__new__(FlinkJarApplicationVersionArgs)
|
|
385
|
+
|
|
386
|
+
if application_id is None and not opts.urn:
|
|
387
|
+
raise TypeError("Missing required property 'application_id'")
|
|
388
|
+
__props__.__dict__["application_id"] = application_id
|
|
389
|
+
if project is None and not opts.urn:
|
|
390
|
+
raise TypeError("Missing required property 'project'")
|
|
391
|
+
__props__.__dict__["project"] = project
|
|
392
|
+
if service_name is None and not opts.urn:
|
|
393
|
+
raise TypeError("Missing required property 'service_name'")
|
|
394
|
+
__props__.__dict__["service_name"] = service_name
|
|
395
|
+
if source is None and not opts.urn:
|
|
396
|
+
raise TypeError("Missing required property 'source'")
|
|
397
|
+
__props__.__dict__["source"] = source
|
|
398
|
+
__props__.__dict__["application_version_id"] = None
|
|
399
|
+
__props__.__dict__["created_at"] = None
|
|
400
|
+
__props__.__dict__["created_by"] = None
|
|
401
|
+
__props__.__dict__["file_infos"] = None
|
|
402
|
+
__props__.__dict__["source_checksum"] = None
|
|
403
|
+
__props__.__dict__["version"] = None
|
|
404
|
+
super(FlinkJarApplicationVersion, __self__).__init__(
|
|
405
|
+
'aiven:index/flinkJarApplicationVersion:FlinkJarApplicationVersion',
|
|
406
|
+
resource_name,
|
|
407
|
+
__props__,
|
|
408
|
+
opts)
|
|
409
|
+
|
|
410
|
+
@staticmethod
|
|
411
|
+
def get(resource_name: str,
|
|
412
|
+
id: pulumi.Input[str],
|
|
413
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
414
|
+
application_id: Optional[pulumi.Input[str]] = None,
|
|
415
|
+
application_version_id: Optional[pulumi.Input[str]] = None,
|
|
416
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
|
417
|
+
created_by: Optional[pulumi.Input[str]] = None,
|
|
418
|
+
file_infos: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkJarApplicationVersionFileInfoArgs', 'FlinkJarApplicationVersionFileInfoArgsDict']]]]] = None,
|
|
419
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
420
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
421
|
+
source: Optional[pulumi.Input[str]] = None,
|
|
422
|
+
source_checksum: Optional[pulumi.Input[str]] = None,
|
|
423
|
+
version: Optional[pulumi.Input[int]] = None) -> 'FlinkJarApplicationVersion':
|
|
424
|
+
"""
|
|
425
|
+
Get an existing FlinkJarApplicationVersion resource's state with the given name, id, and optional extra
|
|
426
|
+
properties used to qualify the lookup.
|
|
427
|
+
|
|
428
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
429
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
430
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
431
|
+
:param pulumi.Input[str] application_id: Application Id. Changing this property forces recreation of the resource.
|
|
432
|
+
:param pulumi.Input[str] application_version_id: ApplicationVersion ID.
|
|
433
|
+
:param pulumi.Input[str] created_at: The creation timestamp of this entity in ISO 8601 format, always in UTC.
|
|
434
|
+
:param pulumi.Input[str] created_by: The creator of this entity.
|
|
435
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkJarApplicationVersionFileInfoArgs', 'FlinkJarApplicationVersionFileInfoArgsDict']]]] file_infos: Flink JarApplicationVersion FileInfo.
|
|
436
|
+
:param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
|
|
437
|
+
:param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
|
|
438
|
+
:param pulumi.Input[str] source: The path to the jar file to upload.
|
|
439
|
+
:param pulumi.Input[str] source_checksum: The sha256 checksum of the jar file to upload.
|
|
440
|
+
:param pulumi.Input[int] version: Version number.
|
|
441
|
+
"""
|
|
442
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
443
|
+
|
|
444
|
+
__props__ = _FlinkJarApplicationVersionState.__new__(_FlinkJarApplicationVersionState)
|
|
445
|
+
|
|
446
|
+
__props__.__dict__["application_id"] = application_id
|
|
447
|
+
__props__.__dict__["application_version_id"] = application_version_id
|
|
448
|
+
__props__.__dict__["created_at"] = created_at
|
|
449
|
+
__props__.__dict__["created_by"] = created_by
|
|
450
|
+
__props__.__dict__["file_infos"] = file_infos
|
|
451
|
+
__props__.__dict__["project"] = project
|
|
452
|
+
__props__.__dict__["service_name"] = service_name
|
|
453
|
+
__props__.__dict__["source"] = source
|
|
454
|
+
__props__.__dict__["source_checksum"] = source_checksum
|
|
455
|
+
__props__.__dict__["version"] = version
|
|
456
|
+
return FlinkJarApplicationVersion(resource_name, opts=opts, __props__=__props__)
|
|
457
|
+
|
|
458
|
+
@property
|
|
459
|
+
@pulumi.getter(name="applicationId")
|
|
460
|
+
def application_id(self) -> pulumi.Output[str]:
|
|
461
|
+
"""
|
|
462
|
+
Application Id. Changing this property forces recreation of the resource.
|
|
463
|
+
"""
|
|
464
|
+
return pulumi.get(self, "application_id")
|
|
465
|
+
|
|
466
|
+
@property
|
|
467
|
+
@pulumi.getter(name="applicationVersionId")
|
|
468
|
+
def application_version_id(self) -> pulumi.Output[str]:
|
|
469
|
+
"""
|
|
470
|
+
ApplicationVersion ID.
|
|
471
|
+
"""
|
|
472
|
+
return pulumi.get(self, "application_version_id")
|
|
473
|
+
|
|
474
|
+
@property
|
|
475
|
+
@pulumi.getter(name="createdAt")
|
|
476
|
+
def created_at(self) -> pulumi.Output[str]:
|
|
477
|
+
"""
|
|
478
|
+
The creation timestamp of this entity in ISO 8601 format, always in UTC.
|
|
479
|
+
"""
|
|
480
|
+
return pulumi.get(self, "created_at")
|
|
481
|
+
|
|
482
|
+
@property
|
|
483
|
+
@pulumi.getter(name="createdBy")
|
|
484
|
+
def created_by(self) -> pulumi.Output[str]:
|
|
485
|
+
"""
|
|
486
|
+
The creator of this entity.
|
|
487
|
+
"""
|
|
488
|
+
return pulumi.get(self, "created_by")
|
|
489
|
+
|
|
490
|
+
@property
|
|
491
|
+
@pulumi.getter(name="fileInfos")
|
|
492
|
+
def file_infos(self) -> pulumi.Output[Sequence['outputs.FlinkJarApplicationVersionFileInfo']]:
|
|
493
|
+
"""
|
|
494
|
+
Flink JarApplicationVersion FileInfo.
|
|
495
|
+
"""
|
|
496
|
+
return pulumi.get(self, "file_infos")
|
|
497
|
+
|
|
498
|
+
@property
|
|
499
|
+
@pulumi.getter
|
|
500
|
+
def project(self) -> pulumi.Output[str]:
|
|
501
|
+
"""
|
|
502
|
+
Project name. Changing this property forces recreation of the resource.
|
|
503
|
+
"""
|
|
504
|
+
return pulumi.get(self, "project")
|
|
505
|
+
|
|
506
|
+
@property
|
|
507
|
+
@pulumi.getter(name="serviceName")
|
|
508
|
+
def service_name(self) -> pulumi.Output[str]:
|
|
509
|
+
"""
|
|
510
|
+
Service name. Changing this property forces recreation of the resource.
|
|
511
|
+
"""
|
|
512
|
+
return pulumi.get(self, "service_name")
|
|
513
|
+
|
|
514
|
+
@property
|
|
515
|
+
@pulumi.getter
|
|
516
|
+
def source(self) -> pulumi.Output[str]:
|
|
517
|
+
"""
|
|
518
|
+
The path to the jar file to upload.
|
|
519
|
+
"""
|
|
520
|
+
return pulumi.get(self, "source")
|
|
521
|
+
|
|
522
|
+
@property
|
|
523
|
+
@pulumi.getter(name="sourceChecksum")
|
|
524
|
+
def source_checksum(self) -> pulumi.Output[str]:
|
|
525
|
+
"""
|
|
526
|
+
The sha256 checksum of the jar file to upload.
|
|
527
|
+
"""
|
|
528
|
+
return pulumi.get(self, "source_checksum")
|
|
529
|
+
|
|
530
|
+
@property
|
|
531
|
+
@pulumi.getter
|
|
532
|
+
def version(self) -> pulumi.Output[int]:
|
|
533
|
+
"""
|
|
534
|
+
Version number.
|
|
535
|
+
"""
|
|
536
|
+
return pulumi.get(self, "version")
|
|
537
|
+
|
|
@@ -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`, `
|
|
82
|
+
The Account team project type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
|
|
83
83
|
"""
|
|
84
84
|
return pulumi.get(self, "team_type")
|
|
85
85
|
|
|
@@ -83,7 +83,7 @@ class GetConnectionPoolResult:
|
|
|
83
83
|
@pulumi.getter(name="poolMode")
|
|
84
84
|
def pool_mode(self) -> str:
|
|
85
85
|
"""
|
|
86
|
-
The [operational mode](https://aiven.io/docs/products/postgresql/concepts/pg-connection-pooling#pooling-modes). The possible values are `session`, `
|
|
86
|
+
The [operational mode](https://aiven.io/docs/products/postgresql/concepts/pg-connection-pooling#pooling-modes). The possible values are `session`, `statement` and `transaction`. The default value is `transaction`.
|
|
87
87
|
"""
|
|
88
88
|
return pulumi.get(self, "pool_mode")
|
|
89
89
|
|
|
@@ -378,7 +378,7 @@ def get_kafka_mirror_maker(project: Optional[str] = None,
|
|
|
378
378
|
service_name: Optional[str] = None,
|
|
379
379
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaMirrorMakerResult:
|
|
380
380
|
"""
|
|
381
|
-
|
|
381
|
+
Gets information about an Aiven for Apache Kafka® MirrorMaker 2 service.
|
|
382
382
|
|
|
383
383
|
## Example Usage
|
|
384
384
|
|
|
@@ -386,8 +386,8 @@ def get_kafka_mirror_maker(project: Optional[str] = None,
|
|
|
386
386
|
import pulumi
|
|
387
387
|
import pulumi_aiven as aiven
|
|
388
388
|
|
|
389
|
-
|
|
390
|
-
service_name="
|
|
389
|
+
example_mirrormaker = aiven.get_kafka_mirror_maker(project=example_project["project"],
|
|
390
|
+
service_name="example-mirrormaker-service")
|
|
391
391
|
```
|
|
392
392
|
|
|
393
393
|
|
|
@@ -433,7 +433,7 @@ def get_kafka_mirror_maker_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
433
433
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
434
434
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaMirrorMakerResult]:
|
|
435
435
|
"""
|
|
436
|
-
|
|
436
|
+
Gets information about an Aiven for Apache Kafka® MirrorMaker 2 service.
|
|
437
437
|
|
|
438
438
|
## Example Usage
|
|
439
439
|
|
|
@@ -441,8 +441,8 @@ def get_kafka_mirror_maker_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
441
441
|
import pulumi
|
|
442
442
|
import pulumi_aiven as aiven
|
|
443
443
|
|
|
444
|
-
|
|
445
|
-
service_name="
|
|
444
|
+
example_mirrormaker = aiven.get_kafka_mirror_maker(project=example_project["project"],
|
|
445
|
+
service_name="example-mirrormaker-service")
|
|
446
446
|
```
|
|
447
447
|
|
|
448
448
|
|