UNPKG

@pulumi/pagerduty

Version:

A Pulumi package for creating and managing pagerduty cloud resources.

72 lines 3.19 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.getAutomationActionsActionOutput = exports.getAutomationActionsAction = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to get information about a specific [automation actions action](https://developer.pagerduty.com/api-reference/357ed15419f64-get-an-automation-action). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pagerduty from "@pulumi/pagerduty"; * * const example = pagerduty.getAutomationActionsAction({ * id: "01CS1685B2UDM4I3XUUOXPPORM", * }); * ``` */ function getAutomationActionsAction(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("pagerduty:index/getAutomationActionsAction:getAutomationActionsAction", { "actionClassification": args.actionClassification, "allowInvocationFromEventOrchestration": args.allowInvocationFromEventOrchestration, "allowInvocationManually": args.allowInvocationManually, "creationTime": args.creationTime, "description": args.description, "id": args.id, "mapToAllServices": args.mapToAllServices, "modifyTime": args.modifyTime, "onlyInvocableOnUnresolvedIncidents": args.onlyInvocableOnUnresolvedIncidents, "runnerId": args.runnerId, "runnerType": args.runnerType, "type": args.type, }, opts); } exports.getAutomationActionsAction = getAutomationActionsAction; /** * Use this data source to get information about a specific [automation actions action](https://developer.pagerduty.com/api-reference/357ed15419f64-get-an-automation-action). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pagerduty from "@pulumi/pagerduty"; * * const example = pagerduty.getAutomationActionsAction({ * id: "01CS1685B2UDM4I3XUUOXPPORM", * }); * ``` */ function getAutomationActionsActionOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("pagerduty:index/getAutomationActionsAction:getAutomationActionsAction", { "actionClassification": args.actionClassification, "allowInvocationFromEventOrchestration": args.allowInvocationFromEventOrchestration, "allowInvocationManually": args.allowInvocationManually, "creationTime": args.creationTime, "description": args.description, "id": args.id, "mapToAllServices": args.mapToAllServices, "modifyTime": args.modifyTime, "onlyInvocableOnUnresolvedIncidents": args.onlyInvocableOnUnresolvedIncidents, "runnerId": args.runnerId, "runnerType": args.runnerType, "type": args.type, }, opts); } exports.getAutomationActionsActionOutput = getAutomationActionsActionOutput; //# sourceMappingURL=getAutomationActionsAction.js.map