pulumi-oci 2.24.0a1738823453__py3-none-any.whl → 2.25.0a1738909485__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 (122) hide show
  1. pulumi_oci/__init__.py +72 -0
  2. pulumi_oci/database/__init__.py +20 -0
  3. pulumi_oci/database/_inputs.py +868 -14
  4. pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
  5. pulumi_oci/database/exadata_infrastructure.py +28 -0
  6. pulumi_oci/database/execution_action.py +812 -0
  7. pulumi_oci/database/execution_window.py +856 -0
  8. pulumi_oci/database/get_cloud_exadata_infrastructure.py +15 -1
  9. pulumi_oci/database/get_database_maintenance_run_history.py +29 -1
  10. pulumi_oci/database/get_exadata_infrastructure.py +15 -1
  11. pulumi_oci/database/get_execution_action.py +352 -0
  12. pulumi_oci/database/get_execution_actions.py +213 -0
  13. pulumi_oci/database/get_execution_window.py +379 -0
  14. pulumi_oci/database/get_execution_windows.py +213 -0
  15. pulumi_oci/database/get_maintenance_run.py +32 -4
  16. pulumi_oci/database/get_scheduled_action.py +324 -0
  17. pulumi_oci/database/get_scheduled_action_params.py +144 -0
  18. pulumi_oci/database/get_scheduled_actions.py +240 -0
  19. pulumi_oci/database/get_scheduling_plan.py +323 -0
  20. pulumi_oci/database/get_scheduling_plans.py +243 -0
  21. pulumi_oci/database/get_scheduling_policies.py +191 -0
  22. pulumi_oci/database/get_scheduling_policy.py +268 -0
  23. pulumi_oci/database/get_scheduling_policy_recommended_scheduled_actions.py +182 -0
  24. pulumi_oci/database/get_scheduling_policy_scheduling_window.py +276 -0
  25. pulumi_oci/database/get_scheduling_policy_scheduling_windows.py +213 -0
  26. pulumi_oci/database/maintenance_run.py +58 -2
  27. pulumi_oci/database/outputs.py +11459 -7870
  28. pulumi_oci/database/scheduled_action.py +775 -0
  29. pulumi_oci/database/scheduling_plan.py +744 -0
  30. pulumi_oci/database/scheduling_policy.py +616 -0
  31. pulumi_oci/database/scheduling_policy_scheduling_window.py +584 -0
  32. pulumi_oci/datasafe/__init__.py +8 -0
  33. pulumi_oci/datasafe/_inputs.py +466 -12
  34. pulumi_oci/datasafe/alert.py +7 -7
  35. pulumi_oci/datasafe/alert_policy.py +7 -7
  36. pulumi_oci/datasafe/audit_archive_retrieval.py +7 -7
  37. pulumi_oci/datasafe/audit_policy.py +7 -7
  38. pulumi_oci/datasafe/audit_policy_management.py +21 -21
  39. pulumi_oci/datasafe/audit_profile.py +18 -18
  40. pulumi_oci/datasafe/audit_profile_management.py +21 -21
  41. pulumi_oci/datasafe/audit_trail.py +14 -14
  42. pulumi_oci/datasafe/audit_trail_management.py +14 -14
  43. pulumi_oci/datasafe/data_safe_configuration.py +4 -4
  44. pulumi_oci/datasafe/data_safe_private_endpoint.py +7 -7
  45. pulumi_oci/datasafe/database_security_config.py +7 -7
  46. pulumi_oci/datasafe/database_security_config_management.py +7 -7
  47. pulumi_oci/datasafe/discovery_mod.py +7 -7
  48. pulumi_oci/datasafe/get_alert.py +1 -1
  49. pulumi_oci/datasafe/get_alert_policy.py +1 -1
  50. pulumi_oci/datasafe/get_audit_archive_retrieval.py +1 -1
  51. pulumi_oci/datasafe/get_audit_events.py +2 -2
  52. pulumi_oci/datasafe/get_audit_policy.py +1 -1
  53. pulumi_oci/datasafe/get_audit_profile.py +2 -2
  54. pulumi_oci/datasafe/get_audit_trail.py +1 -1
  55. pulumi_oci/datasafe/get_data_safe_configuration.py +1 -1
  56. pulumi_oci/datasafe/get_data_safe_private_endpoint.py +1 -1
  57. pulumi_oci/datasafe/get_database_security_config.py +1 -1
  58. pulumi_oci/datasafe/get_discovery_job.py +1 -1
  59. pulumi_oci/datasafe/get_library_masking_format.py +1 -1
  60. pulumi_oci/datasafe/get_masking_policy.py +1 -1
  61. pulumi_oci/datasafe/get_masking_policy_health_report.py +33 -5
  62. pulumi_oci/datasafe/get_masking_policy_referential_relations.py +232 -0
  63. pulumi_oci/datasafe/get_onprem_connector.py +1 -1
  64. pulumi_oci/datasafe/get_report.py +1 -1
  65. pulumi_oci/datasafe/get_report_definition.py +1 -1
  66. pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +1 -1
  67. pulumi_oci/datasafe/get_security_assessment.py +1 -1
  68. pulumi_oci/datasafe/get_security_policy.py +1 -1
  69. pulumi_oci/datasafe/get_security_policy_deployment.py +1 -1
  70. pulumi_oci/datasafe/get_sensitive_data_model.py +1 -1
  71. pulumi_oci/datasafe/get_sensitive_data_model_referential_relation.py +186 -0
  72. pulumi_oci/datasafe/get_sensitive_data_model_referential_relations.py +254 -0
  73. pulumi_oci/datasafe/get_sensitive_type.py +1 -1
  74. pulumi_oci/datasafe/get_sensitive_types_export.py +267 -0
  75. pulumi_oci/datasafe/get_sensitive_types_exports.py +296 -0
  76. pulumi_oci/datasafe/get_sql_collection.py +1 -1
  77. pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +1 -1
  78. pulumi_oci/datasafe/get_sql_firewall_policy.py +1 -1
  79. pulumi_oci/datasafe/get_target_alert_policy_association.py +1 -1
  80. pulumi_oci/datasafe/get_target_database.py +1 -1
  81. pulumi_oci/datasafe/get_user_assessment.py +1 -1
  82. pulumi_oci/datasafe/get_user_assessment_password_expiry_date_analytics.py +240 -0
  83. pulumi_oci/datasafe/get_user_assessment_user_analytics.py +41 -3
  84. pulumi_oci/datasafe/get_user_assessment_users.py +39 -1
  85. pulumi_oci/datasafe/library_masing_format.py +7 -7
  86. pulumi_oci/datasafe/masking_policy.py +7 -7
  87. pulumi_oci/datasafe/on_prem_connector.py +7 -7
  88. pulumi_oci/datasafe/outputs.py +1266 -151
  89. pulumi_oci/datasafe/report.py +7 -7
  90. pulumi_oci/datasafe/report_definition.py +7 -7
  91. pulumi_oci/datasafe/sdm_masking_policy_difference.py +7 -7
  92. pulumi_oci/datasafe/security_assessment.py +36 -37
  93. pulumi_oci/datasafe/security_policy.py +7 -7
  94. pulumi_oci/datasafe/security_policy_deployment.py +7 -7
  95. pulumi_oci/datasafe/security_policy_deployment_management.py +7 -7
  96. pulumi_oci/datasafe/security_policy_management.py +7 -7
  97. pulumi_oci/datasafe/sensitive_data_model.py +7 -7
  98. pulumi_oci/datasafe/sensitive_data_model_referential_relation.py +504 -0
  99. pulumi_oci/datasafe/sensitive_type.py +7 -7
  100. pulumi_oci/datasafe/sensitive_types_export.py +637 -0
  101. pulumi_oci/datasafe/sql_collection.py +7 -7
  102. pulumi_oci/datasafe/sql_firewall_policy.py +7 -7
  103. pulumi_oci/datasafe/sql_firewall_policy_management.py +56 -56
  104. pulumi_oci/datasafe/target_alert_policy_association.py +7 -7
  105. pulumi_oci/datasafe/target_database.py +7 -7
  106. pulumi_oci/datasafe/user_assessment.py +7 -7
  107. pulumi_oci/datascience/__init__.py +4 -0
  108. pulumi_oci/datascience/_inputs.py +1811 -0
  109. pulumi_oci/datascience/get_containers.py +270 -0
  110. pulumi_oci/datascience/get_schedule.py +366 -0
  111. pulumi_oci/datascience/get_schedules.py +221 -0
  112. pulumi_oci/datascience/outputs.py +8697 -4890
  113. pulumi_oci/datascience/schedule.py +1045 -0
  114. pulumi_oci/mysql/_inputs.py +229 -9
  115. pulumi_oci/mysql/get_mysql_db_system.py +47 -1
  116. pulumi_oci/mysql/mysql_db_system.py +185 -0
  117. pulumi_oci/mysql/outputs.py +477 -26
  118. pulumi_oci/pulumi-plugin.json +1 -1
  119. {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0a1738909485.dist-info}/METADATA +1 -1
  120. {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0a1738909485.dist-info}/RECORD +122 -90
  121. {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0a1738909485.dist-info}/WHEEL +0 -0
  122. {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0a1738909485.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,270 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = [
20
+ 'GetContainersResult',
21
+ 'AwaitableGetContainersResult',
22
+ 'get_containers',
23
+ 'get_containers_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetContainersResult:
28
+ """
29
+ A collection of values returned by getContainers.
30
+ """
31
+ def __init__(__self__, container_name=None, containers=None, display_name=None, filters=None, id=None, is_latest=None, state=None, tag_query_param=None, target_workload=None, usage_query_param=None):
32
+ if container_name and not isinstance(container_name, str):
33
+ raise TypeError("Expected argument 'container_name' to be a str")
34
+ pulumi.set(__self__, "container_name", container_name)
35
+ if containers and not isinstance(containers, list):
36
+ raise TypeError("Expected argument 'containers' to be a list")
37
+ pulumi.set(__self__, "containers", containers)
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 filters and not isinstance(filters, list):
42
+ raise TypeError("Expected argument 'filters' to be a list")
43
+ pulumi.set(__self__, "filters", filters)
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 is_latest and not isinstance(is_latest, bool):
48
+ raise TypeError("Expected argument 'is_latest' to be a bool")
49
+ pulumi.set(__self__, "is_latest", is_latest)
50
+ if state and not isinstance(state, str):
51
+ raise TypeError("Expected argument 'state' to be a str")
52
+ pulumi.set(__self__, "state", state)
53
+ if tag_query_param and not isinstance(tag_query_param, str):
54
+ raise TypeError("Expected argument 'tag_query_param' to be a str")
55
+ pulumi.set(__self__, "tag_query_param", tag_query_param)
56
+ if target_workload and not isinstance(target_workload, str):
57
+ raise TypeError("Expected argument 'target_workload' to be a str")
58
+ pulumi.set(__self__, "target_workload", target_workload)
59
+ if usage_query_param and not isinstance(usage_query_param, str):
60
+ raise TypeError("Expected argument 'usage_query_param' to be a str")
61
+ pulumi.set(__self__, "usage_query_param", usage_query_param)
62
+
63
+ @property
64
+ @pulumi.getter(name="containerName")
65
+ def container_name(self) -> Optional[str]:
66
+ """
67
+ The name of the container. This can be same for different tags
68
+ """
69
+ return pulumi.get(self, "container_name")
70
+
71
+ @property
72
+ @pulumi.getter
73
+ def containers(self) -> Sequence['outputs.GetContainersContainerResult']:
74
+ """
75
+ The list of containers.
76
+ """
77
+ return pulumi.get(self, "containers")
78
+
79
+ @property
80
+ @pulumi.getter(name="displayName")
81
+ def display_name(self) -> Optional[str]:
82
+ """
83
+ The display name of the container.
84
+ """
85
+ return pulumi.get(self, "display_name")
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def filters(self) -> Optional[Sequence['outputs.GetContainersFilterResult']]:
90
+ return pulumi.get(self, "filters")
91
+
92
+ @property
93
+ @pulumi.getter
94
+ def id(self) -> str:
95
+ """
96
+ The provider-assigned unique ID for this managed resource.
97
+ """
98
+ return pulumi.get(self, "id")
99
+
100
+ @property
101
+ @pulumi.getter(name="isLatest")
102
+ def is_latest(self) -> Optional[bool]:
103
+ """
104
+ The latest tag of the container.
105
+ """
106
+ return pulumi.get(self, "is_latest")
107
+
108
+ @property
109
+ @pulumi.getter
110
+ def state(self) -> Optional[str]:
111
+ """
112
+ Container Version LifecycleState.
113
+ """
114
+ return pulumi.get(self, "state")
115
+
116
+ @property
117
+ @pulumi.getter(name="tagQueryParam")
118
+ def tag_query_param(self) -> Optional[str]:
119
+ return pulumi.get(self, "tag_query_param")
120
+
121
+ @property
122
+ @pulumi.getter(name="targetWorkload")
123
+ def target_workload(self) -> Optional[str]:
124
+ return pulumi.get(self, "target_workload")
125
+
126
+ @property
127
+ @pulumi.getter(name="usageQueryParam")
128
+ def usage_query_param(self) -> Optional[str]:
129
+ return pulumi.get(self, "usage_query_param")
130
+
131
+
132
+ class AwaitableGetContainersResult(GetContainersResult):
133
+ # pylint: disable=using-constant-test
134
+ def __await__(self):
135
+ if False:
136
+ yield self
137
+ return GetContainersResult(
138
+ container_name=self.container_name,
139
+ containers=self.containers,
140
+ display_name=self.display_name,
141
+ filters=self.filters,
142
+ id=self.id,
143
+ is_latest=self.is_latest,
144
+ state=self.state,
145
+ tag_query_param=self.tag_query_param,
146
+ target_workload=self.target_workload,
147
+ usage_query_param=self.usage_query_param)
148
+
149
+
150
+ def get_containers(container_name: Optional[str] = None,
151
+ display_name: Optional[str] = None,
152
+ filters: Optional[Sequence[Union['GetContainersFilterArgs', 'GetContainersFilterArgsDict']]] = None,
153
+ is_latest: Optional[bool] = None,
154
+ state: Optional[str] = None,
155
+ tag_query_param: Optional[str] = None,
156
+ target_workload: Optional[str] = None,
157
+ usage_query_param: Optional[str] = None,
158
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetContainersResult:
159
+ """
160
+ This data source provides the list of Containers in Oracle Cloud Infrastructure Data Science service.
161
+
162
+ List containers.
163
+
164
+ ## Example Usage
165
+
166
+ ```python
167
+ import pulumi
168
+ import pulumi_oci as oci
169
+
170
+ test_containers = oci.DataScience.get_containers(container_name=test_container["name"],
171
+ display_name=container_display_name,
172
+ is_latest=container_is_latest,
173
+ state=container_state,
174
+ tag_query_param=container_tag_query_param,
175
+ target_workload=container_target_workload,
176
+ usage_query_param=container_usage_query_param)
177
+ ```
178
+
179
+
180
+ :param str container_name: <b>Filter</b> results by the container name.
181
+ :param str display_name: <b>Filter</b> results by its user-friendly name.
182
+ :param bool is_latest: if true, this returns latest version of container.
183
+ :param str state: <b>Filter</b> results by the specified lifecycle state. Must be a valid state for the resource type.
184
+ :param str tag_query_param: <b>Filter</b> results by the container version tag.
185
+ :param str target_workload: <b>Filter</b> results by the target workload.
186
+ :param str usage_query_param: <b>Filter</b> results by the usage.
187
+ """
188
+ __args__ = dict()
189
+ __args__['containerName'] = container_name
190
+ __args__['displayName'] = display_name
191
+ __args__['filters'] = filters
192
+ __args__['isLatest'] = is_latest
193
+ __args__['state'] = state
194
+ __args__['tagQueryParam'] = tag_query_param
195
+ __args__['targetWorkload'] = target_workload
196
+ __args__['usageQueryParam'] = usage_query_param
197
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
198
+ __ret__ = pulumi.runtime.invoke('oci:DataScience/getContainers:getContainers', __args__, opts=opts, typ=GetContainersResult).value
199
+
200
+ return AwaitableGetContainersResult(
201
+ container_name=pulumi.get(__ret__, 'container_name'),
202
+ containers=pulumi.get(__ret__, 'containers'),
203
+ display_name=pulumi.get(__ret__, 'display_name'),
204
+ filters=pulumi.get(__ret__, 'filters'),
205
+ id=pulumi.get(__ret__, 'id'),
206
+ is_latest=pulumi.get(__ret__, 'is_latest'),
207
+ state=pulumi.get(__ret__, 'state'),
208
+ tag_query_param=pulumi.get(__ret__, 'tag_query_param'),
209
+ target_workload=pulumi.get(__ret__, 'target_workload'),
210
+ usage_query_param=pulumi.get(__ret__, 'usage_query_param'))
211
+ def get_containers_output(container_name: Optional[pulumi.Input[Optional[str]]] = None,
212
+ display_name: Optional[pulumi.Input[Optional[str]]] = None,
213
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetContainersFilterArgs', 'GetContainersFilterArgsDict']]]]] = None,
214
+ is_latest: Optional[pulumi.Input[Optional[bool]]] = None,
215
+ state: Optional[pulumi.Input[Optional[str]]] = None,
216
+ tag_query_param: Optional[pulumi.Input[Optional[str]]] = None,
217
+ target_workload: Optional[pulumi.Input[Optional[str]]] = None,
218
+ usage_query_param: Optional[pulumi.Input[Optional[str]]] = None,
219
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetContainersResult]:
220
+ """
221
+ This data source provides the list of Containers in Oracle Cloud Infrastructure Data Science service.
222
+
223
+ List containers.
224
+
225
+ ## Example Usage
226
+
227
+ ```python
228
+ import pulumi
229
+ import pulumi_oci as oci
230
+
231
+ test_containers = oci.DataScience.get_containers(container_name=test_container["name"],
232
+ display_name=container_display_name,
233
+ is_latest=container_is_latest,
234
+ state=container_state,
235
+ tag_query_param=container_tag_query_param,
236
+ target_workload=container_target_workload,
237
+ usage_query_param=container_usage_query_param)
238
+ ```
239
+
240
+
241
+ :param str container_name: <b>Filter</b> results by the container name.
242
+ :param str display_name: <b>Filter</b> results by its user-friendly name.
243
+ :param bool is_latest: if true, this returns latest version of container.
244
+ :param str state: <b>Filter</b> results by the specified lifecycle state. Must be a valid state for the resource type.
245
+ :param str tag_query_param: <b>Filter</b> results by the container version tag.
246
+ :param str target_workload: <b>Filter</b> results by the target workload.
247
+ :param str usage_query_param: <b>Filter</b> results by the usage.
248
+ """
249
+ __args__ = dict()
250
+ __args__['containerName'] = container_name
251
+ __args__['displayName'] = display_name
252
+ __args__['filters'] = filters
253
+ __args__['isLatest'] = is_latest
254
+ __args__['state'] = state
255
+ __args__['tagQueryParam'] = tag_query_param
256
+ __args__['targetWorkload'] = target_workload
257
+ __args__['usageQueryParam'] = usage_query_param
258
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
259
+ __ret__ = pulumi.runtime.invoke_output('oci:DataScience/getContainers:getContainers', __args__, opts=opts, typ=GetContainersResult)
260
+ return __ret__.apply(lambda __response__: GetContainersResult(
261
+ container_name=pulumi.get(__response__, 'container_name'),
262
+ containers=pulumi.get(__response__, 'containers'),
263
+ display_name=pulumi.get(__response__, 'display_name'),
264
+ filters=pulumi.get(__response__, 'filters'),
265
+ id=pulumi.get(__response__, 'id'),
266
+ is_latest=pulumi.get(__response__, 'is_latest'),
267
+ state=pulumi.get(__response__, 'state'),
268
+ tag_query_param=pulumi.get(__response__, 'tag_query_param'),
269
+ target_workload=pulumi.get(__response__, 'target_workload'),
270
+ usage_query_param=pulumi.get(__response__, 'usage_query_param')))
@@ -0,0 +1,366 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetScheduleResult',
20
+ 'AwaitableGetScheduleResult',
21
+ 'get_schedule',
22
+ 'get_schedule_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetScheduleResult:
27
+ """
28
+ A collection of values returned by getSchedule.
29
+ """
30
+ def __init__(__self__, actions=None, compartment_id=None, created_by=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, last_schedule_run_details=None, lifecycle_details=None, log_details=None, project_id=None, schedule_id=None, state=None, system_tags=None, time_created=None, time_last_schedule_run=None, time_next_scheduled_run=None, time_updated=None, triggers=None):
31
+ if actions and not isinstance(actions, list):
32
+ raise TypeError("Expected argument 'actions' to be a list")
33
+ pulumi.set(__self__, "actions", actions)
34
+ if compartment_id and not isinstance(compartment_id, str):
35
+ raise TypeError("Expected argument 'compartment_id' to be a str")
36
+ pulumi.set(__self__, "compartment_id", compartment_id)
37
+ if created_by and not isinstance(created_by, str):
38
+ raise TypeError("Expected argument 'created_by' to be a str")
39
+ pulumi.set(__self__, "created_by", created_by)
40
+ if defined_tags and not isinstance(defined_tags, dict):
41
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
42
+ pulumi.set(__self__, "defined_tags", defined_tags)
43
+ if description and not isinstance(description, str):
44
+ raise TypeError("Expected argument 'description' to be a str")
45
+ pulumi.set(__self__, "description", description)
46
+ if display_name and not isinstance(display_name, str):
47
+ raise TypeError("Expected argument 'display_name' to be a str")
48
+ pulumi.set(__self__, "display_name", display_name)
49
+ if freeform_tags and not isinstance(freeform_tags, dict):
50
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
51
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
52
+ if id and not isinstance(id, str):
53
+ raise TypeError("Expected argument 'id' to be a str")
54
+ pulumi.set(__self__, "id", id)
55
+ if last_schedule_run_details and not isinstance(last_schedule_run_details, str):
56
+ raise TypeError("Expected argument 'last_schedule_run_details' to be a str")
57
+ pulumi.set(__self__, "last_schedule_run_details", last_schedule_run_details)
58
+ if lifecycle_details and not isinstance(lifecycle_details, str):
59
+ raise TypeError("Expected argument 'lifecycle_details' to be a str")
60
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
61
+ if log_details and not isinstance(log_details, list):
62
+ raise TypeError("Expected argument 'log_details' to be a list")
63
+ pulumi.set(__self__, "log_details", log_details)
64
+ if project_id and not isinstance(project_id, str):
65
+ raise TypeError("Expected argument 'project_id' to be a str")
66
+ pulumi.set(__self__, "project_id", project_id)
67
+ if schedule_id and not isinstance(schedule_id, str):
68
+ raise TypeError("Expected argument 'schedule_id' to be a str")
69
+ pulumi.set(__self__, "schedule_id", schedule_id)
70
+ if state and not isinstance(state, str):
71
+ raise TypeError("Expected argument 'state' to be a str")
72
+ pulumi.set(__self__, "state", state)
73
+ if system_tags and not isinstance(system_tags, dict):
74
+ raise TypeError("Expected argument 'system_tags' to be a dict")
75
+ pulumi.set(__self__, "system_tags", system_tags)
76
+ if time_created and not isinstance(time_created, str):
77
+ raise TypeError("Expected argument 'time_created' to be a str")
78
+ pulumi.set(__self__, "time_created", time_created)
79
+ if time_last_schedule_run and not isinstance(time_last_schedule_run, str):
80
+ raise TypeError("Expected argument 'time_last_schedule_run' to be a str")
81
+ pulumi.set(__self__, "time_last_schedule_run", time_last_schedule_run)
82
+ if time_next_scheduled_run and not isinstance(time_next_scheduled_run, str):
83
+ raise TypeError("Expected argument 'time_next_scheduled_run' to be a str")
84
+ pulumi.set(__self__, "time_next_scheduled_run", time_next_scheduled_run)
85
+ if time_updated and not isinstance(time_updated, str):
86
+ raise TypeError("Expected argument 'time_updated' to be a str")
87
+ pulumi.set(__self__, "time_updated", time_updated)
88
+ if triggers and not isinstance(triggers, list):
89
+ raise TypeError("Expected argument 'triggers' to be a list")
90
+ pulumi.set(__self__, "triggers", triggers)
91
+
92
+ @property
93
+ @pulumi.getter
94
+ def actions(self) -> Sequence['outputs.GetScheduleActionResult']:
95
+ """
96
+ The schedule action
97
+ """
98
+ return pulumi.get(self, "actions")
99
+
100
+ @property
101
+ @pulumi.getter(name="compartmentId")
102
+ def compartment_id(self) -> str:
103
+ """
104
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the schedule.
105
+ """
106
+ return pulumi.get(self, "compartment_id")
107
+
108
+ @property
109
+ @pulumi.getter(name="createdBy")
110
+ def created_by(self) -> str:
111
+ """
112
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the schedule.
113
+ """
114
+ return pulumi.get(self, "created_by")
115
+
116
+ @property
117
+ @pulumi.getter(name="definedTags")
118
+ def defined_tags(self) -> Mapping[str, str]:
119
+ """
120
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
121
+ """
122
+ return pulumi.get(self, "defined_tags")
123
+
124
+ @property
125
+ @pulumi.getter
126
+ def description(self) -> str:
127
+ """
128
+ A short description of the schedule.
129
+ """
130
+ return pulumi.get(self, "description")
131
+
132
+ @property
133
+ @pulumi.getter(name="displayName")
134
+ def display_name(self) -> str:
135
+ """
136
+ A user-friendly display name for the resource. Avoid entering confidential information.
137
+ """
138
+ return pulumi.get(self, "display_name")
139
+
140
+ @property
141
+ @pulumi.getter(name="freeformTags")
142
+ def freeform_tags(self) -> Mapping[str, str]:
143
+ """
144
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
145
+ """
146
+ return pulumi.get(self, "freeform_tags")
147
+
148
+ @property
149
+ @pulumi.getter
150
+ def id(self) -> str:
151
+ """
152
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the schedule.
153
+ """
154
+ return pulumi.get(self, "id")
155
+
156
+ @property
157
+ @pulumi.getter(name="lastScheduleRunDetails")
158
+ def last_schedule_run_details(self) -> str:
159
+ """
160
+ Details about the action performed by the last schedule execution. Example: `Invoked ML Application trigger.`
161
+ """
162
+ return pulumi.get(self, "last_schedule_run_details")
163
+
164
+ @property
165
+ @pulumi.getter(name="lifecycleDetails")
166
+ def lifecycle_details(self) -> str:
167
+ """
168
+ A message describing the current state in more detail.
169
+ """
170
+ return pulumi.get(self, "lifecycle_details")
171
+
172
+ @property
173
+ @pulumi.getter(name="logDetails")
174
+ def log_details(self) -> Sequence['outputs.GetScheduleLogDetailResult']:
175
+ """
176
+ Custom logging details for schedule execution.
177
+ """
178
+ return pulumi.get(self, "log_details")
179
+
180
+ @property
181
+ @pulumi.getter(name="projectId")
182
+ def project_id(self) -> str:
183
+ """
184
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project associated with the schedule.
185
+ """
186
+ return pulumi.get(self, "project_id")
187
+
188
+ @property
189
+ @pulumi.getter(name="scheduleId")
190
+ def schedule_id(self) -> str:
191
+ return pulumi.get(self, "schedule_id")
192
+
193
+ @property
194
+ @pulumi.getter
195
+ def state(self) -> str:
196
+ """
197
+ The current state of the schedule. Example: `ACTIVE`
198
+ """
199
+ return pulumi.get(self, "state")
200
+
201
+ @property
202
+ @pulumi.getter(name="systemTags")
203
+ def system_tags(self) -> Mapping[str, str]:
204
+ """
205
+ Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
206
+ """
207
+ return pulumi.get(self, "system_tags")
208
+
209
+ @property
210
+ @pulumi.getter(name="timeCreated")
211
+ def time_created(self) -> str:
212
+ """
213
+ The date and time the schedule was created. Format is defined by RFC3339. Example: `2022-08-05T01:02:29.600Z`
214
+ """
215
+ return pulumi.get(self, "time_created")
216
+
217
+ @property
218
+ @pulumi.getter(name="timeLastScheduleRun")
219
+ def time_last_schedule_run(self) -> str:
220
+ """
221
+ The last schedule execution time. Format is defined by RFC3339. Example: `2022-08-05T01:02:29.600Z`
222
+ """
223
+ return pulumi.get(self, "time_last_schedule_run")
224
+
225
+ @property
226
+ @pulumi.getter(name="timeNextScheduledRun")
227
+ def time_next_scheduled_run(self) -> str:
228
+ """
229
+ The next scheduled execution time for the schedule. Format is defined by RFC3339. Example: `2022-08-05T01:02:29.600Z`
230
+ """
231
+ return pulumi.get(self, "time_next_scheduled_run")
232
+
233
+ @property
234
+ @pulumi.getter(name="timeUpdated")
235
+ def time_updated(self) -> str:
236
+ """
237
+ The date and time the schedule was updated. Format is defined by RFC3339. Example: `2022-09-05T01:02:29.600Z`
238
+ """
239
+ return pulumi.get(self, "time_updated")
240
+
241
+ @property
242
+ @pulumi.getter
243
+ def triggers(self) -> Sequence['outputs.GetScheduleTriggerResult']:
244
+ """
245
+ The trigger of the schedule can be UNIX cron or iCal expression or simple interval
246
+ """
247
+ return pulumi.get(self, "triggers")
248
+
249
+
250
+ class AwaitableGetScheduleResult(GetScheduleResult):
251
+ # pylint: disable=using-constant-test
252
+ def __await__(self):
253
+ if False:
254
+ yield self
255
+ return GetScheduleResult(
256
+ actions=self.actions,
257
+ compartment_id=self.compartment_id,
258
+ created_by=self.created_by,
259
+ defined_tags=self.defined_tags,
260
+ description=self.description,
261
+ display_name=self.display_name,
262
+ freeform_tags=self.freeform_tags,
263
+ id=self.id,
264
+ last_schedule_run_details=self.last_schedule_run_details,
265
+ lifecycle_details=self.lifecycle_details,
266
+ log_details=self.log_details,
267
+ project_id=self.project_id,
268
+ schedule_id=self.schedule_id,
269
+ state=self.state,
270
+ system_tags=self.system_tags,
271
+ time_created=self.time_created,
272
+ time_last_schedule_run=self.time_last_schedule_run,
273
+ time_next_scheduled_run=self.time_next_scheduled_run,
274
+ time_updated=self.time_updated,
275
+ triggers=self.triggers)
276
+
277
+
278
+ def get_schedule(schedule_id: Optional[str] = None,
279
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduleResult:
280
+ """
281
+ This data source provides details about a specific Schedule resource in Oracle Cloud Infrastructure Data Science service.
282
+
283
+ Gets a Schedule by identifier
284
+
285
+ ## Example Usage
286
+
287
+ ```python
288
+ import pulumi
289
+ import pulumi_oci as oci
290
+
291
+ test_schedule = oci.DataScience.get_schedule(schedule_id=test_schedule_oci_datascience_schedule["id"])
292
+ ```
293
+
294
+
295
+ :param str schedule_id: unique Schedule identifier
296
+ """
297
+ __args__ = dict()
298
+ __args__['scheduleId'] = schedule_id
299
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
300
+ __ret__ = pulumi.runtime.invoke('oci:DataScience/getSchedule:getSchedule', __args__, opts=opts, typ=GetScheduleResult).value
301
+
302
+ return AwaitableGetScheduleResult(
303
+ actions=pulumi.get(__ret__, 'actions'),
304
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
305
+ created_by=pulumi.get(__ret__, 'created_by'),
306
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
307
+ description=pulumi.get(__ret__, 'description'),
308
+ display_name=pulumi.get(__ret__, 'display_name'),
309
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
310
+ id=pulumi.get(__ret__, 'id'),
311
+ last_schedule_run_details=pulumi.get(__ret__, 'last_schedule_run_details'),
312
+ lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
313
+ log_details=pulumi.get(__ret__, 'log_details'),
314
+ project_id=pulumi.get(__ret__, 'project_id'),
315
+ schedule_id=pulumi.get(__ret__, 'schedule_id'),
316
+ state=pulumi.get(__ret__, 'state'),
317
+ system_tags=pulumi.get(__ret__, 'system_tags'),
318
+ time_created=pulumi.get(__ret__, 'time_created'),
319
+ time_last_schedule_run=pulumi.get(__ret__, 'time_last_schedule_run'),
320
+ time_next_scheduled_run=pulumi.get(__ret__, 'time_next_scheduled_run'),
321
+ time_updated=pulumi.get(__ret__, 'time_updated'),
322
+ triggers=pulumi.get(__ret__, 'triggers'))
323
+ def get_schedule_output(schedule_id: Optional[pulumi.Input[str]] = None,
324
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScheduleResult]:
325
+ """
326
+ This data source provides details about a specific Schedule resource in Oracle Cloud Infrastructure Data Science service.
327
+
328
+ Gets a Schedule by identifier
329
+
330
+ ## Example Usage
331
+
332
+ ```python
333
+ import pulumi
334
+ import pulumi_oci as oci
335
+
336
+ test_schedule = oci.DataScience.get_schedule(schedule_id=test_schedule_oci_datascience_schedule["id"])
337
+ ```
338
+
339
+
340
+ :param str schedule_id: unique Schedule identifier
341
+ """
342
+ __args__ = dict()
343
+ __args__['scheduleId'] = schedule_id
344
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
345
+ __ret__ = pulumi.runtime.invoke_output('oci:DataScience/getSchedule:getSchedule', __args__, opts=opts, typ=GetScheduleResult)
346
+ return __ret__.apply(lambda __response__: GetScheduleResult(
347
+ actions=pulumi.get(__response__, 'actions'),
348
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
349
+ created_by=pulumi.get(__response__, 'created_by'),
350
+ defined_tags=pulumi.get(__response__, 'defined_tags'),
351
+ description=pulumi.get(__response__, 'description'),
352
+ display_name=pulumi.get(__response__, 'display_name'),
353
+ freeform_tags=pulumi.get(__response__, 'freeform_tags'),
354
+ id=pulumi.get(__response__, 'id'),
355
+ last_schedule_run_details=pulumi.get(__response__, 'last_schedule_run_details'),
356
+ lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
357
+ log_details=pulumi.get(__response__, 'log_details'),
358
+ project_id=pulumi.get(__response__, 'project_id'),
359
+ schedule_id=pulumi.get(__response__, 'schedule_id'),
360
+ state=pulumi.get(__response__, 'state'),
361
+ system_tags=pulumi.get(__response__, 'system_tags'),
362
+ time_created=pulumi.get(__response__, 'time_created'),
363
+ time_last_schedule_run=pulumi.get(__response__, 'time_last_schedule_run'),
364
+ time_next_scheduled_run=pulumi.get(__response__, 'time_next_scheduled_run'),
365
+ time_updated=pulumi.get(__response__, 'time_updated'),
366
+ triggers=pulumi.get(__response__, 'triggers')))