Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.RecoveryMod.getProtectedDatabases
Explore with Pulumi AI
This data source provides the list of Protected Databases in Oracle Cloud Infrastructure Recovery service.
Lists the protected databases based on the specified parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testProtectedDatabases = oci.RecoveryMod.getProtectedDatabases({
compartmentId: compartmentId,
displayName: protectedDatabaseDisplayName,
id: protectedDatabaseId,
protectionPolicyId: testProtectionPolicy.id,
recoveryServiceSubnetId: testRecoveryServiceSubnet.id,
state: protectedDatabaseState,
});
import pulumi
import pulumi_oci as oci
test_protected_databases = oci.RecoveryMod.get_protected_databases(compartment_id=compartment_id,
display_name=protected_database_display_name,
id=protected_database_id,
protection_policy_id=test_protection_policy["id"],
recovery_service_subnet_id=test_recovery_service_subnet["id"],
state=protected_database_state)
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.GetProtectedDatabases(ctx, &recoverymod.GetProtectedDatabasesArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(protectedDatabaseDisplayName),
Id: pulumi.StringRef(protectedDatabaseId),
ProtectionPolicyId: pulumi.StringRef(testProtectionPolicy.Id),
RecoveryServiceSubnetId: pulumi.StringRef(testRecoveryServiceSubnet.Id),
State: pulumi.StringRef(protectedDatabaseState),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testProtectedDatabases = Oci.RecoveryMod.GetProtectedDatabases.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = protectedDatabaseDisplayName,
Id = protectedDatabaseId,
ProtectionPolicyId = testProtectionPolicy.Id,
RecoveryServiceSubnetId = testRecoveryServiceSubnet.Id,
State = protectedDatabaseState,
});
});
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.GetProtectedDatabasesArgs;
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 testProtectedDatabases = RecoveryModFunctions.getProtectedDatabases(GetProtectedDatabasesArgs.builder()
.compartmentId(compartmentId)
.displayName(protectedDatabaseDisplayName)
.id(protectedDatabaseId)
.protectionPolicyId(testProtectionPolicy.id())
.recoveryServiceSubnetId(testRecoveryServiceSubnet.id())
.state(protectedDatabaseState)
.build());
}
}
variables:
testProtectedDatabases:
fn::invoke:
Function: oci:RecoveryMod:getProtectedDatabases
Arguments:
compartmentId: ${compartmentId}
displayName: ${protectedDatabaseDisplayName}
id: ${protectedDatabaseId}
protectionPolicyId: ${testProtectionPolicy.id}
recoveryServiceSubnetId: ${testRecoveryServiceSubnet.id}
state: ${protectedDatabaseState}
Using getProtectedDatabases
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 getProtectedDatabases(args: GetProtectedDatabasesArgs, opts?: InvokeOptions): Promise<GetProtectedDatabasesResult>
function getProtectedDatabasesOutput(args: GetProtectedDatabasesOutputArgs, opts?: InvokeOptions): Output<GetProtectedDatabasesResult>
def get_protected_databases(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_recoverymod.GetProtectedDatabasesFilter]] = None,
id: Optional[str] = None,
protection_policy_id: Optional[str] = None,
recovery_service_subnet_id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProtectedDatabasesResult
def get_protected_databases_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_recoverymod.GetProtectedDatabasesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
protection_policy_id: Optional[pulumi.Input[str]] = None,
recovery_service_subnet_id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProtectedDatabasesResult]
func GetProtectedDatabases(ctx *Context, args *GetProtectedDatabasesArgs, opts ...InvokeOption) (*GetProtectedDatabasesResult, error)
func GetProtectedDatabasesOutput(ctx *Context, args *GetProtectedDatabasesOutputArgs, opts ...InvokeOption) GetProtectedDatabasesResultOutput
> Note: This function is named GetProtectedDatabases
in the Go SDK.
public static class GetProtectedDatabases
{
public static Task<GetProtectedDatabasesResult> InvokeAsync(GetProtectedDatabasesArgs args, InvokeOptions? opts = null)
public static Output<GetProtectedDatabasesResult> Invoke(GetProtectedDatabasesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProtectedDatabasesResult> getProtectedDatabases(GetProtectedDatabasesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:RecoveryMod/getProtectedDatabases:getProtectedDatabases
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The compartment OCID.
- Display
Name string - A filter to return only resources that match the entire 'displayname' given.
- Filters
List<Get
Protected Databases Filter> - Id string
- The protected database OCID.
- Protection
Policy stringId - The protection policy OCID.
- Recovery
Service stringSubnet Id - The recovery service subnet OCID.
- State string
- A filter to return only the resources that match the specified lifecycle state.
- Compartment
Id string - The compartment OCID.
- Display
Name string - A filter to return only resources that match the entire 'displayname' given.
- Filters
[]Get
Protected Databases Filter - Id string
- The protected database OCID.
- Protection
Policy stringId - The protection policy OCID.
- Recovery
Service stringSubnet Id - The recovery service subnet OCID.
- State string
- A filter to return only the resources that match the specified lifecycle state.
- compartment
Id String - The compartment OCID.
- display
Name String - A filter to return only resources that match the entire 'displayname' given.
- filters
List<Get
Protected Databases Filter> - id String
- The protected database OCID.
- protection
Policy StringId - The protection policy OCID.
- recovery
Service StringSubnet Id - The recovery service subnet OCID.
- state String
- A filter to return only the resources that match the specified lifecycle state.
- compartment
Id string - The compartment OCID.
- display
Name string - A filter to return only resources that match the entire 'displayname' given.
- filters
Get
Protected Databases Filter[] - id string
- The protected database OCID.
- protection
Policy stringId - The protection policy OCID.
- recovery
Service stringSubnet Id - The recovery service subnet OCID.
- state string
- A filter to return only the resources that match the specified lifecycle state.
- compartment_
id str - The compartment OCID.
- display_
name str - A filter to return only resources that match the entire 'displayname' given.
- filters
Sequence[recoverymod.
Get Protected Databases Filter] - id str
- The protected database OCID.
- protection_
policy_ strid - The protection policy OCID.
- recovery_
service_ strsubnet_ id - The recovery service subnet OCID.
- state str
- A filter to return only the resources that match the specified lifecycle state.
- compartment
Id String - The compartment OCID.
- display
Name String - A filter to return only resources that match the entire 'displayname' given.
- filters List<Property Map>
- id String
- The protected database OCID.
- protection
Policy StringId - The protection policy OCID.
- recovery
Service StringSubnet Id - The recovery service subnet OCID.
- state String
- A filter to return only the resources that match the specified lifecycle state.
getProtectedDatabases Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the protected database.
- Protected
Database List<GetCollections Protected Databases Protected Database Collection> - The list of protected_database_collection.
- Display
Name string - The protected database name. You can change the displayName. Avoid entering confidential information.
- Filters
List<Get
Protected Databases Filter> - Id string
- The OCID of the protected database.
- Protection
Policy stringId - The OCID of the protection policy associated with the protected database.
- Recovery
Service stringSubnet Id - Recovery Service Subnet Identifier.
- State string
- The current state of the Protected Database.
- Compartment
Id string - The OCID of the compartment that contains the protected database.
- Protected
Database []GetCollections Protected Databases Protected Database Collection - The list of protected_database_collection.
- Display
Name string - The protected database name. You can change the displayName. Avoid entering confidential information.
- Filters
[]Get
Protected Databases Filter - Id string
- The OCID of the protected database.
- Protection
Policy stringId - The OCID of the protection policy associated with the protected database.
- Recovery
Service stringSubnet Id - Recovery Service Subnet Identifier.
- State string
- The current state of the Protected Database.
- compartment
Id String - The OCID of the compartment that contains the protected database.
- protected
Database List<GetCollections Protected Databases Protected Database Collection> - The list of protected_database_collection.
- display
Name String - The protected database name. You can change the displayName. Avoid entering confidential information.
- filters
List<Get
Protected Databases Filter> - id String
- The OCID of the protected database.
- protection
Policy StringId - The OCID of the protection policy associated with the protected database.
- recovery
Service StringSubnet Id - Recovery Service Subnet Identifier.
- state String
- The current state of the Protected Database.
- compartment
Id string - The OCID of the compartment that contains the protected database.
- protected
Database GetCollections Protected Databases Protected Database Collection[] - The list of protected_database_collection.
- display
Name string - The protected database name. You can change the displayName. Avoid entering confidential information.
- filters
Get
Protected Databases Filter[] - id string
- The OCID of the protected database.
- protection
Policy stringId - The OCID of the protection policy associated with the protected database.
- recovery
Service stringSubnet Id - Recovery Service Subnet Identifier.
- state string
- The current state of the Protected Database.
- compartment_
id str - The OCID of the compartment that contains the protected database.
- protected_
database_ Sequence[recoverymod.collections Get Protected Databases Protected Database Collection] - The list of protected_database_collection.
- display_
name str - The protected database name. You can change the displayName. Avoid entering confidential information.
- filters
Sequence[recoverymod.
Get Protected Databases Filter] - id str
- The OCID of the protected database.
- protection_
policy_ strid - The OCID of the protection policy associated with the protected database.
- recovery_
service_ strsubnet_ id - Recovery Service Subnet Identifier.
- state str
- The current state of the Protected Database.
- compartment
Id String - The OCID of the compartment that contains the protected database.
- protected
Database List<Property Map>Collections - The list of protected_database_collection.
- display
Name String - The protected database name. You can change the displayName. Avoid entering confidential information.
- filters List<Property Map>
- id String
- The OCID of the protected database.
- protection
Policy StringId - The OCID of the protection policy associated with the protected database.
- recovery
Service StringSubnet Id - Recovery Service Subnet Identifier.
- state String
- The current state of the Protected Database.
Supporting Types
GetProtectedDatabasesFilter
GetProtectedDatabasesProtectedDatabaseCollection
GetProtectedDatabasesProtectedDatabaseCollectionItem
- Compartment
Id string - The compartment OCID.
- Database
Id string - The OCID of the protected database.
- Database
Size 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.
- Db
Unique stringName - The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
- 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 - Deletion
Schedule string - Display
Name string - A filter to return only resources that match the entire 'displayname' given.
- 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.
- Health
Details string - A message describing the current health of the protected database.
- Id string
- The protected database OCID.
- Is
Read boolOnly Resource - 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 boolLogs Shipped - 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 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<Get
Protected Databases Protected Database Collection Item Metric> - Backup performance and storage utilization metrics for the protected database.
- Password string
- Policy
Locked stringDate 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.
- Protection
Policy stringId - The protection policy OCID.
- Recovery
Service List<GetSubnets Protected Databases Protected Database Collection Item Recovery Service Subnet> - List of recovery service subnet resources associated with the protected database.
- State string
- A filter to return only the resources that match the specified lifecycle state.
- Subscription
Id string - The OCID of the cloud service subscription to which the protected database is linked.
- 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 - Time
Created string - An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
- Time
Updated string - 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 stringName - The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
- Compartment
Id string - The compartment OCID.
- Database
Id string - The OCID of the protected database.
- Database
Size 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.
- Db
Unique stringName - The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
- 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 - Deletion
Schedule string - Display
Name string - A filter to return only resources that match the entire 'displayname' given.
- 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.
- Health
Details string - A message describing the current health of the protected database.
- Id string
- The protected database OCID.
- Is
Read boolOnly Resource - 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 boolLogs Shipped - 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 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
[]Get
Protected Databases Protected Database Collection Item Metric - Backup performance and storage utilization metrics for the protected database.
- Password string
- Policy
Locked stringDate 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.
- Protection
Policy stringId - The protection policy OCID.
- Recovery
Service []GetSubnets Protected Databases Protected Database Collection Item Recovery Service Subnet - List of recovery service subnet resources associated with the protected database.
- State string
- A filter to return only the resources that match the specified lifecycle state.
- Subscription
Id string - The OCID of the cloud service subscription to which the protected database is linked.
- 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 - Time
Created string - An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
- Time
Updated string - 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 stringName - The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
- compartment
Id String - The compartment OCID.
- database
Id String - The OCID of the protected database.
- database
Size 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.
- db
Unique StringName - The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
- 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 - deletion
Schedule String - display
Name String - A filter to return only resources that match the entire 'displayname' given.
- 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.
- health
Details String - A message describing the current health of the protected database.
- id String
- The protected database OCID.
- is
Read BooleanOnly Resource - 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 BooleanLogs Shipped - 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 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<Get
Protected Databases Protected Database Collection Item Metric> - Backup performance and storage utilization metrics for the protected database.
- password String
- policy
Locked StringDate 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.
- protection
Policy StringId - The protection policy OCID.
- recovery
Service List<GetSubnets Protected Databases Protected Database Collection Item Recovery Service Subnet> - List of recovery service subnet resources associated with the protected database.
- state String
- A filter to return only the resources that match the specified lifecycle state.
- subscription
Id String - The OCID of the cloud service subscription to which the protected database is linked.
- 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 - time
Created String - An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
- time
Updated String - 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 StringName - The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
- compartment
Id string - The compartment OCID.
- database
Id string - The OCID of the protected database.
- database
Size 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.
- db
Unique stringName - The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
- {[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 - deletion
Schedule string - display
Name string - A filter to return only resources that match the entire 'displayname' given.
- {[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.
- health
Details string - A message describing the current health of the protected database.
- id string
- The protected database OCID.
- is
Read booleanOnly Resource - 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 booleanLogs Shipped - 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 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
Get
Protected Databases Protected Database Collection Item Metric[] - Backup performance and storage utilization metrics for the protected database.
- password string
- policy
Locked stringDate 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.
- protection
Policy stringId - The protection policy OCID.
- recovery
Service GetSubnets Protected Databases Protected Database Collection Item Recovery Service Subnet[] - List of recovery service subnet resources associated with the protected database.
- state string
- A filter to return only the resources that match the specified lifecycle state.
- subscription
Id string - The OCID of the cloud service subscription to which the protected database is linked.
- {[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 - time
Created string - An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
- time
Updated string - 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 stringName - The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
- compartment_
id str - The compartment OCID.
- 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_ strname - The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
- 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 - A filter to return only resources that match the entire 'displayname' given.
- 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 protected database OCID.
- is_
read_ boolonly_ resource - 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_ boollogs_ shipped - 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.
Get Protected Databases Protected Database Collection Item Metric] - Backup performance and storage utilization metrics for the protected database.
- password str
- policy_
locked_ strdate_ 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.
- protection_
policy_ strid - The protection policy OCID.
- recovery_
service_ Sequence[recoverymod.subnets Get Protected Databases Protected Database Collection Item Recovery Service Subnet] - List of recovery service subnet resources associated with the protected database.
- state str
- A filter to return only the resources that match the specified lifecycle state.
- subscription_
id str - The OCID of the cloud service subscription to which the protected database is linked.
- 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_ strname - The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
- compartment
Id String - The compartment OCID.
- database
Id String - The OCID of the protected database.
- database
Size 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.
- db
Unique StringName - The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
- 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 - deletion
Schedule String - display
Name String - A filter to return only resources that match the entire 'displayname' given.
- 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.
- health
Details String - A message describing the current health of the protected database.
- id String
- The protected database OCID.
- is
Read BooleanOnly Resource - 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 BooleanLogs Shipped - 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 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
- policy
Locked StringDate 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.
- protection
Policy StringId - The protection policy OCID.
- recovery
Service List<Property Map>Subnets - List of recovery service subnet resources associated with the protected database.
- state String
- A filter to return only the resources that match the specified lifecycle state.
- subscription
Id String - The OCID of the cloud service subscription to which the protected database is linked.
- 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 - time
Created String - An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
- time
Updated String - 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 StringName - The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
GetProtectedDatabasesProtectedDatabaseCollectionItemMetric
- Backup
Space doubleEstimate In Gbs - 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 doubleUsed In Gbs - Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
- Current
Retention doublePeriod In Seconds - Number of seconds backups are currently retained for this database.
- Db
Size doubleIn Gbs - 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 boolLogs Enabled - 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 doubleNeeded In Days - Number of days of redo/archive to be applied to recover database.
- Retention
Period doubleIn Days - The maximum number of days to retain backups for a protected database.
- Unprotected
Window doubleIn Seconds - 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 float64Estimate In Gbs - 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 float64Used In Gbs - Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
- Current
Retention float64Period In Seconds - Number of seconds backups are currently retained for this database.
- Db
Size float64In Gbs - 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 boolLogs Enabled - 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 float64Needed In Days - Number of days of redo/archive to be applied to recover database.
- Retention
Period float64In Days - The maximum number of days to retain backups for a protected database.
- Unprotected
Window float64In Seconds - 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 DoubleEstimate In Gbs - 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 DoubleUsed In Gbs - Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
- current
Retention DoublePeriod In Seconds - Number of seconds backups are currently retained for this database.
- db
Size DoubleIn Gbs - 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 BooleanLogs Enabled - 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 DoubleNeeded In Days - Number of days of redo/archive to be applied to recover database.
- retention
Period DoubleIn Days - The maximum number of days to retain backups for a protected database.
- unprotected
Window DoubleIn Seconds - 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 numberEstimate In Gbs - 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 numberUsed In Gbs - Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
- current
Retention numberPeriod In Seconds - Number of seconds backups are currently retained for this database.
- db
Size numberIn Gbs - 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 booleanLogs Enabled - 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 numberNeeded In Days - Number of days of redo/archive to be applied to recover database.
- retention
Period numberIn Days - The maximum number of days to retain backups for a protected database.
- unprotected
Window numberIn Seconds - 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_ floatestimate_ in_ gbs - 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_ floatused_ in_ gbs - Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
- current_
retention_ floatperiod_ in_ seconds - Number of seconds backups are currently retained for this database.
- db_
size_ floatin_ gbs - 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_ boollogs_ enabled - 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_ floatneeded_ in_ days - Number of days of redo/archive to be applied to recover database.
- retention_
period_ floatin_ days - The maximum number of days to retain backups for a protected database.
- unprotected_
window_ floatin_ seconds - 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 NumberEstimate In Gbs - 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 NumberUsed In Gbs - Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
- current
Retention NumberPeriod In Seconds - Number of seconds backups are currently retained for this database.
- db
Size NumberIn Gbs - 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 BooleanLogs Enabled - 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 NumberNeeded In Days - Number of days of redo/archive to be applied to recover database.
- retention
Period NumberIn Days - The maximum number of days to retain backups for a protected database.
- unprotected
Window NumberIn Seconds - 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.
GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnet
- Recovery
Service stringSubnet Id - The recovery service subnet OCID.
- State string
- A filter to return only the resources that match the specified lifecycle state.
- Recovery
Service stringSubnet Id - The recovery service subnet OCID.
- State string
- A filter to return only the resources that match the specified lifecycle state.
- recovery
Service StringSubnet Id - The recovery service subnet OCID.
- state String
- A filter to return only the resources that match the specified lifecycle state.
- recovery
Service stringSubnet Id - The recovery service subnet OCID.
- state string
- A filter to return only the resources that match the specified lifecycle state.
- recovery_
service_ strsubnet_ id - The recovery service subnet OCID.
- state str
- A filter to return only the resources that match the specified lifecycle state.
- recovery
Service StringSubnet Id - The recovery service subnet OCID.
- state String
- A filter to return only the resources that match the specified lifecycle state.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.