published on Thursday, Aug 20, 2026 by jschady
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:
Scope: where to look for candidate files, using
path,source, and optionalexcludePattern.Trigger / timing: when a window opens and how long it stays eligible, using
trigger, schedule fields,lookbackInterval,lateAcceptanceInterval,inactivityInterval, andmaxOpenInterval.Criteria: what must be true for the window to succeed, using the structured
criteriaJSON document.Outcome history: what happened over time, exposed through
ExpectationEvaluationhistory andExpectationIncidentlifecycle 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 usingintervaland eitherrecurringDayorrecurringDays.customSchedule: run using either the reusable Site-level Schedule selected byscheduleIdor 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:
ExpectationEvaluationhistory shows each open or closed window and the evidence captured for it.ExpectationIncidentrecords 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.
- Exclude
Pattern string - Optional source exclusion glob.
- Holiday
Region string - Optional holiday region used by the Expectation schedule.
- Inactivity
Interval int - 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 intInterval - 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 intInterval - 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 int - If trigger is
daily, this selects the day number inside the chosen interval. - Recurring
Days List<int> - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - Schedule
Days List<int>Of Weeks - 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 stringZone - Time zone used by the Expectation schedule.
- Schedule
Times List<string>Of Days - 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 int - Workspace ID.
0means 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.
- Exclude
Pattern string - Optional source exclusion glob.
- Holiday
Region string - Optional holiday region used by the Expectation schedule.
- Inactivity
Interval int - 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 intInterval - 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 intInterval - 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 int - If trigger is
daily, this selects the day number inside the chosen interval. - Recurring
Days []int - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - Schedule
Days []intOf Weeks - 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 stringZone - Time zone used by the Expectation schedule.
- Schedule
Times []stringOf Days - 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 int - Workspace ID.
0means 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_ numberinterval - 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_ numberinterval - 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 aweek,month,quarter, oryearinterval. - schedule_
days_ list(number)of_ weeks - 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_ stringzone - Time zone used by the Expectation schedule.
- schedule_
times_ list(string)of_ days - 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.
0means 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.
- exclude
Pattern String - Optional source exclusion glob.
- holiday
Region String - Optional holiday region used by the Expectation schedule.
- inactivity
Interval Integer - 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 IntegerInterval - How many seconds a schedule-driven window may remain eligible to close as late.
- lookback
Interval Integer - How many seconds before the due boundary the window starts.
- max
Open IntegerInterval - 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 Integer - If trigger is
daily, this selects the day number inside the chosen interval. - recurring
Days List<Integer> - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - schedule
Days List<Integer>Of Weeks - If trigger is
customSchedule, the 0-based weekdays used by the schedule. - schedule
Id Integer - If trigger is
customSchedule, the reusable Schedule used instead of the Expectation's schedule fields. - schedule
Time StringZone - Time zone used by the Expectation schedule.
- schedule
Times List<String>Of Days - 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 Integer - Workspace ID.
0means 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.
- 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 numberInterval - 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 numberInterval - 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 number[] - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - schedule
Days number[]Of Weeks - 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 stringZone - Time zone used by the Expectation schedule.
- schedule
Times string[]Of Days - 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.
0means 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_ intinterval - 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_ intinterval - 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 aweek,month,quarter, oryearinterval. - schedule_
days_ Sequence[int]of_ weeks - 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_ strzone - Time zone used by the Expectation schedule.
- schedule_
times_ Sequence[str]of_ days - 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.
0means 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.
- 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 NumberInterval - 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 NumberInterval - 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 aweek,month,quarter, oryearinterval. - schedule
Days List<Number>Of Weeks - 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 StringZone - Time zone used by the Expectation schedule.
- schedule
Times List<String>Of Days - 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.
0means the default workspace.
Outputs
All input properties are implicitly available as output properties. Additionally, the Expectation resource produces the following output properties:
- Created
At string - Creation time.
- Expectations
Version int - Criteria schema version for this expectation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Evaluated stringAt - Last time this expectation was evaluated.
- Last
Failure stringAt - Last time this expectation closed with a failure result.
- Last
Result string - Most recent terminal result for this expectation.
- Last
Success stringAt - Last time this expectation closed successfully.
- Updated
At string - Last update time.
- Created
At string - Creation time.
- Expectations
Version int - Criteria schema version for this expectation.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Evaluated stringAt - Last time this expectation was evaluated.
- Last
Failure stringAt - Last time this expectation closed with a failure result.
- Last
Result string - Most recent terminal result for this expectation.
- Last
Success stringAt - Last time this expectation closed successfully.
- Updated
At 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_ stringat - Last time this expectation was evaluated.
- last_
failure_ stringat - Last time this expectation closed with a failure result.
- last_
result string - Most recent terminal result for this expectation.
- last_
success_ stringat - Last time this expectation closed successfully.
- updated_
at string - Last update time.
- created
At String - Creation time.
- expectations
Version Integer - Criteria schema version for this expectation.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Evaluated StringAt - Last time this expectation was evaluated.
- last
Failure StringAt - Last time this expectation closed with a failure result.
- last
Result String - Most recent terminal result for this expectation.
- last
Success StringAt - Last time this expectation closed successfully.
- updated
At 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 stringAt - Last time this expectation was evaluated.
- last
Failure stringAt - Last time this expectation closed with a failure result.
- last
Result string - Most recent terminal result for this expectation.
- last
Success stringAt - Last time this expectation closed successfully.
- updated
At 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_ strat - Last time this expectation was evaluated.
- last_
failure_ strat - Last time this expectation closed with a failure result.
- last_
result str - Most recent terminal result for this expectation.
- last_
success_ strat - Last time this expectation closed successfully.
- updated_
at str - 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 StringAt - Last time this expectation was evaluated.
- last
Failure StringAt - Last time this expectation closed with a failure result.
- last
Result String - Most recent terminal result for this expectation.
- last
Success StringAt - Last time this expectation closed successfully.
- updated
At 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) -> Expectationfunc 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.
- Created
At 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.
- Exclude
Pattern string - Optional source exclusion glob.
- Expectations
Version int - Criteria schema version for this expectation.
- Holiday
Region string - Optional holiday region used by the Expectation schedule.
- Inactivity
Interval int - 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 stringAt - Last time this expectation was evaluated.
- Last
Failure stringAt - Last time this expectation closed with a failure result.
- Last
Result string - Most recent terminal result for this expectation.
- Last
Success stringAt - Last time this expectation closed successfully.
- Late
Acceptance intInterval - 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 intInterval - 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 int - If trigger is
daily, this selects the day number inside the chosen interval. - Recurring
Days List<int> - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - Schedule
Days List<int>Of Weeks - 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 stringZone - Time zone used by the Expectation schedule.
- Schedule
Times List<string>Of Days - 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 int - Workspace ID.
0means the default workspace.
- Created
At 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.
- Exclude
Pattern string - Optional source exclusion glob.
- Expectations
Version int - Criteria schema version for this expectation.
- Holiday
Region string - Optional holiday region used by the Expectation schedule.
- Inactivity
Interval int - 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 stringAt - Last time this expectation was evaluated.
- Last
Failure stringAt - Last time this expectation closed with a failure result.
- Last
Result string - Most recent terminal result for this expectation.
- Last
Success stringAt - Last time this expectation closed successfully.
- Late
Acceptance intInterval - 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 intInterval - 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 int - If trigger is
daily, this selects the day number inside the chosen interval. - Recurring
Days []int - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - Schedule
Days []intOf Weeks - 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 stringZone - Time zone used by the Expectation schedule.
- Schedule
Times []stringOf Days - 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 int - Workspace ID.
0means 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_ stringat - Last time this expectation was evaluated.
- last_
failure_ stringat - Last time this expectation closed with a failure result.
- last_
result string - Most recent terminal result for this expectation.
- last_
success_ stringat - Last time this expectation closed successfully.
- late_
acceptance_ numberinterval - 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_ numberinterval - 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 aweek,month,quarter, oryearinterval. - schedule_
days_ list(number)of_ weeks - 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_ stringzone - Time zone used by the Expectation schedule.
- schedule_
times_ list(string)of_ days - 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.
0means the default workspace.
- created
At 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.
- exclude
Pattern String - Optional source exclusion glob.
- expectations
Version Integer - Criteria schema version for this expectation.
- holiday
Region String - Optional holiday region used by the Expectation schedule.
- inactivity
Interval Integer - 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 StringAt - Last time this expectation was evaluated.
- last
Failure StringAt - Last time this expectation closed with a failure result.
- last
Result String - Most recent terminal result for this expectation.
- last
Success StringAt - Last time this expectation closed successfully.
- late
Acceptance IntegerInterval - How many seconds a schedule-driven window may remain eligible to close as late.
- lookback
Interval Integer - How many seconds before the due boundary the window starts.
- max
Open IntegerInterval - 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 Integer - If trigger is
daily, this selects the day number inside the chosen interval. - recurring
Days List<Integer> - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - schedule
Days List<Integer>Of Weeks - If trigger is
customSchedule, the 0-based weekdays used by the schedule. - schedule
Id Integer - If trigger is
customSchedule, the reusable Schedule used instead of the Expectation's schedule fields. - schedule
Time StringZone - Time zone used by the Expectation schedule.
- schedule
Times List<String>Of Days - 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 Integer - Workspace ID.
0means 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 boolean
- 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 stringAt - Last time this expectation was evaluated.
- last
Failure stringAt - Last time this expectation closed with a failure result.
- last
Result string - Most recent terminal result for this expectation.
- last
Success stringAt - Last time this expectation closed successfully.
- late
Acceptance numberInterval - 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 numberInterval - 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 number[] - If trigger is
daily, this selects one or more day numbers inside aweek,month,quarter, oryearinterval. - schedule
Days number[]Of Weeks - 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 stringZone - Time zone used by the Expectation schedule.
- schedule
Times string[]Of Days - 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.
0means 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_ strat - Last time this expectation was evaluated.
- last_
failure_ strat - Last time this expectation closed with a failure result.
- last_
result str - Most recent terminal result for this expectation.
- last_
success_ strat - Last time this expectation closed successfully.
- late_
acceptance_ intinterval - 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_ intinterval - 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 aweek,month,quarter, oryearinterval. - schedule_
days_ Sequence[int]of_ weeks - 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_ strzone - Time zone used by the Expectation schedule.
- schedule_
times_ Sequence[str]of_ days - 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.
0means 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 Boolean
- 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 StringAt - Last time this expectation was evaluated.
- last
Failure StringAt - Last time this expectation closed with a failure result.
- last
Result String - Most recent terminal result for this expectation.
- last
Success StringAt - Last time this expectation closed successfully.
- late
Acceptance NumberInterval - 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 NumberInterval - 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 aweek,month,quarter, oryearinterval. - schedule
Days List<Number>Of Weeks - 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 StringZone - Time zone used by the Expectation schedule.
- schedule
Times List<String>Of Days - 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.
0means 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
filescomTerraform Provider.
published on Thursday, Aug 20, 2026 by jschady