Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
Retrieves the list of High Availability groups.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
const example = proxmoxve.getHagroups({});
export const dataProxmoxHagroups = example.then(example => example.groupIds);
import pulumi
import pulumi_proxmoxve as proxmoxve
example = proxmoxve.get_hagroups()
pulumi.export("dataProxmoxHagroups", example.group_ids)
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 {
example, err := proxmoxve.GetHagroups(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
ctx.Export("dataProxmoxHagroups", example.GroupIds)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ProxmoxVE = Pulumi.ProxmoxVE;
return await Deployment.RunAsync(() =>
{
var example = ProxmoxVE.Index.GetHagroups.Invoke();
return new Dictionary<string, object?>
{
["dataProxmoxHagroups"] = example.Apply(getHagroupsResult => getHagroupsResult.GroupIds),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.proxmoxve.ProxmoxveFunctions;
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 = ProxmoxveFunctions.getHagroups(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
ctx.export("dataProxmoxHagroups", example.groupIds());
}
}
variables:
example:
fn::invoke:
function: proxmoxve:getHagroups
arguments: {}
outputs:
dataProxmoxHagroups: ${example.groupIds}
Using getHagroups
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 getHagroups(opts?: InvokeOptions): Promise<GetHagroupsResult>
function getHagroupsOutput(opts?: InvokeOptions): Output<GetHagroupsResult>def get_hagroups(opts: Optional[InvokeOptions] = None) -> GetHagroupsResult
def get_hagroups_output(opts: Optional[InvokeOptions] = None) -> Output[GetHagroupsResult]func GetHagroups(ctx *Context, opts ...InvokeOption) (*GetHagroupsResult, error)
func GetHagroupsOutput(ctx *Context, opts ...InvokeOption) GetHagroupsResultOutput> Note: This function is named GetHagroups in the Go SDK.
public static class GetHagroups
{
public static Task<GetHagroupsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetHagroupsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetHagroupsResult> getHagroups(InvokeOptions options)
public static Output<GetHagroupsResult> getHagroups(InvokeOptions options)
fn::invoke:
function: proxmoxve:index/getHagroups:getHagroups
arguments:
# arguments dictionarygetHagroups Result
The following output properties are available:
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmoxTerraform Provider.
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.1.0
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Sunday, Apr 26, 2026 by Daniel Muehlbachler-Pietrzykowski
