> + @Path("/health_monitors/{id}")
> + @Fallback(FalseOnNotFoundOr404.class)
> + boolean deleteHealthMonitor(@PathParam("id") String id);
> +
> + /**
> + * Associate a HealthMonitor to a Pool.
> + *
> + * @param poolId the id of the Pool to associate.
> + * @param healthMonitor the HealthMonitor to associate.
> + * @return the newly associated HealthMonitor.
> + */
> + @Named("pool:associate_health_monitor")
> + @POST
> + @Path("/pools/{pool-id}/health_monitors")
> + @SelectJson("health_monitor")
> + HealthMonitor associateHealthMonitor(@PathParam("pool-id") String poolId,
I have not looked at the extension docs much, but isn't it enough to send a
health monitor id instead of a AssociateHealthMonitor JSON object? Similar to
addInterfaceForSubnet and addInterfaceForPort in the Router extension?
https://wiki.openstack.org/wiki/Neutron/LBaaS/API_1.0#Associate_Health_Monitors_with_a_Pool
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/146/files#r17860140