1. Packages
  2. PagerDuty
  3. API Docs
  4. getAutomationActionsRunner
PagerDuty v4.13.2 published on Thursday, Jun 27, 2024 by Pulumi

pagerduty.getAutomationActionsRunner

Explore with Pulumi AI

pagerduty logo
PagerDuty v4.13.2 published on Thursday, Jun 27, 2024 by Pulumi

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as pagerduty from "@pulumi/pagerduty";
    
    const example = pagerduty.getAutomationActionsRunner({
        id: "01DBJLIGED17S1DQKQC2AV8XYZ",
    });
    
    import pulumi
    import pulumi_pagerduty as pagerduty
    
    example = pagerduty.get_automation_actions_runner(id="01DBJLIGED17S1DQKQC2AV8XYZ")
    
    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.LookupAutomationActionsRunner(ctx, &pagerduty.LookupAutomationActionsRunnerArgs{
    			Id: "01DBJLIGED17S1DQKQC2AV8XYZ",
    		}, 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.GetAutomationActionsRunner.Invoke(new()
        {
            Id = "01DBJLIGED17S1DQKQC2AV8XYZ",
        });
    
    });
    
    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.GetAutomationActionsRunnerArgs;
    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.getAutomationActionsRunner(GetAutomationActionsRunnerArgs.builder()
                .id("01DBJLIGED17S1DQKQC2AV8XYZ")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: pagerduty:getAutomationActionsRunner
          Arguments:
            id: 01DBJLIGED17S1DQKQC2AV8XYZ
    

    Using getAutomationActionsRunner

    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 getAutomationActionsRunner(args: GetAutomationActionsRunnerArgs, opts?: InvokeOptions): Promise<GetAutomationActionsRunnerResult>
    function getAutomationActionsRunnerOutput(args: GetAutomationActionsRunnerOutputArgs, opts?: InvokeOptions): Output<GetAutomationActionsRunnerResult>
    def get_automation_actions_runner(description: Optional[str] = None,
                                      id: Optional[str] = None,
                                      last_seen: Optional[str] = None,
                                      runbook_base_uri: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetAutomationActionsRunnerResult
    def get_automation_actions_runner_output(description: Optional[pulumi.Input[str]] = None,
                                      id: Optional[pulumi.Input[str]] = None,
                                      last_seen: Optional[pulumi.Input[str]] = None,
                                      runbook_base_uri: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetAutomationActionsRunnerResult]
    func LookupAutomationActionsRunner(ctx *Context, args *LookupAutomationActionsRunnerArgs, opts ...InvokeOption) (*LookupAutomationActionsRunnerResult, error)
    func LookupAutomationActionsRunnerOutput(ctx *Context, args *LookupAutomationActionsRunnerOutputArgs, opts ...InvokeOption) LookupAutomationActionsRunnerResultOutput

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

    public static class GetAutomationActionsRunner 
    {
        public static Task<GetAutomationActionsRunnerResult> InvokeAsync(GetAutomationActionsRunnerArgs args, InvokeOptions? opts = null)
        public static Output<GetAutomationActionsRunnerResult> Invoke(GetAutomationActionsRunnerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAutomationActionsRunnerResult> getAutomationActionsRunner(GetAutomationActionsRunnerArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: pagerduty:index/getAutomationActionsRunner:getAutomationActionsRunner
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the automation actions runner in the PagerDuty API.
    Description string
    (Optional) The description of the runner.
    LastSeen string
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    RunbookBaseUri string
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    Id string
    The id of the automation actions runner in the PagerDuty API.
    Description string
    (Optional) The description of the runner.
    LastSeen string
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    RunbookBaseUri string
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    id String
    The id of the automation actions runner in the PagerDuty API.
    description String
    (Optional) The description of the runner.
    lastSeen String
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    runbookBaseUri String
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    id string
    The id of the automation actions runner in the PagerDuty API.
    description string
    (Optional) The description of the runner.
    lastSeen string
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    runbookBaseUri string
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    id str
    The id of the automation actions runner in the PagerDuty API.
    description str
    (Optional) The description of the runner.
    last_seen str
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    runbook_base_uri str
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    id String
    The id of the automation actions runner in the PagerDuty API.
    description String
    (Optional) The description of the runner.
    lastSeen String
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    runbookBaseUri String
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.

    getAutomationActionsRunner Result

    The following output properties are available:

    CreationTime string
    The time runner was created. Represented as an ISO 8601 timestamp.
    Description string
    (Optional) The description of the runner.
    Id string
    The ID of the found runner.
    LastSeen string
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    Name string
    The name of the found runner.
    RunbookBaseUri string
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    RunnerType string
    The type of runner. Allowed values are sidecar and runbook.
    Type string
    The type of object. The value returned will be runner.
    CreationTime string
    The time runner was created. Represented as an ISO 8601 timestamp.
    Description string
    (Optional) The description of the runner.
    Id string
    The ID of the found runner.
    LastSeen string
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    Name string
    The name of the found runner.
    RunbookBaseUri string
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    RunnerType string
    The type of runner. Allowed values are sidecar and runbook.
    Type string
    The type of object. The value returned will be runner.
    creationTime String
    The time runner was created. Represented as an ISO 8601 timestamp.
    description String
    (Optional) The description of the runner.
    id String
    The ID of the found runner.
    lastSeen String
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    name String
    The name of the found runner.
    runbookBaseUri String
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    runnerType String
    The type of runner. Allowed values are sidecar and runbook.
    type String
    The type of object. The value returned will be runner.
    creationTime string
    The time runner was created. Represented as an ISO 8601 timestamp.
    description string
    (Optional) The description of the runner.
    id string
    The ID of the found runner.
    lastSeen string
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    name string
    The name of the found runner.
    runbookBaseUri string
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    runnerType string
    The type of runner. Allowed values are sidecar and runbook.
    type string
    The type of object. The value returned will be runner.
    creation_time str
    The time runner was created. Represented as an ISO 8601 timestamp.
    description str
    (Optional) The description of the runner.
    id str
    The ID of the found runner.
    last_seen str
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    name str
    The name of the found runner.
    runbook_base_uri str
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    runner_type str
    The type of runner. Allowed values are sidecar and runbook.
    type str
    The type of object. The value returned will be runner.
    creationTime String
    The time runner was created. Represented as an ISO 8601 timestamp.
    description String
    (Optional) The description of the runner.
    id String
    The ID of the found runner.
    lastSeen String
    (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
    name String
    The name of the found runner.
    runbookBaseUri String
    (Optional) The base URI of the Runbook server to connect to. Applicable to runbook type runners only.
    runnerType String
    The type of runner. Allowed values are sidecar and runbook.
    type String
    The type of object. The value returned will be runner.

    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.13.2 published on Thursday, Jun 27, 2024 by Pulumi