1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. Acme
  5. getAccounts
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v7.13.0
published on Tuesday, Feb 10, 2026 by Daniel Muehlbachler-Pietrzykowski
proxmoxve logo
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v7.13.0
published on Tuesday, Feb 10, 2026 by Daniel Muehlbachler-Pietrzykowski

    Retrieves the list of ACME accounts.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
    
    const example = proxmoxve.Acme.getAccounts({});
    export const dataProxmoxVirtualEnvironmentAcmeAccounts = example.then(example => example.accounts);
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    example = proxmoxve.Acme.get_accounts()
    pulumi.export("dataProxmoxVirtualEnvironmentAcmeAccounts", example.accounts)
    
    package main
    
    import (
    	"github.com/muhlba91/pulumi-proxmoxve/sdk/v7/go/proxmoxve/acme"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := acme.GetAccounts(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("dataProxmoxVirtualEnvironmentAcmeAccounts", example.Accounts)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using ProxmoxVE = Pulumi.ProxmoxVE;
    
    return await Deployment.RunAsync(() => 
    {
        var example = ProxmoxVE.Acme.GetAccounts.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["dataProxmoxVirtualEnvironmentAcmeAccounts"] = example.Apply(getAccountsResult => getAccountsResult.Accounts),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.proxmoxve.Acme.AcmeFunctions;
    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 = AcmeFunctions.getAccounts(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
            ctx.export("dataProxmoxVirtualEnvironmentAcmeAccounts", example.accounts());
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: proxmoxve:Acme:getAccounts
          arguments: {}
    outputs:
      dataProxmoxVirtualEnvironmentAcmeAccounts: ${example.accounts}
    

    Using getAccounts

    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 getAccounts(opts?: InvokeOptions): Promise<GetAccountsResult>
    function getAccountsOutput(opts?: InvokeOptions): Output<GetAccountsResult>
    def get_accounts(opts: Optional[InvokeOptions] = None) -> GetAccountsResult
    def get_accounts_output(opts: Optional[InvokeOptions] = None) -> Output[GetAccountsResult]
    func GetAccounts(ctx *Context, opts ...InvokeOption) (*GetAccountsResult, error)
    func GetAccountsOutput(ctx *Context, opts ...InvokeOption) GetAccountsResultOutput

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

    public static class GetAccounts 
    {
        public static Task<GetAccountsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetAccountsResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccountsResult> getAccounts(InvokeOptions options)
    public static Output<GetAccountsResult> getAccounts(InvokeOptions options)
    
    fn::invoke:
      function: proxmoxve:Acme/getAccounts:getAccounts
      arguments:
        # arguments dictionary

    getAccounts Result

    The following output properties are available:

    Accounts List<string>
    The identifiers of the ACME accounts.
    Id string
    The provider-assigned unique ID for this managed resource.
    Accounts []string
    The identifiers of the ACME accounts.
    Id string
    The provider-assigned unique ID for this managed resource.
    accounts List<String>
    The identifiers of the ACME accounts.
    id String
    The provider-assigned unique ID for this managed resource.
    accounts string[]
    The identifiers of the ACME accounts.
    id string
    The provider-assigned unique ID for this managed resource.
    accounts Sequence[str]
    The identifiers of the ACME accounts.
    id str
    The provider-assigned unique ID for this managed resource.
    accounts List<String>
    The identifiers of the ACME accounts.
    id String
    The provider-assigned unique ID for this managed resource.

    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) v7.13.0
    published on Tuesday, Feb 10, 2026 by Daniel Muehlbachler-Pietrzykowski
      Try Pulumi Cloud free. Your team will thank you.