1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. getPoolsLegacy
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

    Retrieves the identifiers for all the available resource pools.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
    
    const availablePools = proxmoxve.getPoolsLegacy({});
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    available_pools = proxmoxve.get_pools_legacy()
    
    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 {
    		_, err := proxmoxve.GetPoolsLegacy(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ProxmoxVE = Pulumi.ProxmoxVE;
    
    return await Deployment.RunAsync(() => 
    {
        var availablePools = ProxmoxVE.Index.GetPoolsLegacy.Invoke();
    
    });
    
    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) {
            final var availablePools = ProxmoxveFunctions.getPoolsLegacy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
        }
    }
    
    variables:
      availablePools:
        fn::invoke:
          function: proxmoxve:getPoolsLegacy
          arguments: {}
    

    Using getPoolsLegacy

    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 getPoolsLegacy(opts?: InvokeOptions): Promise<GetPoolsLegacyResult>
    function getPoolsLegacyOutput(opts?: InvokeOptions): Output<GetPoolsLegacyResult>
    def get_pools_legacy(opts: Optional[InvokeOptions] = None) -> GetPoolsLegacyResult
    def get_pools_legacy_output(opts: Optional[InvokeOptions] = None) -> Output[GetPoolsLegacyResult]
    func GetPoolsLegacy(ctx *Context, opts ...InvokeOption) (*GetPoolsLegacyResult, error)
    func GetPoolsLegacyOutput(ctx *Context, opts ...InvokeOption) GetPoolsLegacyResultOutput

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

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

    getPoolsLegacy Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    PoolIds List<string>
    The pool identifiers.
    Id string
    The provider-assigned unique ID for this managed resource.
    PoolIds []string
    The pool identifiers.
    id String
    The provider-assigned unique ID for this managed resource.
    poolIds List<String>
    The pool identifiers.
    id string
    The provider-assigned unique ID for this managed resource.
    poolIds string[]
    The pool identifiers.
    id str
    The provider-assigned unique ID for this managed resource.
    pool_ids Sequence[str]
    The pool identifiers.
    id String
    The provider-assigned unique ID for this managed resource.
    poolIds List<String>
    The pool identifiers.

    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.