UNPKG

@pulumi/pagerduty

Version:

A Pulumi package for creating and managing pagerduty cloud resources.

52 lines 2.05 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.getAlertGroupingSettingOutput = exports.getAlertGroupingSetting = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get information about a specific [alert grouping setting](https://developer.pagerduty.com/api-reference/9b5a6c8d7379b-get-an-alert-grouping-setting). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pagerduty from "@pulumi/pagerduty"; * * const example = pagerduty.getAlertGroupingSetting({ * name: "My example setting", * }); * ``` */ function getAlertGroupingSetting(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("pagerduty:index/getAlertGroupingSetting:getAlertGroupingSetting", { "config": args.config, "name": args.name, }, opts); } exports.getAlertGroupingSetting = getAlertGroupingSetting; /** * Use this data source to get information about a specific [alert grouping setting](https://developer.pagerduty.com/api-reference/9b5a6c8d7379b-get-an-alert-grouping-setting). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pagerduty from "@pulumi/pagerduty"; * * const example = pagerduty.getAlertGroupingSetting({ * name: "My example setting", * }); * ``` */ function getAlertGroupingSettingOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("pagerduty:index/getAlertGroupingSetting:getAlertGroupingSetting", { "config": args.config, "name": args.name, }, opts); } exports.getAlertGroupingSettingOutput = getAlertGroupingSettingOutput; //# sourceMappingURL=getAlertGroupingSetting.js.map