@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
50 lines • 1.54 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDNSOutput = exports.getDNS = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* 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",
* });
* ```
*/
function getDNS(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("proxmoxve:Network/getDNS:getDNS", {
"nodeName": args.nodeName,
}, opts);
}
exports.getDNS = getDNS;
/**
* 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",
* });
* ```
*/
function getDNSOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("proxmoxve:Network/getDNS:getDNS", {
"nodeName": args.nodeName,
}, opts);
}
exports.getDNSOutput = getDNSOutput;
//# sourceMappingURL=getDNS.js.map