Public/Set-RemoteSyslogServer.ps1
<#
.DESCRIPTION Wrapper for Nutanix API version 0.3. .NOTES Author: Timothy Rasiah #> function Set-RemoteSyslogServer { [CmdletBinding()] param ( $remote_syslog_server ) $uuid = $remote_syslog_server.metadata.uuid $data = $remote_syslog_server $response = Send-Request -method "PUT" -endpoint "/remote_syslog_servers/$($uuid)" -data $data return $response } |