pulumi-oci 1.34.0a1714544127__py3-none-any.whl → 1.34.0a1714766740__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 +40 -0
  2. pulumi_oci/config/__init__.pyi +2 -2
  3. pulumi_oci/config/vars.py +2 -2
  4. pulumi_oci/database/db_home.py +47 -0
  5. pulumi_oci/database/get_db_home.py +14 -1
  6. pulumi_oci/database/outputs.py +11 -0
  7. pulumi_oci/databasemanagement/__init__.py +5 -0
  8. pulumi_oci/databasemanagement/_inputs.py +1207 -2
  9. pulumi_oci/databasemanagement/database_dbm_features_management.py +275 -0
  10. pulumi_oci/databasemanagement/db_management_private_endpoint.py +28 -0
  11. pulumi_oci/databasemanagement/external_asm.py +28 -0
  12. pulumi_oci/databasemanagement/external_asm_instance.py +28 -0
  13. pulumi_oci/databasemanagement/external_cluster.py +28 -0
  14. pulumi_oci/databasemanagement/external_cluster_instance.py +28 -0
  15. pulumi_oci/databasemanagement/external_db_home.py +28 -0
  16. pulumi_oci/databasemanagement/external_db_node.py +28 -0
  17. pulumi_oci/databasemanagement/external_db_system.py +28 -0
  18. pulumi_oci/databasemanagement/external_db_system_connector.py +28 -0
  19. pulumi_oci/databasemanagement/external_db_system_discovery.py +28 -0
  20. pulumi_oci/databasemanagement/external_exadata_infrastructure.py +28 -0
  21. pulumi_oci/databasemanagement/external_exadata_storage_connector.py +28 -0
  22. pulumi_oci/databasemanagement/external_exadata_storage_grid.py +28 -0
  23. pulumi_oci/databasemanagement/external_exadata_storage_server.py +28 -0
  24. pulumi_oci/databasemanagement/external_listener.py +28 -0
  25. pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +275 -0
  26. pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +275 -0
  27. pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +275 -0
  28. pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
  29. pulumi_oci/databasemanagement/get_external_asm.py +14 -1
  30. pulumi_oci/databasemanagement/get_external_asm_instance.py +14 -1
  31. pulumi_oci/databasemanagement/get_external_cluster.py +14 -1
  32. pulumi_oci/databasemanagement/get_external_cluster_instance.py +14 -1
  33. pulumi_oci/databasemanagement/get_external_databases.py +18 -1
  34. pulumi_oci/databasemanagement/get_external_db_home.py +14 -1
  35. pulumi_oci/databasemanagement/get_external_db_node.py +14 -1
  36. pulumi_oci/databasemanagement/get_external_db_system.py +14 -1
  37. pulumi_oci/databasemanagement/get_external_db_system_connector.py +14 -1
  38. pulumi_oci/databasemanagement/get_external_db_system_discovery.py +14 -1
  39. pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +14 -1
  40. pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +14 -1
  41. pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +14 -1
  42. pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +14 -1
  43. pulumi_oci/databasemanagement/get_external_listener.py +14 -1
  44. pulumi_oci/databasemanagement/get_managed_database_group.py +14 -1
  45. pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
  46. pulumi_oci/databasemanagement/get_named_credential.py +14 -1
  47. pulumi_oci/databasemanagement/managed_database.py +28 -0
  48. pulumi_oci/databasemanagement/managed_database_group.py +28 -0
  49. pulumi_oci/databasemanagement/named_credential.py +28 -0
  50. pulumi_oci/databasemanagement/outputs.py +1723 -214
  51. pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +275 -0
  52. pulumi_oci/datasafe/__init__.py +3 -0
  53. pulumi_oci/datasafe/_inputs.py +80 -0
  54. pulumi_oci/datasafe/get_masking_policy.py +11 -1
  55. pulumi_oci/datasafe/get_masking_policy_health_report.py +235 -0
  56. pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +153 -0
  57. pulumi_oci/datasafe/get_masking_policy_health_reports.py +267 -0
  58. pulumi_oci/datasafe/masking_policy.py +75 -28
  59. pulumi_oci/datasafe/outputs.py +287 -0
  60. pulumi_oci/provider.py +8 -8
  61. pulumi_oci/recoverymod/_inputs.py +16 -0
  62. pulumi_oci/recoverymod/get_protected_database.py +25 -5
  63. pulumi_oci/recoverymod/get_protection_policies.py +1 -7
  64. pulumi_oci/recoverymod/get_protection_policy.py +15 -8
  65. pulumi_oci/recoverymod/get_recovery_service_subnet.py +32 -9
  66. pulumi_oci/recoverymod/get_recovery_service_subnets.py +3 -21
  67. pulumi_oci/recoverymod/outputs.py +96 -24
  68. pulumi_oci/recoverymod/protected_database.py +95 -16
  69. pulumi_oci/recoverymod/protection_policy.py +121 -54
  70. pulumi_oci/recoverymod/recovery_service_subnet.py +143 -55
  71. {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/METADATA +1 -1
  72. {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/RECORD +74 -66
  73. {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/WHEEL +0 -0
  74. {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,7 @@ class ProtectedDatabaseArgs:
25
25
  database_id: Optional[pulumi.Input[str]] = None,
26
26
  database_size: Optional[pulumi.Input[str]] = None,
27
27
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
28
+ deletion_schedule: Optional[pulumi.Input[str]] = None,
28
29
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
29
30
  is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None):
30
31
  """
@@ -38,6 +39,9 @@ class ProtectedDatabaseArgs:
38
39
  :param pulumi.Input[str] database_id: The OCID of the protected database.
39
40
  :param pulumi.Input[str] database_size: (Updatable) The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
40
41
  :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)
42
+ :param pulumi.Input[str] deletion_schedule: (Updatable) Defines a preferred schedule to delete a protected database after you terminate the source database.
43
+ * The default schedule is DELETE_AFTER_72_HOURS, so that the delete operation can occur 72 hours (3 days) after the source database is terminated.
44
+ * The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires.
41
45
  :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"}`
42
46
  :param pulumi.Input[bool] is_redo_logs_shipped: (Updatable) The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
43
47
  """
@@ -53,6 +57,8 @@ class ProtectedDatabaseArgs:
53
57
  pulumi.set(__self__, "database_size", database_size)
54
58
  if defined_tags is not None:
55
59
  pulumi.set(__self__, "defined_tags", defined_tags)
60
+ if deletion_schedule is not None:
61
+ pulumi.set(__self__, "deletion_schedule", deletion_schedule)
56
62
  if freeform_tags is not None:
57
63
  pulumi.set(__self__, "freeform_tags", freeform_tags)
58
64
  if is_redo_logs_shipped is not None:
@@ -166,6 +172,20 @@ class ProtectedDatabaseArgs:
166
172
  def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
167
173
  pulumi.set(self, "defined_tags", value)
168
174
 
175
+ @property
176
+ @pulumi.getter(name="deletionSchedule")
177
+ def deletion_schedule(self) -> Optional[pulumi.Input[str]]:
178
+ """
179
+ (Updatable) Defines a preferred schedule to delete a protected database after you terminate the source database.
180
+ * The default schedule is DELETE_AFTER_72_HOURS, so that the delete operation can occur 72 hours (3 days) after the source database is terminated.
181
+ * The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires.
182
+ """
183
+ return pulumi.get(self, "deletion_schedule")
184
+
185
+ @deletion_schedule.setter
186
+ def deletion_schedule(self, value: Optional[pulumi.Input[str]]):
187
+ pulumi.set(self, "deletion_schedule", value)
188
+
169
189
  @property
170
190
  @pulumi.getter(name="freeformTags")
171
191
  def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
@@ -199,6 +219,7 @@ class _ProtectedDatabaseState:
199
219
  database_size: Optional[pulumi.Input[str]] = None,
200
220
  db_unique_name: Optional[pulumi.Input[str]] = None,
201
221
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
222
+ deletion_schedule: Optional[pulumi.Input[str]] = None,
202
223
  display_name: Optional[pulumi.Input[str]] = None,
203
224
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
204
225
  health: Optional[pulumi.Input[str]] = None,
@@ -208,6 +229,7 @@ class _ProtectedDatabaseState:
208
229
  lifecycle_details: Optional[pulumi.Input[str]] = None,
209
230
  metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseMetricArgs']]]] = None,
210
231
  password: Optional[pulumi.Input[str]] = None,
232
+ policy_locked_date_time: Optional[pulumi.Input[str]] = None,
211
233
  protection_policy_id: Optional[pulumi.Input[str]] = None,
212
234
  recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]]] = None,
213
235
  state: Optional[pulumi.Input[str]] = None,
@@ -222,18 +244,19 @@ class _ProtectedDatabaseState:
222
244
  :param pulumi.Input[str] database_size: (Updatable) The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
223
245
  :param pulumi.Input[str] db_unique_name: The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
224
246
  :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)
247
+ :param pulumi.Input[str] deletion_schedule: (Updatable) Defines a preferred schedule to delete a protected database after you terminate the source database.
248
+ * The default schedule is DELETE_AFTER_72_HOURS, so that the delete operation can occur 72 hours (3 days) after the source database is terminated.
249
+ * The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires.
225
250
  :param pulumi.Input[str] display_name: (Updatable) The protected database name. You can change the displayName. Avoid entering confidential information.
226
251
  :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"}`
227
- :param pulumi.Input[str] health: Indicates the protection status of the database. Allowed values are:
228
- * HEALTHY
229
- * WARNING
230
- * ALERT
252
+ :param pulumi.Input[str] health: Indicates the protection status of the database.
231
253
  :param pulumi.Input[str] health_details: A message describing the current health of the protected database.
232
254
  :param pulumi.Input[bool] is_read_only_resource: Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.
233
255
  :param pulumi.Input[bool] is_redo_logs_shipped: (Updatable) The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
234
256
  :param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
235
257
  :param pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseMetricArgs']]] metrics: Backup performance and storage utilization metrics for the protected database.
236
258
  :param pulumi.Input[str] password: (Updatable) Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (https://docs.cloud.oracle.com/iaas/api/#) or hyphen (-). The password must not contain the username "admin", regardless of casing.
259
+ :param pulumi.Input[str] policy_locked_date_time: 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.
237
260
  :param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database.
238
261
  :param pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database.
239
262
  :param pulumi.Input[str] state: The current state of the Protected Database.
@@ -252,6 +275,8 @@ class _ProtectedDatabaseState:
252
275
  pulumi.set(__self__, "db_unique_name", db_unique_name)
253
276
  if defined_tags is not None:
254
277
  pulumi.set(__self__, "defined_tags", defined_tags)
278
+ if deletion_schedule is not None:
279
+ pulumi.set(__self__, "deletion_schedule", deletion_schedule)
255
280
  if display_name is not None:
256
281
  pulumi.set(__self__, "display_name", display_name)
257
282
  if freeform_tags is not None:
@@ -270,6 +295,8 @@ class _ProtectedDatabaseState:
270
295
  pulumi.set(__self__, "metrics", metrics)
271
296
  if password is not None:
272
297
  pulumi.set(__self__, "password", password)
298
+ if policy_locked_date_time is not None:
299
+ pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time)
273
300
  if protection_policy_id is not None:
274
301
  pulumi.set(__self__, "protection_policy_id", protection_policy_id)
275
302
  if recovery_service_subnets is not None:
@@ -345,6 +372,20 @@ class _ProtectedDatabaseState:
345
372
  def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
346
373
  pulumi.set(self, "defined_tags", value)
347
374
 
375
+ @property
376
+ @pulumi.getter(name="deletionSchedule")
377
+ def deletion_schedule(self) -> Optional[pulumi.Input[str]]:
378
+ """
379
+ (Updatable) Defines a preferred schedule to delete a protected database after you terminate the source database.
380
+ * The default schedule is DELETE_AFTER_72_HOURS, so that the delete operation can occur 72 hours (3 days) after the source database is terminated.
381
+ * The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires.
382
+ """
383
+ return pulumi.get(self, "deletion_schedule")
384
+
385
+ @deletion_schedule.setter
386
+ def deletion_schedule(self, value: Optional[pulumi.Input[str]]):
387
+ pulumi.set(self, "deletion_schedule", value)
388
+
348
389
  @property
349
390
  @pulumi.getter(name="displayName")
350
391
  def display_name(self) -> Optional[pulumi.Input[str]]:
@@ -373,10 +414,7 @@ class _ProtectedDatabaseState:
373
414
  @pulumi.getter
374
415
  def health(self) -> Optional[pulumi.Input[str]]:
375
416
  """
376
- Indicates the protection status of the database. Allowed values are:
377
- * HEALTHY
378
- * WARNING
379
- * ALERT
417
+ Indicates the protection status of the database.
380
418
  """
381
419
  return pulumi.get(self, "health")
382
420
 
@@ -456,6 +494,18 @@ class _ProtectedDatabaseState:
456
494
  def password(self, value: Optional[pulumi.Input[str]]):
457
495
  pulumi.set(self, "password", value)
458
496
 
497
+ @property
498
+ @pulumi.getter(name="policyLockedDateTime")
499
+ def policy_locked_date_time(self) -> Optional[pulumi.Input[str]]:
500
+ """
501
+ 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.
502
+ """
503
+ return pulumi.get(self, "policy_locked_date_time")
504
+
505
+ @policy_locked_date_time.setter
506
+ def policy_locked_date_time(self, value: Optional[pulumi.Input[str]]):
507
+ pulumi.set(self, "policy_locked_date_time", value)
508
+
459
509
  @property
460
510
  @pulumi.getter(name="protectionPolicyId")
461
511
  def protection_policy_id(self) -> Optional[pulumi.Input[str]]:
@@ -551,6 +601,7 @@ class ProtectedDatabase(pulumi.CustomResource):
551
601
  database_size: Optional[pulumi.Input[str]] = None,
552
602
  db_unique_name: Optional[pulumi.Input[str]] = None,
553
603
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
604
+ deletion_schedule: Optional[pulumi.Input[str]] = None,
554
605
  display_name: Optional[pulumi.Input[str]] = None,
555
606
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
556
607
  is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None,
@@ -583,6 +634,7 @@ class ProtectedDatabase(pulumi.CustomResource):
583
634
  defined_tags={
584
635
  "foo-namespace.bar-key": "value",
585
636
  },
637
+ deletion_schedule="DELETE_AFTER_72_HOURS",
586
638
  freeform_tags={
587
639
  "bar-key": "value",
588
640
  },
@@ -604,6 +656,9 @@ class ProtectedDatabase(pulumi.CustomResource):
604
656
  :param pulumi.Input[str] database_size: (Updatable) The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
605
657
  :param pulumi.Input[str] db_unique_name: The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
606
658
  :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)
659
+ :param pulumi.Input[str] deletion_schedule: (Updatable) Defines a preferred schedule to delete a protected database after you terminate the source database.
660
+ * The default schedule is DELETE_AFTER_72_HOURS, so that the delete operation can occur 72 hours (3 days) after the source database is terminated.
661
+ * The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires.
607
662
  :param pulumi.Input[str] display_name: (Updatable) The protected database name. You can change the displayName. Avoid entering confidential information.
608
663
  :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"}`
609
664
  :param pulumi.Input[bool] is_redo_logs_shipped: (Updatable) The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
@@ -642,6 +697,7 @@ class ProtectedDatabase(pulumi.CustomResource):
642
697
  defined_tags={
643
698
  "foo-namespace.bar-key": "value",
644
699
  },
700
+ deletion_schedule="DELETE_AFTER_72_HOURS",
645
701
  freeform_tags={
646
702
  "bar-key": "value",
647
703
  },
@@ -676,6 +732,7 @@ class ProtectedDatabase(pulumi.CustomResource):
676
732
  database_size: Optional[pulumi.Input[str]] = None,
677
733
  db_unique_name: Optional[pulumi.Input[str]] = None,
678
734
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
735
+ deletion_schedule: Optional[pulumi.Input[str]] = None,
679
736
  display_name: Optional[pulumi.Input[str]] = None,
680
737
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
681
738
  is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None,
@@ -700,6 +757,7 @@ class ProtectedDatabase(pulumi.CustomResource):
700
757
  raise TypeError("Missing required property 'db_unique_name'")
701
758
  __props__.__dict__["db_unique_name"] = db_unique_name
702
759
  __props__.__dict__["defined_tags"] = defined_tags
760
+ __props__.__dict__["deletion_schedule"] = deletion_schedule
703
761
  if display_name is None and not opts.urn:
704
762
  raise TypeError("Missing required property 'display_name'")
705
763
  __props__.__dict__["display_name"] = display_name
@@ -719,6 +777,7 @@ class ProtectedDatabase(pulumi.CustomResource):
719
777
  __props__.__dict__["is_read_only_resource"] = None
720
778
  __props__.__dict__["lifecycle_details"] = None
721
779
  __props__.__dict__["metrics"] = None
780
+ __props__.__dict__["policy_locked_date_time"] = None
722
781
  __props__.__dict__["state"] = None
723
782
  __props__.__dict__["system_tags"] = None
724
783
  __props__.__dict__["time_created"] = None
@@ -741,6 +800,7 @@ class ProtectedDatabase(pulumi.CustomResource):
741
800
  database_size: Optional[pulumi.Input[str]] = None,
742
801
  db_unique_name: Optional[pulumi.Input[str]] = None,
743
802
  defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
803
+ deletion_schedule: Optional[pulumi.Input[str]] = None,
744
804
  display_name: Optional[pulumi.Input[str]] = None,
745
805
  freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
746
806
  health: Optional[pulumi.Input[str]] = None,
@@ -750,6 +810,7 @@ class ProtectedDatabase(pulumi.CustomResource):
750
810
  lifecycle_details: Optional[pulumi.Input[str]] = None,
751
811
  metrics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProtectedDatabaseMetricArgs']]]]] = None,
752
812
  password: Optional[pulumi.Input[str]] = None,
813
+ policy_locked_date_time: Optional[pulumi.Input[str]] = None,
753
814
  protection_policy_id: Optional[pulumi.Input[str]] = None,
754
815
  recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProtectedDatabaseRecoveryServiceSubnetArgs']]]]] = None,
755
816
  state: Optional[pulumi.Input[str]] = None,
@@ -769,18 +830,19 @@ class ProtectedDatabase(pulumi.CustomResource):
769
830
  :param pulumi.Input[str] database_size: (Updatable) The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
770
831
  :param pulumi.Input[str] db_unique_name: The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
771
832
  :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)
833
+ :param pulumi.Input[str] deletion_schedule: (Updatable) Defines a preferred schedule to delete a protected database after you terminate the source database.
834
+ * The default schedule is DELETE_AFTER_72_HOURS, so that the delete operation can occur 72 hours (3 days) after the source database is terminated.
835
+ * The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires.
772
836
  :param pulumi.Input[str] display_name: (Updatable) The protected database name. You can change the displayName. Avoid entering confidential information.
773
837
  :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"}`
774
- :param pulumi.Input[str] health: Indicates the protection status of the database. Allowed values are:
775
- * HEALTHY
776
- * WARNING
777
- * ALERT
838
+ :param pulumi.Input[str] health: Indicates the protection status of the database.
778
839
  :param pulumi.Input[str] health_details: A message describing the current health of the protected database.
779
840
  :param pulumi.Input[bool] is_read_only_resource: Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.
780
841
  :param pulumi.Input[bool] is_redo_logs_shipped: (Updatable) The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
781
842
  :param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
782
843
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProtectedDatabaseMetricArgs']]]] metrics: Backup performance and storage utilization metrics for the protected database.
783
844
  :param pulumi.Input[str] password: (Updatable) Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (https://docs.cloud.oracle.com/iaas/api/#) or hyphen (-). The password must not contain the username "admin", regardless of casing.
845
+ :param pulumi.Input[str] policy_locked_date_time: 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.
784
846
  :param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database.
785
847
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProtectedDatabaseRecoveryServiceSubnetArgs']]]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database.
786
848
  :param pulumi.Input[str] state: The current state of the Protected Database.
@@ -798,6 +860,7 @@ class ProtectedDatabase(pulumi.CustomResource):
798
860
  __props__.__dict__["database_size"] = database_size
799
861
  __props__.__dict__["db_unique_name"] = db_unique_name
800
862
  __props__.__dict__["defined_tags"] = defined_tags
863
+ __props__.__dict__["deletion_schedule"] = deletion_schedule
801
864
  __props__.__dict__["display_name"] = display_name
802
865
  __props__.__dict__["freeform_tags"] = freeform_tags
803
866
  __props__.__dict__["health"] = health
@@ -807,6 +870,7 @@ class ProtectedDatabase(pulumi.CustomResource):
807
870
  __props__.__dict__["lifecycle_details"] = lifecycle_details
808
871
  __props__.__dict__["metrics"] = metrics
809
872
  __props__.__dict__["password"] = password
873
+ __props__.__dict__["policy_locked_date_time"] = policy_locked_date_time
810
874
  __props__.__dict__["protection_policy_id"] = protection_policy_id
811
875
  __props__.__dict__["recovery_service_subnets"] = recovery_service_subnets
812
876
  __props__.__dict__["state"] = state
@@ -856,6 +920,16 @@ class ProtectedDatabase(pulumi.CustomResource):
856
920
  """
857
921
  return pulumi.get(self, "defined_tags")
858
922
 
923
+ @property
924
+ @pulumi.getter(name="deletionSchedule")
925
+ def deletion_schedule(self) -> pulumi.Output[str]:
926
+ """
927
+ (Updatable) Defines a preferred schedule to delete a protected database after you terminate the source database.
928
+ * The default schedule is DELETE_AFTER_72_HOURS, so that the delete operation can occur 72 hours (3 days) after the source database is terminated.
929
+ * The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires.
930
+ """
931
+ return pulumi.get(self, "deletion_schedule")
932
+
859
933
  @property
860
934
  @pulumi.getter(name="displayName")
861
935
  def display_name(self) -> pulumi.Output[str]:
@@ -876,10 +950,7 @@ class ProtectedDatabase(pulumi.CustomResource):
876
950
  @pulumi.getter
877
951
  def health(self) -> pulumi.Output[str]:
878
952
  """
879
- Indicates the protection status of the database. Allowed values are:
880
- * HEALTHY
881
- * WARNING
882
- * ALERT
953
+ Indicates the protection status of the database.
883
954
  """
884
955
  return pulumi.get(self, "health")
885
956
 
@@ -931,6 +1002,14 @@ class ProtectedDatabase(pulumi.CustomResource):
931
1002
  """
932
1003
  return pulumi.get(self, "password")
933
1004
 
1005
+ @property
1006
+ @pulumi.getter(name="policyLockedDateTime")
1007
+ def policy_locked_date_time(self) -> pulumi.Output[str]:
1008
+ """
1009
+ 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.
1010
+ """
1011
+ return pulumi.get(self, "policy_locked_date_time")
1012
+
934
1013
  @property
935
1014
  @pulumi.getter(name="protectionPolicyId")
936
1015
  def protection_policy_id(self) -> pulumi.Output[str]: