1. Packages
  2. PagerDuty
  3. API Docs
  4. getEventOrchestration
PagerDuty v4.11.4 published on Wednesday, Apr 17, 2024 by Pulumi

pagerduty.getEventOrchestration

Explore with Pulumi AI

pagerduty logo
PagerDuty v4.11.4 published on Wednesday, Apr 17, 2024 by Pulumi

    Use this data source to get information about a specific Global Event Orchestration

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    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.GetEventOrchestrationArgs;
    import com.pulumi.pagerduty.EventOrchestrationRouter;
    import com.pulumi.pagerduty.EventOrchestrationRouterArgs;
    import com.pulumi.pagerduty.inputs.EventOrchestrationRouterCatchAllArgs;
    import com.pulumi.pagerduty.inputs.EventOrchestrationRouterCatchAllActionsArgs;
    import com.pulumi.pagerduty.inputs.EventOrchestrationRouterSetArgs;
    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");
    
            final var tfMyMonitor = PagerdutyFunctions.getEventOrchestration(GetEventOrchestrationArgs.builder()
                .name(tfOrchA.name())
                .build());
    
            var router = new EventOrchestrationRouter("router", EventOrchestrationRouterArgs.builder()        
                .parent(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .catchAll(EventOrchestrationRouterCatchAllArgs.builder()
                    .actions(EventOrchestrationRouterCatchAllActionsArgs.builder()
                        .routeTo("unrouted")
                        .build())
                    .build())
                .set(EventOrchestrationRouterSetArgs.builder()
                    .id("start")
                    .rules(EventOrchestrationRouterSetRuleArgs.builder()
                        .actions(EventOrchestrationRouterSetRuleActionsArgs.builder()
                            .routeTo(pagerduty_service.db().id())
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      tfOrchA:
        type: pagerduty:EventOrchestration
      router:
        type: pagerduty:EventOrchestrationRouter
        properties:
          parent:
            - id: ${tfMyMonitor.id}
          catchAll:
            actions:
              routeTo: unrouted
          set:
            id: start
            rules:
              - actions:
                  routeTo: ${pagerduty_service.db.id}
    variables:
      tfMyMonitor:
        fn::invoke:
          Function: pagerduty:getEventOrchestration
          Arguments:
            name: ${tfOrchA.name}
    

    Using getEventOrchestration

    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 getEventOrchestration(args: GetEventOrchestrationArgs, opts?: InvokeOptions): Promise<GetEventOrchestrationResult>
    function getEventOrchestrationOutput(args: GetEventOrchestrationOutputArgs, opts?: InvokeOptions): Output<GetEventOrchestrationResult>
    def get_event_orchestration(integration_detail: Optional[Sequence[GetEventOrchestrationIntegrationDetail]] = None,
                                name: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetEventOrchestrationResult
    def get_event_orchestration_output(integration_detail: Optional[pulumi.Input[Sequence[pulumi.Input[GetEventOrchestrationIntegrationDetailArgs]]]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetEventOrchestrationResult]
    func LookupEventOrchestration(ctx *Context, args *LookupEventOrchestrationArgs, opts ...InvokeOption) (*LookupEventOrchestrationResult, error)
    func LookupEventOrchestrationOutput(ctx *Context, args *LookupEventOrchestrationOutputArgs, opts ...InvokeOption) LookupEventOrchestrationResultOutput

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

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

    The following arguments are supported:

    Name string
    The name of the Global Event orchestration to find in the PagerDuty API.
    IntegrationDetail List<GetEventOrchestrationIntegrationDetail>
    An integration for the Event Orchestration.
    Name string
    The name of the Global Event orchestration to find in the PagerDuty API.
    IntegrationDetail []GetEventOrchestrationIntegrationDetail
    An integration for the Event Orchestration.
    name String
    The name of the Global Event orchestration to find in the PagerDuty API.
    integrationDetail List<GetEventOrchestrationIntegrationDetail>
    An integration for the Event Orchestration.
    name string
    The name of the Global Event orchestration to find in the PagerDuty API.
    integrationDetail GetEventOrchestrationIntegrationDetail[]
    An integration for the Event Orchestration.
    name str
    The name of the Global Event orchestration to find in the PagerDuty API.
    integration_detail Sequence[GetEventOrchestrationIntegrationDetail]
    An integration for the Event Orchestration.
    name String
    The name of the Global Event orchestration to find in the PagerDuty API.
    integrationDetail List<Property Map>
    An integration for the Event Orchestration.

    getEventOrchestration Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    IntegrationDetail List<GetEventOrchestrationIntegrationDetail>
    An integration for the Event Orchestration.
    Name string
    The name of the found Event Orchestration.
    Id string
    The provider-assigned unique ID for this managed resource.
    IntegrationDetail []GetEventOrchestrationIntegrationDetail
    An integration for the Event Orchestration.
    Name string
    The name of the found Event Orchestration.
    id String
    The provider-assigned unique ID for this managed resource.
    integrationDetail List<GetEventOrchestrationIntegrationDetail>
    An integration for the Event Orchestration.
    name String
    The name of the found Event Orchestration.
    id string
    The provider-assigned unique ID for this managed resource.
    integrationDetail GetEventOrchestrationIntegrationDetail[]
    An integration for the Event Orchestration.
    name string
    The name of the found Event Orchestration.
    id str
    The provider-assigned unique ID for this managed resource.
    integration_detail Sequence[GetEventOrchestrationIntegrationDetail]
    An integration for the Event Orchestration.
    name str
    The name of the found Event Orchestration.
    id String
    The provider-assigned unique ID for this managed resource.
    integrationDetail List<Property Map>
    An integration for the Event Orchestration.
    name String
    The name of the found Event Orchestration.

    Supporting Types

    GetEventOrchestrationIntegrationDetail

    id String
    ID of the integration
    label String
    parameters List<Property Map>

    GetEventOrchestrationIntegrationDetailParameter

    RoutingKey string
    Routing key that routes to this Orchestration.
    Type string
    Type of the routing key. global is the default type.
    RoutingKey string
    Routing key that routes to this Orchestration.
    Type string
    Type of the routing key. global is the default type.
    routingKey String
    Routing key that routes to this Orchestration.
    type String
    Type of the routing key. global is the default type.
    routingKey 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.
    routingKey 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.
    pagerduty logo
    PagerDuty v4.11.4 published on Wednesday, Apr 17, 2024 by Pulumi