pulumi-oci 1.34.0__py3-none-any.whl → 1.34.0a1714112449__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.
Files changed (74) hide show
  1. pulumi_oci/__init__.py +0 -40
  2. pulumi_oci/config/__init__.pyi +2 -2
  3. pulumi_oci/config/vars.py +2 -2
  4. pulumi_oci/database/db_home.py +0 -47
  5. pulumi_oci/database/get_db_home.py +1 -14
  6. pulumi_oci/database/outputs.py +0 -11
  7. pulumi_oci/databasemanagement/__init__.py +0 -5
  8. pulumi_oci/databasemanagement/_inputs.py +1 -1206
  9. pulumi_oci/databasemanagement/db_management_private_endpoint.py +0 -28
  10. pulumi_oci/databasemanagement/external_asm.py +0 -28
  11. pulumi_oci/databasemanagement/external_asm_instance.py +0 -28
  12. pulumi_oci/databasemanagement/external_cluster.py +0 -28
  13. pulumi_oci/databasemanagement/external_cluster_instance.py +0 -28
  14. pulumi_oci/databasemanagement/external_db_home.py +0 -28
  15. pulumi_oci/databasemanagement/external_db_node.py +0 -28
  16. pulumi_oci/databasemanagement/external_db_system.py +0 -28
  17. pulumi_oci/databasemanagement/external_db_system_connector.py +0 -28
  18. pulumi_oci/databasemanagement/external_db_system_discovery.py +0 -28
  19. pulumi_oci/databasemanagement/external_exadata_infrastructure.py +0 -28
  20. pulumi_oci/databasemanagement/external_exadata_storage_connector.py +0 -28
  21. pulumi_oci/databasemanagement/external_exadata_storage_grid.py +0 -28
  22. pulumi_oci/databasemanagement/external_exadata_storage_server.py +0 -28
  23. pulumi_oci/databasemanagement/external_listener.py +0 -28
  24. pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +1 -14
  25. pulumi_oci/databasemanagement/get_external_asm.py +1 -14
  26. pulumi_oci/databasemanagement/get_external_asm_instance.py +1 -14
  27. pulumi_oci/databasemanagement/get_external_cluster.py +1 -14
  28. pulumi_oci/databasemanagement/get_external_cluster_instance.py +1 -14
  29. pulumi_oci/databasemanagement/get_external_databases.py +1 -18
  30. pulumi_oci/databasemanagement/get_external_db_home.py +1 -14
  31. pulumi_oci/databasemanagement/get_external_db_node.py +1 -14
  32. pulumi_oci/databasemanagement/get_external_db_system.py +1 -14
  33. pulumi_oci/databasemanagement/get_external_db_system_connector.py +1 -14
  34. pulumi_oci/databasemanagement/get_external_db_system_discovery.py +1 -14
  35. pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +1 -14
  36. pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +1 -14
  37. pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +1 -14
  38. pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +1 -14
  39. pulumi_oci/databasemanagement/get_external_listener.py +1 -14
  40. pulumi_oci/databasemanagement/get_managed_database_group.py +1 -14
  41. pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
  42. pulumi_oci/databasemanagement/get_named_credential.py +1 -14
  43. pulumi_oci/databasemanagement/managed_database.py +0 -28
  44. pulumi_oci/databasemanagement/managed_database_group.py +0 -28
  45. pulumi_oci/databasemanagement/named_credential.py +0 -28
  46. pulumi_oci/databasemanagement/outputs.py +217 -1726
  47. pulumi_oci/datasafe/__init__.py +0 -3
  48. pulumi_oci/datasafe/_inputs.py +0 -80
  49. pulumi_oci/datasafe/get_masking_policy.py +1 -11
  50. pulumi_oci/datasafe/masking_policy.py +28 -75
  51. pulumi_oci/datasafe/outputs.py +0 -287
  52. pulumi_oci/provider.py +8 -8
  53. pulumi_oci/recoverymod/_inputs.py +0 -16
  54. pulumi_oci/recoverymod/get_protected_database.py +5 -25
  55. pulumi_oci/recoverymod/get_protection_policies.py +7 -1
  56. pulumi_oci/recoverymod/get_protection_policy.py +8 -15
  57. pulumi_oci/recoverymod/get_recovery_service_subnet.py +9 -32
  58. pulumi_oci/recoverymod/get_recovery_service_subnets.py +21 -3
  59. pulumi_oci/recoverymod/outputs.py +24 -96
  60. pulumi_oci/recoverymod/protected_database.py +16 -95
  61. pulumi_oci/recoverymod/protection_policy.py +54 -121
  62. pulumi_oci/recoverymod/recovery_service_subnet.py +55 -143
  63. {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/METADATA +1 -1
  64. {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/RECORD +66 -74
  65. pulumi_oci/databasemanagement/database_dbm_features_management.py +0 -275
  66. pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +0 -275
  67. pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +0 -275
  68. pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +0 -275
  69. pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +0 -275
  70. pulumi_oci/datasafe/get_masking_policy_health_report.py +0 -235
  71. pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +0 -153
  72. pulumi_oci/datasafe/get_masking_policy_health_reports.py +0 -267
  73. {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/WHEEL +0 -0
  74. {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/top_level.txt +0 -0
@@ -18,22 +18,14 @@ class ProtectionPolicyArgs:
18
18
  compartment_id: pulumi.Input[str],
19
19
  display_name: pulumi.Input[str],
20
20
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
21
- freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
22
- policy_locked_date_time: Optional[pulumi.Input[str]] = None):
21
+ freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None):
23
22
  """
24
23
  The set of arguments for constructing a ProtectionPolicy resource.
25
24
  :param pulumi.Input[int] backup_retention_period_in_days: (Updatable) The maximum number of days to retain backups for a protected database.
26
25
  :param pulumi.Input[str] compartment_id: (Updatable) Compartment Identifier
27
26
  :param pulumi.Input[str] display_name: (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
28
27
  :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
29
- :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
30
- :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
31
- * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
32
- * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
33
- * For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.
34
- * During the 14-day delay period, you can either increase or decrease the retention period in the policy.
35
- * However, you are only allowed to increase the retention period on or after the retention lock date.
36
- * You cannot change the value of policyLockedDateTime if the retention lock is already in effect.
28
+ :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
37
29
 
38
30
 
39
31
  ** IMPORTANT **
@@ -46,8 +38,6 @@ class ProtectionPolicyArgs:
46
38
  pulumi.set(__self__, "defined_tags", defined_tags)
47
39
  if freeform_tags is not None:
48
40
  pulumi.set(__self__, "freeform_tags", freeform_tags)
49
- if policy_locked_date_time is not None:
50
- pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
51
41
 
52
42
  @property
53
43
  @pulumi.getter(name="backupRetentionPeriodInDays")
@@ -101,35 +91,17 @@ class ProtectionPolicyArgs:
101
91
  @pulumi.getter(name="freeformTags")
102
92
  def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
103
93
  """
104
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
105
- """
106
- return pulumi.get(self, "freeform_tags")
107
-
108
- @freeform_tags.setter
109
- def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
110
- pulumi.set(self, "freeform_tags", value)
111
-
112
- @property
113
- @pulumi.getter(name="policyLockedDateTime")
114
- def policy_locked_date_time(self) -> Optional[pulumi.Input[str]]:
115
- """
116
- (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
117
- * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
118
- * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
119
- * For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.
120
- * During the 14-day delay period, you can either increase or decrease the retention period in the policy.
121
- * However, you are only allowed to increase the retention period on or after the retention lock date.
122
- * You cannot change the value of policyLockedDateTime if the retention lock is already in effect.
94
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
123
95
 
124
96
 
125
97
  ** IMPORTANT **
126
98
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
127
99
  """
128
- return pulumi.get(self, "policy_locked_date_time")
100
+ return pulumi.get(self, "freeform_tags")
129
101
 
130
- @policy_locked_date_time.setter
131
- def policy_locked_date_time(self, value: Optional[pulumi.Input[str]]):
132
- pulumi.set(self, "policy_locked_date_time", value)
102
+ @freeform_tags.setter
103
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
104
+ pulumi.set(self, "freeform_tags", value)
133
105
 
134
106
 
135
107
  @pulumi.input_type
@@ -142,7 +114,6 @@ class _ProtectionPolicyState:
142
114
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
143
115
  is_predefined_policy: Optional[pulumi.Input[bool]] = None,
144
116
  lifecycle_details: Optional[pulumi.Input[str]] = None,
145
- policy_locked_date_time: Optional[pulumi.Input[str]] = None,
146
117
  state: Optional[pulumi.Input[str]] = None,
147
118
  system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
148
119
  time_created: Optional[pulumi.Input[str]] = None,
@@ -153,21 +124,20 @@ class _ProtectionPolicyState:
153
124
  :param pulumi.Input[str] compartment_id: (Updatable) Compartment Identifier
154
125
  :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
155
126
  :param pulumi.Input[str] display_name: (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
156
- :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
157
- :param pulumi.Input[bool] is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
158
- :param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
159
- :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
160
- * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
161
- * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
162
- * For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.
163
- * During the 14-day delay period, you can either increase or decrease the retention period in the policy.
164
- * However, you are only allowed to increase the retention period on or after the retention lock date.
165
- * You cannot change the value of policyLockedDateTime if the retention lock is already in effect.
127
+ :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
166
128
 
167
129
 
168
130
  ** IMPORTANT **
169
131
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
170
- :param pulumi.Input[str] state: The current state of the protection policy.
132
+ :param pulumi.Input[bool] is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
133
+ :param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
134
+ :param pulumi.Input[str] state: The current state of the protection policy. Allowed values are:
135
+ * CREATING
136
+ * UPDATING
137
+ * ACTIVE
138
+ * DELETING
139
+ * DELETED
140
+ * FAILED
171
141
  :param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
172
142
  :param pulumi.Input[str] time_created: An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
173
143
  :param pulumi.Input[str] time_updated: An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
@@ -186,8 +156,6 @@ class _ProtectionPolicyState:
186
156
  pulumi.set(__self__, "is_predefined_policy", is_predefined_policy)
187
157
  if lifecycle_details is not None:
188
158
  pulumi.set(__self__, "lifecycle_details", lifecycle_details)
189
- if policy_locked_date_time is not None:
190
- pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
191
159
  if state is not None:
192
160
  pulumi.set(__self__, "state", state)
193
161
  if system_tags is not None:
@@ -249,7 +217,11 @@ class _ProtectionPolicyState:
249
217
  @pulumi.getter(name="freeformTags")
250
218
  def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
251
219
  """
252
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
220
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
221
+
222
+
223
+ ** IMPORTANT **
224
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
253
225
  """
254
226
  return pulumi.get(self, "freeform_tags")
255
227
 
@@ -281,33 +253,17 @@ class _ProtectionPolicyState:
281
253
  def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
282
254
  pulumi.set(self, "lifecycle_details", value)
283
255
 
284
- @property
285
- @pulumi.getter(name="policyLockedDateTime")
286
- def policy_locked_date_time(self) -> Optional[pulumi.Input[str]]:
287
- """
288
- (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
289
- * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
290
- * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
291
- * For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.
292
- * During the 14-day delay period, you can either increase or decrease the retention period in the policy.
293
- * However, you are only allowed to increase the retention period on or after the retention lock date.
294
- * You cannot change the value of policyLockedDateTime if the retention lock is already in effect.
295
-
296
-
297
- ** IMPORTANT **
298
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
299
- """
300
- return pulumi.get(self, "policy_locked_date_time")
301
-
302
- @policy_locked_date_time.setter
303
- def policy_locked_date_time(self, value: Optional[pulumi.Input[str]]):
304
- pulumi.set(self, "policy_locked_date_time", value)
305
-
306
256
  @property
307
257
  @pulumi.getter
308
258
  def state(self) -> Optional[pulumi.Input[str]]:
309
259
  """
310
- The current state of the protection policy.
260
+ The current state of the protection policy. Allowed values are:
261
+ * CREATING
262
+ * UPDATING
263
+ * ACTIVE
264
+ * DELETING
265
+ * DELETED
266
+ * FAILED
311
267
  """
312
268
  return pulumi.get(self, "state")
313
269
 
@@ -362,7 +318,6 @@ class ProtectionPolicy(pulumi.CustomResource):
362
318
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
363
319
  display_name: Optional[pulumi.Input[str]] = None,
364
320
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
365
- policy_locked_date_time: Optional[pulumi.Input[str]] = None,
366
321
  __props__=None):
367
322
  """
368
323
  This resource provides the Protection Policy resource in Oracle Cloud Infrastructure Recovery service.
@@ -384,8 +339,7 @@ class ProtectionPolicy(pulumi.CustomResource):
384
339
  },
385
340
  freeform_tags={
386
341
  "bar-key": "value",
387
- },
388
- policy_locked_date_time=protection_policy_policy_locked_date_time)
342
+ })
389
343
  ```
390
344
 
391
345
  ## Import
@@ -402,14 +356,7 @@ class ProtectionPolicy(pulumi.CustomResource):
402
356
  :param pulumi.Input[str] compartment_id: (Updatable) Compartment Identifier
403
357
  :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
404
358
  :param pulumi.Input[str] display_name: (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
405
- :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
406
- :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
407
- * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
408
- * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
409
- * For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.
410
- * During the 14-day delay period, you can either increase or decrease the retention period in the policy.
411
- * However, you are only allowed to increase the retention period on or after the retention lock date.
412
- * You cannot change the value of policyLockedDateTime if the retention lock is already in effect.
359
+ :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
413
360
 
414
361
 
415
362
  ** IMPORTANT **
@@ -441,8 +388,7 @@ class ProtectionPolicy(pulumi.CustomResource):
441
388
  },
442
389
  freeform_tags={
443
390
  "bar-key": "value",
444
- },
445
- policy_locked_date_time=protection_policy_policy_locked_date_time)
391
+ })
446
392
  ```
447
393
 
448
394
  ## Import
@@ -473,7 +419,6 @@ class ProtectionPolicy(pulumi.CustomResource):
473
419
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
474
420
  display_name: Optional[pulumi.Input[str]] = None,
475
421
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
476
- policy_locked_date_time: Optional[pulumi.Input[str]] = None,
477
422
  __props__=None):
478
423
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
479
424
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -494,7 +439,6 @@ class ProtectionPolicy(pulumi.CustomResource):
494
439
  raise TypeError("Missing required property 'display_name'")
495
440
  __props__.__dict__["display_name"] = display_name
496
441
  __props__.__dict__["freeform_tags"] = freeform_tags
497
- __props__.__dict__["policy_locked_date_time"] = policy_locked_date_time
498
442
  __props__.__dict__["is_predefined_policy"] = None
499
443
  __props__.__dict__["lifecycle_details"] = None
500
444
  __props__.__dict__["state"] = None
@@ -518,7 +462,6 @@ class ProtectionPolicy(pulumi.CustomResource):
518
462
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
519
463
  is_predefined_policy: Optional[pulumi.Input[bool]] = None,
520
464
  lifecycle_details: Optional[pulumi.Input[str]] = None,
521
- policy_locked_date_time: Optional[pulumi.Input[str]] = None,
522
465
  state: Optional[pulumi.Input[str]] = None,
523
466
  system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
524
467
  time_created: Optional[pulumi.Input[str]] = None,
@@ -534,21 +477,20 @@ class ProtectionPolicy(pulumi.CustomResource):
534
477
  :param pulumi.Input[str] compartment_id: (Updatable) Compartment Identifier
535
478
  :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
536
479
  :param pulumi.Input[str] display_name: (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
537
- :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
538
- :param pulumi.Input[bool] is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
539
- :param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
540
- :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
541
- * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
542
- * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
543
- * For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.
544
- * During the 14-day delay period, you can either increase or decrease the retention period in the policy.
545
- * However, you are only allowed to increase the retention period on or after the retention lock date.
546
- * You cannot change the value of policyLockedDateTime if the retention lock is already in effect.
480
+ :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
547
481
 
548
482
 
549
483
  ** IMPORTANT **
550
484
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
551
- :param pulumi.Input[str] state: The current state of the protection policy.
485
+ :param pulumi.Input[bool] is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
486
+ :param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
487
+ :param pulumi.Input[str] state: The current state of the protection policy. Allowed values are:
488
+ * CREATING
489
+ * UPDATING
490
+ * ACTIVE
491
+ * DELETING
492
+ * DELETED
493
+ * FAILED
552
494
  :param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
553
495
  :param pulumi.Input[str] time_created: An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
554
496
  :param pulumi.Input[str] time_updated: An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
@@ -564,7 +506,6 @@ class ProtectionPolicy(pulumi.CustomResource):
564
506
  __props__.__dict__["freeform_tags"] = freeform_tags
565
507
  __props__.__dict__["is_predefined_policy"] = is_predefined_policy
566
508
  __props__.__dict__["lifecycle_details"] = lifecycle_details
567
- __props__.__dict__["policy_locked_date_time"] = policy_locked_date_time
568
509
  __props__.__dict__["state"] = state
569
510
  __props__.__dict__["system_tags"] = system_tags
570
511
  __props__.__dict__["time_created"] = time_created
@@ -607,7 +548,11 @@ class ProtectionPolicy(pulumi.CustomResource):
607
548
  @pulumi.getter(name="freeformTags")
608
549
  def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
609
550
  """
610
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
551
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
552
+
553
+
554
+ ** IMPORTANT **
555
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
611
556
  """
612
557
  return pulumi.get(self, "freeform_tags")
613
558
 
@@ -627,29 +572,17 @@ class ProtectionPolicy(pulumi.CustomResource):
627
572
  """
628
573
  return pulumi.get(self, "lifecycle_details")
629
574
 
630
- @property
631
- @pulumi.getter(name="policyLockedDateTime")
632
- def policy_locked_date_time(self) -> pulumi.Output[str]:
633
- """
634
- (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.
635
- * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.
636
- * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.
637
- * For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.
638
- * During the 14-day delay period, you can either increase or decrease the retention period in the policy.
639
- * However, you are only allowed to increase the retention period on or after the retention lock date.
640
- * You cannot change the value of policyLockedDateTime if the retention lock is already in effect.
641
-
642
-
643
- ** IMPORTANT **
644
- Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
645
- """
646
- return pulumi.get(self, "policy_locked_date_time")
647
-
648
575
  @property
649
576
  @pulumi.getter
650
577
  def state(self) -> pulumi.Output[str]:
651
578
  """
652
- The current state of the protection policy.
579
+ The current state of the protection policy. Allowed values are:
580
+ * CREATING
581
+ * UPDATING
582
+ * ACTIVE
583
+ * DELETING
584
+ * DELETED
585
+ * FAILED
653
586
  """
654
587
  return pulumi.get(self, "state")
655
588