Public/Get-RemoteSyslogModule.ps1
<#
.DESCRIPTION Wrapper for Nutanix API version 0.3. .NOTES Author: Timothy Rasiah #> function Get-RemoteSyslogModule { [CmdletBinding()] param ( $uuid ) $data = @{ "kind" = "remote_syslog_module" } if (-not $uuid) { $response = Send-Request -method "POST" -endpoint "/remote_syslog_modules/list" -data $data return $response.entities } $response = Send-Request -method "GET" -endpoint "/remote_syslog_modules/$($uuid)" return $response } |