@pulumiverse/grafana
Version:
A Pulumi package for creating and managing grafana.
50 lines • 1.55 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getProbeOutput = exports.getProbe = 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 "@pulumiverse/grafana";
*
* const ohio = grafana.syntheticMonitoring.getProbe({
* name: "Ohio",
* });
* ```
*/
function getProbe(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("grafana:syntheticMonitoring/getProbe:getProbe", {
"name": args.name,
}, opts);
}
exports.getProbe = getProbe;
/**
* Data source for retrieving a single probe by name.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as grafana from "@pulumiverse/grafana";
*
* const ohio = grafana.syntheticMonitoring.getProbe({
* name: "Ohio",
* });
* ```
*/
function getProbeOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("grafana:syntheticMonitoring/getProbe:getProbe", {
"name": args.name,
}, opts);
}
exports.getProbeOutput = getProbeOutput;
//# sourceMappingURL=getProbe.js.map