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

    Retrieves information about a specific user group.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
    
    const operationsTeam = proxmoxve.getGroupLegacy({
        groupId: "operations-team",
    });
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    operations_team = proxmoxve.get_group_legacy(group_id="operations-team")
    
    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.GetGroupLegacy(ctx, &proxmoxve.LookupGroupLegacyArgs{
    			GroupId: "operations-team",
    		}, 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 operationsTeam = ProxmoxVE.Index.GetGroupLegacy.Invoke(new()
        {
            GroupId = "operations-team",
        });
    
    });
    
    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.GetGroupLegacyArgs;
    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 operationsTeam = ProxmoxveFunctions.getGroupLegacy(GetGroupLegacyArgs.builder()
                .groupId("operations-team")
                .build());
    
        }
    }
    
    variables:
      operationsTeam:
        fn::invoke:
          function: proxmoxve:getGroupLegacy
          arguments:
            groupId: operations-team
    
    Example coming soon!
    

    Using getGroupLegacy

    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 getGroupLegacy(args: GetGroupLegacyArgs, opts?: InvokeOptions): Promise<GetGroupLegacyResult>
    function getGroupLegacyOutput(args: GetGroupLegacyOutputArgs, opts?: InvokeOptions): Output<GetGroupLegacyResult>
    def get_group_legacy(group_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetGroupLegacyResult
    def get_group_legacy_output(group_id: pulumi.Input[Optional[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetGroupLegacyResult]
    func LookupGroupLegacy(ctx *Context, args *LookupGroupLegacyArgs, opts ...InvokeOption) (*LookupGroupLegacyResult, error)
    func LookupGroupLegacyOutput(ctx *Context, args *LookupGroupLegacyOutputArgs, opts ...InvokeOption) LookupGroupLegacyResultOutput

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

    public static class GetGroupLegacy 
    {
        public static Task<GetGroupLegacyResult> InvokeAsync(GetGroupLegacyArgs args, InvokeOptions? opts = null)
        public static Output<GetGroupLegacyResult> Invoke(GetGroupLegacyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGroupLegacyResult> getGroupLegacy(GetGroupLegacyArgs args, InvokeOptions options)
    public static Output<GetGroupLegacyResult> getGroupLegacy(GetGroupLegacyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: proxmoxve:index/getGroupLegacy:getGroupLegacy
      arguments:
        # arguments dictionary
    data "proxmoxve_getgrouplegacy" "name" {
        # arguments
    }

    The following arguments are supported:

    GroupId string
    The group identifier.
    GroupId string
    The group identifier.
    group_id string
    The group identifier.
    groupId String
    The group identifier.
    groupId string
    The group identifier.
    group_id str
    The group identifier.
    groupId String
    The group identifier.

    getGroupLegacy Result

    The following output properties are available:

    Acls List<Pulumi.ProxmoxVE.Outputs.GetGroupLegacyAcl>
    The access control list.
    Comment string
    The group comment.
    GroupId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Members List<string>
    The group members as a list with username@realm entries.
    Acls []GetGroupLegacyAcl
    The access control list.
    Comment string
    The group comment.
    GroupId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Members []string
    The group members as a list with username@realm entries.
    acls list(object)
    The access control list.
    comment string
    The group comment.
    group_id string
    id string
    The provider-assigned unique ID for this managed resource.
    members list(string)
    The group members as a list with username@realm entries.
    acls List<GetGroupLegacyAcl>
    The access control list.
    comment String
    The group comment.
    groupId String
    id String
    The provider-assigned unique ID for this managed resource.
    members List<String>
    The group members as a list with username@realm entries.
    acls GetGroupLegacyAcl[]
    The access control list.
    comment string
    The group comment.
    groupId string
    id string
    The provider-assigned unique ID for this managed resource.
    members string[]
    The group members as a list with username@realm entries.
    acls Sequence[GetGroupLegacyAcl]
    The access control list.
    comment str
    The group comment.
    group_id str
    id str
    The provider-assigned unique ID for this managed resource.
    members Sequence[str]
    The group members as a list with username@realm entries.
    acls List<Property Map>
    The access control list.
    comment String
    The group comment.
    groupId String
    id String
    The provider-assigned unique ID for this managed resource.
    members List<String>
    The group members as a list with username@realm entries.

    Supporting Types

    GetGroupLegacyAcl

    Path string
    The path.
    Propagate bool
    Whether to propagate to child paths.
    RoleId string
    The role identifier.
    Path string
    The path.
    Propagate bool
    Whether to propagate to child paths.
    RoleId string
    The role identifier.
    path string
    The path.
    propagate bool
    Whether to propagate to child paths.
    role_id string
    The role identifier.
    path String
    The path.
    propagate Boolean
    Whether to propagate to child paths.
    roleId String
    The role identifier.
    path string
    The path.
    propagate boolean
    Whether to propagate to child paths.
    roleId string
    The role identifier.
    path str
    The path.
    propagate bool
    Whether to propagate to child paths.
    role_id str
    The role identifier.
    path String
    The path.
    propagate Boolean
    Whether to propagate to child paths.
    roleId String
    The role identifier.

    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.1.0
    published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
      Try Pulumi Cloud free. Your team will thank you.