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,144 @@
|
|
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
|
+
'GetScheduledActionParamsResult',
|
21
|
+
'AwaitableGetScheduledActionParamsResult',
|
22
|
+
'get_scheduled_action_params',
|
23
|
+
'get_scheduled_action_params_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetScheduledActionParamsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getScheduledActionParams.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, action_param_values_collections=None, filters=None, id=None, type=None):
|
32
|
+
if action_param_values_collections and not isinstance(action_param_values_collections, list):
|
33
|
+
raise TypeError("Expected argument 'action_param_values_collections' to be a list")
|
34
|
+
pulumi.set(__self__, "action_param_values_collections", action_param_values_collections)
|
35
|
+
if filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
38
|
+
if id and not isinstance(id, str):
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
40
|
+
pulumi.set(__self__, "id", id)
|
41
|
+
if type and not isinstance(type, str):
|
42
|
+
raise TypeError("Expected argument 'type' to be a str")
|
43
|
+
pulumi.set(__self__, "type", type)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="actionParamValuesCollections")
|
47
|
+
def action_param_values_collections(self) -> Sequence['outputs.GetScheduledActionParamsActionParamValuesCollectionResult']:
|
48
|
+
"""
|
49
|
+
The list of action_param_values_collection.
|
50
|
+
"""
|
51
|
+
return pulumi.get(self, "action_param_values_collections")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def filters(self) -> Optional[Sequence['outputs.GetScheduledActionParamsFilterResult']]:
|
56
|
+
return pulumi.get(self, "filters")
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def id(self) -> str:
|
61
|
+
"""
|
62
|
+
The provider-assigned unique ID for this managed resource.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "id")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter
|
68
|
+
def type(self) -> str:
|
69
|
+
return pulumi.get(self, "type")
|
70
|
+
|
71
|
+
|
72
|
+
class AwaitableGetScheduledActionParamsResult(GetScheduledActionParamsResult):
|
73
|
+
# pylint: disable=using-constant-test
|
74
|
+
def __await__(self):
|
75
|
+
if False:
|
76
|
+
yield self
|
77
|
+
return GetScheduledActionParamsResult(
|
78
|
+
action_param_values_collections=self.action_param_values_collections,
|
79
|
+
filters=self.filters,
|
80
|
+
id=self.id,
|
81
|
+
type=self.type)
|
82
|
+
|
83
|
+
|
84
|
+
def get_scheduled_action_params(filters: Optional[Sequence[Union['GetScheduledActionParamsFilterArgs', 'GetScheduledActionParamsFilterArgsDict']]] = None,
|
85
|
+
type: Optional[str] = None,
|
86
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduledActionParamsResult:
|
87
|
+
"""
|
88
|
+
This data source provides the list of Scheduled Action Params in Oracle Cloud Infrastructure Database service.
|
89
|
+
|
90
|
+
List all the action params and their possible values for a given action type
|
91
|
+
|
92
|
+
## Example Usage
|
93
|
+
|
94
|
+
```python
|
95
|
+
import pulumi
|
96
|
+
import pulumi_oci as oci
|
97
|
+
|
98
|
+
test_scheduled_action_params = oci.Database.get_scheduled_action_params(type=scheduled_action_param_type)
|
99
|
+
```
|
100
|
+
|
101
|
+
|
102
|
+
:param str type: The type of the scheduled action
|
103
|
+
"""
|
104
|
+
__args__ = dict()
|
105
|
+
__args__['filters'] = filters
|
106
|
+
__args__['type'] = type
|
107
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
108
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getScheduledActionParams:getScheduledActionParams', __args__, opts=opts, typ=GetScheduledActionParamsResult).value
|
109
|
+
|
110
|
+
return AwaitableGetScheduledActionParamsResult(
|
111
|
+
action_param_values_collections=pulumi.get(__ret__, 'action_param_values_collections'),
|
112
|
+
filters=pulumi.get(__ret__, 'filters'),
|
113
|
+
id=pulumi.get(__ret__, 'id'),
|
114
|
+
type=pulumi.get(__ret__, 'type'))
|
115
|
+
def get_scheduled_action_params_output(filters: Optional[pulumi.Input[Optional[Sequence[Union['GetScheduledActionParamsFilterArgs', 'GetScheduledActionParamsFilterArgsDict']]]]] = None,
|
116
|
+
type: Optional[pulumi.Input[str]] = None,
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScheduledActionParamsResult]:
|
118
|
+
"""
|
119
|
+
This data source provides the list of Scheduled Action Params in Oracle Cloud Infrastructure Database service.
|
120
|
+
|
121
|
+
List all the action params and their possible values for a given action type
|
122
|
+
|
123
|
+
## Example Usage
|
124
|
+
|
125
|
+
```python
|
126
|
+
import pulumi
|
127
|
+
import pulumi_oci as oci
|
128
|
+
|
129
|
+
test_scheduled_action_params = oci.Database.get_scheduled_action_params(type=scheduled_action_param_type)
|
130
|
+
```
|
131
|
+
|
132
|
+
|
133
|
+
:param str type: The type of the scheduled action
|
134
|
+
"""
|
135
|
+
__args__ = dict()
|
136
|
+
__args__['filters'] = filters
|
137
|
+
__args__['type'] = type
|
138
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
139
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Database/getScheduledActionParams:getScheduledActionParams', __args__, opts=opts, typ=GetScheduledActionParamsResult)
|
140
|
+
return __ret__.apply(lambda __response__: GetScheduledActionParamsResult(
|
141
|
+
action_param_values_collections=pulumi.get(__response__, 'action_param_values_collections'),
|
142
|
+
filters=pulumi.get(__response__, 'filters'),
|
143
|
+
id=pulumi.get(__response__, 'id'),
|
144
|
+
type=pulumi.get(__response__, 'type')))
|
@@ -0,0 +1,240 @@
|
|
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
|
+
'GetScheduledActionsResult',
|
21
|
+
'AwaitableGetScheduledActionsResult',
|
22
|
+
'get_scheduled_actions',
|
23
|
+
'get_scheduled_actions_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetScheduledActionsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getScheduledActions.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, scheduled_action_collections=None, scheduling_plan_id=None, service_type=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 scheduled_action_collections and not isinstance(scheduled_action_collections, list):
|
45
|
+
raise TypeError("Expected argument 'scheduled_action_collections' to be a list")
|
46
|
+
pulumi.set(__self__, "scheduled_action_collections", scheduled_action_collections)
|
47
|
+
if scheduling_plan_id and not isinstance(scheduling_plan_id, str):
|
48
|
+
raise TypeError("Expected argument 'scheduling_plan_id' to be a str")
|
49
|
+
pulumi.set(__self__, "scheduling_plan_id", scheduling_plan_id)
|
50
|
+
if service_type and not isinstance(service_type, str):
|
51
|
+
raise TypeError("Expected argument 'service_type' to be a str")
|
52
|
+
pulumi.set(__self__, "service_type", service_type)
|
53
|
+
if state and not isinstance(state, str):
|
54
|
+
raise TypeError("Expected argument 'state' to be a str")
|
55
|
+
pulumi.set(__self__, "state", state)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="compartmentId")
|
59
|
+
def compartment_id(self) -> str:
|
60
|
+
"""
|
61
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "compartment_id")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="displayName")
|
67
|
+
def display_name(self) -> Optional[str]:
|
68
|
+
"""
|
69
|
+
The display name of the Scheduled Action.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "display_name")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def filters(self) -> Optional[Sequence['outputs.GetScheduledActionsFilterResult']]:
|
76
|
+
return pulumi.get(self, "filters")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def id(self) -> Optional[str]:
|
81
|
+
"""
|
82
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduled Action.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "id")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="scheduledActionCollections")
|
88
|
+
def scheduled_action_collections(self) -> Sequence['outputs.GetScheduledActionsScheduledActionCollectionResult']:
|
89
|
+
"""
|
90
|
+
The list of scheduled_action_collection.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "scheduled_action_collections")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="schedulingPlanId")
|
96
|
+
def scheduling_plan_id(self) -> Optional[str]:
|
97
|
+
"""
|
98
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "scheduling_plan_id")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="serviceType")
|
104
|
+
def service_type(self) -> Optional[str]:
|
105
|
+
return pulumi.get(self, "service_type")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def state(self) -> Optional[str]:
|
110
|
+
"""
|
111
|
+
The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "state")
|
114
|
+
|
115
|
+
|
116
|
+
class AwaitableGetScheduledActionsResult(GetScheduledActionsResult):
|
117
|
+
# pylint: disable=using-constant-test
|
118
|
+
def __await__(self):
|
119
|
+
if False:
|
120
|
+
yield self
|
121
|
+
return GetScheduledActionsResult(
|
122
|
+
compartment_id=self.compartment_id,
|
123
|
+
display_name=self.display_name,
|
124
|
+
filters=self.filters,
|
125
|
+
id=self.id,
|
126
|
+
scheduled_action_collections=self.scheduled_action_collections,
|
127
|
+
scheduling_plan_id=self.scheduling_plan_id,
|
128
|
+
service_type=self.service_type,
|
129
|
+
state=self.state)
|
130
|
+
|
131
|
+
|
132
|
+
def get_scheduled_actions(compartment_id: Optional[str] = None,
|
133
|
+
display_name: Optional[str] = None,
|
134
|
+
filters: Optional[Sequence[Union['GetScheduledActionsFilterArgs', 'GetScheduledActionsFilterArgsDict']]] = None,
|
135
|
+
id: Optional[str] = None,
|
136
|
+
scheduling_plan_id: Optional[str] = None,
|
137
|
+
service_type: Optional[str] = None,
|
138
|
+
state: Optional[str] = None,
|
139
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetScheduledActionsResult:
|
140
|
+
"""
|
141
|
+
This data source provides the list of Scheduled Actions in Oracle Cloud Infrastructure Database service.
|
142
|
+
|
143
|
+
Lists the Scheduled Action resources in the specified compartment.
|
144
|
+
|
145
|
+
## Example Usage
|
146
|
+
|
147
|
+
```python
|
148
|
+
import pulumi
|
149
|
+
import pulumi_oci as oci
|
150
|
+
|
151
|
+
test_scheduled_actions = oci.Database.get_scheduled_actions(compartment_id=compartment_id,
|
152
|
+
display_name=scheduled_action_display_name,
|
153
|
+
id=scheduled_action_id,
|
154
|
+
scheduling_plan_id=test_scheduling_plan["id"],
|
155
|
+
service_type=scheduled_action_service_type,
|
156
|
+
state=scheduled_action_state)
|
157
|
+
```
|
158
|
+
|
159
|
+
|
160
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
161
|
+
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
162
|
+
:param str id: A filter to return only resources that match the given Scheduled Action id exactly.
|
163
|
+
:param str scheduling_plan_id: A filter to return only resources that match the given scheduling policy id exactly.
|
164
|
+
:param str service_type: A filter to return only resources that match the given service type exactly.
|
165
|
+
:param str state: A filter to return only resources that match the given lifecycle state exactly.
|
166
|
+
"""
|
167
|
+
__args__ = dict()
|
168
|
+
__args__['compartmentId'] = compartment_id
|
169
|
+
__args__['displayName'] = display_name
|
170
|
+
__args__['filters'] = filters
|
171
|
+
__args__['id'] = id
|
172
|
+
__args__['schedulingPlanId'] = scheduling_plan_id
|
173
|
+
__args__['serviceType'] = service_type
|
174
|
+
__args__['state'] = state
|
175
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
176
|
+
__ret__ = pulumi.runtime.invoke('oci:Database/getScheduledActions:getScheduledActions', __args__, opts=opts, typ=GetScheduledActionsResult).value
|
177
|
+
|
178
|
+
return AwaitableGetScheduledActionsResult(
|
179
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
180
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
181
|
+
filters=pulumi.get(__ret__, 'filters'),
|
182
|
+
id=pulumi.get(__ret__, 'id'),
|
183
|
+
scheduled_action_collections=pulumi.get(__ret__, 'scheduled_action_collections'),
|
184
|
+
scheduling_plan_id=pulumi.get(__ret__, 'scheduling_plan_id'),
|
185
|
+
service_type=pulumi.get(__ret__, 'service_type'),
|
186
|
+
state=pulumi.get(__ret__, 'state'))
|
187
|
+
def get_scheduled_actions_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
188
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
189
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetScheduledActionsFilterArgs', 'GetScheduledActionsFilterArgsDict']]]]] = None,
|
190
|
+
id: Optional[pulumi.Input[Optional[str]]] = None,
|
191
|
+
scheduling_plan_id: Optional[pulumi.Input[Optional[str]]] = None,
|
192
|
+
service_type: Optional[pulumi.Input[Optional[str]]] = None,
|
193
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
194
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetScheduledActionsResult]:
|
195
|
+
"""
|
196
|
+
This data source provides the list of Scheduled Actions in Oracle Cloud Infrastructure Database service.
|
197
|
+
|
198
|
+
Lists the Scheduled Action resources in the specified compartment.
|
199
|
+
|
200
|
+
## Example Usage
|
201
|
+
|
202
|
+
```python
|
203
|
+
import pulumi
|
204
|
+
import pulumi_oci as oci
|
205
|
+
|
206
|
+
test_scheduled_actions = oci.Database.get_scheduled_actions(compartment_id=compartment_id,
|
207
|
+
display_name=scheduled_action_display_name,
|
208
|
+
id=scheduled_action_id,
|
209
|
+
scheduling_plan_id=test_scheduling_plan["id"],
|
210
|
+
service_type=scheduled_action_service_type,
|
211
|
+
state=scheduled_action_state)
|
212
|
+
```
|
213
|
+
|
214
|
+
|
215
|
+
:param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
216
|
+
:param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive.
|
217
|
+
:param str id: A filter to return only resources that match the given Scheduled Action id exactly.
|
218
|
+
:param str scheduling_plan_id: A filter to return only resources that match the given scheduling policy id exactly.
|
219
|
+
:param str service_type: A filter to return only resources that match the given service type exactly.
|
220
|
+
:param str state: A filter to return only resources that match the given lifecycle state exactly.
|
221
|
+
"""
|
222
|
+
__args__ = dict()
|
223
|
+
__args__['compartmentId'] = compartment_id
|
224
|
+
__args__['displayName'] = display_name
|
225
|
+
__args__['filters'] = filters
|
226
|
+
__args__['id'] = id
|
227
|
+
__args__['schedulingPlanId'] = scheduling_plan_id
|
228
|
+
__args__['serviceType'] = service_type
|
229
|
+
__args__['state'] = state
|
230
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
231
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Database/getScheduledActions:getScheduledActions', __args__, opts=opts, typ=GetScheduledActionsResult)
|
232
|
+
return __ret__.apply(lambda __response__: GetScheduledActionsResult(
|
233
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
234
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
235
|
+
filters=pulumi.get(__response__, 'filters'),
|
236
|
+
id=pulumi.get(__response__, 'id'),
|
237
|
+
scheduled_action_collections=pulumi.get(__response__, 'scheduled_action_collections'),
|
238
|
+
scheduling_plan_id=pulumi.get(__response__, 'scheduling_plan_id'),
|
239
|
+
service_type=pulumi.get(__response__, 'service_type'),
|
240
|
+
state=pulumi.get(__response__, 'state')))
|