Public/Limits/Get-R1BackendLimit.ps1
|
# .ExternalHelp psRadiantOne-help.xml function Get-R1BackendLimit { [CmdletBinding()] [OutputType('psRadiantOne.BackendLimits')] param( ) Begin { Assert-R1Session -RequireToken }#begin Process { $URI = Resolve-R1ServiceUrl -Service Settings -Path 'limits/backends' $Result = Invoke-R1RestMethod -Uri $URI -Method GET if ($null -ne $Result) { $Result | Add-CustomType -Type psRadiantOne.BackendLimits } }#process End { }#end } |