get_vsphere_live_mount_names

Retrieve existing Live Mount VM name(s) for a vSphere VM.

def get_vsphere_live_mount_names(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

list

A list of the Live Mounted VM names.

Example

import rubrik_cdm

rubrik = rubrik_cdm.Connect()

vm_name = "python-sdk-demo"

live_mount = rubrik.get_vsphere_live_mount_names(vm_name)

Last updated