import * as pulumi from "@pulumi/pulumi"; /** * Manages Proxmox VE Replication. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * // Replication * const exampleReplication1 = new proxmoxve.Replication("example_replication_1", { * resourceId: "100-0", * target: "pve-02", * type: "local", * disable: false, * comment: "Replication to pve-02 every 30 min", * schedule: "*/30", * }); * ``` */ export declare class Replication extends pulumi.CustomResource { /** * Get an existing Replication 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?: ReplicationState, opts?: pulumi.CustomResourceOptions): Replication; /** * Returns true if the given object is an instance of Replication. 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 Replication; /** * Description. */ readonly comment: pulumi.Output; /** * Flag to disable/deactivate this replication. */ readonly disable: pulumi.Output; /** * Guest ID. */ readonly guest: pulumi.Output; /** * Unique, sequential ID assigned to each job. */ readonly jobnum: pulumi.Output; /** * Rate limit in mbps (megabytes per second) as floating point number. */ readonly rate: pulumi.Output; /** * Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. '\n\n-\n\n'. */ readonly resourceId: pulumi.Output; /** * Storage replication schedule. The format is a subset of `systemd` calendar events. Defaults to */15 */ readonly schedule: pulumi.Output; /** * For internal use, to detect if the guest was stolen. */ readonly source: pulumi.Output; /** * Target node. */ readonly target: pulumi.Output; /** * Section type. */ readonly type: pulumi.Output; /** * Create a Replication 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: ReplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Replication resources. */ export interface ReplicationState { /** * Description. */ comment?: pulumi.Input; /** * Flag to disable/deactivate this replication. */ disable?: pulumi.Input; /** * Guest ID. */ guest?: pulumi.Input; /** * Unique, sequential ID assigned to each job. */ jobnum?: pulumi.Input; /** * Rate limit in mbps (megabytes per second) as floating point number. */ rate?: pulumi.Input; /** * Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. '\n\n-\n\n'. */ resourceId?: pulumi.Input; /** * Storage replication schedule. The format is a subset of `systemd` calendar events. Defaults to */15 */ schedule?: pulumi.Input; /** * For internal use, to detect if the guest was stolen. */ source?: pulumi.Input; /** * Target node. */ target?: pulumi.Input; /** * Section type. */ type?: pulumi.Input; } /** * The set of arguments for constructing a Replication resource. */ export interface ReplicationArgs { /** * Description. */ comment?: pulumi.Input; /** * Flag to disable/deactivate this replication. */ disable?: pulumi.Input; /** * Rate limit in mbps (megabytes per second) as floating point number. */ rate?: pulumi.Input; /** * Replication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. '\n\n-\n\n'. */ resourceId: pulumi.Input; /** * Storage replication schedule. The format is a subset of `systemd` calendar events. Defaults to */15 */ schedule?: pulumi.Input; /** * Target node. */ target: pulumi.Input; /** * Section type. */ type: pulumi.Input; } //# sourceMappingURL=replication.d.ts.map