Public/Set-CapacityPlanningScenario.ps1

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


function Set-CapacityPlanningScenario {
    [CmdletBinding()]
    param (
        $scenario
    )
    
    $uuid = $scenario.uuid
    $data = $scenario

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