Show / Hide Table of Contents

Class SyncJob

Details associated with sync job runs.

Inheritance
object
SyncJob
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LustrefilestorageService.Models
Assembly: OCI.DotNetSDK.Lustrefilestorage.dll
Syntax
public class SyncJob

Properties

BytesTransferred

Declaration
[Required(ErrorMessage = "BytesTransferred is required.")]
[JsonProperty(PropertyName = "bytesTransferred")]
public long? BytesTransferred { get; set; }
Property Value
Type Description
long?

Bytes transferred during the sync. This value changes while the sync is still in progress.

Remarks

Required

DefinedTags

Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

Remarks

Required

FreeformTags

Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the sync job.

Remarks

Required

IsOverwrite

Declaration
[Required(ErrorMessage = "IsOverwrite is required.")]
[JsonProperty(PropertyName = "isOverwrite")]
public bool? IsOverwrite { get; set; }
Property Value
Type Description
bool?

The flag is an identifier to tell whether this specific job run has overwrite enabled. If isOverwrite is false, the file to be imported or exported will be skipped if it already exists. If isOverwrite is true, the file to be imported or exported will be overwritten if it already exists.

Remarks

Required

JobType

Declaration
[Required(ErrorMessage = "JobType is required.")]
[JsonProperty(PropertyName = "jobType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SyncJob.JobTypeEnum? JobType { get; set; }
Property Value
Type Description
SyncJob.JobTypeEnum?

The type of the sync job.

Remarks

Required

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type Description
string

A message that describes the current state of the sync job in more detail. For example, can be used to provide actionable information for a resource in the Failed state.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SyncJob.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
SyncJob.LifecycleStateEnum?

The current state of the sync job.

Remarks

Required

LustreFileSystemPath

Declaration
[Required(ErrorMessage = "LustreFileSystemPath is required.")]
[JsonProperty(PropertyName = "lustreFileSystemPath")]
public string LustreFileSystemPath { get; set; }
Property Value
Type Description
string

The path in the Lustre file system used for this Object Storage link.
Example: myFileSystem/mount/myDirectory

Remarks

Required

ObjectStoragePath

Declaration
[Required(ErrorMessage = "ObjectStoragePath is required.")]
[JsonProperty(PropertyName = "objectStoragePath")]
public string ObjectStoragePath { get; set; }
Property Value
Type Description
string

The Object Storage namespace and bucket name, including optional object prefix string, to use as the source for imports or destination for exports.
Example: objectStorageNamespace:/bucketName/optionalFolder/optionalPrefix

Remarks

Required

ObjectsTransferred

Declaration
[Required(ErrorMessage = "ObjectsTransferred is required.")]
[JsonProperty(PropertyName = "objectsTransferred")]
public long? ObjectsTransferred { get; set; }
Property Value
Type Description
long?

Count of total files that transferred successfully.

Remarks

Required

ParentId

Declaration
[JsonProperty(PropertyName = "parentId")]
public string ParentId { get; set; }
Property Value
Type Description
string

The OCID of the Object Storage link.

SkippedErrorCount

Declaration
[Required(ErrorMessage = "SkippedErrorCount is required.")]
[JsonProperty(PropertyName = "skippedErrorCount")]
public long? SkippedErrorCount { get; set; }
Property Value
Type Description
long?

Count of files or objects that failed to export or import due to errors.

Remarks

Required

SystemTags

Declaration
[Required(ErrorMessage = "SystemTags is required.")]
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}

Remarks

Required

TimeFinished

Declaration
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type Description
DateTime?

The date and time the job finished, expressed in RFC 3339 timestamp format.
Example: 2020-07-25T21:10:29.600Z

TimeStarted

Declaration
[Required(ErrorMessage = "TimeStarted is required.")]
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type Description
DateTime?

The date and time the job was started, expressed in RFC 3339 timestamp format.
Example: 2020-07-25T21:10:29.600Z

Remarks

Required

TotalObjectsScanned

Declaration
[Required(ErrorMessage = "TotalObjectsScanned is required.")]
[JsonProperty(PropertyName = "totalObjectsScanned")]
public long? TotalObjectsScanned { get; set; }
Property Value
Type Description
long?

Total object count for scanned files for import or export as part of this sync job.

Remarks

Required

In this article
Back to top