pulumi-oci 2.1.0a1719958917__py3-none-any.whl → 2.2.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 (61) hide show
  1. pulumi_oci/__init__.py +43 -0
  2. pulumi_oci/database/__init__.py +11 -0
  3. pulumi_oci/database/_inputs.py +607 -0
  4. pulumi_oci/database/db_node.py +28 -0
  5. pulumi_oci/database/exadb_vm_cluster.py +1761 -0
  6. pulumi_oci/database/exascale_db_storage_vault.py +787 -0
  7. pulumi_oci/database/get_backups.py +22 -5
  8. pulumi_oci/database/get_db_node.py +14 -1
  9. pulumi_oci/database/get_db_nodes.py +2 -2
  10. pulumi_oci/database/get_exadb_vm_cluster.py +614 -0
  11. pulumi_oci/database/get_exadb_vm_cluster_update.py +226 -0
  12. pulumi_oci/database/get_exadb_vm_cluster_update_history_entries.py +153 -0
  13. pulumi_oci/database/get_exadb_vm_cluster_update_history_entry.py +226 -0
  14. pulumi_oci/database/get_exadb_vm_cluster_updates.py +173 -0
  15. pulumi_oci/database/get_exadb_vm_clusters.py +196 -0
  16. pulumi_oci/database/get_exascale_db_storage_vault.py +301 -0
  17. pulumi_oci/database/get_exascale_db_storage_vaults.py +176 -0
  18. pulumi_oci/database/get_gi_version_minor_versions.py +221 -0
  19. pulumi_oci/database/get_gi_versions.py +22 -5
  20. pulumi_oci/database/outputs.py +2050 -0
  21. pulumi_oci/database/pluggable_database.py +7 -7
  22. pulumi_oci/databasemigration/__init__.py +6 -0
  23. pulumi_oci/databasemigration/_inputs.py +1633 -0
  24. pulumi_oci/databasemigration/connection.py +2019 -0
  25. pulumi_oci/databasemigration/get_connection.py +616 -0
  26. pulumi_oci/databasemigration/get_connections.py +225 -0
  27. pulumi_oci/databasemigration/get_job_advisor_report.py +2 -10
  28. pulumi_oci/databasemigration/get_migration.py +440 -0
  29. pulumi_oci/databasemigration/get_migration_object_types.py +24 -13
  30. pulumi_oci/databasemigration/get_migrations.py +420 -0
  31. pulumi_oci/databasemigration/job.py +16 -20
  32. pulumi_oci/databasemigration/migration.py +1528 -0
  33. pulumi_oci/databasemigration/outputs.py +4447 -76
  34. pulumi_oci/filestorage/_inputs.py +10 -18
  35. pulumi_oci/filestorage/export.py +28 -7
  36. pulumi_oci/filestorage/file_system.py +159 -35
  37. pulumi_oci/filestorage/outputs.py +55 -34
  38. pulumi_oci/generativeai/_inputs.py +50 -2
  39. pulumi_oci/generativeai/dedicated_ai_cluster.py +30 -2
  40. pulumi_oci/generativeai/endpoint.py +2 -2
  41. pulumi_oci/generativeai/get_dedicated_ai_cluster.py +2 -47
  42. pulumi_oci/generativeai/get_dedicated_ai_clusters.py +2 -14
  43. pulumi_oci/generativeai/get_endpoint.py +2 -26
  44. pulumi_oci/generativeai/get_endpoints.py +2 -8
  45. pulumi_oci/generativeai/get_model.py +2 -38
  46. pulumi_oci/generativeai/get_models.py +2 -8
  47. pulumi_oci/generativeai/model.py +2 -2
  48. pulumi_oci/generativeai/outputs.py +86 -310
  49. pulumi_oci/meteringcomputation/_inputs.py +32 -0
  50. pulumi_oci/meteringcomputation/outputs.py +29 -1
  51. pulumi_oci/pulumi-plugin.json +1 -1
  52. pulumi_oci/resourcescheduler/__init__.py +12 -0
  53. pulumi_oci/resourcescheduler/_inputs.py +224 -0
  54. pulumi_oci/resourcescheduler/get_schedule.py +340 -0
  55. pulumi_oci/resourcescheduler/get_schedules.py +193 -0
  56. pulumi_oci/resourcescheduler/outputs.py +687 -0
  57. pulumi_oci/resourcescheduler/schedule.py +977 -0
  58. {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.2.0.dist-info}/METADATA +1 -1
  59. {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.2.0.dist-info}/RECORD +61 -38
  60. {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.2.0.dist-info}/WHEEL +1 -1
  61. {pulumi_oci-2.1.0a1719958917.dist-info → pulumi_oci-2.2.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,340 @@
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
+
13
+ __all__ = [
14
+ 'GetScheduleResult',
15
+ 'AwaitableGetScheduleResult',
16
+ 'get_schedule',
17
+ 'get_schedule_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetScheduleResult:
22
+ """
23
+ A collection of values returned by getSchedule.
24
+ """
25
+ def __init__(__self__, action=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, recurrence_details=None, recurrence_type=None, resource_filters=None, resources=None, schedule_id=None, state=None, system_tags=None, time_created=None, time_ends=None, time_last_run=None, time_next_run=None, time_starts=None, time_updated=None):
26
+ if action and not isinstance(action, str):
27
+ raise TypeError("Expected argument 'action' to be a str")
28
+ pulumi.set(__self__, "action", action)
29
+ if compartment_id and not isinstance(compartment_id, str):
30
+ raise TypeError("Expected argument 'compartment_id' to be a str")
31
+ pulumi.set(__self__, "compartment_id", compartment_id)
32
+ if defined_tags and not isinstance(defined_tags, dict):
33
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
34
+ pulumi.set(__self__, "defined_tags", defined_tags)
35
+ if description and not isinstance(description, str):
36
+ raise TypeError("Expected argument 'description' to be a str")
37
+ pulumi.set(__self__, "description", description)
38
+ if display_name and not isinstance(display_name, str):
39
+ raise TypeError("Expected argument 'display_name' to be a str")
40
+ pulumi.set(__self__, "display_name", display_name)
41
+ if freeform_tags and not isinstance(freeform_tags, dict):
42
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
43
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
44
+ if id and not isinstance(id, str):
45
+ raise TypeError("Expected argument 'id' to be a str")
46
+ pulumi.set(__self__, "id", id)
47
+ if recurrence_details and not isinstance(recurrence_details, str):
48
+ raise TypeError("Expected argument 'recurrence_details' to be a str")
49
+ pulumi.set(__self__, "recurrence_details", recurrence_details)
50
+ if recurrence_type and not isinstance(recurrence_type, str):
51
+ raise TypeError("Expected argument 'recurrence_type' to be a str")
52
+ pulumi.set(__self__, "recurrence_type", recurrence_type)
53
+ if resource_filters and not isinstance(resource_filters, list):
54
+ raise TypeError("Expected argument 'resource_filters' to be a list")
55
+ pulumi.set(__self__, "resource_filters", resource_filters)
56
+ if resources and not isinstance(resources, list):
57
+ raise TypeError("Expected argument 'resources' to be a list")
58
+ pulumi.set(__self__, "resources", resources)
59
+ if schedule_id and not isinstance(schedule_id, str):
60
+ raise TypeError("Expected argument 'schedule_id' to be a str")
61
+ pulumi.set(__self__, "schedule_id", schedule_id)
62
+ if state and not isinstance(state, str):
63
+ raise TypeError("Expected argument 'state' to be a str")
64
+ pulumi.set(__self__, "state", state)
65
+ if system_tags and not isinstance(system_tags, dict):
66
+ raise TypeError("Expected argument 'system_tags' to be a dict")
67
+ pulumi.set(__self__, "system_tags", system_tags)
68
+ if time_created and not isinstance(time_created, str):
69
+ raise TypeError("Expected argument 'time_created' to be a str")
70
+ pulumi.set(__self__, "time_created", time_created)
71
+ if time_ends and not isinstance(time_ends, str):
72
+ raise TypeError("Expected argument 'time_ends' to be a str")
73
+ pulumi.set(__self__, "time_ends", time_ends)
74
+ if time_last_run and not isinstance(time_last_run, str):
75
+ raise TypeError("Expected argument 'time_last_run' to be a str")
76
+ pulumi.set(__self__, "time_last_run", time_last_run)
77
+ if time_next_run and not isinstance(time_next_run, str):
78
+ raise TypeError("Expected argument 'time_next_run' to be a str")
79
+ pulumi.set(__self__, "time_next_run", time_next_run)
80
+ if time_starts and not isinstance(time_starts, str):
81
+ raise TypeError("Expected argument 'time_starts' to be a str")
82
+ pulumi.set(__self__, "time_starts", time_starts)
83
+ if time_updated and not isinstance(time_updated, str):
84
+ raise TypeError("Expected argument 'time_updated' to be a str")
85
+ pulumi.set(__self__, "time_updated", time_updated)
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def action(self) -> str:
90
+ """
91
+ This is the action that will be executed by the schedule.
92
+ """
93
+ return pulumi.get(self, "action")
94
+
95
+ @property
96
+ @pulumi.getter(name="compartmentId")
97
+ def compartment_id(self) -> str:
98
+ """
99
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the schedule is created
100
+ """
101
+ return pulumi.get(self, "compartment_id")
102
+
103
+ @property
104
+ @pulumi.getter(name="definedTags")
105
+ def defined_tags(self) -> Mapping[str, Any]:
106
+ """
107
+ These are 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"}`
108
+ """
109
+ return pulumi.get(self, "defined_tags")
110
+
111
+ @property
112
+ @pulumi.getter
113
+ def description(self) -> str:
114
+ """
115
+ This is the description of the schedule.
116
+ """
117
+ return pulumi.get(self, "description")
118
+
119
+ @property
120
+ @pulumi.getter(name="displayName")
121
+ def display_name(self) -> str:
122
+ """
123
+ This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
124
+ """
125
+ return pulumi.get(self, "display_name")
126
+
127
+ @property
128
+ @pulumi.getter(name="freeformTags")
129
+ def freeform_tags(self) -> Mapping[str, Any]:
130
+ """
131
+ These are 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"}`
132
+ """
133
+ return pulumi.get(self, "freeform_tags")
134
+
135
+ @property
136
+ @pulumi.getter
137
+ def id(self) -> str:
138
+ """
139
+ This is the resource OCID.
140
+ """
141
+ return pulumi.get(self, "id")
142
+
143
+ @property
144
+ @pulumi.getter(name="recurrenceDetails")
145
+ def recurrence_details(self) -> str:
146
+ """
147
+ This is the frequency of recurrence of a schedule. The frequency field can either conform to RFC-5545 formatting or UNIX cron formatting for recurrences, based on the value specified by the recurrenceType field.
148
+ """
149
+ return pulumi.get(self, "recurrence_details")
150
+
151
+ @property
152
+ @pulumi.getter(name="recurrenceType")
153
+ def recurrence_type(self) -> str:
154
+ """
155
+ Type of recurrence of a schedule
156
+ """
157
+ return pulumi.get(self, "recurrence_type")
158
+
159
+ @property
160
+ @pulumi.getter(name="resourceFilters")
161
+ def resource_filters(self) -> Sequence['outputs.GetScheduleResourceFilterResult']:
162
+ """
163
+ This is a list of resources filters. The schedule will be applied to resources matching all of them.
164
+ """
165
+ return pulumi.get(self, "resource_filters")
166
+
167
+ @property
168
+ @pulumi.getter
169
+ def resources(self) -> Sequence['outputs.GetScheduleResourceResult']:
170
+ """
171
+ This is the list of resources to which the scheduled operation is applied.
172
+ """
173
+ return pulumi.get(self, "resources")
174
+
175
+ @property
176
+ @pulumi.getter(name="scheduleId")
177
+ def schedule_id(self) -> str:
178
+ return pulumi.get(self, "schedule_id")
179
+
180
+ @property
181
+ @pulumi.getter
182
+ def state(self) -> str:
183
+ """
184
+ This is the current state of a schedule.
185
+ """
186
+ return pulumi.get(self, "state")
187
+
188
+ @property
189
+ @pulumi.getter(name="systemTags")
190
+ def system_tags(self) -> Mapping[str, Any]:
191
+ """
192
+ These are system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
193
+ """
194
+ return pulumi.get(self, "system_tags")
195
+
196
+ @property
197
+ @pulumi.getter(name="timeCreated")
198
+ def time_created(self) -> str:
199
+ """
200
+ This is the date and time the schedule was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
201
+ """
202
+ return pulumi.get(self, "time_created")
203
+
204
+ @property
205
+ @pulumi.getter(name="timeEnds")
206
+ def time_ends(self) -> str:
207
+ """
208
+ This is the date and time the schedule ends, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339) Example: `2016-08-25T21:10:29.600Z`
209
+ """
210
+ return pulumi.get(self, "time_ends")
211
+
212
+ @property
213
+ @pulumi.getter(name="timeLastRun")
214
+ def time_last_run(self) -> str:
215
+ """
216
+ This is the date and time the schedule runs last time, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
217
+ """
218
+ return pulumi.get(self, "time_last_run")
219
+
220
+ @property
221
+ @pulumi.getter(name="timeNextRun")
222
+ def time_next_run(self) -> str:
223
+ """
224
+ This is the date and time the schedule run the next time, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
225
+ """
226
+ return pulumi.get(self, "time_next_run")
227
+
228
+ @property
229
+ @pulumi.getter(name="timeStarts")
230
+ def time_starts(self) -> str:
231
+ """
232
+ This is the date and time the schedule starts, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339) Example: `2016-08-25T21:10:29.600Z`
233
+ """
234
+ return pulumi.get(self, "time_starts")
235
+
236
+ @property
237
+ @pulumi.getter(name="timeUpdated")
238
+ def time_updated(self) -> str:
239
+ """
240
+ This is the date and time the schedule was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
241
+ """
242
+ return pulumi.get(self, "time_updated")
243
+
244
+
245
+ class AwaitableGetScheduleResult(GetScheduleResult):
246
+ # pylint: disable=using-constant-test
247
+ def __await__(self):
248
+ if False:
249
+ yield self
250
+ return GetScheduleResult(
251
+ action=self.action,
252
+ compartment_id=self.compartment_id,
253
+ defined_tags=self.defined_tags,
254
+ description=self.description,
255
+ display_name=self.display_name,
256
+ freeform_tags=self.freeform_tags,
257
+ id=self.id,
258
+ recurrence_details=self.recurrence_details,
259
+ recurrence_type=self.recurrence_type,
260
+ resource_filters=self.resource_filters,
261
+ resources=self.resources,
262
+ schedule_id=self.schedule_id,
263
+ state=self.state,
264
+ system_tags=self.system_tags,
265
+ time_created=self.time_created,
266
+ time_ends=self.time_ends,
267
+ time_last_run=self.time_last_run,
268
+ time_next_run=self.time_next_run,
269
+ time_starts=self.time_starts,
270
+ time_updated=self.time_updated)
271
+
272
+
273
+ def get_schedule(schedule_id: Optional[str] = None,
274
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduleResult:
275
+ """
276
+ This data source provides details about a specific Schedule resource in Oracle Cloud Infrastructure Resource Scheduler service.
277
+
278
+ This API gets information about a schedule.
279
+
280
+ ## Example Usage
281
+
282
+ ```python
283
+ import pulumi
284
+ import pulumi_oci as oci
285
+
286
+ test_schedule = oci.ResourceScheduler.get_schedule(schedule_id=test_schedule_oci_resource_scheduler_schedule["id"])
287
+ ```
288
+
289
+
290
+ :param str schedule_id: This is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the schedule.
291
+ """
292
+ __args__ = dict()
293
+ __args__['scheduleId'] = schedule_id
294
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
295
+ __ret__ = pulumi.runtime.invoke('oci:ResourceScheduler/getSchedule:getSchedule', __args__, opts=opts, typ=GetScheduleResult).value
296
+
297
+ return AwaitableGetScheduleResult(
298
+ action=pulumi.get(__ret__, 'action'),
299
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
300
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
301
+ description=pulumi.get(__ret__, 'description'),
302
+ display_name=pulumi.get(__ret__, 'display_name'),
303
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
304
+ id=pulumi.get(__ret__, 'id'),
305
+ recurrence_details=pulumi.get(__ret__, 'recurrence_details'),
306
+ recurrence_type=pulumi.get(__ret__, 'recurrence_type'),
307
+ resource_filters=pulumi.get(__ret__, 'resource_filters'),
308
+ resources=pulumi.get(__ret__, 'resources'),
309
+ schedule_id=pulumi.get(__ret__, 'schedule_id'),
310
+ state=pulumi.get(__ret__, 'state'),
311
+ system_tags=pulumi.get(__ret__, 'system_tags'),
312
+ time_created=pulumi.get(__ret__, 'time_created'),
313
+ time_ends=pulumi.get(__ret__, 'time_ends'),
314
+ time_last_run=pulumi.get(__ret__, 'time_last_run'),
315
+ time_next_run=pulumi.get(__ret__, 'time_next_run'),
316
+ time_starts=pulumi.get(__ret__, 'time_starts'),
317
+ time_updated=pulumi.get(__ret__, 'time_updated'))
318
+
319
+
320
+ @_utilities.lift_output_func(get_schedule)
321
+ def get_schedule_output(schedule_id: Optional[pulumi.Input[str]] = None,
322
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetScheduleResult]:
323
+ """
324
+ This data source provides details about a specific Schedule resource in Oracle Cloud Infrastructure Resource Scheduler service.
325
+
326
+ This API gets information about a schedule.
327
+
328
+ ## Example Usage
329
+
330
+ ```python
331
+ import pulumi
332
+ import pulumi_oci as oci
333
+
334
+ test_schedule = oci.ResourceScheduler.get_schedule(schedule_id=test_schedule_oci_resource_scheduler_schedule["id"])
335
+ ```
336
+
337
+
338
+ :param str schedule_id: This is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the schedule.
339
+ """
340
+ ...
@@ -0,0 +1,193 @@
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
+ 'GetSchedulesResult',
16
+ 'AwaitableGetSchedulesResult',
17
+ 'get_schedules',
18
+ 'get_schedules_output',
19
+ ]
20
+
21
+ @pulumi.output_type
22
+ class GetSchedulesResult:
23
+ """
24
+ A collection of values returned by getSchedules.
25
+ """
26
+ def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, schedule_collections=None, schedule_id=None, state=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 display_name and not isinstance(display_name, str):
31
+ raise TypeError("Expected argument 'display_name' to be a str")
32
+ pulumi.set(__self__, "display_name", display_name)
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 schedule_collections and not isinstance(schedule_collections, list):
40
+ raise TypeError("Expected argument 'schedule_collections' to be a list")
41
+ pulumi.set(__self__, "schedule_collections", schedule_collections)
42
+ if schedule_id and not isinstance(schedule_id, str):
43
+ raise TypeError("Expected argument 'schedule_id' to be a str")
44
+ pulumi.set(__self__, "schedule_id", schedule_id)
45
+ if state and not isinstance(state, str):
46
+ raise TypeError("Expected argument 'state' to be a str")
47
+ pulumi.set(__self__, "state", state)
48
+
49
+ @property
50
+ @pulumi.getter(name="compartmentId")
51
+ def compartment_id(self) -> Optional[str]:
52
+ """
53
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the schedule is created
54
+ """
55
+ return pulumi.get(self, "compartment_id")
56
+
57
+ @property
58
+ @pulumi.getter(name="displayName")
59
+ def display_name(self) -> Optional[str]:
60
+ """
61
+ This is a user-friendly name for the schedule. It does not have to be unique, and it's changeable.
62
+ """
63
+ return pulumi.get(self, "display_name")
64
+
65
+ @property
66
+ @pulumi.getter
67
+ def filters(self) -> Optional[Sequence['outputs.GetSchedulesFilterResult']]:
68
+ return pulumi.get(self, "filters")
69
+
70
+ @property
71
+ @pulumi.getter
72
+ def id(self) -> str:
73
+ """
74
+ The provider-assigned unique ID for this managed resource.
75
+ """
76
+ return pulumi.get(self, "id")
77
+
78
+ @property
79
+ @pulumi.getter(name="scheduleCollections")
80
+ def schedule_collections(self) -> Sequence['outputs.GetSchedulesScheduleCollectionResult']:
81
+ """
82
+ The list of schedule_collection.
83
+ """
84
+ return pulumi.get(self, "schedule_collections")
85
+
86
+ @property
87
+ @pulumi.getter(name="scheduleId")
88
+ def schedule_id(self) -> Optional[str]:
89
+ return pulumi.get(self, "schedule_id")
90
+
91
+ @property
92
+ @pulumi.getter
93
+ def state(self) -> Optional[str]:
94
+ """
95
+ This is the current state of a schedule.
96
+ """
97
+ return pulumi.get(self, "state")
98
+
99
+
100
+ class AwaitableGetSchedulesResult(GetSchedulesResult):
101
+ # pylint: disable=using-constant-test
102
+ def __await__(self):
103
+ if False:
104
+ yield self
105
+ return GetSchedulesResult(
106
+ compartment_id=self.compartment_id,
107
+ display_name=self.display_name,
108
+ filters=self.filters,
109
+ id=self.id,
110
+ schedule_collections=self.schedule_collections,
111
+ schedule_id=self.schedule_id,
112
+ state=self.state)
113
+
114
+
115
+ def get_schedules(compartment_id: Optional[str] = None,
116
+ display_name: Optional[str] = None,
117
+ filters: Optional[Sequence[pulumi.InputType['GetSchedulesFilterArgs']]] = None,
118
+ schedule_id: Optional[str] = None,
119
+ state: Optional[str] = None,
120
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSchedulesResult:
121
+ """
122
+ This data source provides the list of Schedules in Oracle Cloud Infrastructure Resource Scheduler service.
123
+
124
+ This API gets a list of schedules
125
+
126
+ ## Example Usage
127
+
128
+ ```python
129
+ import pulumi
130
+ import pulumi_oci as oci
131
+
132
+ test_schedules = oci.ResourceScheduler.get_schedules(compartment_id=compartment_id,
133
+ display_name=schedule_display_name,
134
+ schedule_id=test_schedule["id"],
135
+ state=schedule_state)
136
+ ```
137
+
138
+
139
+ :param str compartment_id: This is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
140
+ :param str display_name: This is a filter to return only resources that match the given display name exactly.
141
+ :param str schedule_id: This is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the schedule.
142
+ :param str state: This is a filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
143
+ """
144
+ __args__ = dict()
145
+ __args__['compartmentId'] = compartment_id
146
+ __args__['displayName'] = display_name
147
+ __args__['filters'] = filters
148
+ __args__['scheduleId'] = schedule_id
149
+ __args__['state'] = state
150
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
151
+ __ret__ = pulumi.runtime.invoke('oci:ResourceScheduler/getSchedules:getSchedules', __args__, opts=opts, typ=GetSchedulesResult).value
152
+
153
+ return AwaitableGetSchedulesResult(
154
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
155
+ display_name=pulumi.get(__ret__, 'display_name'),
156
+ filters=pulumi.get(__ret__, 'filters'),
157
+ id=pulumi.get(__ret__, 'id'),
158
+ schedule_collections=pulumi.get(__ret__, 'schedule_collections'),
159
+ schedule_id=pulumi.get(__ret__, 'schedule_id'),
160
+ state=pulumi.get(__ret__, 'state'))
161
+
162
+
163
+ @_utilities.lift_output_func(get_schedules)
164
+ def get_schedules_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
165
+ display_name: Optional[pulumi.Input[Optional[str]]] = None,
166
+ filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSchedulesFilterArgs']]]]] = None,
167
+ schedule_id: Optional[pulumi.Input[Optional[str]]] = None,
168
+ state: Optional[pulumi.Input[Optional[str]]] = None,
169
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSchedulesResult]:
170
+ """
171
+ This data source provides the list of Schedules in Oracle Cloud Infrastructure Resource Scheduler service.
172
+
173
+ This API gets a list of schedules
174
+
175
+ ## Example Usage
176
+
177
+ ```python
178
+ import pulumi
179
+ import pulumi_oci as oci
180
+
181
+ test_schedules = oci.ResourceScheduler.get_schedules(compartment_id=compartment_id,
182
+ display_name=schedule_display_name,
183
+ schedule_id=test_schedule["id"],
184
+ state=schedule_state)
185
+ ```
186
+
187
+
188
+ :param str compartment_id: This is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
189
+ :param str display_name: This is a filter to return only resources that match the given display name exactly.
190
+ :param str schedule_id: This is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the schedule.
191
+ :param str state: This is a filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
192
+ """
193
+ ...