pulumi-oci 2.23.0a1738332002__py3-none-any.whl → 2.24.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 (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.23.0a1738332002.dist-info → pulumi_oci-2.24.0.dist-info}/METADATA +1 -1
  120. {pulumi_oci-2.23.0a1738332002.dist-info → pulumi_oci-2.24.0.dist-info}/RECORD +122 -90
  121. {pulumi_oci-2.23.0a1738332002.dist-info → pulumi_oci-2.24.0.dist-info}/WHEEL +0 -0
  122. {pulumi_oci-2.23.0a1738332002.dist-info → pulumi_oci-2.24.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,856 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['ExecutionWindowArgs', 'ExecutionWindow']
18
+
19
+ @pulumi.input_type
20
+ class ExecutionWindowArgs:
21
+ def __init__(__self__, *,
22
+ compartment_id: pulumi.Input[str],
23
+ execution_resource_id: pulumi.Input[str],
24
+ time_scheduled: pulumi.Input[str],
25
+ window_duration_in_mins: pulumi.Input[int],
26
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
27
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
28
+ is_enforced_duration: Optional[pulumi.Input[bool]] = None):
29
+ """
30
+ The set of arguments for constructing a ExecutionWindow resource.
31
+ :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
32
+ :param pulumi.Input[str] execution_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
33
+ :param pulumi.Input[str] time_scheduled: (Updatable) The scheduled start date and time of the execution window.
34
+ :param pulumi.Input[int] window_duration_in_mins: (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
35
+
36
+
37
+ ** IMPORTANT **
38
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
39
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
40
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
41
+ :param pulumi.Input[bool] is_enforced_duration: (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
42
+ """
43
+ pulumi.set(__self__, "compartment_id", compartment_id)
44
+ pulumi.set(__self__, "execution_resource_id", execution_resource_id)
45
+ pulumi.set(__self__, "time_scheduled", time_scheduled)
46
+ pulumi.set(__self__, "window_duration_in_mins", window_duration_in_mins)
47
+ if defined_tags is not None:
48
+ pulumi.set(__self__, "defined_tags", defined_tags)
49
+ if freeform_tags is not None:
50
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
51
+ if is_enforced_duration is not None:
52
+ pulumi.set(__self__, "is_enforced_duration", is_enforced_duration)
53
+
54
+ @property
55
+ @pulumi.getter(name="compartmentId")
56
+ def compartment_id(self) -> pulumi.Input[str]:
57
+ """
58
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
59
+ """
60
+ return pulumi.get(self, "compartment_id")
61
+
62
+ @compartment_id.setter
63
+ def compartment_id(self, value: pulumi.Input[str]):
64
+ pulumi.set(self, "compartment_id", value)
65
+
66
+ @property
67
+ @pulumi.getter(name="executionResourceId")
68
+ def execution_resource_id(self) -> pulumi.Input[str]:
69
+ """
70
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
71
+ """
72
+ return pulumi.get(self, "execution_resource_id")
73
+
74
+ @execution_resource_id.setter
75
+ def execution_resource_id(self, value: pulumi.Input[str]):
76
+ pulumi.set(self, "execution_resource_id", value)
77
+
78
+ @property
79
+ @pulumi.getter(name="timeScheduled")
80
+ def time_scheduled(self) -> pulumi.Input[str]:
81
+ """
82
+ (Updatable) The scheduled start date and time of the execution window.
83
+ """
84
+ return pulumi.get(self, "time_scheduled")
85
+
86
+ @time_scheduled.setter
87
+ def time_scheduled(self, value: pulumi.Input[str]):
88
+ pulumi.set(self, "time_scheduled", value)
89
+
90
+ @property
91
+ @pulumi.getter(name="windowDurationInMins")
92
+ def window_duration_in_mins(self) -> pulumi.Input[int]:
93
+ """
94
+ (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
95
+
96
+
97
+ ** IMPORTANT **
98
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
99
+ """
100
+ return pulumi.get(self, "window_duration_in_mins")
101
+
102
+ @window_duration_in_mins.setter
103
+ def window_duration_in_mins(self, value: pulumi.Input[int]):
104
+ pulumi.set(self, "window_duration_in_mins", value)
105
+
106
+ @property
107
+ @pulumi.getter(name="definedTags")
108
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
109
+ """
110
+ (Updatable) 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).
111
+ """
112
+ return pulumi.get(self, "defined_tags")
113
+
114
+ @defined_tags.setter
115
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
116
+ pulumi.set(self, "defined_tags", value)
117
+
118
+ @property
119
+ @pulumi.getter(name="freeformTags")
120
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
121
+ """
122
+ (Updatable) 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"}`
123
+ """
124
+ return pulumi.get(self, "freeform_tags")
125
+
126
+ @freeform_tags.setter
127
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
128
+ pulumi.set(self, "freeform_tags", value)
129
+
130
+ @property
131
+ @pulumi.getter(name="isEnforcedDuration")
132
+ def is_enforced_duration(self) -> Optional[pulumi.Input[bool]]:
133
+ """
134
+ (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
135
+ """
136
+ return pulumi.get(self, "is_enforced_duration")
137
+
138
+ @is_enforced_duration.setter
139
+ def is_enforced_duration(self, value: Optional[pulumi.Input[bool]]):
140
+ pulumi.set(self, "is_enforced_duration", value)
141
+
142
+
143
+ @pulumi.input_type
144
+ class _ExecutionWindowState:
145
+ def __init__(__self__, *,
146
+ compartment_id: Optional[pulumi.Input[str]] = None,
147
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
148
+ description: Optional[pulumi.Input[str]] = None,
149
+ display_name: Optional[pulumi.Input[str]] = None,
150
+ estimated_time_in_mins: Optional[pulumi.Input[int]] = None,
151
+ execution_resource_id: Optional[pulumi.Input[str]] = None,
152
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
153
+ is_enforced_duration: Optional[pulumi.Input[bool]] = None,
154
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
155
+ lifecycle_substate: Optional[pulumi.Input[str]] = None,
156
+ state: Optional[pulumi.Input[str]] = None,
157
+ time_created: Optional[pulumi.Input[str]] = None,
158
+ time_ended: Optional[pulumi.Input[str]] = None,
159
+ time_scheduled: Optional[pulumi.Input[str]] = None,
160
+ time_started: Optional[pulumi.Input[str]] = None,
161
+ time_updated: Optional[pulumi.Input[str]] = None,
162
+ total_time_taken_in_mins: Optional[pulumi.Input[int]] = None,
163
+ window_duration_in_mins: Optional[pulumi.Input[int]] = None,
164
+ window_type: Optional[pulumi.Input[str]] = None):
165
+ """
166
+ Input properties used for looking up and filtering ExecutionWindow resources.
167
+ :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
168
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
169
+ :param pulumi.Input[str] description: Description of the execution window.
170
+ :param pulumi.Input[str] display_name: The user-friendly name for the execution window. The name does not need to be unique.
171
+ :param pulumi.Input[int] estimated_time_in_mins: The estimated time of the execution window in minutes.
172
+ :param pulumi.Input[str] execution_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
173
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
174
+ :param pulumi.Input[bool] is_enforced_duration: (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
175
+ :param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state.
176
+ :param pulumi.Input[str] lifecycle_substate: The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
177
+ :param pulumi.Input[str] state: The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
178
+ :param pulumi.Input[str] time_created: The date and time the execution window was created.
179
+ :param pulumi.Input[str] time_ended: The date and time that the execution window ended.
180
+ :param pulumi.Input[str] time_scheduled: (Updatable) The scheduled start date and time of the execution window.
181
+ :param pulumi.Input[str] time_started: The date and time that the execution window was started.
182
+ :param pulumi.Input[str] time_updated: The last date and time that the execution window was updated.
183
+ :param pulumi.Input[int] total_time_taken_in_mins: The total time taken by corresponding resource activity in minutes.
184
+ :param pulumi.Input[int] window_duration_in_mins: (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
185
+
186
+
187
+ ** IMPORTANT **
188
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
189
+ :param pulumi.Input[str] window_type: The execution window is of PLANNED or UNPLANNED type.
190
+ """
191
+ if compartment_id is not None:
192
+ pulumi.set(__self__, "compartment_id", compartment_id)
193
+ if defined_tags is not None:
194
+ pulumi.set(__self__, "defined_tags", defined_tags)
195
+ if description is not None:
196
+ pulumi.set(__self__, "description", description)
197
+ if display_name is not None:
198
+ pulumi.set(__self__, "display_name", display_name)
199
+ if estimated_time_in_mins is not None:
200
+ pulumi.set(__self__, "estimated_time_in_mins", estimated_time_in_mins)
201
+ if execution_resource_id is not None:
202
+ pulumi.set(__self__, "execution_resource_id", execution_resource_id)
203
+ if freeform_tags is not None:
204
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
205
+ if is_enforced_duration is not None:
206
+ pulumi.set(__self__, "is_enforced_duration", is_enforced_duration)
207
+ if lifecycle_details is not None:
208
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
209
+ if lifecycle_substate is not None:
210
+ pulumi.set(__self__, "lifecycle_substate", lifecycle_substate)
211
+ if state is not None:
212
+ pulumi.set(__self__, "state", state)
213
+ if time_created is not None:
214
+ pulumi.set(__self__, "time_created", time_created)
215
+ if time_ended is not None:
216
+ pulumi.set(__self__, "time_ended", time_ended)
217
+ if time_scheduled is not None:
218
+ pulumi.set(__self__, "time_scheduled", time_scheduled)
219
+ if time_started is not None:
220
+ pulumi.set(__self__, "time_started", time_started)
221
+ if time_updated is not None:
222
+ pulumi.set(__self__, "time_updated", time_updated)
223
+ if total_time_taken_in_mins is not None:
224
+ pulumi.set(__self__, "total_time_taken_in_mins", total_time_taken_in_mins)
225
+ if window_duration_in_mins is not None:
226
+ pulumi.set(__self__, "window_duration_in_mins", window_duration_in_mins)
227
+ if window_type is not None:
228
+ pulumi.set(__self__, "window_type", window_type)
229
+
230
+ @property
231
+ @pulumi.getter(name="compartmentId")
232
+ def compartment_id(self) -> Optional[pulumi.Input[str]]:
233
+ """
234
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
235
+ """
236
+ return pulumi.get(self, "compartment_id")
237
+
238
+ @compartment_id.setter
239
+ def compartment_id(self, value: Optional[pulumi.Input[str]]):
240
+ pulumi.set(self, "compartment_id", value)
241
+
242
+ @property
243
+ @pulumi.getter(name="definedTags")
244
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
245
+ """
246
+ (Updatable) 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).
247
+ """
248
+ return pulumi.get(self, "defined_tags")
249
+
250
+ @defined_tags.setter
251
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
252
+ pulumi.set(self, "defined_tags", value)
253
+
254
+ @property
255
+ @pulumi.getter
256
+ def description(self) -> Optional[pulumi.Input[str]]:
257
+ """
258
+ Description of the execution window.
259
+ """
260
+ return pulumi.get(self, "description")
261
+
262
+ @description.setter
263
+ def description(self, value: Optional[pulumi.Input[str]]):
264
+ pulumi.set(self, "description", value)
265
+
266
+ @property
267
+ @pulumi.getter(name="displayName")
268
+ def display_name(self) -> Optional[pulumi.Input[str]]:
269
+ """
270
+ The user-friendly name for the execution window. The name does not need to be unique.
271
+ """
272
+ return pulumi.get(self, "display_name")
273
+
274
+ @display_name.setter
275
+ def display_name(self, value: Optional[pulumi.Input[str]]):
276
+ pulumi.set(self, "display_name", value)
277
+
278
+ @property
279
+ @pulumi.getter(name="estimatedTimeInMins")
280
+ def estimated_time_in_mins(self) -> Optional[pulumi.Input[int]]:
281
+ """
282
+ The estimated time of the execution window in minutes.
283
+ """
284
+ return pulumi.get(self, "estimated_time_in_mins")
285
+
286
+ @estimated_time_in_mins.setter
287
+ def estimated_time_in_mins(self, value: Optional[pulumi.Input[int]]):
288
+ pulumi.set(self, "estimated_time_in_mins", value)
289
+
290
+ @property
291
+ @pulumi.getter(name="executionResourceId")
292
+ def execution_resource_id(self) -> Optional[pulumi.Input[str]]:
293
+ """
294
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
295
+ """
296
+ return pulumi.get(self, "execution_resource_id")
297
+
298
+ @execution_resource_id.setter
299
+ def execution_resource_id(self, value: Optional[pulumi.Input[str]]):
300
+ pulumi.set(self, "execution_resource_id", value)
301
+
302
+ @property
303
+ @pulumi.getter(name="freeformTags")
304
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
305
+ """
306
+ (Updatable) 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"}`
307
+ """
308
+ return pulumi.get(self, "freeform_tags")
309
+
310
+ @freeform_tags.setter
311
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
312
+ pulumi.set(self, "freeform_tags", value)
313
+
314
+ @property
315
+ @pulumi.getter(name="isEnforcedDuration")
316
+ def is_enforced_duration(self) -> Optional[pulumi.Input[bool]]:
317
+ """
318
+ (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
319
+ """
320
+ return pulumi.get(self, "is_enforced_duration")
321
+
322
+ @is_enforced_duration.setter
323
+ def is_enforced_duration(self, value: Optional[pulumi.Input[bool]]):
324
+ pulumi.set(self, "is_enforced_duration", value)
325
+
326
+ @property
327
+ @pulumi.getter(name="lifecycleDetails")
328
+ def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
329
+ """
330
+ Additional information about the current lifecycle state.
331
+ """
332
+ return pulumi.get(self, "lifecycle_details")
333
+
334
+ @lifecycle_details.setter
335
+ def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
336
+ pulumi.set(self, "lifecycle_details", value)
337
+
338
+ @property
339
+ @pulumi.getter(name="lifecycleSubstate")
340
+ def lifecycle_substate(self) -> Optional[pulumi.Input[str]]:
341
+ """
342
+ The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
343
+ """
344
+ return pulumi.get(self, "lifecycle_substate")
345
+
346
+ @lifecycle_substate.setter
347
+ def lifecycle_substate(self, value: Optional[pulumi.Input[str]]):
348
+ pulumi.set(self, "lifecycle_substate", value)
349
+
350
+ @property
351
+ @pulumi.getter
352
+ def state(self) -> Optional[pulumi.Input[str]]:
353
+ """
354
+ The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
355
+ """
356
+ return pulumi.get(self, "state")
357
+
358
+ @state.setter
359
+ def state(self, value: Optional[pulumi.Input[str]]):
360
+ pulumi.set(self, "state", value)
361
+
362
+ @property
363
+ @pulumi.getter(name="timeCreated")
364
+ def time_created(self) -> Optional[pulumi.Input[str]]:
365
+ """
366
+ The date and time the execution window was created.
367
+ """
368
+ return pulumi.get(self, "time_created")
369
+
370
+ @time_created.setter
371
+ def time_created(self, value: Optional[pulumi.Input[str]]):
372
+ pulumi.set(self, "time_created", value)
373
+
374
+ @property
375
+ @pulumi.getter(name="timeEnded")
376
+ def time_ended(self) -> Optional[pulumi.Input[str]]:
377
+ """
378
+ The date and time that the execution window ended.
379
+ """
380
+ return pulumi.get(self, "time_ended")
381
+
382
+ @time_ended.setter
383
+ def time_ended(self, value: Optional[pulumi.Input[str]]):
384
+ pulumi.set(self, "time_ended", value)
385
+
386
+ @property
387
+ @pulumi.getter(name="timeScheduled")
388
+ def time_scheduled(self) -> Optional[pulumi.Input[str]]:
389
+ """
390
+ (Updatable) The scheduled start date and time of the execution window.
391
+ """
392
+ return pulumi.get(self, "time_scheduled")
393
+
394
+ @time_scheduled.setter
395
+ def time_scheduled(self, value: Optional[pulumi.Input[str]]):
396
+ pulumi.set(self, "time_scheduled", value)
397
+
398
+ @property
399
+ @pulumi.getter(name="timeStarted")
400
+ def time_started(self) -> Optional[pulumi.Input[str]]:
401
+ """
402
+ The date and time that the execution window was started.
403
+ """
404
+ return pulumi.get(self, "time_started")
405
+
406
+ @time_started.setter
407
+ def time_started(self, value: Optional[pulumi.Input[str]]):
408
+ pulumi.set(self, "time_started", value)
409
+
410
+ @property
411
+ @pulumi.getter(name="timeUpdated")
412
+ def time_updated(self) -> Optional[pulumi.Input[str]]:
413
+ """
414
+ The last date and time that the execution window was updated.
415
+ """
416
+ return pulumi.get(self, "time_updated")
417
+
418
+ @time_updated.setter
419
+ def time_updated(self, value: Optional[pulumi.Input[str]]):
420
+ pulumi.set(self, "time_updated", value)
421
+
422
+ @property
423
+ @pulumi.getter(name="totalTimeTakenInMins")
424
+ def total_time_taken_in_mins(self) -> Optional[pulumi.Input[int]]:
425
+ """
426
+ The total time taken by corresponding resource activity in minutes.
427
+ """
428
+ return pulumi.get(self, "total_time_taken_in_mins")
429
+
430
+ @total_time_taken_in_mins.setter
431
+ def total_time_taken_in_mins(self, value: Optional[pulumi.Input[int]]):
432
+ pulumi.set(self, "total_time_taken_in_mins", value)
433
+
434
+ @property
435
+ @pulumi.getter(name="windowDurationInMins")
436
+ def window_duration_in_mins(self) -> Optional[pulumi.Input[int]]:
437
+ """
438
+ (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
439
+
440
+
441
+ ** IMPORTANT **
442
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
443
+ """
444
+ return pulumi.get(self, "window_duration_in_mins")
445
+
446
+ @window_duration_in_mins.setter
447
+ def window_duration_in_mins(self, value: Optional[pulumi.Input[int]]):
448
+ pulumi.set(self, "window_duration_in_mins", value)
449
+
450
+ @property
451
+ @pulumi.getter(name="windowType")
452
+ def window_type(self) -> Optional[pulumi.Input[str]]:
453
+ """
454
+ The execution window is of PLANNED or UNPLANNED type.
455
+ """
456
+ return pulumi.get(self, "window_type")
457
+
458
+ @window_type.setter
459
+ def window_type(self, value: Optional[pulumi.Input[str]]):
460
+ pulumi.set(self, "window_type", value)
461
+
462
+
463
+ class ExecutionWindow(pulumi.CustomResource):
464
+ @overload
465
+ def __init__(__self__,
466
+ resource_name: str,
467
+ opts: Optional[pulumi.ResourceOptions] = None,
468
+ compartment_id: Optional[pulumi.Input[str]] = None,
469
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
470
+ execution_resource_id: Optional[pulumi.Input[str]] = None,
471
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
472
+ is_enforced_duration: Optional[pulumi.Input[bool]] = None,
473
+ time_scheduled: Optional[pulumi.Input[str]] = None,
474
+ window_duration_in_mins: Optional[pulumi.Input[int]] = None,
475
+ __props__=None):
476
+ """
477
+ This resource provides the Execution Window resource in Oracle Cloud Infrastructure Database service.
478
+
479
+ Creates an execution window resource.
480
+
481
+ ## Example Usage
482
+
483
+ ```python
484
+ import pulumi
485
+ import pulumi_oci as oci
486
+
487
+ test_execution_window = oci.database.ExecutionWindow("test_execution_window",
488
+ compartment_id=compartment_id,
489
+ execution_resource_id=test_resource["id"],
490
+ time_scheduled=execution_window_time_scheduled,
491
+ window_duration_in_mins=execution_window_window_duration_in_mins,
492
+ defined_tags=execution_window_defined_tags,
493
+ freeform_tags={
494
+ "Department": "Finance",
495
+ },
496
+ is_enforced_duration=execution_window_is_enforced_duration)
497
+ ```
498
+
499
+ ## Import
500
+
501
+ ExecutionWindows can be imported using the `id`, e.g.
502
+
503
+ ```sh
504
+ $ pulumi import oci:Database/executionWindow:ExecutionWindow test_execution_window "id"
505
+ ```
506
+
507
+ :param str resource_name: The name of the resource.
508
+ :param pulumi.ResourceOptions opts: Options for the resource.
509
+ :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
510
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
511
+ :param pulumi.Input[str] execution_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
512
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
513
+ :param pulumi.Input[bool] is_enforced_duration: (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
514
+ :param pulumi.Input[str] time_scheduled: (Updatable) The scheduled start date and time of the execution window.
515
+ :param pulumi.Input[int] window_duration_in_mins: (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
516
+
517
+
518
+ ** IMPORTANT **
519
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
520
+ """
521
+ ...
522
+ @overload
523
+ def __init__(__self__,
524
+ resource_name: str,
525
+ args: ExecutionWindowArgs,
526
+ opts: Optional[pulumi.ResourceOptions] = None):
527
+ """
528
+ This resource provides the Execution Window resource in Oracle Cloud Infrastructure Database service.
529
+
530
+ Creates an execution window resource.
531
+
532
+ ## Example Usage
533
+
534
+ ```python
535
+ import pulumi
536
+ import pulumi_oci as oci
537
+
538
+ test_execution_window = oci.database.ExecutionWindow("test_execution_window",
539
+ compartment_id=compartment_id,
540
+ execution_resource_id=test_resource["id"],
541
+ time_scheduled=execution_window_time_scheduled,
542
+ window_duration_in_mins=execution_window_window_duration_in_mins,
543
+ defined_tags=execution_window_defined_tags,
544
+ freeform_tags={
545
+ "Department": "Finance",
546
+ },
547
+ is_enforced_duration=execution_window_is_enforced_duration)
548
+ ```
549
+
550
+ ## Import
551
+
552
+ ExecutionWindows can be imported using the `id`, e.g.
553
+
554
+ ```sh
555
+ $ pulumi import oci:Database/executionWindow:ExecutionWindow test_execution_window "id"
556
+ ```
557
+
558
+ :param str resource_name: The name of the resource.
559
+ :param ExecutionWindowArgs args: The arguments to use to populate this resource's properties.
560
+ :param pulumi.ResourceOptions opts: Options for the resource.
561
+ """
562
+ ...
563
+ def __init__(__self__, resource_name: str, *args, **kwargs):
564
+ resource_args, opts = _utilities.get_resource_args_opts(ExecutionWindowArgs, pulumi.ResourceOptions, *args, **kwargs)
565
+ if resource_args is not None:
566
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
567
+ else:
568
+ __self__._internal_init(resource_name, *args, **kwargs)
569
+
570
+ def _internal_init(__self__,
571
+ resource_name: str,
572
+ opts: Optional[pulumi.ResourceOptions] = None,
573
+ compartment_id: Optional[pulumi.Input[str]] = None,
574
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
575
+ execution_resource_id: Optional[pulumi.Input[str]] = None,
576
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
577
+ is_enforced_duration: Optional[pulumi.Input[bool]] = None,
578
+ time_scheduled: Optional[pulumi.Input[str]] = None,
579
+ window_duration_in_mins: Optional[pulumi.Input[int]] = None,
580
+ __props__=None):
581
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
582
+ if not isinstance(opts, pulumi.ResourceOptions):
583
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
584
+ if opts.id is None:
585
+ if __props__ is not None:
586
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
587
+ __props__ = ExecutionWindowArgs.__new__(ExecutionWindowArgs)
588
+
589
+ if compartment_id is None and not opts.urn:
590
+ raise TypeError("Missing required property 'compartment_id'")
591
+ __props__.__dict__["compartment_id"] = compartment_id
592
+ __props__.__dict__["defined_tags"] = defined_tags
593
+ if execution_resource_id is None and not opts.urn:
594
+ raise TypeError("Missing required property 'execution_resource_id'")
595
+ __props__.__dict__["execution_resource_id"] = execution_resource_id
596
+ __props__.__dict__["freeform_tags"] = freeform_tags
597
+ __props__.__dict__["is_enforced_duration"] = is_enforced_duration
598
+ if time_scheduled is None and not opts.urn:
599
+ raise TypeError("Missing required property 'time_scheduled'")
600
+ __props__.__dict__["time_scheduled"] = time_scheduled
601
+ if window_duration_in_mins is None and not opts.urn:
602
+ raise TypeError("Missing required property 'window_duration_in_mins'")
603
+ __props__.__dict__["window_duration_in_mins"] = window_duration_in_mins
604
+ __props__.__dict__["description"] = None
605
+ __props__.__dict__["display_name"] = None
606
+ __props__.__dict__["estimated_time_in_mins"] = None
607
+ __props__.__dict__["lifecycle_details"] = None
608
+ __props__.__dict__["lifecycle_substate"] = None
609
+ __props__.__dict__["state"] = None
610
+ __props__.__dict__["time_created"] = None
611
+ __props__.__dict__["time_ended"] = None
612
+ __props__.__dict__["time_started"] = None
613
+ __props__.__dict__["time_updated"] = None
614
+ __props__.__dict__["total_time_taken_in_mins"] = None
615
+ __props__.__dict__["window_type"] = None
616
+ super(ExecutionWindow, __self__).__init__(
617
+ 'oci:Database/executionWindow:ExecutionWindow',
618
+ resource_name,
619
+ __props__,
620
+ opts)
621
+
622
+ @staticmethod
623
+ def get(resource_name: str,
624
+ id: pulumi.Input[str],
625
+ opts: Optional[pulumi.ResourceOptions] = None,
626
+ compartment_id: Optional[pulumi.Input[str]] = None,
627
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
628
+ description: Optional[pulumi.Input[str]] = None,
629
+ display_name: Optional[pulumi.Input[str]] = None,
630
+ estimated_time_in_mins: Optional[pulumi.Input[int]] = None,
631
+ execution_resource_id: Optional[pulumi.Input[str]] = None,
632
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
633
+ is_enforced_duration: Optional[pulumi.Input[bool]] = None,
634
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
635
+ lifecycle_substate: Optional[pulumi.Input[str]] = None,
636
+ state: Optional[pulumi.Input[str]] = None,
637
+ time_created: Optional[pulumi.Input[str]] = None,
638
+ time_ended: Optional[pulumi.Input[str]] = None,
639
+ time_scheduled: Optional[pulumi.Input[str]] = None,
640
+ time_started: Optional[pulumi.Input[str]] = None,
641
+ time_updated: Optional[pulumi.Input[str]] = None,
642
+ total_time_taken_in_mins: Optional[pulumi.Input[int]] = None,
643
+ window_duration_in_mins: Optional[pulumi.Input[int]] = None,
644
+ window_type: Optional[pulumi.Input[str]] = None) -> 'ExecutionWindow':
645
+ """
646
+ Get an existing ExecutionWindow resource's state with the given name, id, and optional extra
647
+ properties used to qualify the lookup.
648
+
649
+ :param str resource_name: The unique name of the resulting resource.
650
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
651
+ :param pulumi.ResourceOptions opts: Options for the resource.
652
+ :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
653
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
654
+ :param pulumi.Input[str] description: Description of the execution window.
655
+ :param pulumi.Input[str] display_name: The user-friendly name for the execution window. The name does not need to be unique.
656
+ :param pulumi.Input[int] estimated_time_in_mins: The estimated time of the execution window in minutes.
657
+ :param pulumi.Input[str] execution_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
658
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
659
+ :param pulumi.Input[bool] is_enforced_duration: (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
660
+ :param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state.
661
+ :param pulumi.Input[str] lifecycle_substate: The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
662
+ :param pulumi.Input[str] state: The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
663
+ :param pulumi.Input[str] time_created: The date and time the execution window was created.
664
+ :param pulumi.Input[str] time_ended: The date and time that the execution window ended.
665
+ :param pulumi.Input[str] time_scheduled: (Updatable) The scheduled start date and time of the execution window.
666
+ :param pulumi.Input[str] time_started: The date and time that the execution window was started.
667
+ :param pulumi.Input[str] time_updated: The last date and time that the execution window was updated.
668
+ :param pulumi.Input[int] total_time_taken_in_mins: The total time taken by corresponding resource activity in minutes.
669
+ :param pulumi.Input[int] window_duration_in_mins: (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
670
+
671
+
672
+ ** IMPORTANT **
673
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
674
+ :param pulumi.Input[str] window_type: The execution window is of PLANNED or UNPLANNED type.
675
+ """
676
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
677
+
678
+ __props__ = _ExecutionWindowState.__new__(_ExecutionWindowState)
679
+
680
+ __props__.__dict__["compartment_id"] = compartment_id
681
+ __props__.__dict__["defined_tags"] = defined_tags
682
+ __props__.__dict__["description"] = description
683
+ __props__.__dict__["display_name"] = display_name
684
+ __props__.__dict__["estimated_time_in_mins"] = estimated_time_in_mins
685
+ __props__.__dict__["execution_resource_id"] = execution_resource_id
686
+ __props__.__dict__["freeform_tags"] = freeform_tags
687
+ __props__.__dict__["is_enforced_duration"] = is_enforced_duration
688
+ __props__.__dict__["lifecycle_details"] = lifecycle_details
689
+ __props__.__dict__["lifecycle_substate"] = lifecycle_substate
690
+ __props__.__dict__["state"] = state
691
+ __props__.__dict__["time_created"] = time_created
692
+ __props__.__dict__["time_ended"] = time_ended
693
+ __props__.__dict__["time_scheduled"] = time_scheduled
694
+ __props__.__dict__["time_started"] = time_started
695
+ __props__.__dict__["time_updated"] = time_updated
696
+ __props__.__dict__["total_time_taken_in_mins"] = total_time_taken_in_mins
697
+ __props__.__dict__["window_duration_in_mins"] = window_duration_in_mins
698
+ __props__.__dict__["window_type"] = window_type
699
+ return ExecutionWindow(resource_name, opts=opts, __props__=__props__)
700
+
701
+ @property
702
+ @pulumi.getter(name="compartmentId")
703
+ def compartment_id(self) -> pulumi.Output[str]:
704
+ """
705
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
706
+ """
707
+ return pulumi.get(self, "compartment_id")
708
+
709
+ @property
710
+ @pulumi.getter(name="definedTags")
711
+ def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
712
+ """
713
+ (Updatable) 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).
714
+ """
715
+ return pulumi.get(self, "defined_tags")
716
+
717
+ @property
718
+ @pulumi.getter
719
+ def description(self) -> pulumi.Output[str]:
720
+ """
721
+ Description of the execution window.
722
+ """
723
+ return pulumi.get(self, "description")
724
+
725
+ @property
726
+ @pulumi.getter(name="displayName")
727
+ def display_name(self) -> pulumi.Output[str]:
728
+ """
729
+ The user-friendly name for the execution window. The name does not need to be unique.
730
+ """
731
+ return pulumi.get(self, "display_name")
732
+
733
+ @property
734
+ @pulumi.getter(name="estimatedTimeInMins")
735
+ def estimated_time_in_mins(self) -> pulumi.Output[int]:
736
+ """
737
+ The estimated time of the execution window in minutes.
738
+ """
739
+ return pulumi.get(self, "estimated_time_in_mins")
740
+
741
+ @property
742
+ @pulumi.getter(name="executionResourceId")
743
+ def execution_resource_id(self) -> pulumi.Output[str]:
744
+ """
745
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
746
+ """
747
+ return pulumi.get(self, "execution_resource_id")
748
+
749
+ @property
750
+ @pulumi.getter(name="freeformTags")
751
+ def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
752
+ """
753
+ (Updatable) 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"}`
754
+ """
755
+ return pulumi.get(self, "freeform_tags")
756
+
757
+ @property
758
+ @pulumi.getter(name="isEnforcedDuration")
759
+ def is_enforced_duration(self) -> pulumi.Output[bool]:
760
+ """
761
+ (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
762
+ """
763
+ return pulumi.get(self, "is_enforced_duration")
764
+
765
+ @property
766
+ @pulumi.getter(name="lifecycleDetails")
767
+ def lifecycle_details(self) -> pulumi.Output[str]:
768
+ """
769
+ Additional information about the current lifecycle state.
770
+ """
771
+ return pulumi.get(self, "lifecycle_details")
772
+
773
+ @property
774
+ @pulumi.getter(name="lifecycleSubstate")
775
+ def lifecycle_substate(self) -> pulumi.Output[str]:
776
+ """
777
+ The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
778
+ """
779
+ return pulumi.get(self, "lifecycle_substate")
780
+
781
+ @property
782
+ @pulumi.getter
783
+ def state(self) -> pulumi.Output[str]:
784
+ """
785
+ The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
786
+ """
787
+ return pulumi.get(self, "state")
788
+
789
+ @property
790
+ @pulumi.getter(name="timeCreated")
791
+ def time_created(self) -> pulumi.Output[str]:
792
+ """
793
+ The date and time the execution window was created.
794
+ """
795
+ return pulumi.get(self, "time_created")
796
+
797
+ @property
798
+ @pulumi.getter(name="timeEnded")
799
+ def time_ended(self) -> pulumi.Output[str]:
800
+ """
801
+ The date and time that the execution window ended.
802
+ """
803
+ return pulumi.get(self, "time_ended")
804
+
805
+ @property
806
+ @pulumi.getter(name="timeScheduled")
807
+ def time_scheduled(self) -> pulumi.Output[str]:
808
+ """
809
+ (Updatable) The scheduled start date and time of the execution window.
810
+ """
811
+ return pulumi.get(self, "time_scheduled")
812
+
813
+ @property
814
+ @pulumi.getter(name="timeStarted")
815
+ def time_started(self) -> pulumi.Output[str]:
816
+ """
817
+ The date and time that the execution window was started.
818
+ """
819
+ return pulumi.get(self, "time_started")
820
+
821
+ @property
822
+ @pulumi.getter(name="timeUpdated")
823
+ def time_updated(self) -> pulumi.Output[str]:
824
+ """
825
+ The last date and time that the execution window was updated.
826
+ """
827
+ return pulumi.get(self, "time_updated")
828
+
829
+ @property
830
+ @pulumi.getter(name="totalTimeTakenInMins")
831
+ def total_time_taken_in_mins(self) -> pulumi.Output[int]:
832
+ """
833
+ The total time taken by corresponding resource activity in minutes.
834
+ """
835
+ return pulumi.get(self, "total_time_taken_in_mins")
836
+
837
+ @property
838
+ @pulumi.getter(name="windowDurationInMins")
839
+ def window_duration_in_mins(self) -> pulumi.Output[int]:
840
+ """
841
+ (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
842
+
843
+
844
+ ** IMPORTANT **
845
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
846
+ """
847
+ return pulumi.get(self, "window_duration_in_mins")
848
+
849
+ @property
850
+ @pulumi.getter(name="windowType")
851
+ def window_type(self) -> pulumi.Output[str]:
852
+ """
853
+ The execution window is of PLANNED or UNPLANNED type.
854
+ """
855
+ return pulumi.get(self, "window_type")
856
+