UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

58 lines 1.95 kB
"use strict"; // *** 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.getMonitoredServiceOutput = exports.getMonitoredService = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for retrieving a monitored service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getMonitoredService({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ 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. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getMonitoredService({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ function getMonitoredServiceOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("harness:platform/getMonitoredService:getMonitoredService", { "identifier": args.identifier, "orgId": args.orgId, "projectId": args.projectId, }, opts); } exports.getMonitoredServiceOutput = getMonitoredServiceOutput; //# sourceMappingURL=getMonitoredService.js.map