models.mount_volumes_state module

class models.mount_volumes_state.MountVolumesState(bring_disks_online=None, mount_volume_results=None, other_error=None, target_source_id=None, username=None)[source]

Bases: object

Implementation of the ‘MountVolumesState’ model.

Specifies the states of mounting all the volumes onto a mount target for a ‘kRecoverVMs’ Restore Task.

Attributes:
bring_disks_online (bool): Optional setting that determines if the

volumes are brought online on the mount target after attaching the disks. This option is only significant for VMs.

mount_volume_results (list of MountVolumeResultDetails): Array of

Mount Volume Results. Specifies the results of mounting each specified volume.

other_error (RequestError): Specifies an error that did not occur

during the mount operation.

target_source_id (long|int): Specifies the target Protection Source Id

where the volumes will be mounted. NOTE: The source that was backed up and the mount target must be the same type, for example if the source is a VMware VM, then the mount target must also be a VMware VM. The mount target must be registered on the Cohesity Cluster.

username (string): Specifies the username to access the mount target.

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.