Public/Set-CommonReportConfig.ps1

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


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

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