rubrik_polaris.gps.vm

Collection of methods for live mount of a virtual machine.

Functions

create_vm_livemount(self, snapshot_fid[, …])

Perform a live mount of a virtual machine snapshot.

create_vm_livemount_v2(self, snappable_id, …)

Perform a live mount of a virtual machine snapshot.

create_vm_snapshot(self, snapshot_id[, sla_id])

Create snapshot of a system.

export_vm_snapshot(self, config, id_)

Export a snapshot of a virtual machine.

get_async_request_result(self, request_id, …)

Retrieves the result of an asynchronous request.

list_vsphere_datastores(self, host_id[, …])

Retrieves a list of datastores on a Vsphere host.

list_vsphere_hosts(self, first[, after, …])

Retrieves a list of available Vsphere hosts.

recover_vsphere_vm_files(self, snapshot_id, …)

Recover files from a snapshot back into a Vsphere VM. :param snapshot_id: ID of the snapshot from which to recover files. :param cluster_id: ID of the cluster where the snapshot resides. :param restore_config: List or dict of type RestorePathPairInput. :param destination_object_id: ID of the object where the files will be restored into. If not provided, Rubrik will use the snapshots object. :param should_use_agent: Whether to use an agent. :param should_restore_x_attrs: Whether to preserve custom attributes of the machine. :param ignore_errors: Whether to ignore errors.