UNPKG

@muhlba91/pulumi-proxmoxve

Version:

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

52 lines 1.89 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.getVersionOutput = exports.getVersion = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves API version details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = proxmoxve.Network.getVersion({}); * export const dataProxmoxVirtualEnvironmentVersion = { * release: example.then(example => example.release), * repository_id: example.then(example => example.repositoryId), * version: example.then(example => example.version), * }; * ``` */ function getVersion(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("proxmoxve:Network/getVersion:getVersion", {}, opts); } exports.getVersion = getVersion; /** * Retrieves API version details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const example = proxmoxve.Network.getVersion({}); * export const dataProxmoxVirtualEnvironmentVersion = { * release: example.then(example => example.release), * repository_id: example.then(example => example.repositoryId), * version: example.then(example => example.version), * }; * ``` */ function getVersionOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("proxmoxve:Network/getVersion:getVersion", {}, opts); } exports.getVersionOutput = getVersionOutput; //# sourceMappingURL=getVersion.js.map