PagerDuty v4.17.0 published on Wednesday, Nov 20, 2024 by Pulumi
pagerduty.getAutomationActionsRunner
Explore with Pulumi AI
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.
- Last
Seen string - (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
- Runbook
Base stringUri - (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.
- Last
Seen string - (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
- Runbook
Base stringUri - (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.
- last
Seen String - (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
- runbook
Base StringUri - (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.
- last
Seen string - (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
- runbook
Base stringUri - (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_ struri - (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.
- last
Seen String - (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
- runbook
Base StringUri - (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:
- Creation
Time 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.
- Last
Seen string - (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
- Name string
- The name of the found runner.
- Runbook
Base stringUri - (Optional) The base URI of the Runbook server to connect to. Applicable to
runbook
type runners only. - Runner
Type string - The type of runner. Allowed values are
sidecar
andrunbook
. - Type string
- The type of object. The value returned will be
runner
.
- Creation
Time 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.
- Last
Seen string - (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
- Name string
- The name of the found runner.
- Runbook
Base stringUri - (Optional) The base URI of the Runbook server to connect to. Applicable to
runbook
type runners only. - Runner
Type string - The type of runner. Allowed values are
sidecar
andrunbook
. - Type string
- The type of object. The value returned will be
runner
.
- creation
Time 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.
- last
Seen String - (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
- name String
- The name of the found runner.
- runbook
Base StringUri - (Optional) The base URI of the Runbook server to connect to. Applicable to
runbook
type runners only. - runner
Type String - The type of runner. Allowed values are
sidecar
andrunbook
. - type String
- The type of object. The value returned will be
runner
.
- creation
Time 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.
- last
Seen string - (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
- name string
- The name of the found runner.
- runbook
Base stringUri - (Optional) The base URI of the Runbook server to connect to. Applicable to
runbook
type runners only. - runner
Type string - The type of runner. Allowed values are
sidecar
andrunbook
. - 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_ struri - (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
andrunbook
. - type str
- The type of object. The value returned will be
runner
.
- creation
Time 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.
- last
Seen String - (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp.
- name String
- The name of the found runner.
- runbook
Base StringUri - (Optional) The base URI of the Runbook server to connect to. Applicable to
runbook
type runners only. - runner
Type String - The type of runner. Allowed values are
sidecar
andrunbook
. - 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.