models.file_uptiering_params module

class models.file_uptiering_params.FileUptieringParams(enable_audit_logging=None, file_select_policy=None, file_size=None, file_size_policy=None, hot_file_window=None, nfs_mount_path=None, num_file_access=None, source_view_map=None, source_view_name=None, uptier_all_files=None)[source]

Bases: object

Implementation of the ‘FileUptieringParams’ model.

File Uptiering Parameters for NAS migration.

Attributes:
enable_audit_logging (bool): If enabled, audit log the files which are

uptiered.

file_select_policy (int): File uptier policy based on file

access/modify time.

file_size (int): Gives the size criteria to be used for selecting the

files to be uptiered. The hot files, which are greater or smaller than file_size, are uptiered.

file_size_policy (int): File size policy for selecting files to

uptier.

hot_file_window (int): Identifies the hot files in the view. Files

which are accessed num_file_access times in hot_file_window msecs, are uptiered. It is only applicable when file_select_policy is kLastAccessed and num_file_access is greater than 1.

nfs_mount_path (string): Mount path where the Cohesity target view is

mounted on NFS clients while migrating the data.

num_file_access (int): Number of times file must be accessed within

hot_file_window in order to qualify for uptiering. Applicable only when file_select_policy is kLastAccessed.

source_view_map (list of FileUptieringParams_SourceViewMapEntry): The

object’s entity id to SourceViewData map from which the data will be uptieried.

source_view_name (string): The source view name from which the data will

be uptiered.

uptier_all_files (bool): If set, all files in the view will be

uptiered regardless of file_select_policy, num_file_access, hot_file_window, file_size constraints.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.