1. Packages
  2. Rootly
  3. API Docs
  4. getIncidentPostMortem
Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly

rootly.getIncidentPostMortem

Explore with Pulumi AI

rootly logo
Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly

    Example Usage

    Coming soon!

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.rootly.RootlyFunctions;
    import com.pulumi.rootly.inputs.GetIncidentPostMortemArgs;
    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 my-incident-retrospective = RootlyFunctions.getIncidentPostMortem(GetIncidentPostMortemArgs.builder()
                .slug("my-incident-retrospective-slug")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    variables:
      my-incident-retrospective:
        fn::invoke:
          Function: rootly:getIncidentPostMortem
          Arguments:
            slug: my-incident-retrospective-slug
    

    Using getIncidentPostMortem

    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 getIncidentPostMortem(args: GetIncidentPostMortemArgs, opts?: InvokeOptions): Promise<GetIncidentPostMortemResult>
    function getIncidentPostMortemOutput(args: GetIncidentPostMortemOutputArgs, opts?: InvokeOptions): Output<GetIncidentPostMortemResult>
    def get_incident_post_mortem(created_at: Optional[Mapping[str, Any]] = None,
                                 mitigated_at: Optional[Mapping[str, Any]] = None,
                                 resolved_at: Optional[Mapping[str, Any]] = None,
                                 started_at: Optional[Mapping[str, Any]] = None,
                                 status: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetIncidentPostMortemResult
    def get_incident_post_mortem_output(created_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                                 mitigated_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                                 resolved_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                                 started_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                                 status: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetIncidentPostMortemResult]
    func GetIncidentPostMortem(ctx *Context, args *GetIncidentPostMortemArgs, opts ...InvokeOption) (*GetIncidentPostMortemResult, error)
    func GetIncidentPostMortemOutput(ctx *Context, args *GetIncidentPostMortemOutputArgs, opts ...InvokeOption) GetIncidentPostMortemResultOutput

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

    public static class GetIncidentPostMortem 
    {
        public static Task<GetIncidentPostMortemResult> InvokeAsync(GetIncidentPostMortemArgs args, InvokeOptions? opts = null)
        public static Output<GetIncidentPostMortemResult> Invoke(GetIncidentPostMortemInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIncidentPostMortemResult> getIncidentPostMortem(GetIncidentPostMortemArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: rootly:index/getIncidentPostMortem:getIncidentPostMortem
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CreatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    MitigatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    ResolvedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    StartedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    Status string
    CreatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    MitigatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    ResolvedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    StartedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    Status string
    createdAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    mitigatedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    resolvedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    startedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    status String
    createdAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    mitigatedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    resolvedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    startedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    status string
    created_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    mitigated_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    resolved_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    started_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    status str
    createdAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    mitigatedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    resolvedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    startedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    status String

    getIncidentPostMortem Result

    The following output properties are available:

    Id string
    The ID of this resource.
    Status string
    CreatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    MitigatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    ResolvedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    StartedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    Id string
    The ID of this resource.
    Status string
    CreatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    MitigatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    ResolvedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    StartedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    id String
    The ID of this resource.
    status String
    createdAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    mitigatedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    resolvedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    startedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    id string
    The ID of this resource.
    status string
    createdAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    mitigatedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    resolvedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    startedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    id str
    The ID of this resource.
    status str
    created_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    mitigated_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    resolved_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    started_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    id String
    The ID of this resource.
    status String
    createdAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    mitigatedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    resolvedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    startedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Rootly v1.2.1 published on Tuesday, Apr 2, 2024 by Rootly