@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
43 lines (42 loc) • 1.27 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves the list of High Availability groups.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.HA.getHAGroups({});
* export const dataProxmoxVirtualEnvironmentHagroups = example.then(example => example.groupIds);
* ```
*/
export declare function getHAGroups(opts?: pulumi.InvokeOptions): Promise<GetHAGroupsResult>;
/**
* A collection of values returned by getHAGroups.
*/
export interface GetHAGroupsResult {
/**
* The identifiers of the High Availability groups.
*/
readonly groupIds: string[];
/**
* The unique identifier of this resource.
*/
readonly id: string;
}
/**
* Retrieves the list of High Availability groups.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.HA.getHAGroups({});
* export const dataProxmoxVirtualEnvironmentHagroups = example.then(example => example.groupIds);
* ```
*/
export declare function getHAGroupsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHAGroupsResult>;