1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Psql
  5. getBackups
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.Psql.getBackups

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Backups in Oracle Cloud Infrastructure Psql service.

Returns a list of backups.

Example Usage

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

const testBackups = oci.Psql.getBackups({
    backupId: testBackup.id,
    compartmentId: compartmentId,
    displayName: backupDisplayName,
    id: backupId,
    state: backupState,
    timeEnded: backupTimeEnded,
    timeStarted: backupTimeStarted,
});
Copy
import pulumi
import pulumi_oci as oci

test_backups = oci.Psql.get_backups(backup_id=test_backup["id"],
    compartment_id=compartment_id,
    display_name=backup_display_name,
    id=backup_id,
    state=backup_state,
    time_ended=backup_time_ended,
    time_started=backup_time_started)
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := psql.GetBackups(ctx, &psql.GetBackupsArgs{
			BackupId:      pulumi.StringRef(testBackup.Id),
			CompartmentId: pulumi.StringRef(compartmentId),
			DisplayName:   pulumi.StringRef(backupDisplayName),
			Id:            pulumi.StringRef(backupId),
			State:         pulumi.StringRef(backupState),
			TimeEnded:     pulumi.StringRef(backupTimeEnded),
			TimeStarted:   pulumi.StringRef(backupTimeStarted),
		}, 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 testBackups = Oci.Psql.GetBackups.Invoke(new()
    {
        BackupId = testBackup.Id,
        CompartmentId = compartmentId,
        DisplayName = backupDisplayName,
        Id = backupId,
        State = backupState,
        TimeEnded = backupTimeEnded,
        TimeStarted = backupTimeStarted,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Psql.PsqlFunctions;
import com.pulumi.oci.Psql.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 = PsqlFunctions.getBackups(GetBackupsArgs.builder()
            .backupId(testBackup.id())
            .compartmentId(compartmentId)
            .displayName(backupDisplayName)
            .id(backupId)
            .state(backupState)
            .timeEnded(backupTimeEnded)
            .timeStarted(backupTimeStarted)
            .build());

    }
}
Copy
variables:
  testBackups:
    fn::invoke:
      function: oci:Psql:getBackups
      arguments:
        backupId: ${testBackup.id}
        compartmentId: ${compartmentId}
        displayName: ${backupDisplayName}
        id: ${backupId}
        state: ${backupState}
        timeEnded: ${backupTimeEnded}
        timeStarted: ${backupTimeStarted}
Copy

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>
Copy
def get_backups(backup_id: Optional[str] = None,
                compartment_id: Optional[str] = None,
                display_name: Optional[str] = None,
                filters: Optional[Sequence[_psql.GetBackupsFilter]] = None,
                id: Optional[str] = None,
                state: Optional[str] = None,
                time_ended: Optional[str] = None,
                time_started: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetBackupsResult
def get_backups_output(backup_id: Optional[pulumi.Input[str]] = None,
                compartment_id: Optional[pulumi.Input[str]] = None,
                display_name: Optional[pulumi.Input[str]] = None,
                filters: Optional[pulumi.Input[Sequence[pulumi.Input[_psql.GetBackupsFilterArgs]]]] = None,
                id: Optional[pulumi.Input[str]] = None,
                state: Optional[pulumi.Input[str]] = None,
                time_ended: Optional[pulumi.Input[str]] = None,
                time_started: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetBackupsResult]
Copy
func GetBackups(ctx *Context, args *GetBackupsArgs, opts ...InvokeOption) (*GetBackupsResult, error)
func GetBackupsOutput(ctx *Context, args *GetBackupsOutputArgs, opts ...InvokeOption) GetBackupsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetBackupsResult> getBackups(GetBackupsArgs args, InvokeOptions options)
public static Output<GetBackupsResult> getBackups(GetBackupsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Psql/getBackups:getBackups
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BackupId string
A unique identifier for the backup.
CompartmentId string
The ID of the compartment in which to list resources.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. List<GetBackupsFilter>
Id string
A unique identifier for the database system.
State string
A filter to return only resources if their lifecycleState matches the given lifecycleState.
TimeEnded string
The end date for getting backups. An RFC 3339 formatted datetime string.
TimeStarted string
The start date for getting backups. An RFC 3339 formatted datetime string.
BackupId string
A unique identifier for the backup.
CompartmentId string
The ID of the compartment in which to list resources.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. []GetBackupsFilter
Id string
A unique identifier for the database system.
State string
A filter to return only resources if their lifecycleState matches the given lifecycleState.
TimeEnded string
The end date for getting backups. An RFC 3339 formatted datetime string.
TimeStarted string
The start date for getting backups. An RFC 3339 formatted datetime string.
backupId String
A unique identifier for the backup.
compartmentId String
The ID of the compartment in which to list resources.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<GetBackupsFilter>
id String
A unique identifier for the database system.
state String
A filter to return only resources if their lifecycleState matches the given lifecycleState.
timeEnded String
The end date for getting backups. An RFC 3339 formatted datetime string.
timeStarted String
The start date for getting backups. An RFC 3339 formatted datetime string.
backupId string
A unique identifier for the backup.
compartmentId string
The ID of the compartment in which to list resources.
displayName string
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. GetBackupsFilter[]
id string
A unique identifier for the database system.
state string
A filter to return only resources if their lifecycleState matches the given lifecycleState.
timeEnded string
The end date for getting backups. An RFC 3339 formatted datetime string.
timeStarted string
The start date for getting backups. An RFC 3339 formatted datetime string.
backup_id str
A unique identifier for the backup.
compartment_id str
The ID of the compartment in which to list resources.
display_name str
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. Sequence[psql.GetBackupsFilter]
id str
A unique identifier for the database system.
state str
A filter to return only resources if their lifecycleState matches the given lifecycleState.
time_ended str
The end date for getting backups. An RFC 3339 formatted datetime string.
time_started str
The start date for getting backups. An RFC 3339 formatted datetime string.
backupId String
A unique identifier for the backup.
compartmentId String
The ID of the compartment in which to list resources.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<Property Map>
id String
A unique identifier for the database system.
state String
A filter to return only resources if their lifecycleState matches the given lifecycleState.
timeEnded String
The end date for getting backups. An RFC 3339 formatted datetime string.
timeStarted String
The start date for getting backups. An RFC 3339 formatted datetime string.

getBackups Result

The following output properties are available:

BackupCollections List<GetBackupsBackupCollection>
The list of backup_collection.
BackupId string
The OCID of the backup in the source region
CompartmentId string
The OCID of the compartment that contains the backup.
DisplayName string
A user-friendly display name for the backup. Avoid entering confidential information.
Filters List<GetBackupsFilter>
Id string
The OCID of the backup.
State string
The current state of the backup.
TimeEnded string
TimeStarted string
BackupCollections []GetBackupsBackupCollection
The list of backup_collection.
BackupId string
The OCID of the backup in the source region
CompartmentId string
The OCID of the compartment that contains the backup.
DisplayName string
A user-friendly display name for the backup. Avoid entering confidential information.
Filters []GetBackupsFilter
Id string
The OCID of the backup.
State string
The current state of the backup.
TimeEnded string
TimeStarted string
backupCollections List<GetBackupsBackupCollection>
The list of backup_collection.
backupId String
The OCID of the backup in the source region
compartmentId String
The OCID of the compartment that contains the backup.
displayName String
A user-friendly display name for the backup. Avoid entering confidential information.
filters List<GetBackupsFilter>
id String
The OCID of the backup.
state String
The current state of the backup.
timeEnded String
timeStarted String
backupCollections GetBackupsBackupCollection[]
The list of backup_collection.
backupId string
The OCID of the backup in the source region
compartmentId string
The OCID of the compartment that contains the backup.
displayName string
A user-friendly display name for the backup. Avoid entering confidential information.
filters GetBackupsFilter[]
id string
The OCID of the backup.
state string
The current state of the backup.
timeEnded string
timeStarted string
backup_collections Sequence[psql.GetBackupsBackupCollection]
The list of backup_collection.
backup_id str
The OCID of the backup in the source region
compartment_id str
The OCID of the compartment that contains the backup.
display_name str
A user-friendly display name for the backup. Avoid entering confidential information.
filters Sequence[psql.GetBackupsFilter]
id str
The OCID of the backup.
state str
The current state of the backup.
time_ended str
time_started str
backupCollections List<Property Map>
The list of backup_collection.
backupId String
The OCID of the backup in the source region
compartmentId String
The OCID of the compartment that contains the backup.
displayName String
A user-friendly display name for the backup. Avoid entering confidential information.
filters List<Property Map>
id String
The OCID of the backup.
state String
The current state of the backup.
timeEnded String
timeStarted String

Supporting Types

GetBackupsBackupCollection

Items This property is required. List<GetBackupsBackupCollectionItem>
Items This property is required. []GetBackupsBackupCollectionItem
items This property is required. List<GetBackupsBackupCollectionItem>
items This property is required. GetBackupsBackupCollectionItem[]
items This property is required. List<Property Map>

GetBackupsBackupCollectionItem

BackupSize This property is required. int
The size of the backup, in gigabytes.
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
CopyStatuses This property is required. List<GetBackupsBackupCollectionItemCopyStatus>
List of status for Backup Copy
DbSystemDetails This property is required. List<GetBackupsBackupCollectionItemDbSystemDetail>
Information about the database system associated with a backup.
DbSystemId This property is required. string
The OCID of the backup's source database system.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description This property is required. string
A description for the backup.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
FreeformTags This property is required. 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"}
Id This property is required. string
A unique identifier for the database system.
LastAcceptedRequestToken This property is required. string
lastAcceptedRequestToken from MP.
LastCompletedRequestToken This property is required. string
lastCompletedRequestToken from MP.
LifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
RetentionPeriod This property is required. int
Backup retention period in days.
SourceBackupDetails This property is required. List<GetBackupsBackupCollectionItemSourceBackupDetail>
Information about the Source Backup associated with a backup.
SourceType This property is required. string
Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.
State This property is required. string
A filter to return only resources if their lifecycleState matches the given lifecycleState.
SystemTags This property is required. Dictionary<string, string>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The date and time the backup request was received, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
TimeCreatedPrecise This property is required. string
The date and time the backup was created. This is the time the actual point-in-time data snapshot was taken, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
TimeUpdated This property is required. string
The date and time the backup was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
BackupSize This property is required. int
The size of the backup, in gigabytes.
CompartmentId This property is required. string
The ID of the compartment in which to list resources.
CopyStatuses This property is required. []GetBackupsBackupCollectionItemCopyStatus
List of status for Backup Copy
DbSystemDetails This property is required. []GetBackupsBackupCollectionItemDbSystemDetail
Information about the database system associated with a backup.
DbSystemId This property is required. string
The OCID of the backup's source database system.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
Description This property is required. string
A description for the backup.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
FreeformTags This property is required. 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"}
Id This property is required. string
A unique identifier for the database system.
LastAcceptedRequestToken This property is required. string
lastAcceptedRequestToken from MP.
LastCompletedRequestToken This property is required. string
lastCompletedRequestToken from MP.
LifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
RetentionPeriod This property is required. int
Backup retention period in days.
SourceBackupDetails This property is required. []GetBackupsBackupCollectionItemSourceBackupDetail
Information about the Source Backup associated with a backup.
SourceType This property is required. string
Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.
State This property is required. string
A filter to return only resources if their lifecycleState matches the given lifecycleState.
SystemTags This property is required. map[string]string
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The date and time the backup request was received, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
TimeCreatedPrecise This property is required. string
The date and time the backup was created. This is the time the actual point-in-time data snapshot was taken, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
TimeUpdated This property is required. string
The date and time the backup was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
backupSize This property is required. Integer
The size of the backup, in gigabytes.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
copyStatuses This property is required. List<GetBackupsBackupCollectionItemCopyStatus>
List of status for Backup Copy
dbSystemDetails This property is required. List<GetBackupsBackupCollectionItemDbSystemDetail>
Information about the database system associated with a backup.
dbSystemId This property is required. String
The OCID of the backup's source database system.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. String
A description for the backup.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
freeformTags This property is required. 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"}
id This property is required. String
A unique identifier for the database system.
lastAcceptedRequestToken This property is required. String
lastAcceptedRequestToken from MP.
lastCompletedRequestToken This property is required. String
lastCompletedRequestToken from MP.
lifecycleDetails This property is required. String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
retentionPeriod This property is required. Integer
Backup retention period in days.
sourceBackupDetails This property is required. List<GetBackupsBackupCollectionItemSourceBackupDetail>
Information about the Source Backup associated with a backup.
sourceType This property is required. String
Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.
state This property is required. String
A filter to return only resources if their lifecycleState matches the given lifecycleState.
systemTags This property is required. Map<String,String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The date and time the backup request was received, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
timeCreatedPrecise This property is required. String
The date and time the backup was created. This is the time the actual point-in-time data snapshot was taken, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
timeUpdated This property is required. String
The date and time the backup was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
backupSize This property is required. number
The size of the backup, in gigabytes.
compartmentId This property is required. string
The ID of the compartment in which to list resources.
copyStatuses This property is required. GetBackupsBackupCollectionItemCopyStatus[]
List of status for Backup Copy
dbSystemDetails This property is required. GetBackupsBackupCollectionItemDbSystemDetail[]
Information about the database system associated with a backup.
dbSystemId This property is required. string
The OCID of the backup's source database system.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. string
A description for the backup.
displayName This property is required. string
A filter to return only resources that match the entire display name given.
freeformTags This property is required. {[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"}
id This property is required. string
A unique identifier for the database system.
lastAcceptedRequestToken This property is required. string
lastAcceptedRequestToken from MP.
lastCompletedRequestToken This property is required. string
lastCompletedRequestToken from MP.
lifecycleDetails This property is required. string
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
retentionPeriod This property is required. number
Backup retention period in days.
sourceBackupDetails This property is required. GetBackupsBackupCollectionItemSourceBackupDetail[]
Information about the Source Backup associated with a backup.
sourceType This property is required. string
Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.
state This property is required. string
A filter to return only resources if their lifecycleState matches the given lifecycleState.
systemTags This property is required. {[key: string]: string}
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. string
The date and time the backup request was received, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
timeCreatedPrecise This property is required. string
The date and time the backup was created. This is the time the actual point-in-time data snapshot was taken, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
timeUpdated This property is required. string
The date and time the backup was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
backup_size This property is required. int
The size of the backup, in gigabytes.
compartment_id This property is required. str
The ID of the compartment in which to list resources.
copy_statuses This property is required. Sequence[psql.GetBackupsBackupCollectionItemCopyStatus]
List of status for Backup Copy
db_system_details This property is required. Sequence[psql.GetBackupsBackupCollectionItemDbSystemDetail]
Information about the database system associated with a backup.
db_system_id This property is required. str
The OCID of the backup's source database system.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. str
A description for the backup.
display_name This property is required. str
A filter to return only resources that match the entire display name given.
freeform_tags This property is required. 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"}
id This property is required. str
A unique identifier for the database system.
last_accepted_request_token This property is required. str
lastAcceptedRequestToken from MP.
last_completed_request_token This property is required. str
lastCompletedRequestToken from MP.
lifecycle_details This property is required. str
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
retention_period This property is required. int
Backup retention period in days.
source_backup_details This property is required. Sequence[psql.GetBackupsBackupCollectionItemSourceBackupDetail]
Information about the Source Backup associated with a backup.
source_type This property is required. str
Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.
state This property is required. str
A filter to return only resources if their lifecycleState matches the given lifecycleState.
system_tags This property is required. Mapping[str, str]
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created This property is required. str
The date and time the backup request was received, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
time_created_precise This property is required. str
The date and time the backup was created. This is the time the actual point-in-time data snapshot was taken, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
time_updated This property is required. str
The date and time the backup was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
backupSize This property is required. Number
The size of the backup, in gigabytes.
compartmentId This property is required. String
The ID of the compartment in which to list resources.
copyStatuses This property is required. List<Property Map>
List of status for Backup Copy
dbSystemDetails This property is required. List<Property Map>
Information about the database system associated with a backup.
dbSystemId This property is required. String
The OCID of the backup's source database system.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
description This property is required. String
A description for the backup.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
freeformTags This property is required. 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"}
id This property is required. String
A unique identifier for the database system.
lastAcceptedRequestToken This property is required. String
lastAcceptedRequestToken from MP.
lastCompletedRequestToken This property is required. String
lastCompletedRequestToken from MP.
lifecycleDetails This property is required. String
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
retentionPeriod This property is required. Number
Backup retention period in days.
sourceBackupDetails This property is required. List<Property Map>
Information about the Source Backup associated with a backup.
sourceType This property is required. String
Specifies whether the backup was created manually, taken on schedule defined in the a backup policy, or copied from the remote location.
state This property is required. String
A filter to return only resources if their lifecycleState matches the given lifecycleState.
systemTags This property is required. Map<String>
System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The date and time the backup request was received, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
timeCreatedPrecise This property is required. String
The date and time the backup was created. This is the time the actual point-in-time data snapshot was taken, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z
timeUpdated This property is required. String
The date and time the backup was updated, expressed in RFC 3339 timestamp format. Example: 2016-08-25T21:10:29.600Z

GetBackupsBackupCollectionItemCopyStatus

BackupId This property is required. string
A unique identifier for the backup.
Region This property is required. string
Region name of the remote region
State This property is required. string
A filter to return only resources if their lifecycleState matches the given lifecycleState.
StateDetails This property is required. string
A message describing the current state of copy in more detail
BackupId This property is required. string
A unique identifier for the backup.
Region This property is required. string
Region name of the remote region
State This property is required. string
A filter to return only resources if their lifecycleState matches the given lifecycleState.
StateDetails This property is required. string
A message describing the current state of copy in more detail
backupId This property is required. String
A unique identifier for the backup.
region This property is required. String
Region name of the remote region
state This property is required. String
A filter to return only resources if their lifecycleState matches the given lifecycleState.
stateDetails This property is required. String
A message describing the current state of copy in more detail
backupId This property is required. string
A unique identifier for the backup.
region This property is required. string
Region name of the remote region
state This property is required. string
A filter to return only resources if their lifecycleState matches the given lifecycleState.
stateDetails This property is required. string
A message describing the current state of copy in more detail
backup_id This property is required. str
A unique identifier for the backup.
region This property is required. str
Region name of the remote region
state This property is required. str
A filter to return only resources if their lifecycleState matches the given lifecycleState.
state_details This property is required. str
A message describing the current state of copy in more detail
backupId This property is required. String
A unique identifier for the backup.
region This property is required. String
Region name of the remote region
state This property is required. String
A filter to return only resources if their lifecycleState matches the given lifecycleState.
stateDetails This property is required. String
A message describing the current state of copy in more detail

GetBackupsBackupCollectionItemDbSystemDetail

ConfigId This property is required. string
OCID of the configuration that was applied on the source dbSystem at the time when backup was taken.
DbVersion This property is required. string
The major and minor versions of the database system software.
SystemType This property is required. string
Type of the database system.
ConfigId This property is required. string
OCID of the configuration that was applied on the source dbSystem at the time when backup was taken.
DbVersion This property is required. string
The major and minor versions of the database system software.
SystemType This property is required. string
Type of the database system.
configId This property is required. String
OCID of the configuration that was applied on the source dbSystem at the time when backup was taken.
dbVersion This property is required. String
The major and minor versions of the database system software.
systemType This property is required. String
Type of the database system.
configId This property is required. string
OCID of the configuration that was applied on the source dbSystem at the time when backup was taken.
dbVersion This property is required. string
The major and minor versions of the database system software.
systemType This property is required. string
Type of the database system.
config_id This property is required. str
OCID of the configuration that was applied on the source dbSystem at the time when backup was taken.
db_version This property is required. str
The major and minor versions of the database system software.
system_type This property is required. str
Type of the database system.
configId This property is required. String
OCID of the configuration that was applied on the source dbSystem at the time when backup was taken.
dbVersion This property is required. String
The major and minor versions of the database system software.
systemType This property is required. String
Type of the database system.

GetBackupsBackupCollectionItemSourceBackupDetail

SourceBackupId This property is required. string
Backup ID of the COPY source type.
SourceRegion This property is required. string
Backup Region of the COPY source type.
SourceBackupId This property is required. string
Backup ID of the COPY source type.
SourceRegion This property is required. string
Backup Region of the COPY source type.
sourceBackupId This property is required. String
Backup ID of the COPY source type.
sourceRegion This property is required. String
Backup Region of the COPY source type.
sourceBackupId This property is required. string
Backup ID of the COPY source type.
sourceRegion This property is required. string
Backup Region of the COPY source type.
source_backup_id This property is required. str
Backup ID of the COPY source type.
source_region This property is required. str
Backup Region of the COPY source type.
sourceBackupId This property is required. String
Backup ID of the COPY source type.
sourceRegion This property is required. String
Backup Region of the COPY source type.

GetBackupsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

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.29.0 published on Wednesday, Apr 9, 2025 by Pulumi