1. Packages
  2. PagerDuty
  3. API Docs
  4. getAutomationActionsAction
PagerDuty v4.14.6 published on Tuesday, Sep 24, 2024 by Pulumi

pagerduty.getAutomationActionsAction

Explore with Pulumi AI

pagerduty logo
PagerDuty v4.14.6 published on Tuesday, Sep 24, 2024 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,
                                      creation_time: Optional[str] = None,
                                      description: Optional[str] = None,
                                      id: Optional[str] = None,
                                      modify_time: Optional[str] = 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,
                                      creation_time: Optional[pulumi.Input[str]] = None,
                                      description: Optional[pulumi.Input[str]] = None,
                                      id: Optional[pulumi.Input[str]] = None,
                                      modify_time: Optional[pulumi.Input[str]] = 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: pagerduty:index/getAutomationActionsAction:getAutomationActionsAction
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id 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.
    CreationTime string
    The time action was created. Represented as an ISO 8601 timestamp.
    Description string
    (Optional) The description of the action.
    ModifyTime string
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    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 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.
    CreationTime string
    The time action was created. Represented as an ISO 8601 timestamp.
    Description string
    (Optional) The description of the action.
    ModifyTime string
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    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 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.
    creationTime String
    The time action was created. Represented as an ISO 8601 timestamp.
    description String
    (Optional) The description of the action.
    modifyTime String
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    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 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.
    creationTime string
    The time action was created. Represented as an ISO 8601 timestamp.
    description string
    (Optional) The description of the action.
    modifyTime string
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    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 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.
    creation_time str
    The time action was created. Represented as an ISO 8601 timestamp.
    description str
    (Optional) The description of the action.
    modify_time str
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    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.
    actionClassification String
    (Optional) The category of the action. The only allowed values are diagnostic and remediation.
    creationTime String
    The time action was created. Represented as an ISO 8601 timestamp.
    description String
    (Optional) The description of the action.
    modifyTime String
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    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.
    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.
    ModifyTime string
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    Name string
    The name of the action.
    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.
    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.
    ModifyTime string
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    Name string
    The name of the action.
    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.
    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.
    modifyTime String
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    name String
    The name of the action.
    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.
    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.
    modifyTime string
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    name string
    The name of the action.
    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.
    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.
    modify_time str
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    name str
    The name of the action.
    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.
    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.
    modifyTime String
    (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
    name String
    The name of the action.
    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 string
    (Optional) The command to execute the script with.
    ProcessAutomationJobArguments string
    (Optional) The arguments to pass to the Process Automation job execution.
    ProcessAutomationJobId string
    (Required for process_automation action_type) The ID of the Process Automation job to execute.
    ProcessAutomationNodeFilter string
    (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
    Script string
    (Required for script action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
    InvocationCommand string
    (Optional) The command to execute the script with.
    ProcessAutomationJobArguments string
    (Optional) The arguments to pass to the Process Automation job execution.
    ProcessAutomationJobId string
    (Required for process_automation action_type) The ID of the Process Automation job to execute.
    ProcessAutomationNodeFilter string
    (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
    Script string
    (Required for script action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
    invocationCommand String
    (Optional) The command to execute the script with.
    processAutomationJobArguments String
    (Optional) The arguments to pass to the Process Automation job execution.
    processAutomationJobId String
    (Required for process_automation action_type) The ID of the Process Automation job to execute.
    processAutomationNodeFilter String
    (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
    script String
    (Required for script action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
    invocationCommand string
    (Optional) The command to execute the script with.
    processAutomationJobArguments string
    (Optional) The arguments to pass to the Process Automation job execution.
    processAutomationJobId string
    (Required for process_automation action_type) The ID of the Process Automation job to execute.
    processAutomationNodeFilter string
    (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
    script string
    (Required for script action_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_job_arguments str
    (Optional) The arguments to pass to the Process Automation job execution.
    process_automation_job_id str
    (Required for process_automation action_type) The ID of the Process Automation job to execute.
    process_automation_node_filter str
    (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
    script str
    (Required for script action_type) Body of the script to be executed on the Runner. Max length is 16777215 characters.
    invocationCommand String
    (Optional) The command to execute the script with.
    processAutomationJobArguments String
    (Optional) The arguments to pass to the Process Automation job execution.
    processAutomationJobId String
    (Required for process_automation action_type) The ID of the Process Automation job to execute.
    processAutomationNodeFilter String
    (Optional) The expression that filters on which nodes a Process Automation Job executes Learn more.
    script 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.
    pagerduty logo
    PagerDuty v4.14.6 published on Tuesday, Sep 24, 2024 by Pulumi