UNPKG

@lbrlabs/pulumi-grafana

Version:

A Pulumi package for creating and managing grafana.

47 lines 1.64 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.getSyntheticMonitoringProbeOutput = exports.getSyntheticMonitoringProbe = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Data source for retrieving a single probe by name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const atlanta = grafana.getSyntheticMonitoringProbe({ * name: "Atlanta", * }); * ``` */ function getSyntheticMonitoringProbe(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("grafana:index/getSyntheticMonitoringProbe:getSyntheticMonitoringProbe", { "name": args.name, }, opts); } exports.getSyntheticMonitoringProbe = getSyntheticMonitoringProbe; /** * Data source for retrieving a single probe by name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as grafana from "@pulumi/grafana"; * * const atlanta = grafana.getSyntheticMonitoringProbe({ * name: "Atlanta", * }); * ``` */ function getSyntheticMonitoringProbeOutput(args, opts) { return pulumi.output(args).apply((a) => getSyntheticMonitoringProbe(a, opts)); } exports.getSyntheticMonitoringProbeOutput = getSyntheticMonitoringProbeOutput; //# sourceMappingURL=getSyntheticMonitoringProbe.js.map