pulumi-oci 2.24.0a1738823453__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.0a1738823453.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/METADATA +1 -1
- {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/RECORD +122 -90
- {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.24.0a1738857714.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
|
+
'GetExecutionActionsResult',
|
21
|
+
'AwaitableGetExecutionActionsResult',
|
22
|
+
'get_execution_actions',
|
23
|
+
'get_execution_actions_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetExecutionActionsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getExecutionActions.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, execution_actions=None, execution_window_id=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_actions and not isinstance(execution_actions, list):
|
39
|
+
raise TypeError("Expected argument 'execution_actions' to be a list")
|
40
|
+
pulumi.set(__self__, "execution_actions", execution_actions)
|
41
|
+
if execution_window_id and not isinstance(execution_window_id, str):
|
42
|
+
raise TypeError("Expected argument 'execution_window_id' to be a str")
|
43
|
+
pulumi.set(__self__, "execution_window_id", execution_window_id)
|
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 action. The name does not need to be unique.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "display_name")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="executionActions")
|
72
|
+
def execution_actions(self) -> Sequence['outputs.GetExecutionActionsExecutionActionResult']:
|
73
|
+
"""
|
74
|
+
The list of execution_actions.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "execution_actions")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="executionWindowId")
|
80
|
+
def execution_window_id(self) -> Optional[str]:
|
81
|
+
"""
|
82
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "execution_window_id")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def filters(self) -> Optional[Sequence['outputs.GetExecutionActionsFilterResult']]:
|
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 execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "state")
|
106
|
+
|
107
|
+
|
108
|
+
class AwaitableGetExecutionActionsResult(GetExecutionActionsResult):
|
109
|
+
# pylint: disable=using-constant-test
|
110
|
+
def __await__(self):
|
111
|
+
if False:
|
112
|
+
yield self
|
113
|
+
return GetExecutionActionsResult(
|
114
|
+
compartment_id=self.compartment_id,
|
115
|
+
display_name=self.display_name,
|
116
|
+
execution_actions=self.execution_actions,
|
117
|
+
execution_window_id=self.execution_window_id,
|
118
|
+
filters=self.filters,
|
119
|
+
id=self.id,
|
120
|
+
state=self.state)
|
121
|
+
|
122
|
+
|
123
|
+
def get_execution_actions(compartment_id: Optional[str] = None,
|
124
|
+
display_name: Optional[str] = None,
|
125
|
+
execution_window_id: Optional[str] = None,
|
126
|
+
filters: Optional[Sequence[Union['GetExecutionActionsFilterArgs', 'GetExecutionActionsFilterArgsDict']]] = None,
|
127
|
+
state: Optional[str] = None,
|
128
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExecutionActionsResult:
|
129
|
+
"""
|
130
|
+
This data source provides the list of Execution Actions in Oracle Cloud Infrastructure Database service.
|
131
|
+
|
132
|
+
Lists the execution action 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_actions = oci.Database.get_execution_actions(compartment_id=compartment_id,
|
141
|
+
display_name=execution_action_display_name,
|
142
|
+
execution_window_id=test_execution_window["id"],
|
143
|
+
state=execution_action_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_window_id: A filter to return only resources that match the given execution wondow id.
|
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__['executionWindowId'] = execution_window_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/getExecutionActions:getExecutionActions', __args__, opts=opts, typ=GetExecutionActionsResult).value
|
160
|
+
|
161
|
+
return AwaitableGetExecutionActionsResult(
|
162
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
163
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
164
|
+
execution_actions=pulumi.get(__ret__, 'execution_actions'),
|
165
|
+
execution_window_id=pulumi.get(__ret__, 'execution_window_id'),
|
166
|
+
filters=pulumi.get(__ret__, 'filters'),
|
167
|
+
id=pulumi.get(__ret__, 'id'),
|
168
|
+
state=pulumi.get(__ret__, 'state'))
|
169
|
+
def get_execution_actions_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
170
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
171
|
+
execution_window_id: Optional[pulumi.Input[Optional[str]]] = None,
|
172
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetExecutionActionsFilterArgs', 'GetExecutionActionsFilterArgsDict']]]]] = None,
|
173
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
174
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExecutionActionsResult]:
|
175
|
+
"""
|
176
|
+
This data source provides the list of Execution Actions in Oracle Cloud Infrastructure Database service.
|
177
|
+
|
178
|
+
Lists the execution action 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_actions = oci.Database.get_execution_actions(compartment_id=compartment_id,
|
187
|
+
display_name=execution_action_display_name,
|
188
|
+
execution_window_id=test_execution_window["id"],
|
189
|
+
state=execution_action_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_window_id: A filter to return only resources that match the given execution wondow id.
|
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__['executionWindowId'] = execution_window_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/getExecutionActions:getExecutionActions', __args__, opts=opts, typ=GetExecutionActionsResult)
|
206
|
+
return __ret__.apply(lambda __response__: GetExecutionActionsResult(
|
207
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
208
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
209
|
+
execution_actions=pulumi.get(__response__, 'execution_actions'),
|
210
|
+
execution_window_id=pulumi.get(__response__, 'execution_window_id'),
|
211
|
+
filters=pulumi.get(__response__, 'filters'),
|
212
|
+
id=pulumi.get(__response__, 'id'),
|
213
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -0,0 +1,379 @@
|
|
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__ = [
|
18
|
+
'GetExecutionWindowResult',
|
19
|
+
'AwaitableGetExecutionWindowResult',
|
20
|
+
'get_execution_window',
|
21
|
+
'get_execution_window_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetExecutionWindowResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getExecutionWindow.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, estimated_time_in_mins=None, execution_resource_id=None, execution_window_id=None, freeform_tags=None, id=None, is_enforced_duration=None, lifecycle_details=None, lifecycle_substate=None, state=None, time_created=None, time_ended=None, time_scheduled=None, time_started=None, time_updated=None, total_time_taken_in_mins=None, window_duration_in_mins=None, window_type=None):
|
30
|
+
if compartment_id and not isinstance(compartment_id, str):
|
31
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
33
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
34
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
35
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
36
|
+
if description and not isinstance(description, str):
|
37
|
+
raise TypeError("Expected argument 'description' to be a str")
|
38
|
+
pulumi.set(__self__, "description", description)
|
39
|
+
if display_name and not isinstance(display_name, str):
|
40
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
41
|
+
pulumi.set(__self__, "display_name", display_name)
|
42
|
+
if estimated_time_in_mins and not isinstance(estimated_time_in_mins, int):
|
43
|
+
raise TypeError("Expected argument 'estimated_time_in_mins' to be a int")
|
44
|
+
pulumi.set(__self__, "estimated_time_in_mins", estimated_time_in_mins)
|
45
|
+
if execution_resource_id and not isinstance(execution_resource_id, str):
|
46
|
+
raise TypeError("Expected argument 'execution_resource_id' to be a str")
|
47
|
+
pulumi.set(__self__, "execution_resource_id", execution_resource_id)
|
48
|
+
if execution_window_id and not isinstance(execution_window_id, str):
|
49
|
+
raise TypeError("Expected argument 'execution_window_id' to be a str")
|
50
|
+
pulumi.set(__self__, "execution_window_id", execution_window_id)
|
51
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
52
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
53
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
54
|
+
if id and not isinstance(id, str):
|
55
|
+
raise TypeError("Expected argument 'id' to be a str")
|
56
|
+
pulumi.set(__self__, "id", id)
|
57
|
+
if is_enforced_duration and not isinstance(is_enforced_duration, bool):
|
58
|
+
raise TypeError("Expected argument 'is_enforced_duration' to be a bool")
|
59
|
+
pulumi.set(__self__, "is_enforced_duration", is_enforced_duration)
|
60
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
61
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
62
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
63
|
+
if lifecycle_substate and not isinstance(lifecycle_substate, str):
|
64
|
+
raise TypeError("Expected argument 'lifecycle_substate' to be a str")
|
65
|
+
pulumi.set(__self__, "lifecycle_substate", lifecycle_substate)
|
66
|
+
if state and not isinstance(state, str):
|
67
|
+
raise TypeError("Expected argument 'state' to be a str")
|
68
|
+
pulumi.set(__self__, "state", state)
|
69
|
+
if time_created and not isinstance(time_created, str):
|
70
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
71
|
+
pulumi.set(__self__, "time_created", time_created)
|
72
|
+
if time_ended and not isinstance(time_ended, str):
|
73
|
+
raise TypeError("Expected argument 'time_ended' to be a str")
|
74
|
+
pulumi.set(__self__, "time_ended", time_ended)
|
75
|
+
if time_scheduled and not isinstance(time_scheduled, str):
|
76
|
+
raise TypeError("Expected argument 'time_scheduled' to be a str")
|
77
|
+
pulumi.set(__self__, "time_scheduled", time_scheduled)
|
78
|
+
if time_started and not isinstance(time_started, str):
|
79
|
+
raise TypeError("Expected argument 'time_started' to be a str")
|
80
|
+
pulumi.set(__self__, "time_started", time_started)
|
81
|
+
if time_updated and not isinstance(time_updated, str):
|
82
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
83
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
84
|
+
if total_time_taken_in_mins and not isinstance(total_time_taken_in_mins, int):
|
85
|
+
raise TypeError("Expected argument 'total_time_taken_in_mins' to be a int")
|
86
|
+
pulumi.set(__self__, "total_time_taken_in_mins", total_time_taken_in_mins)
|
87
|
+
if window_duration_in_mins and not isinstance(window_duration_in_mins, int):
|
88
|
+
raise TypeError("Expected argument 'window_duration_in_mins' to be a int")
|
89
|
+
pulumi.set(__self__, "window_duration_in_mins", window_duration_in_mins)
|
90
|
+
if window_type and not isinstance(window_type, str):
|
91
|
+
raise TypeError("Expected argument 'window_type' to be a str")
|
92
|
+
pulumi.set(__self__, "window_type", window_type)
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="compartmentId")
|
96
|
+
def compartment_id(self) -> str:
|
97
|
+
"""
|
98
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "compartment_id")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="definedTags")
|
104
|
+
def defined_tags(self) -> Mapping[str, str]:
|
105
|
+
"""
|
106
|
+
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).
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "defined_tags")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter
|
112
|
+
def description(self) -> str:
|
113
|
+
"""
|
114
|
+
Description of the execution window.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "description")
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="displayName")
|
120
|
+
def display_name(self) -> str:
|
121
|
+
"""
|
122
|
+
The user-friendly name for the execution window. The name does not need to be unique.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "display_name")
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter(name="estimatedTimeInMins")
|
128
|
+
def estimated_time_in_mins(self) -> int:
|
129
|
+
"""
|
130
|
+
The estimated time of the execution window in minutes.
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "estimated_time_in_mins")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="executionResourceId")
|
136
|
+
def execution_resource_id(self) -> str:
|
137
|
+
"""
|
138
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution resource the execution window belongs to.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "execution_resource_id")
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter(name="executionWindowId")
|
144
|
+
def execution_window_id(self) -> str:
|
145
|
+
return pulumi.get(self, "execution_window_id")
|
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 execution window.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "id")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="isEnforcedDuration")
|
165
|
+
def is_enforced_duration(self) -> bool:
|
166
|
+
"""
|
167
|
+
Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is `FALSE`.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "is_enforced_duration")
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter(name="lifecycleDetails")
|
173
|
+
def lifecycle_details(self) -> str:
|
174
|
+
"""
|
175
|
+
Additional information about the current lifecycle state.
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "lifecycle_details")
|
178
|
+
|
179
|
+
@property
|
180
|
+
@pulumi.getter(name="lifecycleSubstate")
|
181
|
+
def lifecycle_substate(self) -> str:
|
182
|
+
"""
|
183
|
+
The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "lifecycle_substate")
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter
|
189
|
+
def state(self) -> str:
|
190
|
+
"""
|
191
|
+
The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "state")
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter(name="timeCreated")
|
197
|
+
def time_created(self) -> str:
|
198
|
+
"""
|
199
|
+
The date and time the execution window was created.
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "time_created")
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter(name="timeEnded")
|
205
|
+
def time_ended(self) -> str:
|
206
|
+
"""
|
207
|
+
The date and time that the execution window ended.
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "time_ended")
|
210
|
+
|
211
|
+
@property
|
212
|
+
@pulumi.getter(name="timeScheduled")
|
213
|
+
def time_scheduled(self) -> str:
|
214
|
+
"""
|
215
|
+
The scheduled start date and time of the execution window.
|
216
|
+
"""
|
217
|
+
return pulumi.get(self, "time_scheduled")
|
218
|
+
|
219
|
+
@property
|
220
|
+
@pulumi.getter(name="timeStarted")
|
221
|
+
def time_started(self) -> str:
|
222
|
+
"""
|
223
|
+
The date and time that the execution window was started.
|
224
|
+
"""
|
225
|
+
return pulumi.get(self, "time_started")
|
226
|
+
|
227
|
+
@property
|
228
|
+
@pulumi.getter(name="timeUpdated")
|
229
|
+
def time_updated(self) -> str:
|
230
|
+
"""
|
231
|
+
The last date and time that the execution window was updated.
|
232
|
+
"""
|
233
|
+
return pulumi.get(self, "time_updated")
|
234
|
+
|
235
|
+
@property
|
236
|
+
@pulumi.getter(name="totalTimeTakenInMins")
|
237
|
+
def total_time_taken_in_mins(self) -> int:
|
238
|
+
"""
|
239
|
+
The total time taken by corresponding resource activity in minutes.
|
240
|
+
"""
|
241
|
+
return pulumi.get(self, "total_time_taken_in_mins")
|
242
|
+
|
243
|
+
@property
|
244
|
+
@pulumi.getter(name="windowDurationInMins")
|
245
|
+
def window_duration_in_mins(self) -> int:
|
246
|
+
"""
|
247
|
+
Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
|
248
|
+
"""
|
249
|
+
return pulumi.get(self, "window_duration_in_mins")
|
250
|
+
|
251
|
+
@property
|
252
|
+
@pulumi.getter(name="windowType")
|
253
|
+
def window_type(self) -> str:
|
254
|
+
"""
|
255
|
+
The execution window is of PLANNED or UNPLANNED type.
|
256
|
+
"""
|
257
|
+
return pulumi.get(self, "window_type")
|
258
|
+
|
259
|
+
|
260
|
+
class AwaitableGetExecutionWindowResult(GetExecutionWindowResult):
|
261
|
+
# pylint: disable=using-constant-test
|
262
|
+
def __await__(self):
|
263
|
+
if False:
|
264
|
+
yield self
|
265
|
+
return GetExecutionWindowResult(
|
266
|
+
compartment_id=self.compartment_id,
|
267
|
+
defined_tags=self.defined_tags,
|
268
|
+
description=self.description,
|
269
|
+
display_name=self.display_name,
|
270
|
+
estimated_time_in_mins=self.estimated_time_in_mins,
|
271
|
+
execution_resource_id=self.execution_resource_id,
|
272
|
+
execution_window_id=self.execution_window_id,
|
273
|
+
freeform_tags=self.freeform_tags,
|
274
|
+
id=self.id,
|
275
|
+
is_enforced_duration=self.is_enforced_duration,
|
276
|
+
lifecycle_details=self.lifecycle_details,
|
277
|
+
lifecycle_substate=self.lifecycle_substate,
|
278
|
+
state=self.state,
|
279
|
+
time_created=self.time_created,
|
280
|
+
time_ended=self.time_ended,
|
281
|
+
time_scheduled=self.time_scheduled,
|
282
|
+
time_started=self.time_started,
|
283
|
+
time_updated=self.time_updated,
|
284
|
+
total_time_taken_in_mins=self.total_time_taken_in_mins,
|
285
|
+
window_duration_in_mins=self.window_duration_in_mins,
|
286
|
+
window_type=self.window_type)
|
287
|
+
|
288
|
+
|
289
|
+
def get_execution_window(execution_window_id: Optional[str] = None,
|
290
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExecutionWindowResult:
|
291
|
+
"""
|
292
|
+
This data source provides details about a specific Execution Window resource in Oracle Cloud Infrastructure Database service.
|
293
|
+
|
294
|
+
Gets information about the specified execution window.
|
295
|
+
|
296
|
+
## Example Usage
|
297
|
+
|
298
|
+
```python
|
299
|
+
import pulumi
|
300
|
+
import pulumi_oci as oci
|
301
|
+
|
302
|
+
test_execution_window = oci.Database.get_execution_window(execution_window_id=test_execution_window_oci_database_execution_window["id"])
|
303
|
+
```
|
304
|
+
|
305
|
+
|
306
|
+
:param str execution_window_id: The execution window [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
307
|
+
"""
|
308
|
+
__args__ = dict()
|
309
|
+
__args__['executionWindowId'] = execution_window_id
|
310
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
311
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getExecutionWindow:getExecutionWindow', __args__, opts=opts, typ=GetExecutionWindowResult).value
|
312
|
+
|
313
|
+
return AwaitableGetExecutionWindowResult(
|
314
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
315
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
316
|
+
description=pulumi.get(__ret__, 'description'),
|
317
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
318
|
+
estimated_time_in_mins=pulumi.get(__ret__, 'estimated_time_in_mins'),
|
319
|
+
execution_resource_id=pulumi.get(__ret__, 'execution_resource_id'),
|
320
|
+
execution_window_id=pulumi.get(__ret__, 'execution_window_id'),
|
321
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
322
|
+
id=pulumi.get(__ret__, 'id'),
|
323
|
+
is_enforced_duration=pulumi.get(__ret__, 'is_enforced_duration'),
|
324
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
325
|
+
lifecycle_substate=pulumi.get(__ret__, 'lifecycle_substate'),
|
326
|
+
state=pulumi.get(__ret__, 'state'),
|
327
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
328
|
+
time_ended=pulumi.get(__ret__, 'time_ended'),
|
329
|
+
time_scheduled=pulumi.get(__ret__, 'time_scheduled'),
|
330
|
+
time_started=pulumi.get(__ret__, 'time_started'),
|
331
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
332
|
+
total_time_taken_in_mins=pulumi.get(__ret__, 'total_time_taken_in_mins'),
|
333
|
+
window_duration_in_mins=pulumi.get(__ret__, 'window_duration_in_mins'),
|
334
|
+
window_type=pulumi.get(__ret__, 'window_type'))
|
335
|
+
def get_execution_window_output(execution_window_id: Optional[pulumi.Input[str]] = None,
|
336
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExecutionWindowResult]:
|
337
|
+
"""
|
338
|
+
This data source provides details about a specific Execution Window resource in Oracle Cloud Infrastructure Database service.
|
339
|
+
|
340
|
+
Gets information about the specified execution window.
|
341
|
+
|
342
|
+
## Example Usage
|
343
|
+
|
344
|
+
```python
|
345
|
+
import pulumi
|
346
|
+
import pulumi_oci as oci
|
347
|
+
|
348
|
+
test_execution_window = oci.Database.get_execution_window(execution_window_id=test_execution_window_oci_database_execution_window["id"])
|
349
|
+
```
|
350
|
+
|
351
|
+
|
352
|
+
:param str execution_window_id: The execution window [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
353
|
+
"""
|
354
|
+
__args__ = dict()
|
355
|
+
__args__['executionWindowId'] = execution_window_id
|
356
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
357
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Database/getExecutionWindow:getExecutionWindow', __args__, opts=opts, typ=GetExecutionWindowResult)
|
358
|
+
return __ret__.apply(lambda __response__: GetExecutionWindowResult(
|
359
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
360
|
+
defined_tags=pulumi.get(__response__, 'defined_tags'),
|
361
|
+
description=pulumi.get(__response__, 'description'),
|
362
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
363
|
+
estimated_time_in_mins=pulumi.get(__response__, 'estimated_time_in_mins'),
|
364
|
+
execution_resource_id=pulumi.get(__response__, 'execution_resource_id'),
|
365
|
+
execution_window_id=pulumi.get(__response__, 'execution_window_id'),
|
366
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
367
|
+
id=pulumi.get(__response__, 'id'),
|
368
|
+
is_enforced_duration=pulumi.get(__response__, 'is_enforced_duration'),
|
369
|
+
lifecycle_details=pulumi.get(__response__, 'lifecycle_details'),
|
370
|
+
lifecycle_substate=pulumi.get(__response__, 'lifecycle_substate'),
|
371
|
+
state=pulumi.get(__response__, 'state'),
|
372
|
+
time_created=pulumi.get(__response__, 'time_created'),
|
373
|
+
time_ended=pulumi.get(__response__, 'time_ended'),
|
374
|
+
time_scheduled=pulumi.get(__response__, 'time_scheduled'),
|
375
|
+
time_started=pulumi.get(__response__, 'time_started'),
|
376
|
+
time_updated=pulumi.get(__response__, 'time_updated'),
|
377
|
+
total_time_taken_in_mins=pulumi.get(__response__, 'total_time_taken_in_mins'),
|
378
|
+
window_duration_in_mins=pulumi.get(__response__, 'window_duration_in_mins'),
|
379
|
+
window_type=pulumi.get(__response__, 'window_type')))
|