@lbrlabs/pulumi-harness
Version:
A Pulumi package for creating and managing Harness resources.
27 lines • 1.15 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.getMonitoredServiceOutput = exports.getMonitoredService = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Data source for retrieving a monitored service.
*/
function getMonitoredService(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("harness:platform/getMonitoredService:getMonitoredService", {
"identifier": args.identifier,
"orgId": args.orgId,
"projectId": args.projectId,
}, opts);
}
exports.getMonitoredService = getMonitoredService;
/**
* Data source for retrieving a monitored service.
*/
function getMonitoredServiceOutput(args, opts) {
return pulumi.output(args).apply((a) => getMonitoredService(a, opts));
}
exports.getMonitoredServiceOutput = getMonitoredServiceOutput;
//# sourceMappingURL=getMonitoredService.js.map