1. Registry
  2. Packages
  3. Files.com
  4. API Docs
  5. Expectation
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

    Expectations let your Files.com site define what “correct” file delivery looks like, continuously evaluate whether it happened, and keep history when it did not.

    Expectations are meant to answer operational questions like:

    • Did the expected file arrive?

    • Was it on time?

    • Did it meet the required shape and count rules?

    • Is there an active issue someone needs to acknowledge?

    Expectations are different from Automations and Syncs. Automations and Syncs act on files; Expectations monitor whether expected files arrived on time, in the right place, and in the right shape. In practice, Expectations are the sensor and Automations are the actuator.

    An Expectation combines four concepts:

    1. Scope: where to look for candidate files, using path, source, and optional excludePattern.

    2. Trigger / timing: when a window opens and how long it stays eligible, using trigger, schedule fields, lookbackInterval, lateAcceptanceInterval, inactivityInterval, and maxOpenInterval.

    3. Criteria: what must be true for the window to succeed, using the structured criteria JSON document.

    4. Outcome history: what happened over time, exposed through ExpectationEvaluation history and ExpectationIncident lifecycle records.

    Scope and matching

    Expectations reuse the familiar Files.com path-plus-glob model.

    The path field identifies the folder scope, while source identifies which files within that scope are candidates. excludePattern removes files from consideration.

    Like Automations, these fields support glob-style matching. Expectations treat those matches as one logical candidate set for each window. A single Expectation does not implicitly fan out into separate per-customer or per-folder evaluations just because the path contains wildcards.

    Expectation windows

    Expectations are evaluated in windows.

    Each window is persisted as an ExpectationEvaluation record. A window opens, remains open while evidence can still arrive, and then closes into a terminal result such as success, late, missing, or invalid.

    An Expectation has only one open window at a time.

    Trigger modes

    Expectations can open windows in three ways:

    • daily: run on a recurring daily/weekly/monthly/quarterly/yearly cadence using interval and either recurringDay or recurringDays.

    • customSchedule: run using either the reusable Site-level Schedule selected by scheduleId or specific weekdays and times stored on the Expectation.

    • manual: an operator explicitly opens the window.

    Schedule-driven expectations define an on-time deadline and may optionally remain eligible to close as late during lateAcceptanceInterval.

    Manual expectations have no concept of late; they open when triggered and close based on inactivity or hard-stop timing.

    Success criteria

    The criteria field is a structured JSON object describing what counts as success for the window.

    Criteria v1 can express things like:

    • file count constraints

    • total byte constraints

    • allowed extensions

    • filename regex validation

    • forbidden files

    • required named or globbed files with their own per-file constraints

    Criteria v2 adds contentValidation, which runs a customer-authored Files Transform Script in either perFile or wholeBatch mode. Per-file scripts receive the file contents parsed by FTS as payload. Whole-batch scripts receive an array of file objects containing path, name, size, lastModifiedAt, and each file’s parsed payload.

    A content-validation script returns true or { success: true } to pass. It returns false or { success: false, errors: [...] } to fail. Error entries may be strings or structured objects with values such as message, field, row, expected, and actual; these details are preserved in readable form in the Evaluation’s criteriaErrors. Script, parsing, download, and size-limit errors also fail the criterion. Each file is limited to 100 MB, and whole-batch mode additionally limits the combined raw input to 100 MB.

    Required file rule keys may also include standard strftime-style date/time tokens like %Y, %m, and %d. Those tokens are resolved at evaluation time using a stable window anchor: schedule-driven expectations use the window’s deadlineAt, while manual and upload expectations use the window’s openedAt.

    History and incidents

    The Expectation itself stores summary state like lastEvaluatedAt, lastSuccessAt, lastFailureAt, and lastResult.

    For deeper inspection:

    • ExpectationEvaluation history shows each open or closed window and the evidence captured for it.

    • ExpectationIncident records track ongoing failure situations over time, including acknowledge, snooze, and resolve actions.

    Manual windows do not open incidents in v1. Schedule-driven failures can open incidents, and later qualifying success can resolve them.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as filescom from "pulumi-filescom";
    
    const exampleExpectation = new filescom.Expectation("example_expectation", {
        name: "Daily Vendor Feed",
        description: "Wait for the vendor CSV every morning.",
        path: "incoming/vendor_a",
        source: "*.csv",
        excludePattern: "*.tmp",
        disabled: true,
        trigger: "manual",
        interval: "day",
        recurringDay: 3,
        recurringDays: [
            1,
            15,
        ],
        scheduleId: 1,
        scheduleDaysOfWeeks: [
            1,
            3,
            5,
        ],
        scheduleTimesOfDays: ["06:00"],
        scheduleTimeZone: "UTC",
        holidayRegion: "us",
        lookbackInterval: 3600,
        lateAcceptanceInterval: 900,
        inactivityInterval: 300,
        maxOpenInterval: 43200,
        criteria: {
            count: {
                exact: 1,
            },
            extensions: ["csv"],
        },
        workspaceId: 0,
    });
    
    import pulumi
    import pulumi_filescom as filescom
    
    example_expectation = filescom.Expectation("example_expectation",
        name="Daily Vendor Feed",
        description="Wait for the vendor CSV every morning.",
        path="incoming/vendor_a",
        source="*.csv",
        exclude_pattern="*.tmp",
        disabled=True,
        trigger="manual",
        interval="day",
        recurring_day=3,
        recurring_days=[
            1,
            15,
        ],
        schedule_id=1,
        schedule_days_of_weeks=[
            1,
            3,
            5,
        ],
        schedule_times_of_days=["06:00"],
        schedule_time_zone="UTC",
        holiday_region="us",
        lookback_interval=3600,
        late_acceptance_interval=900,
        inactivity_interval=300,
        max_open_interval=43200,
        criteria={
            "count": {
                "exact": 1,
            },
            "extensions": ["csv"],
        },
        workspace_id=0)
    
    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.NewExpectation(ctx, "example_expectation", &filescom.ExpectationArgs{
    			Name:           pulumi.String("Daily Vendor Feed"),
    			Description:    pulumi.String("Wait for the vendor CSV every morning."),
    			Path:           pulumi.String("incoming/vendor_a"),
    			Source:         pulumi.String("*.csv"),
    			ExcludePattern: pulumi.String("*.tmp"),
    			Disabled:       pulumi.Bool(true),
    			Trigger:        pulumi.String("manual"),
    			Interval:       pulumi.String("day"),
    			RecurringDay:   pulumi.Int(3),
    			RecurringDays: pulumi.IntArray{
    				pulumi.Int(1),
    				pulumi.Int(15),
    			},
    			ScheduleId: pulumi.Int(1),
    			ScheduleDaysOfWeeks: pulumi.IntArray{
    				pulumi.Int(1),
    				pulumi.Int(3),
    				pulumi.Int(5),
    			},
    			ScheduleTimesOfDays: pulumi.StringArray{
    				pulumi.String("06:00"),
    			},
    			ScheduleTimeZone:       pulumi.String("UTC"),
    			HolidayRegion:          pulumi.String("us"),
    			LookbackInterval:       pulumi.Int(3600),
    			LateAcceptanceInterval: pulumi.Int(900),
    			InactivityInterval:     pulumi.Int(300),
    			MaxOpenInterval:        pulumi.Int(43200),
    			Criteria: pulumi.Any(map[string]interface{}{
    				"count": map[string]int{
    					"exact": 1,
    				},
    				"extensions": []string{
    					"csv",
    				},
    			}),
    			WorkspaceId: pulumi.Int(0),
    		})
    		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 exampleExpectation = new Filescom.Expectation("example_expectation", new()
        {
            Name = "Daily Vendor Feed",
            Description = "Wait for the vendor CSV every morning.",
            Path = "incoming/vendor_a",
            Source = "*.csv",
            ExcludePattern = "*.tmp",
            Disabled = true,
            Trigger = "manual",
            Interval = "day",
            RecurringDay = 3,
            RecurringDays = new[]
            {
                1,
                15,
            },
            ScheduleId = 1,
            ScheduleDaysOfWeeks = new[]
            {
                1,
                3,
                5,
            },
            ScheduleTimesOfDays = new[]
            {
                "06:00",
            },
            ScheduleTimeZone = "UTC",
            HolidayRegion = "us",
            LookbackInterval = 3600,
            LateAcceptanceInterval = 900,
            InactivityInterval = 300,
            MaxOpenInterval = 43200,
            Criteria = new Dictionary<string, object?>
            {
                ["count"] = new Dictionary<string, object?>
                {
                    ["exact"] = 1,
                },
                ["extensions"] = new[]
                {
                    "csv",
                },
            },
            WorkspaceId = 0,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.filescom.Expectation;
    import com.pulumi.filescom.ExpectationArgs;
    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) {
            var exampleExpectation = new Expectation("exampleExpectation", ExpectationArgs.builder()
                .name("Daily Vendor Feed")
                .description("Wait for the vendor CSV every morning.")
                .path("incoming/vendor_a")
                .source("*.csv")
                .excludePattern("*.tmp")
                .disabled(true)
                .trigger("manual")
                .interval("day")
                .recurringDay(3)
                .recurringDays(            
                    1,
                    15)
                .scheduleId(1)
                .scheduleDaysOfWeeks(            
                    1,
                    3,
                    5)
                .scheduleTimesOfDays("06:00")
                .scheduleTimeZone("UTC")
                .holidayRegion("us")
                .lookbackInterval(3600)
                .lateAcceptanceInterval(900)
                .inactivityInterval(300)
                .maxOpenInterval(43200)
                .criteria(Map.ofEntries(
                    Map.entry("count", Map.of("exact", 1)),
                    Map.entry("extensions", Arrays.asList("csv"))
                ))
                .workspaceId(0)
                .build());
    
        }
    }
    
    resources:
      exampleExpectation:
        type: filescom:Expectation
        name: example_expectation
        properties:
          name: Daily Vendor Feed
          description: Wait for the vendor CSV every morning.
          path: incoming/vendor_a
          source: '*.csv'
          excludePattern: '*.tmp'
          disabled: true
          trigger: manual
          interval: day
          recurringDay: 3
          recurringDays:
            - 1
            - 15
          scheduleId: 1
          scheduleDaysOfWeeks:
            - 1
            - 3
            - 5
          scheduleTimesOfDays:
            - 06:00
          scheduleTimeZone: UTC
          holidayRegion: us
          lookbackInterval: 3600
          lateAcceptanceInterval: 900
          inactivityInterval: 300
          maxOpenInterval: 43200
          criteria:
            count:
              exact: 1
            extensions:
              - csv
          workspaceId: 0
    
    pulumi {
      required_providers {
        filescom = {
          source = "pulumi/filescom"
        }
      }
    }
    
    resource "filescom_expectation" "example_expectation" {
      name                     = "Daily Vendor Feed"
      description              = "Wait for the vendor CSV every morning."
      path                     = "incoming/vendor_a"
      source                   = "*.csv"
      exclude_pattern          = "*.tmp"
      disabled                 = true
      trigger                  = "manual"
      interval                 = "day"
      recurring_day            = 3
      recurring_days           = [1, 15]
      schedule_id              = 1
      schedule_days_of_weeks   = [1, 3, 5]
      schedule_times_of_days   = ["06:00"]
      schedule_time_zone       = "UTC"
      holiday_region           = "us"
      lookback_interval        = 3600
      late_acceptance_interval = 900
      inactivity_interval      = 300
      max_open_interval        = 43200
      criteria = {
        "count" = {
          "exact" = 1
        }
        "extensions" = ["csv"]
      }
      workspace_id = 0
    }
    

    Create Expectation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Expectation(name: string, args?: ExpectationArgs, opts?: CustomResourceOptions);
    @overload
    def Expectation(resource_name: str,
                    args: Optional[ExpectationArgs] = None,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def Expectation(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    criteria: Optional[Any] = None,
                    description: Optional[str] = None,
                    disabled: Optional[bool] = None,
                    exclude_pattern: Optional[str] = None,
                    holiday_region: Optional[str] = None,
                    inactivity_interval: Optional[int] = None,
                    interval: Optional[str] = None,
                    late_acceptance_interval: Optional[int] = None,
                    lookback_interval: Optional[int] = None,
                    max_open_interval: Optional[int] = None,
                    name: Optional[str] = None,
                    path: Optional[str] = None,
                    recurring_day: Optional[int] = None,
                    recurring_days: Optional[Sequence[int]] = None,
                    schedule_days_of_weeks: Optional[Sequence[int]] = None,
                    schedule_id: Optional[int] = None,
                    schedule_time_zone: Optional[str] = None,
                    schedule_times_of_days: Optional[Sequence[str]] = None,
                    source: Optional[str] = None,
                    trigger: Optional[str] = None,
                    workspace_id: Optional[int] = None)
    func NewExpectation(ctx *Context, name string, args *ExpectationArgs, opts ...ResourceOption) (*Expectation, error)
    public Expectation(string name, ExpectationArgs? args = null, CustomResourceOptions? opts = null)
    public Expectation(String name, ExpectationArgs args)
    public Expectation(String name, ExpectationArgs args, CustomResourceOptions options)
    
    type: filescom:Expectation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "filescom_expectation" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ExpectationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ExpectationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ExpectationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ExpectationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ExpectationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var expectationResource = new Filescom.Expectation("expectationResource", new()
    {
        Criteria = "any",
        Description = "string",
        Disabled = false,
        ExcludePattern = "string",
        HolidayRegion = "string",
        InactivityInterval = 0,
        Interval = "string",
        LateAcceptanceInterval = 0,
        LookbackInterval = 0,
        MaxOpenInterval = 0,
        Name = "string",
        Path = "string",
        RecurringDay = 0,
        RecurringDays = new[]
        {
            0,
        },
        ScheduleDaysOfWeeks = new[]
        {
            0,
        },
        ScheduleId = 0,
        ScheduleTimeZone = "string",
        ScheduleTimesOfDays = new[]
        {
            "string",
        },
        Source = "string",
        Trigger = "string",
        WorkspaceId = 0,
    });
    
    example, err := filescom.NewExpectation(ctx, "expectationResource", &filescom.ExpectationArgs{
    	Criteria:               pulumi.Any("any"),
    	Description:            pulumi.String("string"),
    	Disabled:               pulumi.Bool(false),
    	ExcludePattern:         pulumi.String("string"),
    	HolidayRegion:          pulumi.String("string"),
    	InactivityInterval:     pulumi.Int(0),
    	Interval:               pulumi.String("string"),
    	LateAcceptanceInterval: pulumi.Int(0),
    	LookbackInterval:       pulumi.Int(0),
    	MaxOpenInterval:        pulumi.Int(0),
    	Name:                   pulumi.String("string"),
    	Path:                   pulumi.String("string"),
    	RecurringDay:           pulumi.Int(0),
    	RecurringDays: pulumi.IntArray{
    		pulumi.Int(0),
    	},
    	ScheduleDaysOfWeeks: pulumi.IntArray{
    		pulumi.Int(0),
    	},
    	ScheduleId:       pulumi.Int(0),
    	ScheduleTimeZone: pulumi.String("string"),
    	ScheduleTimesOfDays: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Source:      pulumi.String("string"),
    	Trigger:     pulumi.String("string"),
    	WorkspaceId: pulumi.Int(0),
    })
    
    resource "filescom_expectation" "expectationResource" {
      lifecycle {
        create_before_destroy = true
      }
      criteria                 = "any"
      description              = "string"
      disabled                 = false
      exclude_pattern          = "string"
      holiday_region           = "string"
      inactivity_interval      = 0
      interval                 = "string"
      late_acceptance_interval = 0
      lookback_interval        = 0
      max_open_interval        = 0
      name                     = "string"
      path                     = "string"
      recurring_day            = 0
      recurring_days           = [0]
      schedule_days_of_weeks   = [0]
      schedule_id              = 0
      schedule_time_zone       = "string"
      schedule_times_of_days   = ["string"]
      source                   = "string"
      trigger                  = "string"
      workspace_id             = 0
    }
    
    var expectationResource = new Expectation("expectationResource", ExpectationArgs.builder()
        .criteria("any")
        .description("string")
        .disabled(false)
        .excludePattern("string")
        .holidayRegion("string")
        .inactivityInterval(0)
        .interval("string")
        .lateAcceptanceInterval(0)
        .lookbackInterval(0)
        .maxOpenInterval(0)
        .name("string")
        .path("string")
        .recurringDay(0)
        .recurringDays(0)
        .scheduleDaysOfWeeks(0)
        .scheduleId(0)
        .scheduleTimeZone("string")
        .scheduleTimesOfDays("string")
        .source("string")
        .trigger("string")
        .workspaceId(0)
        .build());
    
    expectation_resource = filescom.Expectation("expectationResource",
        criteria="any",
        description="string",
        disabled=False,
        exclude_pattern="string",
        holiday_region="string",
        inactivity_interval=0,
        interval="string",
        late_acceptance_interval=0,
        lookback_interval=0,
        max_open_interval=0,
        name="string",
        path="string",
        recurring_day=0,
        recurring_days=[0],
        schedule_days_of_weeks=[0],
        schedule_id=0,
        schedule_time_zone="string",
        schedule_times_of_days=["string"],
        source="string",
        trigger="string",
        workspace_id=0)
    
    const expectationResource = new filescom.Expectation("expectationResource", {
        criteria: "any",
        description: "string",
        disabled: false,
        excludePattern: "string",
        holidayRegion: "string",
        inactivityInterval: 0,
        interval: "string",
        lateAcceptanceInterval: 0,
        lookbackInterval: 0,
        maxOpenInterval: 0,
        name: "string",
        path: "string",
        recurringDay: 0,
        recurringDays: [0],
        scheduleDaysOfWeeks: [0],
        scheduleId: 0,
        scheduleTimeZone: "string",
        scheduleTimesOfDays: ["string"],
        source: "string",
        trigger: "string",
        workspaceId: 0,
    });
    
    type: filescom:Expectation
    properties:
        criteria: any
        description: string
        disabled: false
        excludePattern: string
        holidayRegion: string
        inactivityInterval: 0
        interval: string
        lateAcceptanceInterval: 0
        lookbackInterval: 0
        maxOpenInterval: 0
        name: string
        path: string
        recurringDay: 0
        recurringDays:
            - 0
        scheduleDaysOfWeeks:
            - 0
        scheduleId: 0
        scheduleTimeZone: string
        scheduleTimesOfDays:
            - string
        source: string
        trigger: string
        workspaceId: 0
    

    Expectation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Expectation resource accepts the following input properties:

    Criteria object
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    Description string
    Expectation description.
    Disabled bool
    If true, the expectation is disabled.
    ExcludePattern string
    Optional source exclusion glob.
    HolidayRegion string
    Optional holiday region used by the Expectation schedule.
    InactivityInterval int
    How many quiet seconds are required before final closure.
    Interval string
    If trigger is daily, this specifies how often to run the expectation.
    LateAcceptanceInterval int
    How many seconds a schedule-driven window may remain eligible to close as late.
    LookbackInterval int
    How many seconds before the due boundary the window starts.
    MaxOpenInterval int
    Hard-stop duration in seconds for unscheduled expectations.
    Name string
    Expectation name.
    Path string
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    RecurringDay int
    If trigger is daily, this selects the day number inside the chosen interval.
    RecurringDays List<int>
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    ScheduleDaysOfWeeks List<int>
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    ScheduleId int
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    ScheduleTimeZone string
    Time zone used by the Expectation schedule.
    ScheduleTimesOfDays List<string>
    Times of day in HH:MM format for the Expectation schedule.
    Source string
    Source glob used to select candidate files.
    Trigger string
    How this expectation opens windows.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    Criteria interface{}
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    Description string
    Expectation description.
    Disabled bool
    If true, the expectation is disabled.
    ExcludePattern string
    Optional source exclusion glob.
    HolidayRegion string
    Optional holiday region used by the Expectation schedule.
    InactivityInterval int
    How many quiet seconds are required before final closure.
    Interval string
    If trigger is daily, this specifies how often to run the expectation.
    LateAcceptanceInterval int
    How many seconds a schedule-driven window may remain eligible to close as late.
    LookbackInterval int
    How many seconds before the due boundary the window starts.
    MaxOpenInterval int
    Hard-stop duration in seconds for unscheduled expectations.
    Name string
    Expectation name.
    Path string
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    RecurringDay int
    If trigger is daily, this selects the day number inside the chosen interval.
    RecurringDays []int
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    ScheduleDaysOfWeeks []int
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    ScheduleId int
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    ScheduleTimeZone string
    Time zone used by the Expectation schedule.
    ScheduleTimesOfDays []string
    Times of day in HH:MM format for the Expectation schedule.
    Source string
    Source glob used to select candidate files.
    Trigger string
    How this expectation opens windows.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    criteria any
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    description string
    Expectation description.
    disabled bool
    If true, the expectation is disabled.
    exclude_pattern string
    Optional source exclusion glob.
    holiday_region string
    Optional holiday region used by the Expectation schedule.
    inactivity_interval number
    How many quiet seconds are required before final closure.
    interval string
    If trigger is daily, this specifies how often to run the expectation.
    late_acceptance_interval number
    How many seconds a schedule-driven window may remain eligible to close as late.
    lookback_interval number
    How many seconds before the due boundary the window starts.
    max_open_interval number
    Hard-stop duration in seconds for unscheduled expectations.
    name string
    Expectation name.
    path string
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    recurring_day number
    If trigger is daily, this selects the day number inside the chosen interval.
    recurring_days list(number)
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    schedule_days_of_weeks list(number)
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    schedule_id number
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    schedule_time_zone string
    Time zone used by the Expectation schedule.
    schedule_times_of_days list(string)
    Times of day in HH:MM format for the Expectation schedule.
    source string
    Source glob used to select candidate files.
    trigger string
    How this expectation opens windows.
    workspace_id number
    Workspace ID. 0 means the default workspace.
    criteria Object
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    description String
    Expectation description.
    disabled Boolean
    If true, the expectation is disabled.
    excludePattern String
    Optional source exclusion glob.
    holidayRegion String
    Optional holiday region used by the Expectation schedule.
    inactivityInterval Integer
    How many quiet seconds are required before final closure.
    interval String
    If trigger is daily, this specifies how often to run the expectation.
    lateAcceptanceInterval Integer
    How many seconds a schedule-driven window may remain eligible to close as late.
    lookbackInterval Integer
    How many seconds before the due boundary the window starts.
    maxOpenInterval Integer
    Hard-stop duration in seconds for unscheduled expectations.
    name String
    Expectation name.
    path String
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    recurringDay Integer
    If trigger is daily, this selects the day number inside the chosen interval.
    recurringDays List<Integer>
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    scheduleDaysOfWeeks List<Integer>
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    scheduleId Integer
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    scheduleTimeZone String
    Time zone used by the Expectation schedule.
    scheduleTimesOfDays List<String>
    Times of day in HH:MM format for the Expectation schedule.
    source String
    Source glob used to select candidate files.
    trigger String
    How this expectation opens windows.
    workspaceId Integer
    Workspace ID. 0 means the default workspace.
    criteria any
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    description string
    Expectation description.
    disabled boolean
    If true, the expectation is disabled.
    excludePattern string
    Optional source exclusion glob.
    holidayRegion string
    Optional holiday region used by the Expectation schedule.
    inactivityInterval number
    How many quiet seconds are required before final closure.
    interval string
    If trigger is daily, this specifies how often to run the expectation.
    lateAcceptanceInterval number
    How many seconds a schedule-driven window may remain eligible to close as late.
    lookbackInterval number
    How many seconds before the due boundary the window starts.
    maxOpenInterval number
    Hard-stop duration in seconds for unscheduled expectations.
    name string
    Expectation name.
    path string
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    recurringDay number
    If trigger is daily, this selects the day number inside the chosen interval.
    recurringDays number[]
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    scheduleDaysOfWeeks number[]
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    scheduleId number
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    scheduleTimeZone string
    Time zone used by the Expectation schedule.
    scheduleTimesOfDays string[]
    Times of day in HH:MM format for the Expectation schedule.
    source string
    Source glob used to select candidate files.
    trigger string
    How this expectation opens windows.
    workspaceId number
    Workspace ID. 0 means the default workspace.
    criteria Any
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    description str
    Expectation description.
    disabled bool
    If true, the expectation is disabled.
    exclude_pattern str
    Optional source exclusion glob.
    holiday_region str
    Optional holiday region used by the Expectation schedule.
    inactivity_interval int
    How many quiet seconds are required before final closure.
    interval str
    If trigger is daily, this specifies how often to run the expectation.
    late_acceptance_interval int
    How many seconds a schedule-driven window may remain eligible to close as late.
    lookback_interval int
    How many seconds before the due boundary the window starts.
    max_open_interval int
    Hard-stop duration in seconds for unscheduled expectations.
    name str
    Expectation name.
    path str
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    recurring_day int
    If trigger is daily, this selects the day number inside the chosen interval.
    recurring_days Sequence[int]
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    schedule_days_of_weeks Sequence[int]
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    schedule_id int
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    schedule_time_zone str
    Time zone used by the Expectation schedule.
    schedule_times_of_days Sequence[str]
    Times of day in HH:MM format for the Expectation schedule.
    source str
    Source glob used to select candidate files.
    trigger str
    How this expectation opens windows.
    workspace_id int
    Workspace ID. 0 means the default workspace.
    criteria Any
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    description String
    Expectation description.
    disabled Boolean
    If true, the expectation is disabled.
    excludePattern String
    Optional source exclusion glob.
    holidayRegion String
    Optional holiday region used by the Expectation schedule.
    inactivityInterval Number
    How many quiet seconds are required before final closure.
    interval String
    If trigger is daily, this specifies how often to run the expectation.
    lateAcceptanceInterval Number
    How many seconds a schedule-driven window may remain eligible to close as late.
    lookbackInterval Number
    How many seconds before the due boundary the window starts.
    maxOpenInterval Number
    Hard-stop duration in seconds for unscheduled expectations.
    name String
    Expectation name.
    path String
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    recurringDay Number
    If trigger is daily, this selects the day number inside the chosen interval.
    recurringDays List<Number>
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    scheduleDaysOfWeeks List<Number>
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    scheduleId Number
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    scheduleTimeZone String
    Time zone used by the Expectation schedule.
    scheduleTimesOfDays List<String>
    Times of day in HH:MM format for the Expectation schedule.
    source String
    Source glob used to select candidate files.
    trigger String
    How this expectation opens windows.
    workspaceId Number
    Workspace ID. 0 means the default workspace.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Expectation resource produces the following output properties:

    CreatedAt string
    Creation time.
    ExpectationsVersion int
    Criteria schema version for this expectation.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastEvaluatedAt string
    Last time this expectation was evaluated.
    LastFailureAt string
    Last time this expectation closed with a failure result.
    LastResult string
    Most recent terminal result for this expectation.
    LastSuccessAt string
    Last time this expectation closed successfully.
    UpdatedAt string
    Last update time.
    CreatedAt string
    Creation time.
    ExpectationsVersion int
    Criteria schema version for this expectation.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastEvaluatedAt string
    Last time this expectation was evaluated.
    LastFailureAt string
    Last time this expectation closed with a failure result.
    LastResult string
    Most recent terminal result for this expectation.
    LastSuccessAt string
    Last time this expectation closed successfully.
    UpdatedAt string
    Last update time.
    created_at string
    Creation time.
    expectations_version number
    Criteria schema version for this expectation.
    id string
    The provider-assigned unique ID for this managed resource.
    last_evaluated_at string
    Last time this expectation was evaluated.
    last_failure_at string
    Last time this expectation closed with a failure result.
    last_result string
    Most recent terminal result for this expectation.
    last_success_at string
    Last time this expectation closed successfully.
    updated_at string
    Last update time.
    createdAt String
    Creation time.
    expectationsVersion Integer
    Criteria schema version for this expectation.
    id String
    The provider-assigned unique ID for this managed resource.
    lastEvaluatedAt String
    Last time this expectation was evaluated.
    lastFailureAt String
    Last time this expectation closed with a failure result.
    lastResult String
    Most recent terminal result for this expectation.
    lastSuccessAt String
    Last time this expectation closed successfully.
    updatedAt String
    Last update time.
    createdAt string
    Creation time.
    expectationsVersion number
    Criteria schema version for this expectation.
    id string
    The provider-assigned unique ID for this managed resource.
    lastEvaluatedAt string
    Last time this expectation was evaluated.
    lastFailureAt string
    Last time this expectation closed with a failure result.
    lastResult string
    Most recent terminal result for this expectation.
    lastSuccessAt string
    Last time this expectation closed successfully.
    updatedAt string
    Last update time.
    created_at str
    Creation time.
    expectations_version int
    Criteria schema version for this expectation.
    id str
    The provider-assigned unique ID for this managed resource.
    last_evaluated_at str
    Last time this expectation was evaluated.
    last_failure_at str
    Last time this expectation closed with a failure result.
    last_result str
    Most recent terminal result for this expectation.
    last_success_at str
    Last time this expectation closed successfully.
    updated_at str
    Last update time.
    createdAt String
    Creation time.
    expectationsVersion Number
    Criteria schema version for this expectation.
    id String
    The provider-assigned unique ID for this managed resource.
    lastEvaluatedAt String
    Last time this expectation was evaluated.
    lastFailureAt String
    Last time this expectation closed with a failure result.
    lastResult String
    Most recent terminal result for this expectation.
    lastSuccessAt String
    Last time this expectation closed successfully.
    updatedAt String
    Last update time.

    Look up Existing Expectation Resource

    Get an existing Expectation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ExpectationState, opts?: CustomResourceOptions): Expectation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            criteria: Optional[Any] = None,
            description: Optional[str] = None,
            disabled: Optional[bool] = None,
            exclude_pattern: Optional[str] = None,
            expectations_version: Optional[int] = None,
            holiday_region: Optional[str] = None,
            inactivity_interval: Optional[int] = None,
            interval: Optional[str] = None,
            last_evaluated_at: Optional[str] = None,
            last_failure_at: Optional[str] = None,
            last_result: Optional[str] = None,
            last_success_at: Optional[str] = None,
            late_acceptance_interval: Optional[int] = None,
            lookback_interval: Optional[int] = None,
            max_open_interval: Optional[int] = None,
            name: Optional[str] = None,
            path: Optional[str] = None,
            recurring_day: Optional[int] = None,
            recurring_days: Optional[Sequence[int]] = None,
            schedule_days_of_weeks: Optional[Sequence[int]] = None,
            schedule_id: Optional[int] = None,
            schedule_time_zone: Optional[str] = None,
            schedule_times_of_days: Optional[Sequence[str]] = None,
            source: Optional[str] = None,
            trigger: Optional[str] = None,
            updated_at: Optional[str] = None,
            workspace_id: Optional[int] = None) -> Expectation
    func GetExpectation(ctx *Context, name string, id IDInput, state *ExpectationState, opts ...ResourceOption) (*Expectation, error)
    public static Expectation Get(string name, Input<string> id, ExpectationState? state, CustomResourceOptions? opts = null)
    public static Expectation get(String name, Output<String> id, ExpectationState state, CustomResourceOptions options)
    resources:  _:    type: filescom:Expectation    get:      id: ${id}
    import {
      to = filescom_expectation.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CreatedAt string
    Creation time.
    Criteria object
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    Description string
    Expectation description.
    Disabled bool
    If true, the expectation is disabled.
    ExcludePattern string
    Optional source exclusion glob.
    ExpectationsVersion int
    Criteria schema version for this expectation.
    HolidayRegion string
    Optional holiday region used by the Expectation schedule.
    InactivityInterval int
    How many quiet seconds are required before final closure.
    Interval string
    If trigger is daily, this specifies how often to run the expectation.
    LastEvaluatedAt string
    Last time this expectation was evaluated.
    LastFailureAt string
    Last time this expectation closed with a failure result.
    LastResult string
    Most recent terminal result for this expectation.
    LastSuccessAt string
    Last time this expectation closed successfully.
    LateAcceptanceInterval int
    How many seconds a schedule-driven window may remain eligible to close as late.
    LookbackInterval int
    How many seconds before the due boundary the window starts.
    MaxOpenInterval int
    Hard-stop duration in seconds for unscheduled expectations.
    Name string
    Expectation name.
    Path string
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    RecurringDay int
    If trigger is daily, this selects the day number inside the chosen interval.
    RecurringDays List<int>
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    ScheduleDaysOfWeeks List<int>
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    ScheduleId int
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    ScheduleTimeZone string
    Time zone used by the Expectation schedule.
    ScheduleTimesOfDays List<string>
    Times of day in HH:MM format for the Expectation schedule.
    Source string
    Source glob used to select candidate files.
    Trigger string
    How this expectation opens windows.
    UpdatedAt string
    Last update time.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    CreatedAt string
    Creation time.
    Criteria interface{}
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    Description string
    Expectation description.
    Disabled bool
    If true, the expectation is disabled.
    ExcludePattern string
    Optional source exclusion glob.
    ExpectationsVersion int
    Criteria schema version for this expectation.
    HolidayRegion string
    Optional holiday region used by the Expectation schedule.
    InactivityInterval int
    How many quiet seconds are required before final closure.
    Interval string
    If trigger is daily, this specifies how often to run the expectation.
    LastEvaluatedAt string
    Last time this expectation was evaluated.
    LastFailureAt string
    Last time this expectation closed with a failure result.
    LastResult string
    Most recent terminal result for this expectation.
    LastSuccessAt string
    Last time this expectation closed successfully.
    LateAcceptanceInterval int
    How many seconds a schedule-driven window may remain eligible to close as late.
    LookbackInterval int
    How many seconds before the due boundary the window starts.
    MaxOpenInterval int
    Hard-stop duration in seconds for unscheduled expectations.
    Name string
    Expectation name.
    Path string
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    RecurringDay int
    If trigger is daily, this selects the day number inside the chosen interval.
    RecurringDays []int
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    ScheduleDaysOfWeeks []int
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    ScheduleId int
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    ScheduleTimeZone string
    Time zone used by the Expectation schedule.
    ScheduleTimesOfDays []string
    Times of day in HH:MM format for the Expectation schedule.
    Source string
    Source glob used to select candidate files.
    Trigger string
    How this expectation opens windows.
    UpdatedAt string
    Last update time.
    WorkspaceId int
    Workspace ID. 0 means the default workspace.
    created_at string
    Creation time.
    criteria any
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    description string
    Expectation description.
    disabled bool
    If true, the expectation is disabled.
    exclude_pattern string
    Optional source exclusion glob.
    expectations_version number
    Criteria schema version for this expectation.
    holiday_region string
    Optional holiday region used by the Expectation schedule.
    inactivity_interval number
    How many quiet seconds are required before final closure.
    interval string
    If trigger is daily, this specifies how often to run the expectation.
    last_evaluated_at string
    Last time this expectation was evaluated.
    last_failure_at string
    Last time this expectation closed with a failure result.
    last_result string
    Most recent terminal result for this expectation.
    last_success_at string
    Last time this expectation closed successfully.
    late_acceptance_interval number
    How many seconds a schedule-driven window may remain eligible to close as late.
    lookback_interval number
    How many seconds before the due boundary the window starts.
    max_open_interval number
    Hard-stop duration in seconds for unscheduled expectations.
    name string
    Expectation name.
    path string
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    recurring_day number
    If trigger is daily, this selects the day number inside the chosen interval.
    recurring_days list(number)
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    schedule_days_of_weeks list(number)
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    schedule_id number
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    schedule_time_zone string
    Time zone used by the Expectation schedule.
    schedule_times_of_days list(string)
    Times of day in HH:MM format for the Expectation schedule.
    source string
    Source glob used to select candidate files.
    trigger string
    How this expectation opens windows.
    updated_at string
    Last update time.
    workspace_id number
    Workspace ID. 0 means the default workspace.
    createdAt String
    Creation time.
    criteria Object
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    description String
    Expectation description.
    disabled Boolean
    If true, the expectation is disabled.
    excludePattern String
    Optional source exclusion glob.
    expectationsVersion Integer
    Criteria schema version for this expectation.
    holidayRegion String
    Optional holiday region used by the Expectation schedule.
    inactivityInterval Integer
    How many quiet seconds are required before final closure.
    interval String
    If trigger is daily, this specifies how often to run the expectation.
    lastEvaluatedAt String
    Last time this expectation was evaluated.
    lastFailureAt String
    Last time this expectation closed with a failure result.
    lastResult String
    Most recent terminal result for this expectation.
    lastSuccessAt String
    Last time this expectation closed successfully.
    lateAcceptanceInterval Integer
    How many seconds a schedule-driven window may remain eligible to close as late.
    lookbackInterval Integer
    How many seconds before the due boundary the window starts.
    maxOpenInterval Integer
    Hard-stop duration in seconds for unscheduled expectations.
    name String
    Expectation name.
    path String
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    recurringDay Integer
    If trigger is daily, this selects the day number inside the chosen interval.
    recurringDays List<Integer>
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    scheduleDaysOfWeeks List<Integer>
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    scheduleId Integer
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    scheduleTimeZone String
    Time zone used by the Expectation schedule.
    scheduleTimesOfDays List<String>
    Times of day in HH:MM format for the Expectation schedule.
    source String
    Source glob used to select candidate files.
    trigger String
    How this expectation opens windows.
    updatedAt String
    Last update time.
    workspaceId Integer
    Workspace ID. 0 means the default workspace.
    createdAt string
    Creation time.
    criteria any
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    description string
    Expectation description.
    disabled boolean
    If true, the expectation is disabled.
    excludePattern string
    Optional source exclusion glob.
    expectationsVersion number
    Criteria schema version for this expectation.
    holidayRegion string
    Optional holiday region used by the Expectation schedule.
    inactivityInterval number
    How many quiet seconds are required before final closure.
    interval string
    If trigger is daily, this specifies how often to run the expectation.
    lastEvaluatedAt string
    Last time this expectation was evaluated.
    lastFailureAt string
    Last time this expectation closed with a failure result.
    lastResult string
    Most recent terminal result for this expectation.
    lastSuccessAt string
    Last time this expectation closed successfully.
    lateAcceptanceInterval number
    How many seconds a schedule-driven window may remain eligible to close as late.
    lookbackInterval number
    How many seconds before the due boundary the window starts.
    maxOpenInterval number
    Hard-stop duration in seconds for unscheduled expectations.
    name string
    Expectation name.
    path string
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    recurringDay number
    If trigger is daily, this selects the day number inside the chosen interval.
    recurringDays number[]
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    scheduleDaysOfWeeks number[]
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    scheduleId number
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    scheduleTimeZone string
    Time zone used by the Expectation schedule.
    scheduleTimesOfDays string[]
    Times of day in HH:MM format for the Expectation schedule.
    source string
    Source glob used to select candidate files.
    trigger string
    How this expectation opens windows.
    updatedAt string
    Last update time.
    workspaceId number
    Workspace ID. 0 means the default workspace.
    created_at str
    Creation time.
    criteria Any
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    description str
    Expectation description.
    disabled bool
    If true, the expectation is disabled.
    exclude_pattern str
    Optional source exclusion glob.
    expectations_version int
    Criteria schema version for this expectation.
    holiday_region str
    Optional holiday region used by the Expectation schedule.
    inactivity_interval int
    How many quiet seconds are required before final closure.
    interval str
    If trigger is daily, this specifies how often to run the expectation.
    last_evaluated_at str
    Last time this expectation was evaluated.
    last_failure_at str
    Last time this expectation closed with a failure result.
    last_result str
    Most recent terminal result for this expectation.
    last_success_at str
    Last time this expectation closed successfully.
    late_acceptance_interval int
    How many seconds a schedule-driven window may remain eligible to close as late.
    lookback_interval int
    How many seconds before the due boundary the window starts.
    max_open_interval int
    Hard-stop duration in seconds for unscheduled expectations.
    name str
    Expectation name.
    path str
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    recurring_day int
    If trigger is daily, this selects the day number inside the chosen interval.
    recurring_days Sequence[int]
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    schedule_days_of_weeks Sequence[int]
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    schedule_id int
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    schedule_time_zone str
    Time zone used by the Expectation schedule.
    schedule_times_of_days Sequence[str]
    Times of day in HH:MM format for the Expectation schedule.
    source str
    Source glob used to select candidate files.
    trigger str
    How this expectation opens windows.
    updated_at str
    Last update time.
    workspace_id int
    Workspace ID. 0 means the default workspace.
    createdAt String
    Creation time.
    criteria Any
    Versioned success criteria definition for the expectation. Criteria v2 supports optional FTS content validation.
    description String
    Expectation description.
    disabled Boolean
    If true, the expectation is disabled.
    excludePattern String
    Optional source exclusion glob.
    expectationsVersion Number
    Criteria schema version for this expectation.
    holidayRegion String
    Optional holiday region used by the Expectation schedule.
    inactivityInterval Number
    How many quiet seconds are required before final closure.
    interval String
    If trigger is daily, this specifies how often to run the expectation.
    lastEvaluatedAt String
    Last time this expectation was evaluated.
    lastFailureAt String
    Last time this expectation closed with a failure result.
    lastResult String
    Most recent terminal result for this expectation.
    lastSuccessAt String
    Last time this expectation closed successfully.
    lateAcceptanceInterval Number
    How many seconds a schedule-driven window may remain eligible to close as late.
    lookbackInterval Number
    How many seconds before the due boundary the window starts.
    maxOpenInterval Number
    Hard-stop duration in seconds for unscheduled expectations.
    name String
    Expectation name.
    path String
    Path scope for the expectation. Supports workspace-relative presentation. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
    recurringDay Number
    If trigger is daily, this selects the day number inside the chosen interval.
    recurringDays List<Number>
    If trigger is daily, this selects one or more day numbers inside a week, month, quarter, or year interval.
    scheduleDaysOfWeeks List<Number>
    If trigger is customSchedule, the 0-based weekdays used by the schedule.
    scheduleId Number
    If trigger is customSchedule, the reusable Schedule used instead of the Expectation's schedule fields.
    scheduleTimeZone String
    Time zone used by the Expectation schedule.
    scheduleTimesOfDays List<String>
    Times of day in HH:MM format for the Expectation schedule.
    source String
    Source glob used to select candidate files.
    trigger String
    How this expectation opens windows.
    updatedAt String
    Last update time.
    workspaceId Number
    Workspace ID. 0 means the default workspace.

    Import

    The pulumi import command can be used, for example:

    Expectations can be imported by specifying the id.

    $ pulumi import filescom:index/expectation:Expectation example_expectation 1
    

    To learn more about importing existing cloud resources, see Importing resources.

    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