Public/Set-MultiHypervisorVm.ps1

<#
    .DESCRIPTION
    Wrapper for Nutanix API version 0.3.
 
    .NOTES
    Author: Timothy Rasiah
#>


function Set-MultiHypervisorVm {
    [CmdletBinding()]
    param (
        $mh_vm
    )
    
    $uuid = $mh_vm.metadata.uuid
    $data = $mh_vm

    $response = Send-Request -method "PUT" -endpoint "/mh_vms/$($uuid)" -data $data
    return $response
}