UNPKG

@lbrlabs/pulumi-grafana

Version:

A Pulumi package for creating and managing grafana.

47 lines 1.68 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.getOncallEscalationChainOutput = exports.getOncallEscalationChain = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const default = grafana.getOncallEscalationChain({ * name: "default", * }); * ``` */ function getOncallEscalationChain(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("grafana:index/getOncallEscalationChain:getOncallEscalationChain", { "name": args.name, }, opts); } exports.getOncallEscalationChain = getOncallEscalationChain; /** * * [HTTP API](https://grafana.com/docs/oncall/latest/oncall-api-reference/escalation_chains/) * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const default = grafana.getOncallEscalationChain({ * name: "default", * }); * ``` */ function getOncallEscalationChainOutput(args, opts) { return pulumi.output(args).apply((a) => getOncallEscalationChain(a, opts)); } exports.getOncallEscalationChainOutput = getOncallEscalationChainOutput; //# sourceMappingURL=getOncallEscalationChain.js.map