/
target_policy.go
44 lines (32 loc) · 1.6 KB
/
target_policy.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* Isilon SDK
*
* Isilon SDK - Language bindings for the OneFS API
*
* API version: 5
* Contact: sdk@isilon.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package isi_sdk_8_1_0
type TargetPolicy struct {
// The condition of this policy with respect to sync failover/failback.
FailoverFailbackState string `json:"failover_failback_state"`
// The system ID given to this sync policy.
Id string `json:"id"`
// The state of the last job run for this policy.
LastJobState string `json:"last_job_state"`
// The IP address from which a SyncIQ coordinator daemon most recently connected to this cluster to update it about the progress of a job for this policy.
LastSourceCoordinatorIp string `json:"last_source_coordinator_ip"`
// The last time this cluster was updated with sync information from the source cluster for this policy, in unix epoch seconds. Null if no such update has occurred yet.
LastUpdateFromSource int32 `json:"last_update_from_source,omitempty"`
// Was this policy defined by a OneFS version earlier than 6.0? (Pre-6.0 policies did not have the target policy concept and canceling from the target side will not be available.)
LegacyPolicy bool `json:"legacy_policy"`
// User-assigned name of this sync policy.
Name string `json:"name"`
// Unique identifier for the source cluster.
SourceClusterGuid string `json:"source_cluster_guid"`
// Hostname or IP address of sync source cluster.
SourceHost string `json:"source_host"`
// Absolute filesystem path on the target cluster for the sync destination.
TargetPath string `json:"target_path"`
}