pulumi-oci 2.24.0a1738736368__py3-none-any.whl → 2.24.0a1738857714__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.
- pulumi_oci/__init__.py +72 -0
- pulumi_oci/database/__init__.py +20 -0
- pulumi_oci/database/_inputs.py +868 -14
- pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
- pulumi_oci/database/exadata_infrastructure.py +28 -0
- pulumi_oci/database/execution_action.py +812 -0
- pulumi_oci/database/execution_window.py +856 -0
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +15 -1
- pulumi_oci/database/get_database_maintenance_run_history.py +29 -1
- pulumi_oci/database/get_exadata_infrastructure.py +15 -1
- pulumi_oci/database/get_execution_action.py +352 -0
- pulumi_oci/database/get_execution_actions.py +213 -0
- pulumi_oci/database/get_execution_window.py +379 -0
- pulumi_oci/database/get_execution_windows.py +213 -0
- pulumi_oci/database/get_maintenance_run.py +32 -4
- pulumi_oci/database/get_scheduled_action.py +324 -0
- pulumi_oci/database/get_scheduled_action_params.py +144 -0
- pulumi_oci/database/get_scheduled_actions.py +240 -0
- pulumi_oci/database/get_scheduling_plan.py +323 -0
- pulumi_oci/database/get_scheduling_plans.py +243 -0
- pulumi_oci/database/get_scheduling_policies.py +191 -0
- pulumi_oci/database/get_scheduling_policy.py +268 -0
- pulumi_oci/database/get_scheduling_policy_recommended_scheduled_actions.py +182 -0
- pulumi_oci/database/get_scheduling_policy_scheduling_window.py +276 -0
- pulumi_oci/database/get_scheduling_policy_scheduling_windows.py +213 -0
- pulumi_oci/database/maintenance_run.py +58 -2
- pulumi_oci/database/outputs.py +11459 -7870
- pulumi_oci/database/scheduled_action.py +775 -0
- pulumi_oci/database/scheduling_plan.py +744 -0
- pulumi_oci/database/scheduling_policy.py +616 -0
- pulumi_oci/database/scheduling_policy_scheduling_window.py +584 -0
- pulumi_oci/datasafe/__init__.py +8 -0
- pulumi_oci/datasafe/_inputs.py +466 -12
- pulumi_oci/datasafe/alert.py +7 -7
- pulumi_oci/datasafe/alert_policy.py +7 -7
- pulumi_oci/datasafe/audit_archive_retrieval.py +7 -7
- pulumi_oci/datasafe/audit_policy.py +7 -7
- pulumi_oci/datasafe/audit_policy_management.py +21 -21
- pulumi_oci/datasafe/audit_profile.py +18 -18
- pulumi_oci/datasafe/audit_profile_management.py +21 -21
- pulumi_oci/datasafe/audit_trail.py +14 -14
- pulumi_oci/datasafe/audit_trail_management.py +14 -14
- pulumi_oci/datasafe/data_safe_configuration.py +4 -4
- pulumi_oci/datasafe/data_safe_private_endpoint.py +7 -7
- pulumi_oci/datasafe/database_security_config.py +7 -7
- pulumi_oci/datasafe/database_security_config_management.py +7 -7
- pulumi_oci/datasafe/discovery_mod.py +7 -7
- pulumi_oci/datasafe/get_alert.py +1 -1
- pulumi_oci/datasafe/get_alert_policy.py +1 -1
- pulumi_oci/datasafe/get_audit_archive_retrieval.py +1 -1
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_audit_policy.py +1 -1
- pulumi_oci/datasafe/get_audit_profile.py +2 -2
- pulumi_oci/datasafe/get_audit_trail.py +1 -1
- pulumi_oci/datasafe/get_data_safe_configuration.py +1 -1
- pulumi_oci/datasafe/get_data_safe_private_endpoint.py +1 -1
- pulumi_oci/datasafe/get_database_security_config.py +1 -1
- pulumi_oci/datasafe/get_discovery_job.py +1 -1
- pulumi_oci/datasafe/get_library_masking_format.py +1 -1
- pulumi_oci/datasafe/get_masking_policy.py +1 -1
- pulumi_oci/datasafe/get_masking_policy_health_report.py +33 -5
- pulumi_oci/datasafe/get_masking_policy_referential_relations.py +232 -0
- pulumi_oci/datasafe/get_onprem_connector.py +1 -1
- pulumi_oci/datasafe/get_report.py +1 -1
- pulumi_oci/datasafe/get_report_definition.py +1 -1
- pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +1 -1
- pulumi_oci/datasafe/get_security_assessment.py +1 -1
- pulumi_oci/datasafe/get_security_policy.py +1 -1
- pulumi_oci/datasafe/get_security_policy_deployment.py +1 -1
- pulumi_oci/datasafe/get_sensitive_data_model.py +1 -1
- pulumi_oci/datasafe/get_sensitive_data_model_referential_relation.py +186 -0
- pulumi_oci/datasafe/get_sensitive_data_model_referential_relations.py +254 -0
- pulumi_oci/datasafe/get_sensitive_type.py +1 -1
- pulumi_oci/datasafe/get_sensitive_types_export.py +267 -0
- pulumi_oci/datasafe/get_sensitive_types_exports.py +296 -0
- pulumi_oci/datasafe/get_sql_collection.py +1 -1
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +1 -1
- pulumi_oci/datasafe/get_sql_firewall_policy.py +1 -1
- pulumi_oci/datasafe/get_target_alert_policy_association.py +1 -1
- pulumi_oci/datasafe/get_target_database.py +1 -1
- pulumi_oci/datasafe/get_user_assessment.py +1 -1
- pulumi_oci/datasafe/get_user_assessment_password_expiry_date_analytics.py +240 -0
- pulumi_oci/datasafe/get_user_assessment_user_analytics.py +41 -3
- pulumi_oci/datasafe/get_user_assessment_users.py +39 -1
- pulumi_oci/datasafe/library_masing_format.py +7 -7
- pulumi_oci/datasafe/masking_policy.py +7 -7
- pulumi_oci/datasafe/on_prem_connector.py +7 -7
- pulumi_oci/datasafe/outputs.py +1266 -151
- pulumi_oci/datasafe/report.py +7 -7
- pulumi_oci/datasafe/report_definition.py +7 -7
- pulumi_oci/datasafe/sdm_masking_policy_difference.py +7 -7
- pulumi_oci/datasafe/security_assessment.py +36 -37
- pulumi_oci/datasafe/security_policy.py +7 -7
- pulumi_oci/datasafe/security_policy_deployment.py +7 -7
- pulumi_oci/datasafe/security_policy_deployment_management.py +7 -7
- pulumi_oci/datasafe/security_policy_management.py +7 -7
- pulumi_oci/datasafe/sensitive_data_model.py +7 -7
- pulumi_oci/datasafe/sensitive_data_model_referential_relation.py +504 -0
- pulumi_oci/datasafe/sensitive_type.py +7 -7
- pulumi_oci/datasafe/sensitive_types_export.py +637 -0
- pulumi_oci/datasafe/sql_collection.py +7 -7
- pulumi_oci/datasafe/sql_firewall_policy.py +7 -7
- pulumi_oci/datasafe/sql_firewall_policy_management.py +56 -56
- pulumi_oci/datasafe/target_alert_policy_association.py +7 -7
- pulumi_oci/datasafe/target_database.py +7 -7
- pulumi_oci/datasafe/user_assessment.py +7 -7
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1811 -0
- pulumi_oci/datascience/get_containers.py +270 -0
- pulumi_oci/datascience/get_schedule.py +366 -0
- pulumi_oci/datascience/get_schedules.py +221 -0
- pulumi_oci/datascience/outputs.py +8697 -4890
- pulumi_oci/datascience/schedule.py +1045 -0
- pulumi_oci/mysql/_inputs.py +229 -9
- pulumi_oci/mysql/get_mysql_db_system.py +47 -1
- pulumi_oci/mysql/mysql_db_system.py +185 -0
- pulumi_oci/mysql/outputs.py +477 -26
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.24.0a1738736368.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/METADATA +1 -1
- {pulumi_oci-2.24.0a1738736368.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/RECORD +122 -90
- {pulumi_oci-2.24.0a1738736368.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.24.0a1738736368.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,276 @@
|
|
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
|
+
'GetSchedulingPolicySchedulingWindowResult',
|
20
|
+
'AwaitableGetSchedulingPolicySchedulingWindowResult',
|
21
|
+
'get_scheduling_policy_scheduling_window',
|
22
|
+
'get_scheduling_policy_scheduling_window_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetSchedulingPolicySchedulingWindowResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getSchedulingPolicySchedulingWindow.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, scheduling_policy_id=None, scheduling_window_id=None, state=None, time_created=None, time_next_scheduling_window_starts=None, time_updated=None, window_preferences=None):
|
31
|
+
if compartment_id and not isinstance(compartment_id, str):
|
32
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
34
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
35
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
36
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
37
|
+
if display_name and not isinstance(display_name, str):
|
38
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
39
|
+
pulumi.set(__self__, "display_name", display_name)
|
40
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
41
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
42
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
43
|
+
if id and not isinstance(id, str):
|
44
|
+
raise TypeError("Expected argument 'id' to be a str")
|
45
|
+
pulumi.set(__self__, "id", id)
|
46
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
47
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
48
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
49
|
+
if scheduling_policy_id and not isinstance(scheduling_policy_id, str):
|
50
|
+
raise TypeError("Expected argument 'scheduling_policy_id' to be a str")
|
51
|
+
pulumi.set(__self__, "scheduling_policy_id", scheduling_policy_id)
|
52
|
+
if scheduling_window_id and not isinstance(scheduling_window_id, str):
|
53
|
+
raise TypeError("Expected argument 'scheduling_window_id' to be a str")
|
54
|
+
pulumi.set(__self__, "scheduling_window_id", scheduling_window_id)
|
55
|
+
if state and not isinstance(state, str):
|
56
|
+
raise TypeError("Expected argument 'state' to be a str")
|
57
|
+
pulumi.set(__self__, "state", state)
|
58
|
+
if time_created and not isinstance(time_created, str):
|
59
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
60
|
+
pulumi.set(__self__, "time_created", time_created)
|
61
|
+
if time_next_scheduling_window_starts and not isinstance(time_next_scheduling_window_starts, str):
|
62
|
+
raise TypeError("Expected argument 'time_next_scheduling_window_starts' to be a str")
|
63
|
+
pulumi.set(__self__, "time_next_scheduling_window_starts", time_next_scheduling_window_starts)
|
64
|
+
if time_updated and not isinstance(time_updated, str):
|
65
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
66
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
67
|
+
if window_preferences and not isinstance(window_preferences, list):
|
68
|
+
raise TypeError("Expected argument 'window_preferences' to be a list")
|
69
|
+
pulumi.set(__self__, "window_preferences", window_preferences)
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="compartmentId")
|
73
|
+
def compartment_id(self) -> str:
|
74
|
+
"""
|
75
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "compartment_id")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="definedTags")
|
81
|
+
def defined_tags(self) -> Mapping[str, str]:
|
82
|
+
"""
|
83
|
+
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).
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "defined_tags")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="displayName")
|
89
|
+
def display_name(self) -> str:
|
90
|
+
"""
|
91
|
+
The user-friendly name for the Scheduling Window. The name does not need to be unique.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "display_name")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter(name="freeformTags")
|
97
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
98
|
+
"""
|
99
|
+
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"}`
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "freeform_tags")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter
|
105
|
+
def id(self) -> str:
|
106
|
+
"""
|
107
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "id")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="lifecycleDetails")
|
113
|
+
def lifecycle_details(self) -> str:
|
114
|
+
"""
|
115
|
+
Additional information about the current lifecycle state.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "lifecycle_details")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="schedulingPolicyId")
|
121
|
+
def scheduling_policy_id(self) -> str:
|
122
|
+
"""
|
123
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Policy.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "scheduling_policy_id")
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter(name="schedulingWindowId")
|
129
|
+
def scheduling_window_id(self) -> str:
|
130
|
+
return pulumi.get(self, "scheduling_window_id")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter
|
134
|
+
def state(self) -> str:
|
135
|
+
"""
|
136
|
+
The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "state")
|
139
|
+
|
140
|
+
@property
|
141
|
+
@pulumi.getter(name="timeCreated")
|
142
|
+
def time_created(self) -> str:
|
143
|
+
"""
|
144
|
+
The date and time the Scheduling Window was created.
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "time_created")
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="timeNextSchedulingWindowStarts")
|
150
|
+
def time_next_scheduling_window_starts(self) -> str:
|
151
|
+
"""
|
152
|
+
The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "time_next_scheduling_window_starts")
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter(name="timeUpdated")
|
158
|
+
def time_updated(self) -> str:
|
159
|
+
"""
|
160
|
+
The last date and time that the Scheduling Window was updated.
|
161
|
+
"""
|
162
|
+
return pulumi.get(self, "time_updated")
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="windowPreferences")
|
166
|
+
def window_preferences(self) -> Sequence['outputs.GetSchedulingPolicySchedulingWindowWindowPreferenceResult']:
|
167
|
+
"""
|
168
|
+
The Single Scheduling Window details.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "window_preferences")
|
171
|
+
|
172
|
+
|
173
|
+
class AwaitableGetSchedulingPolicySchedulingWindowResult(GetSchedulingPolicySchedulingWindowResult):
|
174
|
+
# pylint: disable=using-constant-test
|
175
|
+
def __await__(self):
|
176
|
+
if False:
|
177
|
+
yield self
|
178
|
+
return GetSchedulingPolicySchedulingWindowResult(
|
179
|
+
compartment_id=self.compartment_id,
|
180
|
+
defined_tags=self.defined_tags,
|
181
|
+
display_name=self.display_name,
|
182
|
+
freeform_tags=self.freeform_tags,
|
183
|
+
id=self.id,
|
184
|
+
lifecycle_details=self.lifecycle_details,
|
185
|
+
scheduling_policy_id=self.scheduling_policy_id,
|
186
|
+
scheduling_window_id=self.scheduling_window_id,
|
187
|
+
state=self.state,
|
188
|
+
time_created=self.time_created,
|
189
|
+
time_next_scheduling_window_starts=self.time_next_scheduling_window_starts,
|
190
|
+
time_updated=self.time_updated,
|
191
|
+
window_preferences=self.window_preferences)
|
192
|
+
|
193
|
+
|
194
|
+
def get_scheduling_policy_scheduling_window(scheduling_policy_id: Optional[str] = None,
|
195
|
+
scheduling_window_id: Optional[str] = None,
|
196
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSchedulingPolicySchedulingWindowResult:
|
197
|
+
"""
|
198
|
+
This data source provides details about a specific Scheduling Policy Scheduling Window resource in Oracle Cloud Infrastructure Database service.
|
199
|
+
|
200
|
+
Gets information about the specified Scheduling Window.
|
201
|
+
|
202
|
+
## Example Usage
|
203
|
+
|
204
|
+
```python
|
205
|
+
import pulumi
|
206
|
+
import pulumi_oci as oci
|
207
|
+
|
208
|
+
test_scheduling_policy_scheduling_window = oci.Database.get_scheduling_policy_scheduling_window(scheduling_policy_id=test_scheduling_policy["id"],
|
209
|
+
scheduling_window_id=test_scheduling_window["id"])
|
210
|
+
```
|
211
|
+
|
212
|
+
|
213
|
+
:param str scheduling_policy_id: The Scheduling Policy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
214
|
+
:param str scheduling_window_id: The Scheduling Window [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
215
|
+
"""
|
216
|
+
__args__ = dict()
|
217
|
+
__args__['schedulingPolicyId'] = scheduling_policy_id
|
218
|
+
__args__['schedulingWindowId'] = scheduling_window_id
|
219
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
220
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getSchedulingPolicySchedulingWindow:getSchedulingPolicySchedulingWindow', __args__, opts=opts, typ=GetSchedulingPolicySchedulingWindowResult).value
|
221
|
+
|
222
|
+
return AwaitableGetSchedulingPolicySchedulingWindowResult(
|
223
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
224
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
225
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
226
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
227
|
+
id=pulumi.get(__ret__, 'id'),
|
228
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
229
|
+
scheduling_policy_id=pulumi.get(__ret__, 'scheduling_policy_id'),
|
230
|
+
scheduling_window_id=pulumi.get(__ret__, 'scheduling_window_id'),
|
231
|
+
state=pulumi.get(__ret__, 'state'),
|
232
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
233
|
+
time_next_scheduling_window_starts=pulumi.get(__ret__, 'time_next_scheduling_window_starts'),
|
234
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
235
|
+
window_preferences=pulumi.get(__ret__, 'window_preferences'))
|
236
|
+
def get_scheduling_policy_scheduling_window_output(scheduling_policy_id: Optional[pulumi.Input[str]] = None,
|
237
|
+
scheduling_window_id: Optional[pulumi.Input[str]] = None,
|
238
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSchedulingPolicySchedulingWindowResult]:
|
239
|
+
"""
|
240
|
+
This data source provides details about a specific Scheduling Policy Scheduling Window resource in Oracle Cloud Infrastructure Database service.
|
241
|
+
|
242
|
+
Gets information about the specified Scheduling Window.
|
243
|
+
|
244
|
+
## Example Usage
|
245
|
+
|
246
|
+
```python
|
247
|
+
import pulumi
|
248
|
+
import pulumi_oci as oci
|
249
|
+
|
250
|
+
test_scheduling_policy_scheduling_window = oci.Database.get_scheduling_policy_scheduling_window(scheduling_policy_id=test_scheduling_policy["id"],
|
251
|
+
scheduling_window_id=test_scheduling_window["id"])
|
252
|
+
```
|
253
|
+
|
254
|
+
|
255
|
+
:param str scheduling_policy_id: The Scheduling Policy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
256
|
+
:param str scheduling_window_id: The Scheduling Window [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
257
|
+
"""
|
258
|
+
__args__ = dict()
|
259
|
+
__args__['schedulingPolicyId'] = scheduling_policy_id
|
260
|
+
__args__['schedulingWindowId'] = scheduling_window_id
|
261
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
262
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Database/getSchedulingPolicySchedulingWindow:getSchedulingPolicySchedulingWindow', __args__, opts=opts, typ=GetSchedulingPolicySchedulingWindowResult)
|
263
|
+
return __ret__.apply(lambda __response__: GetSchedulingPolicySchedulingWindowResult(
|
264
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
265
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
266
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
267
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
268
|
+
id=pulumi.get(__response__, 'id'),
|
269
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
270
|
+
scheduling_policy_id=pulumi.get(__response__, 'scheduling_policy_id'),
|
271
|
+
scheduling_window_id=pulumi.get(__response__, 'scheduling_window_id'),
|
272
|
+
state=pulumi.get(__response__, 'state'),
|
273
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
274
|
+
time_next_scheduling_window_starts=pulumi.get(__response__, 'time_next_scheduling_window_starts'),
|
275
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
276
|
+
window_preferences=pulumi.get(__response__, 'window_preferences')))
|
@@ -0,0 +1,213 @@
|
|
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
|
+
'GetSchedulingPolicySchedulingWindowsResult',
|
21
|
+
'AwaitableGetSchedulingPolicySchedulingWindowsResult',
|
22
|
+
'get_scheduling_policy_scheduling_windows',
|
23
|
+
'get_scheduling_policy_scheduling_windows_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetSchedulingPolicySchedulingWindowsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getSchedulingPolicySchedulingWindows.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, scheduling_policy_id=None, scheduling_windows=None, state=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if display_name and not isinstance(display_name, str):
|
36
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
37
|
+
pulumi.set(__self__, "display_name", display_name)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if scheduling_policy_id and not isinstance(scheduling_policy_id, str):
|
45
|
+
raise TypeError("Expected argument 'scheduling_policy_id' to be a str")
|
46
|
+
pulumi.set(__self__, "scheduling_policy_id", scheduling_policy_id)
|
47
|
+
if scheduling_windows and not isinstance(scheduling_windows, list):
|
48
|
+
raise TypeError("Expected argument 'scheduling_windows' to be a list")
|
49
|
+
pulumi.set(__self__, "scheduling_windows", scheduling_windows)
|
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
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="compartmentId")
|
56
|
+
def compartment_id(self) -> Optional[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
|
+
@property
|
63
|
+
@pulumi.getter(name="displayName")
|
64
|
+
def display_name(self) -> Optional[str]:
|
65
|
+
"""
|
66
|
+
The user-friendly name for the Scheduling Window. The name does not need to be unique.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "display_name")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def filters(self) -> Optional[Sequence['outputs.GetSchedulingPolicySchedulingWindowsFilterResult']]:
|
73
|
+
return pulumi.get(self, "filters")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def id(self) -> str:
|
78
|
+
"""
|
79
|
+
The provider-assigned unique ID for this managed resource.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "id")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="schedulingPolicyId")
|
85
|
+
def scheduling_policy_id(self) -> str:
|
86
|
+
"""
|
87
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Policy.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "scheduling_policy_id")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="schedulingWindows")
|
93
|
+
def scheduling_windows(self) -> Sequence['outputs.GetSchedulingPolicySchedulingWindowsSchedulingWindowResult']:
|
94
|
+
"""
|
95
|
+
The list of scheduling_windows.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "scheduling_windows")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def state(self) -> Optional[str]:
|
102
|
+
"""
|
103
|
+
The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "state")
|
106
|
+
|
107
|
+
|
108
|
+
class AwaitableGetSchedulingPolicySchedulingWindowsResult(GetSchedulingPolicySchedulingWindowsResult):
|
109
|
+
# pylint: disable=using-constant-test
|
110
|
+
def __await__(self):
|
111
|
+
if False:
|
112
|
+
yield self
|
113
|
+
return GetSchedulingPolicySchedulingWindowsResult(
|
114
|
+
compartment_id=self.compartment_id,
|
115
|
+
display_name=self.display_name,
|
116
|
+
filters=self.filters,
|
117
|
+
id=self.id,
|
118
|
+
scheduling_policy_id=self.scheduling_policy_id,
|
119
|
+
scheduling_windows=self.scheduling_windows,
|
120
|
+
state=self.state)
|
121
|
+
|
122
|
+
|
123
|
+
def get_scheduling_policy_scheduling_windows(compartment_id: Optional[str] = None,
|
124
|
+
display_name: Optional[str] = None,
|
125
|
+
filters: Optional[Sequence[Union['GetSchedulingPolicySchedulingWindowsFilterArgs', 'GetSchedulingPolicySchedulingWindowsFilterArgsDict']]] = None,
|
126
|
+
scheduling_policy_id: Optional[str] = None,
|
127
|
+
state: Optional[str] = None,
|
128
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSchedulingPolicySchedulingWindowsResult:
|
129
|
+
"""
|
130
|
+
This data source provides the list of Scheduling Policy Scheduling Windows in Oracle Cloud Infrastructure Database service.
|
131
|
+
|
132
|
+
Lists the Scheduling Window resources in the specified compartment.
|
133
|
+
|
134
|
+
## Example Usage
|
135
|
+
|
136
|
+
```python
|
137
|
+
import pulumi
|
138
|
+
import pulumi_oci as oci
|
139
|
+
|
140
|
+
test_scheduling_policy_scheduling_windows = oci.Database.get_scheduling_policy_scheduling_windows(scheduling_policy_id=test_scheduling_policy["id"],
|
141
|
+
compartment_id=compartment_id,
|
142
|
+
display_name=scheduling_policy_scheduling_window_display_name,
|
143
|
+
state=scheduling_policy_scheduling_window_state)
|
144
|
+
```
|
145
|
+
|
146
|
+
|
147
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
148
|
+
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
149
|
+
:param str scheduling_policy_id: The Scheduling Policy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
150
|
+
:param str state: A filter to return only resources that match the given lifecycle state exactly.
|
151
|
+
"""
|
152
|
+
__args__ = dict()
|
153
|
+
__args__['compartmentId'] = compartment_id
|
154
|
+
__args__['displayName'] = display_name
|
155
|
+
__args__['filters'] = filters
|
156
|
+
__args__['schedulingPolicyId'] = scheduling_policy_id
|
157
|
+
__args__['state'] = state
|
158
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
159
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getSchedulingPolicySchedulingWindows:getSchedulingPolicySchedulingWindows', __args__, opts=opts, typ=GetSchedulingPolicySchedulingWindowsResult).value
|
160
|
+
|
161
|
+
return AwaitableGetSchedulingPolicySchedulingWindowsResult(
|
162
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
163
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
164
|
+
filters=pulumi.get(__ret__, 'filters'),
|
165
|
+
id=pulumi.get(__ret__, 'id'),
|
166
|
+
scheduling_policy_id=pulumi.get(__ret__, 'scheduling_policy_id'),
|
167
|
+
scheduling_windows=pulumi.get(__ret__, 'scheduling_windows'),
|
168
|
+
state=pulumi.get(__ret__, 'state'))
|
169
|
+
def get_scheduling_policy_scheduling_windows_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
170
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSchedulingPolicySchedulingWindowsFilterArgs', 'GetSchedulingPolicySchedulingWindowsFilterArgsDict']]]]] = None,
|
172
|
+
scheduling_policy_id: Optional[pulumi.Input[str]] = None,
|
173
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
174
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSchedulingPolicySchedulingWindowsResult]:
|
175
|
+
"""
|
176
|
+
This data source provides the list of Scheduling Policy Scheduling Windows in Oracle Cloud Infrastructure Database service.
|
177
|
+
|
178
|
+
Lists the Scheduling Window resources in the specified compartment.
|
179
|
+
|
180
|
+
## Example Usage
|
181
|
+
|
182
|
+
```python
|
183
|
+
import pulumi
|
184
|
+
import pulumi_oci as oci
|
185
|
+
|
186
|
+
test_scheduling_policy_scheduling_windows = oci.Database.get_scheduling_policy_scheduling_windows(scheduling_policy_id=test_scheduling_policy["id"],
|
187
|
+
compartment_id=compartment_id,
|
188
|
+
display_name=scheduling_policy_scheduling_window_display_name,
|
189
|
+
state=scheduling_policy_scheduling_window_state)
|
190
|
+
```
|
191
|
+
|
192
|
+
|
193
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
194
|
+
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
195
|
+
:param str scheduling_policy_id: The Scheduling Policy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
196
|
+
:param str state: A filter to return only resources that match the given lifecycle state exactly.
|
197
|
+
"""
|
198
|
+
__args__ = dict()
|
199
|
+
__args__['compartmentId'] = compartment_id
|
200
|
+
__args__['displayName'] = display_name
|
201
|
+
__args__['filters'] = filters
|
202
|
+
__args__['schedulingPolicyId'] = scheduling_policy_id
|
203
|
+
__args__['state'] = state
|
204
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
205
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Database/getSchedulingPolicySchedulingWindows:getSchedulingPolicySchedulingWindows', __args__, opts=opts, typ=GetSchedulingPolicySchedulingWindowsResult)
|
206
|
+
return __ret__.apply(lambda __response__: GetSchedulingPolicySchedulingWindowsResult(
|
207
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
208
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
209
|
+
filters=pulumi.get(__response__, 'filters'),
|
210
|
+
id=pulumi.get(__response__, 'id'),
|
211
|
+
scheduling_policy_id=pulumi.get(__response__, 'scheduling_policy_id'),
|
212
|
+
scheduling_windows=pulumi.get(__response__, 'scheduling_windows'),
|
213
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -161,6 +161,7 @@ class _MaintenanceRunState:
|
|
161
161
|
estimated_patching_times: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceRunEstimatedPatchingTimeArgs']]]] = None,
|
162
162
|
is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None,
|
163
163
|
is_dst_file_update_enabled: Optional[pulumi.Input[bool]] = None,
|
164
|
+
is_maintenance_run_granular: Optional[pulumi.Input[bool]] = None,
|
164
165
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
165
166
|
maintenance_subtype: Optional[pulumi.Input[str]] = None,
|
166
167
|
maintenance_type: Optional[pulumi.Input[str]] = None,
|
@@ -179,7 +180,8 @@ class _MaintenanceRunState:
|
|
179
180
|
target_storage_server_version: Optional[pulumi.Input[str]] = None,
|
180
181
|
time_ended: Optional[pulumi.Input[str]] = None,
|
181
182
|
time_scheduled: Optional[pulumi.Input[str]] = None,
|
182
|
-
time_started: Optional[pulumi.Input[str]] = None
|
183
|
+
time_started: Optional[pulumi.Input[str]] = None,
|
184
|
+
total_time_taken_in_mins: Optional[pulumi.Input[int]] = None):
|
183
185
|
"""
|
184
186
|
Input properties used for looking up and filtering MaintenanceRun resources.
|
185
187
|
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the Maintenance Run.
|
@@ -193,6 +195,7 @@ class _MaintenanceRunState:
|
|
193
195
|
:param pulumi.Input[Sequence[pulumi.Input['MaintenanceRunEstimatedPatchingTimeArgs']]] estimated_patching_times: The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
|
194
196
|
:param pulumi.Input[bool] is_custom_action_timeout_enabled: If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
|
195
197
|
:param pulumi.Input[bool] is_dst_file_update_enabled: Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
|
198
|
+
:param pulumi.Input[bool] is_maintenance_run_granular: If `FALSE`, the maintenance run doesn't support granular maintenance.
|
196
199
|
:param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state.
|
197
200
|
:param pulumi.Input[str] maintenance_subtype: Maintenance sub-type.
|
198
201
|
:param pulumi.Input[str] maintenance_type: Maintenance type.
|
@@ -218,6 +221,7 @@ class _MaintenanceRunState:
|
|
218
221
|
** IMPORTANT **
|
219
222
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
220
223
|
:param pulumi.Input[str] time_started: The date and time the maintenance run starts.
|
224
|
+
:param pulumi.Input[int] total_time_taken_in_mins: The total time taken by corresponding resource activity in minutes.
|
221
225
|
"""
|
222
226
|
if compartment_id is not None:
|
223
227
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -241,6 +245,8 @@ class _MaintenanceRunState:
|
|
241
245
|
pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled)
|
242
246
|
if is_dst_file_update_enabled is not None:
|
243
247
|
pulumi.set(__self__, "is_dst_file_update_enabled", is_dst_file_update_enabled)
|
248
|
+
if is_maintenance_run_granular is not None:
|
249
|
+
pulumi.set(__self__, "is_maintenance_run_granular", is_maintenance_run_granular)
|
244
250
|
if lifecycle_details is not None:
|
245
251
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
246
252
|
if maintenance_subtype is not None:
|
@@ -279,6 +285,8 @@ class _MaintenanceRunState:
|
|
279
285
|
pulumi.set(__self__, "time_scheduled", time_scheduled)
|
280
286
|
if time_started is not None:
|
281
287
|
pulumi.set(__self__, "time_started", time_started)
|
288
|
+
if total_time_taken_in_mins is not None:
|
289
|
+
pulumi.set(__self__, "total_time_taken_in_mins", total_time_taken_in_mins)
|
282
290
|
|
283
291
|
@property
|
284
292
|
@pulumi.getter(name="compartmentId")
|
@@ -412,6 +420,18 @@ class _MaintenanceRunState:
|
|
412
420
|
def is_dst_file_update_enabled(self, value: Optional[pulumi.Input[bool]]):
|
413
421
|
pulumi.set(self, "is_dst_file_update_enabled", value)
|
414
422
|
|
423
|
+
@property
|
424
|
+
@pulumi.getter(name="isMaintenanceRunGranular")
|
425
|
+
def is_maintenance_run_granular(self) -> Optional[pulumi.Input[bool]]:
|
426
|
+
"""
|
427
|
+
If `FALSE`, the maintenance run doesn't support granular maintenance.
|
428
|
+
"""
|
429
|
+
return pulumi.get(self, "is_maintenance_run_granular")
|
430
|
+
|
431
|
+
@is_maintenance_run_granular.setter
|
432
|
+
def is_maintenance_run_granular(self, value: Optional[pulumi.Input[bool]]):
|
433
|
+
pulumi.set(self, "is_maintenance_run_granular", value)
|
434
|
+
|
415
435
|
@property
|
416
436
|
@pulumi.getter(name="lifecycleDetails")
|
417
437
|
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
@@ -646,6 +666,18 @@ class _MaintenanceRunState:
|
|
646
666
|
def time_started(self, value: Optional[pulumi.Input[str]]):
|
647
667
|
pulumi.set(self, "time_started", value)
|
648
668
|
|
669
|
+
@property
|
670
|
+
@pulumi.getter(name="totalTimeTakenInMins")
|
671
|
+
def total_time_taken_in_mins(self) -> Optional[pulumi.Input[int]]:
|
672
|
+
"""
|
673
|
+
The total time taken by corresponding resource activity in minutes.
|
674
|
+
"""
|
675
|
+
return pulumi.get(self, "total_time_taken_in_mins")
|
676
|
+
|
677
|
+
@total_time_taken_in_mins.setter
|
678
|
+
def total_time_taken_in_mins(self, value: Optional[pulumi.Input[int]]):
|
679
|
+
pulumi.set(self, "total_time_taken_in_mins", value)
|
680
|
+
|
649
681
|
|
650
682
|
class MaintenanceRun(pulumi.CustomResource):
|
651
683
|
@overload
|
@@ -798,6 +830,7 @@ class MaintenanceRun(pulumi.CustomResource):
|
|
798
830
|
__props__.__dict__["estimated_component_patching_start_time"] = None
|
799
831
|
__props__.__dict__["estimated_patching_times"] = None
|
800
832
|
__props__.__dict__["is_custom_action_timeout_enabled"] = None
|
833
|
+
__props__.__dict__["is_maintenance_run_granular"] = None
|
801
834
|
__props__.__dict__["lifecycle_details"] = None
|
802
835
|
__props__.__dict__["maintenance_subtype"] = None
|
803
836
|
__props__.__dict__["maintenance_type"] = None
|
@@ -813,6 +846,7 @@ class MaintenanceRun(pulumi.CustomResource):
|
|
813
846
|
__props__.__dict__["target_storage_server_version"] = None
|
814
847
|
__props__.__dict__["time_ended"] = None
|
815
848
|
__props__.__dict__["time_started"] = None
|
849
|
+
__props__.__dict__["total_time_taken_in_mins"] = None
|
816
850
|
super(MaintenanceRun, __self__).__init__(
|
817
851
|
'oci:Database/maintenanceRun:MaintenanceRun',
|
818
852
|
resource_name,
|
@@ -834,6 +868,7 @@ class MaintenanceRun(pulumi.CustomResource):
|
|
834
868
|
estimated_patching_times: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceRunEstimatedPatchingTimeArgs', 'MaintenanceRunEstimatedPatchingTimeArgsDict']]]]] = None,
|
835
869
|
is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None,
|
836
870
|
is_dst_file_update_enabled: Optional[pulumi.Input[bool]] = None,
|
871
|
+
is_maintenance_run_granular: Optional[pulumi.Input[bool]] = None,
|
837
872
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
838
873
|
maintenance_subtype: Optional[pulumi.Input[str]] = None,
|
839
874
|
maintenance_type: Optional[pulumi.Input[str]] = None,
|
@@ -852,7 +887,8 @@ class MaintenanceRun(pulumi.CustomResource):
|
|
852
887
|
target_storage_server_version: Optional[pulumi.Input[str]] = None,
|
853
888
|
time_ended: Optional[pulumi.Input[str]] = None,
|
854
889
|
time_scheduled: Optional[pulumi.Input[str]] = None,
|
855
|
-
time_started: Optional[pulumi.Input[str]] = None
|
890
|
+
time_started: Optional[pulumi.Input[str]] = None,
|
891
|
+
total_time_taken_in_mins: Optional[pulumi.Input[int]] = None) -> 'MaintenanceRun':
|
856
892
|
"""
|
857
893
|
Get an existing MaintenanceRun resource's state with the given name, id, and optional extra
|
858
894
|
properties used to qualify the lookup.
|
@@ -871,6 +907,7 @@ class MaintenanceRun(pulumi.CustomResource):
|
|
871
907
|
:param pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceRunEstimatedPatchingTimeArgs', 'MaintenanceRunEstimatedPatchingTimeArgsDict']]]] estimated_patching_times: The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
|
872
908
|
:param pulumi.Input[bool] is_custom_action_timeout_enabled: If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
|
873
909
|
:param pulumi.Input[bool] is_dst_file_update_enabled: Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
|
910
|
+
:param pulumi.Input[bool] is_maintenance_run_granular: If `FALSE`, the maintenance run doesn't support granular maintenance.
|
874
911
|
:param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state.
|
875
912
|
:param pulumi.Input[str] maintenance_subtype: Maintenance sub-type.
|
876
913
|
:param pulumi.Input[str] maintenance_type: Maintenance type.
|
@@ -896,6 +933,7 @@ class MaintenanceRun(pulumi.CustomResource):
|
|
896
933
|
** IMPORTANT **
|
897
934
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
898
935
|
:param pulumi.Input[str] time_started: The date and time the maintenance run starts.
|
936
|
+
:param pulumi.Input[int] total_time_taken_in_mins: The total time taken by corresponding resource activity in minutes.
|
899
937
|
"""
|
900
938
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
901
939
|
|
@@ -912,6 +950,7 @@ class MaintenanceRun(pulumi.CustomResource):
|
|
912
950
|
__props__.__dict__["estimated_patching_times"] = estimated_patching_times
|
913
951
|
__props__.__dict__["is_custom_action_timeout_enabled"] = is_custom_action_timeout_enabled
|
914
952
|
__props__.__dict__["is_dst_file_update_enabled"] = is_dst_file_update_enabled
|
953
|
+
__props__.__dict__["is_maintenance_run_granular"] = is_maintenance_run_granular
|
915
954
|
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
916
955
|
__props__.__dict__["maintenance_subtype"] = maintenance_subtype
|
917
956
|
__props__.__dict__["maintenance_type"] = maintenance_type
|
@@ -931,6 +970,7 @@ class MaintenanceRun(pulumi.CustomResource):
|
|
931
970
|
__props__.__dict__["time_ended"] = time_ended
|
932
971
|
__props__.__dict__["time_scheduled"] = time_scheduled
|
933
972
|
__props__.__dict__["time_started"] = time_started
|
973
|
+
__props__.__dict__["total_time_taken_in_mins"] = total_time_taken_in_mins
|
934
974
|
return MaintenanceRun(resource_name, opts=opts, __props__=__props__)
|
935
975
|
|
936
976
|
@property
|
@@ -1021,6 +1061,14 @@ class MaintenanceRun(pulumi.CustomResource):
|
|
1021
1061
|
"""
|
1022
1062
|
return pulumi.get(self, "is_dst_file_update_enabled")
|
1023
1063
|
|
1064
|
+
@property
|
1065
|
+
@pulumi.getter(name="isMaintenanceRunGranular")
|
1066
|
+
def is_maintenance_run_granular(self) -> pulumi.Output[bool]:
|
1067
|
+
"""
|
1068
|
+
If `FALSE`, the maintenance run doesn't support granular maintenance.
|
1069
|
+
"""
|
1070
|
+
return pulumi.get(self, "is_maintenance_run_granular")
|
1071
|
+
|
1024
1072
|
@property
|
1025
1073
|
@pulumi.getter(name="lifecycleDetails")
|
1026
1074
|
def lifecycle_details(self) -> pulumi.Output[str]:
|
@@ -1179,3 +1227,11 @@ class MaintenanceRun(pulumi.CustomResource):
|
|
1179
1227
|
"""
|
1180
1228
|
return pulumi.get(self, "time_started")
|
1181
1229
|
|
1230
|
+
@property
|
1231
|
+
@pulumi.getter(name="totalTimeTakenInMins")
|
1232
|
+
def total_time_taken_in_mins(self) -> pulumi.Output[int]:
|
1233
|
+
"""
|
1234
|
+
The total time taken by corresponding resource activity in minutes.
|
1235
|
+
"""
|
1236
|
+
return pulumi.get(self, "total_time_taken_in_mins")
|
1237
|
+
|