get_vsphere_live_mount

Get existing Live Mounts for a vSphere VM.

def get_vsphere_live_mount(self, 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={vm_id}.

Example

import rubrik_cdm

vm_name = "python-sdk-demo"

rubrik = rubrik_cdm.Connect()

live_mount = rubrik.get_vsphere_live_mount(vm_name)

Last updated