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.
- pulumi_oci/__init__.py +0 -40
- pulumi_oci/config/__init__.pyi +2 -2
- pulumi_oci/config/vars.py +2 -2
- pulumi_oci/database/db_home.py +0 -47
- pulumi_oci/database/get_db_home.py +1 -14
- pulumi_oci/database/outputs.py +0 -11
- pulumi_oci/databasemanagement/__init__.py +0 -5
- pulumi_oci/databasemanagement/_inputs.py +1 -1206
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +0 -28
- pulumi_oci/databasemanagement/external_asm.py +0 -28
- pulumi_oci/databasemanagement/external_asm_instance.py +0 -28
- pulumi_oci/databasemanagement/external_cluster.py +0 -28
- pulumi_oci/databasemanagement/external_cluster_instance.py +0 -28
- pulumi_oci/databasemanagement/external_db_home.py +0 -28
- pulumi_oci/databasemanagement/external_db_node.py +0 -28
- pulumi_oci/databasemanagement/external_db_system.py +0 -28
- pulumi_oci/databasemanagement/external_db_system_connector.py +0 -28
- pulumi_oci/databasemanagement/external_db_system_discovery.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_infrastructure.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_storage_connector.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_storage_grid.py +0 -28
- pulumi_oci/databasemanagement/external_exadata_storage_server.py +0 -28
- pulumi_oci/databasemanagement/external_listener.py +0 -28
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +1 -14
- pulumi_oci/databasemanagement/get_external_asm.py +1 -14
- pulumi_oci/databasemanagement/get_external_asm_instance.py +1 -14
- pulumi_oci/databasemanagement/get_external_cluster.py +1 -14
- pulumi_oci/databasemanagement/get_external_cluster_instance.py +1 -14
- pulumi_oci/databasemanagement/get_external_databases.py +1 -18
- pulumi_oci/databasemanagement/get_external_db_home.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_node.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_system.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_system_connector.py +1 -14
- pulumi_oci/databasemanagement/get_external_db_system_discovery.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +1 -14
- pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +1 -14
- pulumi_oci/databasemanagement/get_external_listener.py +1 -14
- pulumi_oci/databasemanagement/get_managed_database_group.py +1 -14
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
- pulumi_oci/databasemanagement/get_named_credential.py +1 -14
- pulumi_oci/databasemanagement/managed_database.py +0 -28
- pulumi_oci/databasemanagement/managed_database_group.py +0 -28
- pulumi_oci/databasemanagement/named_credential.py +0 -28
- pulumi_oci/databasemanagement/outputs.py +217 -1726
- pulumi_oci/datasafe/__init__.py +0 -3
- pulumi_oci/datasafe/_inputs.py +0 -80
- pulumi_oci/datasafe/get_masking_policy.py +1 -11
- pulumi_oci/datasafe/masking_policy.py +28 -75
- pulumi_oci/datasafe/outputs.py +0 -287
- pulumi_oci/provider.py +8 -8
- pulumi_oci/recoverymod/_inputs.py +0 -16
- pulumi_oci/recoverymod/get_protected_database.py +5 -25
- pulumi_oci/recoverymod/get_protection_policies.py +7 -1
- pulumi_oci/recoverymod/get_protection_policy.py +8 -15
- pulumi_oci/recoverymod/get_recovery_service_subnet.py +9 -32
- pulumi_oci/recoverymod/get_recovery_service_subnets.py +21 -3
- pulumi_oci/recoverymod/outputs.py +24 -96
- pulumi_oci/recoverymod/protected_database.py +16 -95
- pulumi_oci/recoverymod/protection_policy.py +54 -121
- pulumi_oci/recoverymod/recovery_service_subnet.py +55 -143
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/METADATA +1 -1
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/RECORD +66 -74
- pulumi_oci/databasemanagement/database_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +0 -275
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +0 -275
- pulumi_oci/datasafe/get_masking_policy_health_report.py +0 -235
- pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +0 -153
- pulumi_oci/datasafe/get_masking_policy_health_reports.py +0 -267
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714112449.dist-info}/top_level.txt +0 -0
@@ -25,7 +25,6 @@ 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,
|
29
28
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
30
29
|
is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None):
|
31
30
|
"""
|
@@ -39,9 +38,6 @@ class ProtectedDatabaseArgs:
|
|
39
38
|
:param pulumi.Input[str] database_id: The OCID of the protected database.
|
40
39
|
: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.
|
41
40
|
: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.
|
45
41
|
: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"}`
|
46
42
|
: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.
|
47
43
|
"""
|
@@ -57,8 +53,6 @@ class ProtectedDatabaseArgs:
|
|
57
53
|
pulumi.set(__self__, "database_size", database_size)
|
58
54
|
if defined_tags is not None:
|
59
55
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
60
|
-
if deletion_schedule is not None:
|
61
|
-
pulumi.set(__self__, "deletion_schedule", deletion_schedule)
|
62
56
|
if freeform_tags is not None:
|
63
57
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
64
58
|
if is_redo_logs_shipped is not None:
|
@@ -172,20 +166,6 @@ class ProtectedDatabaseArgs:
|
|
172
166
|
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
173
167
|
pulumi.set(self, "defined_tags", value)
|
174
168
|
|
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
|
-
|
189
169
|
@property
|
190
170
|
@pulumi.getter(name="freeformTags")
|
191
171
|
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
@@ -219,7 +199,6 @@ class _ProtectedDatabaseState:
|
|
219
199
|
database_size: Optional[pulumi.Input[str]] = None,
|
220
200
|
db_unique_name: Optional[pulumi.Input[str]] = None,
|
221
201
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
222
|
-
deletion_schedule: Optional[pulumi.Input[str]] = None,
|
223
202
|
display_name: Optional[pulumi.Input[str]] = None,
|
224
203
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
225
204
|
health: Optional[pulumi.Input[str]] = None,
|
@@ -229,7 +208,6 @@ class _ProtectedDatabaseState:
|
|
229
208
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
230
209
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseMetricArgs']]]] = None,
|
231
210
|
password: Optional[pulumi.Input[str]] = None,
|
232
|
-
policy_locked_date_time: Optional[pulumi.Input[str]] = None,
|
233
211
|
protection_policy_id: Optional[pulumi.Input[str]] = None,
|
234
212
|
recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]]] = None,
|
235
213
|
state: Optional[pulumi.Input[str]] = None,
|
@@ -244,19 +222,18 @@ class _ProtectedDatabaseState:
|
|
244
222
|
: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.
|
245
223
|
:param pulumi.Input[str] db_unique_name: The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
|
246
224
|
: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.
|
250
225
|
:param pulumi.Input[str] display_name: (Updatable) The protected database name. You can change the displayName. Avoid entering confidential information.
|
251
226
|
: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"}`
|
252
|
-
:param pulumi.Input[str] health: Indicates the protection status of the database.
|
227
|
+
:param pulumi.Input[str] health: Indicates the protection status of the database. Allowed values are:
|
228
|
+
* HEALTHY
|
229
|
+
* WARNING
|
230
|
+
* ALERT
|
253
231
|
:param pulumi.Input[str] health_details: A message describing the current health of the protected database.
|
254
232
|
: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.
|
255
233
|
: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.
|
256
234
|
: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.
|
257
235
|
:param pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseMetricArgs']]] metrics: Backup performance and storage utilization metrics for the protected database.
|
258
236
|
: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.
|
260
237
|
:param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database.
|
261
238
|
:param pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database.
|
262
239
|
:param pulumi.Input[str] state: The current state of the Protected Database.
|
@@ -275,8 +252,6 @@ class _ProtectedDatabaseState:
|
|
275
252
|
pulumi.set(__self__, "db_unique_name", db_unique_name)
|
276
253
|
if defined_tags is not None:
|
277
254
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
278
|
-
if deletion_schedule is not None:
|
279
|
-
pulumi.set(__self__, "deletion_schedule", deletion_schedule)
|
280
255
|
if display_name is not None:
|
281
256
|
pulumi.set(__self__, "display_name", display_name)
|
282
257
|
if freeform_tags is not None:
|
@@ -295,8 +270,6 @@ class _ProtectedDatabaseState:
|
|
295
270
|
pulumi.set(__self__, "metrics", metrics)
|
296
271
|
if password is not None:
|
297
272
|
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)
|
300
273
|
if protection_policy_id is not None:
|
301
274
|
pulumi.set(__self__, "protection_policy_id", protection_policy_id)
|
302
275
|
if recovery_service_subnets is not None:
|
@@ -372,20 +345,6 @@ class _ProtectedDatabaseState:
|
|
372
345
|
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
373
346
|
pulumi.set(self, "defined_tags", value)
|
374
347
|
|
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
|
-
|
389
348
|
@property
|
390
349
|
@pulumi.getter(name="displayName")
|
391
350
|
def display_name(self) -> Optional[pulumi.Input[str]]:
|
@@ -414,7 +373,10 @@ class _ProtectedDatabaseState:
|
|
414
373
|
@pulumi.getter
|
415
374
|
def health(self) -> Optional[pulumi.Input[str]]:
|
416
375
|
"""
|
417
|
-
Indicates the protection status of the database.
|
376
|
+
Indicates the protection status of the database. Allowed values are:
|
377
|
+
* HEALTHY
|
378
|
+
* WARNING
|
379
|
+
* ALERT
|
418
380
|
"""
|
419
381
|
return pulumi.get(self, "health")
|
420
382
|
|
@@ -494,18 +456,6 @@ class _ProtectedDatabaseState:
|
|
494
456
|
def password(self, value: Optional[pulumi.Input[str]]):
|
495
457
|
pulumi.set(self, "password", value)
|
496
458
|
|
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
|
-
|
509
459
|
@property
|
510
460
|
@pulumi.getter(name="protectionPolicyId")
|
511
461
|
def protection_policy_id(self) -> Optional[pulumi.Input[str]]:
|
@@ -601,7 +551,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
601
551
|
database_size: Optional[pulumi.Input[str]] = None,
|
602
552
|
db_unique_name: Optional[pulumi.Input[str]] = None,
|
603
553
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
604
|
-
deletion_schedule: Optional[pulumi.Input[str]] = None,
|
605
554
|
display_name: Optional[pulumi.Input[str]] = None,
|
606
555
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
607
556
|
is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None,
|
@@ -634,7 +583,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
634
583
|
defined_tags={
|
635
584
|
"foo-namespace.bar-key": "value",
|
636
585
|
},
|
637
|
-
deletion_schedule="DELETE_AFTER_72_HOURS",
|
638
586
|
freeform_tags={
|
639
587
|
"bar-key": "value",
|
640
588
|
},
|
@@ -656,9 +604,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
656
604
|
: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.
|
657
605
|
:param pulumi.Input[str] db_unique_name: The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
|
658
606
|
: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.
|
662
607
|
:param pulumi.Input[str] display_name: (Updatable) The protected database name. You can change the displayName. Avoid entering confidential information.
|
663
608
|
: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"}`
|
664
609
|
: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.
|
@@ -697,7 +642,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
697
642
|
defined_tags={
|
698
643
|
"foo-namespace.bar-key": "value",
|
699
644
|
},
|
700
|
-
deletion_schedule="DELETE_AFTER_72_HOURS",
|
701
645
|
freeform_tags={
|
702
646
|
"bar-key": "value",
|
703
647
|
},
|
@@ -732,7 +676,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
732
676
|
database_size: Optional[pulumi.Input[str]] = None,
|
733
677
|
db_unique_name: Optional[pulumi.Input[str]] = None,
|
734
678
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
735
|
-
deletion_schedule: Optional[pulumi.Input[str]] = None,
|
736
679
|
display_name: Optional[pulumi.Input[str]] = None,
|
737
680
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
738
681
|
is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None,
|
@@ -757,7 +700,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
757
700
|
raise TypeError("Missing required property 'db_unique_name'")
|
758
701
|
__props__.__dict__["db_unique_name"] = db_unique_name
|
759
702
|
__props__.__dict__["defined_tags"] = defined_tags
|
760
|
-
__props__.__dict__["deletion_schedule"] = deletion_schedule
|
761
703
|
if display_name is None and not opts.urn:
|
762
704
|
raise TypeError("Missing required property 'display_name'")
|
763
705
|
__props__.__dict__["display_name"] = display_name
|
@@ -777,7 +719,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
777
719
|
__props__.__dict__["is_read_only_resource"] = None
|
778
720
|
__props__.__dict__["lifecycle_details"] = None
|
779
721
|
__props__.__dict__["metrics"] = None
|
780
|
-
__props__.__dict__["policy_locked_date_time"] = None
|
781
722
|
__props__.__dict__["state"] = None
|
782
723
|
__props__.__dict__["system_tags"] = None
|
783
724
|
__props__.__dict__["time_created"] = None
|
@@ -800,7 +741,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
800
741
|
database_size: Optional[pulumi.Input[str]] = None,
|
801
742
|
db_unique_name: Optional[pulumi.Input[str]] = None,
|
802
743
|
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
803
|
-
deletion_schedule: Optional[pulumi.Input[str]] = None,
|
804
744
|
display_name: Optional[pulumi.Input[str]] = None,
|
805
745
|
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
806
746
|
health: Optional[pulumi.Input[str]] = None,
|
@@ -810,7 +750,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
810
750
|
lifecycle_details: Optional[pulumi.Input[str]] = None,
|
811
751
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProtectedDatabaseMetricArgs']]]]] = None,
|
812
752
|
password: Optional[pulumi.Input[str]] = None,
|
813
|
-
policy_locked_date_time: Optional[pulumi.Input[str]] = None,
|
814
753
|
protection_policy_id: Optional[pulumi.Input[str]] = None,
|
815
754
|
recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProtectedDatabaseRecoveryServiceSubnetArgs']]]]] = None,
|
816
755
|
state: Optional[pulumi.Input[str]] = None,
|
@@ -830,19 +769,18 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
830
769
|
: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.
|
831
770
|
:param pulumi.Input[str] db_unique_name: The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
|
832
771
|
: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.
|
836
772
|
:param pulumi.Input[str] display_name: (Updatable) The protected database name. You can change the displayName. Avoid entering confidential information.
|
837
773
|
: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"}`
|
838
|
-
:param pulumi.Input[str] health: Indicates the protection status of the database.
|
774
|
+
:param pulumi.Input[str] health: Indicates the protection status of the database. Allowed values are:
|
775
|
+
* HEALTHY
|
776
|
+
* WARNING
|
777
|
+
* ALERT
|
839
778
|
:param pulumi.Input[str] health_details: A message describing the current health of the protected database.
|
840
779
|
: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.
|
841
780
|
: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.
|
842
781
|
: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.
|
843
782
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProtectedDatabaseMetricArgs']]]] metrics: Backup performance and storage utilization metrics for the protected database.
|
844
783
|
: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.
|
846
784
|
:param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database.
|
847
785
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ProtectedDatabaseRecoveryServiceSubnetArgs']]]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database.
|
848
786
|
:param pulumi.Input[str] state: The current state of the Protected Database.
|
@@ -860,7 +798,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
860
798
|
__props__.__dict__["database_size"] = database_size
|
861
799
|
__props__.__dict__["db_unique_name"] = db_unique_name
|
862
800
|
__props__.__dict__["defined_tags"] = defined_tags
|
863
|
-
__props__.__dict__["deletion_schedule"] = deletion_schedule
|
864
801
|
__props__.__dict__["display_name"] = display_name
|
865
802
|
__props__.__dict__["freeform_tags"] = freeform_tags
|
866
803
|
__props__.__dict__["health"] = health
|
@@ -870,7 +807,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
870
807
|
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
871
808
|
__props__.__dict__["metrics"] = metrics
|
872
809
|
__props__.__dict__["password"] = password
|
873
|
-
__props__.__dict__["policy_locked_date_time"] = policy_locked_date_time
|
874
810
|
__props__.__dict__["protection_policy_id"] = protection_policy_id
|
875
811
|
__props__.__dict__["recovery_service_subnets"] = recovery_service_subnets
|
876
812
|
__props__.__dict__["state"] = state
|
@@ -920,16 +856,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
920
856
|
"""
|
921
857
|
return pulumi.get(self, "defined_tags")
|
922
858
|
|
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
|
-
|
933
859
|
@property
|
934
860
|
@pulumi.getter(name="displayName")
|
935
861
|
def display_name(self) -> pulumi.Output[str]:
|
@@ -950,7 +876,10 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
950
876
|
@pulumi.getter
|
951
877
|
def health(self) -> pulumi.Output[str]:
|
952
878
|
"""
|
953
|
-
Indicates the protection status of the database.
|
879
|
+
Indicates the protection status of the database. Allowed values are:
|
880
|
+
* HEALTHY
|
881
|
+
* WARNING
|
882
|
+
* ALERT
|
954
883
|
"""
|
955
884
|
return pulumi.get(self, "health")
|
956
885
|
|
@@ -1002,14 +931,6 @@ class ProtectedDatabase(pulumi.CustomResource):
|
|
1002
931
|
"""
|
1003
932
|
return pulumi.get(self, "password")
|
1004
933
|
|
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
|
-
|
1013
934
|
@property
|
1014
935
|
@pulumi.getter(name="protectionPolicyId")
|
1015
936
|
def protection_policy_id(self) -> pulumi.Output[str]:
|