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

    Manages a resource pool.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
    
    const operationsPool = new proxmoxve.PoolLegacy("operations_pool", {
        comment: "Managed by Pulumi",
        poolId: "operations-pool",
    });
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    operations_pool = proxmoxve.PoolLegacy("operations_pool",
        comment="Managed by Pulumi",
        pool_id="operations-pool")
    
    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.NewPoolLegacy(ctx, "operations_pool", &proxmoxve.PoolLegacyArgs{
    			Comment: pulumi.String("Managed by Pulumi"),
    			PoolId:  pulumi.String("operations-pool"),
    		})
    		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 operationsPool = new ProxmoxVE.Index.PoolLegacy("operations_pool", new()
        {
            Comment = "Managed by Pulumi",
            PoolId = "operations-pool",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import io.muehlbachler.pulumi.proxmoxve.PoolLegacy;
    import io.muehlbachler.pulumi.proxmoxve.PoolLegacyArgs;
    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) {
            var operationsPool = new PoolLegacy("operationsPool", PoolLegacyArgs.builder()
                .comment("Managed by Pulumi")
                .poolId("operations-pool")
                .build());
    
        }
    }
    
    resources:
      operationsPool:
        type: proxmoxve:PoolLegacy
        name: operations_pool
        properties:
          comment: Managed by Pulumi
          poolId: operations-pool
    

    Create PoolLegacy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PoolLegacy(name: string, args: PoolLegacyArgs, opts?: CustomResourceOptions);
    @overload
    def PoolLegacy(resource_name: str,
                   args: PoolLegacyArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def PoolLegacy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   pool_id: Optional[str] = None,
                   comment: Optional[str] = None)
    func NewPoolLegacy(ctx *Context, name string, args PoolLegacyArgs, opts ...ResourceOption) (*PoolLegacy, error)
    public PoolLegacy(string name, PoolLegacyArgs args, CustomResourceOptions? opts = null)
    public PoolLegacy(String name, PoolLegacyArgs args)
    public PoolLegacy(String name, PoolLegacyArgs args, CustomResourceOptions options)
    
    type: proxmoxve:PoolLegacy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PoolLegacyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PoolLegacyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PoolLegacyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PoolLegacyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PoolLegacyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var poolLegacyResource = new ProxmoxVE.Index.PoolLegacy("poolLegacyResource", new()
    {
        PoolId = "string",
        Comment = "string",
    });
    
    example, err := proxmoxve.NewPoolLegacy(ctx, "poolLegacyResource", &proxmoxve.PoolLegacyArgs{
    	PoolId:  pulumi.String("string"),
    	Comment: pulumi.String("string"),
    })
    
    var poolLegacyResource = new PoolLegacy("poolLegacyResource", PoolLegacyArgs.builder()
        .poolId("string")
        .comment("string")
        .build());
    
    pool_legacy_resource = proxmoxve.PoolLegacy("poolLegacyResource",
        pool_id="string",
        comment="string")
    
    const poolLegacyResource = new proxmoxve.PoolLegacy("poolLegacyResource", {
        poolId: "string",
        comment: "string",
    });
    
    type: proxmoxve:PoolLegacy
    properties:
        comment: string
        poolId: string
    

    PoolLegacy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PoolLegacy resource accepts the following input properties:

    PoolId string
    The pool identifier.
    Comment string
    The pool comment.
    PoolId string
    The pool identifier.
    Comment string
    The pool comment.
    poolId String
    The pool identifier.
    comment String
    The pool comment.
    poolId string
    The pool identifier.
    comment string
    The pool comment.
    pool_id str
    The pool identifier.
    comment str
    The pool comment.
    poolId String
    The pool identifier.
    comment String
    The pool comment.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PoolLegacy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Members List<Pulumi.ProxmoxVE.Outputs.PoolLegacyMember>
    The pool members.
    Id string
    The provider-assigned unique ID for this managed resource.
    Members []PoolLegacyMember
    The pool members.
    id String
    The provider-assigned unique ID for this managed resource.
    members List<PoolLegacyMember>
    The pool members.
    id string
    The provider-assigned unique ID for this managed resource.
    members PoolLegacyMember[]
    The pool members.
    id str
    The provider-assigned unique ID for this managed resource.
    members Sequence[PoolLegacyMember]
    The pool members.
    id String
    The provider-assigned unique ID for this managed resource.
    members List<Property Map>
    The pool members.

    Look up Existing PoolLegacy Resource

    Get an existing PoolLegacy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PoolLegacyState, opts?: CustomResourceOptions): PoolLegacy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            members: Optional[Sequence[PoolLegacyMemberArgs]] = None,
            pool_id: Optional[str] = None) -> PoolLegacy
    func GetPoolLegacy(ctx *Context, name string, id IDInput, state *PoolLegacyState, opts ...ResourceOption) (*PoolLegacy, error)
    public static PoolLegacy Get(string name, Input<string> id, PoolLegacyState? state, CustomResourceOptions? opts = null)
    public static PoolLegacy get(String name, Output<String> id, PoolLegacyState state, CustomResourceOptions options)
    resources:  _:    type: proxmoxve:PoolLegacy    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Comment string
    The pool comment.
    Members List<Pulumi.ProxmoxVE.Inputs.PoolLegacyMember>
    The pool members.
    PoolId string
    The pool identifier.
    Comment string
    The pool comment.
    Members []PoolLegacyMemberArgs
    The pool members.
    PoolId string
    The pool identifier.
    comment String
    The pool comment.
    members List<PoolLegacyMember>
    The pool members.
    poolId String
    The pool identifier.
    comment string
    The pool comment.
    members PoolLegacyMember[]
    The pool members.
    poolId string
    The pool identifier.
    comment str
    The pool comment.
    members Sequence[PoolLegacyMemberArgs]
    The pool members.
    pool_id str
    The pool identifier.
    comment String
    The pool comment.
    members List<Property Map>
    The pool members.
    poolId String
    The pool identifier.

    Supporting Types

    PoolLegacyMember, PoolLegacyMemberArgs

    DatastoreId string
    The datastore identifier.
    Id string
    The member identifier.
    NodeName string
    The node name.
    Type string
    The member type.
    VmId int
    The virtual machine identifier.
    DatastoreId string
    The datastore identifier.
    Id string
    The member identifier.
    NodeName string
    The node name.
    Type string
    The member type.
    VmId int
    The virtual machine identifier.
    datastoreId String
    The datastore identifier.
    id String
    The member identifier.
    nodeName String
    The node name.
    type String
    The member type.
    vmId Integer
    The virtual machine identifier.
    datastoreId string
    The datastore identifier.
    id string
    The member identifier.
    nodeName string
    The node name.
    type string
    The member type.
    vmId number
    The virtual machine identifier.
    datastore_id str
    The datastore identifier.
    id str
    The member identifier.
    node_name str
    The node name.
    type str
    The member type.
    vm_id int
    The virtual machine identifier.
    datastoreId String
    The datastore identifier.
    id String
    The member identifier.
    nodeName String
    The node name.
    type String
    The member type.
    vmId Number
    The virtual machine identifier.

    Import

    Instances can be imported using the poolId, e.g.,

    $ pulumi import proxmoxve:index/poolLegacy:PoolLegacy operations_pool operations-pool
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.