1. Packages
  2. Pagerduty Provider
  3. API Docs
  4. getAutomationActionsAction
PagerDuty v4.23.0 published on Wednesday, Apr 16, 2025 by Pulumi

pagerduty.getAutomationActionsAction

Explore with Pulumi AI

Use this data source to get information about a specific automation actions action.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";

const example = pagerduty.getAutomationActionsAction({
    id: "01CS1685B2UDM4I3XUUOXPPORM",
});
Copy
import pulumi
import pulumi_pagerduty as pagerduty

example = pagerduty.get_automation_actions_action(id="01CS1685B2UDM4I3XUUOXPPORM")
Copy
package main

import (
	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.LookupAutomationActionsAction(ctx, &pagerduty.LookupAutomationActionsActionArgs{
			Id: "01CS1685B2UDM4I3XUUOXPPORM",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pagerduty = Pulumi.Pagerduty;

return await Deployment.RunAsync(() => 
{
    var example = Pagerduty.GetAutomationActionsAction.Invoke(new()
    {
        Id = "01CS1685B2UDM4I3XUUOXPPORM",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.pagerduty.PagerdutyFunctions;
import com.pulumi.pagerduty.inputs.GetAutomationActionsActionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = PagerdutyFunctions.getAutomationActionsAction(GetAutomationActionsActionArgs.builder()
            .id("01CS1685B2UDM4I3XUUOXPPORM")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: pagerduty:getAutomationActionsAction
      arguments:
        id: 01CS1685B2UDM4I3XUUOXPPORM
Copy

Using getAutomationActionsAction

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAutomationActionsAction(args: GetAutomationActionsActionArgs, opts?: InvokeOptions): Promise<GetAutomationActionsActionResult>
function getAutomationActionsActionOutput(args: GetAutomationActionsActionOutputArgs, opts?: InvokeOptions): Output<GetAutomationActionsActionResult>
Copy
def get_automation_actions_action(action_classification: Optional[str] = None,
                                  allow_invocation_from_event_orchestration: Optional[bool] = None,
                                  allow_invocation_manually: Optional[bool] = None,
                                  creation_time: Optional[str] = None,
                                  description: Optional[str] = None,
                                  id: Optional[str] = None,
                                  map_to_all_services: Optional[bool] = None,
                                  modify_time: Optional[str] = None,
                                  only_invocable_on_unresolved_incidents: Optional[bool] = None,
                                  runner_id: Optional[str] = None,
                                  runner_type: Optional[str] = None,
                                  type: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetAutomationActionsActionResult
def get_automation_actions_action_output(action_classification: Optional[pulumi.Input[str]] = None,
                                  allow_invocation_from_event_orchestration: Optional[pulumi.Input[bool]] = None,
                                  allow_invocation_manually: Optional[pulumi.Input[bool]] = None,
                                  creation_time: Optional[pulumi.Input[str]] = None,
                                  description: Optional[pulumi.Input[str]] = None,
                                  id: Optional[pulumi.Input[str]] = None,
                                  map_to_all_services: Optional[pulumi.Input[bool]] = None,
                                  modify_time: Optional[pulumi.Input[str]] = None,
                                  only_invocable_on_unresolved_incidents: Optional[pulumi.Input[bool]] = None,
                                  runner_id: Optional[pulumi.Input[str]] = None,
                                  runner_type: Optional[pulumi.Input[str]] = None,
                                  type: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetAutomationActionsActionResult]
Copy
func LookupAutomationActionsAction(ctx *Context, args *LookupAutomationActionsActionArgs, opts ...InvokeOption) (*LookupAutomationActionsActionResult, error)
func LookupAutomationActionsActionOutput(ctx *Context, args *LookupAutomationActionsActionOutputArgs, opts ...InvokeOption) LookupAutomationActionsActionResultOutput
Copy

> Note: This function is named LookupAutomationActionsAction in the Go SDK.

public static class GetAutomationActionsAction 
{
    public static Task<GetAutomationActionsActionResult> InvokeAsync(GetAutomationActionsActionArgs args, InvokeOptions? opts = null)
    public static Output<GetAutomationActionsActionResult> Invoke(GetAutomationActionsActionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAutomationActionsActionResult> getAutomationActionsAction(GetAutomationActionsActionArgs args, InvokeOptions options)
public static Output<GetAutomationActionsActionResult> getAutomationActionsAction(GetAutomationActionsActionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: pagerduty:index/getAutomationActionsAction:getAutomationActionsAction
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
The id of the automation actions action in the PagerDuty API.
ActionClassification string
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
AllowInvocationFromEventOrchestration bool
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
AllowInvocationManually bool
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
CreationTime string
The time action was created. Represented as an ISO 8601 timestamp.
Description string
(Optional) The description of the action.
MapToAllServices bool
(Optional) If the action should be able to be run against all services or just specified ones.
ModifyTime string
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
OnlyInvocableOnUnresolvedIncidents bool
(Optional) Whether or not the action can be invoked on unresolved incidents.
RunnerId string
(Optional) The Process Automation Actions runner to associate the action with.
RunnerType string
(Optional) The type of the runner associated with the action.
Type string
The type of object. The value returned will be action.
Id This property is required. string
The id of the automation actions action in the PagerDuty API.
ActionClassification string
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
AllowInvocationFromEventOrchestration bool
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
AllowInvocationManually bool
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
CreationTime string
The time action was created. Represented as an ISO 8601 timestamp.
Description string
(Optional) The description of the action.
MapToAllServices bool
(Optional) If the action should be able to be run against all services or just specified ones.
ModifyTime string
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
OnlyInvocableOnUnresolvedIncidents bool
(Optional) Whether or not the action can be invoked on unresolved incidents.
RunnerId string
(Optional) The Process Automation Actions runner to associate the action with.
RunnerType string
(Optional) The type of the runner associated with the action.
Type string
The type of object. The value returned will be action.
id This property is required. String
The id of the automation actions action in the PagerDuty API.
actionClassification String
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
allowInvocationFromEventOrchestration Boolean
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
allowInvocationManually Boolean
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
creationTime String
The time action was created. Represented as an ISO 8601 timestamp.
description String
(Optional) The description of the action.
mapToAllServices Boolean
(Optional) If the action should be able to be run against all services or just specified ones.
modifyTime String
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
onlyInvocableOnUnresolvedIncidents Boolean
(Optional) Whether or not the action can be invoked on unresolved incidents.
runnerId String
(Optional) The Process Automation Actions runner to associate the action with.
runnerType String
(Optional) The type of the runner associated with the action.
type String
The type of object. The value returned will be action.
id This property is required. string
The id of the automation actions action in the PagerDuty API.
actionClassification string
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
allowInvocationFromEventOrchestration boolean
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
allowInvocationManually boolean
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
creationTime string
The time action was created. Represented as an ISO 8601 timestamp.
description string
(Optional) The description of the action.
mapToAllServices boolean
(Optional) If the action should be able to be run against all services or just specified ones.
modifyTime string
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
onlyInvocableOnUnresolvedIncidents boolean
(Optional) Whether or not the action can be invoked on unresolved incidents.
runnerId string
(Optional) The Process Automation Actions runner to associate the action with.
runnerType string
(Optional) The type of the runner associated with the action.
type string
The type of object. The value returned will be action.
id This property is required. str
The id of the automation actions action in the PagerDuty API.
action_classification str
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
allow_invocation_from_event_orchestration bool
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
allow_invocation_manually bool
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
creation_time str
The time action was created. Represented as an ISO 8601 timestamp.
description str
(Optional) The description of the action.
map_to_all_services bool
(Optional) If the action should be able to be run against all services or just specified ones.
modify_time str
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
only_invocable_on_unresolved_incidents bool
(Optional) Whether or not the action can be invoked on unresolved incidents.
runner_id str
(Optional) The Process Automation Actions runner to associate the action with.
runner_type str
(Optional) The type of the runner associated with the action.
type str
The type of object. The value returned will be action.
id This property is required. String
The id of the automation actions action in the PagerDuty API.
actionClassification String
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
allowInvocationFromEventOrchestration Boolean
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
allowInvocationManually Boolean
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
creationTime String
The time action was created. Represented as an ISO 8601 timestamp.
description String
(Optional) The description of the action.
mapToAllServices Boolean
(Optional) If the action should be able to be run against all services or just specified ones.
modifyTime String
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
onlyInvocableOnUnresolvedIncidents Boolean
(Optional) Whether or not the action can be invoked on unresolved incidents.
runnerId String
(Optional) The Process Automation Actions runner to associate the action with.
runnerType String
(Optional) The type of the runner associated with the action.
type String
The type of object. The value returned will be action.

getAutomationActionsAction Result

The following output properties are available:

ActionClassification string
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
ActionDataReferences List<GetAutomationActionsActionActionDataReference>
Action Data block. Action Data is documented below.
ActionType string
The type of the action. The only allowed values are process_automation and script.
AllowInvocationFromEventOrchestration bool
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
AllowInvocationManually bool
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
CreationTime string
The time action was created. Represented as an ISO 8601 timestamp.
Description string
(Optional) The description of the action.
Id string
The ID of the action.
MapToAllServices bool
(Optional) If the action should be able to be run against all services or just specified ones.
ModifyTime string
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
Name string
The name of the action.
OnlyInvocableOnUnresolvedIncidents bool
(Optional) Whether or not the action can be invoked on unresolved incidents.
RunnerId string
(Optional) The Process Automation Actions runner to associate the action with.
RunnerType string
(Optional) The type of the runner associated with the action.
Type string
The type of object. The value returned will be action.
ActionClassification string
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
ActionDataReferences []GetAutomationActionsActionActionDataReference
Action Data block. Action Data is documented below.
ActionType string
The type of the action. The only allowed values are process_automation and script.
AllowInvocationFromEventOrchestration bool
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
AllowInvocationManually bool
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
CreationTime string
The time action was created. Represented as an ISO 8601 timestamp.
Description string
(Optional) The description of the action.
Id string
The ID of the action.
MapToAllServices bool
(Optional) If the action should be able to be run against all services or just specified ones.
ModifyTime string
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
Name string
The name of the action.
OnlyInvocableOnUnresolvedIncidents bool
(Optional) Whether or not the action can be invoked on unresolved incidents.
RunnerId string
(Optional) The Process Automation Actions runner to associate the action with.
RunnerType string
(Optional) The type of the runner associated with the action.
Type string
The type of object. The value returned will be action.
actionClassification String
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
actionDataReferences List<GetAutomationActionsActionActionDataReference>
Action Data block. Action Data is documented below.
actionType String
The type of the action. The only allowed values are process_automation and script.
allowInvocationFromEventOrchestration Boolean
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
allowInvocationManually Boolean
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
creationTime String
The time action was created. Represented as an ISO 8601 timestamp.
description String
(Optional) The description of the action.
id String
The ID of the action.
mapToAllServices Boolean
(Optional) If the action should be able to be run against all services or just specified ones.
modifyTime String
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
name String
The name of the action.
onlyInvocableOnUnresolvedIncidents Boolean
(Optional) Whether or not the action can be invoked on unresolved incidents.
runnerId String
(Optional) The Process Automation Actions runner to associate the action with.
runnerType String
(Optional) The type of the runner associated with the action.
type String
The type of object. The value returned will be action.
actionClassification string
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
actionDataReferences GetAutomationActionsActionActionDataReference[]
Action Data block. Action Data is documented below.
actionType string
The type of the action. The only allowed values are process_automation and script.
allowInvocationFromEventOrchestration boolean
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
allowInvocationManually boolean
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
creationTime string
The time action was created. Represented as an ISO 8601 timestamp.
description string
(Optional) The description of the action.
id string
The ID of the action.
mapToAllServices boolean
(Optional) If the action should be able to be run against all services or just specified ones.
modifyTime string
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
name string
The name of the action.
onlyInvocableOnUnresolvedIncidents boolean
(Optional) Whether or not the action can be invoked on unresolved incidents.
runnerId string
(Optional) The Process Automation Actions runner to associate the action with.
runnerType string
(Optional) The type of the runner associated with the action.
type string
The type of object. The value returned will be action.
action_classification str
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
action_data_references Sequence[GetAutomationActionsActionActionDataReference]
Action Data block. Action Data is documented below.
action_type str
The type of the action. The only allowed values are process_automation and script.
allow_invocation_from_event_orchestration bool
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
allow_invocation_manually bool
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
creation_time str
The time action was created. Represented as an ISO 8601 timestamp.
description str
(Optional) The description of the action.
id str
The ID of the action.
map_to_all_services bool
(Optional) If the action should be able to be run against all services or just specified ones.
modify_time str
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
name str
The name of the action.
only_invocable_on_unresolved_incidents bool
(Optional) Whether or not the action can be invoked on unresolved incidents.
runner_id str
(Optional) The Process Automation Actions runner to associate the action with.
runner_type str
(Optional) The type of the runner associated with the action.
type str
The type of object. The value returned will be action.
actionClassification String
(Optional) The category of the action. The only allowed values are diagnostic and remediation.
actionDataReferences List<Property Map>
Action Data block. Action Data is documented below.
actionType String
The type of the action. The only allowed values are process_automation and script.
allowInvocationFromEventOrchestration Boolean
(Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
allowInvocationManually Boolean
(Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
creationTime String
The time action was created. Represented as an ISO 8601 timestamp.
description String
(Optional) The description of the action.
id String
The ID of the action.
mapToAllServices Boolean
(Optional) If the action should be able to be run against all services or just specified ones.
modifyTime String
(Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
name String
The name of the action.
onlyInvocableOnUnresolvedIncidents Boolean
(Optional) Whether or not the action can be invoked on unresolved incidents.
runnerId String
(Optional) The Process Automation Actions runner to associate the action with.
runnerType String
(Optional) The type of the runner associated with the action.
type String
The type of object. The value returned will be action.

Supporting Types

GetAutomationActionsActionActionDataReference

InvocationCommand This property is required. string
(Optional) The command to execute the script with.
ProcessAutomationJobArguments This property is required. string
(Optional) The arguments to pass to the Process Automation job execution.
ProcessAutomationJobId This property is required. string
(Required for process_automation action_type) The ID of the Process Automation job to execute.
ProcessAutomationNodeFilter This property is required. string
(Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
Script This property is required. string
(Required for script action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
InvocationCommand This property is required. string
(Optional) The command to execute the script with.
ProcessAutomationJobArguments This property is required. string
(Optional) The arguments to pass to the Process Automation job execution.
ProcessAutomationJobId This property is required. string
(Required for process_automation action_type) The ID of the Process Automation job to execute.
ProcessAutomationNodeFilter This property is required. string
(Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
Script This property is required. string
(Required for script action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
invocationCommand This property is required. String
(Optional) The command to execute the script with.
processAutomationJobArguments This property is required. String
(Optional) The arguments to pass to the Process Automation job execution.
processAutomationJobId This property is required. String
(Required for process_automation action_type) The ID of the Process Automation job to execute.
processAutomationNodeFilter This property is required. String
(Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
script This property is required. String
(Required for script action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
invocationCommand This property is required. string
(Optional) The command to execute the script with.
processAutomationJobArguments This property is required. string
(Optional) The arguments to pass to the Process Automation job execution.
processAutomationJobId This property is required. string
(Required for process_automation action_type) The ID of the Process Automation job to execute.
processAutomationNodeFilter This property is required. string
(Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
script This property is required. string
(Required for script action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
invocation_command This property is required. str
(Optional) The command to execute the script with.
process_automation_job_arguments This property is required. str
(Optional) The arguments to pass to the Process Automation job execution.
process_automation_job_id This property is required. str
(Required for process_automation action_type) The ID of the Process Automation job to execute.
process_automation_node_filter This property is required. str
(Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
script This property is required. str
(Required for script action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
invocationCommand This property is required. String
(Optional) The command to execute the script with.
processAutomationJobArguments This property is required. String
(Optional) The arguments to pass to the Process Automation job execution.
processAutomationJobId This property is required. String
(Required for process_automation action_type) The ID of the Process Automation job to execute.
processAutomationNodeFilter This property is required. String
(Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
script This property is required. String
(Required for script action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.

Package Details

Repository
PagerDuty pulumi/pulumi-pagerduty
License
Apache-2.0
Notes
This Pulumi package is based on the pagerduty Terraform Provider.