pagerduty.getEventOrchestrations
Use this data source to get information as a list about specific Global Event Orchestrations filtered by a Regular Expression provided.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Pagerduty = Pulumi.Pagerduty;
return await Deployment.RunAsync(() =>
{
var tfOrchA = new Pagerduty.EventOrchestration("tfOrchA");
var tfOrchB = new Pagerduty.EventOrchestration("tfOrchB");
var tfMyMonitor = Pagerduty.GetEventOrchestrations.Invoke(new()
{
NameFilter = ".*Orchestration$",
});
});
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.NewEventOrchestration(ctx, "tfOrchA", nil)
if err != nil {
return err
}
_, err = pagerduty.NewEventOrchestration(ctx, "tfOrchB", nil)
if err != nil {
return err
}
_, err = pagerduty.GetEventOrchestrations(ctx, &pagerduty.GetEventOrchestrationsArgs{
NameFilter: ".*Orchestration$",
}, 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.EventOrchestration;
import com.pulumi.pagerduty.PagerdutyFunctions;
import com.pulumi.pagerduty.inputs.GetEventOrchestrationsArgs;
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) {
var tfOrchA = new EventOrchestration("tfOrchA");
var tfOrchB = new EventOrchestration("tfOrchB");
final var tfMyMonitor = PagerdutyFunctions.getEventOrchestrations(GetEventOrchestrationsArgs.builder()
.nameFilter(".*Orchestration$")
.build());
}
}
import pulumi
import pulumi_pagerduty as pagerduty
tf_orch_a = pagerduty.EventOrchestration("tfOrchA")
tf_orch_b = pagerduty.EventOrchestration("tfOrchB")
tf_my_monitor = pagerduty.get_event_orchestrations(name_filter=".*Orchestration$")
import * as pulumi from "@pulumi/pulumi";
import * as pagerduty from "@pulumi/pagerduty";
const tfOrchA = new pagerduty.EventOrchestration("tfOrchA", {});
const tfOrchB = new pagerduty.EventOrchestration("tfOrchB", {});
const tfMyMonitor = pagerduty.getEventOrchestrations({
nameFilter: ".*Orchestration$",
});
resources:
tfOrchA:
type: pagerduty:EventOrchestration
tfOrchB:
type: pagerduty:EventOrchestration
variables:
tfMyMonitor:
fn::invoke:
Function: pagerduty:getEventOrchestrations
Arguments:
nameFilter: .*Orchestration$
Using getEventOrchestrations
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 getEventOrchestrations(args: GetEventOrchestrationsArgs, opts?: InvokeOptions): Promise<GetEventOrchestrationsResult>
function getEventOrchestrationsOutput(args: GetEventOrchestrationsOutputArgs, opts?: InvokeOptions): Output<GetEventOrchestrationsResult>
def get_event_orchestrations(name_filter: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventOrchestrationsResult
def get_event_orchestrations_output(name_filter: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEventOrchestrationsResult]
func GetEventOrchestrations(ctx *Context, args *GetEventOrchestrationsArgs, opts ...InvokeOption) (*GetEventOrchestrationsResult, error)
func GetEventOrchestrationsOutput(ctx *Context, args *GetEventOrchestrationsOutputArgs, opts ...InvokeOption) GetEventOrchestrationsResultOutput
> Note: This function is named GetEventOrchestrations
in the Go SDK.
public static class GetEventOrchestrations
{
public static Task<GetEventOrchestrationsResult> InvokeAsync(GetEventOrchestrationsArgs args, InvokeOptions? opts = null)
public static Output<GetEventOrchestrationsResult> Invoke(GetEventOrchestrationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEventOrchestrationsResult> getEventOrchestrations(GetEventOrchestrationsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: pagerduty:index/getEventOrchestrations:getEventOrchestrations
arguments:
# arguments dictionary
The following arguments are supported:
- Name
Filter string The regex name of Global Event orchestrations to find in the PagerDuty API.
- Name
Filter string The regex name of Global Event orchestrations to find in the PagerDuty API.
- name
Filter String The regex name of Global Event orchestrations to find in the PagerDuty API.
- name
Filter string The regex name of Global Event orchestrations to find in the PagerDuty API.
- name_
filter str The regex name of Global Event orchestrations to find in the PagerDuty API.
- name
Filter String The regex name of Global Event orchestrations to find in the PagerDuty API.
getEventOrchestrations Result
The following output properties are available:
- Event
Orchestrations List<GetEvent Orchestrations Event Orchestration> - Id string
The provider-assigned unique ID for this managed resource.
- Name
Filter string The list of the Event Orchestrations which name match
name_filter
argument.
- Event
Orchestrations []GetEvent Orchestrations Event Orchestration - Id string
The provider-assigned unique ID for this managed resource.
- Name
Filter string The list of the Event Orchestrations which name match
name_filter
argument.
- event
Orchestrations List<GetEvent Orchestrations Event Orchestration> - id String
The provider-assigned unique ID for this managed resource.
- name
Filter String The list of the Event Orchestrations which name match
name_filter
argument.
- event
Orchestrations GetEvent Orchestrations Event Orchestration[] - id string
The provider-assigned unique ID for this managed resource.
- name
Filter string The list of the Event Orchestrations which name match
name_filter
argument.
- event_
orchestrations Sequence[GetEvent Orchestrations Event Orchestration] - id str
The provider-assigned unique ID for this managed resource.
- name_
filter str The list of the Event Orchestrations which name match
name_filter
argument.
- event
Orchestrations List<Property Map> - id String
The provider-assigned unique ID for this managed resource.
- name
Filter String The list of the Event Orchestrations which name match
name_filter
argument.
Supporting Types
GetEventOrchestrationsEventOrchestration
- Id string
ID of the integration
- Integrations
List<Get
Event Orchestrations Event Orchestration Integration> An integration for the Event Orchestration.
- Name string
The name of the found Event Orchestration.
- Id string
ID of the integration
- Integrations
[]Get
Event Orchestrations Event Orchestration Integration An integration for the Event Orchestration.
- Name string
The name of the found Event Orchestration.
- id String
ID of the integration
- integrations
List<Get
Event Orchestrations Event Orchestration Integration> An integration for the Event Orchestration.
- name String
The name of the found Event Orchestration.
- id string
ID of the integration
- integrations
Get
Event Orchestrations Event Orchestration Integration[] An integration for the Event Orchestration.
- name string
The name of the found Event Orchestration.
- id str
ID of the integration
- integrations
Sequence[Get
Event Orchestrations Event Orchestration Integration] An integration for the Event Orchestration.
- name str
The name of the found Event Orchestration.
- id String
ID of the integration
- integrations List<Property Map>
An integration for the Event Orchestration.
- name String
The name of the found Event Orchestration.
GetEventOrchestrationsEventOrchestrationIntegration
- Id string
ID of the integration
- Parameters
List<Get
Event Orchestrations Event Orchestration Integration Parameter>
- Id string
ID of the integration
- Parameters
[]Get
Event Orchestrations Event Orchestration Integration Parameter
- id String
ID of the integration
- parameters
List<Get
Event Orchestrations Event Orchestration Integration Parameter>
- id string
ID of the integration
- parameters
Get
Event Orchestrations Event Orchestration Integration Parameter[]
- id str
ID of the integration
- parameters
Sequence[Get
Event Orchestrations Event Orchestration Integration Parameter]
- id String
ID of the integration
- parameters List<Property Map>
GetEventOrchestrationsEventOrchestrationIntegrationParameter
- Routing
Key string Routing key that routes to this Orchestration.
- Type string
Type of the routing key.
global
is the default type.
- Routing
Key string Routing key that routes to this Orchestration.
- Type string
Type of the routing key.
global
is the default type.
- routing
Key String Routing key that routes to this Orchestration.
- type String
Type of the routing key.
global
is the default type.
- routing
Key string Routing key that routes to this Orchestration.
- type string
Type of the routing key.
global
is the default type.
- routing_
key str Routing key that routes to this Orchestration.
- type str
Type of the routing key.
global
is the default type.
- routing
Key String Routing key that routes to this Orchestration.
- type String
Type of the routing key.
global
is the default type.
Package Details
- Repository
- PagerDuty pulumi/pulumi-pagerduty
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
pagerduty
Terraform Provider.