pulumi-logtail
Version:
A Pulumi provider for managing Logtail log management and analytics resources, dynamically bridged from the Terraform Logtail provider with support for sources, metrics, and log aggregation.
23 lines • 1.01 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.getMetric = getMetric;
exports.getMetricOutput = getMetricOutput;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
function getMetric(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("logtail:index/getMetric:getMetric", {
"name": args.name,
"sourceId": args.sourceId,
}, opts, utilities.getPackage());
}
function getMetricOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("logtail:index/getMetric:getMetric", {
"name": args.name,
"sourceId": args.sourceId,
}, opts, utilities.getPackage());
}
//# sourceMappingURL=getMetric.js.map