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