models_v2.vmware_target_params_for_recover_file_and_folder module

class models_v2.vmware_target_params_for_recover_file_and_folder.VmwareTargetParamsForRecoverFileAndFolder(recover_to_original_target=None, original_target_config=None, new_target_config=None, overwrite_existing=None, preserve_attributes=None, continue_on_error=None, vlan_config=None)[source]

Bases: object

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

Specifies the parameters for a VMware recovery target.

Attributes:
recover_to_original_target (bool): Specifies whether to recover to the

original target. If true, originalTargetConfig must be specified. If false, newTargetConfig must be specified.

original_target_config (OriginalTargetConfig4): Specifies the

configuration for recovering to the original target.

new_target_config (NewTargetConfig4): Specifies the configuration for

recovering to a new target.

overwrite_existing (bool): Specifies whether to overwrite the existing

files. Default is true.

preserve_attributes (bool): Specifies whether to preserve original

attributes. Default is true.

continue_on_error (bool): Specifies whether to continue recovering

other files if one of files or folders failed to recover. Default value is false.

vlan_config (VlanConfig): Specifies VLAN Params associated with the

recovered files and folders. 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.