UNPKG

@pulumiverse/grafana

Version:

A Pulumi package for creating and managing grafana.

48 lines 2.69 kB
"use strict"; // *** 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.getDashboardsOutput = exports.getDashboards = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Datasource for retrieving all dashboards. Specify list of folder IDs to search in for dashboards. * * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/) * * [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/) * * [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/) */ /** @deprecated grafana.index/getdashboards.getDashboards has been deprecated in favor of grafana.oss/getdashboards.getDashboards */ function getDashboards(args, opts) { pulumi.log.warn("getDashboards is deprecated: grafana.index/getdashboards.getDashboards has been deprecated in favor of grafana.oss/getdashboards.getDashboards"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("grafana:index/getDashboards:getDashboards", { "folderUids": args.folderUids, "limit": args.limit, "orgId": args.orgId, "tags": args.tags, }, opts); } exports.getDashboards = getDashboards; /** * Datasource for retrieving all dashboards. Specify list of folder IDs to search in for dashboards. * * * [Official documentation](https://grafana.com/docs/grafana/latest/dashboards/) * * [Folder/Dashboard Search HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/folder_dashboard_search/) * * [Dashboard HTTP API](https://grafana.com/docs/grafana/latest/developers/http_api/dashboard/) */ /** @deprecated grafana.index/getdashboards.getDashboards has been deprecated in favor of grafana.oss/getdashboards.getDashboards */ function getDashboardsOutput(args, opts) { pulumi.log.warn("getDashboards is deprecated: grafana.index/getdashboards.getDashboards has been deprecated in favor of grafana.oss/getdashboards.getDashboards"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("grafana:index/getDashboards:getDashboards", { "folderUids": args.folderUids, "limit": args.limit, "orgId": args.orgId, "tags": args.tags, }, opts); } exports.getDashboardsOutput = getDashboardsOutput; //# sourceMappingURL=getDashboards.js.map