@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
85 lines (84 loc) • 2.61 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves information about a specific High Availability group.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const all = proxmoxve.HA.getHAGroups({});
* const example = all.then(all => .map(([__key, __value]) => (proxmoxve.HA.getHAGroup({
* group: __value,
* }))));
* export const proxmoxVirtualEnvironmentHagroupsFull = example;
* ```
*/
export declare function getHAGroup(args: GetHAGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetHAGroupResult>;
/**
* A collection of arguments for invoking getHAGroup.
*/
export interface GetHAGroupArgs {
/**
* The identifier of the High Availability group to read.
*/
group: string;
}
/**
* A collection of values returned by getHAGroup.
*/
export interface GetHAGroupResult {
/**
* The comment associated with this group
*/
readonly comment: string;
/**
* The identifier of the High Availability group to read.
*/
readonly group: string;
/**
* The unique identifier of this resource.
*/
readonly id: string;
/**
* A flag that indicates that failing back to a higher priority node is disabled for this HA group.
*/
readonly noFailback: boolean;
/**
* The member nodes for this group. They are provided as a map, where the keys are the node names and the values represent their priority: integers for known priorities or `null` for unset priorities.
*/
readonly nodes: {
[key: string]: number;
};
/**
* A flag that indicates that other nodes may not be used to run resources associated to this HA group.
*/
readonly restricted: boolean;
}
/**
* Retrieves information about a specific High Availability group.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const all = proxmoxve.HA.getHAGroups({});
* const example = all.then(all => .map(([__key, __value]) => (proxmoxve.HA.getHAGroup({
* group: __value,
* }))));
* export const proxmoxVirtualEnvironmentHagroupsFull = example;
* ```
*/
export declare function getHAGroupOutput(args: GetHAGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHAGroupResult>;
/**
* A collection of arguments for invoking getHAGroup.
*/
export interface GetHAGroupOutputArgs {
/**
* The identifier of the High Availability group to read.
*/
group: pulumi.Input<string>;
}