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,616 @@
|
|
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__ = ['SchedulingPolicyArgs', 'SchedulingPolicy']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class SchedulingPolicyArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
cadence: pulumi.Input[str],
|
25
|
+
compartment_id: pulumi.Input[str],
|
26
|
+
display_name: pulumi.Input[str],
|
27
|
+
cadence_start_month: Optional[pulumi.Input['SchedulingPolicyCadenceStartMonthArgs']] = None,
|
28
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
29
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None):
|
30
|
+
"""
|
31
|
+
The set of arguments for constructing a SchedulingPolicy resource.
|
32
|
+
:param pulumi.Input[str] cadence: (Updatable) The cadence period.
|
33
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
34
|
+
:param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the Scheduling Policy. The name does not need to be unique.
|
35
|
+
:param pulumi.Input['SchedulingPolicyCadenceStartMonthArgs'] cadence_start_month: (Updatable) Start of the month to be followed during the cadence period.
|
36
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
|
37
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
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
|
+
"""
|
43
|
+
pulumi.set(__self__, "cadence", cadence)
|
44
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
45
|
+
pulumi.set(__self__, "display_name", display_name)
|
46
|
+
if cadence_start_month is not None:
|
47
|
+
pulumi.set(__self__, "cadence_start_month", cadence_start_month)
|
48
|
+
if defined_tags is not None:
|
49
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
50
|
+
if freeform_tags is not None:
|
51
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter
|
55
|
+
def cadence(self) -> pulumi.Input[str]:
|
56
|
+
"""
|
57
|
+
(Updatable) The cadence period.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "cadence")
|
60
|
+
|
61
|
+
@cadence.setter
|
62
|
+
def cadence(self, value: pulumi.Input[str]):
|
63
|
+
pulumi.set(self, "cadence", value)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="compartmentId")
|
67
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
68
|
+
"""
|
69
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "compartment_id")
|
72
|
+
|
73
|
+
@compartment_id.setter
|
74
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
75
|
+
pulumi.set(self, "compartment_id", value)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter(name="displayName")
|
79
|
+
def display_name(self) -> pulumi.Input[str]:
|
80
|
+
"""
|
81
|
+
(Updatable) The user-friendly name for the Scheduling Policy. The name does not need to be unique.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "display_name")
|
84
|
+
|
85
|
+
@display_name.setter
|
86
|
+
def display_name(self, value: pulumi.Input[str]):
|
87
|
+
pulumi.set(self, "display_name", value)
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter(name="cadenceStartMonth")
|
91
|
+
def cadence_start_month(self) -> Optional[pulumi.Input['SchedulingPolicyCadenceStartMonthArgs']]:
|
92
|
+
"""
|
93
|
+
(Updatable) Start of the month to be followed during the cadence period.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "cadence_start_month")
|
96
|
+
|
97
|
+
@cadence_start_month.setter
|
98
|
+
def cadence_start_month(self, value: Optional[pulumi.Input['SchedulingPolicyCadenceStartMonthArgs']]):
|
99
|
+
pulumi.set(self, "cadence_start_month", value)
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="definedTags")
|
103
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
104
|
+
"""
|
105
|
+
(Updatable) 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).
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "defined_tags")
|
108
|
+
|
109
|
+
@defined_tags.setter
|
110
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
111
|
+
pulumi.set(self, "defined_tags", value)
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="freeformTags")
|
115
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
116
|
+
"""
|
117
|
+
(Updatable) 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"}`
|
118
|
+
|
119
|
+
|
120
|
+
** IMPORTANT **
|
121
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "freeform_tags")
|
124
|
+
|
125
|
+
@freeform_tags.setter
|
126
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
127
|
+
pulumi.set(self, "freeform_tags", value)
|
128
|
+
|
129
|
+
|
130
|
+
@pulumi.input_type
|
131
|
+
class _SchedulingPolicyState:
|
132
|
+
def __init__(__self__, *,
|
133
|
+
cadence: Optional[pulumi.Input[str]] = None,
|
134
|
+
cadence_start_month: Optional[pulumi.Input['SchedulingPolicyCadenceStartMonthArgs']] = None,
|
135
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
136
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
137
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
138
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
139
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
140
|
+
state: Optional[pulumi.Input[str]] = None,
|
141
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
142
|
+
time_next_window_starts: Optional[pulumi.Input[str]] = None,
|
143
|
+
time_updated: Optional[pulumi.Input[str]] = None):
|
144
|
+
"""
|
145
|
+
Input properties used for looking up and filtering SchedulingPolicy resources.
|
146
|
+
:param pulumi.Input[str] cadence: (Updatable) The cadence period.
|
147
|
+
:param pulumi.Input['SchedulingPolicyCadenceStartMonthArgs'] cadence_start_month: (Updatable) Start of the month to be followed during the cadence period.
|
148
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
149
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
|
150
|
+
:param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the Scheduling Policy. The name does not need to be unique.
|
151
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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
|
+
|
154
|
+
** IMPORTANT **
|
155
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
156
|
+
:param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state.
|
157
|
+
:param pulumi.Input[str] state: The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
|
158
|
+
:param pulumi.Input[str] time_created: The date and time the Scheduling Policy was created.
|
159
|
+
:param pulumi.Input[str] time_next_window_starts: The date and time of the next scheduling window associated with the schedulingPolicy is planned to start.
|
160
|
+
:param pulumi.Input[str] time_updated: The last date and time that the Scheduling Policy was updated.
|
161
|
+
"""
|
162
|
+
if cadence is not None:
|
163
|
+
pulumi.set(__self__, "cadence", cadence)
|
164
|
+
if cadence_start_month is not None:
|
165
|
+
pulumi.set(__self__, "cadence_start_month", cadence_start_month)
|
166
|
+
if compartment_id is not None:
|
167
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
168
|
+
if defined_tags is not None:
|
169
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
170
|
+
if display_name is not None:
|
171
|
+
pulumi.set(__self__, "display_name", display_name)
|
172
|
+
if freeform_tags is not None:
|
173
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
174
|
+
if lifecycle_details is not None:
|
175
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
176
|
+
if state is not None:
|
177
|
+
pulumi.set(__self__, "state", state)
|
178
|
+
if time_created is not None:
|
179
|
+
pulumi.set(__self__, "time_created", time_created)
|
180
|
+
if time_next_window_starts is not None:
|
181
|
+
pulumi.set(__self__, "time_next_window_starts", time_next_window_starts)
|
182
|
+
if time_updated is not None:
|
183
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
184
|
+
|
185
|
+
@property
|
186
|
+
@pulumi.getter
|
187
|
+
def cadence(self) -> Optional[pulumi.Input[str]]:
|
188
|
+
"""
|
189
|
+
(Updatable) The cadence period.
|
190
|
+
"""
|
191
|
+
return pulumi.get(self, "cadence")
|
192
|
+
|
193
|
+
@cadence.setter
|
194
|
+
def cadence(self, value: Optional[pulumi.Input[str]]):
|
195
|
+
pulumi.set(self, "cadence", value)
|
196
|
+
|
197
|
+
@property
|
198
|
+
@pulumi.getter(name="cadenceStartMonth")
|
199
|
+
def cadence_start_month(self) -> Optional[pulumi.Input['SchedulingPolicyCadenceStartMonthArgs']]:
|
200
|
+
"""
|
201
|
+
(Updatable) Start of the month to be followed during the cadence period.
|
202
|
+
"""
|
203
|
+
return pulumi.get(self, "cadence_start_month")
|
204
|
+
|
205
|
+
@cadence_start_month.setter
|
206
|
+
def cadence_start_month(self, value: Optional[pulumi.Input['SchedulingPolicyCadenceStartMonthArgs']]):
|
207
|
+
pulumi.set(self, "cadence_start_month", value)
|
208
|
+
|
209
|
+
@property
|
210
|
+
@pulumi.getter(name="compartmentId")
|
211
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
212
|
+
"""
|
213
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
214
|
+
"""
|
215
|
+
return pulumi.get(self, "compartment_id")
|
216
|
+
|
217
|
+
@compartment_id.setter
|
218
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
219
|
+
pulumi.set(self, "compartment_id", value)
|
220
|
+
|
221
|
+
@property
|
222
|
+
@pulumi.getter(name="definedTags")
|
223
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
224
|
+
"""
|
225
|
+
(Updatable) 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).
|
226
|
+
"""
|
227
|
+
return pulumi.get(self, "defined_tags")
|
228
|
+
|
229
|
+
@defined_tags.setter
|
230
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
231
|
+
pulumi.set(self, "defined_tags", value)
|
232
|
+
|
233
|
+
@property
|
234
|
+
@pulumi.getter(name="displayName")
|
235
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
236
|
+
"""
|
237
|
+
(Updatable) The user-friendly name for the Scheduling Policy. The name does not need to be unique.
|
238
|
+
"""
|
239
|
+
return pulumi.get(self, "display_name")
|
240
|
+
|
241
|
+
@display_name.setter
|
242
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
243
|
+
pulumi.set(self, "display_name", value)
|
244
|
+
|
245
|
+
@property
|
246
|
+
@pulumi.getter(name="freeformTags")
|
247
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
248
|
+
"""
|
249
|
+
(Updatable) 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"}`
|
250
|
+
|
251
|
+
|
252
|
+
** IMPORTANT **
|
253
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
254
|
+
"""
|
255
|
+
return pulumi.get(self, "freeform_tags")
|
256
|
+
|
257
|
+
@freeform_tags.setter
|
258
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
259
|
+
pulumi.set(self, "freeform_tags", value)
|
260
|
+
|
261
|
+
@property
|
262
|
+
@pulumi.getter(name="lifecycleDetails")
|
263
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
|
264
|
+
"""
|
265
|
+
Additional information about the current lifecycle state.
|
266
|
+
"""
|
267
|
+
return pulumi.get(self, "lifecycle_details")
|
268
|
+
|
269
|
+
@lifecycle_details.setter
|
270
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
|
271
|
+
pulumi.set(self, "lifecycle_details", value)
|
272
|
+
|
273
|
+
@property
|
274
|
+
@pulumi.getter
|
275
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
276
|
+
"""
|
277
|
+
The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
|
278
|
+
"""
|
279
|
+
return pulumi.get(self, "state")
|
280
|
+
|
281
|
+
@state.setter
|
282
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
283
|
+
pulumi.set(self, "state", value)
|
284
|
+
|
285
|
+
@property
|
286
|
+
@pulumi.getter(name="timeCreated")
|
287
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
288
|
+
"""
|
289
|
+
The date and time the Scheduling Policy was created.
|
290
|
+
"""
|
291
|
+
return pulumi.get(self, "time_created")
|
292
|
+
|
293
|
+
@time_created.setter
|
294
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
295
|
+
pulumi.set(self, "time_created", value)
|
296
|
+
|
297
|
+
@property
|
298
|
+
@pulumi.getter(name="timeNextWindowStarts")
|
299
|
+
def time_next_window_starts(self) -> Optional[pulumi.Input[str]]:
|
300
|
+
"""
|
301
|
+
The date and time of the next scheduling window associated with the schedulingPolicy is planned to start.
|
302
|
+
"""
|
303
|
+
return pulumi.get(self, "time_next_window_starts")
|
304
|
+
|
305
|
+
@time_next_window_starts.setter
|
306
|
+
def time_next_window_starts(self, value: Optional[pulumi.Input[str]]):
|
307
|
+
pulumi.set(self, "time_next_window_starts", value)
|
308
|
+
|
309
|
+
@property
|
310
|
+
@pulumi.getter(name="timeUpdated")
|
311
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
312
|
+
"""
|
313
|
+
The last date and time that the Scheduling Policy was updated.
|
314
|
+
"""
|
315
|
+
return pulumi.get(self, "time_updated")
|
316
|
+
|
317
|
+
@time_updated.setter
|
318
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
319
|
+
pulumi.set(self, "time_updated", value)
|
320
|
+
|
321
|
+
|
322
|
+
class SchedulingPolicy(pulumi.CustomResource):
|
323
|
+
@overload
|
324
|
+
def __init__(__self__,
|
325
|
+
resource_name: str,
|
326
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
327
|
+
cadence: Optional[pulumi.Input[str]] = None,
|
328
|
+
cadence_start_month: Optional[pulumi.Input[Union['SchedulingPolicyCadenceStartMonthArgs', 'SchedulingPolicyCadenceStartMonthArgsDict']]] = None,
|
329
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
330
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
331
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
332
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
333
|
+
__props__=None):
|
334
|
+
"""
|
335
|
+
This resource provides the Scheduling Policy resource in Oracle Cloud Infrastructure Database service.
|
336
|
+
|
337
|
+
Creates a Scheduling Policy resource.
|
338
|
+
|
339
|
+
## Example Usage
|
340
|
+
|
341
|
+
```python
|
342
|
+
import pulumi
|
343
|
+
import pulumi_oci as oci
|
344
|
+
|
345
|
+
test_scheduling_policy = oci.database.SchedulingPolicy("test_scheduling_policy",
|
346
|
+
cadence=scheduling_policy_cadence,
|
347
|
+
compartment_id=compartment_id,
|
348
|
+
display_name=scheduling_policy_display_name,
|
349
|
+
cadence_start_month={
|
350
|
+
"name": scheduling_policy_cadence_start_month_name,
|
351
|
+
},
|
352
|
+
defined_tags=scheduling_policy_defined_tags,
|
353
|
+
freeform_tags={
|
354
|
+
"Department": "Finance",
|
355
|
+
})
|
356
|
+
```
|
357
|
+
|
358
|
+
## Import
|
359
|
+
|
360
|
+
SchedulingPolicies can be imported using the `id`, e.g.
|
361
|
+
|
362
|
+
```sh
|
363
|
+
$ pulumi import oci:Database/schedulingPolicy:SchedulingPolicy test_scheduling_policy "id"
|
364
|
+
```
|
365
|
+
|
366
|
+
:param str resource_name: The name of the resource.
|
367
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
368
|
+
:param pulumi.Input[str] cadence: (Updatable) The cadence period.
|
369
|
+
:param pulumi.Input[Union['SchedulingPolicyCadenceStartMonthArgs', 'SchedulingPolicyCadenceStartMonthArgsDict']] cadence_start_month: (Updatable) Start of the month to be followed during the cadence period.
|
370
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
371
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
|
372
|
+
:param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the Scheduling Policy. The name does not need to be unique.
|
373
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
374
|
+
|
375
|
+
|
376
|
+
** IMPORTANT **
|
377
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
378
|
+
"""
|
379
|
+
...
|
380
|
+
@overload
|
381
|
+
def __init__(__self__,
|
382
|
+
resource_name: str,
|
383
|
+
args: SchedulingPolicyArgs,
|
384
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
385
|
+
"""
|
386
|
+
This resource provides the Scheduling Policy resource in Oracle Cloud Infrastructure Database service.
|
387
|
+
|
388
|
+
Creates a Scheduling Policy resource.
|
389
|
+
|
390
|
+
## Example Usage
|
391
|
+
|
392
|
+
```python
|
393
|
+
import pulumi
|
394
|
+
import pulumi_oci as oci
|
395
|
+
|
396
|
+
test_scheduling_policy = oci.database.SchedulingPolicy("test_scheduling_policy",
|
397
|
+
cadence=scheduling_policy_cadence,
|
398
|
+
compartment_id=compartment_id,
|
399
|
+
display_name=scheduling_policy_display_name,
|
400
|
+
cadence_start_month={
|
401
|
+
"name": scheduling_policy_cadence_start_month_name,
|
402
|
+
},
|
403
|
+
defined_tags=scheduling_policy_defined_tags,
|
404
|
+
freeform_tags={
|
405
|
+
"Department": "Finance",
|
406
|
+
})
|
407
|
+
```
|
408
|
+
|
409
|
+
## Import
|
410
|
+
|
411
|
+
SchedulingPolicies can be imported using the `id`, e.g.
|
412
|
+
|
413
|
+
```sh
|
414
|
+
$ pulumi import oci:Database/schedulingPolicy:SchedulingPolicy test_scheduling_policy "id"
|
415
|
+
```
|
416
|
+
|
417
|
+
:param str resource_name: The name of the resource.
|
418
|
+
:param SchedulingPolicyArgs args: The arguments to use to populate this resource's properties.
|
419
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
420
|
+
"""
|
421
|
+
...
|
422
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
423
|
+
resource_args, opts = _utilities.get_resource_args_opts(SchedulingPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
|
424
|
+
if resource_args is not None:
|
425
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
426
|
+
else:
|
427
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
428
|
+
|
429
|
+
def _internal_init(__self__,
|
430
|
+
resource_name: str,
|
431
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
432
|
+
cadence: Optional[pulumi.Input[str]] = None,
|
433
|
+
cadence_start_month: Optional[pulumi.Input[Union['SchedulingPolicyCadenceStartMonthArgs', 'SchedulingPolicyCadenceStartMonthArgsDict']]] = None,
|
434
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
435
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
436
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
437
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
438
|
+
__props__=None):
|
439
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
440
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
441
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
442
|
+
if opts.id is None:
|
443
|
+
if __props__ is not None:
|
444
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
445
|
+
__props__ = SchedulingPolicyArgs.__new__(SchedulingPolicyArgs)
|
446
|
+
|
447
|
+
if cadence is None and not opts.urn:
|
448
|
+
raise TypeError("Missing required property 'cadence'")
|
449
|
+
__props__.__dict__["cadence"] = cadence
|
450
|
+
__props__.__dict__["cadence_start_month"] = cadence_start_month
|
451
|
+
if compartment_id is None and not opts.urn:
|
452
|
+
raise TypeError("Missing required property 'compartment_id'")
|
453
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
454
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
455
|
+
if display_name is None and not opts.urn:
|
456
|
+
raise TypeError("Missing required property 'display_name'")
|
457
|
+
__props__.__dict__["display_name"] = display_name
|
458
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
459
|
+
__props__.__dict__["lifecycle_details"] = None
|
460
|
+
__props__.__dict__["state"] = None
|
461
|
+
__props__.__dict__["time_created"] = None
|
462
|
+
__props__.__dict__["time_next_window_starts"] = None
|
463
|
+
__props__.__dict__["time_updated"] = None
|
464
|
+
super(SchedulingPolicy, __self__).__init__(
|
465
|
+
'oci:Database/schedulingPolicy:SchedulingPolicy',
|
466
|
+
resource_name,
|
467
|
+
__props__,
|
468
|
+
opts)
|
469
|
+
|
470
|
+
@staticmethod
|
471
|
+
def get(resource_name: str,
|
472
|
+
id: pulumi.Input[str],
|
473
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
474
|
+
cadence: Optional[pulumi.Input[str]] = None,
|
475
|
+
cadence_start_month: Optional[pulumi.Input[Union['SchedulingPolicyCadenceStartMonthArgs', 'SchedulingPolicyCadenceStartMonthArgsDict']]] = None,
|
476
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
477
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
478
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
479
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
480
|
+
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
481
|
+
state: Optional[pulumi.Input[str]] = None,
|
482
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
483
|
+
time_next_window_starts: Optional[pulumi.Input[str]] = None,
|
484
|
+
time_updated: Optional[pulumi.Input[str]] = None) -> 'SchedulingPolicy':
|
485
|
+
"""
|
486
|
+
Get an existing SchedulingPolicy resource's state with the given name, id, and optional extra
|
487
|
+
properties used to qualify the lookup.
|
488
|
+
|
489
|
+
:param str resource_name: The unique name of the resulting resource.
|
490
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
491
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
492
|
+
:param pulumi.Input[str] cadence: (Updatable) The cadence period.
|
493
|
+
:param pulumi.Input[Union['SchedulingPolicyCadenceStartMonthArgs', 'SchedulingPolicyCadenceStartMonthArgsDict']] cadence_start_month: (Updatable) Start of the month to be followed during the cadence period.
|
494
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
495
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) 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).
|
496
|
+
:param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the Scheduling Policy. The name does not need to be unique.
|
497
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) 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"}`
|
498
|
+
|
499
|
+
|
500
|
+
** IMPORTANT **
|
501
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
502
|
+
:param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state.
|
503
|
+
:param pulumi.Input[str] state: The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
|
504
|
+
:param pulumi.Input[str] time_created: The date and time the Scheduling Policy was created.
|
505
|
+
:param pulumi.Input[str] time_next_window_starts: The date and time of the next scheduling window associated with the schedulingPolicy is planned to start.
|
506
|
+
:param pulumi.Input[str] time_updated: The last date and time that the Scheduling Policy was updated.
|
507
|
+
"""
|
508
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
509
|
+
|
510
|
+
__props__ = _SchedulingPolicyState.__new__(_SchedulingPolicyState)
|
511
|
+
|
512
|
+
__props__.__dict__["cadence"] = cadence
|
513
|
+
__props__.__dict__["cadence_start_month"] = cadence_start_month
|
514
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
515
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
516
|
+
__props__.__dict__["display_name"] = display_name
|
517
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
518
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
519
|
+
__props__.__dict__["state"] = state
|
520
|
+
__props__.__dict__["time_created"] = time_created
|
521
|
+
__props__.__dict__["time_next_window_starts"] = time_next_window_starts
|
522
|
+
__props__.__dict__["time_updated"] = time_updated
|
523
|
+
return SchedulingPolicy(resource_name, opts=opts, __props__=__props__)
|
524
|
+
|
525
|
+
@property
|
526
|
+
@pulumi.getter
|
527
|
+
def cadence(self) -> pulumi.Output[str]:
|
528
|
+
"""
|
529
|
+
(Updatable) The cadence period.
|
530
|
+
"""
|
531
|
+
return pulumi.get(self, "cadence")
|
532
|
+
|
533
|
+
@property
|
534
|
+
@pulumi.getter(name="cadenceStartMonth")
|
535
|
+
def cadence_start_month(self) -> pulumi.Output['outputs.SchedulingPolicyCadenceStartMonth']:
|
536
|
+
"""
|
537
|
+
(Updatable) Start of the month to be followed during the cadence period.
|
538
|
+
"""
|
539
|
+
return pulumi.get(self, "cadence_start_month")
|
540
|
+
|
541
|
+
@property
|
542
|
+
@pulumi.getter(name="compartmentId")
|
543
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
544
|
+
"""
|
545
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
546
|
+
"""
|
547
|
+
return pulumi.get(self, "compartment_id")
|
548
|
+
|
549
|
+
@property
|
550
|
+
@pulumi.getter(name="definedTags")
|
551
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
552
|
+
"""
|
553
|
+
(Updatable) 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).
|
554
|
+
"""
|
555
|
+
return pulumi.get(self, "defined_tags")
|
556
|
+
|
557
|
+
@property
|
558
|
+
@pulumi.getter(name="displayName")
|
559
|
+
def display_name(self) -> pulumi.Output[str]:
|
560
|
+
"""
|
561
|
+
(Updatable) The user-friendly name for the Scheduling Policy. The name does not need to be unique.
|
562
|
+
"""
|
563
|
+
return pulumi.get(self, "display_name")
|
564
|
+
|
565
|
+
@property
|
566
|
+
@pulumi.getter(name="freeformTags")
|
567
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
|
568
|
+
"""
|
569
|
+
(Updatable) 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"}`
|
570
|
+
|
571
|
+
|
572
|
+
** IMPORTANT **
|
573
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
574
|
+
"""
|
575
|
+
return pulumi.get(self, "freeform_tags")
|
576
|
+
|
577
|
+
@property
|
578
|
+
@pulumi.getter(name="lifecycleDetails")
|
579
|
+
def lifecycle_details(self) -> pulumi.Output[str]:
|
580
|
+
"""
|
581
|
+
Additional information about the current lifecycle state.
|
582
|
+
"""
|
583
|
+
return pulumi.get(self, "lifecycle_details")
|
584
|
+
|
585
|
+
@property
|
586
|
+
@pulumi.getter
|
587
|
+
def state(self) -> pulumi.Output[str]:
|
588
|
+
"""
|
589
|
+
The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
|
590
|
+
"""
|
591
|
+
return pulumi.get(self, "state")
|
592
|
+
|
593
|
+
@property
|
594
|
+
@pulumi.getter(name="timeCreated")
|
595
|
+
def time_created(self) -> pulumi.Output[str]:
|
596
|
+
"""
|
597
|
+
The date and time the Scheduling Policy was created.
|
598
|
+
"""
|
599
|
+
return pulumi.get(self, "time_created")
|
600
|
+
|
601
|
+
@property
|
602
|
+
@pulumi.getter(name="timeNextWindowStarts")
|
603
|
+
def time_next_window_starts(self) -> pulumi.Output[str]:
|
604
|
+
"""
|
605
|
+
The date and time of the next scheduling window associated with the schedulingPolicy is planned to start.
|
606
|
+
"""
|
607
|
+
return pulumi.get(self, "time_next_window_starts")
|
608
|
+
|
609
|
+
@property
|
610
|
+
@pulumi.getter(name="timeUpdated")
|
611
|
+
def time_updated(self) -> pulumi.Output[str]:
|
612
|
+
"""
|
613
|
+
The last date and time that the Scheduling Policy was updated.
|
614
|
+
"""
|
615
|
+
return pulumi.get(self, "time_updated")
|
616
|
+
|