We recommend using Azure Native.
Viewing docs for Azure v6.33.0
published on Monday, Feb 23, 2026 by Pulumi
published on Monday, Feb 23, 2026 by Pulumi
We recommend using Azure Native.
Viewing docs for Azure v6.33.0
published on Monday, Feb 23, 2026 by Pulumi
published on Monday, Feb 23, 2026 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-09-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 dictionaryThe following arguments are supported:
- Autonomous
Database stringId - The azureId of the Autonomous Database for which the backups will be listed.
- Autonomous
Database stringId - The azureId of the Autonomous Database for which the backups will be listed.
- autonomous
Database StringId - The azureId of the Autonomous Database for which the backups will be listed.
- autonomous
Database stringId - The azureId of the Autonomous Database for which the backups will be listed.
- autonomous_
database_ strid - The azureId of the Autonomous Database for which the backups will be listed.
- autonomous
Database StringId - The azureId of the Autonomous Database for which the backups will be listed.
getAutonomousDatabaseBackups Result
The following output properties are available:
- Autonomous
Database List<GetBackups Autonomous Database Backups Autonomous Database Backup> - An
autonomous_database_backupsblock as defined below. - Autonomous
Database stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Autonomous
Database []GetBackups Autonomous Database Backups Autonomous Database Backup - An
autonomous_database_backupsblock as defined below. - Autonomous
Database stringId - Id string
- The provider-assigned unique ID for this managed resource.
- autonomous
Database List<GetBackups Autonomous Database Backups Autonomous Database Backup> - An
autonomous_database_backupsblock as defined below. - autonomous
Database StringId - id String
- The provider-assigned unique ID for this managed resource.
- autonomous
Database GetBackups Autonomous Database Backups Autonomous Database Backup[] - An
autonomous_database_backupsblock as defined below. - autonomous
Database stringId - id string
- The provider-assigned unique ID for this managed resource.
- autonomous_
database_ Sequence[Getbackups Autonomous Database Backups Autonomous Database Backup] - An
autonomous_database_backupsblock as defined below. - autonomous_
database_ strid - id str
- The provider-assigned unique ID for this managed resource.
- autonomous
Database List<Property Map>Backups - An
autonomous_database_backupsblock as defined below. - autonomous
Database StringId - 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.
- Autonomous
Database stringBackup Ocid - The backup OCID.
- Autonomous
Database stringOcid - The OCID of the Autonomous Database OCID.
- Database
Backup doubleSize In Tbs - Database
Version string - The Oracle Database version of the Autonomous Database at the time the backup was taken.
- 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.
- Provisioning
State string - 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 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
- The type of backup.
- Automatic bool
- Indicates whether the backup is user-initiated or automatic.
- Autonomous
Database stringBackup Ocid - The backup OCID.
- Autonomous
Database stringOcid - The OCID of the Autonomous Database OCID.
- Database
Backup float64Size In Tbs - Database
Version string - The Oracle Database version of the Autonomous Database at the time the backup was taken.
- 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.
- Provisioning
State string - 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 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
- The type of backup.
- automatic Boolean
- Indicates whether the backup is user-initiated or automatic.
- autonomous
Database StringBackup Ocid - The backup OCID.
- autonomous
Database StringOcid - The OCID of the Autonomous Database OCID.
- database
Backup DoubleSize In Tbs - database
Version String - The Oracle Database version of the Autonomous Database at the time the backup was taken.
- 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.
- provisioning
State String - The current provisioning state of the Autonomous Database Backup.
- restorable Boolean
- Indicates whether the backup can be used to restore the Autonomous Database.
- 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
- The type of backup.
- automatic boolean
- Indicates whether the backup is user-initiated or automatic.
- autonomous
Database stringBackup Ocid - The backup OCID.
- autonomous
Database stringOcid - The OCID of the Autonomous Database OCID.
- database
Backup numberSize In Tbs - database
Version string - The Oracle Database version of the Autonomous Database at the time the backup was taken.
- 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.
- provisioning
State string - The current provisioning state of the Autonomous Database Backup.
- restorable boolean
- Indicates whether the backup can be used to restore the Autonomous Database.
- 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
- The type of backup.
- automatic bool
- Indicates whether the backup is user-initiated or automatic.
- autonomous_
database_ strbackup_ ocid - The backup OCID.
- autonomous_
database_ strocid - The OCID of the Autonomous Database OCID.
- database_
backup_ floatsize_ in_ tbs - 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_ 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
- The type of backup.
- automatic Boolean
- Indicates whether the backup is user-initiated or automatic.
- autonomous
Database StringBackup Ocid - The backup OCID.
- autonomous
Database StringOcid - The OCID of the Autonomous Database OCID.
- database
Backup NumberSize In Tbs - database
Version String - The Oracle Database version of the Autonomous Database at the time the backup was taken.
- 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.
- provisioning
State String - The current provisioning state of the Autonomous Database Backup.
- restorable Boolean
- Indicates whether the backup can be used to restore the Autonomous Database.
- 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
- The type of backup.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
Viewing docs for Azure v6.33.0
published on Monday, Feb 23, 2026 by Pulumi
published on Monday, Feb 23, 2026 by Pulumi
