UNPKG

@muhlba91/pulumi-proxmoxve

Version:

A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.

69 lines 1.81 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieves configuration of a Proxmox VE node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = proxmoxve.node.getConfig({ * nodeName: "pve", * }); * export const proxmoxNodeConfigDescription = example.then(example => example.description); * ``` */ export declare function getConfig(args: GetConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigResult>; /** * A collection of arguments for invoking getConfig. */ export interface GetConfigArgs { /** * The name of the node. */ nodeName: string; } /** * A collection of values returned by getConfig. */ export interface GetConfigResult { /** * Description of the node. Shown in the web-interface node notes panel. */ readonly description: string; /** * The ID of this resource. */ readonly id: string; /** * The name of the node. */ readonly nodeName: string; } /** * Retrieves configuration of a Proxmox VE node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = proxmoxve.node.getConfig({ * nodeName: "pve", * }); * export const proxmoxNodeConfigDescription = example.then(example => example.description); * ``` */ export declare function getConfigOutput(args: GetConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigResult>; /** * A collection of arguments for invoking getConfig. */ export interface GetConfigOutputArgs { /** * The name of the node. */ nodeName: pulumi.Input<string>; } //# sourceMappingURL=getConfig.d.ts.map