@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
167 lines • 5.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* > **Deprecated:** Use `proxmoxve.Replication` instead. This resource will be removed in v1.0.
*
* 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.ReplicationLegacy("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 ReplicationLegacy extends pulumi.CustomResource {
/**
* Get an existing ReplicationLegacy 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<pulumi.ID>, state?: ReplicationLegacyState, opts?: pulumi.CustomResourceOptions): ReplicationLegacy;
/**
* Returns true if the given object is an instance of ReplicationLegacy. 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 ReplicationLegacy;
/**
* Description.
*/
readonly comment: pulumi.Output<string | undefined>;
/**
* Flag to disable/deactivate this replication.
*/
readonly disable: pulumi.Output<boolean>;
/**
* Guest ID.
*/
readonly guest: pulumi.Output<number>;
/**
* Unique, sequential ID assigned to each job.
*/
readonly jobnum: pulumi.Output<number>;
/**
* Rate limit in mbps (megabytes per second) as floating point number.
*/
readonly rate: pulumi.Output<number | undefined>;
/**
* 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<string>;
/**
* Storage replication schedule. The format is a subset of `systemd` calendar events. Defaults to */15
*/
readonly schedule: pulumi.Output<string>;
/**
* For internal use, to detect if the guest was stolen.
*/
readonly source: pulumi.Output<string>;
/**
* Target node.
*/
readonly target: pulumi.Output<string>;
/**
* Section type.
*/
readonly type: pulumi.Output<string>;
/**
* Create a ReplicationLegacy 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: ReplicationLegacyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ReplicationLegacy resources.
*/
export interface ReplicationLegacyState {
/**
* Description.
*/
comment?: pulumi.Input<string | undefined>;
/**
* Flag to disable/deactivate this replication.
*/
disable?: pulumi.Input<boolean | undefined>;
/**
* Guest ID.
*/
guest?: pulumi.Input<number | undefined>;
/**
* Unique, sequential ID assigned to each job.
*/
jobnum?: pulumi.Input<number | undefined>;
/**
* Rate limit in mbps (megabytes per second) as floating point number.
*/
rate?: pulumi.Input<number | undefined>;
/**
* 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<string | undefined>;
/**
* Storage replication schedule. The format is a subset of `systemd` calendar events. Defaults to */15
*/
schedule?: pulumi.Input<string | undefined>;
/**
* For internal use, to detect if the guest was stolen.
*/
source?: pulumi.Input<string | undefined>;
/**
* Target node.
*/
target?: pulumi.Input<string | undefined>;
/**
* Section type.
*/
type?: pulumi.Input<string | undefined>;
}
/**
* The set of arguments for constructing a ReplicationLegacy resource.
*/
export interface ReplicationLegacyArgs {
/**
* Description.
*/
comment?: pulumi.Input<string | undefined>;
/**
* Flag to disable/deactivate this replication.
*/
disable?: pulumi.Input<boolean | undefined>;
/**
* Rate limit in mbps (megabytes per second) as floating point number.
*/
rate?: pulumi.Input<number | undefined>;
/**
* 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<string>;
/**
* Storage replication schedule. The format is a subset of `systemd` calendar events. Defaults to */15
*/
schedule?: pulumi.Input<string | undefined>;
/**
* Target node.
*/
target: pulumi.Input<string>;
/**
* Section type.
*/
type: pulumi.Input<string>;
}
//# sourceMappingURL=replicationLegacy.d.ts.map