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.

Files changed (38) hide show
  1. pulumi_aiven/__init__.py +27 -0
  2. pulumi_aiven/_inputs.py +677 -21
  3. pulumi_aiven/account_team_project.py +7 -7
  4. pulumi_aiven/connection_pool.py +7 -7
  5. pulumi_aiven/flink_application.py +2 -2
  6. pulumi_aiven/flink_application_deployment.py +2 -2
  7. pulumi_aiven/flink_jar_application.py +506 -0
  8. pulumi_aiven/flink_jar_application_deployment.py +808 -0
  9. pulumi_aiven/flink_jar_application_version.py +537 -0
  10. pulumi_aiven/get_account_team_project.py +1 -1
  11. pulumi_aiven/get_connection_pool.py +1 -1
  12. pulumi_aiven/get_kafka_mirror_maker.py +6 -6
  13. pulumi_aiven/get_mirror_maker_replication_flow.py +13 -13
  14. pulumi_aiven/get_mysql_user.py +1 -1
  15. pulumi_aiven/get_open_search_acl_rule.py +3 -3
  16. pulumi_aiven/get_project_user.py +1 -1
  17. pulumi_aiven/get_service_component.py +3 -3
  18. pulumi_aiven/get_service_integration_endpoint.py +1 -1
  19. pulumi_aiven/kafka_mirror_maker.py +10 -10
  20. pulumi_aiven/kafka_native_acl.py +7 -7
  21. pulumi_aiven/m3_db.py +14 -2
  22. pulumi_aiven/m3db_user.py +14 -2
  23. pulumi_aiven/mirror_maker_replication_flow.py +59 -59
  24. pulumi_aiven/mysql_user.py +7 -7
  25. pulumi_aiven/open_search_acl_rule.py +7 -7
  26. pulumi_aiven/organization_application_user_token.py +7 -7
  27. pulumi_aiven/organization_group_project.py +7 -7
  28. pulumi_aiven/organization_permission.py +7 -7
  29. pulumi_aiven/outputs.py +536 -26
  30. pulumi_aiven/project_user.py +7 -7
  31. pulumi_aiven/pulumi-plugin.json +1 -1
  32. pulumi_aiven/redis.py +18 -2
  33. pulumi_aiven/redis_user.py +18 -2
  34. pulumi_aiven/service_integration_endpoint.py +7 -7
  35. {pulumi_aiven-6.33.0a1738213611.dist-info → pulumi_aiven-6.34.0a1738300020.dist-info}/METADATA +1 -1
  36. {pulumi_aiven-6.33.0a1738213611.dist-info → pulumi_aiven-6.34.0a1738300020.dist-info}/RECORD +38 -35
  37. {pulumi_aiven-6.33.0a1738213611.dist-info → pulumi_aiven-6.34.0a1738300020.dist-info}/WHEEL +0 -0
  38. {pulumi_aiven-6.33.0a1738213611.dist-info → pulumi_aiven-6.34.0a1738300020.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,808 @@
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__ = ['FlinkJarApplicationDeploymentArgs', 'FlinkJarApplicationDeployment']
18
+
19
+ @pulumi.input_type
20
+ class FlinkJarApplicationDeploymentArgs:
21
+ def __init__(__self__, *,
22
+ application_id: pulumi.Input[str],
23
+ project: pulumi.Input[str],
24
+ service_name: pulumi.Input[str],
25
+ version_id: pulumi.Input[str],
26
+ entry_class: Optional[pulumi.Input[str]] = None,
27
+ parallelism: Optional[pulumi.Input[int]] = None,
28
+ program_args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
29
+ restart_enabled: Optional[pulumi.Input[bool]] = None,
30
+ starting_savepoint: Optional[pulumi.Input[str]] = None):
31
+ """
32
+ The set of arguments for constructing a FlinkJarApplicationDeployment resource.
33
+ :param pulumi.Input[str] application_id: Application Id. Changing this property forces recreation of the resource.
34
+ :param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
35
+ :param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
36
+ :param pulumi.Input[str] version_id: ApplicationVersion ID. Maximum length: `36`. Changing this property forces recreation of the resource.
37
+ :param pulumi.Input[str] entry_class: The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: `128`.
38
+ :param pulumi.Input[int] parallelism: Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number*of*task_slots), or every new job created will fail.
39
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] program_args: Arguments to pass during Flink job submission through the programArgsList parameter.
40
+ :param pulumi.Input[bool] restart_enabled: Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
41
+ :param pulumi.Input[str] starting_savepoint: Job savepoint. Maximum length: `2048`.
42
+ """
43
+ pulumi.set(__self__, "application_id", application_id)
44
+ pulumi.set(__self__, "project", project)
45
+ pulumi.set(__self__, "service_name", service_name)
46
+ pulumi.set(__self__, "version_id", version_id)
47
+ if entry_class is not None:
48
+ pulumi.set(__self__, "entry_class", entry_class)
49
+ if parallelism is not None:
50
+ pulumi.set(__self__, "parallelism", parallelism)
51
+ if program_args is not None:
52
+ pulumi.set(__self__, "program_args", program_args)
53
+ if restart_enabled is not None:
54
+ pulumi.set(__self__, "restart_enabled", restart_enabled)
55
+ if starting_savepoint is not None:
56
+ pulumi.set(__self__, "starting_savepoint", starting_savepoint)
57
+
58
+ @property
59
+ @pulumi.getter(name="applicationId")
60
+ def application_id(self) -> pulumi.Input[str]:
61
+ """
62
+ Application Id. Changing this property forces recreation of the resource.
63
+ """
64
+ return pulumi.get(self, "application_id")
65
+
66
+ @application_id.setter
67
+ def application_id(self, value: pulumi.Input[str]):
68
+ pulumi.set(self, "application_id", value)
69
+
70
+ @property
71
+ @pulumi.getter
72
+ def project(self) -> pulumi.Input[str]:
73
+ """
74
+ Project name. Changing this property forces recreation of the resource.
75
+ """
76
+ return pulumi.get(self, "project")
77
+
78
+ @project.setter
79
+ def project(self, value: pulumi.Input[str]):
80
+ pulumi.set(self, "project", value)
81
+
82
+ @property
83
+ @pulumi.getter(name="serviceName")
84
+ def service_name(self) -> pulumi.Input[str]:
85
+ """
86
+ Service name. Changing this property forces recreation of the resource.
87
+ """
88
+ return pulumi.get(self, "service_name")
89
+
90
+ @service_name.setter
91
+ def service_name(self, value: pulumi.Input[str]):
92
+ pulumi.set(self, "service_name", value)
93
+
94
+ @property
95
+ @pulumi.getter(name="versionId")
96
+ def version_id(self) -> pulumi.Input[str]:
97
+ """
98
+ ApplicationVersion ID. Maximum length: `36`. Changing this property forces recreation of the resource.
99
+ """
100
+ return pulumi.get(self, "version_id")
101
+
102
+ @version_id.setter
103
+ def version_id(self, value: pulumi.Input[str]):
104
+ pulumi.set(self, "version_id", value)
105
+
106
+ @property
107
+ @pulumi.getter(name="entryClass")
108
+ def entry_class(self) -> Optional[pulumi.Input[str]]:
109
+ """
110
+ The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: `128`.
111
+ """
112
+ return pulumi.get(self, "entry_class")
113
+
114
+ @entry_class.setter
115
+ def entry_class(self, value: Optional[pulumi.Input[str]]):
116
+ pulumi.set(self, "entry_class", value)
117
+
118
+ @property
119
+ @pulumi.getter
120
+ def parallelism(self) -> Optional[pulumi.Input[int]]:
121
+ """
122
+ Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number*of*task_slots), or every new job created will fail.
123
+ """
124
+ return pulumi.get(self, "parallelism")
125
+
126
+ @parallelism.setter
127
+ def parallelism(self, value: Optional[pulumi.Input[int]]):
128
+ pulumi.set(self, "parallelism", value)
129
+
130
+ @property
131
+ @pulumi.getter(name="programArgs")
132
+ def program_args(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
133
+ """
134
+ Arguments to pass during Flink job submission through the programArgsList parameter.
135
+ """
136
+ return pulumi.get(self, "program_args")
137
+
138
+ @program_args.setter
139
+ def program_args(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
140
+ pulumi.set(self, "program_args", value)
141
+
142
+ @property
143
+ @pulumi.getter(name="restartEnabled")
144
+ def restart_enabled(self) -> Optional[pulumi.Input[bool]]:
145
+ """
146
+ Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
147
+ """
148
+ return pulumi.get(self, "restart_enabled")
149
+
150
+ @restart_enabled.setter
151
+ def restart_enabled(self, value: Optional[pulumi.Input[bool]]):
152
+ pulumi.set(self, "restart_enabled", value)
153
+
154
+ @property
155
+ @pulumi.getter(name="startingSavepoint")
156
+ def starting_savepoint(self) -> Optional[pulumi.Input[str]]:
157
+ """
158
+ Job savepoint. Maximum length: `2048`.
159
+ """
160
+ return pulumi.get(self, "starting_savepoint")
161
+
162
+ @starting_savepoint.setter
163
+ def starting_savepoint(self, value: Optional[pulumi.Input[str]]):
164
+ pulumi.set(self, "starting_savepoint", value)
165
+
166
+
167
+ @pulumi.input_type
168
+ class _FlinkJarApplicationDeploymentState:
169
+ def __init__(__self__, *,
170
+ application_id: Optional[pulumi.Input[str]] = None,
171
+ created_at: Optional[pulumi.Input[str]] = None,
172
+ created_by: Optional[pulumi.Input[str]] = None,
173
+ deployment_id: Optional[pulumi.Input[str]] = None,
174
+ entry_class: Optional[pulumi.Input[str]] = None,
175
+ error_msg: Optional[pulumi.Input[str]] = None,
176
+ job_id: Optional[pulumi.Input[str]] = None,
177
+ last_savepoint: Optional[pulumi.Input[str]] = None,
178
+ parallelism: Optional[pulumi.Input[int]] = None,
179
+ program_args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
180
+ project: Optional[pulumi.Input[str]] = None,
181
+ restart_enabled: Optional[pulumi.Input[bool]] = None,
182
+ service_name: Optional[pulumi.Input[str]] = None,
183
+ starting_savepoint: Optional[pulumi.Input[str]] = None,
184
+ status: Optional[pulumi.Input[str]] = None,
185
+ version_id: Optional[pulumi.Input[str]] = None):
186
+ """
187
+ Input properties used for looking up and filtering FlinkJarApplicationDeployment resources.
188
+ :param pulumi.Input[str] application_id: Application Id. Changing this property forces recreation of the resource.
189
+ :param pulumi.Input[str] created_at: The creation timestamp of this entity in ISO 8601 format, always in UTC.
190
+ :param pulumi.Input[str] created_by: The creator of this entity.
191
+ :param pulumi.Input[str] deployment_id: Deployment ID.
192
+ :param pulumi.Input[str] entry_class: The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: `128`.
193
+ :param pulumi.Input[str] error_msg: Error message describing what caused deployment to fail.
194
+ :param pulumi.Input[str] job_id: Job ID.
195
+ :param pulumi.Input[str] last_savepoint: Job savepoint.
196
+ :param pulumi.Input[int] parallelism: Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number*of*task_slots), or every new job created will fail.
197
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] program_args: Arguments to pass during Flink job submission through the programArgsList parameter.
198
+ :param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
199
+ :param pulumi.Input[bool] restart_enabled: Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
200
+ :param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
201
+ :param pulumi.Input[str] starting_savepoint: Job savepoint. Maximum length: `2048`.
202
+ :param pulumi.Input[str] status: Deployment status. The possible values are `CANCELED`, `CANCELLING`, `CANCELLING_REQUESTED`, `CREATED`, `DELETE_REQUESTED`, `DELETING`, `FAILED`, `FAILING`, `FINISHED`, `INITIALIZING`, `RECONCILING`, `RESTARTING`, `RUNNING`, `SAVING`, `SAVING_AND_STOP`, `SAVING_AND_STOP_REQUESTED` and `SUSPENDED`.
203
+ :param pulumi.Input[str] version_id: ApplicationVersion ID. Maximum length: `36`. Changing this property forces recreation of the resource.
204
+ """
205
+ if application_id is not None:
206
+ pulumi.set(__self__, "application_id", application_id)
207
+ if created_at is not None:
208
+ pulumi.set(__self__, "created_at", created_at)
209
+ if created_by is not None:
210
+ pulumi.set(__self__, "created_by", created_by)
211
+ if deployment_id is not None:
212
+ pulumi.set(__self__, "deployment_id", deployment_id)
213
+ if entry_class is not None:
214
+ pulumi.set(__self__, "entry_class", entry_class)
215
+ if error_msg is not None:
216
+ pulumi.set(__self__, "error_msg", error_msg)
217
+ if job_id is not None:
218
+ pulumi.set(__self__, "job_id", job_id)
219
+ if last_savepoint is not None:
220
+ pulumi.set(__self__, "last_savepoint", last_savepoint)
221
+ if parallelism is not None:
222
+ pulumi.set(__self__, "parallelism", parallelism)
223
+ if program_args is not None:
224
+ pulumi.set(__self__, "program_args", program_args)
225
+ if project is not None:
226
+ pulumi.set(__self__, "project", project)
227
+ if restart_enabled is not None:
228
+ pulumi.set(__self__, "restart_enabled", restart_enabled)
229
+ if service_name is not None:
230
+ pulumi.set(__self__, "service_name", service_name)
231
+ if starting_savepoint is not None:
232
+ pulumi.set(__self__, "starting_savepoint", starting_savepoint)
233
+ if status is not None:
234
+ pulumi.set(__self__, "status", status)
235
+ if version_id is not None:
236
+ pulumi.set(__self__, "version_id", version_id)
237
+
238
+ @property
239
+ @pulumi.getter(name="applicationId")
240
+ def application_id(self) -> Optional[pulumi.Input[str]]:
241
+ """
242
+ Application Id. Changing this property forces recreation of the resource.
243
+ """
244
+ return pulumi.get(self, "application_id")
245
+
246
+ @application_id.setter
247
+ def application_id(self, value: Optional[pulumi.Input[str]]):
248
+ pulumi.set(self, "application_id", value)
249
+
250
+ @property
251
+ @pulumi.getter(name="createdAt")
252
+ def created_at(self) -> Optional[pulumi.Input[str]]:
253
+ """
254
+ The creation timestamp of this entity in ISO 8601 format, always in UTC.
255
+ """
256
+ return pulumi.get(self, "created_at")
257
+
258
+ @created_at.setter
259
+ def created_at(self, value: Optional[pulumi.Input[str]]):
260
+ pulumi.set(self, "created_at", value)
261
+
262
+ @property
263
+ @pulumi.getter(name="createdBy")
264
+ def created_by(self) -> Optional[pulumi.Input[str]]:
265
+ """
266
+ The creator of this entity.
267
+ """
268
+ return pulumi.get(self, "created_by")
269
+
270
+ @created_by.setter
271
+ def created_by(self, value: Optional[pulumi.Input[str]]):
272
+ pulumi.set(self, "created_by", value)
273
+
274
+ @property
275
+ @pulumi.getter(name="deploymentId")
276
+ def deployment_id(self) -> Optional[pulumi.Input[str]]:
277
+ """
278
+ Deployment ID.
279
+ """
280
+ return pulumi.get(self, "deployment_id")
281
+
282
+ @deployment_id.setter
283
+ def deployment_id(self, value: Optional[pulumi.Input[str]]):
284
+ pulumi.set(self, "deployment_id", value)
285
+
286
+ @property
287
+ @pulumi.getter(name="entryClass")
288
+ def entry_class(self) -> Optional[pulumi.Input[str]]:
289
+ """
290
+ The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: `128`.
291
+ """
292
+ return pulumi.get(self, "entry_class")
293
+
294
+ @entry_class.setter
295
+ def entry_class(self, value: Optional[pulumi.Input[str]]):
296
+ pulumi.set(self, "entry_class", value)
297
+
298
+ @property
299
+ @pulumi.getter(name="errorMsg")
300
+ def error_msg(self) -> Optional[pulumi.Input[str]]:
301
+ """
302
+ Error message describing what caused deployment to fail.
303
+ """
304
+ return pulumi.get(self, "error_msg")
305
+
306
+ @error_msg.setter
307
+ def error_msg(self, value: Optional[pulumi.Input[str]]):
308
+ pulumi.set(self, "error_msg", value)
309
+
310
+ @property
311
+ @pulumi.getter(name="jobId")
312
+ def job_id(self) -> Optional[pulumi.Input[str]]:
313
+ """
314
+ Job ID.
315
+ """
316
+ return pulumi.get(self, "job_id")
317
+
318
+ @job_id.setter
319
+ def job_id(self, value: Optional[pulumi.Input[str]]):
320
+ pulumi.set(self, "job_id", value)
321
+
322
+ @property
323
+ @pulumi.getter(name="lastSavepoint")
324
+ def last_savepoint(self) -> Optional[pulumi.Input[str]]:
325
+ """
326
+ Job savepoint.
327
+ """
328
+ return pulumi.get(self, "last_savepoint")
329
+
330
+ @last_savepoint.setter
331
+ def last_savepoint(self, value: Optional[pulumi.Input[str]]):
332
+ pulumi.set(self, "last_savepoint", value)
333
+
334
+ @property
335
+ @pulumi.getter
336
+ def parallelism(self) -> Optional[pulumi.Input[int]]:
337
+ """
338
+ Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number*of*task_slots), or every new job created will fail.
339
+ """
340
+ return pulumi.get(self, "parallelism")
341
+
342
+ @parallelism.setter
343
+ def parallelism(self, value: Optional[pulumi.Input[int]]):
344
+ pulumi.set(self, "parallelism", value)
345
+
346
+ @property
347
+ @pulumi.getter(name="programArgs")
348
+ def program_args(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
349
+ """
350
+ Arguments to pass during Flink job submission through the programArgsList parameter.
351
+ """
352
+ return pulumi.get(self, "program_args")
353
+
354
+ @program_args.setter
355
+ def program_args(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
356
+ pulumi.set(self, "program_args", value)
357
+
358
+ @property
359
+ @pulumi.getter
360
+ def project(self) -> Optional[pulumi.Input[str]]:
361
+ """
362
+ Project name. Changing this property forces recreation of the resource.
363
+ """
364
+ return pulumi.get(self, "project")
365
+
366
+ @project.setter
367
+ def project(self, value: Optional[pulumi.Input[str]]):
368
+ pulumi.set(self, "project", value)
369
+
370
+ @property
371
+ @pulumi.getter(name="restartEnabled")
372
+ def restart_enabled(self) -> Optional[pulumi.Input[bool]]:
373
+ """
374
+ Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
375
+ """
376
+ return pulumi.get(self, "restart_enabled")
377
+
378
+ @restart_enabled.setter
379
+ def restart_enabled(self, value: Optional[pulumi.Input[bool]]):
380
+ pulumi.set(self, "restart_enabled", value)
381
+
382
+ @property
383
+ @pulumi.getter(name="serviceName")
384
+ def service_name(self) -> Optional[pulumi.Input[str]]:
385
+ """
386
+ Service name. Changing this property forces recreation of the resource.
387
+ """
388
+ return pulumi.get(self, "service_name")
389
+
390
+ @service_name.setter
391
+ def service_name(self, value: Optional[pulumi.Input[str]]):
392
+ pulumi.set(self, "service_name", value)
393
+
394
+ @property
395
+ @pulumi.getter(name="startingSavepoint")
396
+ def starting_savepoint(self) -> Optional[pulumi.Input[str]]:
397
+ """
398
+ Job savepoint. Maximum length: `2048`.
399
+ """
400
+ return pulumi.get(self, "starting_savepoint")
401
+
402
+ @starting_savepoint.setter
403
+ def starting_savepoint(self, value: Optional[pulumi.Input[str]]):
404
+ pulumi.set(self, "starting_savepoint", value)
405
+
406
+ @property
407
+ @pulumi.getter
408
+ def status(self) -> Optional[pulumi.Input[str]]:
409
+ """
410
+ Deployment status. The possible values are `CANCELED`, `CANCELLING`, `CANCELLING_REQUESTED`, `CREATED`, `DELETE_REQUESTED`, `DELETING`, `FAILED`, `FAILING`, `FINISHED`, `INITIALIZING`, `RECONCILING`, `RESTARTING`, `RUNNING`, `SAVING`, `SAVING_AND_STOP`, `SAVING_AND_STOP_REQUESTED` and `SUSPENDED`.
411
+ """
412
+ return pulumi.get(self, "status")
413
+
414
+ @status.setter
415
+ def status(self, value: Optional[pulumi.Input[str]]):
416
+ pulumi.set(self, "status", value)
417
+
418
+ @property
419
+ @pulumi.getter(name="versionId")
420
+ def version_id(self) -> Optional[pulumi.Input[str]]:
421
+ """
422
+ ApplicationVersion ID. Maximum length: `36`. Changing this property forces recreation of the resource.
423
+ """
424
+ return pulumi.get(self, "version_id")
425
+
426
+ @version_id.setter
427
+ def version_id(self, value: Optional[pulumi.Input[str]]):
428
+ pulumi.set(self, "version_id", value)
429
+
430
+
431
+ class FlinkJarApplicationDeployment(pulumi.CustomResource):
432
+ @overload
433
+ def __init__(__self__,
434
+ resource_name: str,
435
+ opts: Optional[pulumi.ResourceOptions] = None,
436
+ application_id: Optional[pulumi.Input[str]] = None,
437
+ entry_class: Optional[pulumi.Input[str]] = None,
438
+ parallelism: Optional[pulumi.Input[int]] = None,
439
+ program_args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
440
+ project: Optional[pulumi.Input[str]] = None,
441
+ restart_enabled: Optional[pulumi.Input[bool]] = None,
442
+ service_name: Optional[pulumi.Input[str]] = None,
443
+ starting_savepoint: Optional[pulumi.Input[str]] = None,
444
+ version_id: Optional[pulumi.Input[str]] = None,
445
+ __props__=None):
446
+ """
447
+ Creates and manages the deployment of an Aiven for Apache Flink® application.
448
+
449
+ **This resource is in the beta stage and may change without notice.** Set
450
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
451
+
452
+ ## Example Usage
453
+
454
+ ```python
455
+ import pulumi
456
+ import pulumi_aiven as aiven
457
+
458
+ example = aiven.Flink("example",
459
+ project=example_aiven_project["project"],
460
+ service_name="example-flink-service",
461
+ cloud_name="google-europe-west1",
462
+ plan="business-4",
463
+ maintenance_window_dow="monday",
464
+ maintenance_window_time="04:00:00",
465
+ flink_user_config={
466
+ "custom_code": True,
467
+ })
468
+ example_flink_jar_application = aiven.FlinkJarApplication("example",
469
+ project=example.project,
470
+ service_name=example.service_name,
471
+ name="example-app-jar")
472
+ example_flink_jar_application_version = aiven.FlinkJarApplicationVersion("example",
473
+ project=example.project,
474
+ service_name=example.service_name,
475
+ application_id=example_flink_jar_application.application_id,
476
+ source="./example.jar")
477
+ example_flink_jar_application_deployment = aiven.FlinkJarApplicationDeployment("example",
478
+ project=example.project,
479
+ service_name=example.service_name,
480
+ application_id=example_flink_jar_application.application_id,
481
+ version_id=example_flink_jar_application_version.application_version_id)
482
+ ```
483
+
484
+ ## Import
485
+
486
+ ```sh
487
+ $ pulumi import aiven:index/flinkJarApplicationDeployment:FlinkJarApplicationDeployment example PROJECT/SERVICE_NAME/APPLICATION_ID/DEPLOYMENT_ID
488
+ ```
489
+
490
+ :param str resource_name: The name of the resource.
491
+ :param pulumi.ResourceOptions opts: Options for the resource.
492
+ :param pulumi.Input[str] application_id: Application Id. Changing this property forces recreation of the resource.
493
+ :param pulumi.Input[str] entry_class: The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: `128`.
494
+ :param pulumi.Input[int] parallelism: Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number*of*task_slots), or every new job created will fail.
495
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] program_args: Arguments to pass during Flink job submission through the programArgsList parameter.
496
+ :param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
497
+ :param pulumi.Input[bool] restart_enabled: Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
498
+ :param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
499
+ :param pulumi.Input[str] starting_savepoint: Job savepoint. Maximum length: `2048`.
500
+ :param pulumi.Input[str] version_id: ApplicationVersion ID. Maximum length: `36`. Changing this property forces recreation of the resource.
501
+ """
502
+ ...
503
+ @overload
504
+ def __init__(__self__,
505
+ resource_name: str,
506
+ args: FlinkJarApplicationDeploymentArgs,
507
+ opts: Optional[pulumi.ResourceOptions] = None):
508
+ """
509
+ Creates and manages the deployment of an Aiven for Apache Flink® application.
510
+
511
+ **This resource is in the beta stage and may change without notice.** Set
512
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
513
+
514
+ ## Example Usage
515
+
516
+ ```python
517
+ import pulumi
518
+ import pulumi_aiven as aiven
519
+
520
+ example = aiven.Flink("example",
521
+ project=example_aiven_project["project"],
522
+ service_name="example-flink-service",
523
+ cloud_name="google-europe-west1",
524
+ plan="business-4",
525
+ maintenance_window_dow="monday",
526
+ maintenance_window_time="04:00:00",
527
+ flink_user_config={
528
+ "custom_code": True,
529
+ })
530
+ example_flink_jar_application = aiven.FlinkJarApplication("example",
531
+ project=example.project,
532
+ service_name=example.service_name,
533
+ name="example-app-jar")
534
+ example_flink_jar_application_version = aiven.FlinkJarApplicationVersion("example",
535
+ project=example.project,
536
+ service_name=example.service_name,
537
+ application_id=example_flink_jar_application.application_id,
538
+ source="./example.jar")
539
+ example_flink_jar_application_deployment = aiven.FlinkJarApplicationDeployment("example",
540
+ project=example.project,
541
+ service_name=example.service_name,
542
+ application_id=example_flink_jar_application.application_id,
543
+ version_id=example_flink_jar_application_version.application_version_id)
544
+ ```
545
+
546
+ ## Import
547
+
548
+ ```sh
549
+ $ pulumi import aiven:index/flinkJarApplicationDeployment:FlinkJarApplicationDeployment example PROJECT/SERVICE_NAME/APPLICATION_ID/DEPLOYMENT_ID
550
+ ```
551
+
552
+ :param str resource_name: The name of the resource.
553
+ :param FlinkJarApplicationDeploymentArgs args: The arguments to use to populate this resource's properties.
554
+ :param pulumi.ResourceOptions opts: Options for the resource.
555
+ """
556
+ ...
557
+ def __init__(__self__, resource_name: str, *args, **kwargs):
558
+ resource_args, opts = _utilities.get_resource_args_opts(FlinkJarApplicationDeploymentArgs, pulumi.ResourceOptions, *args, **kwargs)
559
+ if resource_args is not None:
560
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
561
+ else:
562
+ __self__._internal_init(resource_name, *args, **kwargs)
563
+
564
+ def _internal_init(__self__,
565
+ resource_name: str,
566
+ opts: Optional[pulumi.ResourceOptions] = None,
567
+ application_id: Optional[pulumi.Input[str]] = None,
568
+ entry_class: Optional[pulumi.Input[str]] = None,
569
+ parallelism: Optional[pulumi.Input[int]] = None,
570
+ program_args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
571
+ project: Optional[pulumi.Input[str]] = None,
572
+ restart_enabled: Optional[pulumi.Input[bool]] = None,
573
+ service_name: Optional[pulumi.Input[str]] = None,
574
+ starting_savepoint: Optional[pulumi.Input[str]] = None,
575
+ version_id: Optional[pulumi.Input[str]] = None,
576
+ __props__=None):
577
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
578
+ if not isinstance(opts, pulumi.ResourceOptions):
579
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
580
+ if opts.id is None:
581
+ if __props__ is not None:
582
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
583
+ __props__ = FlinkJarApplicationDeploymentArgs.__new__(FlinkJarApplicationDeploymentArgs)
584
+
585
+ if application_id is None and not opts.urn:
586
+ raise TypeError("Missing required property 'application_id'")
587
+ __props__.__dict__["application_id"] = application_id
588
+ __props__.__dict__["entry_class"] = entry_class
589
+ __props__.__dict__["parallelism"] = parallelism
590
+ __props__.__dict__["program_args"] = program_args
591
+ if project is None and not opts.urn:
592
+ raise TypeError("Missing required property 'project'")
593
+ __props__.__dict__["project"] = project
594
+ __props__.__dict__["restart_enabled"] = restart_enabled
595
+ if service_name is None and not opts.urn:
596
+ raise TypeError("Missing required property 'service_name'")
597
+ __props__.__dict__["service_name"] = service_name
598
+ __props__.__dict__["starting_savepoint"] = starting_savepoint
599
+ if version_id is None and not opts.urn:
600
+ raise TypeError("Missing required property 'version_id'")
601
+ __props__.__dict__["version_id"] = version_id
602
+ __props__.__dict__["created_at"] = None
603
+ __props__.__dict__["created_by"] = None
604
+ __props__.__dict__["deployment_id"] = None
605
+ __props__.__dict__["error_msg"] = None
606
+ __props__.__dict__["job_id"] = None
607
+ __props__.__dict__["last_savepoint"] = None
608
+ __props__.__dict__["status"] = None
609
+ super(FlinkJarApplicationDeployment, __self__).__init__(
610
+ 'aiven:index/flinkJarApplicationDeployment:FlinkJarApplicationDeployment',
611
+ resource_name,
612
+ __props__,
613
+ opts)
614
+
615
+ @staticmethod
616
+ def get(resource_name: str,
617
+ id: pulumi.Input[str],
618
+ opts: Optional[pulumi.ResourceOptions] = None,
619
+ application_id: Optional[pulumi.Input[str]] = None,
620
+ created_at: Optional[pulumi.Input[str]] = None,
621
+ created_by: Optional[pulumi.Input[str]] = None,
622
+ deployment_id: Optional[pulumi.Input[str]] = None,
623
+ entry_class: Optional[pulumi.Input[str]] = None,
624
+ error_msg: Optional[pulumi.Input[str]] = None,
625
+ job_id: Optional[pulumi.Input[str]] = None,
626
+ last_savepoint: Optional[pulumi.Input[str]] = None,
627
+ parallelism: Optional[pulumi.Input[int]] = None,
628
+ program_args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
629
+ project: Optional[pulumi.Input[str]] = None,
630
+ restart_enabled: Optional[pulumi.Input[bool]] = None,
631
+ service_name: Optional[pulumi.Input[str]] = None,
632
+ starting_savepoint: Optional[pulumi.Input[str]] = None,
633
+ status: Optional[pulumi.Input[str]] = None,
634
+ version_id: Optional[pulumi.Input[str]] = None) -> 'FlinkJarApplicationDeployment':
635
+ """
636
+ Get an existing FlinkJarApplicationDeployment resource's state with the given name, id, and optional extra
637
+ properties used to qualify the lookup.
638
+
639
+ :param str resource_name: The unique name of the resulting resource.
640
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
641
+ :param pulumi.ResourceOptions opts: Options for the resource.
642
+ :param pulumi.Input[str] application_id: Application Id. Changing this property forces recreation of the resource.
643
+ :param pulumi.Input[str] created_at: The creation timestamp of this entity in ISO 8601 format, always in UTC.
644
+ :param pulumi.Input[str] created_by: The creator of this entity.
645
+ :param pulumi.Input[str] deployment_id: Deployment ID.
646
+ :param pulumi.Input[str] entry_class: The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: `128`.
647
+ :param pulumi.Input[str] error_msg: Error message describing what caused deployment to fail.
648
+ :param pulumi.Input[str] job_id: Job ID.
649
+ :param pulumi.Input[str] last_savepoint: Job savepoint.
650
+ :param pulumi.Input[int] parallelism: Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number*of*task_slots), or every new job created will fail.
651
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] program_args: Arguments to pass during Flink job submission through the programArgsList parameter.
652
+ :param pulumi.Input[str] project: Project name. Changing this property forces recreation of the resource.
653
+ :param pulumi.Input[bool] restart_enabled: Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
654
+ :param pulumi.Input[str] service_name: Service name. Changing this property forces recreation of the resource.
655
+ :param pulumi.Input[str] starting_savepoint: Job savepoint. Maximum length: `2048`.
656
+ :param pulumi.Input[str] status: Deployment status. The possible values are `CANCELED`, `CANCELLING`, `CANCELLING_REQUESTED`, `CREATED`, `DELETE_REQUESTED`, `DELETING`, `FAILED`, `FAILING`, `FINISHED`, `INITIALIZING`, `RECONCILING`, `RESTARTING`, `RUNNING`, `SAVING`, `SAVING_AND_STOP`, `SAVING_AND_STOP_REQUESTED` and `SUSPENDED`.
657
+ :param pulumi.Input[str] version_id: ApplicationVersion ID. Maximum length: `36`. Changing this property forces recreation of the resource.
658
+ """
659
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
660
+
661
+ __props__ = _FlinkJarApplicationDeploymentState.__new__(_FlinkJarApplicationDeploymentState)
662
+
663
+ __props__.__dict__["application_id"] = application_id
664
+ __props__.__dict__["created_at"] = created_at
665
+ __props__.__dict__["created_by"] = created_by
666
+ __props__.__dict__["deployment_id"] = deployment_id
667
+ __props__.__dict__["entry_class"] = entry_class
668
+ __props__.__dict__["error_msg"] = error_msg
669
+ __props__.__dict__["job_id"] = job_id
670
+ __props__.__dict__["last_savepoint"] = last_savepoint
671
+ __props__.__dict__["parallelism"] = parallelism
672
+ __props__.__dict__["program_args"] = program_args
673
+ __props__.__dict__["project"] = project
674
+ __props__.__dict__["restart_enabled"] = restart_enabled
675
+ __props__.__dict__["service_name"] = service_name
676
+ __props__.__dict__["starting_savepoint"] = starting_savepoint
677
+ __props__.__dict__["status"] = status
678
+ __props__.__dict__["version_id"] = version_id
679
+ return FlinkJarApplicationDeployment(resource_name, opts=opts, __props__=__props__)
680
+
681
+ @property
682
+ @pulumi.getter(name="applicationId")
683
+ def application_id(self) -> pulumi.Output[str]:
684
+ """
685
+ Application Id. Changing this property forces recreation of the resource.
686
+ """
687
+ return pulumi.get(self, "application_id")
688
+
689
+ @property
690
+ @pulumi.getter(name="createdAt")
691
+ def created_at(self) -> pulumi.Output[str]:
692
+ """
693
+ The creation timestamp of this entity in ISO 8601 format, always in UTC.
694
+ """
695
+ return pulumi.get(self, "created_at")
696
+
697
+ @property
698
+ @pulumi.getter(name="createdBy")
699
+ def created_by(self) -> pulumi.Output[str]:
700
+ """
701
+ The creator of this entity.
702
+ """
703
+ return pulumi.get(self, "created_by")
704
+
705
+ @property
706
+ @pulumi.getter(name="deploymentId")
707
+ def deployment_id(self) -> pulumi.Output[str]:
708
+ """
709
+ Deployment ID.
710
+ """
711
+ return pulumi.get(self, "deployment_id")
712
+
713
+ @property
714
+ @pulumi.getter(name="entryClass")
715
+ def entry_class(self) -> pulumi.Output[str]:
716
+ """
717
+ The fully qualified name of the entry class to pass during Flink job submission through the entryClass parameter. Maximum length: `128`.
718
+ """
719
+ return pulumi.get(self, "entry_class")
720
+
721
+ @property
722
+ @pulumi.getter(name="errorMsg")
723
+ def error_msg(self) -> pulumi.Output[str]:
724
+ """
725
+ Error message describing what caused deployment to fail.
726
+ """
727
+ return pulumi.get(self, "error_msg")
728
+
729
+ @property
730
+ @pulumi.getter(name="jobId")
731
+ def job_id(self) -> pulumi.Output[str]:
732
+ """
733
+ Job ID.
734
+ """
735
+ return pulumi.get(self, "job_id")
736
+
737
+ @property
738
+ @pulumi.getter(name="lastSavepoint")
739
+ def last_savepoint(self) -> pulumi.Output[str]:
740
+ """
741
+ Job savepoint.
742
+ """
743
+ return pulumi.get(self, "last_savepoint")
744
+
745
+ @property
746
+ @pulumi.getter
747
+ def parallelism(self) -> pulumi.Output[int]:
748
+ """
749
+ Reading of Flink parallel execution documentation is recommended before setting this value to other than 1. Please do not set this value higher than (total number of nodes x number*of*task_slots), or every new job created will fail.
750
+ """
751
+ return pulumi.get(self, "parallelism")
752
+
753
+ @property
754
+ @pulumi.getter(name="programArgs")
755
+ def program_args(self) -> pulumi.Output[Sequence[str]]:
756
+ """
757
+ Arguments to pass during Flink job submission through the programArgsList parameter.
758
+ """
759
+ return pulumi.get(self, "program_args")
760
+
761
+ @property
762
+ @pulumi.getter
763
+ def project(self) -> pulumi.Output[str]:
764
+ """
765
+ Project name. Changing this property forces recreation of the resource.
766
+ """
767
+ return pulumi.get(self, "project")
768
+
769
+ @property
770
+ @pulumi.getter(name="restartEnabled")
771
+ def restart_enabled(self) -> pulumi.Output[Optional[bool]]:
772
+ """
773
+ Specifies whether a Flink Job is restarted in case it fails. Changing this property forces recreation of the resource.
774
+ """
775
+ return pulumi.get(self, "restart_enabled")
776
+
777
+ @property
778
+ @pulumi.getter(name="serviceName")
779
+ def service_name(self) -> pulumi.Output[str]:
780
+ """
781
+ Service name. Changing this property forces recreation of the resource.
782
+ """
783
+ return pulumi.get(self, "service_name")
784
+
785
+ @property
786
+ @pulumi.getter(name="startingSavepoint")
787
+ def starting_savepoint(self) -> pulumi.Output[str]:
788
+ """
789
+ Job savepoint. Maximum length: `2048`.
790
+ """
791
+ return pulumi.get(self, "starting_savepoint")
792
+
793
+ @property
794
+ @pulumi.getter
795
+ def status(self) -> pulumi.Output[str]:
796
+ """
797
+ Deployment status. The possible values are `CANCELED`, `CANCELLING`, `CANCELLING_REQUESTED`, `CREATED`, `DELETE_REQUESTED`, `DELETING`, `FAILED`, `FAILING`, `FINISHED`, `INITIALIZING`, `RECONCILING`, `RESTARTING`, `RUNNING`, `SAVING`, `SAVING_AND_STOP`, `SAVING_AND_STOP_REQUESTED` and `SUSPENDED`.
798
+ """
799
+ return pulumi.get(self, "status")
800
+
801
+ @property
802
+ @pulumi.getter(name="versionId")
803
+ def version_id(self) -> pulumi.Output[str]:
804
+ """
805
+ ApplicationVersion ID. Maximum length: `36`. Changing this property forces recreation of the resource.
806
+ """
807
+ return pulumi.get(self, "version_id")
808
+