import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Backup list. * * ## Import * * ```sh * $ pulumi import volcenginecc:rdsmssql/backup:Backup example "instance_id|backup_id" * ``` */ export declare class Backup extends pulumi.CustomResource { /** * Get an existing Backup 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?: BackupState, opts?: pulumi.CustomResourceOptions): Backup; /** * Returns true if the given object is an instance of Backup. 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 Backup; readonly backupDatabaseDetails: pulumi.Output; /** * Backup end time. Format: yyyy-MM-ddTHH:mm:sssZ (UTC time). */ readonly backupEndTime: pulumi.Output; /** * Backup file size (Bytes). */ readonly backupFileSize: pulumi.Output; /** * Backup ID. */ readonly backupId: pulumi.Output; readonly backupMetas: pulumi.Output; /** * Backup method. Values: Logical (logical backup), Physical (physical backup), Snapshot (snapshot backup). */ readonly backupMethod: pulumi.Output; /** * Backup start time. Format: yyyy-MM-ddTHH:mm:sssZ (UTC time). */ readonly backupStartTime: pulumi.Output; /** * Backup status. Values: Success (successful), Failed (failed), Running (in progress). */ readonly backupStatus: pulumi.Output; /** * Backup type. Values: Full (full backup), Diff (incremental/differential backup), Log (log backup). */ readonly backupType: pulumi.Output; /** * Creation type. Values: System (system), User (user). */ readonly createType: pulumi.Output; /** * Backup file preparation progress (%). */ readonly downloadProgress: pulumi.Output; /** * Backup file preparation status. Values: Success (preparation completed), Failed (preparation failed), Running (preparing), NotDownload (not downloaded). */ readonly downloadStatus: pulumi.Output; /** * Instance ID. */ readonly instanceId: pulumi.Output; /** * Create a Backup 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: BackupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Backup resources. */ export interface BackupState { backupDatabaseDetails?: pulumi.Input[]>; /** * Backup end time. Format: yyyy-MM-ddTHH:mm:sssZ (UTC time). */ backupEndTime?: pulumi.Input; /** * Backup file size (Bytes). */ backupFileSize?: pulumi.Input; /** * Backup ID. */ backupId?: pulumi.Input; backupMetas?: pulumi.Input[]>; /** * Backup method. Values: Logical (logical backup), Physical (physical backup), Snapshot (snapshot backup). */ backupMethod?: pulumi.Input; /** * Backup start time. Format: yyyy-MM-ddTHH:mm:sssZ (UTC time). */ backupStartTime?: pulumi.Input; /** * Backup status. Values: Success (successful), Failed (failed), Running (in progress). */ backupStatus?: pulumi.Input; /** * Backup type. Values: Full (full backup), Diff (incremental/differential backup), Log (log backup). */ backupType?: pulumi.Input; /** * Creation type. Values: System (system), User (user). */ createType?: pulumi.Input; /** * Backup file preparation progress (%). */ downloadProgress?: pulumi.Input; /** * Backup file preparation status. Values: Success (preparation completed), Failed (preparation failed), Running (preparing), NotDownload (not downloaded). */ downloadStatus?: pulumi.Input; /** * Instance ID. */ instanceId?: pulumi.Input; } /** * The set of arguments for constructing a Backup resource. */ export interface BackupArgs { backupMetas?: pulumi.Input[]>; /** * Backup type. Values: Full (full backup), Diff (incremental/differential backup), Log (log backup). */ backupType?: pulumi.Input; /** * Instance ID. */ instanceId: pulumi.Input; }