pulumi-oci 2.23.0a1738304451__py3-none-any.whl → 2.24.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +96 -0
- pulumi_oci/apmsynthetics/config.py +2 -2
- pulumi_oci/apmsynthetics/dedicated_vantage_point.py +2 -2
- pulumi_oci/apmsynthetics/get_dedicated_vantage_point.py +2 -2
- pulumi_oci/apmsynthetics/get_dedicated_vantage_points.py +2 -2
- pulumi_oci/apmsynthetics/get_monitor.py +2 -2
- pulumi_oci/apmsynthetics/get_monitors.py +2 -2
- pulumi_oci/apmsynthetics/get_on_premise_vantage_point.py +2 -2
- pulumi_oci/apmsynthetics/get_on_premise_vantage_point_worker.py +2 -2
- pulumi_oci/apmsynthetics/get_on_premise_vantage_point_workers.py +2 -2
- pulumi_oci/apmsynthetics/get_on_premise_vantage_points.py +2 -2
- pulumi_oci/apmsynthetics/get_result.py +2 -2
- pulumi_oci/apmsynthetics/get_script.py +2 -2
- pulumi_oci/apmsynthetics/get_scripts.py +2 -2
- pulumi_oci/apmsynthetics/get_vantage_point.py +2 -2
- pulumi_oci/apmsynthetics/get_vantage_points.py +2 -2
- pulumi_oci/apmsynthetics/on_premise_vantage_point.py +2 -2
- pulumi_oci/apmsynthetics/on_premise_vantage_point_worker.py +2 -2
- pulumi_oci/apmsynthetics/script.py +2 -2
- pulumi_oci/database/__init__.py +20 -0
- pulumi_oci/database/_inputs.py +2242 -1118
- pulumi_oci/database/backup.py +30 -0
- 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 +11946 -7866
- 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/databasemanagement/__init__.py +7 -0
- pulumi_oci/databasemanagement/_inputs.py +282 -0
- pulumi_oci/databasemanagement/external_my_sql_database.py +297 -0
- pulumi_oci/databasemanagement/external_my_sql_database_connector.py +890 -0
- pulumi_oci/databasemanagement/external_my_sql_database_external_mysql_databases_management.py +302 -0
- pulumi_oci/databasemanagement/get_external_my_sql_database.py +152 -0
- pulumi_oci/databasemanagement/get_external_my_sql_database_connector.py +413 -0
- pulumi_oci/databasemanagement/get_external_my_sql_database_connectors.py +169 -0
- pulumi_oci/databasemanagement/get_external_my_sql_databases.py +166 -0
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +60 -4
- pulumi_oci/databasemanagement/get_managed_my_sql_databases.py +22 -3
- pulumi_oci/databasemanagement/outputs.py +767 -1
- 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/disasterrecovery/_inputs.py +720 -0
- pulumi_oci/disasterrecovery/dr_protection_group.py +0 -188
- pulumi_oci/disasterrecovery/get_dr_protection_group.py +1 -1
- pulumi_oci/disasterrecovery/outputs.py +1328 -48
- 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/opsi/_inputs.py +20 -0
- pulumi_oci/opsi/database_insight.py +47 -0
- pulumi_oci/opsi/get_database_insight.py +15 -1
- pulumi_oci/opsi/get_news_report.py +29 -1
- pulumi_oci/opsi/news_report.py +117 -17
- pulumi_oci/opsi/outputs.py +70 -1
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0.dist-info}/RECORD +163 -124
- {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,775 @@
|
|
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__ = ['ScheduledActionArgs', 'ScheduledAction']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class ScheduledActionArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
action_type: pulumi.Input[str],
|
25
|
+
compartment_id: pulumi.Input[str],
|
26
|
+
scheduling_plan_id: pulumi.Input[str],
|
27
|
+
scheduling_window_id: pulumi.Input[str],
|
28
|
+
action_members: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduledActionActionMemberArgs']]]] = None,
|
29
|
+
action_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
30
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
31
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
32
|
+
"""
|
33
|
+
The set of arguments for constructing a ScheduledAction resource.
|
34
|
+
:param pulumi.Input[str] action_type: The type of the scheduled action being performed
|
35
|
+
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
36
|
+
:param pulumi.Input[str] scheduling_plan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan.
|
37
|
+
:param pulumi.Input[str] scheduling_window_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window.
|
38
|
+
|
39
|
+
|
40
|
+
** IMPORTANT **
|
41
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input['ScheduledActionActionMemberArgs']]] action_members: (Updatable) The list of action members in a scheduled action.
|
43
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] action_params: (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
44
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: 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).
|
45
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: 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"}`
|
46
|
+
"""
|
47
|
+
pulumi.set(__self__, "action_type", action_type)
|
48
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
49
|
+
pulumi.set(__self__, "scheduling_plan_id", scheduling_plan_id)
|
50
|
+
pulumi.set(__self__, "scheduling_window_id", scheduling_window_id)
|
51
|
+
if action_members is not None:
|
52
|
+
pulumi.set(__self__, "action_members", action_members)
|
53
|
+
if action_params is not None:
|
54
|
+
pulumi.set(__self__, "action_params", action_params)
|
55
|
+
if defined_tags is not None:
|
56
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
57
|
+
if freeform_tags is not None:
|
58
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="actionType")
|
62
|
+
def action_type(self) -> pulumi.Input[str]:
|
63
|
+
"""
|
64
|
+
The type of the scheduled action being performed
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "action_type")
|
67
|
+
|
68
|
+
@action_type.setter
|
69
|
+
def action_type(self, value: pulumi.Input[str]):
|
70
|
+
pulumi.set(self, "action_type", value)
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter(name="compartmentId")
|
74
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
75
|
+
"""
|
76
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "compartment_id")
|
79
|
+
|
80
|
+
@compartment_id.setter
|
81
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
82
|
+
pulumi.set(self, "compartment_id", value)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="schedulingPlanId")
|
86
|
+
def scheduling_plan_id(self) -> pulumi.Input[str]:
|
87
|
+
"""
|
88
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "scheduling_plan_id")
|
91
|
+
|
92
|
+
@scheduling_plan_id.setter
|
93
|
+
def scheduling_plan_id(self, value: pulumi.Input[str]):
|
94
|
+
pulumi.set(self, "scheduling_plan_id", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="schedulingWindowId")
|
98
|
+
def scheduling_window_id(self) -> pulumi.Input[str]:
|
99
|
+
"""
|
100
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window.
|
101
|
+
|
102
|
+
|
103
|
+
** IMPORTANT **
|
104
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "scheduling_window_id")
|
107
|
+
|
108
|
+
@scheduling_window_id.setter
|
109
|
+
def scheduling_window_id(self, value: pulumi.Input[str]):
|
110
|
+
pulumi.set(self, "scheduling_window_id", value)
|
111
|
+
|
112
|
+
@property
|
113
|
+
@pulumi.getter(name="actionMembers")
|
114
|
+
def action_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScheduledActionActionMemberArgs']]]]:
|
115
|
+
"""
|
116
|
+
(Updatable) The list of action members in a scheduled action.
|
117
|
+
"""
|
118
|
+
return pulumi.get(self, "action_members")
|
119
|
+
|
120
|
+
@action_members.setter
|
121
|
+
def action_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduledActionActionMemberArgs']]]]):
|
122
|
+
pulumi.set(self, "action_members", value)
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="actionParams")
|
126
|
+
def action_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
127
|
+
"""
|
128
|
+
(Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "action_params")
|
131
|
+
|
132
|
+
@action_params.setter
|
133
|
+
def action_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
134
|
+
pulumi.set(self, "action_params", value)
|
135
|
+
|
136
|
+
@property
|
137
|
+
@pulumi.getter(name="definedTags")
|
138
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
139
|
+
"""
|
140
|
+
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).
|
141
|
+
"""
|
142
|
+
return pulumi.get(self, "defined_tags")
|
143
|
+
|
144
|
+
@defined_tags.setter
|
145
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
146
|
+
pulumi.set(self, "defined_tags", value)
|
147
|
+
|
148
|
+
@property
|
149
|
+
@pulumi.getter(name="freeformTags")
|
150
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
151
|
+
"""
|
152
|
+
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"}`
|
153
|
+
"""
|
154
|
+
return pulumi.get(self, "freeform_tags")
|
155
|
+
|
156
|
+
@freeform_tags.setter
|
157
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
158
|
+
pulumi.set(self, "freeform_tags", value)
|
159
|
+
|
160
|
+
|
161
|
+
@pulumi.input_type
|
162
|
+
class _ScheduledActionState:
|
163
|
+
def __init__(__self__, *,
|
164
|
+
action_members: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduledActionActionMemberArgs']]]] = None,
|
165
|
+
action_order: Optional[pulumi.Input[int]] = None,
|
166
|
+
action_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
167
|
+
action_type: Optional[pulumi.Input[str]] = None,
|
168
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
169
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
170
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
171
|
+
estimated_time_in_mins: Optional[pulumi.Input[int]] = None,
|
172
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
173
|
+
scheduling_plan_id: Optional[pulumi.Input[str]] = None,
|
174
|
+
scheduling_window_id: Optional[pulumi.Input[str]] = None,
|
175
|
+
state: Optional[pulumi.Input[str]] = None,
|
176
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
177
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
178
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
179
|
+
"""
|
180
|
+
Input properties used for looking up and filtering ScheduledAction resources.
|
181
|
+
:param pulumi.Input[Sequence[pulumi.Input['ScheduledActionActionMemberArgs']]] action_members: (Updatable) The list of action members in a scheduled action.
|
182
|
+
:param pulumi.Input[int] action_order: The order of the scheduled action.
|
183
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] action_params: (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
184
|
+
:param pulumi.Input[str] action_type: The type of the scheduled action being performed
|
185
|
+
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
186
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: 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).
|
187
|
+
:param pulumi.Input[str] display_name: The display name of the Scheduled Action.
|
188
|
+
:param pulumi.Input[int] estimated_time_in_mins: The estimated patching time for the scheduled action.
|
189
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: 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"}`
|
190
|
+
:param pulumi.Input[str] scheduling_plan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan.
|
191
|
+
:param pulumi.Input[str] scheduling_window_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window.
|
192
|
+
|
193
|
+
|
194
|
+
** IMPORTANT **
|
195
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
196
|
+
:param pulumi.Input[str] state: The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
|
197
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: 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).
|
198
|
+
:param pulumi.Input[str] time_created: The date and time the Scheduled Action Resource was created.
|
199
|
+
:param pulumi.Input[str] time_updated: The date and time the Scheduled Action Resource was updated.
|
200
|
+
"""
|
201
|
+
if action_members is not None:
|
202
|
+
pulumi.set(__self__, "action_members", action_members)
|
203
|
+
if action_order is not None:
|
204
|
+
pulumi.set(__self__, "action_order", action_order)
|
205
|
+
if action_params is not None:
|
206
|
+
pulumi.set(__self__, "action_params", action_params)
|
207
|
+
if action_type is not None:
|
208
|
+
pulumi.set(__self__, "action_type", action_type)
|
209
|
+
if compartment_id is not None:
|
210
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
211
|
+
if defined_tags is not None:
|
212
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
213
|
+
if display_name is not None:
|
214
|
+
pulumi.set(__self__, "display_name", display_name)
|
215
|
+
if estimated_time_in_mins is not None:
|
216
|
+
pulumi.set(__self__, "estimated_time_in_mins", estimated_time_in_mins)
|
217
|
+
if freeform_tags is not None:
|
218
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
219
|
+
if scheduling_plan_id is not None:
|
220
|
+
pulumi.set(__self__, "scheduling_plan_id", scheduling_plan_id)
|
221
|
+
if scheduling_window_id is not None:
|
222
|
+
pulumi.set(__self__, "scheduling_window_id", scheduling_window_id)
|
223
|
+
if state is not None:
|
224
|
+
pulumi.set(__self__, "state", state)
|
225
|
+
if system_tags is not None:
|
226
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
227
|
+
if time_created is not None:
|
228
|
+
pulumi.set(__self__, "time_created", time_created)
|
229
|
+
if time_updated is not None:
|
230
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
231
|
+
|
232
|
+
@property
|
233
|
+
@pulumi.getter(name="actionMembers")
|
234
|
+
def action_members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ScheduledActionActionMemberArgs']]]]:
|
235
|
+
"""
|
236
|
+
(Updatable) The list of action members in a scheduled action.
|
237
|
+
"""
|
238
|
+
return pulumi.get(self, "action_members")
|
239
|
+
|
240
|
+
@action_members.setter
|
241
|
+
def action_members(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduledActionActionMemberArgs']]]]):
|
242
|
+
pulumi.set(self, "action_members", value)
|
243
|
+
|
244
|
+
@property
|
245
|
+
@pulumi.getter(name="actionOrder")
|
246
|
+
def action_order(self) -> Optional[pulumi.Input[int]]:
|
247
|
+
"""
|
248
|
+
The order of the scheduled action.
|
249
|
+
"""
|
250
|
+
return pulumi.get(self, "action_order")
|
251
|
+
|
252
|
+
@action_order.setter
|
253
|
+
def action_order(self, value: Optional[pulumi.Input[int]]):
|
254
|
+
pulumi.set(self, "action_order", value)
|
255
|
+
|
256
|
+
@property
|
257
|
+
@pulumi.getter(name="actionParams")
|
258
|
+
def action_params(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
259
|
+
"""
|
260
|
+
(Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
261
|
+
"""
|
262
|
+
return pulumi.get(self, "action_params")
|
263
|
+
|
264
|
+
@action_params.setter
|
265
|
+
def action_params(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
266
|
+
pulumi.set(self, "action_params", value)
|
267
|
+
|
268
|
+
@property
|
269
|
+
@pulumi.getter(name="actionType")
|
270
|
+
def action_type(self) -> Optional[pulumi.Input[str]]:
|
271
|
+
"""
|
272
|
+
The type of the scheduled action being performed
|
273
|
+
"""
|
274
|
+
return pulumi.get(self, "action_type")
|
275
|
+
|
276
|
+
@action_type.setter
|
277
|
+
def action_type(self, value: Optional[pulumi.Input[str]]):
|
278
|
+
pulumi.set(self, "action_type", value)
|
279
|
+
|
280
|
+
@property
|
281
|
+
@pulumi.getter(name="compartmentId")
|
282
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
283
|
+
"""
|
284
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
285
|
+
"""
|
286
|
+
return pulumi.get(self, "compartment_id")
|
287
|
+
|
288
|
+
@compartment_id.setter
|
289
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
290
|
+
pulumi.set(self, "compartment_id", value)
|
291
|
+
|
292
|
+
@property
|
293
|
+
@pulumi.getter(name="definedTags")
|
294
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
295
|
+
"""
|
296
|
+
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).
|
297
|
+
"""
|
298
|
+
return pulumi.get(self, "defined_tags")
|
299
|
+
|
300
|
+
@defined_tags.setter
|
301
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
302
|
+
pulumi.set(self, "defined_tags", value)
|
303
|
+
|
304
|
+
@property
|
305
|
+
@pulumi.getter(name="displayName")
|
306
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
307
|
+
"""
|
308
|
+
The display name of the Scheduled Action.
|
309
|
+
"""
|
310
|
+
return pulumi.get(self, "display_name")
|
311
|
+
|
312
|
+
@display_name.setter
|
313
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
314
|
+
pulumi.set(self, "display_name", value)
|
315
|
+
|
316
|
+
@property
|
317
|
+
@pulumi.getter(name="estimatedTimeInMins")
|
318
|
+
def estimated_time_in_mins(self) -> Optional[pulumi.Input[int]]:
|
319
|
+
"""
|
320
|
+
The estimated patching time for the scheduled action.
|
321
|
+
"""
|
322
|
+
return pulumi.get(self, "estimated_time_in_mins")
|
323
|
+
|
324
|
+
@estimated_time_in_mins.setter
|
325
|
+
def estimated_time_in_mins(self, value: Optional[pulumi.Input[int]]):
|
326
|
+
pulumi.set(self, "estimated_time_in_mins", value)
|
327
|
+
|
328
|
+
@property
|
329
|
+
@pulumi.getter(name="freeformTags")
|
330
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
331
|
+
"""
|
332
|
+
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"}`
|
333
|
+
"""
|
334
|
+
return pulumi.get(self, "freeform_tags")
|
335
|
+
|
336
|
+
@freeform_tags.setter
|
337
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
338
|
+
pulumi.set(self, "freeform_tags", value)
|
339
|
+
|
340
|
+
@property
|
341
|
+
@pulumi.getter(name="schedulingPlanId")
|
342
|
+
def scheduling_plan_id(self) -> Optional[pulumi.Input[str]]:
|
343
|
+
"""
|
344
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan.
|
345
|
+
"""
|
346
|
+
return pulumi.get(self, "scheduling_plan_id")
|
347
|
+
|
348
|
+
@scheduling_plan_id.setter
|
349
|
+
def scheduling_plan_id(self, value: Optional[pulumi.Input[str]]):
|
350
|
+
pulumi.set(self, "scheduling_plan_id", value)
|
351
|
+
|
352
|
+
@property
|
353
|
+
@pulumi.getter(name="schedulingWindowId")
|
354
|
+
def scheduling_window_id(self) -> Optional[pulumi.Input[str]]:
|
355
|
+
"""
|
356
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window.
|
357
|
+
|
358
|
+
|
359
|
+
** IMPORTANT **
|
360
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
361
|
+
"""
|
362
|
+
return pulumi.get(self, "scheduling_window_id")
|
363
|
+
|
364
|
+
@scheduling_window_id.setter
|
365
|
+
def scheduling_window_id(self, value: Optional[pulumi.Input[str]]):
|
366
|
+
pulumi.set(self, "scheduling_window_id", value)
|
367
|
+
|
368
|
+
@property
|
369
|
+
@pulumi.getter
|
370
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
371
|
+
"""
|
372
|
+
The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
|
373
|
+
"""
|
374
|
+
return pulumi.get(self, "state")
|
375
|
+
|
376
|
+
@state.setter
|
377
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
378
|
+
pulumi.set(self, "state", value)
|
379
|
+
|
380
|
+
@property
|
381
|
+
@pulumi.getter(name="systemTags")
|
382
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
383
|
+
"""
|
384
|
+
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).
|
385
|
+
"""
|
386
|
+
return pulumi.get(self, "system_tags")
|
387
|
+
|
388
|
+
@system_tags.setter
|
389
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
390
|
+
pulumi.set(self, "system_tags", value)
|
391
|
+
|
392
|
+
@property
|
393
|
+
@pulumi.getter(name="timeCreated")
|
394
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
395
|
+
"""
|
396
|
+
The date and time the Scheduled Action Resource was created.
|
397
|
+
"""
|
398
|
+
return pulumi.get(self, "time_created")
|
399
|
+
|
400
|
+
@time_created.setter
|
401
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
402
|
+
pulumi.set(self, "time_created", value)
|
403
|
+
|
404
|
+
@property
|
405
|
+
@pulumi.getter(name="timeUpdated")
|
406
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
407
|
+
"""
|
408
|
+
The date and time the Scheduled Action Resource was updated.
|
409
|
+
"""
|
410
|
+
return pulumi.get(self, "time_updated")
|
411
|
+
|
412
|
+
@time_updated.setter
|
413
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
414
|
+
pulumi.set(self, "time_updated", value)
|
415
|
+
|
416
|
+
|
417
|
+
class ScheduledAction(pulumi.CustomResource):
|
418
|
+
@overload
|
419
|
+
def __init__(__self__,
|
420
|
+
resource_name: str,
|
421
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
422
|
+
action_members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScheduledActionActionMemberArgs', 'ScheduledActionActionMemberArgsDict']]]]] = None,
|
423
|
+
action_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
424
|
+
action_type: Optional[pulumi.Input[str]] = None,
|
425
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
426
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
427
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
428
|
+
scheduling_plan_id: Optional[pulumi.Input[str]] = None,
|
429
|
+
scheduling_window_id: Optional[pulumi.Input[str]] = None,
|
430
|
+
__props__=None):
|
431
|
+
"""
|
432
|
+
This resource provides the Scheduled Action resource in Oracle Cloud Infrastructure Database service.
|
433
|
+
|
434
|
+
Creates a Scheduled Action resource.
|
435
|
+
|
436
|
+
## Example Usage
|
437
|
+
|
438
|
+
```python
|
439
|
+
import pulumi
|
440
|
+
import pulumi_oci as oci
|
441
|
+
|
442
|
+
test_scheduled_action = oci.database.ScheduledAction("test_scheduled_action",
|
443
|
+
action_type=scheduled_action_action_type,
|
444
|
+
compartment_id=compartment_id,
|
445
|
+
scheduling_plan_id=test_scheduling_plan["id"],
|
446
|
+
scheduling_window_id=test_scheduling_window["id"],
|
447
|
+
action_members=[{
|
448
|
+
"member_id": test_member["id"],
|
449
|
+
"member_order": scheduled_action_action_members_member_order,
|
450
|
+
"estimated_time_in_mins": scheduled_action_action_members_estimated_time_in_mins,
|
451
|
+
}],
|
452
|
+
action_params=scheduled_action_action_params,
|
453
|
+
defined_tags=scheduled_action_defined_tags,
|
454
|
+
freeform_tags={
|
455
|
+
"Department": "Finance",
|
456
|
+
})
|
457
|
+
```
|
458
|
+
|
459
|
+
## Import
|
460
|
+
|
461
|
+
ScheduledActions can be imported using the `id`, e.g.
|
462
|
+
|
463
|
+
```sh
|
464
|
+
$ pulumi import oci:Database/scheduledAction:ScheduledAction test_scheduled_action "id"
|
465
|
+
```
|
466
|
+
|
467
|
+
:param str resource_name: The name of the resource.
|
468
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
469
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ScheduledActionActionMemberArgs', 'ScheduledActionActionMemberArgsDict']]]] action_members: (Updatable) The list of action members in a scheduled action.
|
470
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] action_params: (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
471
|
+
:param pulumi.Input[str] action_type: The type of the scheduled action being performed
|
472
|
+
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
473
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: 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).
|
474
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: 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"}`
|
475
|
+
:param pulumi.Input[str] scheduling_plan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan.
|
476
|
+
:param pulumi.Input[str] scheduling_window_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window.
|
477
|
+
|
478
|
+
|
479
|
+
** IMPORTANT **
|
480
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
481
|
+
"""
|
482
|
+
...
|
483
|
+
@overload
|
484
|
+
def __init__(__self__,
|
485
|
+
resource_name: str,
|
486
|
+
args: ScheduledActionArgs,
|
487
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
488
|
+
"""
|
489
|
+
This resource provides the Scheduled Action resource in Oracle Cloud Infrastructure Database service.
|
490
|
+
|
491
|
+
Creates a Scheduled Action resource.
|
492
|
+
|
493
|
+
## Example Usage
|
494
|
+
|
495
|
+
```python
|
496
|
+
import pulumi
|
497
|
+
import pulumi_oci as oci
|
498
|
+
|
499
|
+
test_scheduled_action = oci.database.ScheduledAction("test_scheduled_action",
|
500
|
+
action_type=scheduled_action_action_type,
|
501
|
+
compartment_id=compartment_id,
|
502
|
+
scheduling_plan_id=test_scheduling_plan["id"],
|
503
|
+
scheduling_window_id=test_scheduling_window["id"],
|
504
|
+
action_members=[{
|
505
|
+
"member_id": test_member["id"],
|
506
|
+
"member_order": scheduled_action_action_members_member_order,
|
507
|
+
"estimated_time_in_mins": scheduled_action_action_members_estimated_time_in_mins,
|
508
|
+
}],
|
509
|
+
action_params=scheduled_action_action_params,
|
510
|
+
defined_tags=scheduled_action_defined_tags,
|
511
|
+
freeform_tags={
|
512
|
+
"Department": "Finance",
|
513
|
+
})
|
514
|
+
```
|
515
|
+
|
516
|
+
## Import
|
517
|
+
|
518
|
+
ScheduledActions can be imported using the `id`, e.g.
|
519
|
+
|
520
|
+
```sh
|
521
|
+
$ pulumi import oci:Database/scheduledAction:ScheduledAction test_scheduled_action "id"
|
522
|
+
```
|
523
|
+
|
524
|
+
:param str resource_name: The name of the resource.
|
525
|
+
:param ScheduledActionArgs args: The arguments to use to populate this resource's properties.
|
526
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
527
|
+
"""
|
528
|
+
...
|
529
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
530
|
+
resource_args, opts = _utilities.get_resource_args_opts(ScheduledActionArgs, pulumi.ResourceOptions, *args, **kwargs)
|
531
|
+
if resource_args is not None:
|
532
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
533
|
+
else:
|
534
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
535
|
+
|
536
|
+
def _internal_init(__self__,
|
537
|
+
resource_name: str,
|
538
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
539
|
+
action_members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScheduledActionActionMemberArgs', 'ScheduledActionActionMemberArgsDict']]]]] = None,
|
540
|
+
action_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
541
|
+
action_type: Optional[pulumi.Input[str]] = None,
|
542
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
543
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
544
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
545
|
+
scheduling_plan_id: Optional[pulumi.Input[str]] = None,
|
546
|
+
scheduling_window_id: Optional[pulumi.Input[str]] = None,
|
547
|
+
__props__=None):
|
548
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
549
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
550
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
551
|
+
if opts.id is None:
|
552
|
+
if __props__ is not None:
|
553
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
554
|
+
__props__ = ScheduledActionArgs.__new__(ScheduledActionArgs)
|
555
|
+
|
556
|
+
__props__.__dict__["action_members"] = action_members
|
557
|
+
__props__.__dict__["action_params"] = action_params
|
558
|
+
if action_type is None and not opts.urn:
|
559
|
+
raise TypeError("Missing required property 'action_type'")
|
560
|
+
__props__.__dict__["action_type"] = action_type
|
561
|
+
if compartment_id is None and not opts.urn:
|
562
|
+
raise TypeError("Missing required property 'compartment_id'")
|
563
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
564
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
565
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
566
|
+
if scheduling_plan_id is None and not opts.urn:
|
567
|
+
raise TypeError("Missing required property 'scheduling_plan_id'")
|
568
|
+
__props__.__dict__["scheduling_plan_id"] = scheduling_plan_id
|
569
|
+
if scheduling_window_id is None and not opts.urn:
|
570
|
+
raise TypeError("Missing required property 'scheduling_window_id'")
|
571
|
+
__props__.__dict__["scheduling_window_id"] = scheduling_window_id
|
572
|
+
__props__.__dict__["action_order"] = None
|
573
|
+
__props__.__dict__["display_name"] = None
|
574
|
+
__props__.__dict__["estimated_time_in_mins"] = None
|
575
|
+
__props__.__dict__["state"] = None
|
576
|
+
__props__.__dict__["system_tags"] = None
|
577
|
+
__props__.__dict__["time_created"] = None
|
578
|
+
__props__.__dict__["time_updated"] = None
|
579
|
+
super(ScheduledAction, __self__).__init__(
|
580
|
+
'oci:Database/scheduledAction:ScheduledAction',
|
581
|
+
resource_name,
|
582
|
+
__props__,
|
583
|
+
opts)
|
584
|
+
|
585
|
+
@staticmethod
|
586
|
+
def get(resource_name: str,
|
587
|
+
id: pulumi.Input[str],
|
588
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
589
|
+
action_members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ScheduledActionActionMemberArgs', 'ScheduledActionActionMemberArgsDict']]]]] = None,
|
590
|
+
action_order: Optional[pulumi.Input[int]] = None,
|
591
|
+
action_params: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
592
|
+
action_type: Optional[pulumi.Input[str]] = None,
|
593
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
594
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
595
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
596
|
+
estimated_time_in_mins: Optional[pulumi.Input[int]] = None,
|
597
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
598
|
+
scheduling_plan_id: Optional[pulumi.Input[str]] = None,
|
599
|
+
scheduling_window_id: Optional[pulumi.Input[str]] = None,
|
600
|
+
state: Optional[pulumi.Input[str]] = None,
|
601
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
602
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
603
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'ScheduledAction':
|
604
|
+
"""
|
605
|
+
Get an existing ScheduledAction resource's state with the given name, id, and optional extra
|
606
|
+
properties used to qualify the lookup.
|
607
|
+
|
608
|
+
:param str resource_name: The unique name of the resulting resource.
|
609
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
610
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
611
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ScheduledActionActionMemberArgs', 'ScheduledActionActionMemberArgsDict']]]] action_members: (Updatable) The list of action members in a scheduled action.
|
612
|
+
:param pulumi.Input[int] action_order: The order of the scheduled action.
|
613
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] action_params: (Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
614
|
+
:param pulumi.Input[str] action_type: The type of the scheduled action being performed
|
615
|
+
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
616
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: 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).
|
617
|
+
:param pulumi.Input[str] display_name: The display name of the Scheduled Action.
|
618
|
+
:param pulumi.Input[int] estimated_time_in_mins: The estimated patching time for the scheduled action.
|
619
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: 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"}`
|
620
|
+
:param pulumi.Input[str] scheduling_plan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan.
|
621
|
+
:param pulumi.Input[str] scheduling_window_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window.
|
622
|
+
|
623
|
+
|
624
|
+
** IMPORTANT **
|
625
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
626
|
+
:param pulumi.Input[str] state: The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
|
627
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: 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).
|
628
|
+
:param pulumi.Input[str] time_created: The date and time the Scheduled Action Resource was created.
|
629
|
+
:param pulumi.Input[str] time_updated: The date and time the Scheduled Action Resource was updated.
|
630
|
+
"""
|
631
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
632
|
+
|
633
|
+
__props__ = _ScheduledActionState.__new__(_ScheduledActionState)
|
634
|
+
|
635
|
+
__props__.__dict__["action_members"] = action_members
|
636
|
+
__props__.__dict__["action_order"] = action_order
|
637
|
+
__props__.__dict__["action_params"] = action_params
|
638
|
+
__props__.__dict__["action_type"] = action_type
|
639
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
640
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
641
|
+
__props__.__dict__["display_name"] = display_name
|
642
|
+
__props__.__dict__["estimated_time_in_mins"] = estimated_time_in_mins
|
643
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
644
|
+
__props__.__dict__["scheduling_plan_id"] = scheduling_plan_id
|
645
|
+
__props__.__dict__["scheduling_window_id"] = scheduling_window_id
|
646
|
+
__props__.__dict__["state"] = state
|
647
|
+
__props__.__dict__["system_tags"] = system_tags
|
648
|
+
__props__.__dict__["time_created"] = time_created
|
649
|
+
__props__.__dict__["time_updated"] = time_updated
|
650
|
+
return ScheduledAction(resource_name, opts=opts, __props__=__props__)
|
651
|
+
|
652
|
+
@property
|
653
|
+
@pulumi.getter(name="actionMembers")
|
654
|
+
def action_members(self) -> pulumi.Output[Sequence['outputs.ScheduledActionActionMember']]:
|
655
|
+
"""
|
656
|
+
(Updatable) The list of action members in a scheduled action.
|
657
|
+
"""
|
658
|
+
return pulumi.get(self, "action_members")
|
659
|
+
|
660
|
+
@property
|
661
|
+
@pulumi.getter(name="actionOrder")
|
662
|
+
def action_order(self) -> pulumi.Output[int]:
|
663
|
+
"""
|
664
|
+
The order of the scheduled action.
|
665
|
+
"""
|
666
|
+
return pulumi.get(self, "action_order")
|
667
|
+
|
668
|
+
@property
|
669
|
+
@pulumi.getter(name="actionParams")
|
670
|
+
def action_params(self) -> pulumi.Output[Mapping[str, str]]:
|
671
|
+
"""
|
672
|
+
(Updatable) Map<ParamName, ParamValue> where a key value pair describes the specific action parameter. Example: `{"count": "3"}`
|
673
|
+
"""
|
674
|
+
return pulumi.get(self, "action_params")
|
675
|
+
|
676
|
+
@property
|
677
|
+
@pulumi.getter(name="actionType")
|
678
|
+
def action_type(self) -> pulumi.Output[str]:
|
679
|
+
"""
|
680
|
+
The type of the scheduled action being performed
|
681
|
+
"""
|
682
|
+
return pulumi.get(self, "action_type")
|
683
|
+
|
684
|
+
@property
|
685
|
+
@pulumi.getter(name="compartmentId")
|
686
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
687
|
+
"""
|
688
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
689
|
+
"""
|
690
|
+
return pulumi.get(self, "compartment_id")
|
691
|
+
|
692
|
+
@property
|
693
|
+
@pulumi.getter(name="definedTags")
|
694
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
695
|
+
"""
|
696
|
+
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).
|
697
|
+
"""
|
698
|
+
return pulumi.get(self, "defined_tags")
|
699
|
+
|
700
|
+
@property
|
701
|
+
@pulumi.getter(name="displayName")
|
702
|
+
def display_name(self) -> pulumi.Output[str]:
|
703
|
+
"""
|
704
|
+
The display name of the Scheduled Action.
|
705
|
+
"""
|
706
|
+
return pulumi.get(self, "display_name")
|
707
|
+
|
708
|
+
@property
|
709
|
+
@pulumi.getter(name="estimatedTimeInMins")
|
710
|
+
def estimated_time_in_mins(self) -> pulumi.Output[int]:
|
711
|
+
"""
|
712
|
+
The estimated patching time for the scheduled action.
|
713
|
+
"""
|
714
|
+
return pulumi.get(self, "estimated_time_in_mins")
|
715
|
+
|
716
|
+
@property
|
717
|
+
@pulumi.getter(name="freeformTags")
|
718
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
719
|
+
"""
|
720
|
+
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"}`
|
721
|
+
"""
|
722
|
+
return pulumi.get(self, "freeform_tags")
|
723
|
+
|
724
|
+
@property
|
725
|
+
@pulumi.getter(name="schedulingPlanId")
|
726
|
+
def scheduling_plan_id(self) -> pulumi.Output[str]:
|
727
|
+
"""
|
728
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan.
|
729
|
+
"""
|
730
|
+
return pulumi.get(self, "scheduling_plan_id")
|
731
|
+
|
732
|
+
@property
|
733
|
+
@pulumi.getter(name="schedulingWindowId")
|
734
|
+
def scheduling_window_id(self) -> pulumi.Output[str]:
|
735
|
+
"""
|
736
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window.
|
737
|
+
|
738
|
+
|
739
|
+
** IMPORTANT **
|
740
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
741
|
+
"""
|
742
|
+
return pulumi.get(self, "scheduling_window_id")
|
743
|
+
|
744
|
+
@property
|
745
|
+
@pulumi.getter
|
746
|
+
def state(self) -> pulumi.Output[str]:
|
747
|
+
"""
|
748
|
+
The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED.
|
749
|
+
"""
|
750
|
+
return pulumi.get(self, "state")
|
751
|
+
|
752
|
+
@property
|
753
|
+
@pulumi.getter(name="systemTags")
|
754
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
755
|
+
"""
|
756
|
+
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).
|
757
|
+
"""
|
758
|
+
return pulumi.get(self, "system_tags")
|
759
|
+
|
760
|
+
@property
|
761
|
+
@pulumi.getter(name="timeCreated")
|
762
|
+
def time_created(self) -> pulumi.Output[str]:
|
763
|
+
"""
|
764
|
+
The date and time the Scheduled Action Resource was created.
|
765
|
+
"""
|
766
|
+
return pulumi.get(self, "time_created")
|
767
|
+
|
768
|
+
@property
|
769
|
+
@pulumi.getter(name="timeUpdated")
|
770
|
+
def time_updated(self) -> pulumi.Output[str]:
|
771
|
+
"""
|
772
|
+
The date and time the Scheduled Action Resource was updated.
|
773
|
+
"""
|
774
|
+
return pulumi.get(self, "time_updated")
|
775
|
+
|