import * as pulumi from "@pulumi/pulumi"; /** * Manages an Oracle Autonomous Database Backup in Azure. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "East US", * }); * const exampleAutonomousDatabase = new azure.oracle.AutonomousDatabase("example", { * name: "example-adb", * resourceGroupName: example.name, * location: example.location, * }); * const exampleAutonomousDatabaseBackup = new azure.oracle.AutonomousDatabaseBackup("example", { * name: "example-backup", * autonomousDatabaseId: exampleAutonomousDatabase.id, * retentionPeriodInDays: 120, * backupType: "Full", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Oracle.Database` - 2025-09-01 * * ## Import * * Autonomous Database Backups can be imported using the `id`, e.g. * * ```sh * $ pulumi import azure:oracle/autonomousDatabaseBackup:AutonomousDatabaseBackup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup/providers/Oracle.Database/autonomousDatabases/autonomousDatabase1/autonomousDatabaseBackups/autonomousDatabaseBackup1 * ``` */ export declare class AutonomousDatabaseBackup extends pulumi.CustomResource { /** * Get an existing AutonomousDatabaseBackup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AutonomousDatabaseBackupState, opts?: pulumi.CustomResourceOptions): AutonomousDatabaseBackup; /** * Returns true if the given object is an instance of AutonomousDatabaseBackup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AutonomousDatabaseBackup; /** * The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created. */ readonly autonomousDatabaseId: pulumi.Output; /** * The display name of the Autonomous Database Backup. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days. */ readonly retentionPeriodInDays: pulumi.Output; /** * The type of backup to create.Currently, only `LongTerm` backup operations are supported through the Oracle database At azure service. Defaults to `LongTerm`. Changing this forces a new resource to be created. */ readonly type: pulumi.Output; /** * Create a AutonomousDatabaseBackup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AutonomousDatabaseBackupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AutonomousDatabaseBackup resources. */ export interface AutonomousDatabaseBackupState { /** * The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created. */ autonomousDatabaseId?: pulumi.Input; /** * The display name of the Autonomous Database Backup. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days. */ retentionPeriodInDays?: pulumi.Input; /** * The type of backup to create.Currently, only `LongTerm` backup operations are supported through the Oracle database At azure service. Defaults to `LongTerm`. Changing this forces a new resource to be created. */ type?: pulumi.Input; } /** * The set of arguments for constructing a AutonomousDatabaseBackup resource. */ export interface AutonomousDatabaseBackupArgs { /** * The azureId of the Autonomous Database that this backup is for. Changing this forces a new resource to be created. */ autonomousDatabaseId: pulumi.Input; /** * The display name of the Autonomous Database Backup. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * (Updatable) The number of days to retain the backup. Must be between 90 and 3650 days. */ retentionPeriodInDays: pulumi.Input; /** * The type of backup to create.Currently, only `LongTerm` backup operations are supported through the Oracle database At azure service. Defaults to `LongTerm`. Changing this forces a new resource to be created. */ type?: pulumi.Input; }