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,506 @@
|
|
|
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__ = ['FlinkJarApplicationArgs', 'FlinkJarApplication']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class FlinkJarApplicationArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
project: pulumi.Input[str],
|
|
25
|
+
service_name: pulumi.Input[str],
|
|
26
|
+
name: Optional[pulumi.Input[str]] = None):
|
|
27
|
+
"""
|
|
28
|
+
The set of arguments for constructing a FlinkJarApplication resource.
|
|
29
|
+
:param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
|
|
30
|
+
:param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
|
|
31
|
+
:param pulumi.Input[str] name: Application name. Maximum length: `128`.
|
|
32
|
+
"""
|
|
33
|
+
pulumi.set(__self__, "project", project)
|
|
34
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
35
|
+
if name is not None:
|
|
36
|
+
pulumi.set(__self__, "name", name)
|
|
37
|
+
|
|
38
|
+
@property
|
|
39
|
+
@pulumi.getter
|
|
40
|
+
def project(self) -> pulumi.Input[str]:
|
|
41
|
+
"""
|
|
42
|
+
Project name. Changing this property forces recreation of the resource.
|
|
43
|
+
"""
|
|
44
|
+
return pulumi.get(self, "project")
|
|
45
|
+
|
|
46
|
+
@project.setter
|
|
47
|
+
def project(self, value: pulumi.Input[str]):
|
|
48
|
+
pulumi.set(self, "project", value)
|
|
49
|
+
|
|
50
|
+
@property
|
|
51
|
+
@pulumi.getter(name="serviceName")
|
|
52
|
+
def service_name(self) -> pulumi.Input[str]:
|
|
53
|
+
"""
|
|
54
|
+
Service name. Changing this property forces recreation of the resource.
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "service_name")
|
|
57
|
+
|
|
58
|
+
@service_name.setter
|
|
59
|
+
def service_name(self, value: pulumi.Input[str]):
|
|
60
|
+
pulumi.set(self, "service_name", value)
|
|
61
|
+
|
|
62
|
+
@property
|
|
63
|
+
@pulumi.getter
|
|
64
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
65
|
+
"""
|
|
66
|
+
Application name. Maximum length: `128`.
|
|
67
|
+
"""
|
|
68
|
+
return pulumi.get(self, "name")
|
|
69
|
+
|
|
70
|
+
@name.setter
|
|
71
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
72
|
+
pulumi.set(self, "name", value)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
@pulumi.input_type
|
|
76
|
+
class _FlinkJarApplicationState:
|
|
77
|
+
def __init__(__self__, *,
|
|
78
|
+
application_id: Optional[pulumi.Input[str]] = None,
|
|
79
|
+
application_versions: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationApplicationVersionArgs']]]] = None,
|
|
80
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
|
81
|
+
created_by: Optional[pulumi.Input[str]] = None,
|
|
82
|
+
current_deployments: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationCurrentDeploymentArgs']]]] = None,
|
|
83
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
84
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
85
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
86
|
+
updated_at: Optional[pulumi.Input[str]] = None,
|
|
87
|
+
updated_by: Optional[pulumi.Input[str]] = None):
|
|
88
|
+
"""
|
|
89
|
+
Input properties used for looking up and filtering FlinkJarApplication resources.
|
|
90
|
+
:param pulumi.Input[str] application_id: Application ID.
|
|
91
|
+
:param pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationApplicationVersionArgs']]] application_versions: JarApplicationVersions.
|
|
92
|
+
:param pulumi.Input[str] created_at: The creation timestamp of this entity in ISO 8601 format, always in UTC.
|
|
93
|
+
:param pulumi.Input[str] created_by: The creator of this entity.
|
|
94
|
+
:param pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationCurrentDeploymentArgs']]] current_deployments: Flink JarApplicationDeployment.
|
|
95
|
+
:param pulumi.Input[str] name: Application name. Maximum length: `128`.
|
|
96
|
+
:param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
|
|
97
|
+
:param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
|
|
98
|
+
:param pulumi.Input[str] updated_at: The update timestamp of this entity in ISO 8601 format, always in UTC.
|
|
99
|
+
:param pulumi.Input[str] updated_by: The latest updater of this entity.
|
|
100
|
+
"""
|
|
101
|
+
if application_id is not None:
|
|
102
|
+
pulumi.set(__self__, "application_id", application_id)
|
|
103
|
+
if application_versions is not None:
|
|
104
|
+
pulumi.set(__self__, "application_versions", application_versions)
|
|
105
|
+
if created_at is not None:
|
|
106
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
107
|
+
if created_by is not None:
|
|
108
|
+
pulumi.set(__self__, "created_by", created_by)
|
|
109
|
+
if current_deployments is not None:
|
|
110
|
+
pulumi.set(__self__, "current_deployments", current_deployments)
|
|
111
|
+
if name is not None:
|
|
112
|
+
pulumi.set(__self__, "name", name)
|
|
113
|
+
if project is not None:
|
|
114
|
+
pulumi.set(__self__, "project", project)
|
|
115
|
+
if service_name is not None:
|
|
116
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
117
|
+
if updated_at is not None:
|
|
118
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
119
|
+
if updated_by is not None:
|
|
120
|
+
pulumi.set(__self__, "updated_by", updated_by)
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
@pulumi.getter(name="applicationId")
|
|
124
|
+
def application_id(self) -> Optional[pulumi.Input[str]]:
|
|
125
|
+
"""
|
|
126
|
+
Application ID.
|
|
127
|
+
"""
|
|
128
|
+
return pulumi.get(self, "application_id")
|
|
129
|
+
|
|
130
|
+
@application_id.setter
|
|
131
|
+
def application_id(self, value: Optional[pulumi.Input[str]]):
|
|
132
|
+
pulumi.set(self, "application_id", value)
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
@pulumi.getter(name="applicationVersions")
|
|
136
|
+
def application_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationApplicationVersionArgs']]]]:
|
|
137
|
+
"""
|
|
138
|
+
JarApplicationVersions.
|
|
139
|
+
"""
|
|
140
|
+
return pulumi.get(self, "application_versions")
|
|
141
|
+
|
|
142
|
+
@application_versions.setter
|
|
143
|
+
def application_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationApplicationVersionArgs']]]]):
|
|
144
|
+
pulumi.set(self, "application_versions", value)
|
|
145
|
+
|
|
146
|
+
@property
|
|
147
|
+
@pulumi.getter(name="createdAt")
|
|
148
|
+
def created_at(self) -> Optional[pulumi.Input[str]]:
|
|
149
|
+
"""
|
|
150
|
+
The creation timestamp of this entity in ISO 8601 format, always in UTC.
|
|
151
|
+
"""
|
|
152
|
+
return pulumi.get(self, "created_at")
|
|
153
|
+
|
|
154
|
+
@created_at.setter
|
|
155
|
+
def created_at(self, value: Optional[pulumi.Input[str]]):
|
|
156
|
+
pulumi.set(self, "created_at", value)
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
@pulumi.getter(name="createdBy")
|
|
160
|
+
def created_by(self) -> Optional[pulumi.Input[str]]:
|
|
161
|
+
"""
|
|
162
|
+
The creator of this entity.
|
|
163
|
+
"""
|
|
164
|
+
return pulumi.get(self, "created_by")
|
|
165
|
+
|
|
166
|
+
@created_by.setter
|
|
167
|
+
def created_by(self, value: Optional[pulumi.Input[str]]):
|
|
168
|
+
pulumi.set(self, "created_by", value)
|
|
169
|
+
|
|
170
|
+
@property
|
|
171
|
+
@pulumi.getter(name="currentDeployments")
|
|
172
|
+
def current_deployments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationCurrentDeploymentArgs']]]]:
|
|
173
|
+
"""
|
|
174
|
+
Flink JarApplicationDeployment.
|
|
175
|
+
"""
|
|
176
|
+
return pulumi.get(self, "current_deployments")
|
|
177
|
+
|
|
178
|
+
@current_deployments.setter
|
|
179
|
+
def current_deployments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FlinkJarApplicationCurrentDeploymentArgs']]]]):
|
|
180
|
+
pulumi.set(self, "current_deployments", value)
|
|
181
|
+
|
|
182
|
+
@property
|
|
183
|
+
@pulumi.getter
|
|
184
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
|
185
|
+
"""
|
|
186
|
+
Application name. Maximum length: `128`.
|
|
187
|
+
"""
|
|
188
|
+
return pulumi.get(self, "name")
|
|
189
|
+
|
|
190
|
+
@name.setter
|
|
191
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
|
192
|
+
pulumi.set(self, "name", value)
|
|
193
|
+
|
|
194
|
+
@property
|
|
195
|
+
@pulumi.getter
|
|
196
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
|
197
|
+
"""
|
|
198
|
+
Project name. Changing this property forces recreation of the resource.
|
|
199
|
+
"""
|
|
200
|
+
return pulumi.get(self, "project")
|
|
201
|
+
|
|
202
|
+
@project.setter
|
|
203
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
|
204
|
+
pulumi.set(self, "project", value)
|
|
205
|
+
|
|
206
|
+
@property
|
|
207
|
+
@pulumi.getter(name="serviceName")
|
|
208
|
+
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
209
|
+
"""
|
|
210
|
+
Service name. Changing this property forces recreation of the resource.
|
|
211
|
+
"""
|
|
212
|
+
return pulumi.get(self, "service_name")
|
|
213
|
+
|
|
214
|
+
@service_name.setter
|
|
215
|
+
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
216
|
+
pulumi.set(self, "service_name", value)
|
|
217
|
+
|
|
218
|
+
@property
|
|
219
|
+
@pulumi.getter(name="updatedAt")
|
|
220
|
+
def updated_at(self) -> Optional[pulumi.Input[str]]:
|
|
221
|
+
"""
|
|
222
|
+
The update timestamp of this entity in ISO 8601 format, always in UTC.
|
|
223
|
+
"""
|
|
224
|
+
return pulumi.get(self, "updated_at")
|
|
225
|
+
|
|
226
|
+
@updated_at.setter
|
|
227
|
+
def updated_at(self, value: Optional[pulumi.Input[str]]):
|
|
228
|
+
pulumi.set(self, "updated_at", value)
|
|
229
|
+
|
|
230
|
+
@property
|
|
231
|
+
@pulumi.getter(name="updatedBy")
|
|
232
|
+
def updated_by(self) -> Optional[pulumi.Input[str]]:
|
|
233
|
+
"""
|
|
234
|
+
The latest updater of this entity.
|
|
235
|
+
"""
|
|
236
|
+
return pulumi.get(self, "updated_by")
|
|
237
|
+
|
|
238
|
+
@updated_by.setter
|
|
239
|
+
def updated_by(self, value: Optional[pulumi.Input[str]]):
|
|
240
|
+
pulumi.set(self, "updated_by", value)
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class FlinkJarApplication(pulumi.CustomResource):
|
|
244
|
+
@overload
|
|
245
|
+
def __init__(__self__,
|
|
246
|
+
resource_name: str,
|
|
247
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
248
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
249
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
250
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
251
|
+
__props__=None):
|
|
252
|
+
"""
|
|
253
|
+
Creates and manages an [Aiven for Apache Flink® jar application](https://aiven.io/docs/products/flink/howto/create-jar-application).
|
|
254
|
+
|
|
255
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
256
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
257
|
+
|
|
258
|
+
## Example Usage
|
|
259
|
+
|
|
260
|
+
```python
|
|
261
|
+
import pulumi
|
|
262
|
+
import pulumi_aiven as aiven
|
|
263
|
+
|
|
264
|
+
example = aiven.Flink("example",
|
|
265
|
+
project=example_aiven_project["project"],
|
|
266
|
+
service_name="example-flink-service",
|
|
267
|
+
cloud_name="google-europe-west1",
|
|
268
|
+
plan="business-4",
|
|
269
|
+
maintenance_window_dow="monday",
|
|
270
|
+
maintenance_window_time="04:00:00",
|
|
271
|
+
flink_user_config={
|
|
272
|
+
"custom_code": True,
|
|
273
|
+
})
|
|
274
|
+
example_flink_jar_application = aiven.FlinkJarApplication("example",
|
|
275
|
+
project=example.project,
|
|
276
|
+
service_name=example.service_name,
|
|
277
|
+
name="example-app-jar")
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
## Import
|
|
281
|
+
|
|
282
|
+
```sh
|
|
283
|
+
$ pulumi import aiven:index/flinkJarApplication:FlinkJarApplication example PROJECT/SERVICE_NAME/APPLICATION_ID
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
:param str resource_name: The name of the resource.
|
|
287
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
288
|
+
:param pulumi.Input[str] name: Application name. Maximum length: `128`.
|
|
289
|
+
:param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
|
|
290
|
+
:param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
|
|
291
|
+
"""
|
|
292
|
+
...
|
|
293
|
+
@overload
|
|
294
|
+
def __init__(__self__,
|
|
295
|
+
resource_name: str,
|
|
296
|
+
args: FlinkJarApplicationArgs,
|
|
297
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
298
|
+
"""
|
|
299
|
+
Creates and manages an [Aiven for Apache Flink® jar application](https://aiven.io/docs/products/flink/howto/create-jar-application).
|
|
300
|
+
|
|
301
|
+
**This resource is in the beta stage and may change without notice.** Set
|
|
302
|
+
the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
|
|
303
|
+
|
|
304
|
+
## Example Usage
|
|
305
|
+
|
|
306
|
+
```python
|
|
307
|
+
import pulumi
|
|
308
|
+
import pulumi_aiven as aiven
|
|
309
|
+
|
|
310
|
+
example = aiven.Flink("example",
|
|
311
|
+
project=example_aiven_project["project"],
|
|
312
|
+
service_name="example-flink-service",
|
|
313
|
+
cloud_name="google-europe-west1",
|
|
314
|
+
plan="business-4",
|
|
315
|
+
maintenance_window_dow="monday",
|
|
316
|
+
maintenance_window_time="04:00:00",
|
|
317
|
+
flink_user_config={
|
|
318
|
+
"custom_code": True,
|
|
319
|
+
})
|
|
320
|
+
example_flink_jar_application = aiven.FlinkJarApplication("example",
|
|
321
|
+
project=example.project,
|
|
322
|
+
service_name=example.service_name,
|
|
323
|
+
name="example-app-jar")
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
## Import
|
|
327
|
+
|
|
328
|
+
```sh
|
|
329
|
+
$ pulumi import aiven:index/flinkJarApplication:FlinkJarApplication example PROJECT/SERVICE_NAME/APPLICATION_ID
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
:param str resource_name: The name of the resource.
|
|
333
|
+
:param FlinkJarApplicationArgs args: The arguments to use to populate this resource's properties.
|
|
334
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
335
|
+
"""
|
|
336
|
+
...
|
|
337
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
338
|
+
resource_args, opts = _utilities.get_resource_args_opts(FlinkJarApplicationArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
339
|
+
if resource_args is not None:
|
|
340
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
341
|
+
else:
|
|
342
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
343
|
+
|
|
344
|
+
def _internal_init(__self__,
|
|
345
|
+
resource_name: str,
|
|
346
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
347
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
348
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
349
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
350
|
+
__props__=None):
|
|
351
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
352
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
353
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
354
|
+
if opts.id is None:
|
|
355
|
+
if __props__ is not None:
|
|
356
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
357
|
+
__props__ = FlinkJarApplicationArgs.__new__(FlinkJarApplicationArgs)
|
|
358
|
+
|
|
359
|
+
__props__.__dict__["name"] = name
|
|
360
|
+
if project is None and not opts.urn:
|
|
361
|
+
raise TypeError("Missing required property 'project'")
|
|
362
|
+
__props__.__dict__["project"] = project
|
|
363
|
+
if service_name is None and not opts.urn:
|
|
364
|
+
raise TypeError("Missing required property 'service_name'")
|
|
365
|
+
__props__.__dict__["service_name"] = service_name
|
|
366
|
+
__props__.__dict__["application_id"] = None
|
|
367
|
+
__props__.__dict__["application_versions"] = None
|
|
368
|
+
__props__.__dict__["created_at"] = None
|
|
369
|
+
__props__.__dict__["created_by"] = None
|
|
370
|
+
__props__.__dict__["current_deployments"] = None
|
|
371
|
+
__props__.__dict__["updated_at"] = None
|
|
372
|
+
__props__.__dict__["updated_by"] = None
|
|
373
|
+
super(FlinkJarApplication, __self__).__init__(
|
|
374
|
+
'aiven:index/flinkJarApplication:FlinkJarApplication',
|
|
375
|
+
resource_name,
|
|
376
|
+
__props__,
|
|
377
|
+
opts)
|
|
378
|
+
|
|
379
|
+
@staticmethod
|
|
380
|
+
def get(resource_name: str,
|
|
381
|
+
id: pulumi.Input[str],
|
|
382
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
383
|
+
application_id: Optional[pulumi.Input[str]] = None,
|
|
384
|
+
application_versions: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkJarApplicationApplicationVersionArgs', 'FlinkJarApplicationApplicationVersionArgsDict']]]]] = None,
|
|
385
|
+
created_at: Optional[pulumi.Input[str]] = None,
|
|
386
|
+
created_by: Optional[pulumi.Input[str]] = None,
|
|
387
|
+
current_deployments: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FlinkJarApplicationCurrentDeploymentArgs', 'FlinkJarApplicationCurrentDeploymentArgsDict']]]]] = None,
|
|
388
|
+
name: Optional[pulumi.Input[str]] = None,
|
|
389
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
390
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
391
|
+
updated_at: Optional[pulumi.Input[str]] = None,
|
|
392
|
+
updated_by: Optional[pulumi.Input[str]] = None) -> 'FlinkJarApplication':
|
|
393
|
+
"""
|
|
394
|
+
Get an existing FlinkJarApplication resource's state with the given name, id, and optional extra
|
|
395
|
+
properties used to qualify the lookup.
|
|
396
|
+
|
|
397
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
398
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
399
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
400
|
+
:param pulumi.Input[str] application_id: Application ID.
|
|
401
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkJarApplicationApplicationVersionArgs', 'FlinkJarApplicationApplicationVersionArgsDict']]]] application_versions: JarApplicationVersions.
|
|
402
|
+
:param pulumi.Input[str] created_at: The creation timestamp of this entity in ISO 8601 format, always in UTC.
|
|
403
|
+
:param pulumi.Input[str] created_by: The creator of this entity.
|
|
404
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['FlinkJarApplicationCurrentDeploymentArgs', 'FlinkJarApplicationCurrentDeploymentArgsDict']]]] current_deployments: Flink JarApplicationDeployment.
|
|
405
|
+
:param pulumi.Input[str] name: Application name. Maximum length: `128`.
|
|
406
|
+
:param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
|
|
407
|
+
:param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
|
|
408
|
+
:param pulumi.Input[str] updated_at: The update timestamp of this entity in ISO 8601 format, always in UTC.
|
|
409
|
+
:param pulumi.Input[str] updated_by: The latest updater of this entity.
|
|
410
|
+
"""
|
|
411
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
412
|
+
|
|
413
|
+
__props__ = _FlinkJarApplicationState.__new__(_FlinkJarApplicationState)
|
|
414
|
+
|
|
415
|
+
__props__.__dict__["application_id"] = application_id
|
|
416
|
+
__props__.__dict__["application_versions"] = application_versions
|
|
417
|
+
__props__.__dict__["created_at"] = created_at
|
|
418
|
+
__props__.__dict__["created_by"] = created_by
|
|
419
|
+
__props__.__dict__["current_deployments"] = current_deployments
|
|
420
|
+
__props__.__dict__["name"] = name
|
|
421
|
+
__props__.__dict__["project"] = project
|
|
422
|
+
__props__.__dict__["service_name"] = service_name
|
|
423
|
+
__props__.__dict__["updated_at"] = updated_at
|
|
424
|
+
__props__.__dict__["updated_by"] = updated_by
|
|
425
|
+
return FlinkJarApplication(resource_name, opts=opts, __props__=__props__)
|
|
426
|
+
|
|
427
|
+
@property
|
|
428
|
+
@pulumi.getter(name="applicationId")
|
|
429
|
+
def application_id(self) -> pulumi.Output[str]:
|
|
430
|
+
"""
|
|
431
|
+
Application ID.
|
|
432
|
+
"""
|
|
433
|
+
return pulumi.get(self, "application_id")
|
|
434
|
+
|
|
435
|
+
@property
|
|
436
|
+
@pulumi.getter(name="applicationVersions")
|
|
437
|
+
def application_versions(self) -> pulumi.Output[Sequence['outputs.FlinkJarApplicationApplicationVersion']]:
|
|
438
|
+
"""
|
|
439
|
+
JarApplicationVersions.
|
|
440
|
+
"""
|
|
441
|
+
return pulumi.get(self, "application_versions")
|
|
442
|
+
|
|
443
|
+
@property
|
|
444
|
+
@pulumi.getter(name="createdAt")
|
|
445
|
+
def created_at(self) -> pulumi.Output[str]:
|
|
446
|
+
"""
|
|
447
|
+
The creation timestamp of this entity in ISO 8601 format, always in UTC.
|
|
448
|
+
"""
|
|
449
|
+
return pulumi.get(self, "created_at")
|
|
450
|
+
|
|
451
|
+
@property
|
|
452
|
+
@pulumi.getter(name="createdBy")
|
|
453
|
+
def created_by(self) -> pulumi.Output[str]:
|
|
454
|
+
"""
|
|
455
|
+
The creator of this entity.
|
|
456
|
+
"""
|
|
457
|
+
return pulumi.get(self, "created_by")
|
|
458
|
+
|
|
459
|
+
@property
|
|
460
|
+
@pulumi.getter(name="currentDeployments")
|
|
461
|
+
def current_deployments(self) -> pulumi.Output[Sequence['outputs.FlinkJarApplicationCurrentDeployment']]:
|
|
462
|
+
"""
|
|
463
|
+
Flink JarApplicationDeployment.
|
|
464
|
+
"""
|
|
465
|
+
return pulumi.get(self, "current_deployments")
|
|
466
|
+
|
|
467
|
+
@property
|
|
468
|
+
@pulumi.getter
|
|
469
|
+
def name(self) -> pulumi.Output[str]:
|
|
470
|
+
"""
|
|
471
|
+
Application name. Maximum length: `128`.
|
|
472
|
+
"""
|
|
473
|
+
return pulumi.get(self, "name")
|
|
474
|
+
|
|
475
|
+
@property
|
|
476
|
+
@pulumi.getter
|
|
477
|
+
def project(self) -> pulumi.Output[str]:
|
|
478
|
+
"""
|
|
479
|
+
Project name. Changing this property forces recreation of the resource.
|
|
480
|
+
"""
|
|
481
|
+
return pulumi.get(self, "project")
|
|
482
|
+
|
|
483
|
+
@property
|
|
484
|
+
@pulumi.getter(name="serviceName")
|
|
485
|
+
def service_name(self) -> pulumi.Output[str]:
|
|
486
|
+
"""
|
|
487
|
+
Service name. Changing this property forces recreation of the resource.
|
|
488
|
+
"""
|
|
489
|
+
return pulumi.get(self, "service_name")
|
|
490
|
+
|
|
491
|
+
@property
|
|
492
|
+
@pulumi.getter(name="updatedAt")
|
|
493
|
+
def updated_at(self) -> pulumi.Output[str]:
|
|
494
|
+
"""
|
|
495
|
+
The update timestamp of this entity in ISO 8601 format, always in UTC.
|
|
496
|
+
"""
|
|
497
|
+
return pulumi.get(self, "updated_at")
|
|
498
|
+
|
|
499
|
+
@property
|
|
500
|
+
@pulumi.getter(name="updatedBy")
|
|
501
|
+
def updated_by(self) -> pulumi.Output[str]:
|
|
502
|
+
"""
|
|
503
|
+
The latest updater of this entity.
|
|
504
|
+
"""
|
|
505
|
+
return pulumi.get(self, "updated_by")
|
|
506
|
+
|