import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * To enable automatic backup for backup sources, you can create a backup plan, associate backup sources and backup policies within the plan, specify backup storage space, and set backup data retention rules. After creating the backup plan, the system will automatically back up the specified sources in a unified manner according to the associated backup policy configuration * * ## Import * * ```sh * $ pulumi import volcenginecc:cbr/backupPlan:BackupPlan example "plan_id" * ``` */ export declare class BackupPlan extends pulumi.CustomResource { /** * Get an existing BackupPlan 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?: BackupPlanState, opts?: pulumi.CustomResourceOptions): BackupPlan; /** * Returns true if the given object is an instance of BackupPlan. 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 BackupPlan; /** * Account ID that created this plan */ readonly accountId: pulumi.Output; /** * Creation Time */ readonly createdTime: pulumi.Output; /** * Backup Plan Name */ readonly name: pulumi.Output; /** * Backup Plan ID */ readonly planId: pulumi.Output; /** * Backup Policy */ readonly policy: pulumi.Output; /** * Backup Policy ID */ readonly policyId: pulumi.Output; readonly resourceLists: pulumi.Output; /** * Update Time */ readonly updatedTime: pulumi.Output; /** * Create a BackupPlan 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: BackupPlanArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering BackupPlan resources. */ export interface BackupPlanState { /** * Account ID that created this plan */ accountId?: pulumi.Input; /** * Creation Time */ createdTime?: pulumi.Input; /** * Backup Plan Name */ name?: pulumi.Input; /** * Backup Plan ID */ planId?: pulumi.Input; /** * Backup Policy */ policy?: pulumi.Input; /** * Backup Policy ID */ policyId?: pulumi.Input; resourceLists?: pulumi.Input[]>; /** * Update Time */ updatedTime?: pulumi.Input; } /** * The set of arguments for constructing a BackupPlan resource. */ export interface BackupPlanArgs { /** * Backup Plan Name */ name: pulumi.Input; /** * Backup Policy ID */ policyId?: pulumi.Input; resourceLists: pulumi.Input[]>; }