ReplicationJob#

class ReplicationJob(policy_ext_id=None, source_file_server_ext_id=None, target_file_server_ext_id=None, source_mount_target_ext_id=None, target_mount_target_ext_id=None, source_mount_target_path=None, target_mount_target_path=None, status_message=None, progress_percentage=None, replication_summary=None, status=None, start_time=None, end_time=None, number_of_estimated_files=None, estimated_bytes=None, number_of_files_transferred=None, bytes_transferred=None, number_of_files_failed=None, average_throughput_bps=None, is_delete_propagation_enabled=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Replication job details.

Parameters:
  • policy_ext_id – (policy_ext_id) External identifier of the policy.

  • source_file_server_ext_id – (source_file_server_ext_id) The external identifier of the primary file server for the replication.

  • target_file_server_ext_id – (target_file_server_ext_id) The external identifier of the secondary file server for the replication.

  • source_mount_target_ext_id – (source_mount_target_ext_id) The external identifier of the source mount target. Example:9c1e537d-6777-4c22-5d41-ddd0c3337aa9.

  • target_mount_target_ext_id – (target_mount_target_ext_id) The external identifier of the target mount target. Example:9c1e537d-6777-4c22-5d41-ddd0c3337aa9.

  • source_mount_target_path – (source_mount_target_path) User provided source path for the replication job.

  • target_mount_target_path – (target_mount_target_path) User provided target path for the replication job.

  • status_message – (status_message) Status Message for the replication job. If the job failed or completed with errors, this field provides the reason for the failure. If the job succeeded, this field provides the success message - Replication is complete.

  • progress_percentage – (progress_percentage) Progress (%) of the replication job.

  • replication_summary – (replication_summary)

  • status – (status)

  • start_time – (start_time) Start time for the replication job in ISO format.

  • end_time – (end_time) End time for the replication job in ISO format.

  • number_of_estimated_files – (number_of_estimated_files) Number of Estimated files for the replication job.

  • estimated_bytes – (estimated_bytes) Estimated bytes for the replication job.

  • number_of_files_transferred – (number_of_files_transferred) Number of Actual Files transferred for the replication job.

  • bytes_transferred – (bytes_transferred) Actual bytes transferred for the replication job.

  • number_of_files_failed – (number_of_files_failed) Number of Files failed for the replication job.

  • average_throughput_bps – (average_throughput_bps) Average throughput for the replication job in Bytes per second.

  • is_delete_propagation_enabled – (is_delete_propagation_enabled) Delete propagation set/unset the replication job. If delete propagation is enabled, the deletes on source will be propagated to target

property average_throughput_bps#

Average throughput for the replication job in Bytes per second.

Type:

int

property bytes_transferred#

Actual bytes transferred for the replication job.

Type:

int

property end_time#

End time for the replication job in ISO format.

Type:

datetime

property estimated_bytes#

Estimated bytes for the replication job.

Type:

int

property is_delete_propagation_enabled#

Delete propagation set/unset the replication job. If delete propagation is enabled, the deletes on source will be propagated to target

Type:

bool

property number_of_estimated_files#

Number of Estimated files for the replication job.

Type:

int

property number_of_files_failed#

Number of Files failed for the replication job.

Type:

int

property number_of_files_transferred#

Number of Actual Files transferred for the replication job.

Type:

int

property policy_ext_id#

External identifier of the policy.

Type:

str

property progress_percentage#

Progress (%) of the replication job.

Type:

int

property replication_summary#
Type:

ReplicationSummary

property source_file_server_ext_id#

The external identifier of the primary file server for the replication.

Type:

str

property source_mount_target_ext_id#

The external identifier of the source mount target. Example:9c1e537d-6777-4c22-5d41-ddd0c3337aa9.

Type:

str

property source_mount_target_path#

User provided source path for the replication job.

Type:

str

property start_time#

Start time for the replication job in ISO format.

Type:

datetime

property status#
Type:

JobStatus

property status_message#

Status Message for the replication job. If the job failed or completed with errors, this field provides the reason for the failure. If the job succeeded, this field provides the success message - Replication is complete.

Type:

str

property target_file_server_ext_id#

The external identifier of the secondary file server for the replication.

Type:

str

property target_mount_target_ext_id#

The external identifier of the target mount target. Example:9c1e537d-6777-4c22-5d41-ddd0c3337aa9.

Type:

str

property target_mount_target_path#

User provided target path for the replication job.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model