Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.Database.getBackups
Explore with Pulumi AI
This data source provides the list of Backups in Oracle Cloud Infrastructure Database service.
Gets a list of backups based on the databaseId
or compartmentId
specified. Either one of these query parameters must be provided.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBackups = oci.Database.getBackups({
backupDestinationType: backupBackupDestinationType,
compartmentId: compartmentId,
databaseId: testDatabase.id,
shapeFamily: backupShapeFamily,
state: backupState,
timeExpiryScheduledGreaterThanOrEqualTo: backupTimeExpiryScheduledGreaterThanOrEqualTo,
timeExpiryScheduledLessThan: backupTimeExpiryScheduledLessThan,
type: backupType,
version: backupVersion,
});
import pulumi
import pulumi_oci as oci
test_backups = oci.Database.get_backups(backup_destination_type=backup_backup_destination_type,
compartment_id=compartment_id,
database_id=test_database["id"],
shape_family=backup_shape_family,
state=backup_state,
time_expiry_scheduled_greater_than_or_equal_to=backup_time_expiry_scheduled_greater_than_or_equal_to,
time_expiry_scheduled_less_than=backup_time_expiry_scheduled_less_than,
type=backup_type,
version=backup_version)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.GetBackups(ctx, &database.GetBackupsArgs{
BackupDestinationType: pulumi.StringRef(backupBackupDestinationType),
CompartmentId: pulumi.StringRef(compartmentId),
DatabaseId: pulumi.StringRef(testDatabase.Id),
ShapeFamily: pulumi.StringRef(backupShapeFamily),
State: pulumi.StringRef(backupState),
TimeExpiryScheduledGreaterThanOrEqualTo: pulumi.StringRef(backupTimeExpiryScheduledGreaterThanOrEqualTo),
TimeExpiryScheduledLessThan: pulumi.StringRef(backupTimeExpiryScheduledLessThan),
Type: pulumi.StringRef(backupType),
Version: pulumi.StringRef(backupVersion),
}, 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 testBackups = Oci.Database.GetBackups.Invoke(new()
{
BackupDestinationType = backupBackupDestinationType,
CompartmentId = compartmentId,
DatabaseId = testDatabase.Id,
ShapeFamily = backupShapeFamily,
State = backupState,
TimeExpiryScheduledGreaterThanOrEqualTo = backupTimeExpiryScheduledGreaterThanOrEqualTo,
TimeExpiryScheduledLessThan = backupTimeExpiryScheduledLessThan,
Type = backupType,
Version = backupVersion,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetBackupsArgs;
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 testBackups = DatabaseFunctions.getBackups(GetBackupsArgs.builder()
.backupDestinationType(backupBackupDestinationType)
.compartmentId(compartmentId)
.databaseId(testDatabase.id())
.shapeFamily(backupShapeFamily)
.state(backupState)
.timeExpiryScheduledGreaterThanOrEqualTo(backupTimeExpiryScheduledGreaterThanOrEqualTo)
.timeExpiryScheduledLessThan(backupTimeExpiryScheduledLessThan)
.type(backupType)
.version(backupVersion)
.build());
}
}
variables:
testBackups:
fn::invoke:
function: oci:Database:getBackups
arguments:
backupDestinationType: ${backupBackupDestinationType}
compartmentId: ${compartmentId}
databaseId: ${testDatabase.id}
shapeFamily: ${backupShapeFamily}
state: ${backupState}
timeExpiryScheduledGreaterThanOrEqualTo: ${backupTimeExpiryScheduledGreaterThanOrEqualTo}
timeExpiryScheduledLessThan: ${backupTimeExpiryScheduledLessThan}
type: ${backupType}
version: ${backupVersion}
Using getBackups
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 getBackups(args: GetBackupsArgs, opts?: InvokeOptions): Promise<GetBackupsResult>
function getBackupsOutput(args: GetBackupsOutputArgs, opts?: InvokeOptions): Output<GetBackupsResult>
def get_backups(backup_destination_type: Optional[str] = None,
compartment_id: Optional[str] = None,
database_id: Optional[str] = None,
filters: Optional[Sequence[_database.GetBackupsFilter]] = None,
shape_family: Optional[str] = None,
state: Optional[str] = None,
time_expiry_scheduled_greater_than_or_equal_to: Optional[str] = None,
time_expiry_scheduled_less_than: Optional[str] = None,
type: Optional[str] = None,
version: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupsResult
def get_backups_output(backup_destination_type: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
database_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetBackupsFilterArgs]]]] = None,
shape_family: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
time_expiry_scheduled_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_expiry_scheduled_less_than: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
version: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBackupsResult]
func GetBackups(ctx *Context, args *GetBackupsArgs, opts ...InvokeOption) (*GetBackupsResult, error)
func GetBackupsOutput(ctx *Context, args *GetBackupsOutputArgs, opts ...InvokeOption) GetBackupsResultOutput
> Note: This function is named GetBackups
in the Go SDK.
public static class GetBackups
{
public static Task<GetBackupsResult> InvokeAsync(GetBackupsArgs args, InvokeOptions? opts = null)
public static Output<GetBackupsResult> Invoke(GetBackupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBackupsResult> getBackups(GetBackupsArgs args, InvokeOptions options)
public static Output<GetBackupsResult> getBackups(GetBackupsArgs args, InvokeOptions options)
fn::invoke:
function: oci:Database/getBackups:getBackups
arguments:
# arguments dictionary
The following arguments are supported:
- Backup
Destination stringType - A filter to return only resources that match the given backup destination type.
- Compartment
Id string - The compartment OCID.
- Database
Id string - The OCID of the database.
- Filters
Changes to this property will trigger replacement.
Backups Filter> - Shape
Family string - If provided, filters the results to the set of database versions which are supported for the given shape family.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- Time
Expiry stringScheduled Greater Than Or Equal To - The start of date-time range of expiration for the long term backups to be fetched.
- Time
Expiry stringScheduled Less Than - The end of date-time range of expiration for the long term backups to be fetched.
- Type string
- A filter to return only backups that matches with the given type of Backup.
- Version string
- A filter to return only resources that match the given database version.
- Backup
Destination stringType - A filter to return only resources that match the given backup destination type.
- Compartment
Id string - The compartment OCID.
- Database
Id string - The OCID of the database.
- Filters
Changes to this property will trigger replacement.
Backups Filter - Shape
Family string - If provided, filters the results to the set of database versions which are supported for the given shape family.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- Time
Expiry stringScheduled Greater Than Or Equal To - The start of date-time range of expiration for the long term backups to be fetched.
- Time
Expiry stringScheduled Less Than - The end of date-time range of expiration for the long term backups to be fetched.
- Type string
- A filter to return only backups that matches with the given type of Backup.
- Version string
- A filter to return only resources that match the given database version.
- backup
Destination StringType - A filter to return only resources that match the given backup destination type.
- compartment
Id String - The compartment OCID.
- database
Id String - The OCID of the database.
- filters
Changes to this property will trigger replacement.
Backups Filter> - shape
Family String - If provided, filters the results to the set of database versions which are supported for the given shape family.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- time
Expiry StringScheduled Greater Than Or Equal To - The start of date-time range of expiration for the long term backups to be fetched.
- time
Expiry StringScheduled Less Than - The end of date-time range of expiration for the long term backups to be fetched.
- type String
- A filter to return only backups that matches with the given type of Backup.
- version String
- A filter to return only resources that match the given database version.
- backup
Destination stringType - A filter to return only resources that match the given backup destination type.
- compartment
Id string - The compartment OCID.
- database
Id string - The OCID of the database.
- filters
Changes to this property will trigger replacement.
Backups Filter[] - shape
Family string - If provided, filters the results to the set of database versions which are supported for the given shape family.
- state string
- A filter to return only resources that match the given lifecycle state exactly.
- time
Expiry stringScheduled Greater Than Or Equal To - The start of date-time range of expiration for the long term backups to be fetched.
- time
Expiry stringScheduled Less Than - The end of date-time range of expiration for the long term backups to be fetched.
- type string
- A filter to return only backups that matches with the given type of Backup.
- version string
- A filter to return only resources that match the given database version.
- backup_
destination_ strtype - A filter to return only resources that match the given backup destination type.
- compartment_
id str - The compartment OCID.
- database_
id str - The OCID of the database.
- filters
Changes to this property will trigger replacement.
Get Backups Filter] - shape_
family str - If provided, filters the results to the set of database versions which are supported for the given shape family.
- state str
- A filter to return only resources that match the given lifecycle state exactly.
- time_
expiry_ strscheduled_ greater_ than_ or_ equal_ to - The start of date-time range of expiration for the long term backups to be fetched.
- time_
expiry_ strscheduled_ less_ than - The end of date-time range of expiration for the long term backups to be fetched.
- type str
- A filter to return only backups that matches with the given type of Backup.
- version str
- A filter to return only resources that match the given database version.
- backup
Destination StringType - A filter to return only resources that match the given backup destination type.
- compartment
Id String - The compartment OCID.
- database
Id String - The OCID of the database.
- filters
Changes to this property will trigger replacement.
- shape
Family String - If provided, filters the results to the set of database versions which are supported for the given shape family.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- time
Expiry StringScheduled Greater Than Or Equal To - The start of date-time range of expiration for the long term backups to be fetched.
- time
Expiry StringScheduled Less Than - The end of date-time range of expiration for the long term backups to be fetched.
- type String
- A filter to return only backups that matches with the given type of Backup.
- version String
- A filter to return only resources that match the given database version.
getBackups Result
The following output properties are available:
- Backups
List<Get
Backups Backup> - The list of backups.
- Id string
- The provider-assigned unique ID for this managed resource.
- Backup
Destination stringType - Type of the backup destination.
- Compartment
Id string - The OCID of the compartment.
- Database
Id string - The OCID of the database.
- Filters
List<Get
Backups Filter> - Shape
Family string - State string
- The current state of the backup.
- Time
Expiry stringScheduled Greater Than Or Equal To - Time
Expiry stringScheduled Less Than - Type string
- The type of backup.
- Version string
- Version of the backup's source database
- Backups
[]Get
Backups Backup - The list of backups.
- Id string
- The provider-assigned unique ID for this managed resource.
- Backup
Destination stringType - Type of the backup destination.
- Compartment
Id string - The OCID of the compartment.
- Database
Id string - The OCID of the database.
- Filters
[]Get
Backups Filter - Shape
Family string - State string
- The current state of the backup.
- Time
Expiry stringScheduled Greater Than Or Equal To - Time
Expiry stringScheduled Less Than - Type string
- The type of backup.
- Version string
- Version of the backup's source database
- backups
List<Get
Backups Backup> - The list of backups.
- id String
- The provider-assigned unique ID for this managed resource.
- backup
Destination StringType - Type of the backup destination.
- compartment
Id String - The OCID of the compartment.
- database
Id String - The OCID of the database.
- filters
List<Get
Backups Filter> - shape
Family String - state String
- The current state of the backup.
- time
Expiry StringScheduled Greater Than Or Equal To - time
Expiry StringScheduled Less Than - type String
- The type of backup.
- version String
- Version of the backup's source database
- backups
Get
Backups Backup[] - The list of backups.
- id string
- The provider-assigned unique ID for this managed resource.
- backup
Destination stringType - Type of the backup destination.
- compartment
Id string - The OCID of the compartment.
- database
Id string - The OCID of the database.
- filters
Get
Backups Filter[] - shape
Family string - state string
- The current state of the backup.
- time
Expiry stringScheduled Greater Than Or Equal To - time
Expiry stringScheduled Less Than - type string
- The type of backup.
- version string
- Version of the backup's source database
- backups
Sequence[database.
Get Backups Backup] - The list of backups.
- id str
- The provider-assigned unique ID for this managed resource.
- backup_
destination_ strtype - Type of the backup destination.
- compartment_
id str - The OCID of the compartment.
- database_
id str - The OCID of the database.
- filters
Sequence[database.
Get Backups Filter] - shape_
family str - state str
- The current state of the backup.
- time_
expiry_ strscheduled_ greater_ than_ or_ equal_ to - time_
expiry_ strscheduled_ less_ than - type str
- The type of backup.
- version str
- Version of the backup's source database
- backups List<Property Map>
- The list of backups.
- id String
- The provider-assigned unique ID for this managed resource.
- backup
Destination StringType - Type of the backup destination.
- compartment
Id String - The OCID of the compartment.
- database
Id String - The OCID of the database.
- filters List<Property Map>
- shape
Family String - state String
- The current state of the backup.
- time
Expiry StringScheduled Greater Than Or Equal To - time
Expiry StringScheduled Less Than - type String
- The type of backup.
- version String
- Version of the backup's source database
Supporting Types
GetBackupsBackup
- Availability
Domain This property is required. string - The name of the availability domain where the database backup is stored.
- Backup
Destination Type This property is required. string - A filter to return only resources that match the given backup destination type.
- Compartment
Id This property is required. string - The compartment OCID.
- Database
Edition This property is required. string - The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
- Database
Id This property is required. string - The OCID of the database.
- Database
Size In Gbs This property is required. double - The size of the database in gigabytes at the time the backup was taken.
- Display
Name This property is required. string - The user-friendly name for the backup. The name does not have to be unique.
- Encryption
Key Location Details This property is required. List<GetBackups Backup Encryption Key Location Detail> - Types of providers supported for managing database encryption keys
- Id
This property is required. string - The OCID of the backup.
- Is
Using Oracle Managed Keys This property is required. bool - True if Oracle Managed Keys is required for restore of the backup.
- Key
Store Id This property is required. string - The OCID of the key store of Oracle Vault.
- Key
Store Wallet Name This property is required. string - The wallet name for Oracle Key Vault.
- Kms
Key Id This property is required. string - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- Kms
Key Version Id This property is required. string - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- Lifecycle
Details This property is required. string - Additional information about the current lifecycle state.
- Retention
Period In Days This property is required. int - The retention period of the long term backup in days.
- Retention
Period In Years This property is required. int - The retention period of the long term backup in years.
- Secondary
Kms Key Ids This property is required. List<string> - List of OCIDs of the key containers used as the secondary encryption key in database transparent data encryption (TDE) operations.
- Shape
This property is required. string - Shape of the backup's source database.
- State
This property is required. string - A filter to return only resources that match the given lifecycle state exactly.
- Time
Ended This property is required. string - The date and time the backup was completed.
- Time
Expiry Scheduled This property is required. string - Expiration time of the long term database backup.
- Time
Started This property is required. string - The date and time the backup started.
- Type
This property is required. string - A filter to return only backups that matches with the given type of Backup.
- Vault
Id This property is required. string - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretId
are required for Customer Managed Keys. - Version
This property is required. string - A filter to return only resources that match the given database version.
- Availability
Domain This property is required. string - The name of the availability domain where the database backup is stored.
- Backup
Destination Type This property is required. string - A filter to return only resources that match the given backup destination type.
- Compartment
Id This property is required. string - The compartment OCID.
- Database
Edition This property is required. string - The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
- Database
Id This property is required. string - The OCID of the database.
- Database
Size In Gbs This property is required. float64 - The size of the database in gigabytes at the time the backup was taken.
- Display
Name This property is required. string - The user-friendly name for the backup. The name does not have to be unique.
- Encryption
Key Location Details This property is required. []GetBackups Backup Encryption Key Location Detail - Types of providers supported for managing database encryption keys
- Id
This property is required. string - The OCID of the backup.
- Is
Using Oracle Managed Keys This property is required. bool - True if Oracle Managed Keys is required for restore of the backup.
- Key
Store Id This property is required. string - The OCID of the key store of Oracle Vault.
- Key
Store Wallet Name This property is required. string - The wallet name for Oracle Key Vault.
- Kms
Key Id This property is required. string - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- Kms
Key Version Id This property is required. string - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- Lifecycle
Details This property is required. string - Additional information about the current lifecycle state.
- Retention
Period In Days This property is required. int - The retention period of the long term backup in days.
- Retention
Period In Years This property is required. int - The retention period of the long term backup in years.
- Secondary
Kms Key Ids This property is required. []string - List of OCIDs of the key containers used as the secondary encryption key in database transparent data encryption (TDE) operations.
- Shape
This property is required. string - Shape of the backup's source database.
- State
This property is required. string - A filter to return only resources that match the given lifecycle state exactly.
- Time
Ended This property is required. string - The date and time the backup was completed.
- Time
Expiry Scheduled This property is required. string - Expiration time of the long term database backup.
- Time
Started This property is required. string - The date and time the backup started.
- Type
This property is required. string - A filter to return only backups that matches with the given type of Backup.
- Vault
Id This property is required. string - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretId
are required for Customer Managed Keys. - Version
This property is required. string - A filter to return only resources that match the given database version.
- availability
Domain This property is required. String - The name of the availability domain where the database backup is stored.
- backup
Destination Type This property is required. String - A filter to return only resources that match the given backup destination type.
- compartment
Id This property is required. String - The compartment OCID.
- database
Edition This property is required. String - The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
- database
Id This property is required. String - The OCID of the database.
- database
Size In Gbs This property is required. Double - The size of the database in gigabytes at the time the backup was taken.
- display
Name This property is required. String - The user-friendly name for the backup. The name does not have to be unique.
- encryption
Key Location Details This property is required. List<GetBackups Backup Encryption Key Location Detail> - Types of providers supported for managing database encryption keys
- id
This property is required. String - The OCID of the backup.
- is
Using Oracle Managed Keys This property is required. Boolean - True if Oracle Managed Keys is required for restore of the backup.
- key
Store Id This property is required. String - The OCID of the key store of Oracle Vault.
- key
Store Wallet Name This property is required. String - The wallet name for Oracle Key Vault.
- kms
Key Id This property is required. String - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms
Key Version Id This property is required. String - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- lifecycle
Details This property is required. String - Additional information about the current lifecycle state.
- retention
Period In Days This property is required. Integer - The retention period of the long term backup in days.
- retention
Period In Years This property is required. Integer - The retention period of the long term backup in years.
- secondary
Kms Key Ids This property is required. List<String> - List of OCIDs of the key containers used as the secondary encryption key in database transparent data encryption (TDE) operations.
- shape
This property is required. String - Shape of the backup's source database.
- state
This property is required. String - A filter to return only resources that match the given lifecycle state exactly.
- time
Ended This property is required. String - The date and time the backup was completed.
- time
Expiry Scheduled This property is required. String - Expiration time of the long term database backup.
- time
Started This property is required. String - The date and time the backup started.
- type
This property is required. String - A filter to return only backups that matches with the given type of Backup.
- vault
Id This property is required. String - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretId
are required for Customer Managed Keys. - version
This property is required. String - A filter to return only resources that match the given database version.
- availability
Domain This property is required. string - The name of the availability domain where the database backup is stored.
- backup
Destination Type This property is required. string - A filter to return only resources that match the given backup destination type.
- compartment
Id This property is required. string - The compartment OCID.
- database
Edition This property is required. string - The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
- database
Id This property is required. string - The OCID of the database.
- database
Size In Gbs This property is required. number - The size of the database in gigabytes at the time the backup was taken.
- display
Name This property is required. string - The user-friendly name for the backup. The name does not have to be unique.
- encryption
Key Location Details This property is required. GetBackups Backup Encryption Key Location Detail[] - Types of providers supported for managing database encryption keys
- id
This property is required. string - The OCID of the backup.
- is
Using Oracle Managed Keys This property is required. boolean - True if Oracle Managed Keys is required for restore of the backup.
- key
Store Id This property is required. string - The OCID of the key store of Oracle Vault.
- key
Store Wallet Name This property is required. string - The wallet name for Oracle Key Vault.
- kms
Key Id This property is required. string - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms
Key Version Id This property is required. string - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- lifecycle
Details This property is required. string - Additional information about the current lifecycle state.
- retention
Period In Days This property is required. number - The retention period of the long term backup in days.
- retention
Period In Years This property is required. number - The retention period of the long term backup in years.
- secondary
Kms Key Ids This property is required. string[] - List of OCIDs of the key containers used as the secondary encryption key in database transparent data encryption (TDE) operations.
- shape
This property is required. string - Shape of the backup's source database.
- state
This property is required. string - A filter to return only resources that match the given lifecycle state exactly.
- time
Ended This property is required. string - The date and time the backup was completed.
- time
Expiry Scheduled This property is required. string - Expiration time of the long term database backup.
- time
Started This property is required. string - The date and time the backup started.
- type
This property is required. string - A filter to return only backups that matches with the given type of Backup.
- vault
Id This property is required. string - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretId
are required for Customer Managed Keys. - version
This property is required. string - A filter to return only resources that match the given database version.
- availability_
domain This property is required. str - The name of the availability domain where the database backup is stored.
- backup_
destination_ type This property is required. str - A filter to return only resources that match the given backup destination type.
- compartment_
id This property is required. str - The compartment OCID.
- database_
edition This property is required. str - The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
- database_
id This property is required. str - The OCID of the database.
- database_
size_ in_ gbs This property is required. float - The size of the database in gigabytes at the time the backup was taken.
- display_
name This property is required. str - The user-friendly name for the backup. The name does not have to be unique.
- encryption_
key_ location_ details This property is required. Sequence[database.Get Backups Backup Encryption Key Location Detail] - Types of providers supported for managing database encryption keys
- id
This property is required. str - The OCID of the backup.
- is_
using_ oracle_ managed_ keys This property is required. bool - True if Oracle Managed Keys is required for restore of the backup.
- key_
store_ id This property is required. str - The OCID of the key store of Oracle Vault.
- key_
store_ wallet_ name This property is required. str - The wallet name for Oracle Key Vault.
- kms_
key_ id This property is required. str - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms_
key_ version_ id This property is required. str - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- lifecycle_
details This property is required. str - Additional information about the current lifecycle state.
- retention_
period_ in_ days This property is required. int - The retention period of the long term backup in days.
- retention_
period_ in_ years This property is required. int - The retention period of the long term backup in years.
- secondary_
kms_ key_ ids This property is required. Sequence[str] - List of OCIDs of the key containers used as the secondary encryption key in database transparent data encryption (TDE) operations.
- shape
This property is required. str - Shape of the backup's source database.
- state
This property is required. str - A filter to return only resources that match the given lifecycle state exactly.
- time_
ended This property is required. str - The date and time the backup was completed.
- time_
expiry_ scheduled This property is required. str - Expiration time of the long term database backup.
- time_
started This property is required. str - The date and time the backup started.
- type
This property is required. str - A filter to return only backups that matches with the given type of Backup.
- vault_
id This property is required. str - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretId
are required for Customer Managed Keys. - version
This property is required. str - A filter to return only resources that match the given database version.
- availability
Domain This property is required. String - The name of the availability domain where the database backup is stored.
- backup
Destination Type This property is required. String - A filter to return only resources that match the given backup destination type.
- compartment
Id This property is required. String - The compartment OCID.
- database
Edition This property is required. String - The Oracle Database Edition that applies to all the databases on the DB system. Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
- database
Id This property is required. String - The OCID of the database.
- database
Size In Gbs This property is required. Number - The size of the database in gigabytes at the time the backup was taken.
- display
Name This property is required. String - The user-friendly name for the backup. The name does not have to be unique.
- encryption
Key Location Details This property is required. List<Property Map> - Types of providers supported for managing database encryption keys
- id
This property is required. String - The OCID of the backup.
- is
Using Oracle Managed Keys This property is required. Boolean - True if Oracle Managed Keys is required for restore of the backup.
- key
Store Id This property is required. String - The OCID of the key store of Oracle Vault.
- key
Store Wallet Name This property is required. String - The wallet name for Oracle Key Vault.
- kms
Key Id This property is required. String - The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
- kms
Key Version Id This property is required. String - The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
- lifecycle
Details This property is required. String - Additional information about the current lifecycle state.
- retention
Period In Days This property is required. Number - The retention period of the long term backup in days.
- retention
Period In Years This property is required. Number - The retention period of the long term backup in years.
- secondary
Kms Key Ids This property is required. List<String> - List of OCIDs of the key containers used as the secondary encryption key in database transparent data encryption (TDE) operations.
- shape
This property is required. String - Shape of the backup's source database.
- state
This property is required. String - A filter to return only resources that match the given lifecycle state exactly.
- time
Ended This property is required. String - The date and time the backup was completed.
- time
Expiry Scheduled This property is required. String - Expiration time of the long term database backup.
- time
Started This property is required. String - The date and time the backup started.
- type
This property is required. String - A filter to return only backups that matches with the given type of Backup.
- vault
Id This property is required. String - The OCID of the Oracle Cloud Infrastructure vault. This parameter and
secretId
are required for Customer Managed Keys. - version
This property is required. String - A filter to return only resources that match the given database version.
GetBackupsBackupEncryptionKeyLocationDetail
- Hsm
Password This property is required. string - Provide the HSM password as you would in RDBMS for External HSM.
- Provider
Type This property is required. string - Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
- Hsm
Password This property is required. string - Provide the HSM password as you would in RDBMS for External HSM.
- Provider
Type This property is required. string - Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
- hsm
Password This property is required. String - Provide the HSM password as you would in RDBMS for External HSM.
- provider
Type This property is required. String - Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
- hsm
Password This property is required. string - Provide the HSM password as you would in RDBMS for External HSM.
- provider
Type This property is required. string - Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
- hsm_
password This property is required. str - Provide the HSM password as you would in RDBMS for External HSM.
- provider_
type This property is required. str - Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
- hsm
Password This property is required. String - Provide the HSM password as you would in RDBMS for External HSM.
- provider
Type This property is required. String - Use 'EXTERNAL' for creating a new database or migrate database key with External HSM.
GetBackupsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.