1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. getReplicationLegacy
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
proxmoxve logo
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski

    Deprecated: Use proxmoxve.Replication instead. This data source will be removed in v1.0.

    Retrieves information about an existing Replication.

    Example Usage

    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),
    };
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    example = proxmoxve.get_replication_legacy(id="100-0")
    pulumi.export("dataProxmoxVirtualEnvironmentReplication", {
        "id": example.id,
        "target": example.target,
        "type": example.type,
        "jobnum": example.jobnum,
        "guest": example.guest,
    })
    
    package main
    
    import (
    	"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := proxmoxve.GetReplicationLegacy(ctx, &proxmoxve.LookupReplicationLegacyArgs{
    			Id: "100-0",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("dataProxmoxVirtualEnvironmentReplication", pulumi.Map{
    			"id":     example.Id,
    			"target": example.Target,
    			"type":   example.Type,
    			"jobnum": example.Jobnum,
    			"guest":  example.Guest,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ProxmoxVE = Pulumi.ProxmoxVE;
    
    return await Deployment.RunAsync(() => 
    {
        var example = ProxmoxVE.Index.GetReplicationLegacy.Invoke(new()
        {
            Id = "100-0",
        });
    
        return new Dictionary<string, object?>
        {
            ["dataProxmoxVirtualEnvironmentReplication"] = 
            {
                { "id", example.Apply(getReplicationLegacyResult => getReplicationLegacyResult.Id) },
                { "target", example.Apply(getReplicationLegacyResult => getReplicationLegacyResult.Target) },
                { "type", example.Apply(getReplicationLegacyResult => getReplicationLegacyResult.Type) },
                { "jobnum", example.Apply(getReplicationLegacyResult => getReplicationLegacyResult.Jobnum) },
                { "guest", example.Apply(getReplicationLegacyResult => getReplicationLegacyResult.Guest) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.proxmoxve.ProxmoxveFunctions;
    import com.pulumi.proxmoxve.inputs.GetReplicationLegacyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = ProxmoxveFunctions.getReplicationLegacy(GetReplicationLegacyArgs.builder()
                .id("100-0")
                .build());
    
            ctx.export("dataProxmoxVirtualEnvironmentReplication", Map.ofEntries(
                Map.entry("id", example.id()),
                Map.entry("target", example.target()),
                Map.entry("type", example.type()),
                Map.entry("jobnum", example.jobnum()),
                Map.entry("guest", example.guest())
            ));
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: proxmoxve:getReplicationLegacy
          arguments:
            id: 100-0
    outputs:
      dataProxmoxVirtualEnvironmentReplication:
        id: ${example.id}
        target: ${example.target}
        type: ${example.type}
        jobnum: ${example.jobnum}
        guest: ${example.guest}
    

    Using getReplicationLegacy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getReplicationLegacy(args: GetReplicationLegacyArgs, opts?: InvokeOptions): Promise<GetReplicationLegacyResult>
    function getReplicationLegacyOutput(args: GetReplicationLegacyOutputArgs, opts?: InvokeOptions): Output<GetReplicationLegacyResult>
    def get_replication_legacy(id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetReplicationLegacyResult
    def get_replication_legacy_output(id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetReplicationLegacyResult]
    func LookupReplicationLegacy(ctx *Context, args *LookupReplicationLegacyArgs, opts ...InvokeOption) (*LookupReplicationLegacyResult, error)
    func LookupReplicationLegacyOutput(ctx *Context, args *LookupReplicationLegacyOutputArgs, opts ...InvokeOption) LookupReplicationLegacyResultOutput

    > Note: This function is named LookupReplicationLegacy in the Go SDK.

    public static class GetReplicationLegacy 
    {
        public static Task<GetReplicationLegacyResult> InvokeAsync(GetReplicationLegacyArgs args, InvokeOptions? opts = null)
        public static Output<GetReplicationLegacyResult> Invoke(GetReplicationLegacyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetReplicationLegacyResult> getReplicationLegacy(GetReplicationLegacyArgs args, InvokeOptions options)
    public static Output<GetReplicationLegacyResult> getReplicationLegacy(GetReplicationLegacyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: proxmoxve:index/getReplicationLegacy:getReplicationLegacy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    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
    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
    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
    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 str
    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
    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'.

    getReplicationLegacy Result

    The following output properties are available:

    Comment string
    Description.
    Disable bool
    Flag to disable/deactivate this replication.
    Guest int
    Guest ID.
    Id string
    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'.
    Jobnum int
    Unique, sequential ID assigned to each job.
    Rate double
    Rate limit in mbps (megabytes per second) as floating point number.
    Schedule string
    Storage replication schedule. The format is a subset of systemd calendar events. Defaults to */15
    Source string
    For internal use, to detect if the guest was stolen.
    Target string
    Target node.
    Type string
    Section type.
    Comment string
    Description.
    Disable bool
    Flag to disable/deactivate this replication.
    Guest int
    Guest ID.
    Id string
    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'.
    Jobnum int
    Unique, sequential ID assigned to each job.
    Rate float64
    Rate limit in mbps (megabytes per second) as floating point number.
    Schedule string
    Storage replication schedule. The format is a subset of systemd calendar events. Defaults to */15
    Source string
    For internal use, to detect if the guest was stolen.
    Target string
    Target node.
    Type string
    Section type.
    comment String
    Description.
    disable Boolean
    Flag to disable/deactivate this replication.
    guest Integer
    Guest ID.
    id String
    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'.
    jobnum Integer
    Unique, sequential ID assigned to each job.
    rate Double
    Rate limit in mbps (megabytes per second) as floating point number.
    schedule String
    Storage replication schedule. The format is a subset of systemd calendar events. Defaults to */15
    source String
    For internal use, to detect if the guest was stolen.
    target String
    Target node.
    type String
    Section type.
    comment string
    Description.
    disable boolean
    Flag to disable/deactivate this replication.
    guest number
    Guest ID.
    id string
    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'.
    jobnum number
    Unique, sequential ID assigned to each job.
    rate number
    Rate limit in mbps (megabytes per second) as floating point number.
    schedule string
    Storage replication schedule. The format is a subset of systemd calendar events. Defaults to */15
    source string
    For internal use, to detect if the guest was stolen.
    target string
    Target node.
    type string
    Section type.
    comment str
    Description.
    disable bool
    Flag to disable/deactivate this replication.
    guest int
    Guest ID.
    id str
    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'.
    jobnum int
    Unique, sequential ID assigned to each job.
    rate float
    Rate limit in mbps (megabytes per second) as floating point number.
    schedule str
    Storage replication schedule. The format is a subset of systemd calendar events. Defaults to */15
    source str
    For internal use, to detect if the guest was stolen.
    target str
    Target node.
    type str
    Section type.
    comment String
    Description.
    disable Boolean
    Flag to disable/deactivate this replication.
    guest Number
    Guest ID.
    id String
    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'.
    jobnum Number
    Unique, sequential ID assigned to each job.
    rate Number
    Rate limit in mbps (megabytes per second) as floating point number.
    schedule String
    Storage replication schedule. The format is a subset of systemd calendar events. Defaults to */15
    source String
    For internal use, to detect if the guest was stolen.
    target String
    Target node.
    type String
    Section type.

    Package Details

    Repository
    proxmoxve muhlba91/pulumi-proxmoxve
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the proxmox Terraform Provider.
    proxmoxve logo
    Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.0.0
    published on Sunday, Apr 5, 2026 by Daniel Muehlbachler-Pietrzykowski
      Try Pulumi Cloud free. Your team will thank you.