@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
78 lines • 2.05 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* Retrieves all the host entries from a specific node.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const firstNodeHostEntries = proxmoxve.getHostsLegacy({
* nodeName: "first-node",
* });
* ```
*/
export declare function getHostsLegacy(args: GetHostsLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetHostsLegacyResult>;
/**
* A collection of arguments for invoking getHostsLegacy.
*/
export interface GetHostsLegacyArgs {
/**
* A node name.
*/
nodeName: string;
}
/**
* A collection of values returned by getHostsLegacy.
*/
export interface GetHostsLegacyResult {
/**
* The IP addresses.
*/
readonly addresses: string[];
/**
* The SHA1 digest.
*/
readonly digest: string;
/**
* The host entries (conversion of `addresses` and `hostnames` into
* objects).
*/
readonly entries: outputs.GetHostsLegacyEntry[];
/**
* The hostnames associated with each of the IP addresses.
*/
readonly hostnames: string[][];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly nodeName: string;
}
/**
* Retrieves all the host entries from a specific node.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const firstNodeHostEntries = proxmoxve.getHostsLegacy({
* nodeName: "first-node",
* });
* ```
*/
export declare function getHostsLegacyOutput(args: GetHostsLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHostsLegacyResult>;
/**
* A collection of arguments for invoking getHostsLegacy.
*/
export interface GetHostsLegacyOutputArgs {
/**
* A node name.
*/
nodeName: pulumi.Input<string>;
}
//# sourceMappingURL=getHostsLegacy.d.ts.map