models_v2.generic_nas_target_params module

class models_v2.generic_nas_target_params.GenericNasTargetParams(volume=None, parent_source=None, overwrite_existing_file=None, preserve_file_attributes=None, continue_on_error=None, encryption_enabled=None, vlan_config=None)[source]

Bases: object

Implementation of the ‘GenericNasTargetParams’ model.

Specifies the params for a generic NAS recovery target.

Attributes:
volume (Volume1): Specifies the id and name of the parent volume to

recover to. This volume will be the target of the recovery.

parent_source (ParentSource): Specifies the id of the parent source of

the recovery target.

overwrite_existing_file (bool): Specifies whether to overwrite

existing file/folder during recovery.

preserve_file_attributes (bool): Specifies whether to preserve

file/folder attributes during recovery.

continue_on_error (bool): Specifies whether to continue recovering

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

encryption_enabled (bool): Specifies whether encryption should be

enabled during recovery.

vlan_config (RecoveryVLANConfig): Specifies the VLAN configuration 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.