UNPKG

@muhlba91/pulumi-proxmoxve

Version:

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

50 lines 1.56 kB
"use strict"; // *** 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.getTimeOutput = exports.getTime = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves the current time for a specific node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const firstNodeTime = proxmoxve.Network.getTime({ * nodeName: "first-node", * }); * ``` */ function getTime(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("proxmoxve:Network/getTime:getTime", { "nodeName": args.nodeName, }, opts); } exports.getTime = getTime; /** * Retrieves the current time for a specific node. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const firstNodeTime = proxmoxve.Network.getTime({ * nodeName: "first-node", * }); * ``` */ function getTimeOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("proxmoxve:Network/getTime:getTime", { "nodeName": args.nodeName, }, opts); } exports.getTimeOutput = getTimeOutput; //# sourceMappingURL=getTime.js.map