Public/Set-ReportConfig.ps1

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


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

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