1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. getReplicationsLegacy
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.getReplications instead. This data source will be removed in v1.0.

    Retrieves information about all Replications in Proxmox.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
    
    // List all Replications
    const all = proxmoxve.getReplicationsLegacy({});
    export const dataProxmoxVirtualEnvironmentReplicationsAll = {
        replications: all.then(all => all.replications),
    };
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    # List all Replications
    all = proxmoxve.get_replications_legacy()
    pulumi.export("dataProxmoxVirtualEnvironmentReplicationsAll", {
        "replications": all.replications,
    })
    
    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 {
    		// List all Replications
    		all, err := proxmoxve.GetReplicationsLegacy(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("dataProxmoxVirtualEnvironmentReplicationsAll", []proxmoxve.GetReplicationsLegacyReplicationMap{
    			"replications": all.Replications,
    		})
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ProxmoxVE = Pulumi.ProxmoxVE;
    
    return await Deployment.RunAsync(() => 
    {
        // List all Replications
        var all = ProxmoxVE.Index.GetReplicationsLegacy.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["dataProxmoxVirtualEnvironmentReplicationsAll"] = 
            {
                { "replications", all.Apply(getReplicationsLegacyResult => getReplicationsLegacyResult.Replications) },
            },
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.proxmoxve.ProxmoxveFunctions;
    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) {
            // List all Replications
            final var all = ProxmoxveFunctions.getReplicationsLegacy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
            ctx.export("dataProxmoxVirtualEnvironmentReplicationsAll", Map.of("replications", all.replications()));
        }
    }
    
    variables:
      # List all Replications
      all:
        fn::invoke:
          function: proxmoxve:getReplicationsLegacy
          arguments: {}
    outputs:
      dataProxmoxVirtualEnvironmentReplicationsAll:
        replications: ${all.replications}
    

    Using getReplicationsLegacy

    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 getReplicationsLegacy(opts?: InvokeOptions): Promise<GetReplicationsLegacyResult>
    function getReplicationsLegacyOutput(opts?: InvokeOptions): Output<GetReplicationsLegacyResult>
    def get_replications_legacy(opts: Optional[InvokeOptions] = None) -> GetReplicationsLegacyResult
    def get_replications_legacy_output(opts: Optional[InvokeOptions] = None) -> Output[GetReplicationsLegacyResult]
    func GetReplicationsLegacy(ctx *Context, opts ...InvokeOption) (*GetReplicationsLegacyResult, error)
    func GetReplicationsLegacyOutput(ctx *Context, opts ...InvokeOption) GetReplicationsLegacyResultOutput

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

    public static class GetReplicationsLegacy 
    {
        public static Task<GetReplicationsLegacyResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetReplicationsLegacyResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetReplicationsLegacyResult> getReplicationsLegacy(InvokeOptions options)
    public static Output<GetReplicationsLegacyResult> getReplicationsLegacy(InvokeOptions options)
    
    fn::invoke:
      function: proxmoxve:index/getReplicationsLegacy:getReplicationsLegacy
      arguments:
        # arguments dictionary

    getReplicationsLegacy Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Replications List<Pulumi.ProxmoxVE.Outputs.GetReplicationsLegacyReplication>
    List of Replications.
    Id string
    The provider-assigned unique ID for this managed resource.
    Replications []GetReplicationsLegacyReplication
    List of Replications.
    id String
    The provider-assigned unique ID for this managed resource.
    replications List<GetReplicationsLegacyReplication>
    List of Replications.
    id string
    The provider-assigned unique ID for this managed resource.
    replications GetReplicationsLegacyReplication[]
    List of Replications.
    id str
    The provider-assigned unique ID for this managed resource.
    replications Sequence[GetReplicationsLegacyReplication]
    List of Replications.
    id String
    The provider-assigned unique ID for this managed resource.
    replications List<Property Map>
    List of Replications.

    Supporting Types

    GetReplicationsLegacyReplication

    Comment string
    Disable bool
    Guest int
    Id string
    Jobnum int
    Rate double
    RemoveJob string
    Schedule string
    Source string
    Target string
    Type string
    Comment string
    Disable bool
    Guest int
    Id string
    Jobnum int
    Rate float64
    RemoveJob string
    Schedule string
    Source string
    Target string
    Type string
    comment String
    disable Boolean
    guest Integer
    id String
    jobnum Integer
    rate Double
    removeJob String
    schedule String
    source String
    target String
    type String
    comment string
    disable boolean
    guest number
    id string
    jobnum number
    rate number
    removeJob string
    schedule string
    source string
    target string
    type string
    comment str
    disable bool
    guest int
    id str
    jobnum int
    rate float
    remove_job str
    schedule str
    source str
    target str
    type str
    comment String
    disable Boolean
    guest Number
    id String
    jobnum Number
    rate Number
    removeJob String
    schedule String
    source String
    target String
    type String

    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.