@lbrlabs/pulumi-grafana
Version:
A Pulumi package for creating and managing grafana.
28 lines • 1.13 kB
JavaScript
;
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLibraryPanelOutput = exports.getLibraryPanel = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Data source for retrieving a single library panel by name or uid.
*/
function getLibraryPanel(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("grafana:index/getLibraryPanel:getLibraryPanel", {
"name": args.name,
"orgId": args.orgId,
"uid": args.uid,
}, opts);
}
exports.getLibraryPanel = getLibraryPanel;
/**
* Data source for retrieving a single library panel by name or uid.
*/
function getLibraryPanelOutput(args, opts) {
return pulumi.output(args).apply((a) => getLibraryPanel(a, opts));
}
exports.getLibraryPanelOutput = getLibraryPanelOutput;
//# sourceMappingURL=getLibraryPanel.js.map