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

    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.getAccountsLegacy({});
    export const dataProxmoxVirtualEnvironmentAcmeAccounts = example.then(example => example.accounts);
    
    import pulumi
    import pulumi_proxmoxve as proxmoxve
    
    example = proxmoxve.acme.get_accounts_legacy()
    pulumi.export("dataProxmoxVirtualEnvironmentAcmeAccounts", example.accounts)
    
    package main
    
    import (
    	"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve/acme"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := acme.GetAccountsLegacy(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.GetAccountsLegacy.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["dataProxmoxVirtualEnvironmentAcmeAccounts"] = example.Apply(getAccountsLegacyResult => getAccountsLegacyResult.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.getAccountsLegacy(%!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:getAccountsLegacy
          arguments: {}
    outputs:
      dataProxmoxVirtualEnvironmentAcmeAccounts: ${example.accounts}
    

    Using getAccountsLegacy

    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 getAccountsLegacy(opts?: InvokeOptions): Promise<GetAccountsLegacyResult>
    function getAccountsLegacyOutput(opts?: InvokeOptions): Output<GetAccountsLegacyResult>
    def get_accounts_legacy(opts: Optional[InvokeOptions] = None) -> GetAccountsLegacyResult
    def get_accounts_legacy_output(opts: Optional[InvokeOptions] = None) -> Output[GetAccountsLegacyResult]
    func GetAccountsLegacy(ctx *Context, opts ...InvokeOption) (*GetAccountsLegacyResult, error)
    func GetAccountsLegacyOutput(ctx *Context, opts ...InvokeOption) GetAccountsLegacyResultOutput

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

    public static class GetAccountsLegacy 
    {
        public static Task<GetAccountsLegacyResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetAccountsLegacyResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAccountsLegacyResult> getAccountsLegacy(InvokeOptions options)
    public static Output<GetAccountsLegacyResult> getAccountsLegacy(InvokeOptions options)
    
    fn::invoke:
      function: proxmoxve:acme/getAccountsLegacy:getAccountsLegacy
      arguments:
        # arguments dictionary

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