@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
109 lines • 3.21 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* 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.getReplication({
* id: "100-0",
* });
* export const dataProxmoxReplication = {
* 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 getReplication(args: GetReplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetReplicationResult>;
/**
* A collection of arguments for invoking getReplication.
*/
export interface GetReplicationArgs {
/**
* 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 getReplication.
*/
export interface GetReplicationResult {
/**
* 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;
}
/**
* 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.getReplication({
* id: "100-0",
* });
* export const dataProxmoxReplication = {
* 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 getReplicationOutput(args: GetReplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReplicationResult>;
/**
* A collection of arguments for invoking getReplication.
*/
export interface GetReplicationOutputArgs {
/**
* 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=getReplication.d.ts.map