models_v2.hyperv_mount_volumes_new_target_config module¶
-
class
models_v2.hyperv_mount_volumes_new_target_config.
HypervMountVolumesNewTargetConfig
(mount_target=None, bring_disks_online=None, target_vm_credentials=None)[source]¶ Bases:
object
Implementation of the ‘HyperV Mount Volumes New Target Config.’ model.
Specifies the configuration for mounting volumes to a new target.
- Attributes:
- mount_target (RecoverTarget): Specifies the target entity to recover
to.
- bring_disks_online (bool): Specifies whether the volumes need to be
online within the target environment after attaching the disks. For linux VMs, this should always be set to false because bring disks online is only supported for Windows VM. If this is set to true, HyperV Integration Services must be installed on the VM.
- target_vm_credentials (TargetVmCredentials10): Specifies credentials
to access the target VM.
-
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.