models_v2.physical_target_params module

class models_v2.physical_target_params.PhysicalTargetParams(mount_target=None, volume_mapping=None, force_unmount_volume=None, vlan_config=None)[source]

Bases: object

Implementation of the ‘PhysicalTargetParams’ model.

Specifies the params for recovering to a physical target.

Attributes:
mount_target (MountTarget): Specifies the target entity where the

volumes are being mounted.

volume_mapping (list of RecoverVolumeMapping): Specifies the mapping

from source volumes to destination volumes.

force_unmount_volume (bool): Specifies whether volume would be

dismounted first during LockVolume failure. If not specified, default 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.