published on Thursday, Aug 20, 2026 by jschady
published on Thursday, Aug 20, 2026 by jschady
A Sync represents a file synchronization job between two locations (local-remote, remote-remote, local-child_site, etc).
It can be scheduled, run manually, or triggered by custom logic.
Syncs track their runs, status, and configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as filescom from "pulumi-filescom";
const exampleSync = new filescom.Sync("example_sync", {
deleteEmptyFolders: true,
description: "example",
destPath: "example",
destRemoteServerId: 1,
disabled: true,
excludePatterns: ["example"],
holidayRegion: "us_dc",
includePatterns: ["example"],
interval: "week",
keepAfterCopy: true,
name: "example",
recurringDay: 25,
recurringDays: [
1,
15,
],
scheduleId: 1,
scheduleDaysOfWeeks: [
0,
2,
4,
],
scheduleTimeZone: "Eastern Time (US & Canada)",
scheduleTimesOfDays: [
"06:30",
"14:30",
],
srcPath: "example",
srcRemoteServerId: 1,
syncIntervalMinutes: 1,
trigger: "example",
triggerFile: "example",
alwaysWriteTriggerFile: true,
workspaceId: 1,
});
import pulumi
import pulumi_filescom as filescom
example_sync = filescom.Sync("example_sync",
delete_empty_folders=True,
description="example",
dest_path="example",
dest_remote_server_id=1,
disabled=True,
exclude_patterns=["example"],
holiday_region="us_dc",
include_patterns=["example"],
interval="week",
keep_after_copy=True,
name="example",
recurring_day=25,
recurring_days=[
1,
15,
],
schedule_id=1,
schedule_days_of_weeks=[
0,
2,
4,
],
schedule_time_zone="Eastern Time (US & Canada)",
schedule_times_of_days=[
"06:30",
"14:30",
],
src_path="example",
src_remote_server_id=1,
sync_interval_minutes=1,
trigger="example",
trigger_file="example",
always_write_trigger_file=True,
workspace_id=1)
package main
import (
"github.com/jschady/pulumi-filescom/sdk/go/filescom"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := filescom.NewSync(ctx, "example_sync", &filescom.SyncArgs{
DeleteEmptyFolders: pulumi.Bool(true),
Description: pulumi.String("example"),
DestPath: pulumi.String("example"),
DestRemoteServerId: pulumi.Int(1),
Disabled: pulumi.Bool(true),
ExcludePatterns: pulumi.StringArray{
pulumi.String("example"),
},
HolidayRegion: pulumi.String("us_dc"),
IncludePatterns: pulumi.StringArray{
pulumi.String("example"),
},
Interval: pulumi.String("week"),
KeepAfterCopy: pulumi.Bool(true),
Name: pulumi.String("example"),
RecurringDay: pulumi.Int(25),
RecurringDays: pulumi.IntArray{
pulumi.Int(1),
pulumi.Int(15),
},
ScheduleId: pulumi.Int(1),
ScheduleDaysOfWeeks: pulumi.IntArray{
pulumi.Int(0),
pulumi.Int(2),
pulumi.Int(4),
},
ScheduleTimeZone: pulumi.String("Eastern Time (US & Canada)"),
ScheduleTimesOfDays: pulumi.StringArray{
pulumi.String("06:30"),
pulumi.String("14:30"),
},
SrcPath: pulumi.String("example"),
SrcRemoteServerId: pulumi.Int(1),
SyncIntervalMinutes: pulumi.Int(1),
Trigger: pulumi.String("example"),
TriggerFile: pulumi.String("example"),
AlwaysWriteTriggerFile: pulumi.Bool(true),
WorkspaceId: pulumi.Int(1),
})
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 exampleSync = new Filescom.Sync("example_sync", new()
{
DeleteEmptyFolders = true,
Description = "example",
DestPath = "example",
DestRemoteServerId = 1,
Disabled = true,
ExcludePatterns = new[]
{
"example",
},
HolidayRegion = "us_dc",
IncludePatterns = new[]
{
"example",
},
Interval = "week",
KeepAfterCopy = true,
Name = "example",
RecurringDay = 25,
RecurringDays = new[]
{
1,
15,
},
ScheduleId = 1,
ScheduleDaysOfWeeks = new[]
{
0,
2,
4,
},
ScheduleTimeZone = "Eastern Time (US & Canada)",
ScheduleTimesOfDays = new[]
{
"06:30",
"14:30",
},
SrcPath = "example",
SrcRemoteServerId = 1,
SyncIntervalMinutes = 1,
Trigger = "example",
TriggerFile = "example",
AlwaysWriteTriggerFile = true,
WorkspaceId = 1,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.filescom.Sync;
import com.pulumi.filescom.SyncArgs;
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 exampleSync = new Sync("exampleSync", SyncArgs.builder()
.deleteEmptyFolders(true)
.description("example")
.destPath("example")
.destRemoteServerId(1)
.disabled(true)
.excludePatterns("example")
.holidayRegion("us_dc")
.includePatterns("example")
.interval("week")
.keepAfterCopy(true)
.name("example")
.recurringDay(25)
.recurringDays(
1,
15)
.scheduleId(1)
.scheduleDaysOfWeeks(
0,
2,
4)
.scheduleTimeZone("Eastern Time (US & Canada)")
.scheduleTimesOfDays(
"06:30",
"14:30")
.srcPath("example")
.srcRemoteServerId(1)
.syncIntervalMinutes(1)
.trigger("example")
.triggerFile("example")
.alwaysWriteTriggerFile(true)
.workspaceId(1)
.build());
}
}
resources:
exampleSync:
type: filescom:Sync
name: example_sync
properties:
deleteEmptyFolders: true
description: example
destPath: example
destRemoteServerId: 1
disabled: true
excludePatterns:
- example
holidayRegion: us_dc
includePatterns:
- example
interval: week
keepAfterCopy: true
name: example
recurringDay: 25
recurringDays:
- 1
- 15
scheduleId: 1
scheduleDaysOfWeeks:
- 0
- 2
- 4
scheduleTimeZone: Eastern Time (US & Canada)
scheduleTimesOfDays:
- 06:30
- 14:30
srcPath: example
srcRemoteServerId: 1
syncIntervalMinutes: 1
trigger: example
triggerFile: example
alwaysWriteTriggerFile: true
workspaceId: 1
pulumi {
required_providers {
filescom = {
source = "pulumi/filescom"
}
}
}
resource "filescom_sync" "example_sync" {
delete_empty_folders = true
description = "example"
dest_path = "example"
dest_remote_server_id = 1
disabled = true
exclude_patterns = ["example"]
holiday_region = "us_dc"
include_patterns = ["example"]
interval = "week"
keep_after_copy = true
name = "example"
recurring_day = 25
recurring_days = [1, 15]
schedule_id = 1
schedule_days_of_weeks = [0, 2, 4]
schedule_time_zone = "Eastern Time (US & Canada)"
schedule_times_of_days = ["06:30", "14:30"]
src_path = "example"
src_remote_server_id = 1
sync_interval_minutes = 1
trigger = "example"
trigger_file = "example"
always_write_trigger_file = true
workspace_id = 1
}
Create Sync Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Sync(name: string, args?: SyncArgs, opts?: CustomResourceOptions);@overload
def Sync(resource_name: str,
args: Optional[SyncArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Sync(resource_name: str,
opts: Optional[ResourceOptions] = None,
always_write_trigger_file: Optional[bool] = None,
delete_empty_folders: Optional[bool] = None,
description: Optional[str] = None,
dest_path: Optional[str] = None,
dest_remote_server_id: Optional[int] = None,
disabled: Optional[bool] = None,
exclude_patterns: Optional[Sequence[str]] = None,
holiday_region: Optional[str] = None,
include_patterns: Optional[Sequence[str]] = None,
interval: Optional[str] = None,
keep_after_copy: Optional[bool] = None,
name: 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,
src_path: Optional[str] = None,
src_remote_server_id: Optional[int] = None,
sync_interval_minutes: Optional[int] = None,
trigger: Optional[str] = None,
trigger_file: Optional[str] = None,
workspace_id: Optional[int] = None)func NewSync(ctx *Context, name string, args *SyncArgs, opts ...ResourceOption) (*Sync, error)public Sync(string name, SyncArgs? args = null, CustomResourceOptions? opts = null)type: filescom:Sync
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "filescom_sync" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SyncArgs
- 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 SyncArgs
- 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 SyncArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SyncArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SyncArgs
- 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 syncResource = new Filescom.Sync("syncResource", new()
{
AlwaysWriteTriggerFile = false,
DeleteEmptyFolders = false,
Description = "string",
DestPath = "string",
DestRemoteServerId = 0,
Disabled = false,
ExcludePatterns = new[]
{
"string",
},
HolidayRegion = "string",
IncludePatterns = new[]
{
"string",
},
Interval = "string",
KeepAfterCopy = false,
Name = "string",
RecurringDay = 0,
RecurringDays = new[]
{
0,
},
ScheduleDaysOfWeeks = new[]
{
0,
},
ScheduleId = 0,
ScheduleTimeZone = "string",
ScheduleTimesOfDays = new[]
{
"string",
},
SrcPath = "string",
SrcRemoteServerId = 0,
SyncIntervalMinutes = 0,
Trigger = "string",
TriggerFile = "string",
WorkspaceId = 0,
});
example, err := filescom.NewSync(ctx, "syncResource", &filescom.SyncArgs{
AlwaysWriteTriggerFile: pulumi.Bool(false),
DeleteEmptyFolders: pulumi.Bool(false),
Description: pulumi.String("string"),
DestPath: pulumi.String("string"),
DestRemoteServerId: pulumi.Int(0),
Disabled: pulumi.Bool(false),
ExcludePatterns: pulumi.StringArray{
pulumi.String("string"),
},
HolidayRegion: pulumi.String("string"),
IncludePatterns: pulumi.StringArray{
pulumi.String("string"),
},
Interval: pulumi.String("string"),
KeepAfterCopy: pulumi.Bool(false),
Name: 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"),
},
SrcPath: pulumi.String("string"),
SrcRemoteServerId: pulumi.Int(0),
SyncIntervalMinutes: pulumi.Int(0),
Trigger: pulumi.String("string"),
TriggerFile: pulumi.String("string"),
WorkspaceId: pulumi.Int(0),
})
resource "filescom_sync" "syncResource" {
lifecycle {
create_before_destroy = true
}
always_write_trigger_file = false
delete_empty_folders = false
description = "string"
dest_path = "string"
dest_remote_server_id = 0
disabled = false
exclude_patterns = ["string"]
holiday_region = "string"
include_patterns = ["string"]
interval = "string"
keep_after_copy = false
name = "string"
recurring_day = 0
recurring_days = [0]
schedule_days_of_weeks = [0]
schedule_id = 0
schedule_time_zone = "string"
schedule_times_of_days = ["string"]
src_path = "string"
src_remote_server_id = 0
sync_interval_minutes = 0
trigger = "string"
trigger_file = "string"
workspace_id = 0
}
var syncResource = new Sync("syncResource", SyncArgs.builder()
.alwaysWriteTriggerFile(false)
.deleteEmptyFolders(false)
.description("string")
.destPath("string")
.destRemoteServerId(0)
.disabled(false)
.excludePatterns("string")
.holidayRegion("string")
.includePatterns("string")
.interval("string")
.keepAfterCopy(false)
.name("string")
.recurringDay(0)
.recurringDays(0)
.scheduleDaysOfWeeks(0)
.scheduleId(0)
.scheduleTimeZone("string")
.scheduleTimesOfDays("string")
.srcPath("string")
.srcRemoteServerId(0)
.syncIntervalMinutes(0)
.trigger("string")
.triggerFile("string")
.workspaceId(0)
.build());
sync_resource = filescom.Sync("syncResource",
always_write_trigger_file=False,
delete_empty_folders=False,
description="string",
dest_path="string",
dest_remote_server_id=0,
disabled=False,
exclude_patterns=["string"],
holiday_region="string",
include_patterns=["string"],
interval="string",
keep_after_copy=False,
name="string",
recurring_day=0,
recurring_days=[0],
schedule_days_of_weeks=[0],
schedule_id=0,
schedule_time_zone="string",
schedule_times_of_days=["string"],
src_path="string",
src_remote_server_id=0,
sync_interval_minutes=0,
trigger="string",
trigger_file="string",
workspace_id=0)
const syncResource = new filescom.Sync("syncResource", {
alwaysWriteTriggerFile: false,
deleteEmptyFolders: false,
description: "string",
destPath: "string",
destRemoteServerId: 0,
disabled: false,
excludePatterns: ["string"],
holidayRegion: "string",
includePatterns: ["string"],
interval: "string",
keepAfterCopy: false,
name: "string",
recurringDay: 0,
recurringDays: [0],
scheduleDaysOfWeeks: [0],
scheduleId: 0,
scheduleTimeZone: "string",
scheduleTimesOfDays: ["string"],
srcPath: "string",
srcRemoteServerId: 0,
syncIntervalMinutes: 0,
trigger: "string",
triggerFile: "string",
workspaceId: 0,
});
type: filescom:Sync
properties:
alwaysWriteTriggerFile: false
deleteEmptyFolders: false
description: string
destPath: string
destRemoteServerId: 0
disabled: false
excludePatterns:
- string
holidayRegion: string
includePatterns:
- string
interval: string
keepAfterCopy: false
name: string
recurringDay: 0
recurringDays:
- 0
scheduleDaysOfWeeks:
- 0
scheduleId: 0
scheduleTimeZone: string
scheduleTimesOfDays:
- string
srcPath: string
srcRemoteServerId: 0
syncIntervalMinutes: 0
trigger: string
triggerFile: string
workspaceId: 0
Sync 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 Sync resource accepts the following input properties:
- Always
Write boolTrigger File - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- Delete
Empty boolFolders - Delete empty folders after sync?
- Description string
- Description for this sync job
- Dest
Path string - Absolute destination path for the sync
- Dest
Remote intServer Id - Remote server ID for the destination (if remote)
- Disabled bool
- Is this sync disabled?
- Exclude
Patterns List<string> - Array of glob patterns to exclude
- Holiday
Region string - Skip the sync if there is a formal, observed holiday for this region.
- Include
Patterns List<string> - Array of glob patterns to include
- Interval string
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - Keep
After boolCopy - Keep files after copying?
- Name string
- Name for this sync job
- Recurring
Day int - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - Recurring
Days List<int> - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - Schedule
Days List<int>Of Weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - Schedule
Id int - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - Schedule
Time stringZone - Time zone for the schedule. If not set, times are interpreted as UTC.
- Schedule
Times List<string>Of Days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - Src
Path string - Absolute source path for the sync
- Src
Remote intServer Id - Remote server ID for the source (if remote)
- Sync
Interval intMinutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - Trigger string
- Trigger type: daily, custom_schedule, or manual
- Trigger
File string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- Workspace
Id int - Workspace ID this sync belongs to
- Always
Write boolTrigger File - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- Delete
Empty boolFolders - Delete empty folders after sync?
- Description string
- Description for this sync job
- Dest
Path string - Absolute destination path for the sync
- Dest
Remote intServer Id - Remote server ID for the destination (if remote)
- Disabled bool
- Is this sync disabled?
- Exclude
Patterns []string - Array of glob patterns to exclude
- Holiday
Region string - Skip the sync if there is a formal, observed holiday for this region.
- Include
Patterns []string - Array of glob patterns to include
- Interval string
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - Keep
After boolCopy - Keep files after copying?
- Name string
- Name for this sync job
- Recurring
Day int - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - Recurring
Days []int - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - Schedule
Days []intOf Weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - Schedule
Id int - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - Schedule
Time stringZone - Time zone for the schedule. If not set, times are interpreted as UTC.
- Schedule
Times []stringOf Days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - Src
Path string - Absolute source path for the sync
- Src
Remote intServer Id - Remote server ID for the source (if remote)
- Sync
Interval intMinutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - Trigger string
- Trigger type: daily, custom_schedule, or manual
- Trigger
File string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- Workspace
Id int - Workspace ID this sync belongs to
- always_
write_ booltrigger_ file - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- delete_
empty_ boolfolders - Delete empty folders after sync?
- description string
- Description for this sync job
- dest_
path string - Absolute destination path for the sync
- dest_
remote_ numberserver_ id - Remote server ID for the destination (if remote)
- disabled bool
- Is this sync disabled?
- exclude_
patterns list(string) - Array of glob patterns to exclude
- holiday_
region string - Skip the sync if there is a formal, observed holiday for this region.
- include_
patterns list(string) - Array of glob patterns to include
- interval string
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - keep_
after_ boolcopy - Keep files after copying?
- name string
- Name for this sync job
- recurring_
day number - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - recurring_
days list(number) - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - schedule_
days_ list(number)of_ weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - schedule_
id number - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - schedule_
time_ stringzone - Time zone for the schedule. If not set, times are interpreted as UTC.
- schedule_
times_ list(string)of_ days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - src_
path string - Absolute source path for the sync
- src_
remote_ numberserver_ id - Remote server ID for the source (if remote)
- sync_
interval_ numberminutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - trigger string
- Trigger type: daily, custom_schedule, or manual
- trigger_
file string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- workspace_
id number - Workspace ID this sync belongs to
- always
Write BooleanTrigger File - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- delete
Empty BooleanFolders - Delete empty folders after sync?
- description String
- Description for this sync job
- dest
Path String - Absolute destination path for the sync
- dest
Remote IntegerServer Id - Remote server ID for the destination (if remote)
- disabled Boolean
- Is this sync disabled?
- exclude
Patterns List<String> - Array of glob patterns to exclude
- holiday
Region String - Skip the sync if there is a formal, observed holiday for this region.
- include
Patterns List<String> - Array of glob patterns to include
- interval String
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - keep
After BooleanCopy - Keep files after copying?
- name String
- Name for this sync job
- recurring
Day Integer - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - recurring
Days List<Integer> - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - schedule
Days List<Integer>Of Weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - schedule
Id Integer - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - schedule
Time StringZone - Time zone for the schedule. If not set, times are interpreted as UTC.
- schedule
Times List<String>Of Days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - src
Path String - Absolute source path for the sync
- src
Remote IntegerServer Id - Remote server ID for the source (if remote)
- sync
Interval IntegerMinutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - trigger String
- Trigger type: daily, custom_schedule, or manual
- trigger
File String - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- workspace
Id Integer - Workspace ID this sync belongs to
- always
Write booleanTrigger File - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- delete
Empty booleanFolders - Delete empty folders after sync?
- description string
- Description for this sync job
- dest
Path string - Absolute destination path for the sync
- dest
Remote numberServer Id - Remote server ID for the destination (if remote)
- disabled boolean
- Is this sync disabled?
- exclude
Patterns string[] - Array of glob patterns to exclude
- holiday
Region string - Skip the sync if there is a formal, observed holiday for this region.
- include
Patterns string[] - Array of glob patterns to include
- interval string
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - keep
After booleanCopy - Keep files after copying?
- name string
- Name for this sync job
- recurring
Day number - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - recurring
Days number[] - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - schedule
Days number[]Of Weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - schedule
Id number - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - schedule
Time stringZone - Time zone for the schedule. If not set, times are interpreted as UTC.
- schedule
Times string[]Of Days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - src
Path string - Absolute source path for the sync
- src
Remote numberServer Id - Remote server ID for the source (if remote)
- sync
Interval numberMinutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - trigger string
- Trigger type: daily, custom_schedule, or manual
- trigger
File string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- workspace
Id number - Workspace ID this sync belongs to
- always_
write_ booltrigger_ file - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- delete_
empty_ boolfolders - Delete empty folders after sync?
- description str
- Description for this sync job
- dest_
path str - Absolute destination path for the sync
- dest_
remote_ intserver_ id - Remote server ID for the destination (if remote)
- disabled bool
- Is this sync disabled?
- exclude_
patterns Sequence[str] - Array of glob patterns to exclude
- holiday_
region str - Skip the sync if there is a formal, observed holiday for this region.
- include_
patterns Sequence[str] - Array of glob patterns to include
- interval str
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - keep_
after_ boolcopy - Keep files after copying?
- name str
- Name for this sync job
- recurring_
day int - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - recurring_
days Sequence[int] - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - schedule_
days_ Sequence[int]of_ weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - schedule_
id int - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - schedule_
time_ strzone - Time zone for the schedule. If not set, times are interpreted as UTC.
- schedule_
times_ Sequence[str]of_ days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - src_
path str - Absolute source path for the sync
- src_
remote_ intserver_ id - Remote server ID for the source (if remote)
- sync_
interval_ intminutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - trigger str
- Trigger type: daily, custom_schedule, or manual
- trigger_
file str - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- workspace_
id int - Workspace ID this sync belongs to
- always
Write BooleanTrigger File - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- delete
Empty BooleanFolders - Delete empty folders after sync?
- description String
- Description for this sync job
- dest
Path String - Absolute destination path for the sync
- dest
Remote NumberServer Id - Remote server ID for the destination (if remote)
- disabled Boolean
- Is this sync disabled?
- exclude
Patterns List<String> - Array of glob patterns to exclude
- holiday
Region String - Skip the sync if there is a formal, observed holiday for this region.
- include
Patterns List<String> - Array of glob patterns to include
- interval String
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - keep
After BooleanCopy - Keep files after copying?
- name String
- Name for this sync job
- recurring
Day Number - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - recurring
Days List<Number> - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - schedule
Days List<Number>Of Weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - schedule
Id Number - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - schedule
Time StringZone - Time zone for the schedule. If not set, times are interpreted as UTC.
- schedule
Times List<String>Of Days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - src
Path String - Absolute source path for the sync
- src
Remote NumberServer Id - Remote server ID for the source (if remote)
- sync
Interval NumberMinutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - trigger String
- Trigger type: daily, custom_schedule, or manual
- trigger
File String - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- workspace
Id Number - Workspace ID this sync belongs to
Outputs
All input properties are implicitly available as output properties. Additionally, the Sync resource produces the following output properties:
- Created
At string - When this sync was created
- Dest
Site intId - Destination site ID if syncing to a child or partner site
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Sync stringRun - The latest run of this sync
- Site
Id int - Site ID this sync belongs to
- Src
Site intId - Source site ID if syncing from a child or partner site
- Two
Way bool - Is this a two-way sync?
- Updated
At string - When this sync was last updated
- User
Id int - User who created or owns this sync
- Created
At string - When this sync was created
- Dest
Site intId - Destination site ID if syncing to a child or partner site
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Sync stringRun - The latest run of this sync
- Site
Id int - Site ID this sync belongs to
- Src
Site intId - Source site ID if syncing from a child or partner site
- Two
Way bool - Is this a two-way sync?
- Updated
At string - When this sync was last updated
- User
Id int - User who created or owns this sync
- created_
at string - When this sync was created
- dest_
site_ numberid - Destination site ID if syncing to a child or partner site
- id string
- The provider-assigned unique ID for this managed resource.
- latest_
sync_ stringrun - The latest run of this sync
- site_
id number - Site ID this sync belongs to
- src_
site_ numberid - Source site ID if syncing from a child or partner site
- two_
way bool - Is this a two-way sync?
- updated_
at string - When this sync was last updated
- user_
id number - User who created or owns this sync
- created
At String - When this sync was created
- dest
Site IntegerId - Destination site ID if syncing to a child or partner site
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Sync StringRun - The latest run of this sync
- site
Id Integer - Site ID this sync belongs to
- src
Site IntegerId - Source site ID if syncing from a child or partner site
- two
Way Boolean - Is this a two-way sync?
- updated
At String - When this sync was last updated
- user
Id Integer - User who created or owns this sync
- created
At string - When this sync was created
- dest
Site numberId - Destination site ID if syncing to a child or partner site
- id string
- The provider-assigned unique ID for this managed resource.
- latest
Sync stringRun - The latest run of this sync
- site
Id number - Site ID this sync belongs to
- src
Site numberId - Source site ID if syncing from a child or partner site
- two
Way boolean - Is this a two-way sync?
- updated
At string - When this sync was last updated
- user
Id number - User who created or owns this sync
- created_
at str - When this sync was created
- dest_
site_ intid - Destination site ID if syncing to a child or partner site
- id str
- The provider-assigned unique ID for this managed resource.
- latest_
sync_ strrun - The latest run of this sync
- site_
id int - Site ID this sync belongs to
- src_
site_ intid - Source site ID if syncing from a child or partner site
- two_
way bool - Is this a two-way sync?
- updated_
at str - When this sync was last updated
- user_
id int - User who created or owns this sync
- created
At String - When this sync was created
- dest
Site NumberId - Destination site ID if syncing to a child or partner site
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Sync StringRun - The latest run of this sync
- site
Id Number - Site ID this sync belongs to
- src
Site NumberId - Source site ID if syncing from a child or partner site
- two
Way Boolean - Is this a two-way sync?
- updated
At String - When this sync was last updated
- user
Id Number - User who created or owns this sync
Look up Existing Sync Resource
Get an existing Sync 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?: SyncState, opts?: CustomResourceOptions): Sync@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
always_write_trigger_file: Optional[bool] = None,
created_at: Optional[str] = None,
delete_empty_folders: Optional[bool] = None,
description: Optional[str] = None,
dest_path: Optional[str] = None,
dest_remote_server_id: Optional[int] = None,
dest_site_id: Optional[int] = None,
disabled: Optional[bool] = None,
exclude_patterns: Optional[Sequence[str]] = None,
holiday_region: Optional[str] = None,
include_patterns: Optional[Sequence[str]] = None,
interval: Optional[str] = None,
keep_after_copy: Optional[bool] = None,
latest_sync_run: Optional[str] = None,
name: 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,
site_id: Optional[int] = None,
src_path: Optional[str] = None,
src_remote_server_id: Optional[int] = None,
src_site_id: Optional[int] = None,
sync_interval_minutes: Optional[int] = None,
trigger: Optional[str] = None,
trigger_file: Optional[str] = None,
two_way: Optional[bool] = None,
updated_at: Optional[str] = None,
user_id: Optional[int] = None,
workspace_id: Optional[int] = None) -> Syncfunc GetSync(ctx *Context, name string, id IDInput, state *SyncState, opts ...ResourceOption) (*Sync, error)public static Sync Get(string name, Input<string> id, SyncState? state, CustomResourceOptions? opts = null)public static Sync get(String name, Output<String> id, SyncState state, CustomResourceOptions options)resources: _: type: filescom:Sync get: id: ${id}import {
to = filescom_sync.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.
- Always
Write boolTrigger File - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- Created
At string - When this sync was created
- Delete
Empty boolFolders - Delete empty folders after sync?
- Description string
- Description for this sync job
- Dest
Path string - Absolute destination path for the sync
- Dest
Remote intServer Id - Remote server ID for the destination (if remote)
- Dest
Site intId - Destination site ID if syncing to a child or partner site
- Disabled bool
- Is this sync disabled?
- Exclude
Patterns List<string> - Array of glob patterns to exclude
- Holiday
Region string - Skip the sync if there is a formal, observed holiday for this region.
- Include
Patterns List<string> - Array of glob patterns to include
- Interval string
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - Keep
After boolCopy - Keep files after copying?
- Latest
Sync stringRun - The latest run of this sync
- Name string
- Name for this sync job
- Recurring
Day int - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - Recurring
Days List<int> - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - Schedule
Days List<int>Of Weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - Schedule
Id int - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - Schedule
Time stringZone - Time zone for the schedule. If not set, times are interpreted as UTC.
- Schedule
Times List<string>Of Days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - Site
Id int - Site ID this sync belongs to
- Src
Path string - Absolute source path for the sync
- Src
Remote intServer Id - Remote server ID for the source (if remote)
- Src
Site intId - Source site ID if syncing from a child or partner site
- Sync
Interval intMinutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - Trigger string
- Trigger type: daily, custom_schedule, or manual
- Trigger
File string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- Two
Way bool - Is this a two-way sync?
- Updated
At string - When this sync was last updated
- User
Id int - User who created or owns this sync
- Workspace
Id int - Workspace ID this sync belongs to
- Always
Write boolTrigger File - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- Created
At string - When this sync was created
- Delete
Empty boolFolders - Delete empty folders after sync?
- Description string
- Description for this sync job
- Dest
Path string - Absolute destination path for the sync
- Dest
Remote intServer Id - Remote server ID for the destination (if remote)
- Dest
Site intId - Destination site ID if syncing to a child or partner site
- Disabled bool
- Is this sync disabled?
- Exclude
Patterns []string - Array of glob patterns to exclude
- Holiday
Region string - Skip the sync if there is a formal, observed holiday for this region.
- Include
Patterns []string - Array of glob patterns to include
- Interval string
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - Keep
After boolCopy - Keep files after copying?
- Latest
Sync stringRun - The latest run of this sync
- Name string
- Name for this sync job
- Recurring
Day int - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - Recurring
Days []int - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - Schedule
Days []intOf Weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - Schedule
Id int - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - Schedule
Time stringZone - Time zone for the schedule. If not set, times are interpreted as UTC.
- Schedule
Times []stringOf Days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - Site
Id int - Site ID this sync belongs to
- Src
Path string - Absolute source path for the sync
- Src
Remote intServer Id - Remote server ID for the source (if remote)
- Src
Site intId - Source site ID if syncing from a child or partner site
- Sync
Interval intMinutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - Trigger string
- Trigger type: daily, custom_schedule, or manual
- Trigger
File string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- Two
Way bool - Is this a two-way sync?
- Updated
At string - When this sync was last updated
- User
Id int - User who created or owns this sync
- Workspace
Id int - Workspace ID this sync belongs to
- always_
write_ booltrigger_ file - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- created_
at string - When this sync was created
- delete_
empty_ boolfolders - Delete empty folders after sync?
- description string
- Description for this sync job
- dest_
path string - Absolute destination path for the sync
- dest_
remote_ numberserver_ id - Remote server ID for the destination (if remote)
- dest_
site_ numberid - Destination site ID if syncing to a child or partner site
- disabled bool
- Is this sync disabled?
- exclude_
patterns list(string) - Array of glob patterns to exclude
- holiday_
region string - Skip the sync if there is a formal, observed holiday for this region.
- include_
patterns list(string) - Array of glob patterns to include
- interval string
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - keep_
after_ boolcopy - Keep files after copying?
- latest_
sync_ stringrun - The latest run of this sync
- name string
- Name for this sync job
- recurring_
day number - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - recurring_
days list(number) - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - schedule_
days_ list(number)of_ weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - schedule_
id number - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - schedule_
time_ stringzone - Time zone for the schedule. If not set, times are interpreted as UTC.
- schedule_
times_ list(string)of_ days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - site_
id number - Site ID this sync belongs to
- src_
path string - Absolute source path for the sync
- src_
remote_ numberserver_ id - Remote server ID for the source (if remote)
- src_
site_ numberid - Source site ID if syncing from a child or partner site
- sync_
interval_ numberminutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - trigger string
- Trigger type: daily, custom_schedule, or manual
- trigger_
file string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- two_
way bool - Is this a two-way sync?
- updated_
at string - When this sync was last updated
- user_
id number - User who created or owns this sync
- workspace_
id number - Workspace ID this sync belongs to
- always
Write BooleanTrigger File - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- created
At String - When this sync was created
- delete
Empty BooleanFolders - Delete empty folders after sync?
- description String
- Description for this sync job
- dest
Path String - Absolute destination path for the sync
- dest
Remote IntegerServer Id - Remote server ID for the destination (if remote)
- dest
Site IntegerId - Destination site ID if syncing to a child or partner site
- disabled Boolean
- Is this sync disabled?
- exclude
Patterns List<String> - Array of glob patterns to exclude
- holiday
Region String - Skip the sync if there is a formal, observed holiday for this region.
- include
Patterns List<String> - Array of glob patterns to include
- interval String
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - keep
After BooleanCopy - Keep files after copying?
- latest
Sync StringRun - The latest run of this sync
- name String
- Name for this sync job
- recurring
Day Integer - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - recurring
Days List<Integer> - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - schedule
Days List<Integer>Of Weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - schedule
Id Integer - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - schedule
Time StringZone - Time zone for the schedule. If not set, times are interpreted as UTC.
- schedule
Times List<String>Of Days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - site
Id Integer - Site ID this sync belongs to
- src
Path String - Absolute source path for the sync
- src
Remote IntegerServer Id - Remote server ID for the source (if remote)
- src
Site IntegerId - Source site ID if syncing from a child or partner site
- sync
Interval IntegerMinutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - trigger String
- Trigger type: daily, custom_schedule, or manual
- trigger
File String - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- two
Way Boolean - Is this a two-way sync?
- updated
At String - When this sync was last updated
- user
Id Integer - User who created or owns this sync
- workspace
Id Integer - Workspace ID this sync belongs to
- always
Write booleanTrigger File - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- created
At string - When this sync was created
- delete
Empty booleanFolders - Delete empty folders after sync?
- description string
- Description for this sync job
- dest
Path string - Absolute destination path for the sync
- dest
Remote numberServer Id - Remote server ID for the destination (if remote)
- dest
Site numberId - Destination site ID if syncing to a child or partner site
- disabled boolean
- Is this sync disabled?
- exclude
Patterns string[] - Array of glob patterns to exclude
- holiday
Region string - Skip the sync if there is a formal, observed holiday for this region.
- include
Patterns string[] - Array of glob patterns to include
- interval string
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - keep
After booleanCopy - Keep files after copying?
- latest
Sync stringRun - The latest run of this sync
- name string
- Name for this sync job
- recurring
Day number - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - recurring
Days number[] - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - schedule
Days number[]Of Weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - schedule
Id number - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - schedule
Time stringZone - Time zone for the schedule. If not set, times are interpreted as UTC.
- schedule
Times string[]Of Days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - site
Id number - Site ID this sync belongs to
- src
Path string - Absolute source path for the sync
- src
Remote numberServer Id - Remote server ID for the source (if remote)
- src
Site numberId - Source site ID if syncing from a child or partner site
- sync
Interval numberMinutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - trigger string
- Trigger type: daily, custom_schedule, or manual
- trigger
File string - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- two
Way boolean - Is this a two-way sync?
- updated
At string - When this sync was last updated
- user
Id number - User who created or owns this sync
- workspace
Id number - Workspace ID this sync belongs to
- always_
write_ booltrigger_ file - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- created_
at str - When this sync was created
- delete_
empty_ boolfolders - Delete empty folders after sync?
- description str
- Description for this sync job
- dest_
path str - Absolute destination path for the sync
- dest_
remote_ intserver_ id - Remote server ID for the destination (if remote)
- dest_
site_ intid - Destination site ID if syncing to a child or partner site
- disabled bool
- Is this sync disabled?
- exclude_
patterns Sequence[str] - Array of glob patterns to exclude
- holiday_
region str - Skip the sync if there is a formal, observed holiday for this region.
- include_
patterns Sequence[str] - Array of glob patterns to include
- interval str
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - keep_
after_ boolcopy - Keep files after copying?
- latest_
sync_ strrun - The latest run of this sync
- name str
- Name for this sync job
- recurring_
day int - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - recurring_
days Sequence[int] - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - schedule_
days_ Sequence[int]of_ weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - schedule_
id int - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - schedule_
time_ strzone - Time zone for the schedule. If not set, times are interpreted as UTC.
- schedule_
times_ Sequence[str]of_ days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - site_
id int - Site ID this sync belongs to
- src_
path str - Absolute source path for the sync
- src_
remote_ intserver_ id - Remote server ID for the source (if remote)
- src_
site_ intid - Source site ID if syncing from a child or partner site
- sync_
interval_ intminutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - trigger str
- Trigger type: daily, custom_schedule, or manual
- trigger_
file str - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- two_
way bool - Is this a two-way sync?
- updated_
at str - When this sync was last updated
- user_
id int - User who created or owns this sync
- workspace_
id int - Workspace ID this sync belongs to
- always
Write BooleanTrigger File - If true, the trigger file will be sent at the end of a successful sync even when no files were transferred.
- created
At String - When this sync was created
- delete
Empty BooleanFolders - Delete empty folders after sync?
- description String
- Description for this sync job
- dest
Path String - Absolute destination path for the sync
- dest
Remote NumberServer Id - Remote server ID for the destination (if remote)
- dest
Site NumberId - Destination site ID if syncing to a child or partner site
- disabled Boolean
- Is this sync disabled?
- exclude
Patterns List<String> - Array of glob patterns to exclude
- holiday
Region String - Skip the sync if there is a formal, observed holiday for this region.
- include
Patterns List<String> - Array of glob patterns to include
- interval String
- If trigger is
daily, this specifies how often to run this sync. One of:day,week,weekEnd,month,monthEnd,quarter,quarterEnd,year,yearEnd - keep
After BooleanCopy - Keep files after copying?
- latest
Sync StringRun - The latest run of this sync
- name String
- Name for this sync job
- recurring
Day Number - If trigger type is
daily, this specifies a day number to run in one of the supported intervals:week,month,quarter,year. - recurring
Days List<Number> - If trigger type is
daily, this specifies one or more day numbers to run in one of the supported intervals:week,month,quarter,year. - schedule
Days List<Number>Of Weeks - If trigger is
customSchedule, Custom schedule description for when the sync should be run. 0-based days of the week. 0 is Sunday, 1 is Monday, etc. - schedule
Id Number - If trigger is
customSchedule, the reusable Schedule used instead of the sync's schedule fields. - schedule
Time StringZone - Time zone for the schedule. If not set, times are interpreted as UTC.
- schedule
Times List<String>Of Days - Times of day to run in HH:MM format. For
customSchedule, run at these times on specified days of week. Fordaily, run at these times on the scheduled interval date. - site
Id Number - Site ID this sync belongs to
- src
Path String - Absolute source path for the sync
- src
Remote NumberServer Id - Remote server ID for the source (if remote)
- src
Site NumberId - Source site ID if syncing from a child or partner site
- sync
Interval NumberMinutes - Frequency in minutes between syncs. If set, this value must be greater than or equal to the
remoteSyncIntervalvalue for the site's plan. If left blank, the plan'sremoteSyncIntervalwill be used. This setting is only used iftriggeris empty. - trigger String
- Trigger type: daily, custom_schedule, or manual
- trigger
File String - Some MFT services request an empty file (known as a trigger file) to signal the sync is complete and they can begin further processing. If triggerFile is set, a zero-byte file will be sent at the end of the sync.
- two
Way Boolean - Is this a two-way sync?
- updated
At String - When this sync was last updated
- user
Id Number - User who created or owns this sync
- workspace
Id Number - Workspace ID this sync belongs to
Import
The pulumi import command can be used, for example:
Syncs can be imported by specifying the id.
$ pulumi import filescom:index/sync:Sync example_sync 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