[][src]Struct isilon::models::SyncPolicy

pub struct SyncPolicy {
    pub accelerated_failback: Option<bool>,
    pub action: Option<String>,
    pub burst_mode: Option<bool>,
    pub changelist: Option<bool>,
    pub check_integrity: Option<bool>,
    pub cloud_deep_copy: Option<String>,
    pub conflicted: Option<bool>,
    pub description: Option<String>,
    pub disable_file_split: Option<bool>,
    pub disable_fofb: Option<bool>,
    pub disable_stf: Option<bool>,
    pub enabled: Option<bool>,
    pub expected_dataloss: Option<bool>,
    pub file_matching_pattern: Option<SyncJobPolicyFileMatchingPattern>,
    pub force_interface: Option<bool>,
    pub job_delay: Option<i32>,
    pub log_level: Option<String>,
    pub log_removed_files: Option<bool>,
    pub name: Option<String>,
    pub password: Option<String>,
    pub priority: Option<i32>,
    pub report_max_age: Option<i32>,
    pub report_max_count: Option<i32>,
    pub restrict_target_network: Option<bool>,
    pub rpo_alert: Option<i32>,
    pub schedule: Option<String>,
    pub skip_lookup: Option<bool>,
    pub skip_when_source_unmodified: Option<bool>,
    pub snapshot_sync_existing: Option<bool>,
    pub snapshot_sync_pattern: Option<String>,
    pub source_exclude_directories: Option<Vec<String>>,
    pub source_include_directories: Option<Vec<String>>,
    pub source_network: Option<SyncPolicySourceNetwork>,
    pub source_root_path: Option<String>,
    pub source_snapshot_archive: Option<bool>,
    pub source_snapshot_expiration: Option<i32>,
    pub source_snapshot_pattern: Option<String>,
    pub target_compare_initial_sync: Option<bool>,
    pub target_detect_modifications: Option<bool>,
    pub target_host: Option<String>,
    pub target_path: Option<String>,
    pub target_snapshot_alias: Option<String>,
    pub target_snapshot_archive: Option<bool>,
    pub target_snapshot_expiration: Option<i32>,
    pub target_snapshot_pattern: Option<String>,
    pub workers_per_node: Option<i32>,
}

Fields

accelerated_failback: Option<bool>

If set to true, SyncIQ will perform failback configuration tasks during the next job run, rather than waiting to perform those tasks during the failback process. Performing these tasks ahead of time will increase the speed of failback operations.

action: Option<String>

If 'copy', source files will be copied to the target cluster. If 'sync', the target directory will be made an image of the source directory: Files and directories that have been deleted on the source, have been moved within the target directory, or no longer match the selection criteria will be deleted from the target directory.

burst_mode: Option<bool>

NOTE: This field should not be changed without the help of Isilon support. Enable/disable UDP-based data transfer.

changelist: Option<bool>

If true, retain previous source snapshot and incremental repstate, both of which are required for changelist creation.

check_integrity: Option<bool>

If true, the sync target performs cyclic redundancy checks (CRC) on the data as it is received.

cloud_deep_copy: Option<String>

If set to deny, replicates all CloudPools smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, the job will fail. If set to force, replicates all smartlinks to the target cluster as regular files. If set to allow, SyncIQ will attempt to replicate smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, SyncIQ will replicate the smartlinks as regular files.

conflicted: Option<bool>

NOTE: This field should not be changed without the help of Isilon support. If true, the most recent run of this policy encountered an error and this policy will not start any more scheduled jobs until this field is manually set back to 'false'.

description: Option<String>

User-assigned description of this sync policy.

disable_file_split: Option<bool>

NOTE: This field should not be changed without the help of Isilon support. If true, the 7.2+ file splitting capability will be disabled.

disable_fofb: Option<bool>

NOTE: This field should not be changed without the help of Isilon support. Enable/disable sync failover/failback.

disable_stf: Option<bool>

NOTE: This field should not be changed without the help of Isilon support. Enable/disable the 6.5+ STF based data transfer and uses only treewalk.

enabled: Option<bool>

If true, jobs will be automatically run based on this policy, according to its schedule.

expected_dataloss: Option<bool>

NOTE: This field should not be changed without the help of Isilon support. Continue sending files even with the corrupted filesystem.

file_matching_pattern: Option<SyncJobPolicyFileMatchingPattern>

A file matching pattern, organized as an OR'ed set of AND'ed file criteria, for example ((a AND b) OR (x AND y)) used to define a set of files with specific properties. Policies of type 'sync' cannot use 'path' or time criteria in their matching patterns, but policies of type 'copy' can use all listed criteria.

force_interface: Option<bool>

NOTE: This field should not be changed without the help of Isilon support. Determines whether data is sent only through the subnet and pool specified in the "source_network" field. This option can be useful if there are multiple interfaces for the given source subnet. If you enable this option, the net.inet.ip.choose_ifa_by_ipsrc sysctl should be set.

job_delay: Option<i32>

If --schedule is set to When-Source-Modified, the duration to wait after a modification is made before starting a job (default is 0 seconds).

log_level: Option<String>

Severity an event must reach before it is logged.

log_removed_files: Option<bool>

If true, the system will log any files or directories that are deleted due to a sync.

name: Option<String>

User-assigned name of this sync policy.

password: Option<String>

The password for the target cluster. This field is not readable.

priority: Option<i32>

Determines the priority level of a policy. Policies with higher priority will have precedence to run over lower priority policies. Valid range is [0, 1]. Default is 0.

report_max_age: Option<i32>

Length of time (in seconds) a policy report will be stored.

report_max_count: Option<i32>

Maximum number of policy reports that will be stored on the system.

restrict_target_network: Option<bool>

If you specify true, and you specify a SmartConnect zone in the "target_host" field, replication policies will connect only to nodes in the specified SmartConnect zone. If you specify false, replication policies are not restricted to specific nodes on the target cluster.

rpo_alert: Option<i32>

If --schedule is set to a time/date, an alert is created if the specified RPO for this policy is exceeded. The default value is 0, which will not generate RPO alerts.

schedule: Option<String>

The schedule on which new jobs will be run for this policy.

skip_lookup: Option<bool>

Skip DNS lookup of target IPs.

skip_when_source_unmodified: Option<bool>

If true and --schedule is set to a time/date, the policy will not run if no changes have been made to the contents of the source directory since the last job successfully completed.

snapshot_sync_existing: Option<bool>

If true, snapshot-triggered syncs will include snapshots taken before policy creation time (requires --schedule when-snapshot-taken).

snapshot_sync_pattern: Option<String>source_exclude_directories: Option<Vec<String>>

Directories that will be excluded from the sync. Modifying this field will result in a full synchronization of all data.

source_include_directories: Option<Vec<String>>

Directories that will be included in the sync. Modifying this field will result in a full synchronization of all data.

source_network: Option<SyncPolicySourceNetwork>

Restricts replication policies on the local cluster to running on the specified subnet and pool.

source_root_path: Option<String>

The root directory on the source cluster the files will be synced from. Modifying this field will result in a full synchronization of all data.

source_snapshot_archive: Option<bool>

If true, archival snapshots of the source data will be taken on the source cluster before a sync.

source_snapshot_expiration: Option<i32>

The length of time in seconds to keep snapshots on the source cluster.

source_snapshot_pattern: Option<String>

The name pattern for snapshots taken on the source cluster before a sync.

target_compare_initial_sync: Option<bool>

If true, the target creates diffs against the original sync.

target_detect_modifications: Option<bool>

If true, target cluster will detect if files have been changed on the target by legacy tree walk syncs.

target_host: Option<String>

Hostname or IP address of sync target cluster. Modifying the target cluster host can result in the policy being unrunnable if the new target does not match the current target association.

target_path: Option<String>

Absolute filesystem path on the target cluster for the sync destination.

target_snapshot_alias: Option<String>

The alias of the snapshot taken on the target cluster after the sync completes. A value of @DEFAULT will reset this field to the default creation value.

target_snapshot_archive: Option<bool>

If true, archival snapshots of the target data will be taken on the target cluster after successful sync completions.

target_snapshot_expiration: Option<i32>

The length of time in seconds to keep snapshots on the target cluster.

target_snapshot_pattern: Option<String>

The name pattern for snapshots taken on the target cluster after the sync completes. A value of @DEFAULT will reset this field to the default creation value.

workers_per_node: Option<i32>

The number of worker threads on a node performing a sync.

Trait Implementations

impl Debug for SyncPolicy[src]

impl Serialize for SyncPolicy[src]

impl<'de> Deserialize<'de> for SyncPolicy[src]

Auto Trait Implementations

impl Send for SyncPolicy

impl Sync for SyncPolicy

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T