import * as pulumi from "@pulumi/pulumi"; /** * Cloud Database veDB Backup Management * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const vedbmbackupDemo = new volcenginecc.vedbm.Backup("vedbmbackupDemo", { * instanceId: "vedbm-i34lvm3j***", * backupType: "Full", * backupMethod: "Physical", * backupTime: "00:00Z-02:00Z", * fullBackupPeriod: "Sunday", * backupRetentionPeriod: 11, * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:vedbm/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; /** * Backup end time, format: yyyy-MM-ddTHH:mm:ssZ (UTC time) */ readonly backupEndTime: pulumi.Output; /** * Backup file size, unit: KiB */ readonly backupFileSize: pulumi.Output; /** * Backup ID */ readonly backupId: pulumi.Output; /** * Backup method, currently only physical backup is supported */ readonly backupMethod: pulumi.Output; /** * Data backup retention days */ readonly backupRetentionPeriod: pulumi.Output; /** * Backup start time, format: yyyy-MM-ddTHH:mm:ssZ (UTC time) */ readonly backupStartTime: pulumi.Output; /** * Backup status */ readonly backupStatus: pulumi.Output; /** * Backup task execution time, interval window is two hours. Format: HH:mmZ-HH:mmZ (UTC time) */ readonly backupTime: pulumi.Output; /** * Backup type, currently only full backup is supported */ readonly backupType: pulumi.Output; /** * Consistency backup timestamp, format: yyyy-MM-ddTHH:mm:ssZ (UTC time) */ readonly consistentTime: pulumi.Output; /** * Enable continuous backup, value is always true */ readonly continueBackup: pulumi.Output; /** * Creation type */ readonly createType: pulumi.Output; /** * Full backup cycle, use commas (,) to separate multiple values */ readonly fullBackupPeriod: 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 { /** * Backup end time, format: yyyy-MM-ddTHH:mm:ssZ (UTC time) */ backupEndTime?: pulumi.Input; /** * Backup file size, unit: KiB */ backupFileSize?: pulumi.Input; /** * Backup ID */ backupId?: pulumi.Input; /** * Backup method, currently only physical backup is supported */ backupMethod?: pulumi.Input; /** * Data backup retention days */ backupRetentionPeriod?: pulumi.Input; /** * Backup start time, format: yyyy-MM-ddTHH:mm:ssZ (UTC time) */ backupStartTime?: pulumi.Input; /** * Backup status */ backupStatus?: pulumi.Input; /** * Backup task execution time, interval window is two hours. Format: HH:mmZ-HH:mmZ (UTC time) */ backupTime?: pulumi.Input; /** * Backup type, currently only full backup is supported */ backupType?: pulumi.Input; /** * Consistency backup timestamp, format: yyyy-MM-ddTHH:mm:ssZ (UTC time) */ consistentTime?: pulumi.Input; /** * Enable continuous backup, value is always true */ continueBackup?: pulumi.Input; /** * Creation type */ createType?: pulumi.Input; /** * Full backup cycle, use commas (,) to separate multiple values */ fullBackupPeriod?: pulumi.Input; /** * Instance ID */ instanceId?: pulumi.Input; } /** * The set of arguments for constructing a Backup resource. */ export interface BackupArgs { /** * Backup method, currently only physical backup is supported */ backupMethod?: pulumi.Input; /** * Data backup retention days */ backupRetentionPeriod?: pulumi.Input; /** * Backup task execution time, interval window is two hours. Format: HH:mmZ-HH:mmZ (UTC time) */ backupTime?: pulumi.Input; /** * Backup type, currently only full backup is supported */ backupType?: pulumi.Input; /** * Full backup cycle, use commas (,) to separate multiple values */ fullBackupPeriod?: pulumi.Input; /** * Instance ID */ instanceId: pulumi.Input; }