models.one_drive_env_job_parameters module¶
-
class
models.one_drive_env_job_parameters.
OneDriveEnvJobParameters
(file_path_filter=None, should_backup_onedrive=None)[source]¶ Bases:
object
Implementation of the ‘OneDriveEnvJobParameters’ model.
Specifies OneDrive job parameters applicable for all Office365 Environment type Protection Sources in a Protection Job.
- Attributes:
- file_path_filter (FilePathFilter): Specifies filters to match files
and directories on a Server. Two kinds of filters are supported. a) prefix which always starts with ‘/’. b) posix which always starts with ‘*’ (cannot be “*” only). Regular expressions are not supported. If a directory is matched, the action is applicable to all of its descendants. File paths not matching any protectFilters are not backed up. An example is: Protect Filters: “/” Exclude Filters: “/tmp”, “*.mp4” Using such a policy will include everything under the root directory except the /tmp directory and all the mp4 files.
- should_backup_onedrive (bool): Specifies whether OneDrive(s) of each
Office365 Users/Groups within the job, should be backed up or not.
-
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.