@lbrlabs/pulumi-grafana
Version:
A Pulumi package for creating and managing grafana.
43 lines • 1.34 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.getOncallTeamOutput = exports.getOncallTeam = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const exampleTeam = grafana.getOncallTeam({
* name: "example_team",
* });
* ```
*/
function getOncallTeam(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("grafana:index/getOncallTeam:getOncallTeam", {
"name": args.name,
}, opts);
}
exports.getOncallTeam = getOncallTeam;
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumi/grafana";
*
* const exampleTeam = grafana.getOncallTeam({
* name: "example_team",
* });
* ```
*/
function getOncallTeamOutput(args, opts) {
return pulumi.output(args).apply((a) => getOncallTeam(a, opts));
}
exports.getOncallTeamOutput = getOncallTeamOutput;
//# sourceMappingURL=getOncallTeam.js.map