pulumi-oci 2.5.0a1721976101__py3-none-any.whl → 2.5.0a1722606028__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 (76) hide show
  1. pulumi_oci/__init__.py +59 -32
  2. pulumi_oci/bigdataservice/bds_instance.py +47 -0
  3. pulumi_oci/bigdataservice/get_bds_instance.py +11 -1
  4. pulumi_oci/bigdataservice/outputs.py +7 -0
  5. pulumi_oci/core/__init__.py +3 -0
  6. pulumi_oci/core/_inputs.py +40 -0
  7. pulumi_oci/core/get_instance_maintenance_event.py +414 -0
  8. pulumi_oci/core/get_instance_maintenance_events.py +250 -0
  9. pulumi_oci/core/instance_maintenance_event.py +1022 -0
  10. pulumi_oci/core/outputs.py +314 -0
  11. pulumi_oci/database/autonomous_database.py +28 -0
  12. pulumi_oci/database/get_autonomous_database.py +14 -1
  13. pulumi_oci/database/outputs.py +22 -0
  14. pulumi_oci/databasemigration/_inputs.py +184 -0
  15. pulumi_oci/databasemigration/job.py +99 -24
  16. pulumi_oci/databasemigration/outputs.py +171 -0
  17. pulumi_oci/datasafe/__init__.py +2 -4
  18. pulumi_oci/datasafe/_inputs.py +55 -0
  19. pulumi_oci/datasafe/alert.py +56 -0
  20. pulumi_oci/datasafe/alert_policy.py +745 -0
  21. pulumi_oci/datasafe/alert_policy_rule.py +446 -0
  22. pulumi_oci/datasafe/get_alert.py +27 -1
  23. pulumi_oci/datasafe/get_alert_policy.py +26 -2
  24. pulumi_oci/datasafe/get_alert_policy_rule.py +94 -18
  25. pulumi_oci/datasafe/get_report.py +14 -1
  26. pulumi_oci/datasafe/get_report_definition.py +14 -1
  27. pulumi_oci/datasafe/get_target_alert_policy_association.py +15 -2
  28. pulumi_oci/datasafe/outputs.py +231 -27
  29. pulumi_oci/datasafe/report.py +28 -0
  30. pulumi_oci/datasafe/report_definition.py +28 -0
  31. pulumi_oci/datasafe/target_alert_policy_association.py +28 -0
  32. pulumi_oci/fleetsoftwareupdate/__init__.py +15 -0
  33. pulumi_oci/fleetsoftwareupdate/_inputs.py +553 -0
  34. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +514 -0
  35. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +812 -0
  36. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +225 -0
  37. pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +141 -0
  38. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +325 -0
  39. pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +167 -0
  40. pulumi_oci/fleetsoftwareupdate/outputs.py +1481 -0
  41. pulumi_oci/generativeai/get_dedicated_ai_cluster.py +3 -0
  42. pulumi_oci/generativeai/get_dedicated_ai_clusters.py +3 -0
  43. pulumi_oci/generativeai/get_endpoint.py +6 -9
  44. pulumi_oci/generativeai/get_endpoints.py +3 -3
  45. pulumi_oci/generativeai/get_model.py +36 -6
  46. pulumi_oci/generativeai/get_models.py +6 -0
  47. pulumi_oci/generativeai/outputs.py +228 -16
  48. pulumi_oci/identity/__init__.py +3 -0
  49. pulumi_oci/identity/_inputs.py +1029 -0
  50. pulumi_oci/identity/domains_social_identity_provider.py +4628 -0
  51. pulumi_oci/identity/get_domains_social_identity_provider.py +664 -0
  52. pulumi_oci/identity/get_domains_social_identity_providers.py +276 -0
  53. pulumi_oci/identity/outputs.py +19544 -17378
  54. pulumi_oci/networkfirewall/__init__.py +3 -0
  55. pulumi_oci/networkfirewall/_inputs.py +150 -0
  56. pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rule.py +227 -0
  57. pulumi_oci/networkfirewall/get_network_firewall_policy_tunnel_inspection_rules.py +167 -0
  58. pulumi_oci/networkfirewall/network_firewall_policy_tunnel_inspection_rule.py +605 -0
  59. pulumi_oci/networkfirewall/outputs.py +457 -0
  60. pulumi_oci/pulumi-plugin.json +1 -1
  61. pulumi_oci/redis/get_redis_cluster.py +1 -1
  62. pulumi_oci/redis/outputs.py +2 -2
  63. pulumi_oci/redis/redis_cluster.py +7 -7
  64. pulumi_oci/stackmonitoring/_inputs.py +2 -2
  65. pulumi_oci/stackmonitoring/baselineable_metric.py +76 -28
  66. pulumi_oci/stackmonitoring/get_baselineable_metric.py +14 -1
  67. pulumi_oci/stackmonitoring/get_baselineable_metrics.py +45 -5
  68. pulumi_oci/stackmonitoring/outputs.py +19 -8
  69. {pulumi_oci-2.5.0a1721976101.dist-info → pulumi_oci-2.5.0a1722606028.dist-info}/METADATA +1 -1
  70. {pulumi_oci-2.5.0a1721976101.dist-info → pulumi_oci-2.5.0a1722606028.dist-info}/RECORD +72 -56
  71. {pulumi_oci-2.5.0a1721976101.dist-info → pulumi_oci-2.5.0a1722606028.dist-info}/WHEEL +1 -1
  72. pulumi_oci/datasafe/masking_policy_health_report_management.py +0 -453
  73. pulumi_oci/datasafe/masking_report_management.py +0 -693
  74. pulumi_oci/datasafe/set_security_assessment_baseline_management.py +0 -304
  75. pulumi_oci/datasafe/set_user_assessment_baseline_management.py +0 -304
  76. {pulumi_oci-2.5.0a1721976101.dist-info → pulumi_oci-2.5.0a1722606028.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,414 @@
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+
12
+ __all__ = [
13
+ 'GetInstanceMaintenanceEventResult',
14
+ 'AwaitableGetInstanceMaintenanceEventResult',
15
+ 'get_instance_maintenance_event',
16
+ 'get_instance_maintenance_event_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class GetInstanceMaintenanceEventResult:
21
+ """
22
+ A collection of values returned by getInstanceMaintenanceEvent.
23
+ """
24
+ def __init__(__self__, additional_details=None, alternative_resolution_action=None, alternative_resolution_actions=None, can_delete_local_storage=None, can_reschedule=None, compartment_id=None, correlation_token=None, created_by=None, defined_tags=None, description=None, display_name=None, estimated_duration=None, freeform_tags=None, id=None, instance_action=None, instance_id=None, instance_maintenance_event_id=None, maintenance_category=None, maintenance_reason=None, start_window_duration=None, state=None, time_created=None, time_finished=None, time_hard_due_date=None, time_started=None, time_window_start=None):
25
+ if additional_details and not isinstance(additional_details, dict):
26
+ raise TypeError("Expected argument 'additional_details' to be a dict")
27
+ pulumi.set(__self__, "additional_details", additional_details)
28
+ if alternative_resolution_action and not isinstance(alternative_resolution_action, str):
29
+ raise TypeError("Expected argument 'alternative_resolution_action' to be a str")
30
+ pulumi.set(__self__, "alternative_resolution_action", alternative_resolution_action)
31
+ if alternative_resolution_actions and not isinstance(alternative_resolution_actions, list):
32
+ raise TypeError("Expected argument 'alternative_resolution_actions' to be a list")
33
+ pulumi.set(__self__, "alternative_resolution_actions", alternative_resolution_actions)
34
+ if can_delete_local_storage and not isinstance(can_delete_local_storage, bool):
35
+ raise TypeError("Expected argument 'can_delete_local_storage' to be a bool")
36
+ pulumi.set(__self__, "can_delete_local_storage", can_delete_local_storage)
37
+ if can_reschedule and not isinstance(can_reschedule, bool):
38
+ raise TypeError("Expected argument 'can_reschedule' to be a bool")
39
+ pulumi.set(__self__, "can_reschedule", can_reschedule)
40
+ if compartment_id and not isinstance(compartment_id, str):
41
+ raise TypeError("Expected argument 'compartment_id' to be a str")
42
+ pulumi.set(__self__, "compartment_id", compartment_id)
43
+ if correlation_token and not isinstance(correlation_token, str):
44
+ raise TypeError("Expected argument 'correlation_token' to be a str")
45
+ pulumi.set(__self__, "correlation_token", correlation_token)
46
+ if created_by and not isinstance(created_by, str):
47
+ raise TypeError("Expected argument 'created_by' to be a str")
48
+ pulumi.set(__self__, "created_by", created_by)
49
+ if defined_tags and not isinstance(defined_tags, dict):
50
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
51
+ pulumi.set(__self__, "defined_tags", defined_tags)
52
+ if description and not isinstance(description, str):
53
+ raise TypeError("Expected argument 'description' to be a str")
54
+ pulumi.set(__self__, "description", description)
55
+ if display_name and not isinstance(display_name, str):
56
+ raise TypeError("Expected argument 'display_name' to be a str")
57
+ pulumi.set(__self__, "display_name", display_name)
58
+ if estimated_duration and not isinstance(estimated_duration, str):
59
+ raise TypeError("Expected argument 'estimated_duration' to be a str")
60
+ pulumi.set(__self__, "estimated_duration", estimated_duration)
61
+ if freeform_tags and not isinstance(freeform_tags, dict):
62
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
63
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
64
+ if id and not isinstance(id, str):
65
+ raise TypeError("Expected argument 'id' to be a str")
66
+ pulumi.set(__self__, "id", id)
67
+ if instance_action and not isinstance(instance_action, str):
68
+ raise TypeError("Expected argument 'instance_action' to be a str")
69
+ pulumi.set(__self__, "instance_action", instance_action)
70
+ if instance_id and not isinstance(instance_id, str):
71
+ raise TypeError("Expected argument 'instance_id' to be a str")
72
+ pulumi.set(__self__, "instance_id", instance_id)
73
+ if instance_maintenance_event_id and not isinstance(instance_maintenance_event_id, str):
74
+ raise TypeError("Expected argument 'instance_maintenance_event_id' to be a str")
75
+ pulumi.set(__self__, "instance_maintenance_event_id", instance_maintenance_event_id)
76
+ if maintenance_category and not isinstance(maintenance_category, str):
77
+ raise TypeError("Expected argument 'maintenance_category' to be a str")
78
+ pulumi.set(__self__, "maintenance_category", maintenance_category)
79
+ if maintenance_reason and not isinstance(maintenance_reason, str):
80
+ raise TypeError("Expected argument 'maintenance_reason' to be a str")
81
+ pulumi.set(__self__, "maintenance_reason", maintenance_reason)
82
+ if start_window_duration and not isinstance(start_window_duration, str):
83
+ raise TypeError("Expected argument 'start_window_duration' to be a str")
84
+ pulumi.set(__self__, "start_window_duration", start_window_duration)
85
+ if state and not isinstance(state, str):
86
+ raise TypeError("Expected argument 'state' to be a str")
87
+ pulumi.set(__self__, "state", state)
88
+ if time_created and not isinstance(time_created, str):
89
+ raise TypeError("Expected argument 'time_created' to be a str")
90
+ pulumi.set(__self__, "time_created", time_created)
91
+ if time_finished and not isinstance(time_finished, str):
92
+ raise TypeError("Expected argument 'time_finished' to be a str")
93
+ pulumi.set(__self__, "time_finished", time_finished)
94
+ if time_hard_due_date and not isinstance(time_hard_due_date, str):
95
+ raise TypeError("Expected argument 'time_hard_due_date' to be a str")
96
+ pulumi.set(__self__, "time_hard_due_date", time_hard_due_date)
97
+ if time_started and not isinstance(time_started, str):
98
+ raise TypeError("Expected argument 'time_started' to be a str")
99
+ pulumi.set(__self__, "time_started", time_started)
100
+ if time_window_start and not isinstance(time_window_start, str):
101
+ raise TypeError("Expected argument 'time_window_start' to be a str")
102
+ pulumi.set(__self__, "time_window_start", time_window_start)
103
+
104
+ @property
105
+ @pulumi.getter(name="additionalDetails")
106
+ def additional_details(self) -> Mapping[str, Any]:
107
+ """
108
+ Additional details of the maintenance in the form of json.
109
+ """
110
+ return pulumi.get(self, "additional_details")
111
+
112
+ @property
113
+ @pulumi.getter(name="alternativeResolutionAction")
114
+ def alternative_resolution_action(self) -> str:
115
+ return pulumi.get(self, "alternative_resolution_action")
116
+
117
+ @property
118
+ @pulumi.getter(name="alternativeResolutionActions")
119
+ def alternative_resolution_actions(self) -> Sequence[str]:
120
+ """
121
+ These are alternative actions to the requested instanceAction that can be taken to resolve the Maintenance.
122
+ """
123
+ return pulumi.get(self, "alternative_resolution_actions")
124
+
125
+ @property
126
+ @pulumi.getter(name="canDeleteLocalStorage")
127
+ def can_delete_local_storage(self) -> bool:
128
+ """
129
+ For Instances that have local storage, this field is set to true when local storage will be deleted as a result of the Maintenance.
130
+ """
131
+ return pulumi.get(self, "can_delete_local_storage")
132
+
133
+ @property
134
+ @pulumi.getter(name="canReschedule")
135
+ def can_reschedule(self) -> bool:
136
+ """
137
+ Indicates if this MaintenanceEvent is capable of being rescheduled up to the timeHardDueDate.
138
+ """
139
+ return pulumi.get(self, "can_reschedule")
140
+
141
+ @property
142
+ @pulumi.getter(name="compartmentId")
143
+ def compartment_id(self) -> str:
144
+ """
145
+ The OCID of the compartment that contains the instance.
146
+ """
147
+ return pulumi.get(self, "compartment_id")
148
+
149
+ @property
150
+ @pulumi.getter(name="correlationToken")
151
+ def correlation_token(self) -> str:
152
+ """
153
+ A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
154
+ """
155
+ return pulumi.get(self, "correlation_token")
156
+
157
+ @property
158
+ @pulumi.getter(name="createdBy")
159
+ def created_by(self) -> str:
160
+ """
161
+ The creator of the maintenance event.
162
+ """
163
+ return pulumi.get(self, "created_by")
164
+
165
+ @property
166
+ @pulumi.getter(name="definedTags")
167
+ def defined_tags(self) -> Mapping[str, Any]:
168
+ """
169
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
170
+ """
171
+ return pulumi.get(self, "defined_tags")
172
+
173
+ @property
174
+ @pulumi.getter
175
+ def description(self) -> str:
176
+ """
177
+ It is the descriptive information about the maintenance taking place on the customer instance.
178
+ """
179
+ return pulumi.get(self, "description")
180
+
181
+ @property
182
+ @pulumi.getter(name="displayName")
183
+ def display_name(self) -> str:
184
+ """
185
+ A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
186
+ """
187
+ return pulumi.get(self, "display_name")
188
+
189
+ @property
190
+ @pulumi.getter(name="estimatedDuration")
191
+ def estimated_duration(self) -> str:
192
+ """
193
+ This is the estimated duration of the Maintenance, once the Maintenance has entered the STARTED state.
194
+ """
195
+ return pulumi.get(self, "estimated_duration")
196
+
197
+ @property
198
+ @pulumi.getter(name="freeformTags")
199
+ def freeform_tags(self) -> Mapping[str, Any]:
200
+ """
201
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
202
+ """
203
+ return pulumi.get(self, "freeform_tags")
204
+
205
+ @property
206
+ @pulumi.getter
207
+ def id(self) -> str:
208
+ """
209
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance event.
210
+ """
211
+ return pulumi.get(self, "id")
212
+
213
+ @property
214
+ @pulumi.getter(name="instanceAction")
215
+ def instance_action(self) -> str:
216
+ """
217
+ This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
218
+ """
219
+ return pulumi.get(self, "instance_action")
220
+
221
+ @property
222
+ @pulumi.getter(name="instanceId")
223
+ def instance_id(self) -> str:
224
+ """
225
+ The OCID of the instance.
226
+ """
227
+ return pulumi.get(self, "instance_id")
228
+
229
+ @property
230
+ @pulumi.getter(name="instanceMaintenanceEventId")
231
+ def instance_maintenance_event_id(self) -> str:
232
+ return pulumi.get(self, "instance_maintenance_event_id")
233
+
234
+ @property
235
+ @pulumi.getter(name="maintenanceCategory")
236
+ def maintenance_category(self) -> str:
237
+ """
238
+ This indicates the priority and allowed actions for this Maintenance. Higher priority forms of Maintenance have tighter restrictions and may not be rescheduled, while lower priority/severity Maintenance can be rescheduled, deferred, or even cancelled. Please see the [Instance Maintenance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details.
239
+ """
240
+ return pulumi.get(self, "maintenance_category")
241
+
242
+ @property
243
+ @pulumi.getter(name="maintenanceReason")
244
+ def maintenance_reason(self) -> str:
245
+ """
246
+ This is the reason that Maintenance is being performed. See [Instance Maintenance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/placeholder.htm) documentation for details.
247
+ """
248
+ return pulumi.get(self, "maintenance_reason")
249
+
250
+ @property
251
+ @pulumi.getter(name="startWindowDuration")
252
+ def start_window_duration(self) -> str:
253
+ """
254
+ The duration of the time window Maintenance is scheduled to begin within.
255
+ """
256
+ return pulumi.get(self, "start_window_duration")
257
+
258
+ @property
259
+ @pulumi.getter
260
+ def state(self) -> str:
261
+ """
262
+ The current state of the maintenance event.
263
+ """
264
+ return pulumi.get(self, "state")
265
+
266
+ @property
267
+ @pulumi.getter(name="timeCreated")
268
+ def time_created(self) -> str:
269
+ """
270
+ The date and time the maintenance event was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
271
+ """
272
+ return pulumi.get(self, "time_created")
273
+
274
+ @property
275
+ @pulumi.getter(name="timeFinished")
276
+ def time_finished(self) -> str:
277
+ """
278
+ The time at which the Maintenance actually finished.
279
+ """
280
+ return pulumi.get(self, "time_finished")
281
+
282
+ @property
283
+ @pulumi.getter(name="timeHardDueDate")
284
+ def time_hard_due_date(self) -> str:
285
+ """
286
+ It is the scheduled hard due date and time of the maintenance event. The maintenance event will happen at this time and the due date will not be extended.
287
+ """
288
+ return pulumi.get(self, "time_hard_due_date")
289
+
290
+ @property
291
+ @pulumi.getter(name="timeStarted")
292
+ def time_started(self) -> str:
293
+ """
294
+ The time at which the Maintenance actually started.
295
+ """
296
+ return pulumi.get(self, "time_started")
297
+
298
+ @property
299
+ @pulumi.getter(name="timeWindowStart")
300
+ def time_window_start(self) -> str:
301
+ """
302
+ The beginning of the time window when Maintenance is scheduled to begin. The Maintenance will not begin before this time.
303
+ """
304
+ return pulumi.get(self, "time_window_start")
305
+
306
+
307
+ class AwaitableGetInstanceMaintenanceEventResult(GetInstanceMaintenanceEventResult):
308
+ # pylint: disable=using-constant-test
309
+ def __await__(self):
310
+ if False:
311
+ yield self
312
+ return GetInstanceMaintenanceEventResult(
313
+ additional_details=self.additional_details,
314
+ alternative_resolution_action=self.alternative_resolution_action,
315
+ alternative_resolution_actions=self.alternative_resolution_actions,
316
+ can_delete_local_storage=self.can_delete_local_storage,
317
+ can_reschedule=self.can_reschedule,
318
+ compartment_id=self.compartment_id,
319
+ correlation_token=self.correlation_token,
320
+ created_by=self.created_by,
321
+ defined_tags=self.defined_tags,
322
+ description=self.description,
323
+ display_name=self.display_name,
324
+ estimated_duration=self.estimated_duration,
325
+ freeform_tags=self.freeform_tags,
326
+ id=self.id,
327
+ instance_action=self.instance_action,
328
+ instance_id=self.instance_id,
329
+ instance_maintenance_event_id=self.instance_maintenance_event_id,
330
+ maintenance_category=self.maintenance_category,
331
+ maintenance_reason=self.maintenance_reason,
332
+ start_window_duration=self.start_window_duration,
333
+ state=self.state,
334
+ time_created=self.time_created,
335
+ time_finished=self.time_finished,
336
+ time_hard_due_date=self.time_hard_due_date,
337
+ time_started=self.time_started,
338
+ time_window_start=self.time_window_start)
339
+
340
+
341
+ def get_instance_maintenance_event(instance_maintenance_event_id: Optional[str] = None,
342
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceMaintenanceEventResult:
343
+ """
344
+ This data source provides details about a specific Instance Maintenance Event resource in Oracle Cloud Infrastructure Core service.
345
+
346
+ Gets the maintenance event for the given instance.
347
+
348
+ ## Example Usage
349
+
350
+ ```python
351
+ import pulumi
352
+ import pulumi_oci as oci
353
+
354
+ test_instance_maintenance_event = oci.Core.get_instance_maintenance_event(instance_maintenance_event_id=test_instance_maintenance_event_oci_core_instance_maintenance_event["id"])
355
+ ```
356
+
357
+
358
+ :param str instance_maintenance_event_id: The OCID of the instance maintenance event.
359
+ """
360
+ __args__ = dict()
361
+ __args__['instanceMaintenanceEventId'] = instance_maintenance_event_id
362
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
363
+ __ret__ = pulumi.runtime.invoke('oci:Core/getInstanceMaintenanceEvent:getInstanceMaintenanceEvent', __args__, opts=opts, typ=GetInstanceMaintenanceEventResult).value
364
+
365
+ return AwaitableGetInstanceMaintenanceEventResult(
366
+ additional_details=pulumi.get(__ret__, 'additional_details'),
367
+ alternative_resolution_action=pulumi.get(__ret__, 'alternative_resolution_action'),
368
+ alternative_resolution_actions=pulumi.get(__ret__, 'alternative_resolution_actions'),
369
+ can_delete_local_storage=pulumi.get(__ret__, 'can_delete_local_storage'),
370
+ can_reschedule=pulumi.get(__ret__, 'can_reschedule'),
371
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
372
+ correlation_token=pulumi.get(__ret__, 'correlation_token'),
373
+ created_by=pulumi.get(__ret__, 'created_by'),
374
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
375
+ description=pulumi.get(__ret__, 'description'),
376
+ display_name=pulumi.get(__ret__, 'display_name'),
377
+ estimated_duration=pulumi.get(__ret__, 'estimated_duration'),
378
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
379
+ id=pulumi.get(__ret__, 'id'),
380
+ instance_action=pulumi.get(__ret__, 'instance_action'),
381
+ instance_id=pulumi.get(__ret__, 'instance_id'),
382
+ instance_maintenance_event_id=pulumi.get(__ret__, 'instance_maintenance_event_id'),
383
+ maintenance_category=pulumi.get(__ret__, 'maintenance_category'),
384
+ maintenance_reason=pulumi.get(__ret__, 'maintenance_reason'),
385
+ start_window_duration=pulumi.get(__ret__, 'start_window_duration'),
386
+ state=pulumi.get(__ret__, 'state'),
387
+ time_created=pulumi.get(__ret__, 'time_created'),
388
+ time_finished=pulumi.get(__ret__, 'time_finished'),
389
+ time_hard_due_date=pulumi.get(__ret__, 'time_hard_due_date'),
390
+ time_started=pulumi.get(__ret__, 'time_started'),
391
+ time_window_start=pulumi.get(__ret__, 'time_window_start'))
392
+
393
+
394
+ @_utilities.lift_output_func(get_instance_maintenance_event)
395
+ def get_instance_maintenance_event_output(instance_maintenance_event_id: Optional[pulumi.Input[str]] = None,
396
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceMaintenanceEventResult]:
397
+ """
398
+ This data source provides details about a specific Instance Maintenance Event resource in Oracle Cloud Infrastructure Core service.
399
+
400
+ Gets the maintenance event for the given instance.
401
+
402
+ ## Example Usage
403
+
404
+ ```python
405
+ import pulumi
406
+ import pulumi_oci as oci
407
+
408
+ test_instance_maintenance_event = oci.Core.get_instance_maintenance_event(instance_maintenance_event_id=test_instance_maintenance_event_oci_core_instance_maintenance_event["id"])
409
+ ```
410
+
411
+
412
+ :param str instance_maintenance_event_id: The OCID of the instance maintenance event.
413
+ """
414
+ ...
@@ -0,0 +1,250 @@
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+ from ._inputs import *
13
+
14
+ __all__ = [
15
+ 'GetInstanceMaintenanceEventsResult',
16
+ 'AwaitableGetInstanceMaintenanceEventsResult',
17
+ 'get_instance_maintenance_events',
18
+ 'get_instance_maintenance_events_output',
19
+ ]
20
+
21
+ @pulumi.output_type
22
+ class GetInstanceMaintenanceEventsResult:
23
+ """
24
+ A collection of values returned by getInstanceMaintenanceEvents.
25
+ """
26
+ def __init__(__self__, compartment_id=None, correlation_token=None, filters=None, id=None, instance_action=None, instance_id=None, instance_maintenance_events=None, state=None, time_window_start_greater_than_or_equal_to=None, time_window_start_less_than_or_equal_to=None):
27
+ if compartment_id and not isinstance(compartment_id, str):
28
+ raise TypeError("Expected argument 'compartment_id' to be a str")
29
+ pulumi.set(__self__, "compartment_id", compartment_id)
30
+ if correlation_token and not isinstance(correlation_token, str):
31
+ raise TypeError("Expected argument 'correlation_token' to be a str")
32
+ pulumi.set(__self__, "correlation_token", correlation_token)
33
+ if filters and not isinstance(filters, list):
34
+ raise TypeError("Expected argument 'filters' to be a list")
35
+ pulumi.set(__self__, "filters", filters)
36
+ if id and not isinstance(id, str):
37
+ raise TypeError("Expected argument 'id' to be a str")
38
+ pulumi.set(__self__, "id", id)
39
+ if instance_action and not isinstance(instance_action, str):
40
+ raise TypeError("Expected argument 'instance_action' to be a str")
41
+ pulumi.set(__self__, "instance_action", instance_action)
42
+ if instance_id and not isinstance(instance_id, str):
43
+ raise TypeError("Expected argument 'instance_id' to be a str")
44
+ pulumi.set(__self__, "instance_id", instance_id)
45
+ if instance_maintenance_events and not isinstance(instance_maintenance_events, list):
46
+ raise TypeError("Expected argument 'instance_maintenance_events' to be a list")
47
+ pulumi.set(__self__, "instance_maintenance_events", instance_maintenance_events)
48
+ if state and not isinstance(state, str):
49
+ raise TypeError("Expected argument 'state' to be a str")
50
+ pulumi.set(__self__, "state", state)
51
+ if time_window_start_greater_than_or_equal_to and not isinstance(time_window_start_greater_than_or_equal_to, str):
52
+ raise TypeError("Expected argument 'time_window_start_greater_than_or_equal_to' to be a str")
53
+ pulumi.set(__self__, "time_window_start_greater_than_or_equal_to", time_window_start_greater_than_or_equal_to)
54
+ if time_window_start_less_than_or_equal_to and not isinstance(time_window_start_less_than_or_equal_to, str):
55
+ raise TypeError("Expected argument 'time_window_start_less_than_or_equal_to' to be a str")
56
+ pulumi.set(__self__, "time_window_start_less_than_or_equal_to", time_window_start_less_than_or_equal_to)
57
+
58
+ @property
59
+ @pulumi.getter(name="compartmentId")
60
+ def compartment_id(self) -> str:
61
+ """
62
+ The OCID of the compartment that contains the instance.
63
+ """
64
+ return pulumi.get(self, "compartment_id")
65
+
66
+ @property
67
+ @pulumi.getter(name="correlationToken")
68
+ def correlation_token(self) -> Optional[str]:
69
+ """
70
+ A unique identifier that will group Instances that have a relationship with one another and must be scheduled together for the Maintenance to proceed. Any Instances that have a relationship with one another from a Maintenance perspective will have a matching correlationToken.
71
+ """
72
+ return pulumi.get(self, "correlation_token")
73
+
74
+ @property
75
+ @pulumi.getter
76
+ def filters(self) -> Optional[Sequence['outputs.GetInstanceMaintenanceEventsFilterResult']]:
77
+ return pulumi.get(self, "filters")
78
+
79
+ @property
80
+ @pulumi.getter
81
+ def id(self) -> str:
82
+ """
83
+ The provider-assigned unique ID for this managed resource.
84
+ """
85
+ return pulumi.get(self, "id")
86
+
87
+ @property
88
+ @pulumi.getter(name="instanceAction")
89
+ def instance_action(self) -> Optional[str]:
90
+ """
91
+ This is the action that will be performed on the Instance by Oracle Cloud Infrastructure when the Maintenance begins.
92
+ """
93
+ return pulumi.get(self, "instance_action")
94
+
95
+ @property
96
+ @pulumi.getter(name="instanceId")
97
+ def instance_id(self) -> Optional[str]:
98
+ """
99
+ The OCID of the instance.
100
+ """
101
+ return pulumi.get(self, "instance_id")
102
+
103
+ @property
104
+ @pulumi.getter(name="instanceMaintenanceEvents")
105
+ def instance_maintenance_events(self) -> Sequence['outputs.GetInstanceMaintenanceEventsInstanceMaintenanceEventResult']:
106
+ """
107
+ The list of instance_maintenance_events.
108
+ """
109
+ return pulumi.get(self, "instance_maintenance_events")
110
+
111
+ @property
112
+ @pulumi.getter
113
+ def state(self) -> Optional[str]:
114
+ """
115
+ The current state of the maintenance event.
116
+ """
117
+ return pulumi.get(self, "state")
118
+
119
+ @property
120
+ @pulumi.getter(name="timeWindowStartGreaterThanOrEqualTo")
121
+ def time_window_start_greater_than_or_equal_to(self) -> Optional[str]:
122
+ return pulumi.get(self, "time_window_start_greater_than_or_equal_to")
123
+
124
+ @property
125
+ @pulumi.getter(name="timeWindowStartLessThanOrEqualTo")
126
+ def time_window_start_less_than_or_equal_to(self) -> Optional[str]:
127
+ return pulumi.get(self, "time_window_start_less_than_or_equal_to")
128
+
129
+
130
+ class AwaitableGetInstanceMaintenanceEventsResult(GetInstanceMaintenanceEventsResult):
131
+ # pylint: disable=using-constant-test
132
+ def __await__(self):
133
+ if False:
134
+ yield self
135
+ return GetInstanceMaintenanceEventsResult(
136
+ compartment_id=self.compartment_id,
137
+ correlation_token=self.correlation_token,
138
+ filters=self.filters,
139
+ id=self.id,
140
+ instance_action=self.instance_action,
141
+ instance_id=self.instance_id,
142
+ instance_maintenance_events=self.instance_maintenance_events,
143
+ state=self.state,
144
+ time_window_start_greater_than_or_equal_to=self.time_window_start_greater_than_or_equal_to,
145
+ time_window_start_less_than_or_equal_to=self.time_window_start_less_than_or_equal_to)
146
+
147
+
148
+ def get_instance_maintenance_events(compartment_id: Optional[str] = None,
149
+ correlation_token: Optional[str] = None,
150
+ filters: Optional[Sequence[pulumi.InputType['GetInstanceMaintenanceEventsFilterArgs']]] = None,
151
+ instance_action: Optional[str] = None,
152
+ instance_id: Optional[str] = None,
153
+ state: Optional[str] = None,
154
+ time_window_start_greater_than_or_equal_to: Optional[str] = None,
155
+ time_window_start_less_than_or_equal_to: Optional[str] = None,
156
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInstanceMaintenanceEventsResult:
157
+ """
158
+ This data source provides the list of Instance Maintenance Events in Oracle Cloud Infrastructure Core service.
159
+
160
+ Gets a list of all the maintenance events for the given instance.
161
+
162
+ ## Example Usage
163
+
164
+ ```python
165
+ import pulumi
166
+ import pulumi_oci as oci
167
+
168
+ test_instance_maintenance_events = oci.Core.get_instance_maintenance_events(compartment_id=compartment_id,
169
+ correlation_token=instance_maintenance_event_correlation_token,
170
+ instance_action=instance_maintenance_event_instance_action,
171
+ instance_id=test_instance["id"],
172
+ state=instance_maintenance_event_state,
173
+ time_window_start_greater_than_or_equal_to=instance_maintenance_event_time_window_start_greater_than_or_equal_to,
174
+ time_window_start_less_than_or_equal_to=instance_maintenance_event_time_window_start_less_than_or_equal_to)
175
+ ```
176
+
177
+
178
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
179
+ :param str correlation_token: A filter to only return resources that have a matching correlationToken.
180
+ :param str instance_action: A filter to only return resources that match the given instance action.
181
+ :param str instance_id: The OCID of the instance.
182
+ :param str state: A filter to only return resources that match the given lifecycle state.
183
+ :param str time_window_start_greater_than_or_equal_to: Starting range to return the maintenances which are not completed (date-time is in [RFC3339](https://tools.ietf.org/html/rfc3339) format).
184
+ :param str time_window_start_less_than_or_equal_to: Ending range to return the maintenances which are not completed (date-time is in [RFC3339](https://tools.ietf.org/html/rfc3339) format).
185
+ """
186
+ __args__ = dict()
187
+ __args__['compartmentId'] = compartment_id
188
+ __args__['correlationToken'] = correlation_token
189
+ __args__['filters'] = filters
190
+ __args__['instanceAction'] = instance_action
191
+ __args__['instanceId'] = instance_id
192
+ __args__['state'] = state
193
+ __args__['timeWindowStartGreaterThanOrEqualTo'] = time_window_start_greater_than_or_equal_to
194
+ __args__['timeWindowStartLessThanOrEqualTo'] = time_window_start_less_than_or_equal_to
195
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
196
+ __ret__ = pulumi.runtime.invoke('oci:Core/getInstanceMaintenanceEvents:getInstanceMaintenanceEvents', __args__, opts=opts, typ=GetInstanceMaintenanceEventsResult).value
197
+
198
+ return AwaitableGetInstanceMaintenanceEventsResult(
199
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
200
+ correlation_token=pulumi.get(__ret__, 'correlation_token'),
201
+ filters=pulumi.get(__ret__, 'filters'),
202
+ id=pulumi.get(__ret__, 'id'),
203
+ instance_action=pulumi.get(__ret__, 'instance_action'),
204
+ instance_id=pulumi.get(__ret__, 'instance_id'),
205
+ instance_maintenance_events=pulumi.get(__ret__, 'instance_maintenance_events'),
206
+ state=pulumi.get(__ret__, 'state'),
207
+ time_window_start_greater_than_or_equal_to=pulumi.get(__ret__, 'time_window_start_greater_than_or_equal_to'),
208
+ time_window_start_less_than_or_equal_to=pulumi.get(__ret__, 'time_window_start_less_than_or_equal_to'))
209
+
210
+
211
+ @_utilities.lift_output_func(get_instance_maintenance_events)
212
+ def get_instance_maintenance_events_output(compartment_id: Optional[pulumi.Input[str]] = None,
213
+ correlation_token: Optional[pulumi.Input[Optional[str]]] = None,
214
+ filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetInstanceMaintenanceEventsFilterArgs']]]]] = None,
215
+ instance_action: Optional[pulumi.Input[Optional[str]]] = None,
216
+ instance_id: Optional[pulumi.Input[Optional[str]]] = None,
217
+ state: Optional[pulumi.Input[Optional[str]]] = None,
218
+ time_window_start_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
219
+ time_window_start_less_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
220
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInstanceMaintenanceEventsResult]:
221
+ """
222
+ This data source provides the list of Instance Maintenance Events in Oracle Cloud Infrastructure Core service.
223
+
224
+ Gets a list of all the maintenance events for the given instance.
225
+
226
+ ## Example Usage
227
+
228
+ ```python
229
+ import pulumi
230
+ import pulumi_oci as oci
231
+
232
+ test_instance_maintenance_events = oci.Core.get_instance_maintenance_events(compartment_id=compartment_id,
233
+ correlation_token=instance_maintenance_event_correlation_token,
234
+ instance_action=instance_maintenance_event_instance_action,
235
+ instance_id=test_instance["id"],
236
+ state=instance_maintenance_event_state,
237
+ time_window_start_greater_than_or_equal_to=instance_maintenance_event_time_window_start_greater_than_or_equal_to,
238
+ time_window_start_less_than_or_equal_to=instance_maintenance_event_time_window_start_less_than_or_equal_to)
239
+ ```
240
+
241
+
242
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
243
+ :param str correlation_token: A filter to only return resources that have a matching correlationToken.
244
+ :param str instance_action: A filter to only return resources that match the given instance action.
245
+ :param str instance_id: The OCID of the instance.
246
+ :param str state: A filter to only return resources that match the given lifecycle state.
247
+ :param str time_window_start_greater_than_or_equal_to: Starting range to return the maintenances which are not completed (date-time is in [RFC3339](https://tools.ietf.org/html/rfc3339) format).
248
+ :param str time_window_start_less_than_or_equal_to: Ending range to return the maintenances which are not completed (date-time is in [RFC3339](https://tools.ietf.org/html/rfc3339) format).
249
+ """
250
+ ...