1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. RecoveryMod
  5. getProtectedDatabase
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

oci.RecoveryMod.getProtectedDatabase

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi

This data source provides details about a specific Protected Database resource in Oracle Cloud Infrastructure Recovery service.

Gets information about a specified protected database.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testProtectedDatabase = oci.RecoveryMod.getProtectedDatabase({
    protectedDatabaseId: testProtectedDatabaseOciRecoveryProtectedDatabase.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_protected_database = oci.RecoveryMod.get_protected_database(protected_database_id=test_protected_database_oci_recovery_protected_database["id"])
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/recoverymod"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := recoverymod.GetProtectedDatabase(ctx, &recoverymod.GetProtectedDatabaseArgs{
			ProtectedDatabaseId: testProtectedDatabaseOciRecoveryProtectedDatabase.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testProtectedDatabase = Oci.RecoveryMod.GetProtectedDatabase.Invoke(new()
    {
        ProtectedDatabaseId = testProtectedDatabaseOciRecoveryProtectedDatabase.Id,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.RecoveryMod.RecoveryModFunctions;
import com.pulumi.oci.RecoveryMod.inputs.GetProtectedDatabaseArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testProtectedDatabase = RecoveryModFunctions.getProtectedDatabase(GetProtectedDatabaseArgs.builder()
            .protectedDatabaseId(testProtectedDatabaseOciRecoveryProtectedDatabase.id())
            .build());

    }
}
Copy
variables:
  testProtectedDatabase:
    fn::invoke:
      function: oci:RecoveryMod:getProtectedDatabase
      arguments:
        protectedDatabaseId: ${testProtectedDatabaseOciRecoveryProtectedDatabase.id}
Copy

Using getProtectedDatabase

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getProtectedDatabase(args: GetProtectedDatabaseArgs, opts?: InvokeOptions): Promise<GetProtectedDatabaseResult>
function getProtectedDatabaseOutput(args: GetProtectedDatabaseOutputArgs, opts?: InvokeOptions): Output<GetProtectedDatabaseResult>
Copy
def get_protected_database(protected_database_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetProtectedDatabaseResult
def get_protected_database_output(protected_database_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetProtectedDatabaseResult]
Copy
func GetProtectedDatabase(ctx *Context, args *GetProtectedDatabaseArgs, opts ...InvokeOption) (*GetProtectedDatabaseResult, error)
func GetProtectedDatabaseOutput(ctx *Context, args *GetProtectedDatabaseOutputArgs, opts ...InvokeOption) GetProtectedDatabaseResultOutput
Copy

> Note: This function is named GetProtectedDatabase in the Go SDK.

public static class GetProtectedDatabase 
{
    public static Task<GetProtectedDatabaseResult> InvokeAsync(GetProtectedDatabaseArgs args, InvokeOptions? opts = null)
    public static Output<GetProtectedDatabaseResult> Invoke(GetProtectedDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetProtectedDatabaseResult> getProtectedDatabase(GetProtectedDatabaseArgs args, InvokeOptions options)
public static Output<GetProtectedDatabaseResult> getProtectedDatabase(GetProtectedDatabaseArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:RecoveryMod/getProtectedDatabase:getProtectedDatabase
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ProtectedDatabaseId This property is required. string
The protected database OCID.
ProtectedDatabaseId This property is required. string
The protected database OCID.
protectedDatabaseId This property is required. String
The protected database OCID.
protectedDatabaseId This property is required. string
The protected database OCID.
protected_database_id This property is required. str
The protected database OCID.
protectedDatabaseId This property is required. String
The protected database OCID.

getProtectedDatabase Result

The following output properties are available:

CompartmentId string
The OCID of the compartment that contains the protected database.
DatabaseId string
The OCID of the protected database.
DatabaseSize string
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.
DbUniqueName string
The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
DefinedTags Dictionary<string, string>
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
DeletionSchedule string
DisplayName string
The protected database name. You can change the displayName. Avoid entering confidential information.
FreeformTags Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Health string
Indicates the protection status of the database.
HealthDetails string
A message describing the current health of the protected database.
Id string
The OCID of the protected database.
IsReadOnlyResource bool
Indicates whether the protected database is created by Recovery Service or created manually. Set to TRUE 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 FALSE for a user-defined protected database.
IsRedoLogsShipped bool
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. For this to be effective, additional configuration is needed on client side.
LifecycleDetails string
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.
Metrics List<GetProtectedDatabaseMetric>
Backup performance and storage utilization metrics for the protected database.
Password string
PolicyLockedDateTime string
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.
ProtectedDatabaseId string
ProtectionPolicyId string
The OCID of the protection policy associated with the protected database.
RecoveryServiceSubnets List<GetProtectedDatabaseRecoveryServiceSubnet>
List of recovery service subnet resources associated with the protected database.
State string
The current state of the Protected Database.
SubscriptionId string
The OCID of the cloud service subscription to which the protected database is linked.
SystemTags Dictionary<string, string>
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
TimeCreated string
An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
TimeUpdated string
An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
VpcUserName string
The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
CompartmentId string
The OCID of the compartment that contains the protected database.
DatabaseId string
The OCID of the protected database.
DatabaseSize string
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.
DbUniqueName string
The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
DefinedTags map[string]string
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
DeletionSchedule string
DisplayName string
The protected database name. You can change the displayName. Avoid entering confidential information.
FreeformTags map[string]string
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
Health string
Indicates the protection status of the database.
HealthDetails string
A message describing the current health of the protected database.
Id string
The OCID of the protected database.
IsReadOnlyResource bool
Indicates whether the protected database is created by Recovery Service or created manually. Set to TRUE 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 FALSE for a user-defined protected database.
IsRedoLogsShipped bool
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. For this to be effective, additional configuration is needed on client side.
LifecycleDetails string
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.
Metrics []GetProtectedDatabaseMetric
Backup performance and storage utilization metrics for the protected database.
Password string
PolicyLockedDateTime string
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.
ProtectedDatabaseId string
ProtectionPolicyId string
The OCID of the protection policy associated with the protected database.
RecoveryServiceSubnets []GetProtectedDatabaseRecoveryServiceSubnet
List of recovery service subnet resources associated with the protected database.
State string
The current state of the Protected Database.
SubscriptionId string
The OCID of the cloud service subscription to which the protected database is linked.
SystemTags map[string]string
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
TimeCreated string
An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
TimeUpdated string
An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
VpcUserName string
The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
compartmentId String
The OCID of the compartment that contains the protected database.
databaseId String
The OCID of the protected database.
databaseSize String
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.
dbUniqueName String
The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
definedTags Map<String,String>
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
deletionSchedule String
displayName String
The protected database name. You can change the displayName. Avoid entering confidential information.
freeformTags Map<String,String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
health String
Indicates the protection status of the database.
healthDetails String
A message describing the current health of the protected database.
id String
The OCID of the protected database.
isReadOnlyResource Boolean
Indicates whether the protected database is created by Recovery Service or created manually. Set to TRUE 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 FALSE for a user-defined protected database.
isRedoLogsShipped Boolean
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. For this to be effective, additional configuration is needed on client side.
lifecycleDetails String
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.
metrics List<GetProtectedDatabaseMetric>
Backup performance and storage utilization metrics for the protected database.
password String
policyLockedDateTime String
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.
protectedDatabaseId String
protectionPolicyId String
The OCID of the protection policy associated with the protected database.
recoveryServiceSubnets List<GetProtectedDatabaseRecoveryServiceSubnet>
List of recovery service subnet resources associated with the protected database.
state String
The current state of the Protected Database.
subscriptionId String
The OCID of the cloud service subscription to which the protected database is linked.
systemTags Map<String,String>
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
timeCreated String
An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
timeUpdated String
An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
vpcUserName String
The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
compartmentId string
The OCID of the compartment that contains the protected database.
databaseId string
The OCID of the protected database.
databaseSize string
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.
dbUniqueName string
The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
definedTags {[key: string]: string}
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
deletionSchedule string
displayName string
The protected database name. You can change the displayName. Avoid entering confidential information.
freeformTags {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
health string
Indicates the protection status of the database.
healthDetails string
A message describing the current health of the protected database.
id string
The OCID of the protected database.
isReadOnlyResource boolean
Indicates whether the protected database is created by Recovery Service or created manually. Set to TRUE 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 FALSE for a user-defined protected database.
isRedoLogsShipped boolean
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. For this to be effective, additional configuration is needed on client side.
lifecycleDetails string
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.
metrics GetProtectedDatabaseMetric[]
Backup performance and storage utilization metrics for the protected database.
password string
policyLockedDateTime string
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.
protectedDatabaseId string
protectionPolicyId string
The OCID of the protection policy associated with the protected database.
recoveryServiceSubnets GetProtectedDatabaseRecoveryServiceSubnet[]
List of recovery service subnet resources associated with the protected database.
state string
The current state of the Protected Database.
subscriptionId string
The OCID of the cloud service subscription to which the protected database is linked.
systemTags {[key: string]: string}
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
timeCreated string
An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
timeUpdated string
An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
vpcUserName string
The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
compartment_id str
The OCID of the compartment that contains the protected database.
database_id str
The OCID of the protected database.
database_size str
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.
db_unique_name str
The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
defined_tags Mapping[str, str]
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
deletion_schedule str
display_name str
The protected database name. You can change the displayName. Avoid entering confidential information.
freeform_tags Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
health str
Indicates the protection status of the database.
health_details str
A message describing the current health of the protected database.
id str
The OCID of the protected database.
is_read_only_resource bool
Indicates whether the protected database is created by Recovery Service or created manually. Set to TRUE 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 FALSE for a user-defined protected database.
is_redo_logs_shipped bool
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. For this to be effective, additional configuration is needed on client side.
lifecycle_details str
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.
metrics Sequence[recoverymod.GetProtectedDatabaseMetric]
Backup performance and storage utilization metrics for the protected database.
password str
policy_locked_date_time str
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.
protected_database_id str
protection_policy_id str
The OCID of the protection policy associated with the protected database.
recovery_service_subnets Sequence[recoverymod.GetProtectedDatabaseRecoveryServiceSubnet]
List of recovery service subnet resources associated with the protected database.
state str
The current state of the Protected Database.
subscription_id str
The OCID of the cloud service subscription to which the protected database is linked.
system_tags Mapping[str, str]
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
time_created str
An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
time_updated str
An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
vpc_user_name str
The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
compartmentId String
The OCID of the compartment that contains the protected database.
databaseId String
The OCID of the protected database.
databaseSize String
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.
dbUniqueName String
The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
definedTags Map<String>
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
deletionSchedule String
displayName String
The protected database name. You can change the displayName. Avoid entering confidential information.
freeformTags Map<String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
health String
Indicates the protection status of the database.
healthDetails String
A message describing the current health of the protected database.
id String
The OCID of the protected database.
isReadOnlyResource Boolean
Indicates whether the protected database is created by Recovery Service or created manually. Set to TRUE 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 FALSE for a user-defined protected database.
isRedoLogsShipped Boolean
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. For this to be effective, additional configuration is needed on client side.
lifecycleDetails String
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.
metrics List<Property Map>
Backup performance and storage utilization metrics for the protected database.
password String
policyLockedDateTime String
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.
protectedDatabaseId String
protectionPolicyId String
The OCID of the protection policy associated with the protected database.
recoveryServiceSubnets List<Property Map>
List of recovery service subnet resources associated with the protected database.
state String
The current state of the Protected Database.
subscriptionId String
The OCID of the cloud service subscription to which the protected database is linked.
systemTags Map<String>
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
timeCreated String
An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
timeUpdated String
An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
vpcUserName String
The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.

Supporting Types

GetProtectedDatabaseMetric

BackupSpaceEstimateInGbs This property is required. double
The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
BackupSpaceUsedInGbs This property is required. double
Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
CurrentRetentionPeriodInSeconds This property is required. double
Number of seconds backups are currently retained for this database.
DbSizeInGbs This property is required. double
The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
IsRedoLogsEnabled This property is required. bool
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.
MinimumRecoveryNeededInDays This property is required. double
Number of days of redo/archive to be applied to recover database.
RetentionPeriodInDays This property is required. double
The maximum number of days to retain backups for a protected database.
UnprotectedWindowInSeconds This property is required. double
This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.
BackupSpaceEstimateInGbs This property is required. float64
The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
BackupSpaceUsedInGbs This property is required. float64
Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
CurrentRetentionPeriodInSeconds This property is required. float64
Number of seconds backups are currently retained for this database.
DbSizeInGbs This property is required. float64
The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
IsRedoLogsEnabled This property is required. bool
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.
MinimumRecoveryNeededInDays This property is required. float64
Number of days of redo/archive to be applied to recover database.
RetentionPeriodInDays This property is required. float64
The maximum number of days to retain backups for a protected database.
UnprotectedWindowInSeconds This property is required. float64
This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.
backupSpaceEstimateInGbs This property is required. Double
The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
backupSpaceUsedInGbs This property is required. Double
Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
currentRetentionPeriodInSeconds This property is required. Double
Number of seconds backups are currently retained for this database.
dbSizeInGbs This property is required. Double
The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
isRedoLogsEnabled This property is required. Boolean
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.
minimumRecoveryNeededInDays This property is required. Double
Number of days of redo/archive to be applied to recover database.
retentionPeriodInDays This property is required. Double
The maximum number of days to retain backups for a protected database.
unprotectedWindowInSeconds This property is required. Double
This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.
backupSpaceEstimateInGbs This property is required. number
The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
backupSpaceUsedInGbs This property is required. number
Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
currentRetentionPeriodInSeconds This property is required. number
Number of seconds backups are currently retained for this database.
dbSizeInGbs This property is required. number
The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
isRedoLogsEnabled This property is required. boolean
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.
minimumRecoveryNeededInDays This property is required. number
Number of days of redo/archive to be applied to recover database.
retentionPeriodInDays This property is required. number
The maximum number of days to retain backups for a protected database.
unprotectedWindowInSeconds This property is required. number
This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.
backup_space_estimate_in_gbs This property is required. float
The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
backup_space_used_in_gbs This property is required. float
Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
current_retention_period_in_seconds This property is required. float
Number of seconds backups are currently retained for this database.
db_size_in_gbs This property is required. float
The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
is_redo_logs_enabled This property is required. bool
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.
minimum_recovery_needed_in_days This property is required. float
Number of days of redo/archive to be applied to recover database.
retention_period_in_days This property is required. float
The maximum number of days to retain backups for a protected database.
unprotected_window_in_seconds This property is required. float
This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.
backupSpaceEstimateInGbs This property is required. Number
The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
backupSpaceUsedInGbs This property is required. Number
Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
currentRetentionPeriodInSeconds This property is required. Number
Number of seconds backups are currently retained for this database.
dbSizeInGbs This property is required. Number
The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
isRedoLogsEnabled This property is required. Boolean
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.
minimumRecoveryNeededInDays This property is required. Number
Number of days of redo/archive to be applied to recover database.
retentionPeriodInDays This property is required. Number
The maximum number of days to retain backups for a protected database.
unprotectedWindowInSeconds This property is required. Number
This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.

GetProtectedDatabaseRecoveryServiceSubnet

RecoveryServiceSubnetId This property is required. string
Recovery Service Subnet Identifier.
State This property is required. string
The current state of the Protected Database.
RecoveryServiceSubnetId This property is required. string
Recovery Service Subnet Identifier.
State This property is required. string
The current state of the Protected Database.
recoveryServiceSubnetId This property is required. String
Recovery Service Subnet Identifier.
state This property is required. String
The current state of the Protected Database.
recoveryServiceSubnetId This property is required. string
Recovery Service Subnet Identifier.
state This property is required. string
The current state of the Protected Database.
recovery_service_subnet_id This property is required. str
Recovery Service Subnet Identifier.
state This property is required. str
The current state of the Protected Database.
recoveryServiceSubnetId This property is required. String
Recovery Service Subnet Identifier.
state This property is required. String
The current state of the Protected Database.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.30.0 published on Monday, Apr 14, 2025 by Pulumi