[][src]Struct isilon::models::SyncPolicyExtended

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

Fields

accelerated_failback: 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: 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: bool

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

changelist: bool

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

check_integrity: bool

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

cloud_deep_copy: 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: 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: String

User-assigned description of this sync policy.

disable_file_split: 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: bool

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

disable_stf: 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: bool

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

expected_dataloss: 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: 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: 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.

has_sync_state: bool

This field is false if the policy is in its initial sync state and true otherwise. Setting this field to false will reset the policy's sync state.

id: String

The system ID given to this sync policy.

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).

last_job_state: String

This is the state of the most recent job for this policy.

last_started: Option<i32>

The most recent time a job was started for this policy. Value is null if the policy has never been run.

last_success: Option<i32>

Timestamp of last known successfully completed synchronization. Value is null if the policy has never completed successfully.

log_level: String

Severity an event must reach before it is logged.

log_removed_files: bool

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

name: String

User-assigned name of this sync policy.

next_run: Option<i32>

This is the next time a job is scheduled to run for this policy in Unix epoch seconds. This field is null if the job is not scheduled.

password_set: bool

Indicates if a password is set for accessing the target cluster. Password value is not shown with GET.

priority: 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: i32

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

report_max_count: i32

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

restrict_target_network: 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: String

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

skip_lookup: bool

Skip DNS lookup of target IPs.

skip_when_source_unmodified: 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: bool

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

snapshot_sync_pattern: Stringsource_exclude_directories: 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: 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: 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: bool

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

source_snapshot_expiration: i32

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

source_snapshot_pattern: String

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

target_compare_initial_sync: bool

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

target_detect_modifications: bool

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

target_host: 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: String

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

target_snapshot_alias: 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: bool

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

target_snapshot_expiration: i32

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

target_snapshot_pattern: 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: i32

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

Trait Implementations

impl Debug for SyncPolicyExtended[src]

impl Serialize for SyncPolicyExtended[src]

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

Auto Trait Implementations

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