1. Packages
  2. Proxmox Virtual Environment (Proxmox VE)
  3. API Docs
  4. Acme
  5. getAccount
Proxmox Virtual Environment (Proxmox VE) v7.0.0 published on Tuesday, Apr 1, 2025 by Daniel Muehlbachler-Pietrzykowski

proxmoxve.Acme.getAccount

Explore with Pulumi AI

Proxmox Virtual Environment (Proxmox VE) v7.0.0 published on Tuesday, Apr 1, 2025 by Daniel Muehlbachler-Pietrzykowski

Retrieves information about a specific ACME account.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as proxmoxve from "@pulumi/proxmoxve";

const all = proxmoxve.Acme.getAccounts({});
const example = all.then(all => .map(([__key, __value]) => (proxmoxve.Acme.getAccount({
    name: __value,
}))));
export const dataProxmoxVirtualEnvironmentAcmeAccount = example;
Copy
import pulumi
import pulumi_proxmoxve as proxmoxve

all = proxmoxve.Acme.get_accounts()
example = [proxmoxve.Acme.get_account(name=__value) for __key, __value in all.accounts]
pulumi.export("dataProxmoxVirtualEnvironmentAcmeAccount", example)
Copy
package main

import (
	"github.com/muhlba91/pulumi-proxmoxve/sdk/v6/go/proxmoxve/acme"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		all, err := acme.GetAccounts(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		example := "TODO: For expression"
		ctx.Export("dataProxmoxVirtualEnvironmentAcmeAccount", example)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ProxmoxVE = Pulumi.ProxmoxVE;

return await Deployment.RunAsync(() => 
{
    var all = ProxmoxVE.Acme.GetAccounts.Invoke();

    var example = .Select(__value => 
    {
        return ProxmoxVE.Acme.GetAccount.Invoke(new()
        {
            Name = __value,
        });
    }).ToList();

    return new Dictionary<string, object?>
    {
        ["dataProxmoxVirtualEnvironmentAcmeAccount"] = example,
    };
});
Copy
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 all = AcmeFunctions.getAccounts();

        final var example = "TODO: ForExpression";

        ctx.export("dataProxmoxVirtualEnvironmentAcmeAccount", example);
    }
}
Copy
Coming soon!

Using getAccount

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 getAccount(args: GetAccountArgs, opts?: InvokeOptions): Promise<GetAccountResult>
function getAccountOutput(args: GetAccountOutputArgs, opts?: InvokeOptions): Output<GetAccountResult>
Copy
def get_account(name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetAccountResult
def get_account_output(name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetAccountResult]
Copy
func GetAccount(ctx *Context, args *GetAccountArgs, opts ...InvokeOption) (*GetAccountResult, error)
func GetAccountOutput(ctx *Context, args *GetAccountOutputArgs, opts ...InvokeOption) GetAccountResultOutput
Copy

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

public static class GetAccount 
{
    public static Task<GetAccountResult> InvokeAsync(GetAccountArgs args, InvokeOptions? opts = null)
    public static Output<GetAccountResult> Invoke(GetAccountInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
public static Output<GetAccountResult> getAccount(GetAccountArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: proxmoxve:Acme/getAccount:getAccount
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name string
The identifier of the ACME account to read.
Name string
The identifier of the ACME account to read.
name String
The identifier of the ACME account to read.
name string
The identifier of the ACME account to read.
name str
The identifier of the ACME account to read.
name String
The identifier of the ACME account to read.

getAccount Result

The following output properties are available:

Account Pulumi.ProxmoxVE.Acme.Outputs.GetAccountAccount
The ACME account information.
Directory string
The directory URL of the ACME account.
Id string
The provider-assigned unique ID for this managed resource.
Location string
The location URL of the ACME account.
Tos string
The URL of the terms of service of the ACME account.
Name string
The identifier of the ACME account to read.
Account GetAccountAccount
The ACME account information.
Directory string
The directory URL of the ACME account.
Id string
The provider-assigned unique ID for this managed resource.
Location string
The location URL of the ACME account.
Tos string
The URL of the terms of service of the ACME account.
Name string
The identifier of the ACME account to read.
account GetAccountAccount
The ACME account information.
directory String
The directory URL of the ACME account.
id String
The provider-assigned unique ID for this managed resource.
location String
The location URL of the ACME account.
tos String
The URL of the terms of service of the ACME account.
name String
The identifier of the ACME account to read.
account GetAccountAccount
The ACME account information.
directory string
The directory URL of the ACME account.
id string
The provider-assigned unique ID for this managed resource.
location string
The location URL of the ACME account.
tos string
The URL of the terms of service of the ACME account.
name string
The identifier of the ACME account to read.
account acme.GetAccountAccount
The ACME account information.
directory str
The directory URL of the ACME account.
id str
The provider-assigned unique ID for this managed resource.
location str
The location URL of the ACME account.
tos str
The URL of the terms of service of the ACME account.
name str
The identifier of the ACME account to read.
account Property Map
The ACME account information.
directory String
The directory URL of the ACME account.
id String
The provider-assigned unique ID for this managed resource.
location String
The location URL of the ACME account.
tos String
The URL of the terms of service of the ACME account.
name String
The identifier of the ACME account to read.

Supporting Types

GetAccountAccount

Contacts This property is required. List<string>
An array of contact email addresses.
CreatedAt This property is required. string
The timestamp of the account creation.
Status This property is required. string
The status of the account. Can be one of valid, deactivated or revoked.
Contacts This property is required. []string
An array of contact email addresses.
CreatedAt This property is required. string
The timestamp of the account creation.
Status This property is required. string
The status of the account. Can be one of valid, deactivated or revoked.
contacts This property is required. List<String>
An array of contact email addresses.
createdAt This property is required. String
The timestamp of the account creation.
status This property is required. String
The status of the account. Can be one of valid, deactivated or revoked.
contacts This property is required. string[]
An array of contact email addresses.
createdAt This property is required. string
The timestamp of the account creation.
status This property is required. string
The status of the account. Can be one of valid, deactivated or revoked.
contacts This property is required. Sequence[str]
An array of contact email addresses.
created_at This property is required. str
The timestamp of the account creation.
status This property is required. str
The status of the account. Can be one of valid, deactivated or revoked.
contacts This property is required. List<String>
An array of contact email addresses.
createdAt This property is required. String
The timestamp of the account creation.
status This property is required. String
The status of the account. Can be one of valid, deactivated or revoked.

Package Details

Repository
proxmoxve muhlba91/pulumi-proxmoxve
License
Apache-2.0
Notes
This Pulumi package is based on the proxmox Terraform Provider.
Proxmox Virtual Environment (Proxmox VE) v7.0.0 published on Tuesday, Apr 1, 2025 by Daniel Muehlbachler-Pietrzykowski