models_v2.common_tiering_policy module

class models_v2.common_tiering_policy.CommonTieringPolicy(enable_audit_logging=False, file_size=None, file_path=None)[source]

Bases: object

Implementation of the ‘CommonTieringPolicy’ model.

Specifies the common tiering params between uptiering and downtiering.

Attributes:
enable_audit_logging (bool): Specifies whether to audit log the file

tiering activity.

file_size (FileSizePolicy): Specifies the file’s selection rule by

file size eg. 1. select files greather than 10 Bytes. 2. select files less than 20 TiB. 3. select files greather than 5 MiB. type: object

file_path (FileFilteringPolicy): Specifies a set of filters for a file

based Protection Group. These values are strings which can represent a prefix or suffix. Example: ‘/tmp’ or ‘*.mp4’. For file based Protection Groups, all files under prefixes specified by the ‘includeFilters’ list will be protected unless they are explicitly excluded by the ‘excludeFilters’ list.

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.