pulumi-oci 2.24.0a1738823453__py3-none-any.whl → 2.25.0a1738909485__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.0a1738823453.dist-info → pulumi_oci-2.25.0a1738909485.dist-info}/METADATA +1 -1
- {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0a1738909485.dist-info}/RECORD +122 -90
- {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0a1738909485.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.25.0a1738909485.dist-info}/top_level.txt +0 -0
@@ -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
|
+
'GetExecutionWindowsResult',
|
21
|
+
'AwaitableGetExecutionWindowsResult',
|
22
|
+
'get_execution_windows',
|
23
|
+
'get_execution_windows_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetExecutionWindowsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getExecutionWindows.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, execution_resource_id=None, execution_windows=None, filters=None, id=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 execution_resource_id and not isinstance(execution_resource_id, str):
|
39
|
+
raise TypeError("Expected argument 'execution_resource_id' to be a str")
|
40
|
+
pulumi.set(__self__, "execution_resource_id", execution_resource_id)
|
41
|
+
if execution_windows and not isinstance(execution_windows, list):
|
42
|
+
raise TypeError("Expected argument 'execution_windows' to be a list")
|
43
|
+
pulumi.set(__self__, "execution_windows", execution_windows)
|
44
|
+
if filters and not isinstance(filters, list):
|
45
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
46
|
+
pulumi.set(__self__, "filters", filters)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
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) -> 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 execution window. The name does not need to be unique.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "display_name")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="executionResourceId")
|
72
|
+
def execution_resource_id(self) -> Optional[str]:
|
73
|
+
"""
|
74
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "execution_resource_id")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="executionWindows")
|
80
|
+
def execution_windows(self) -> Sequence['outputs.GetExecutionWindowsExecutionWindowResult']:
|
81
|
+
"""
|
82
|
+
The list of execution_windows.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "execution_windows")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def filters(self) -> Optional[Sequence['outputs.GetExecutionWindowsFilterResult']]:
|
89
|
+
return pulumi.get(self, "filters")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter
|
93
|
+
def id(self) -> str:
|
94
|
+
"""
|
95
|
+
The provider-assigned unique ID for this managed resource.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "id")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter
|
101
|
+
def state(self) -> Optional[str]:
|
102
|
+
"""
|
103
|
+
The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "state")
|
106
|
+
|
107
|
+
|
108
|
+
class AwaitableGetExecutionWindowsResult(GetExecutionWindowsResult):
|
109
|
+
# pylint: disable=using-constant-test
|
110
|
+
def __await__(self):
|
111
|
+
if False:
|
112
|
+
yield self
|
113
|
+
return GetExecutionWindowsResult(
|
114
|
+
compartment_id=self.compartment_id,
|
115
|
+
display_name=self.display_name,
|
116
|
+
execution_resource_id=self.execution_resource_id,
|
117
|
+
execution_windows=self.execution_windows,
|
118
|
+
filters=self.filters,
|
119
|
+
id=self.id,
|
120
|
+
state=self.state)
|
121
|
+
|
122
|
+
|
123
|
+
def get_execution_windows(compartment_id: Optional[str] = None,
|
124
|
+
display_name: Optional[str] = None,
|
125
|
+
execution_resource_id: Optional[str] = None,
|
126
|
+
filters: Optional[Sequence[Union['GetExecutionWindowsFilterArgs', 'GetExecutionWindowsFilterArgsDict']]] = None,
|
127
|
+
state: Optional[str] = None,
|
128
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExecutionWindowsResult:
|
129
|
+
"""
|
130
|
+
This data source provides the list of Execution Windows in Oracle Cloud Infrastructure Database service.
|
131
|
+
|
132
|
+
Lists the execution 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_execution_windows = oci.Database.get_execution_windows(compartment_id=compartment_id,
|
141
|
+
display_name=execution_window_display_name,
|
142
|
+
execution_resource_id=test_resource["id"],
|
143
|
+
state=execution_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 execution_resource_id: A filter to return only resources that match the given resource id exactly.
|
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__['executionResourceId'] = execution_resource_id
|
156
|
+
__args__['filters'] = filters
|
157
|
+
__args__['state'] = state
|
158
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
159
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getExecutionWindows:getExecutionWindows', __args__, opts=opts, typ=GetExecutionWindowsResult).value
|
160
|
+
|
161
|
+
return AwaitableGetExecutionWindowsResult(
|
162
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
163
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
164
|
+
execution_resource_id=pulumi.get(__ret__, 'execution_resource_id'),
|
165
|
+
execution_windows=pulumi.get(__ret__, 'execution_windows'),
|
166
|
+
filters=pulumi.get(__ret__, 'filters'),
|
167
|
+
id=pulumi.get(__ret__, 'id'),
|
168
|
+
state=pulumi.get(__ret__, 'state'))
|
169
|
+
def get_execution_windows_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
170
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
+
execution_resource_id: Optional[pulumi.Input[Optional[str]]] = None,
|
172
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetExecutionWindowsFilterArgs', 'GetExecutionWindowsFilterArgsDict']]]]] = None,
|
173
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
174
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExecutionWindowsResult]:
|
175
|
+
"""
|
176
|
+
This data source provides the list of Execution Windows in Oracle Cloud Infrastructure Database service.
|
177
|
+
|
178
|
+
Lists the execution 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_execution_windows = oci.Database.get_execution_windows(compartment_id=compartment_id,
|
187
|
+
display_name=execution_window_display_name,
|
188
|
+
execution_resource_id=test_resource["id"],
|
189
|
+
state=execution_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 execution_resource_id: A filter to return only resources that match the given resource id exactly.
|
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__['executionResourceId'] = execution_resource_id
|
202
|
+
__args__['filters'] = filters
|
203
|
+
__args__['state'] = state
|
204
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
205
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Database/getExecutionWindows:getExecutionWindows', __args__, opts=opts, typ=GetExecutionWindowsResult)
|
206
|
+
return __ret__.apply(lambda __response__: GetExecutionWindowsResult(
|
207
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
208
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
209
|
+
execution_resource_id=pulumi.get(__response__, 'execution_resource_id'),
|
210
|
+
execution_windows=pulumi.get(__response__, 'execution_windows'),
|
211
|
+
filters=pulumi.get(__response__, 'filters'),
|
212
|
+
id=pulumi.get(__response__, 'id'),
|
213
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -27,7 +27,7 @@ class GetMaintenanceRunResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getMaintenanceRun.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, compartment_id=None, current_custom_action_timeout_in_mins=None, current_patching_component=None, custom_action_timeout_in_mins=None, database_software_image_id=None, description=None, display_name=None, estimated_component_patching_start_time=None, estimated_patching_times=None, id=None, is_custom_action_timeout_enabled=None, is_dst_file_update_enabled=None, lifecycle_details=None, maintenance_run_id=None, maintenance_subtype=None, maintenance_type=None, patch_failure_count=None, patch_id=None, patch_type=None, patching_end_time=None, patching_mode=None, patching_start_time=None, patching_status=None, peer_maintenance_run_id=None, state=None, target_db_server_version=None, target_resource_id=None, target_resource_type=None, target_storage_server_version=None, time_ended=None, time_scheduled=None, time_started=None):
|
30
|
+
def __init__(__self__, compartment_id=None, current_custom_action_timeout_in_mins=None, current_patching_component=None, custom_action_timeout_in_mins=None, database_software_image_id=None, description=None, display_name=None, estimated_component_patching_start_time=None, estimated_patching_times=None, id=None, is_custom_action_timeout_enabled=None, is_dst_file_update_enabled=None, is_maintenance_run_granular=None, lifecycle_details=None, maintenance_run_id=None, maintenance_subtype=None, maintenance_type=None, patch_failure_count=None, patch_id=None, patch_type=None, patching_end_time=None, patching_mode=None, patching_start_time=None, patching_status=None, peer_maintenance_run_id=None, state=None, target_db_server_version=None, target_resource_id=None, target_resource_type=None, target_storage_server_version=None, time_ended=None, time_scheduled=None, time_started=None, total_time_taken_in_mins=None):
|
31
31
|
if compartment_id and not isinstance(compartment_id, str):
|
32
32
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
33
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -64,6 +64,9 @@ class GetMaintenanceRunResult:
|
|
64
64
|
if is_dst_file_update_enabled and not isinstance(is_dst_file_update_enabled, bool):
|
65
65
|
raise TypeError("Expected argument 'is_dst_file_update_enabled' to be a bool")
|
66
66
|
pulumi.set(__self__, "is_dst_file_update_enabled", is_dst_file_update_enabled)
|
67
|
+
if is_maintenance_run_granular and not isinstance(is_maintenance_run_granular, bool):
|
68
|
+
raise TypeError("Expected argument 'is_maintenance_run_granular' to be a bool")
|
69
|
+
pulumi.set(__self__, "is_maintenance_run_granular", is_maintenance_run_granular)
|
67
70
|
if lifecycle_details and not isinstance(lifecycle_details, str):
|
68
71
|
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
69
72
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
@@ -124,6 +127,9 @@ class GetMaintenanceRunResult:
|
|
124
127
|
if time_started and not isinstance(time_started, str):
|
125
128
|
raise TypeError("Expected argument 'time_started' to be a str")
|
126
129
|
pulumi.set(__self__, "time_started", time_started)
|
130
|
+
if total_time_taken_in_mins and not isinstance(total_time_taken_in_mins, int):
|
131
|
+
raise TypeError("Expected argument 'total_time_taken_in_mins' to be a int")
|
132
|
+
pulumi.set(__self__, "total_time_taken_in_mins", total_time_taken_in_mins)
|
127
133
|
|
128
134
|
@property
|
129
135
|
@pulumi.getter(name="compartmentId")
|
@@ -221,6 +227,14 @@ class GetMaintenanceRunResult:
|
|
221
227
|
"""
|
222
228
|
return pulumi.get(self, "is_dst_file_update_enabled")
|
223
229
|
|
230
|
+
@property
|
231
|
+
@pulumi.getter(name="isMaintenanceRunGranular")
|
232
|
+
def is_maintenance_run_granular(self) -> bool:
|
233
|
+
"""
|
234
|
+
If `FALSE`, the maintenance run doesn't support granular maintenance.
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "is_maintenance_run_granular")
|
237
|
+
|
224
238
|
@property
|
225
239
|
@pulumi.getter(name="lifecycleDetails")
|
226
240
|
def lifecycle_details(self) -> str:
|
@@ -375,6 +389,14 @@ class GetMaintenanceRunResult:
|
|
375
389
|
"""
|
376
390
|
return pulumi.get(self, "time_started")
|
377
391
|
|
392
|
+
@property
|
393
|
+
@pulumi.getter(name="totalTimeTakenInMins")
|
394
|
+
def total_time_taken_in_mins(self) -> int:
|
395
|
+
"""
|
396
|
+
The total time taken by corresponding resource activity in minutes.
|
397
|
+
"""
|
398
|
+
return pulumi.get(self, "total_time_taken_in_mins")
|
399
|
+
|
378
400
|
|
379
401
|
class AwaitableGetMaintenanceRunResult(GetMaintenanceRunResult):
|
380
402
|
# pylint: disable=using-constant-test
|
@@ -394,6 +416,7 @@ class AwaitableGetMaintenanceRunResult(GetMaintenanceRunResult):
|
|
394
416
|
id=self.id,
|
395
417
|
is_custom_action_timeout_enabled=self.is_custom_action_timeout_enabled,
|
396
418
|
is_dst_file_update_enabled=self.is_dst_file_update_enabled,
|
419
|
+
is_maintenance_run_granular=self.is_maintenance_run_granular,
|
397
420
|
lifecycle_details=self.lifecycle_details,
|
398
421
|
maintenance_run_id=self.maintenance_run_id,
|
399
422
|
maintenance_subtype=self.maintenance_subtype,
|
@@ -413,7 +436,8 @@ class AwaitableGetMaintenanceRunResult(GetMaintenanceRunResult):
|
|
413
436
|
target_storage_server_version=self.target_storage_server_version,
|
414
437
|
time_ended=self.time_ended,
|
415
438
|
time_scheduled=self.time_scheduled,
|
416
|
-
time_started=self.time_started
|
439
|
+
time_started=self.time_started,
|
440
|
+
total_time_taken_in_mins=self.total_time_taken_in_mins)
|
417
441
|
|
418
442
|
|
419
443
|
def get_maintenance_run(maintenance_run_id: Optional[str] = None,
|
@@ -453,6 +477,7 @@ def get_maintenance_run(maintenance_run_id: Optional[str] = None,
|
|
453
477
|
id=pulumi.get(__ret__, 'id'),
|
454
478
|
is_custom_action_timeout_enabled=pulumi.get(__ret__, 'is_custom_action_timeout_enabled'),
|
455
479
|
is_dst_file_update_enabled=pulumi.get(__ret__, 'is_dst_file_update_enabled'),
|
480
|
+
is_maintenance_run_granular=pulumi.get(__ret__, 'is_maintenance_run_granular'),
|
456
481
|
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
457
482
|
maintenance_run_id=pulumi.get(__ret__, 'maintenance_run_id'),
|
458
483
|
maintenance_subtype=pulumi.get(__ret__, 'maintenance_subtype'),
|
@@ -472,7 +497,8 @@ def get_maintenance_run(maintenance_run_id: Optional[str] = None,
|
|
472
497
|
target_storage_server_version=pulumi.get(__ret__, 'target_storage_server_version'),
|
473
498
|
time_ended=pulumi.get(__ret__, 'time_ended'),
|
474
499
|
time_scheduled=pulumi.get(__ret__, 'time_scheduled'),
|
475
|
-
time_started=pulumi.get(__ret__, 'time_started')
|
500
|
+
time_started=pulumi.get(__ret__, 'time_started'),
|
501
|
+
total_time_taken_in_mins=pulumi.get(__ret__, 'total_time_taken_in_mins'))
|
476
502
|
def get_maintenance_run_output(maintenance_run_id: Optional[pulumi.Input[str]] = None,
|
477
503
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMaintenanceRunResult]:
|
478
504
|
"""
|
@@ -509,6 +535,7 @@ def get_maintenance_run_output(maintenance_run_id: Optional[pulumi.Input[str]] =
|
|
509
535
|
id=pulumi.get(__response__, 'id'),
|
510
536
|
is_custom_action_timeout_enabled=pulumi.get(__response__, 'is_custom_action_timeout_enabled'),
|
511
537
|
is_dst_file_update_enabled=pulumi.get(__response__, 'is_dst_file_update_enabled'),
|
538
|
+
is_maintenance_run_granular=pulumi.get(__response__, 'is_maintenance_run_granular'),
|
512
539
|
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
513
540
|
maintenance_run_id=pulumi.get(__response__, 'maintenance_run_id'),
|
514
541
|
maintenance_subtype=pulumi.get(__response__, 'maintenance_subtype'),
|
@@ -528,4 +555,5 @@ def get_maintenance_run_output(maintenance_run_id: Optional[pulumi.Input[str]] =
|
|
528
555
|
target_storage_server_version=pulumi.get(__response__, 'target_storage_server_version'),
|
529
556
|
time_ended=pulumi.get(__response__, 'time_ended'),
|
530
557
|
time_scheduled=pulumi.get(__response__, 'time_scheduled'),
|
531
|
-
time_started=pulumi.get(__response__, 'time_started')
|
558
|
+
time_started=pulumi.get(__response__, 'time_started'),
|
559
|
+
total_time_taken_in_mins=pulumi.get(__response__, 'total_time_taken_in_mins')))
|
@@ -0,0 +1,324 @@
|
|
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
|
+
'GetScheduledActionResult',
|
20
|
+
'AwaitableGetScheduledActionResult',
|
21
|
+
'get_scheduled_action',
|
22
|
+
'get_scheduled_action_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetScheduledActionResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getScheduledAction.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, action_members=None, action_order=None, action_params=None, action_type=None, compartment_id=None, defined_tags=None, display_name=None, estimated_time_in_mins=None, freeform_tags=None, id=None, scheduled_action_id=None, scheduling_plan_id=None, scheduling_window_id=None, state=None, system_tags=None, time_created=None, time_updated=None):
|
31
|
+
if action_members and not isinstance(action_members, list):
|
32
|
+
raise TypeError("Expected argument 'action_members' to be a list")
|
33
|
+
pulumi.set(__self__, "action_members", action_members)
|
34
|
+
if action_order and not isinstance(action_order, int):
|
35
|
+
raise TypeError("Expected argument 'action_order' to be a int")
|
36
|
+
pulumi.set(__self__, "action_order", action_order)
|
37
|
+
if action_params and not isinstance(action_params, dict):
|
38
|
+
raise TypeError("Expected argument 'action_params' to be a dict")
|
39
|
+
pulumi.set(__self__, "action_params", action_params)
|
40
|
+
if action_type and not isinstance(action_type, str):
|
41
|
+
raise TypeError("Expected argument 'action_type' to be a str")
|
42
|
+
pulumi.set(__self__, "action_type", action_type)
|
43
|
+
if compartment_id and not isinstance(compartment_id, str):
|
44
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
45
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
46
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
47
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
48
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
49
|
+
if display_name and not isinstance(display_name, str):
|
50
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
51
|
+
pulumi.set(__self__, "display_name", display_name)
|
52
|
+
if estimated_time_in_mins and not isinstance(estimated_time_in_mins, int):
|
53
|
+
raise TypeError("Expected argument 'estimated_time_in_mins' to be a int")
|
54
|
+
pulumi.set(__self__, "estimated_time_in_mins", estimated_time_in_mins)
|
55
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
56
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
57
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
58
|
+
if id and not isinstance(id, str):
|
59
|
+
raise TypeError("Expected argument 'id' to be a str")
|
60
|
+
pulumi.set(__self__, "id", id)
|
61
|
+
if scheduled_action_id and not isinstance(scheduled_action_id, str):
|
62
|
+
raise TypeError("Expected argument 'scheduled_action_id' to be a str")
|
63
|
+
pulumi.set(__self__, "scheduled_action_id", scheduled_action_id)
|
64
|
+
if scheduling_plan_id and not isinstance(scheduling_plan_id, str):
|
65
|
+
raise TypeError("Expected argument 'scheduling_plan_id' to be a str")
|
66
|
+
pulumi.set(__self__, "scheduling_plan_id", scheduling_plan_id)
|
67
|
+
if scheduling_window_id and not isinstance(scheduling_window_id, str):
|
68
|
+
raise TypeError("Expected argument 'scheduling_window_id' to be a str")
|
69
|
+
pulumi.set(__self__, "scheduling_window_id", scheduling_window_id)
|
70
|
+
if state and not isinstance(state, str):
|
71
|
+
raise TypeError("Expected argument 'state' to be a str")
|
72
|
+
pulumi.set(__self__, "state", state)
|
73
|
+
if system_tags and not isinstance(system_tags, dict):
|
74
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
75
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
76
|
+
if time_created and not isinstance(time_created, str):
|
77
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
78
|
+
pulumi.set(__self__, "time_created", time_created)
|
79
|
+
if time_updated and not isinstance(time_updated, str):
|
80
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
81
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter(name="actionMembers")
|
85
|
+
def action_members(self) -> Sequence['outputs.GetScheduledActionActionMemberResult']:
|
86
|
+
"""
|
87
|
+
The list of action members in a scheduled action.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "action_members")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="actionOrder")
|
93
|
+
def action_order(self) -> int:
|
94
|
+
"""
|
95
|
+
The order of the scheduled action.
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "action_order")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="actionParams")
|
101
|
+
def action_params(self) -> Mapping[str, str]:
|
102
|
+
"""
|
103
|
+
Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "action_params")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="actionType")
|
109
|
+
def action_type(self) -> str:
|
110
|
+
"""
|
111
|
+
The type of the scheduled action being performed
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "action_type")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="compartmentId")
|
117
|
+
def compartment_id(self) -> str:
|
118
|
+
"""
|
119
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "compartment_id")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter(name="definedTags")
|
125
|
+
def defined_tags(self) -> Mapping[str, str]:
|
126
|
+
"""
|
127
|
+
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).
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "defined_tags")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="displayName")
|
133
|
+
def display_name(self) -> str:
|
134
|
+
"""
|
135
|
+
The display name of the Scheduled Action.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "display_name")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="estimatedTimeInMins")
|
141
|
+
def estimated_time_in_mins(self) -> int:
|
142
|
+
"""
|
143
|
+
The estimated patching time for the scheduled action.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "estimated_time_in_mins")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter(name="freeformTags")
|
149
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
150
|
+
"""
|
151
|
+
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"}`
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "freeform_tags")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter
|
157
|
+
def id(self) -> str:
|
158
|
+
"""
|
159
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduled Action.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "id")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="scheduledActionId")
|
165
|
+
def scheduled_action_id(self) -> str:
|
166
|
+
return pulumi.get(self, "scheduled_action_id")
|
167
|
+
|
168
|
+
@property
|
169
|
+
@pulumi.getter(name="schedulingPlanId")
|
170
|
+
def scheduling_plan_id(self) -> str:
|
171
|
+
"""
|
172
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan.
|
173
|
+
"""
|
174
|
+
return pulumi.get(self, "scheduling_plan_id")
|
175
|
+
|
176
|
+
@property
|
177
|
+
@pulumi.getter(name="schedulingWindowId")
|
178
|
+
def scheduling_window_id(self) -> str:
|
179
|
+
"""
|
180
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window.
|
181
|
+
"""
|
182
|
+
return pulumi.get(self, "scheduling_window_id")
|
183
|
+
|
184
|
+
@property
|
185
|
+
@pulumi.getter
|
186
|
+
def state(self) -> str:
|
187
|
+
"""
|
188
|
+
The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "state")
|
191
|
+
|
192
|
+
@property
|
193
|
+
@pulumi.getter(name="systemTags")
|
194
|
+
def system_tags(self) -> Mapping[str, str]:
|
195
|
+
"""
|
196
|
+
System 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).
|
197
|
+
"""
|
198
|
+
return pulumi.get(self, "system_tags")
|
199
|
+
|
200
|
+
@property
|
201
|
+
@pulumi.getter(name="timeCreated")
|
202
|
+
def time_created(self) -> str:
|
203
|
+
"""
|
204
|
+
The date and time the Scheduled Action Resource was created.
|
205
|
+
"""
|
206
|
+
return pulumi.get(self, "time_created")
|
207
|
+
|
208
|
+
@property
|
209
|
+
@pulumi.getter(name="timeUpdated")
|
210
|
+
def time_updated(self) -> str:
|
211
|
+
"""
|
212
|
+
The date and time the Scheduled Action Resource was updated.
|
213
|
+
"""
|
214
|
+
return pulumi.get(self, "time_updated")
|
215
|
+
|
216
|
+
|
217
|
+
class AwaitableGetScheduledActionResult(GetScheduledActionResult):
|
218
|
+
# pylint: disable=using-constant-test
|
219
|
+
def __await__(self):
|
220
|
+
if False:
|
221
|
+
yield self
|
222
|
+
return GetScheduledActionResult(
|
223
|
+
action_members=self.action_members,
|
224
|
+
action_order=self.action_order,
|
225
|
+
action_params=self.action_params,
|
226
|
+
action_type=self.action_type,
|
227
|
+
compartment_id=self.compartment_id,
|
228
|
+
defined_tags=self.defined_tags,
|
229
|
+
display_name=self.display_name,
|
230
|
+
estimated_time_in_mins=self.estimated_time_in_mins,
|
231
|
+
freeform_tags=self.freeform_tags,
|
232
|
+
id=self.id,
|
233
|
+
scheduled_action_id=self.scheduled_action_id,
|
234
|
+
scheduling_plan_id=self.scheduling_plan_id,
|
235
|
+
scheduling_window_id=self.scheduling_window_id,
|
236
|
+
state=self.state,
|
237
|
+
system_tags=self.system_tags,
|
238
|
+
time_created=self.time_created,
|
239
|
+
time_updated=self.time_updated)
|
240
|
+
|
241
|
+
|
242
|
+
def get_scheduled_action(scheduled_action_id: Optional[str] = None,
|
243
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduledActionResult:
|
244
|
+
"""
|
245
|
+
This data source provides details about a specific Scheduled Action resource in Oracle Cloud Infrastructure Database service.
|
246
|
+
|
247
|
+
Gets information about the specified Scheduled Action.
|
248
|
+
|
249
|
+
## Example Usage
|
250
|
+
|
251
|
+
```python
|
252
|
+
import pulumi
|
253
|
+
import pulumi_oci as oci
|
254
|
+
|
255
|
+
test_scheduled_action = oci.Database.get_scheduled_action(scheduled_action_id=test_scheduled_action_oci_database_scheduled_action["id"])
|
256
|
+
```
|
257
|
+
|
258
|
+
|
259
|
+
:param str scheduled_action_id: The Scheduled Action [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
260
|
+
"""
|
261
|
+
__args__ = dict()
|
262
|
+
__args__['scheduledActionId'] = scheduled_action_id
|
263
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
264
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getScheduledAction:getScheduledAction', __args__, opts=opts, typ=GetScheduledActionResult).value
|
265
|
+
|
266
|
+
return AwaitableGetScheduledActionResult(
|
267
|
+
action_members=pulumi.get(__ret__, 'action_members'),
|
268
|
+
action_order=pulumi.get(__ret__, 'action_order'),
|
269
|
+
action_params=pulumi.get(__ret__, 'action_params'),
|
270
|
+
action_type=pulumi.get(__ret__, 'action_type'),
|
271
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
272
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
273
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
274
|
+
estimated_time_in_mins=pulumi.get(__ret__, 'estimated_time_in_mins'),
|
275
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
276
|
+
id=pulumi.get(__ret__, 'id'),
|
277
|
+
scheduled_action_id=pulumi.get(__ret__, 'scheduled_action_id'),
|
278
|
+
scheduling_plan_id=pulumi.get(__ret__, 'scheduling_plan_id'),
|
279
|
+
scheduling_window_id=pulumi.get(__ret__, 'scheduling_window_id'),
|
280
|
+
state=pulumi.get(__ret__, 'state'),
|
281
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
282
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
283
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
284
|
+
def get_scheduled_action_output(scheduled_action_id: Optional[pulumi.Input[str]] = None,
|
285
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScheduledActionResult]:
|
286
|
+
"""
|
287
|
+
This data source provides details about a specific Scheduled Action resource in Oracle Cloud Infrastructure Database service.
|
288
|
+
|
289
|
+
Gets information about the specified Scheduled Action.
|
290
|
+
|
291
|
+
## Example Usage
|
292
|
+
|
293
|
+
```python
|
294
|
+
import pulumi
|
295
|
+
import pulumi_oci as oci
|
296
|
+
|
297
|
+
test_scheduled_action = oci.Database.get_scheduled_action(scheduled_action_id=test_scheduled_action_oci_database_scheduled_action["id"])
|
298
|
+
```
|
299
|
+
|
300
|
+
|
301
|
+
:param str scheduled_action_id: The Scheduled Action [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
302
|
+
"""
|
303
|
+
__args__ = dict()
|
304
|
+
__args__['scheduledActionId'] = scheduled_action_id
|
305
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
306
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Database/getScheduledAction:getScheduledAction', __args__, opts=opts, typ=GetScheduledActionResult)
|
307
|
+
return __ret__.apply(lambda __response__: GetScheduledActionResult(
|
308
|
+
action_members=pulumi.get(__response__, 'action_members'),
|
309
|
+
action_order=pulumi.get(__response__, 'action_order'),
|
310
|
+
action_params=pulumi.get(__response__, 'action_params'),
|
311
|
+
action_type=pulumi.get(__response__, 'action_type'),
|
312
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
313
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
314
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
315
|
+
estimated_time_in_mins=pulumi.get(__response__, 'estimated_time_in_mins'),
|
316
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
317
|
+
id=pulumi.get(__response__, 'id'),
|
318
|
+
scheduled_action_id=pulumi.get(__response__, 'scheduled_action_id'),
|
319
|
+
scheduling_plan_id=pulumi.get(__response__, 'scheduling_plan_id'),
|
320
|
+
scheduling_window_id=pulumi.get(__response__, 'scheduling_window_id'),
|
321
|
+
state=pulumi.get(__response__, 'state'),
|
322
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
323
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
324
|
+
time_updated=pulumi.get(__response__, 'time_updated')))
|