We recommend using Azure Native.
Azure v6.28.0 published on Friday, Oct 3, 2025 by Pulumi
azure.oracle.getAutonomousDatabaseBackup
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 dictionaryThe following arguments are supported:
- Autonomous
Database stringId - The azureId of the Autonomous Database for we will be listing the backups.
- Name string
- Autonomous
Database stringId - The azureId of the Autonomous Database for we will be listing the backups.
- Name string
- autonomous
Database StringId - The azureId of the Autonomous Database for we will be listing the backups.
- name String
- autonomous
Database stringId - The azureId of the Autonomous Database for we will be listing the backups.
- name string
- autonomous_
database_ strid - The azureId of the Autonomous Database for we will be listing the backups.
- name str
- autonomous
Database StringId - 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
- Autonomous
Database stringBackup Ocid - The backup OCID.
- Autonomous
Database stringId - Autonomous
Database stringOcid - The OCID of the Autonomous Database OCID.
- Database
Backup doubleSize In Tbs - Database
Version string - Display
Name string - The user-friendly name of the backup.
- Id string
- The ID of the Autonomous Database Backup.
- Lifecycle
Details string - Information about the current lifecycle state of the backup.
- Lifecycle
State string - The current state of the backup.
- Location string
- `- The Azure Region where the Autonomous Database Backup exists.
- Name string
- Provisioning
State string - The current provisioning state of the Autonomous Database Backup.
- Restorable bool
- Retention
Period intIn Days - The retention period in days for the Autonomous Database Backup.
- Time
Available stringTil - The date and time the backup will become unusable.
- Time
Ended string - The date and time the backup was completed.
- Time
Started string - The date and time the backup started.
- Type string
- Automatic bool
- Autonomous
Database stringBackup Ocid - The backup OCID.
- Autonomous
Database stringId - Autonomous
Database stringOcid - The OCID of the Autonomous Database OCID.
- Database
Backup float64Size In Tbs - Database
Version string - Display
Name string - The user-friendly name of the backup.
- Id string
- The ID of the Autonomous Database Backup.
- Lifecycle
Details string - Information about the current lifecycle state of the backup.
- Lifecycle
State string - The current state of the backup.
- Location string
- `- The Azure Region where the Autonomous Database Backup exists.
- Name string
- Provisioning
State string - The current provisioning state of the Autonomous Database Backup.
- Restorable bool
- Retention
Period intIn Days - The retention period in days for the Autonomous Database Backup.
- Time
Available stringTil - The date and time the backup will become unusable.
- Time
Ended string - The date and time the backup was completed.
- Time
Started string - The date and time the backup started.
- Type string
- automatic Boolean
- autonomous
Database StringBackup Ocid - The backup OCID.
- autonomous
Database StringId - autonomous
Database StringOcid - The OCID of the Autonomous Database OCID.
- database
Backup DoubleSize In Tbs - database
Version String - display
Name String - The user-friendly name of the backup.
- id String
- The ID of the Autonomous Database Backup.
- lifecycle
Details String - Information about the current lifecycle state of the backup.
- lifecycle
State String - The current state of the backup.
- location String
- `- The Azure Region where the Autonomous Database Backup exists.
- name String
- provisioning
State String - The current provisioning state of the Autonomous Database Backup.
- restorable Boolean
- retention
Period IntegerIn Days - The retention period in days for the Autonomous Database Backup.
- time
Available StringTil - The date and time the backup will become unusable.
- time
Ended String - The date and time the backup was completed.
- time
Started String - The date and time the backup started.
- type String
- automatic boolean
- autonomous
Database stringBackup Ocid - The backup OCID.
- autonomous
Database stringId - autonomous
Database stringOcid - The OCID of the Autonomous Database OCID.
- database
Backup numberSize In Tbs - database
Version string - display
Name string - The user-friendly name of the backup.
- id string
- The ID of the Autonomous Database Backup.
- lifecycle
Details string - Information about the current lifecycle state of the backup.
- lifecycle
State string - The current state of the backup.
- location string
- `- The Azure Region where the Autonomous Database Backup exists.
- name string
- provisioning
State string - The current provisioning state of the Autonomous Database Backup.
- restorable boolean
- retention
Period numberIn Days - The retention period in days for the Autonomous Database Backup.
- time
Available stringTil - The date and time the backup will become unusable.
- time
Ended string - The date and time the backup was completed.
- time
Started string - The date and time the backup started.
- type string
- automatic bool
- autonomous_
database_ strbackup_ ocid - The backup OCID.
- autonomous_
database_ strid - autonomous_
database_ strocid - The OCID of the Autonomous Database OCID.
- database_
backup_ floatsize_ in_ tbs - 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_ intin_ days - The retention period in days for the Autonomous Database Backup.
- time_
available_ strtil - 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
- autonomous
Database StringBackup Ocid - The backup OCID.
- autonomous
Database StringId - autonomous
Database StringOcid - The OCID of the Autonomous Database OCID.
- database
Backup NumberSize In Tbs - database
Version String - display
Name String - The user-friendly name of the backup.
- id String
- The ID of the Autonomous Database Backup.
- lifecycle
Details String - Information about the current lifecycle state of the backup.
- lifecycle
State String - The current state of the backup.
- location String
- `- The Azure Region where the Autonomous Database Backup exists.
- name String
- provisioning
State String - The current provisioning state of the Autonomous Database Backup.
- restorable Boolean
- retention
Period NumberIn Days - The retention period in days for the Autonomous Database Backup.
- time
Available StringTil - The date and time the backup will become unusable.
- time
Ended String - The date and time the backup was completed.
- time
Started 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
azurermTerraform Provider.
