@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
113 lines • 3.54 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* > **Deprecated:** Use `proxmoxve.Replication` instead. This data source will be removed in v1.0.
*
* Retrieves information about an existing Replication.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.getReplicationLegacy({
* id: "100-0",
* });
* export const dataProxmoxVirtualEnvironmentReplication = {
* id: example.then(example => example.id),
* target: example.then(example => example.target),
* type: example.then(example => example.type),
* jobnum: example.then(example => example.jobnum),
* guest: example.then(example => example.guest),
* };
* ```
*/
export declare function getReplicationLegacy(args: GetReplicationLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetReplicationLegacyResult>;
/**
* A collection of arguments for invoking getReplicationLegacy.
*/
export interface GetReplicationLegacyArgs {
/**
* 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'.
*/
id: string;
}
/**
* A collection of values returned by getReplicationLegacy.
*/
export interface GetReplicationLegacyResult {
/**
* Description.
*/
readonly comment: string;
/**
* Flag to disable/deactivate this replication.
*/
readonly disable: boolean;
/**
* Guest ID.
*/
readonly guest: number;
/**
* 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 id: string;
/**
* Unique, sequential ID assigned to each job.
*/
readonly jobnum: number;
/**
* Rate limit in mbps (megabytes per second) as floating point number.
*/
readonly rate: number;
/**
* Storage replication schedule. The format is a subset of `systemd` calendar events. Defaults to */15
*/
readonly schedule: string;
/**
* For internal use, to detect if the guest was stolen.
*/
readonly source: string;
/**
* Target node.
*/
readonly target: string;
/**
* Section type.
*/
readonly type: string;
}
/**
* > **Deprecated:** Use `proxmoxve.Replication` instead. This data source will be removed in v1.0.
*
* Retrieves information about an existing Replication.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.getReplicationLegacy({
* id: "100-0",
* });
* export const dataProxmoxVirtualEnvironmentReplication = {
* id: example.then(example => example.id),
* target: example.then(example => example.target),
* type: example.then(example => example.type),
* jobnum: example.then(example => example.jobnum),
* guest: example.then(example => example.guest),
* };
* ```
*/
export declare function getReplicationLegacyOutput(args: GetReplicationLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReplicationLegacyResult>;
/**
* A collection of arguments for invoking getReplicationLegacy.
*/
export interface GetReplicationLegacyOutputArgs {
/**
* 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'.
*/
id: pulumi.Input<string>;
}
//# sourceMappingURL=getReplicationLegacy.d.ts.map