joel74 / POSH-LTM-Rest

PowerShell module and scripts for working with F5's LTM REST API
MIT License
78 stars 49 forks source link

Removing a custom health monitor produces 404 errors when the type is not specified #172

Open joel74 opened 6 years ago

joel74 commented 6 years ago

I added a custom health monitor. When I removed it using Remove-HealthMonitor - specifying the name but not the type, a bunch of 404s were thrown. It looked like it was searching through all the different kinds of monitors.

I found that if I specify the type along with the name, I get no 404s. One option is to not return 404s. Another option would be to require a value for the type param.