ReplicationEntity#
- class ReplicationEntity(primary_file_server_mount_target_ext_id=None, primary_file_server_mount_target_path=None, secondary_file_server_mount_target_ext_id=None, secondary_file_server_mount_target_path=None, exclude_dir_patterns=None, is_available_for_replication=None, *args, **kwargs)#
Bases:
object
Replication entity belonging to a replication configuration. Here, for SMART_DR and DATA_SYNC, primary represents source file server or path, and secondary represents target file server or path.
- Parameters:
primary_file_server_mount_target_ext_id – (
primary_file_server_mount_target_ext_id
) The external identifier of the mount target. Example:9c1e537d-6777-4c22-5d41-ddd0c3337aa9.primary_file_server_mount_target_path (max=4095 chars) – (
primary_file_server_mount_target_path
) Path of the nested mount target.secondary_file_server_mount_target_ext_id – (
secondary_file_server_mount_target_ext_id
) The external identifier of the mount target. Example:9c1e537d-6777-4c22-5d41-ddd0c3337aa9.secondary_file_server_mount_target_path (max=4095 chars) – (
secondary_file_server_mount_target_path
) Path of the nested mount target.exclude_dir_patterns – (
exclude_dir_patterns
) Displays a list of wildcard-based patterns to exclude files and directories from replication. Used only for DATA_SYNC. The wildcard-based patterns can contain “” which replaces all non-“/“ characters and “*” which replaces any character. Ex. /share1/subPath/is_available_for_replication – (
is_available_for_replication
) A flag indicating whether any of the mount targets of the VDI sync replication entity is unavailable for synchronization. This flag is read-only. This flag will be set to false in the following two scenarios:` - when the mount target in the replication entity is deleted from the file server - when any file server deletes the sync entity (path) from the policy. `
- property exclude_dir_patterns#
Displays a list of wildcard-based patterns to exclude files and directories from replication. Used only for DATA_SYNC. The wildcard-based patterns can contain “” which replaces all non-“/“ characters and “*” which replaces any character. Ex. /share1/subPath/
- Type:
list[
str
]
- property is_available_for_replication#
A flag indicating whether any of the mount targets of the VDI sync replication entity is unavailable for synchronization. This flag is read-only. This flag will be set to false in the following two scenarios:
` - when the mount target in the replication entity is deleted from the file server - when any file server deletes the sync entity (path) from the policy. `
- Type:
bool
- property primary_file_server_mount_target_ext_id#
The external identifier of the mount target. Example:9c1e537d-6777-4c22-5d41-ddd0c3337aa9.
- Type:
str
- property primary_file_server_mount_target_path#
Path of the nested mount target.
- Type:
str
- property secondary_file_server_mount_target_ext_id#
The external identifier of the mount target. Example:9c1e537d-6777-4c22-5d41-ddd0c3337aa9.
- Type:
str
- property secondary_file_server_mount_target_path#
Path of the nested mount target.
- Type:
str
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model