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