UNPKG

@muhlba91/pulumi-proxmoxve

Version:

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

68 lines (67 loc) 1.57 kB
import * as pulumi from "@pulumi/pulumi"; /** * Retrieves the DNS configuration for a specific node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const firstNode = proxmoxve.Network.getDNS({ * nodeName: "first-node", * }); * ``` */ export declare function getDNS(args: GetDNSArgs, opts?: pulumi.InvokeOptions): Promise<GetDNSResult>; /** * A collection of arguments for invoking getDNS. */ export interface GetDNSArgs { /** * A node name. */ nodeName: string; } /** * A collection of values returned by getDNS. */ export interface GetDNSResult { /** * The DNS search domain. */ readonly domain: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nodeName: string; /** * The DNS servers. */ readonly servers: string[]; } /** * Retrieves the DNS configuration for a specific node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const firstNode = proxmoxve.Network.getDNS({ * nodeName: "first-node", * }); * ``` */ export declare function getDNSOutput(args: GetDNSOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDNSResult>; /** * A collection of arguments for invoking getDNS. */ export interface GetDNSOutputArgs { /** * A node name. */ nodeName: pulumi.Input<string>; }