Public/Set-AddressGroup.ps1

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


function Set-AddressGroup {
    [CmdletBinding()]
    param (
        $address_group
    )
    
    $uuid = $address_group.uuid
    $data = $address_group.address_group

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