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

We recommend using Azure Native.

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

azure.oracle.getAutonomousDatabaseBackup

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.getAutonomousDatabaseBackup({
        autonomousDatabaseId: exampleAzurermOracleAutonomousDatabase.id,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.oracle.get_autonomous_database_backup(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.LookupAutonomousDatabaseBackup(ctx, &oracle.LookupAutonomousDatabaseBackupArgs{
    			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.GetAutonomousDatabaseBackup.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.GetAutonomousDatabaseBackupArgs;
    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.getAutonomousDatabaseBackup(GetAutonomousDatabaseBackupArgs.builder()
                .autonomousDatabaseId(exampleAzurermOracleAutonomousDatabase.id())
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: azure:oracle:getAutonomousDatabaseBackup
          arguments:
            autonomousDatabaseId: ${exampleAzurermOracleAutonomousDatabase.id}
    

    API Providers

    This data source uses the following Azure API Providers:

    • Oracle.Database - 2025-03-01

    Using getAutonomousDatabaseBackup

    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 getAutonomousDatabaseBackup(args: GetAutonomousDatabaseBackupArgs, opts?: InvokeOptions): Promise<GetAutonomousDatabaseBackupResult>
    function getAutonomousDatabaseBackupOutput(args: GetAutonomousDatabaseBackupOutputArgs, opts?: InvokeOptions): Output<GetAutonomousDatabaseBackupResult>
    def get_autonomous_database_backup(autonomous_database_id: Optional[str] = None,
                                       name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetAutonomousDatabaseBackupResult
    def get_autonomous_database_backup_output(autonomous_database_id: Optional[pulumi.Input[str]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetAutonomousDatabaseBackupResult]
    func LookupAutonomousDatabaseBackup(ctx *Context, args *LookupAutonomousDatabaseBackupArgs, opts ...InvokeOption) (*LookupAutonomousDatabaseBackupResult, error)
    func LookupAutonomousDatabaseBackupOutput(ctx *Context, args *LookupAutonomousDatabaseBackupOutputArgs, opts ...InvokeOption) LookupAutonomousDatabaseBackupResultOutput

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

    public static class GetAutonomousDatabaseBackup 
    {
        public static Task<GetAutonomousDatabaseBackupResult> InvokeAsync(GetAutonomousDatabaseBackupArgs args, InvokeOptions? opts = null)
        public static Output<GetAutonomousDatabaseBackupResult> Invoke(GetAutonomousDatabaseBackupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAutonomousDatabaseBackupResult> getAutonomousDatabaseBackup(GetAutonomousDatabaseBackupArgs args, InvokeOptions options)
    public static Output<GetAutonomousDatabaseBackupResult> getAutonomousDatabaseBackup(GetAutonomousDatabaseBackupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure:oracle/getAutonomousDatabaseBackup:getAutonomousDatabaseBackup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AutonomousDatabaseId string
    The azureId of the Autonomous Database for we will be listing the backups.
    Name string
    AutonomousDatabaseId string
    The azureId of the Autonomous Database for we will be listing the backups.
    Name string
    autonomousDatabaseId String
    The azureId of the Autonomous Database for we will be listing the backups.
    name String
    autonomousDatabaseId string
    The azureId of the Autonomous Database for we will be listing the backups.
    name string
    autonomous_database_id str
    The azureId of the Autonomous Database for we will be listing the backups.
    name str
    autonomousDatabaseId String
    The azureId of the Autonomous Database for we will be listing the backups.
    name String

    getAutonomousDatabaseBackup Result

    The following output properties are available:

    Automatic bool
    AutonomousDatabaseBackupOcid string
    The backup OCID.
    AutonomousDatabaseId string
    AutonomousDatabaseOcid string
    The OCID of the Autonomous Database OCID.
    DatabaseBackupSizeInTbs double
    DatabaseVersion string
    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.
    Name string
    ProvisioningState string
    The current provisioning state of the Autonomous Database Backup.
    Restorable bool
    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
    Automatic bool
    AutonomousDatabaseBackupOcid string
    The backup OCID.
    AutonomousDatabaseId string
    AutonomousDatabaseOcid string
    The OCID of the Autonomous Database OCID.
    DatabaseBackupSizeInTbs float64
    DatabaseVersion string
    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.
    Name string
    ProvisioningState string
    The current provisioning state of the Autonomous Database Backup.
    Restorable bool
    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
    automatic Boolean
    autonomousDatabaseBackupOcid String
    The backup OCID.
    autonomousDatabaseId String
    autonomousDatabaseOcid String
    The OCID of the Autonomous Database OCID.
    databaseBackupSizeInTbs Double
    databaseVersion String
    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.
    name String
    provisioningState String
    The current provisioning state of the Autonomous Database Backup.
    restorable Boolean
    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
    automatic boolean
    autonomousDatabaseBackupOcid string
    The backup OCID.
    autonomousDatabaseId string
    autonomousDatabaseOcid string
    The OCID of the Autonomous Database OCID.
    databaseBackupSizeInTbs number
    databaseVersion string
    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.
    name string
    provisioningState string
    The current provisioning state of the Autonomous Database Backup.
    restorable boolean
    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
    automatic bool
    autonomous_database_backup_ocid str
    The backup OCID.
    autonomous_database_id str
    autonomous_database_ocid str
    The OCID of the Autonomous Database OCID.
    database_backup_size_in_tbs float
    database_version str
    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.
    name str
    provisioning_state str
    The current provisioning state of the Autonomous Database Backup.
    restorable bool
    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
    automatic Boolean
    autonomousDatabaseBackupOcid String
    The backup OCID.
    autonomousDatabaseId String
    autonomousDatabaseOcid String
    The OCID of the Autonomous Database OCID.
    databaseBackupSizeInTbs Number
    databaseVersion String
    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.
    name String
    provisioningState String
    The current provisioning state of the Autonomous Database Backup.
    restorable Boolean
    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

    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