UNPKG

@muhlba91/pulumi-proxmoxve

Version:

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

56 lines 1.93 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.getAccountOutput = exports.getAccount = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves information about a specific ACME account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const all = proxmoxve.Acme.getAccounts({}); * const example = all.then(all => .map(([__key, __value]) => (proxmoxve.Acme.getAccount({ * name: __value, * })))); * export const dataProxmoxVirtualEnvironmentAcmeAccount = example; * ``` */ function getAccount(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("proxmoxve:Acme/getAccount:getAccount", { "name": args.name, }, opts); } exports.getAccount = getAccount; /** * Retrieves information about a specific ACME account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const all = proxmoxve.Acme.getAccounts({}); * const example = all.then(all => .map(([__key, __value]) => (proxmoxve.Acme.getAccount({ * name: __value, * })))); * export const dataProxmoxVirtualEnvironmentAcmeAccount = example; * ``` */ function getAccountOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("proxmoxve:Acme/getAccount:getAccount", { "name": args.name, }, opts); } exports.getAccountOutput = getAccountOutput; //# sourceMappingURL=getAccount.js.map