1. Packages
  2. Azure Classic
  3. API Docs
  4. oracle
  5. getAutonomousDatabaseBackups

We recommend using Azure Native.

Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi

azure.oracle.getAutonomousDatabaseBackups

Get Started
azure logo

We recommend using Azure Native.

Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi

    Use this data source to access information about existing Autonomous Database Backups.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = azure.oracle.getAutonomousDatabaseBackups({
        autonomousDatabaseId: exampleAzurermOracleAutonomousDatabase.id,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.oracle.get_autonomous_database_backups(autonomous_database_id=example_azurerm_oracle_autonomous_database["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/oracle"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oracle.GetAutonomousDatabaseBackups(ctx, &oracle.GetAutonomousDatabaseBackupsArgs{
    			AutonomousDatabaseId: exampleAzurermOracleAutonomousDatabase.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Azure.Oracle.GetAutonomousDatabaseBackups.Invoke(new()
        {
            AutonomousDatabaseId = exampleAzurermOracleAutonomousDatabase.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.oracle.OracleFunctions;
    import com.pulumi.azure.oracle.inputs.GetAutonomousDatabaseBackupsArgs;
    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 example = OracleFunctions.getAutonomousDatabaseBackups(GetAutonomousDatabaseBackupsArgs.builder()
                .autonomousDatabaseId(exampleAzurermOracleAutonomousDatabase.id())
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: azure:oracle:getAutonomousDatabaseBackups
          arguments:
            autonomousDatabaseId: ${exampleAzurermOracleAutonomousDatabase.id}
    

    API Providers

    This data source uses the following Azure API Providers:

    • Oracle.Database - 2025-03-01

    Using getAutonomousDatabaseBackups

    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 getAutonomousDatabaseBackups(args: GetAutonomousDatabaseBackupsArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseBackupsResult>
    function getAutonomousDatabaseBackupsOutput(args: GetAutonomousDatabaseBackupsOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseBackupsResult>
    def get_autonomous_database_backups(autonomous_database_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseBackupsResult
    def get_autonomous_database_backups_output(autonomous_database_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseBackupsResult]
    func GetAutonomousDatabaseBackups(ctx *Context, args *GetAutonomousDatabaseBackupsArgs, opts ...InvokeOption) (*GetAutonomousDatabaseBackupsResult, error)
    func GetAutonomousDatabaseBackupsOutput(ctx *Context, args *GetAutonomousDatabaseBackupsOutputArgs, opts ...InvokeOption) GetAutonomousDatabaseBackupsResultOutput

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

    public static class GetAutonomousDatabaseBackups 
    {
        public static Task<GetAutonomousDatabaseBackupsResult> InvokeAsync(GetAutonomousDatabaseBackupsArgs args, InvokeOptions? opts = null)
        public static Output<GetAutonomousDatabaseBackupsResult> Invoke(GetAutonomousDatabaseBackupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAutonomousDatabaseBackupsResult> getAutonomousDatabaseBackups(GetAutonomousDatabaseBackupsArgs args, InvokeOptions options)
    public static Output<GetAutonomousDatabaseBackupsResult> getAutonomousDatabaseBackups(GetAutonomousDatabaseBackupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure:oracle/getAutonomousDatabaseBackups:getAutonomousDatabaseBackups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AutonomousDatabaseId string
    The azureId of the Autonomous Database for which the backups will be listed.
    AutonomousDatabaseId string
    The azureId of the Autonomous Database for which the backups will be listed.
    autonomousDatabaseId String
    The azureId of the Autonomous Database for which the backups will be listed.
    autonomousDatabaseId string
    The azureId of the Autonomous Database for which the backups will be listed.
    autonomous_database_id str
    The azureId of the Autonomous Database for which the backups will be listed.
    autonomousDatabaseId String
    The azureId of the Autonomous Database for which the backups will be listed.

    getAutonomousDatabaseBackups Result

    The following output properties are available:

    AutonomousDatabaseBackups List<GetAutonomousDatabaseBackupsAutonomousDatabaseBackup>
    An autonomous_database_backups block as defined below.
    AutonomousDatabaseId string
    Id string
    The provider-assigned unique ID for this managed resource.
    AutonomousDatabaseBackups []GetAutonomousDatabaseBackupsAutonomousDatabaseBackup
    An autonomous_database_backups block as defined below.
    AutonomousDatabaseId string
    Id string
    The provider-assigned unique ID for this managed resource.
    autonomousDatabaseBackups List<GetAutonomousDatabaseBackupsAutonomousDatabaseBackup>
    An autonomous_database_backups block as defined below.
    autonomousDatabaseId String
    id String
    The provider-assigned unique ID for this managed resource.
    autonomousDatabaseBackups GetAutonomousDatabaseBackupsAutonomousDatabaseBackup[]
    An autonomous_database_backups block as defined below.
    autonomousDatabaseId string
    id string
    The provider-assigned unique ID for this managed resource.
    autonomous_database_backups Sequence[GetAutonomousDatabaseBackupsAutonomousDatabaseBackup]
    An autonomous_database_backups block as defined below.
    autonomous_database_id str
    id str
    The provider-assigned unique ID for this managed resource.
    autonomousDatabaseBackups List<Property Map>
    An autonomous_database_backups block as defined below.
    autonomousDatabaseId String
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetAutonomousDatabaseBackupsAutonomousDatabaseBackup

    Automatic bool
    Indicates whether the backup is user-initiated or automatic.
    AutonomousDatabaseBackupOcid string
    The backup OCID.
    AutonomousDatabaseOcid string
    The OCID of the Autonomous Database OCID.
    DatabaseBackupSizeInTbs double
    DatabaseVersion string
    The Oracle Database version of the Autonomous Database at the time the backup was taken.
    DisplayName string
    The user-friendly name of the backup.
    Id string
    The ID of the Autonomous Database Backup.
    LifecycleDetails string
    Information about the current lifecycle state of the backup.
    LifecycleState string
    The current state of the backup.
    Location string
    `- The Azure Region where the Autonomous Database Backup exists.
    ProvisioningState string
    The current provisioning state of the Autonomous Database Backup.
    Restorable bool
    Indicates whether the backup can be used to restore the Autonomous Database.
    RetentionPeriodInDays int
    The retention period in days for the Autonomous Database Backup.
    TimeAvailableTil string
    The date and time the backup will become unusable.
    TimeEnded string
    The date and time the backup was completed.
    TimeStarted string
    The date and time the backup started.
    Type string
    The type of backup.
    Automatic bool
    Indicates whether the backup is user-initiated or automatic.
    AutonomousDatabaseBackupOcid string
    The backup OCID.
    AutonomousDatabaseOcid string
    The OCID of the Autonomous Database OCID.
    DatabaseBackupSizeInTbs float64
    DatabaseVersion string
    The Oracle Database version of the Autonomous Database at the time the backup was taken.
    DisplayName string
    The user-friendly name of the backup.
    Id string
    The ID of the Autonomous Database Backup.
    LifecycleDetails string
    Information about the current lifecycle state of the backup.
    LifecycleState string
    The current state of the backup.
    Location string
    `- The Azure Region where the Autonomous Database Backup exists.
    ProvisioningState string
    The current provisioning state of the Autonomous Database Backup.
    Restorable bool
    Indicates whether the backup can be used to restore the Autonomous Database.
    RetentionPeriodInDays int
    The retention period in days for the Autonomous Database Backup.
    TimeAvailableTil string
    The date and time the backup will become unusable.
    TimeEnded string
    The date and time the backup was completed.
    TimeStarted string
    The date and time the backup started.
    Type string
    The type of backup.
    automatic Boolean
    Indicates whether the backup is user-initiated or automatic.
    autonomousDatabaseBackupOcid String
    The backup OCID.
    autonomousDatabaseOcid String
    The OCID of the Autonomous Database OCID.
    databaseBackupSizeInTbs Double
    databaseVersion String
    The Oracle Database version of the Autonomous Database at the time the backup was taken.
    displayName String
    The user-friendly name of the backup.
    id String
    The ID of the Autonomous Database Backup.
    lifecycleDetails String
    Information about the current lifecycle state of the backup.
    lifecycleState String
    The current state of the backup.
    location String
    `- The Azure Region where the Autonomous Database Backup exists.
    provisioningState String
    The current provisioning state of the Autonomous Database Backup.
    restorable Boolean
    Indicates whether the backup can be used to restore the Autonomous Database.
    retentionPeriodInDays Integer
    The retention period in days for the Autonomous Database Backup.
    timeAvailableTil String
    The date and time the backup will become unusable.
    timeEnded String
    The date and time the backup was completed.
    timeStarted String
    The date and time the backup started.
    type String
    The type of backup.
    automatic boolean
    Indicates whether the backup is user-initiated or automatic.
    autonomousDatabaseBackupOcid string
    The backup OCID.
    autonomousDatabaseOcid string
    The OCID of the Autonomous Database OCID.
    databaseBackupSizeInTbs number
    databaseVersion string
    The Oracle Database version of the Autonomous Database at the time the backup was taken.
    displayName string
    The user-friendly name of the backup.
    id string
    The ID of the Autonomous Database Backup.
    lifecycleDetails string
    Information about the current lifecycle state of the backup.
    lifecycleState string
    The current state of the backup.
    location string
    `- The Azure Region where the Autonomous Database Backup exists.
    provisioningState string
    The current provisioning state of the Autonomous Database Backup.
    restorable boolean
    Indicates whether the backup can be used to restore the Autonomous Database.
    retentionPeriodInDays number
    The retention period in days for the Autonomous Database Backup.
    timeAvailableTil string
    The date and time the backup will become unusable.
    timeEnded string
    The date and time the backup was completed.
    timeStarted string
    The date and time the backup started.
    type string
    The type of backup.
    automatic bool
    Indicates whether the backup is user-initiated or automatic.
    autonomous_database_backup_ocid str
    The backup OCID.
    autonomous_database_ocid str
    The OCID of the Autonomous Database OCID.
    database_backup_size_in_tbs float
    database_version str
    The Oracle Database version of the Autonomous Database at the time the backup was taken.
    display_name str
    The user-friendly name of the backup.
    id str
    The ID of the Autonomous Database Backup.
    lifecycle_details str
    Information about the current lifecycle state of the backup.
    lifecycle_state str
    The current state of the backup.
    location str
    `- The Azure Region where the Autonomous Database Backup exists.
    provisioning_state str
    The current provisioning state of the Autonomous Database Backup.
    restorable bool
    Indicates whether the backup can be used to restore the Autonomous Database.
    retention_period_in_days int
    The retention period in days for the Autonomous Database Backup.
    time_available_til str
    The date and time the backup will become unusable.
    time_ended str
    The date and time the backup was completed.
    time_started str
    The date and time the backup started.
    type str
    The type of backup.
    automatic Boolean
    Indicates whether the backup is user-initiated or automatic.
    autonomousDatabaseBackupOcid String
    The backup OCID.
    autonomousDatabaseOcid String
    The OCID of the Autonomous Database OCID.
    databaseBackupSizeInTbs Number
    databaseVersion String
    The Oracle Database version of the Autonomous Database at the time the backup was taken.
    displayName String
    The user-friendly name of the backup.
    id String
    The ID of the Autonomous Database Backup.
    lifecycleDetails String
    Information about the current lifecycle state of the backup.
    lifecycleState String
    The current state of the backup.
    location String
    `- The Azure Region where the Autonomous Database Backup exists.
    provisioningState String
    The current provisioning state of the Autonomous Database Backup.
    restorable Boolean
    Indicates whether the backup can be used to restore the Autonomous Database.
    retentionPeriodInDays Number
    The retention period in days for the Autonomous Database Backup.
    timeAvailableTil String
    The date and time the backup will become unusable.
    timeEnded String
    The date and time the backup was completed.
    timeStarted String
    The date and time the backup started.
    type String
    The type of backup.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate