UNPKG

@muhlba91/pulumi-proxmoxve

Version:

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

50 lines 1.55 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.getRoleOutput = exports.getRole = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Retrieves information about a specific role. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const operationsRole = proxmoxve.Permission.getRole({ * roleId: "operations", * }); * ``` */ function getRole(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("proxmoxve:Permission/getRole:getRole", { "roleId": args.roleId, }, opts); } exports.getRole = getRole; /** * Retrieves information about a specific role. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as proxmoxve from "@muhlba91/pulumi-proxmoxve"; * * const operationsRole = proxmoxve.Permission.getRole({ * roleId: "operations", * }); * ``` */ function getRoleOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("proxmoxve:Permission/getRole:getRole", { "roleId": args.roleId, }, opts); } exports.getRoleOutput = getRoleOutput; //# sourceMappingURL=getRole.js.map