models_v2.physical_target_params_for_recover_file_and_folder module

class models_v2.physical_target_params_for_recover_file_and_folder.PhysicalTargetParamsForRecoverFileAndFolder(recover_target=None, restore_to_original_paths=None, overwrite_existing=None, alternate_restore_directory=None, preserve_attributes=None, preserve_timestamps=None, preserve_acls=None, continue_on_error=None, vlan_config=None)[source]

Bases: object

Implementation of the ‘Physical Target Params for Recover File And Folder’ model.

Specifies the parameters for a Physical recovery target.

Attributes:
recover_target (RecoverTarget): Specifies the target entity where the

volumes are being mounted.

restore_to_original_paths (bool): If this is true, then files will be

restored to original paths.

overwrite_existing (bool): Specifies whether to overwrite existing

file/folder during recovery.

alternate_restore_directory (string): Specifies the directory path

where restore should happen if restore_to_original_paths is set to false.

preserve_attributes (bool): Specifies whether to preserve file/folder

attributes during recovery.

preserve_timestamps (bool): Whether to preserve the original time

stamps.

preserve_acls (bool): Whether to preserve the ACLs of the original

file.

continue_on_error (bool): Specifies whether to continue recovering

other volumes if one of the volumes fails to recover. Default value is false.

vlan_config (VlanConfig1): Specifies VLAN Params associated with the

recovered. If this is not specified, then the VLAN settings will be automatically selected from one of the below options: a. If VLANs are configured on Cohesity, then the VLAN host/VIP will be automatically based on the client’s (e.g. ESXI host) IP address. b. If VLANs are not configured on Cohesity, then the partition hostname or VIPs will be used for Recovery.

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.