@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
50 lines • 1.6 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.getGroupOutput = exports.getGroup = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Retrieves information about a specific user group.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const operationsTeam = proxmoxve.Permission.getGroup({
* groupId: "operations-team",
* });
* ```
*/
function getGroup(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("proxmoxve:Permission/getGroup:getGroup", {
"groupId": args.groupId,
}, opts);
}
exports.getGroup = getGroup;
/**
* Retrieves information about a specific user group.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const operationsTeam = proxmoxve.Permission.getGroup({
* groupId: "operations-team",
* });
* ```
*/
function getGroupOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("proxmoxve:Permission/getGroup:getGroup", {
"groupId": args.groupId,
}, opts);
}
exports.getGroupOutput = getGroupOutput;
//# sourceMappingURL=getGroup.js.map