get_vsphere_live_mount
Retrieve summary information about Live Mount activity for a VM
def get_vsphere_live_mount(vm_name, timeout=15)
Arguments
Name
Type
Description
Choices
vm_name
str
The name of the mounted vSphere VM.
Keyword Arguments
Name
Type
Description
Choices
Default
timeout
int
The number of seconds to wait to establish a connection the Rubrik cluster before returning a timeout error.
15
Returns
Type
Return Value
dict
The full response of GET /v1/vmware/vm/snapshot/mount?vm_id={}
.
Example
import rubrik_cdm
rubrik = rubrik_cdm.Connect()
vm_name = "python-sdk-demo"
live_mount = rubrik.get_vsphere_live_mount(vm_name)
Last updated