isilon/models/
sync_job_create_params.rs

1#[allow(unused_imports)]
2use serde_json::Value;
3
4#[derive(Debug, Serialize, Deserialize)]
5pub struct SyncJobCreateParams {
6    /// The action to be taken by this job.
7    #[serde(rename = "action")]
8    pub action: Option<String>,
9    /// The ID or Name of the policy
10    #[serde(rename = "id")]
11    pub id: String,
12    /// Only valid for allow_write, and allow_write_revert; specify the desired logging level, will be stored in the logs for isi_migrate, defaults to 'info'.
13    #[serde(rename = "log_level")]
14    pub log_level: Option<String>,
15    /// An optional snapshot to copy/sync from.
16    #[serde(rename = "source_snapshot")]
17    pub source_snapshot: Option<String>,
18    /// Only valid for allow_write, and allow_write_revert; specify the desired workers per node, defaults to 3.
19    #[serde(rename = "workers_per_node")]
20    pub workers_per_node: Option<i32>,
21}