models_v2.vmware_target_params_1 module¶
-
class
models_v2.vmware_target_params_1.
VmwareTargetParams1
(original_source_config=None, target_source_config=None, vlan_config=None, power_off_vms=None, power_on_vms=None, continue_on_error=None)[source]¶ Bases:
object
Implementation of the ‘VmwareTargetParams1’ model.
Specifies the params for recovering to a VMware target.
- Attributes:
- original_source_config (VmwareRecoverDisksOriginalSourceConfig):
Specifies the configuration for restoring a disk to the original VM from which the snapshot was taken.
- target_source_config (VmwareRecoverDisksTargetSourceConfig): Specifies
the configuration for restoring disks to a different VM than the one from which the snapshot was taken.
- 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.
- power_off_vms (bool): Specifies whether or not to power off VMs before
performing the recovery.
- power_on_vms (bool): Specifies whether or not to power on VMs after
performing the recovery.
- continue_on_error (bool): Specifies whether or not to continue
performing the recovery in the event that an error is encountered.
-
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.