1. Packages
  2. Rootly
  3. API Docs
  4. getIncident
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.getIncident

Start a Neo task
Explain and create a rootly.getIncident resource
rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    Example Usage

    Example coming soon!

    Example 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.GetIncidentArgs;
    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 = RootlyFunctions.getIncident(GetIncidentArgs.builder()
                .slug("my-incident-slug")
                .build());
    
        }
    }
    

    Example coming soon!

    Example coming soon!

    variables:
      my-incident:
        fn::invoke:
          Function: rootly:getIncident
          Arguments:
            slug: my-incident-slug
    

    Using getIncident

    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 getIncident(args: GetIncidentArgs, opts?: InvokeOptions): Promise<GetIncidentResult>
    function getIncidentOutput(args: GetIncidentOutputArgs, opts?: InvokeOptions): Output<GetIncidentResult>
    def get_incident(acknowledged_at: Optional[Mapping[str, Any]] = None,
                     created_at: Optional[Mapping[str, Any]] = None,
                     detected_at: Optional[Mapping[str, Any]] = None,
                     environments: Optional[str] = None,
                     functionalities: Optional[str] = None,
                     in_triage_at: Optional[Mapping[str, Any]] = None,
                     kind: Optional[str] = None,
                     labels: Optional[str] = None,
                     mitigated_at: Optional[Mapping[str, Any]] = None,
                     resolved_at: Optional[Mapping[str, Any]] = None,
                     services: Optional[str] = None,
                     severity: Optional[str] = None,
                     started_at: Optional[Mapping[str, Any]] = None,
                     updated_at: Optional[Mapping[str, Any]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetIncidentResult
    def get_incident_output(acknowledged_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                     created_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                     detected_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                     environments: Optional[pulumi.Input[str]] = None,
                     functionalities: Optional[pulumi.Input[str]] = None,
                     in_triage_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                     kind: Optional[pulumi.Input[str]] = None,
                     labels: Optional[pulumi.Input[str]] = None,
                     mitigated_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                     resolved_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                     services: Optional[pulumi.Input[str]] = None,
                     severity: Optional[pulumi.Input[str]] = None,
                     started_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                     updated_at: Optional[pulumi.Input[Mapping[str, Any]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetIncidentResult]
    func GetIncident(ctx *Context, args *GetIncidentArgs, opts ...InvokeOption) (*GetIncidentResult, error)
    func GetIncidentOutput(ctx *Context, args *GetIncidentOutputArgs, opts ...InvokeOption) GetIncidentResultOutput

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

    public static class GetIncident 
    {
        public static Task<GetIncidentResult> InvokeAsync(GetIncidentArgs args, InvokeOptions? opts = null)
        public static Output<GetIncidentResult> Invoke(GetIncidentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIncidentResult> getIncident(GetIncidentArgs args, InvokeOptions options)
    public static Output<GetIncidentResult> getIncident(GetIncidentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: rootly:index/getIncident:getIncident
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AcknowledgedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    CreatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    DetectedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    Environments string
    Functionalities string
    InTriageAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    Kind string
    Labels string
    MitigatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    ResolvedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    Services string
    Severity string
    StartedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    UpdatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    AcknowledgedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    CreatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    DetectedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    Environments string
    Functionalities string
    InTriageAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    Kind string
    Labels string
    MitigatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    ResolvedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    Services string
    Severity string
    StartedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    UpdatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    acknowledgedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    createdAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    detectedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    environments String
    functionalities String
    inTriageAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    kind String
    labels String
    mitigatedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    resolvedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    services String
    severity String
    startedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    updatedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    acknowledgedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    createdAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    detectedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    environments string
    functionalities string
    inTriageAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    kind string
    labels string
    mitigatedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    resolvedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    services string
    severity string
    startedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    updatedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    acknowledged_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    created_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    detected_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    environments str
    functionalities str
    in_triage_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    kind str
    labels str
    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'.
    services str
    severity str
    started_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    updated_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    acknowledgedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    createdAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    detectedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    environments String
    functionalities String
    inTriageAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    kind String
    labels String
    mitigatedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    resolvedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    services String
    severity String
    startedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    updatedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.

    getIncident Result

    The following output properties are available:

    Environments string
    Functionalities string
    Id string
    The ID of this resource.
    Kind string
    Labels string
    Services string
    Severity string
    AcknowledgedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    CreatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    DetectedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    InTriageAt 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'.
    UpdatedAt Dictionary<string, object>
    Filter by date range using 'lt' and 'gt'.
    Environments string
    Functionalities string
    Id string
    The ID of this resource.
    Kind string
    Labels string
    Services string
    Severity string
    AcknowledgedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    CreatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    DetectedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    InTriageAt 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'.
    UpdatedAt map[string]interface{}
    Filter by date range using 'lt' and 'gt'.
    environments String
    functionalities String
    id String
    The ID of this resource.
    kind String
    labels String
    services String
    severity String
    acknowledgedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    createdAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    detectedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    inTriageAt 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'.
    updatedAt Map<String,Object>
    Filter by date range using 'lt' and 'gt'.
    environments string
    functionalities string
    id string
    The ID of this resource.
    kind string
    labels string
    services string
    severity string
    acknowledgedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    createdAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    detectedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    inTriageAt {[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'.
    updatedAt {[key: string]: any}
    Filter by date range using 'lt' and 'gt'.
    environments str
    functionalities str
    id str
    The ID of this resource.
    kind str
    labels str
    services str
    severity str
    acknowledged_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    created_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    detected_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    in_triage_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'.
    updated_at Mapping[str, Any]
    Filter by date range using 'lt' and 'gt'.
    environments String
    functionalities String
    id String
    The ID of this resource.
    kind String
    labels String
    services String
    severity String
    acknowledgedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    createdAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    detectedAt Map<Any>
    Filter by date range using 'lt' and 'gt'.
    inTriageAt 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'.
    updatedAt 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.5.0 published on Thursday, Apr 25, 2024 by Rootly
      Meet Neo: Your AI Platform Teammate