models_v2.acropolis_target_params_2 module

class models_v2.acropolis_target_params_2.AcropolisTargetParams2(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 ‘AcropolisTargetParams2’ model.

Specifies the params for recovering to an Acropolis 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 (OriginalTargetConfig): Specifies the

configuration for recovering to the original target.

new_target_config (NewTargetConfig): 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

file/folder attributes. Default is true.

continue_on_error (bool): Specifies whether to continue recovering

other files if one of the objects encounters an error. Default 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.