pulumi-oci 3.8.0__py3-none-any.whl → 3.9.0__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.
Files changed (62) hide show
  1. pulumi_oci/__init__.py +24 -0
  2. pulumi_oci/database/__init__.py +1 -0
  3. pulumi_oci/database/_inputs.py +550 -0
  4. pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
  5. pulumi_oci/database/cloud_exadata_infrastructure_configure_exascale_management.py +1308 -0
  6. pulumi_oci/database/cloud_vm_cluster.py +77 -0
  7. pulumi_oci/database/get_cloud_exadata_infrastructure.py +15 -1
  8. pulumi_oci/database/get_cloud_vm_cluster.py +29 -1
  9. pulumi_oci/database/outputs.py +515 -0
  10. pulumi_oci/datasafe/_inputs.py +180 -0
  11. pulumi_oci/datasafe/audit_policy_management.py +7 -7
  12. pulumi_oci/datasafe/audit_trail_management.py +2 -0
  13. pulumi_oci/datasafe/discovery_jobs_result.py +40 -0
  14. pulumi_oci/datasafe/get_data_safe_configuration.py +2 -2
  15. pulumi_oci/datasafe/get_discovery_jobs_result.py +29 -1
  16. pulumi_oci/datasafe/get_discovery_jobs_results.py +23 -1
  17. pulumi_oci/datasafe/get_masking_reports.py +20 -1
  18. pulumi_oci/datasafe/get_security_assessment_finding.py +16 -1
  19. pulumi_oci/datasafe/get_security_assessment_findings.py +26 -3
  20. pulumi_oci/datasafe/get_sensitive_data_models_sensitive_column.py +30 -1
  21. pulumi_oci/datasafe/get_sensitive_data_models_sensitive_columns.py +44 -3
  22. pulumi_oci/datasafe/outputs.py +400 -2
  23. pulumi_oci/datasafe/sensitive_data_models_sensitive_column.py +58 -0
  24. pulumi_oci/jms/__init__.py +16 -0
  25. pulumi_oci/jms/_inputs.py +2068 -29
  26. pulumi_oci/jms/fleet.py +56 -0
  27. pulumi_oci/jms/get_fleet.py +29 -1
  28. pulumi_oci/jms/get_fleet_containers.py +289 -0
  29. pulumi_oci/jms/get_fleet_export_setting.py +16 -1
  30. pulumi_oci/jms/get_fleet_library_applications.py +280 -0
  31. pulumi_oci/jms/get_fleet_library_managed_instances.py +280 -0
  32. pulumi_oci/jms/get_fleet_summarize_library_inventory.py +211 -0
  33. pulumi_oci/jms/get_fleet_uncorrelated_package_applications.py +239 -0
  34. pulumi_oci/jms/get_fleet_uncorrelated_package_managed_instances.py +242 -0
  35. pulumi_oci/jms/get_fleet_uncorrelated_packages.py +242 -0
  36. pulumi_oci/jms/get_java_family.py +15 -1
  37. pulumi_oci/jms/get_jms_plugin.py +2 -2
  38. pulumi_oci/jms/get_jms_plugins.py +4 -4
  39. pulumi_oci/jms/get_task_schedule.py +262 -0
  40. pulumi_oci/jms/get_task_schedules.py +218 -0
  41. pulumi_oci/jms/get_utils_analyze_applications_configuration.py +153 -0
  42. pulumi_oci/jms/get_utils_java_migration_analysi.py +316 -0
  43. pulumi_oci/jms/get_utils_java_migration_analysis.py +177 -0
  44. pulumi_oci/jms/get_utils_performance_tuning_analysi.py +274 -0
  45. pulumi_oci/jms/get_utils_performance_tuning_analysis.py +196 -0
  46. pulumi_oci/jms/get_utils_subscription_acknowledgment_configuration.py +161 -0
  47. pulumi_oci/jms/jms_plugin.py +36 -15
  48. pulumi_oci/jms/outputs.py +8500 -3920
  49. pulumi_oci/jms/task_schedule.py +658 -0
  50. pulumi_oci/marketplace/__init__.py +2 -0
  51. pulumi_oci/marketplace/_inputs.py +49 -0
  52. pulumi_oci/marketplace/get_marketplace_metadata_public_keys.py +144 -0
  53. pulumi_oci/marketplace/marketplace_external_attested_metadata.py +298 -0
  54. pulumi_oci/marketplace/outputs.py +124 -0
  55. pulumi_oci/pulumi-plugin.json +1 -1
  56. pulumi_oci/redis/get_redis_cluster.py +29 -1
  57. pulumi_oci/redis/outputs.py +22 -0
  58. pulumi_oci/redis/redis_cluster.py +56 -0
  59. {pulumi_oci-3.8.0.dist-info → pulumi_oci-3.9.0.dist-info}/METADATA +1 -1
  60. {pulumi_oci-3.8.0.dist-info → pulumi_oci-3.9.0.dist-info}/RECORD +62 -43
  61. {pulumi_oci-3.8.0.dist-info → pulumi_oci-3.9.0.dist-info}/WHEEL +0 -0
  62. {pulumi_oci-3.8.0.dist-info → pulumi_oci-3.9.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,658 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
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__ = ['TaskScheduleArgs', 'TaskSchedule']
20
+
21
+ @pulumi.input_type
22
+ class TaskScheduleArgs:
23
+ def __init__(__self__, *,
24
+ execution_recurrences: pulumi.Input[_builtins.str],
25
+ fleet_id: pulumi.Input[_builtins.str],
26
+ task_details: pulumi.Input['TaskScheduleTaskDetailsArgs']):
27
+ """
28
+ The set of arguments for constructing a TaskSchedule resource.
29
+ :param pulumi.Input[_builtins.str] execution_recurrences: (Updatable) Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
30
+ :param pulumi.Input[_builtins.str] fleet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
31
+ :param pulumi.Input['TaskScheduleTaskDetailsArgs'] task_details: (Updatable) The minimum details of a task.
32
+ """
33
+ pulumi.set(__self__, "execution_recurrences", execution_recurrences)
34
+ pulumi.set(__self__, "fleet_id", fleet_id)
35
+ pulumi.set(__self__, "task_details", task_details)
36
+
37
+ @_builtins.property
38
+ @pulumi.getter(name="executionRecurrences")
39
+ def execution_recurrences(self) -> pulumi.Input[_builtins.str]:
40
+ """
41
+ (Updatable) Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
42
+ """
43
+ return pulumi.get(self, "execution_recurrences")
44
+
45
+ @execution_recurrences.setter
46
+ def execution_recurrences(self, value: pulumi.Input[_builtins.str]):
47
+ pulumi.set(self, "execution_recurrences", value)
48
+
49
+ @_builtins.property
50
+ @pulumi.getter(name="fleetId")
51
+ def fleet_id(self) -> pulumi.Input[_builtins.str]:
52
+ """
53
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
54
+ """
55
+ return pulumi.get(self, "fleet_id")
56
+
57
+ @fleet_id.setter
58
+ def fleet_id(self, value: pulumi.Input[_builtins.str]):
59
+ pulumi.set(self, "fleet_id", value)
60
+
61
+ @_builtins.property
62
+ @pulumi.getter(name="taskDetails")
63
+ def task_details(self) -> pulumi.Input['TaskScheduleTaskDetailsArgs']:
64
+ """
65
+ (Updatable) The minimum details of a task.
66
+ """
67
+ return pulumi.get(self, "task_details")
68
+
69
+ @task_details.setter
70
+ def task_details(self, value: pulumi.Input['TaskScheduleTaskDetailsArgs']):
71
+ pulumi.set(self, "task_details", value)
72
+
73
+
74
+ @pulumi.input_type
75
+ class _TaskScheduleState:
76
+ def __init__(__self__, *,
77
+ created_by: Optional[pulumi.Input[_builtins.str]] = None,
78
+ execution_recurrences: Optional[pulumi.Input[_builtins.str]] = None,
79
+ fleet_id: Optional[pulumi.Input[_builtins.str]] = None,
80
+ name: Optional[pulumi.Input[_builtins.str]] = None,
81
+ state: Optional[pulumi.Input[_builtins.str]] = None,
82
+ task_details: Optional[pulumi.Input['TaskScheduleTaskDetailsArgs']] = None,
83
+ time_created: Optional[pulumi.Input[_builtins.str]] = None,
84
+ time_last_run: Optional[pulumi.Input[_builtins.str]] = None,
85
+ time_last_updated: Optional[pulumi.Input[_builtins.str]] = None,
86
+ time_next_run: Optional[pulumi.Input[_builtins.str]] = None):
87
+ """
88
+ Input properties used for looking up and filtering TaskSchedule resources.
89
+ :param pulumi.Input[_builtins.str] created_by: Name of the task creator.
90
+ :param pulumi.Input[_builtins.str] execution_recurrences: (Updatable) Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
91
+ :param pulumi.Input[_builtins.str] fleet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
92
+ :param pulumi.Input[_builtins.str] name: The name of the task schedule.
93
+ :param pulumi.Input[_builtins.str] state: All possible status of task schedule.
94
+ :param pulumi.Input['TaskScheduleTaskDetailsArgs'] task_details: (Updatable) The minimum details of a task.
95
+ :param pulumi.Input[_builtins.str] time_created: The date and time the task schedule was created (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
96
+ :param pulumi.Input[_builtins.str] time_last_run: The date and time the task schedule ran last (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
97
+ :param pulumi.Input[_builtins.str] time_last_updated: The date and time the task schedule was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
98
+ :param pulumi.Input[_builtins.str] time_next_run: The date and time the task schedule will run next (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
99
+ """
100
+ if created_by is not None:
101
+ pulumi.set(__self__, "created_by", created_by)
102
+ if execution_recurrences is not None:
103
+ pulumi.set(__self__, "execution_recurrences", execution_recurrences)
104
+ if fleet_id is not None:
105
+ pulumi.set(__self__, "fleet_id", fleet_id)
106
+ if name is not None:
107
+ pulumi.set(__self__, "name", name)
108
+ if state is not None:
109
+ pulumi.set(__self__, "state", state)
110
+ if task_details is not None:
111
+ pulumi.set(__self__, "task_details", task_details)
112
+ if time_created is not None:
113
+ pulumi.set(__self__, "time_created", time_created)
114
+ if time_last_run is not None:
115
+ pulumi.set(__self__, "time_last_run", time_last_run)
116
+ if time_last_updated is not None:
117
+ pulumi.set(__self__, "time_last_updated", time_last_updated)
118
+ if time_next_run is not None:
119
+ pulumi.set(__self__, "time_next_run", time_next_run)
120
+
121
+ @_builtins.property
122
+ @pulumi.getter(name="createdBy")
123
+ def created_by(self) -> Optional[pulumi.Input[_builtins.str]]:
124
+ """
125
+ Name of the task creator.
126
+ """
127
+ return pulumi.get(self, "created_by")
128
+
129
+ @created_by.setter
130
+ def created_by(self, value: Optional[pulumi.Input[_builtins.str]]):
131
+ pulumi.set(self, "created_by", value)
132
+
133
+ @_builtins.property
134
+ @pulumi.getter(name="executionRecurrences")
135
+ def execution_recurrences(self) -> Optional[pulumi.Input[_builtins.str]]:
136
+ """
137
+ (Updatable) Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
138
+ """
139
+ return pulumi.get(self, "execution_recurrences")
140
+
141
+ @execution_recurrences.setter
142
+ def execution_recurrences(self, value: Optional[pulumi.Input[_builtins.str]]):
143
+ pulumi.set(self, "execution_recurrences", value)
144
+
145
+ @_builtins.property
146
+ @pulumi.getter(name="fleetId")
147
+ def fleet_id(self) -> Optional[pulumi.Input[_builtins.str]]:
148
+ """
149
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
150
+ """
151
+ return pulumi.get(self, "fleet_id")
152
+
153
+ @fleet_id.setter
154
+ def fleet_id(self, value: Optional[pulumi.Input[_builtins.str]]):
155
+ pulumi.set(self, "fleet_id", value)
156
+
157
+ @_builtins.property
158
+ @pulumi.getter
159
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
160
+ """
161
+ The name of the task schedule.
162
+ """
163
+ return pulumi.get(self, "name")
164
+
165
+ @name.setter
166
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
167
+ pulumi.set(self, "name", value)
168
+
169
+ @_builtins.property
170
+ @pulumi.getter
171
+ def state(self) -> Optional[pulumi.Input[_builtins.str]]:
172
+ """
173
+ All possible status of task schedule.
174
+ """
175
+ return pulumi.get(self, "state")
176
+
177
+ @state.setter
178
+ def state(self, value: Optional[pulumi.Input[_builtins.str]]):
179
+ pulumi.set(self, "state", value)
180
+
181
+ @_builtins.property
182
+ @pulumi.getter(name="taskDetails")
183
+ def task_details(self) -> Optional[pulumi.Input['TaskScheduleTaskDetailsArgs']]:
184
+ """
185
+ (Updatable) The minimum details of a task.
186
+ """
187
+ return pulumi.get(self, "task_details")
188
+
189
+ @task_details.setter
190
+ def task_details(self, value: Optional[pulumi.Input['TaskScheduleTaskDetailsArgs']]):
191
+ pulumi.set(self, "task_details", value)
192
+
193
+ @_builtins.property
194
+ @pulumi.getter(name="timeCreated")
195
+ def time_created(self) -> Optional[pulumi.Input[_builtins.str]]:
196
+ """
197
+ The date and time the task schedule was created (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
198
+ """
199
+ return pulumi.get(self, "time_created")
200
+
201
+ @time_created.setter
202
+ def time_created(self, value: Optional[pulumi.Input[_builtins.str]]):
203
+ pulumi.set(self, "time_created", value)
204
+
205
+ @_builtins.property
206
+ @pulumi.getter(name="timeLastRun")
207
+ def time_last_run(self) -> Optional[pulumi.Input[_builtins.str]]:
208
+ """
209
+ The date and time the task schedule ran last (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
210
+ """
211
+ return pulumi.get(self, "time_last_run")
212
+
213
+ @time_last_run.setter
214
+ def time_last_run(self, value: Optional[pulumi.Input[_builtins.str]]):
215
+ pulumi.set(self, "time_last_run", value)
216
+
217
+ @_builtins.property
218
+ @pulumi.getter(name="timeLastUpdated")
219
+ def time_last_updated(self) -> Optional[pulumi.Input[_builtins.str]]:
220
+ """
221
+ The date and time the task schedule was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
222
+ """
223
+ return pulumi.get(self, "time_last_updated")
224
+
225
+ @time_last_updated.setter
226
+ def time_last_updated(self, value: Optional[pulumi.Input[_builtins.str]]):
227
+ pulumi.set(self, "time_last_updated", value)
228
+
229
+ @_builtins.property
230
+ @pulumi.getter(name="timeNextRun")
231
+ def time_next_run(self) -> Optional[pulumi.Input[_builtins.str]]:
232
+ """
233
+ The date and time the task schedule will run next (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
234
+ """
235
+ return pulumi.get(self, "time_next_run")
236
+
237
+ @time_next_run.setter
238
+ def time_next_run(self, value: Optional[pulumi.Input[_builtins.str]]):
239
+ pulumi.set(self, "time_next_run", value)
240
+
241
+
242
+ @pulumi.type_token("oci:Jms/taskSchedule:TaskSchedule")
243
+ class TaskSchedule(pulumi.CustomResource):
244
+ @overload
245
+ def __init__(__self__,
246
+ resource_name: str,
247
+ opts: Optional[pulumi.ResourceOptions] = None,
248
+ execution_recurrences: Optional[pulumi.Input[_builtins.str]] = None,
249
+ fleet_id: Optional[pulumi.Input[_builtins.str]] = None,
250
+ task_details: Optional[pulumi.Input[Union['TaskScheduleTaskDetailsArgs', 'TaskScheduleTaskDetailsArgsDict']]] = None,
251
+ __props__=None):
252
+ """
253
+ This resource provides the Task Schedule resource in Oracle Cloud Infrastructure Jms service.
254
+
255
+ Create a task schedule using the information provided.
256
+
257
+ ## Example Usage
258
+
259
+ ```python
260
+ import pulumi
261
+ import pulumi_oci as oci
262
+
263
+ test_task_schedule = oci.jms.TaskSchedule("test_task_schedule",
264
+ execution_recurrences=task_schedule_execution_recurrences,
265
+ fleet_id=test_fleet["id"],
266
+ task_details={
267
+ "task_type": task_schedule_task_details_task_type,
268
+ "add_installation_site_task_request": {
269
+ "installation_sites": [{
270
+ "artifact_content_type": task_schedule_task_details_add_installation_site_task_request_installation_sites_artifact_content_type,
271
+ "force_install": task_schedule_task_details_add_installation_site_task_request_installation_sites_force_install,
272
+ "headless_mode": task_schedule_task_details_add_installation_site_task_request_installation_sites_headless_mode,
273
+ "installation_path": task_schedule_task_details_add_installation_site_task_request_installation_sites_installation_path,
274
+ "managed_instance_id": test_managed_instance["id"],
275
+ "release_version": task_schedule_task_details_add_installation_site_task_request_installation_sites_release_version,
276
+ }],
277
+ "post_installation_actions": task_schedule_task_details_add_installation_site_task_request_post_installation_actions,
278
+ },
279
+ "crypto_task_request": {
280
+ "recording_duration_in_minutes": task_schedule_task_details_crypto_task_request_recording_duration_in_minutes,
281
+ "targets": [{
282
+ "application_installation_key": task_schedule_task_details_crypto_task_request_targets_application_installation_key,
283
+ "application_key": task_schedule_task_details_crypto_task_request_targets_application_key,
284
+ "container_key": task_schedule_task_details_crypto_task_request_targets_container_key,
285
+ "jre_key": task_schedule_task_details_crypto_task_request_targets_jre_key,
286
+ "managed_instance_id": test_managed_instance["id"],
287
+ }],
288
+ "waiting_period_in_minutes": task_schedule_task_details_crypto_task_request_waiting_period_in_minutes,
289
+ },
290
+ "deployed_application_migration_task_request": {
291
+ "targets": [{
292
+ "deployed_application_installation_key": task_schedule_task_details_deployed_application_migration_task_request_targets_deployed_application_installation_key,
293
+ "exclude_package_prefixes": task_schedule_task_details_deployed_application_migration_task_request_targets_exclude_package_prefixes,
294
+ "include_package_prefixes": task_schedule_task_details_deployed_application_migration_task_request_targets_include_package_prefixes,
295
+ "managed_instance_id": test_managed_instance["id"],
296
+ "source_jdk_version": task_schedule_task_details_deployed_application_migration_task_request_targets_source_jdk_version,
297
+ "target_jdk_version": task_schedule_task_details_deployed_application_migration_task_request_targets_target_jdk_version,
298
+ }],
299
+ },
300
+ "java_migration_task_request": {
301
+ "targets": [{
302
+ "application_installation_key": task_schedule_task_details_java_migration_task_request_targets_application_installation_key,
303
+ "exclude_package_prefixes": task_schedule_task_details_java_migration_task_request_targets_exclude_package_prefixes,
304
+ "include_package_prefixes": task_schedule_task_details_java_migration_task_request_targets_include_package_prefixes,
305
+ "managed_instance_id": test_managed_instance["id"],
306
+ "source_jdk_version": task_schedule_task_details_java_migration_task_request_targets_source_jdk_version,
307
+ "target_jdk_version": task_schedule_task_details_java_migration_task_request_targets_target_jdk_version,
308
+ }],
309
+ },
310
+ "jfr_task_request": {
311
+ "jfc_profile_name": test_profile["name"],
312
+ "jfc_v1": task_schedule_task_details_jfr_task_request_jfc_v1,
313
+ "jfc_v2": task_schedule_task_details_jfr_task_request_jfc_v2,
314
+ "recording_duration_in_minutes": task_schedule_task_details_jfr_task_request_recording_duration_in_minutes,
315
+ "recording_size_in_mb": task_schedule_task_details_jfr_task_request_recording_size_in_mb,
316
+ "targets": [{
317
+ "application_installation_key": task_schedule_task_details_jfr_task_request_targets_application_installation_key,
318
+ "application_key": task_schedule_task_details_jfr_task_request_targets_application_key,
319
+ "container_key": task_schedule_task_details_jfr_task_request_targets_container_key,
320
+ "jre_key": task_schedule_task_details_jfr_task_request_targets_jre_key,
321
+ "managed_instance_id": test_managed_instance["id"],
322
+ }],
323
+ "waiting_period_in_minutes": task_schedule_task_details_jfr_task_request_waiting_period_in_minutes,
324
+ },
325
+ "performance_tuning_task_request": {
326
+ "recording_duration_in_minutes": task_schedule_task_details_performance_tuning_task_request_recording_duration_in_minutes,
327
+ "targets": [{
328
+ "application_installation_key": task_schedule_task_details_performance_tuning_task_request_targets_application_installation_key,
329
+ "application_key": task_schedule_task_details_performance_tuning_task_request_targets_application_key,
330
+ "container_key": task_schedule_task_details_performance_tuning_task_request_targets_container_key,
331
+ "jre_key": task_schedule_task_details_performance_tuning_task_request_targets_jre_key,
332
+ "managed_instance_id": test_managed_instance["id"],
333
+ }],
334
+ "waiting_period_in_minutes": task_schedule_task_details_performance_tuning_task_request_waiting_period_in_minutes,
335
+ },
336
+ "remove_installation_site_task_request": {
337
+ "installation_sites": [{
338
+ "installation_key": task_schedule_task_details_remove_installation_site_task_request_installation_sites_installation_key,
339
+ "managed_instance_id": test_managed_instance["id"],
340
+ }],
341
+ },
342
+ "scan_java_server_task_request": {
343
+ "managed_instance_ids": task_schedule_task_details_scan_java_server_task_request_managed_instance_ids,
344
+ },
345
+ "scan_library_task_request": {
346
+ "dynamic_scan_duration_in_minutes": task_schedule_task_details_scan_library_task_request_dynamic_scan_duration_in_minutes,
347
+ "is_dynamic_scan": task_schedule_task_details_scan_library_task_request_is_dynamic_scan,
348
+ "managed_instance_ids": task_schedule_task_details_scan_library_task_request_managed_instance_ids,
349
+ },
350
+ })
351
+ ```
352
+
353
+ ## Import
354
+
355
+ TaskSchedules can be imported using the `id`, e.g.
356
+
357
+ ```sh
358
+ $ pulumi import oci:Jms/taskSchedule:TaskSchedule test_task_schedule "id"
359
+ ```
360
+
361
+ :param str resource_name: The name of the resource.
362
+ :param pulumi.ResourceOptions opts: Options for the resource.
363
+ :param pulumi.Input[_builtins.str] execution_recurrences: (Updatable) Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
364
+ :param pulumi.Input[_builtins.str] fleet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
365
+ :param pulumi.Input[Union['TaskScheduleTaskDetailsArgs', 'TaskScheduleTaskDetailsArgsDict']] task_details: (Updatable) The minimum details of a task.
366
+ """
367
+ ...
368
+ @overload
369
+ def __init__(__self__,
370
+ resource_name: str,
371
+ args: TaskScheduleArgs,
372
+ opts: Optional[pulumi.ResourceOptions] = None):
373
+ """
374
+ This resource provides the Task Schedule resource in Oracle Cloud Infrastructure Jms service.
375
+
376
+ Create a task schedule using the information provided.
377
+
378
+ ## Example Usage
379
+
380
+ ```python
381
+ import pulumi
382
+ import pulumi_oci as oci
383
+
384
+ test_task_schedule = oci.jms.TaskSchedule("test_task_schedule",
385
+ execution_recurrences=task_schedule_execution_recurrences,
386
+ fleet_id=test_fleet["id"],
387
+ task_details={
388
+ "task_type": task_schedule_task_details_task_type,
389
+ "add_installation_site_task_request": {
390
+ "installation_sites": [{
391
+ "artifact_content_type": task_schedule_task_details_add_installation_site_task_request_installation_sites_artifact_content_type,
392
+ "force_install": task_schedule_task_details_add_installation_site_task_request_installation_sites_force_install,
393
+ "headless_mode": task_schedule_task_details_add_installation_site_task_request_installation_sites_headless_mode,
394
+ "installation_path": task_schedule_task_details_add_installation_site_task_request_installation_sites_installation_path,
395
+ "managed_instance_id": test_managed_instance["id"],
396
+ "release_version": task_schedule_task_details_add_installation_site_task_request_installation_sites_release_version,
397
+ }],
398
+ "post_installation_actions": task_schedule_task_details_add_installation_site_task_request_post_installation_actions,
399
+ },
400
+ "crypto_task_request": {
401
+ "recording_duration_in_minutes": task_schedule_task_details_crypto_task_request_recording_duration_in_minutes,
402
+ "targets": [{
403
+ "application_installation_key": task_schedule_task_details_crypto_task_request_targets_application_installation_key,
404
+ "application_key": task_schedule_task_details_crypto_task_request_targets_application_key,
405
+ "container_key": task_schedule_task_details_crypto_task_request_targets_container_key,
406
+ "jre_key": task_schedule_task_details_crypto_task_request_targets_jre_key,
407
+ "managed_instance_id": test_managed_instance["id"],
408
+ }],
409
+ "waiting_period_in_minutes": task_schedule_task_details_crypto_task_request_waiting_period_in_minutes,
410
+ },
411
+ "deployed_application_migration_task_request": {
412
+ "targets": [{
413
+ "deployed_application_installation_key": task_schedule_task_details_deployed_application_migration_task_request_targets_deployed_application_installation_key,
414
+ "exclude_package_prefixes": task_schedule_task_details_deployed_application_migration_task_request_targets_exclude_package_prefixes,
415
+ "include_package_prefixes": task_schedule_task_details_deployed_application_migration_task_request_targets_include_package_prefixes,
416
+ "managed_instance_id": test_managed_instance["id"],
417
+ "source_jdk_version": task_schedule_task_details_deployed_application_migration_task_request_targets_source_jdk_version,
418
+ "target_jdk_version": task_schedule_task_details_deployed_application_migration_task_request_targets_target_jdk_version,
419
+ }],
420
+ },
421
+ "java_migration_task_request": {
422
+ "targets": [{
423
+ "application_installation_key": task_schedule_task_details_java_migration_task_request_targets_application_installation_key,
424
+ "exclude_package_prefixes": task_schedule_task_details_java_migration_task_request_targets_exclude_package_prefixes,
425
+ "include_package_prefixes": task_schedule_task_details_java_migration_task_request_targets_include_package_prefixes,
426
+ "managed_instance_id": test_managed_instance["id"],
427
+ "source_jdk_version": task_schedule_task_details_java_migration_task_request_targets_source_jdk_version,
428
+ "target_jdk_version": task_schedule_task_details_java_migration_task_request_targets_target_jdk_version,
429
+ }],
430
+ },
431
+ "jfr_task_request": {
432
+ "jfc_profile_name": test_profile["name"],
433
+ "jfc_v1": task_schedule_task_details_jfr_task_request_jfc_v1,
434
+ "jfc_v2": task_schedule_task_details_jfr_task_request_jfc_v2,
435
+ "recording_duration_in_minutes": task_schedule_task_details_jfr_task_request_recording_duration_in_minutes,
436
+ "recording_size_in_mb": task_schedule_task_details_jfr_task_request_recording_size_in_mb,
437
+ "targets": [{
438
+ "application_installation_key": task_schedule_task_details_jfr_task_request_targets_application_installation_key,
439
+ "application_key": task_schedule_task_details_jfr_task_request_targets_application_key,
440
+ "container_key": task_schedule_task_details_jfr_task_request_targets_container_key,
441
+ "jre_key": task_schedule_task_details_jfr_task_request_targets_jre_key,
442
+ "managed_instance_id": test_managed_instance["id"],
443
+ }],
444
+ "waiting_period_in_minutes": task_schedule_task_details_jfr_task_request_waiting_period_in_minutes,
445
+ },
446
+ "performance_tuning_task_request": {
447
+ "recording_duration_in_minutes": task_schedule_task_details_performance_tuning_task_request_recording_duration_in_minutes,
448
+ "targets": [{
449
+ "application_installation_key": task_schedule_task_details_performance_tuning_task_request_targets_application_installation_key,
450
+ "application_key": task_schedule_task_details_performance_tuning_task_request_targets_application_key,
451
+ "container_key": task_schedule_task_details_performance_tuning_task_request_targets_container_key,
452
+ "jre_key": task_schedule_task_details_performance_tuning_task_request_targets_jre_key,
453
+ "managed_instance_id": test_managed_instance["id"],
454
+ }],
455
+ "waiting_period_in_minutes": task_schedule_task_details_performance_tuning_task_request_waiting_period_in_minutes,
456
+ },
457
+ "remove_installation_site_task_request": {
458
+ "installation_sites": [{
459
+ "installation_key": task_schedule_task_details_remove_installation_site_task_request_installation_sites_installation_key,
460
+ "managed_instance_id": test_managed_instance["id"],
461
+ }],
462
+ },
463
+ "scan_java_server_task_request": {
464
+ "managed_instance_ids": task_schedule_task_details_scan_java_server_task_request_managed_instance_ids,
465
+ },
466
+ "scan_library_task_request": {
467
+ "dynamic_scan_duration_in_minutes": task_schedule_task_details_scan_library_task_request_dynamic_scan_duration_in_minutes,
468
+ "is_dynamic_scan": task_schedule_task_details_scan_library_task_request_is_dynamic_scan,
469
+ "managed_instance_ids": task_schedule_task_details_scan_library_task_request_managed_instance_ids,
470
+ },
471
+ })
472
+ ```
473
+
474
+ ## Import
475
+
476
+ TaskSchedules can be imported using the `id`, e.g.
477
+
478
+ ```sh
479
+ $ pulumi import oci:Jms/taskSchedule:TaskSchedule test_task_schedule "id"
480
+ ```
481
+
482
+ :param str resource_name: The name of the resource.
483
+ :param TaskScheduleArgs args: The arguments to use to populate this resource's properties.
484
+ :param pulumi.ResourceOptions opts: Options for the resource.
485
+ """
486
+ ...
487
+ def __init__(__self__, resource_name: str, *args, **kwargs):
488
+ resource_args, opts = _utilities.get_resource_args_opts(TaskScheduleArgs, pulumi.ResourceOptions, *args, **kwargs)
489
+ if resource_args is not None:
490
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
491
+ else:
492
+ __self__._internal_init(resource_name, *args, **kwargs)
493
+
494
+ def _internal_init(__self__,
495
+ resource_name: str,
496
+ opts: Optional[pulumi.ResourceOptions] = None,
497
+ execution_recurrences: Optional[pulumi.Input[_builtins.str]] = None,
498
+ fleet_id: Optional[pulumi.Input[_builtins.str]] = None,
499
+ task_details: Optional[pulumi.Input[Union['TaskScheduleTaskDetailsArgs', 'TaskScheduleTaskDetailsArgsDict']]] = None,
500
+ __props__=None):
501
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
502
+ if not isinstance(opts, pulumi.ResourceOptions):
503
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
504
+ if opts.id is None:
505
+ if __props__ is not None:
506
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
507
+ __props__ = TaskScheduleArgs.__new__(TaskScheduleArgs)
508
+
509
+ if execution_recurrences is None and not opts.urn:
510
+ raise TypeError("Missing required property 'execution_recurrences'")
511
+ __props__.__dict__["execution_recurrences"] = execution_recurrences
512
+ if fleet_id is None and not opts.urn:
513
+ raise TypeError("Missing required property 'fleet_id'")
514
+ __props__.__dict__["fleet_id"] = fleet_id
515
+ if task_details is None and not opts.urn:
516
+ raise TypeError("Missing required property 'task_details'")
517
+ __props__.__dict__["task_details"] = task_details
518
+ __props__.__dict__["created_by"] = None
519
+ __props__.__dict__["name"] = None
520
+ __props__.__dict__["state"] = None
521
+ __props__.__dict__["time_created"] = None
522
+ __props__.__dict__["time_last_run"] = None
523
+ __props__.__dict__["time_last_updated"] = None
524
+ __props__.__dict__["time_next_run"] = None
525
+ super(TaskSchedule, __self__).__init__(
526
+ 'oci:Jms/taskSchedule:TaskSchedule',
527
+ resource_name,
528
+ __props__,
529
+ opts)
530
+
531
+ @staticmethod
532
+ def get(resource_name: str,
533
+ id: pulumi.Input[str],
534
+ opts: Optional[pulumi.ResourceOptions] = None,
535
+ created_by: Optional[pulumi.Input[_builtins.str]] = None,
536
+ execution_recurrences: Optional[pulumi.Input[_builtins.str]] = None,
537
+ fleet_id: Optional[pulumi.Input[_builtins.str]] = None,
538
+ name: Optional[pulumi.Input[_builtins.str]] = None,
539
+ state: Optional[pulumi.Input[_builtins.str]] = None,
540
+ task_details: Optional[pulumi.Input[Union['TaskScheduleTaskDetailsArgs', 'TaskScheduleTaskDetailsArgsDict']]] = None,
541
+ time_created: Optional[pulumi.Input[_builtins.str]] = None,
542
+ time_last_run: Optional[pulumi.Input[_builtins.str]] = None,
543
+ time_last_updated: Optional[pulumi.Input[_builtins.str]] = None,
544
+ time_next_run: Optional[pulumi.Input[_builtins.str]] = None) -> 'TaskSchedule':
545
+ """
546
+ Get an existing TaskSchedule resource's state with the given name, id, and optional extra
547
+ properties used to qualify the lookup.
548
+
549
+ :param str resource_name: The unique name of the resulting resource.
550
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
551
+ :param pulumi.ResourceOptions opts: Options for the resource.
552
+ :param pulumi.Input[_builtins.str] created_by: Name of the task creator.
553
+ :param pulumi.Input[_builtins.str] execution_recurrences: (Updatable) Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
554
+ :param pulumi.Input[_builtins.str] fleet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
555
+ :param pulumi.Input[_builtins.str] name: The name of the task schedule.
556
+ :param pulumi.Input[_builtins.str] state: All possible status of task schedule.
557
+ :param pulumi.Input[Union['TaskScheduleTaskDetailsArgs', 'TaskScheduleTaskDetailsArgsDict']] task_details: (Updatable) The minimum details of a task.
558
+ :param pulumi.Input[_builtins.str] time_created: The date and time the task schedule was created (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
559
+ :param pulumi.Input[_builtins.str] time_last_run: The date and time the task schedule ran last (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
560
+ :param pulumi.Input[_builtins.str] time_last_updated: The date and time the task schedule was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
561
+ :param pulumi.Input[_builtins.str] time_next_run: The date and time the task schedule will run next (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
562
+ """
563
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
564
+
565
+ __props__ = _TaskScheduleState.__new__(_TaskScheduleState)
566
+
567
+ __props__.__dict__["created_by"] = created_by
568
+ __props__.__dict__["execution_recurrences"] = execution_recurrences
569
+ __props__.__dict__["fleet_id"] = fleet_id
570
+ __props__.__dict__["name"] = name
571
+ __props__.__dict__["state"] = state
572
+ __props__.__dict__["task_details"] = task_details
573
+ __props__.__dict__["time_created"] = time_created
574
+ __props__.__dict__["time_last_run"] = time_last_run
575
+ __props__.__dict__["time_last_updated"] = time_last_updated
576
+ __props__.__dict__["time_next_run"] = time_next_run
577
+ return TaskSchedule(resource_name, opts=opts, __props__=__props__)
578
+
579
+ @_builtins.property
580
+ @pulumi.getter(name="createdBy")
581
+ def created_by(self) -> pulumi.Output[_builtins.str]:
582
+ """
583
+ Name of the task creator.
584
+ """
585
+ return pulumi.get(self, "created_by")
586
+
587
+ @_builtins.property
588
+ @pulumi.getter(name="executionRecurrences")
589
+ def execution_recurrences(self) -> pulumi.Output[_builtins.str]:
590
+ """
591
+ (Updatable) Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'.
592
+ """
593
+ return pulumi.get(self, "execution_recurrences")
594
+
595
+ @_builtins.property
596
+ @pulumi.getter(name="fleetId")
597
+ def fleet_id(self) -> pulumi.Output[_builtins.str]:
598
+ """
599
+ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
600
+ """
601
+ return pulumi.get(self, "fleet_id")
602
+
603
+ @_builtins.property
604
+ @pulumi.getter
605
+ def name(self) -> pulumi.Output[_builtins.str]:
606
+ """
607
+ The name of the task schedule.
608
+ """
609
+ return pulumi.get(self, "name")
610
+
611
+ @_builtins.property
612
+ @pulumi.getter
613
+ def state(self) -> pulumi.Output[_builtins.str]:
614
+ """
615
+ All possible status of task schedule.
616
+ """
617
+ return pulumi.get(self, "state")
618
+
619
+ @_builtins.property
620
+ @pulumi.getter(name="taskDetails")
621
+ def task_details(self) -> pulumi.Output['outputs.TaskScheduleTaskDetails']:
622
+ """
623
+ (Updatable) The minimum details of a task.
624
+ """
625
+ return pulumi.get(self, "task_details")
626
+
627
+ @_builtins.property
628
+ @pulumi.getter(name="timeCreated")
629
+ def time_created(self) -> pulumi.Output[_builtins.str]:
630
+ """
631
+ The date and time the task schedule was created (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
632
+ """
633
+ return pulumi.get(self, "time_created")
634
+
635
+ @_builtins.property
636
+ @pulumi.getter(name="timeLastRun")
637
+ def time_last_run(self) -> pulumi.Output[_builtins.str]:
638
+ """
639
+ The date and time the task schedule ran last (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
640
+ """
641
+ return pulumi.get(self, "time_last_run")
642
+
643
+ @_builtins.property
644
+ @pulumi.getter(name="timeLastUpdated")
645
+ def time_last_updated(self) -> pulumi.Output[_builtins.str]:
646
+ """
647
+ The date and time the task schedule was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
648
+ """
649
+ return pulumi.get(self, "time_last_updated")
650
+
651
+ @_builtins.property
652
+ @pulumi.getter(name="timeNextRun")
653
+ def time_next_run(self) -> pulumi.Output[_builtins.str]:
654
+ """
655
+ The date and time the task schedule will run next (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
656
+ """
657
+ return pulumi.get(self, "time_next_run")
658
+