vcenter_refresh_vm
Refresh a single vSphere VM metadata.
def vcenter_refresh_vm(vm_name, timeout=15)
Arguments
Name
Type
Description
Choices
vm_name
str
The name of the vSphere VM.
Keyword Arguments
Name
Type
Description
Choices
Default
timeout
int
The number of seconds to wait to establish a connection with the Rubrik cluster before returning a timeout error.
15
Returns
Type
Return Value
No content.
Example
import rubrik_cdm
rubrik = rubrik_cdm.Connect()
vm_name = "python-sdk-demo"
rubrik.vcenter_refresh_vm(vm_name)
Last updated