Viewing docs for PagerDuty v4.31.1
published on Wednesday, Mar 25, 2026 by Pulumi
published on Wednesday, Mar 25, 2026 by Pulumi
Viewing docs for PagerDuty v4.31.1
published on Wednesday, Mar 25, 2026 by Pulumi
published on Wednesday, Mar 25, 2026 by Pulumi
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",
});
import pulumi
import pulumi_pagerduty as pagerduty
example = pagerduty.get_automation_actions_action(id="01CS1685B2UDM4I3XUUOXPPORM")
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
})
}
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",
});
});
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());
}
}
variables:
example:
fn::invoke:
function: pagerduty:getAutomationActionsAction
arguments:
id: 01CS1685B2UDM4I3XUUOXPPORM
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>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]func LookupAutomationActionsAction(ctx *Context, args *LookupAutomationActionsActionArgs, opts ...InvokeOption) (*LookupAutomationActionsActionResult, error)
func LookupAutomationActionsActionOutput(ctx *Context, args *LookupAutomationActionsActionOutputArgs, opts ...InvokeOption) LookupAutomationActionsActionResultOutput> 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)
}public static CompletableFuture<GetAutomationActionsActionResult> getAutomationActionsAction(GetAutomationActionsActionArgs args, InvokeOptions options)
public static Output<GetAutomationActionsActionResult> getAutomationActionsAction(GetAutomationActionsActionArgs args, InvokeOptions options)
fn::invoke:
function: pagerduty:index/getAutomationActionsAction:getAutomationActionsAction
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The id of the automation actions action in the PagerDuty API.
- Action
Classification string - (Optional) The category of the action, e.g.
diagnostic,remediation. - Allow
Invocation boolFrom Event Orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- Allow
Invocation boolManually - (Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
- Creation
Time string - The time action was created. Represented as an ISO 8601 timestamp.
- Description string
- (Optional) The description of the action.
- Map
To boolAll Services - (Optional) If the action should be able to be run against all services or just specified ones.
- Modify
Time string - (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- Only
Invocable boolOn Unresolved Incidents - (Optional) Whether or not the action can be invoked on unresolved incidents.
- Runner
Id string - (Optional) The Process Automation Actions runner to associate the action with.
- Runner
Type string - (Optional) The type of the runner associated with the action.
- Type string
- The type of object. The value returned will be
action.
- Id string
- The id of the automation actions action in the PagerDuty API.
- Action
Classification string - (Optional) The category of the action, e.g.
diagnostic,remediation. - Allow
Invocation boolFrom Event Orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- Allow
Invocation boolManually - (Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
- Creation
Time string - The time action was created. Represented as an ISO 8601 timestamp.
- Description string
- (Optional) The description of the action.
- Map
To boolAll Services - (Optional) If the action should be able to be run against all services or just specified ones.
- Modify
Time string - (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- Only
Invocable boolOn Unresolved Incidents - (Optional) Whether or not the action can be invoked on unresolved incidents.
- Runner
Id string - (Optional) The Process Automation Actions runner to associate the action with.
- Runner
Type string - (Optional) The type of the runner associated with the action.
- Type string
- The type of object. The value returned will be
action.
- id String
- The id of the automation actions action in the PagerDuty API.
- action
Classification String - (Optional) The category of the action, e.g.
diagnostic,remediation. - allow
Invocation BooleanFrom Event Orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- allow
Invocation BooleanManually - (Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
- creation
Time String - The time action was created. Represented as an ISO 8601 timestamp.
- description String
- (Optional) The description of the action.
- map
To BooleanAll Services - (Optional) If the action should be able to be run against all services or just specified ones.
- modify
Time String - (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- only
Invocable BooleanOn Unresolved Incidents - (Optional) Whether or not the action can be invoked on unresolved incidents.
- runner
Id String - (Optional) The Process Automation Actions runner to associate the action with.
- runner
Type String - (Optional) The type of the runner associated with the action.
- type String
- The type of object. The value returned will be
action.
- id string
- The id of the automation actions action in the PagerDuty API.
- action
Classification string - (Optional) The category of the action, e.g.
diagnostic,remediation. - allow
Invocation booleanFrom Event Orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- allow
Invocation booleanManually - (Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
- creation
Time string - The time action was created. Represented as an ISO 8601 timestamp.
- description string
- (Optional) The description of the action.
- map
To booleanAll Services - (Optional) If the action should be able to be run against all services or just specified ones.
- modify
Time string - (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- only
Invocable booleanOn Unresolved Incidents - (Optional) Whether or not the action can be invoked on unresolved incidents.
- runner
Id string - (Optional) The Process Automation Actions runner to associate the action with.
- runner
Type string - (Optional) The type of the runner associated with the action.
- type string
- The type of object. The value returned will be
action.
- id str
- The id of the automation actions action in the PagerDuty API.
- action_
classification str - (Optional) The category of the action, e.g.
diagnostic,remediation. - allow_
invocation_ boolfrom_ event_ orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- allow_
invocation_ boolmanually - (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_ boolall_ services - (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_ boolon_ unresolved_ incidents - (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 String
- The id of the automation actions action in the PagerDuty API.
- action
Classification String - (Optional) The category of the action, e.g.
diagnostic,remediation. - allow
Invocation BooleanFrom Event Orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- allow
Invocation BooleanManually - (Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
- creation
Time String - The time action was created. Represented as an ISO 8601 timestamp.
- description String
- (Optional) The description of the action.
- map
To BooleanAll Services - (Optional) If the action should be able to be run against all services or just specified ones.
- modify
Time String - (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- only
Invocable BooleanOn Unresolved Incidents - (Optional) Whether or not the action can be invoked on unresolved incidents.
- runner
Id String - (Optional) The Process Automation Actions runner to associate the action with.
- runner
Type 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:
- Action
Classification string - (Optional) The category of the action, e.g.
diagnostic,remediation. - Action
Data List<GetReferences Automation Actions Action Action Data Reference> - Action Data block. Action Data is documented below.
- Action
Type string - The type of the action. The only allowed values are
process_automationandscript. - Allow
Invocation boolFrom Event Orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- Allow
Invocation boolManually - (Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
- Creation
Time 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.
- Map
To boolAll Services - (Optional) If the action should be able to be run against all services or just specified ones.
- Modify
Time string - (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- Name string
- The name of the action.
- Only
Invocable boolOn Unresolved Incidents - (Optional) Whether or not the action can be invoked on unresolved incidents.
- Runner
Id string - (Optional) The Process Automation Actions runner to associate the action with.
- Runner
Type 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 string - (Optional) The category of the action, e.g.
diagnostic,remediation. - Action
Data []GetReferences Automation Actions Action Action Data Reference - Action Data block. Action Data is documented below.
- Action
Type string - The type of the action. The only allowed values are
process_automationandscript. - Allow
Invocation boolFrom Event Orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- Allow
Invocation boolManually - (Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
- Creation
Time 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.
- Map
To boolAll Services - (Optional) If the action should be able to be run against all services or just specified ones.
- Modify
Time string - (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- Name string
- The name of the action.
- Only
Invocable boolOn Unresolved Incidents - (Optional) Whether or not the action can be invoked on unresolved incidents.
- Runner
Id string - (Optional) The Process Automation Actions runner to associate the action with.
- Runner
Type 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 String - (Optional) The category of the action, e.g.
diagnostic,remediation. - action
Data List<GetReferences Automation Actions Action Action Data Reference> - Action Data block. Action Data is documented below.
- action
Type String - The type of the action. The only allowed values are
process_automationandscript. - allow
Invocation BooleanFrom Event Orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- allow
Invocation BooleanManually - (Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
- creation
Time 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.
- map
To BooleanAll Services - (Optional) If the action should be able to be run against all services or just specified ones.
- modify
Time String - (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- name String
- The name of the action.
- only
Invocable BooleanOn Unresolved Incidents - (Optional) Whether or not the action can be invoked on unresolved incidents.
- runner
Id String - (Optional) The Process Automation Actions runner to associate the action with.
- runner
Type 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 string - (Optional) The category of the action, e.g.
diagnostic,remediation. - action
Data GetReferences Automation Actions Action Action Data Reference[] - Action Data block. Action Data is documented below.
- action
Type string - The type of the action. The only allowed values are
process_automationandscript. - allow
Invocation booleanFrom Event Orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- allow
Invocation booleanManually - (Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
- creation
Time 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.
- map
To booleanAll Services - (Optional) If the action should be able to be run against all services or just specified ones.
- modify
Time string - (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- name string
- The name of the action.
- only
Invocable booleanOn Unresolved Incidents - (Optional) Whether or not the action can be invoked on unresolved incidents.
- runner
Id string - (Optional) The Process Automation Actions runner to associate the action with.
- runner
Type 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, e.g.
diagnostic,remediation. - action_
data_ Sequence[Getreferences Automation Actions Action Action Data Reference] - Action Data block. Action Data is documented below.
- action_
type str - The type of the action. The only allowed values are
process_automationandscript. - allow_
invocation_ boolfrom_ event_ orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- allow_
invocation_ boolmanually - (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_ boolall_ services - (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_ boolon_ unresolved_ incidents - (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.
- action
Classification String - (Optional) The category of the action, e.g.
diagnostic,remediation. - action
Data List<Property Map>References - Action Data block. Action Data is documented below.
- action
Type String - The type of the action. The only allowed values are
process_automationandscript. - allow
Invocation BooleanFrom Event Orchestration - (Optional) Whether or not the action can be invoked automatically from a PagerDuty Event Orchestration.
- allow
Invocation BooleanManually - (Optional) Whether or not the action can be invoked manually by a user on the PagerDuty website.
- creation
Time 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.
- map
To BooleanAll Services - (Optional) If the action should be able to be run against all services or just specified ones.
- modify
Time String - (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- name String
- The name of the action.
- only
Invocable BooleanOn Unresolved Incidents - (Optional) Whether or not the action can be invoked on unresolved incidents.
- runner
Id String - (Optional) The Process Automation Actions runner to associate the action with.
- runner
Type 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
- Invocation
Command string - (Optional) The command to execute the script with.
- Process
Automation stringJob Arguments - (Optional) The arguments to pass to the Process Automation job execution.
- Process
Automation stringJob Id - (Required for
process_automationaction_type) The ID of the Process Automation job to execute. - Process
Automation stringNode Filter - (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
- Script string
- (Required for
scriptaction_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
- Invocation
Command string - (Optional) The command to execute the script with.
- Process
Automation stringJob Arguments - (Optional) The arguments to pass to the Process Automation job execution.
- Process
Automation stringJob Id - (Required for
process_automationaction_type) The ID of the Process Automation job to execute. - Process
Automation stringNode Filter - (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
- Script string
- (Required for
scriptaction_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
- invocation
Command String - (Optional) The command to execute the script with.
- process
Automation StringJob Arguments - (Optional) The arguments to pass to the Process Automation job execution.
- process
Automation StringJob Id - (Required for
process_automationaction_type) The ID of the Process Automation job to execute. - process
Automation StringNode Filter - (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
- script String
- (Required for
scriptaction_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
- invocation
Command string - (Optional) The command to execute the script with.
- process
Automation stringJob Arguments - (Optional) The arguments to pass to the Process Automation job execution.
- process
Automation stringJob Id - (Required for
process_automationaction_type) The ID of the Process Automation job to execute. - process
Automation stringNode Filter - (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
- script string
- (Required for
scriptaction_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
- invocation_
command str - (Optional) The command to execute the script with.
- process_
automation_ strjob_ arguments - (Optional) The arguments to pass to the Process Automation job execution.
- process_
automation_ strjob_ id - (Required for
process_automationaction_type) The ID of the Process Automation job to execute. - process_
automation_ strnode_ filter - (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
- script str
- (Required for
scriptaction_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
- invocation
Command String - (Optional) The command to execute the script with.
- process
Automation StringJob Arguments - (Optional) The arguments to pass to the Process Automation job execution.
- process
Automation StringJob Id - (Required for
process_automationaction_type) The ID of the Process Automation job to execute. - process
Automation StringNode Filter - (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
- script String
- (Required for
scriptaction_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
pagerdutyTerraform Provider.
Viewing docs for PagerDuty v4.31.1
published on Wednesday, Mar 25, 2026 by Pulumi
published on Wednesday, Mar 25, 2026 by Pulumi
