pagerduty.getAutomationActionsAction
Explore with Pulumi AI
Use this data source to get information about a specific automation actions action.
Example Usage
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 main
import (
"github.com/pulumi/pulumi-pagerduty/sdk/v3/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
})
}
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());
}
}
import pulumi
import pulumi_pagerduty as pagerduty
example = pagerduty.get_automation_actions_action(id="01CS1685B2UDM4I3XUUOXPPORM")
import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";
const example = pagerduty.getAutomationActionsAction({
id: "01CS1685B2UDM4I3XUUOXPPORM",
});
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.
- Action
Classification string (Optional) The category of the action. The only allowed values are
diagnostic
andremediation
.- Creation
Time string The time action was created. Represented as an ISO 8601 timestamp.
- Description string
(Optional) The description of the action.
- Modify
Time string (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- 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. The only allowed values are
diagnostic
andremediation
.- Creation
Time string The time action was created. Represented as an ISO 8601 timestamp.
- Description string
(Optional) The description of the action.
- Modify
Time string (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- 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. The only allowed values are
diagnostic
andremediation
.- creation
Time String The time action was created. Represented as an ISO 8601 timestamp.
- description String
(Optional) The description of the action.
- modify
Time String (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- 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. The only allowed values are
diagnostic
andremediation
.- creation
Time string The time action was created. Represented as an ISO 8601 timestamp.
- description string
(Optional) The description of the action.
- modify
Time string (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- 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. The only allowed values are
diagnostic
andremediation
.- 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.
- action
Classification String (Optional) The category of the action. The only allowed values are
diagnostic
andremediation
.- creation
Time String The time action was created. Represented as an ISO 8601 timestamp.
- description String
(Optional) The description of the action.
- modify
Time String (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- 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. The only allowed values are
diagnostic
andremediation
.- 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_automation
andscript
.- 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.
- Modify
Time string (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- Name string
The name of the action.
- 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. The only allowed values are
diagnostic
andremediation
.- 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_automation
andscript
.- 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.
- Modify
Time string (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- Name string
The name of the action.
- 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. The only allowed values are
diagnostic
andremediation
.- 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_automation
andscript
.- 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.
- modify
Time String (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- name String
The name of the action.
- 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. The only allowed values are
diagnostic
andremediation
.- 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_automation
andscript
.- 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.
- modify
Time string (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- name string
The name of the action.
- 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. The only allowed values are
diagnostic
andremediation
.- 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_automation
andscript
.- 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
.
- action
Classification String (Optional) The category of the action. The only allowed values are
diagnostic
andremediation
.- 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_automation
andscript
.- 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.
- modify
Time String (Optional) The last time action has been modified. Represented as an ISO 8601 timestamp.
- name String
The name of the action.
- 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_automation
action_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
script
action_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_automation
action_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
script
action_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_automation
action_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
script
action_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_automation
action_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
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_ strjob_ arguments (Optional) The arguments to pass to the Process Automation job execution.
- process_
automation_ strjob_ id (Required for
process_automation
action_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
script
action_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_automation
action_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
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.