1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. getExpectationIncident
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady
filescom logo
Viewing docs for Files.com v0.1.1
published on Thursday, Aug 20, 2026 by jschady

    An ExpectationIncident groups ongoing failure behavior for an Expectation over time.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleExpectationIncident = filescom.getExpectationIncident({
        id: 1,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_expectation_incident = filescom.get_expectation_incident(id=1)
    
    package main
    
    import (
    	"github.com/jschady/pulumi-filescom/sdk/go/filescom"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := filescom.GetExpectationIncident(ctx, &filescom.GetExpectationIncidentArgs{
    			Id: 1,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Filescom = Jschady.Filescom;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleExpectationIncident = Filescom.GetExpectationIncident.Invoke(new()
        {
            Id = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.FilescomFunctions;
    import com.pulumi.filescom.inputs.GetExpectationIncidentArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 exampleExpectationIncident = FilescomFunctions.getExpectationIncident(GetExpectationIncidentArgs.builder()
                .id(1)
                .build());
    
        }
    }
    
    variables:
      exampleExpectationIncident:
        fn::invoke:
          function: filescom:getExpectationIncident
          arguments:
            id: 1
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    data "filescom_getexpectationincident" "exampleExpectationIncident" {
      id = 1
    }
    

    Using getExpectationIncident

    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 getExpectationIncident(args: GetExpectationIncidentArgs, opts?: InvokeOptions): Promise<GetExpectationIncidentResult>
    function getExpectationIncidentOutput(args: GetExpectationIncidentOutputArgs, opts?: InvokeOutputOptions): Output<GetExpectationIncidentResult>
    def get_expectation_incident(id: Optional[int] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetExpectationIncidentResult
    def get_expectation_incident_output(id: pulumi.Input[Optional[int]] = None,
                                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetExpectationIncidentResult]
    func GetExpectationIncident(ctx *Context, args *GetExpectationIncidentArgs, opts ...InvokeOption) (*GetExpectationIncidentResult, error)
    func GetExpectationIncidentOutput(ctx *Context, args *GetExpectationIncidentOutputArgs, opts ...InvokeOption) GetExpectationIncidentResultOutput

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

    public static class GetExpectationIncident 
    {
        public static Task<GetExpectationIncidentResult> InvokeAsync(GetExpectationIncidentArgs args, InvokeOptions? opts = null)
        public static Output<GetExpectationIncidentResult> Invoke(GetExpectationIncidentInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetExpectationIncidentResult> Invoke(GetExpectationIncidentInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetExpectationIncidentResult> getExpectationIncident(GetExpectationIncidentArgs args, InvokeOptions options)
    public static Output<GetExpectationIncidentResult> getExpectationIncident(GetExpectationIncidentArgs args, InvokeOptions options)
    public static Output<GetExpectationIncidentResult> getExpectationIncident(GetExpectationIncidentArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: filescom:index/getExpectationIncident:getExpectationIncident
      arguments:
        # arguments dictionary
    data "filescom_get_expectation_incident" "name" {
        # arguments
    }

    The following arguments are supported:

    Id int
    Expectation Incident ID
    Id int
    Expectation Incident ID
    id number
    Expectation Incident ID
    id Integer
    Expectation Incident ID
    id number
    Expectation Incident ID
    id int
    Expectation Incident ID
    id Number
    Expectation Incident ID

    getExpectationIncident Result

    The following output properties are available:

    AcknowledgedAt string
    When the incident was acknowledged.
    CreatedAt string
    Creation time.
    ExpectationId int
    Expectation ID.
    Id int
    Expectation Incident ID
    LastEvaluationId int
    Most recent evaluation linked to the incident.
    LastFailedAt string
    When the most recent failing evaluation contributing to the incident occurred.
    OpenedAt string
    When the incident was opened.
    OpenedByEvaluationId int
    Evaluation that first opened the incident.
    ResolvedAt string
    When the incident was resolved.
    ResolvedByEvaluationId int
    Evaluation that resolved the incident.
    SnoozedUntil string
    When the current snooze expires.
    Status string
    Incident status.
    Summary object
    Compact incident summary payload.
    UpdatedAt string
    Last update time.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    AcknowledgedAt string
    When the incident was acknowledged.
    CreatedAt string
    Creation time.
    ExpectationId int
    Expectation ID.
    Id int
    Expectation Incident ID
    LastEvaluationId int
    Most recent evaluation linked to the incident.
    LastFailedAt string
    When the most recent failing evaluation contributing to the incident occurred.
    OpenedAt string
    When the incident was opened.
    OpenedByEvaluationId int
    Evaluation that first opened the incident.
    ResolvedAt string
    When the incident was resolved.
    ResolvedByEvaluationId int
    Evaluation that resolved the incident.
    SnoozedUntil string
    When the current snooze expires.
    Status string
    Incident status.
    Summary interface{}
    Compact incident summary payload.
    UpdatedAt string
    Last update time.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    acknowledged_at string
    When the incident was acknowledged.
    created_at string
    Creation time.
    expectation_id number
    Expectation ID.
    id number
    Expectation Incident ID
    last_evaluation_id number
    Most recent evaluation linked to the incident.
    last_failed_at string
    When the most recent failing evaluation contributing to the incident occurred.
    opened_at string
    When the incident was opened.
    opened_by_evaluation_id number
    Evaluation that first opened the incident.
    resolved_at string
    When the incident was resolved.
    resolved_by_evaluation_id number
    Evaluation that resolved the incident.
    snoozed_until string
    When the current snooze expires.
    status string
    Incident status.
    summary any
    Compact incident summary payload.
    updated_at string
    Last update time.
    workspace_id number
    Workspace ID. 0 means the default workspace.
    acknowledgedAt String
    When the incident was acknowledged.
    createdAt String
    Creation time.
    expectationId Integer
    Expectation ID.
    id Integer
    Expectation Incident ID
    lastEvaluationId Integer
    Most recent evaluation linked to the incident.
    lastFailedAt String
    When the most recent failing evaluation contributing to the incident occurred.
    openedAt String
    When the incident was opened.
    openedByEvaluationId Integer
    Evaluation that first opened the incident.
    resolvedAt String
    When the incident was resolved.
    resolvedByEvaluationId Integer
    Evaluation that resolved the incident.
    snoozedUntil String
    When the current snooze expires.
    status String
    Incident status.
    summary Object
    Compact incident summary payload.
    updatedAt String
    Last update time.
    workspaceId Integer
    Workspace ID. 0 means the default workspace.
    acknowledgedAt string
    When the incident was acknowledged.
    createdAt string
    Creation time.
    expectationId number
    Expectation ID.
    id number
    Expectation Incident ID
    lastEvaluationId number
    Most recent evaluation linked to the incident.
    lastFailedAt string
    When the most recent failing evaluation contributing to the incident occurred.
    openedAt string
    When the incident was opened.
    openedByEvaluationId number
    Evaluation that first opened the incident.
    resolvedAt string
    When the incident was resolved.
    resolvedByEvaluationId number
    Evaluation that resolved the incident.
    snoozedUntil string
    When the current snooze expires.
    status string
    Incident status.
    summary any
    Compact incident summary payload.
    updatedAt string
    Last update time.
    workspaceId number
    Workspace ID. 0 means the default workspace.
    acknowledged_at str
    When the incident was acknowledged.
    created_at str
    Creation time.
    expectation_id int
    Expectation ID.
    id int
    Expectation Incident ID
    last_evaluation_id int
    Most recent evaluation linked to the incident.
    last_failed_at str
    When the most recent failing evaluation contributing to the incident occurred.
    opened_at str
    When the incident was opened.
    opened_by_evaluation_id int
    Evaluation that first opened the incident.
    resolved_at str
    When the incident was resolved.
    resolved_by_evaluation_id int
    Evaluation that resolved the incident.
    snoozed_until str
    When the current snooze expires.
    status str
    Incident status.
    summary Any
    Compact incident summary payload.
    updated_at str
    Last update time.
    workspace_id int
    Workspace ID. 0 means the default workspace.
    acknowledgedAt String
    When the incident was acknowledged.
    createdAt String
    Creation time.
    expectationId Number
    Expectation ID.
    id Number
    Expectation Incident ID
    lastEvaluationId Number
    Most recent evaluation linked to the incident.
    lastFailedAt String
    When the most recent failing evaluation contributing to the incident occurred.
    openedAt String
    When the incident was opened.
    openedByEvaluationId Number
    Evaluation that first opened the incident.
    resolvedAt String
    When the incident was resolved.
    resolvedByEvaluationId Number
    Evaluation that resolved the incident.
    snoozedUntil String
    When the current snooze expires.
    status String
    Incident status.
    summary Any
    Compact incident summary payload.
    updatedAt String
    Last update time.
    workspaceId Number
    Workspace ID. 0 means the default workspace.

    Package Details

    Repository
    filescom jschady/pulumi-filescom
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the filescom Terraform Provider.
    filescom logo
    Viewing docs for Files.com v0.1.1
    published on Thursday, Aug 20, 2026 by jschady

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial