> @@ -157,6 +158,22 @@
> @Nullable
> Operation removeHealthCheck(@PathParam("targetPool") String targetPool,
> @PayloadParam("healthChecks") List<URI> healthChecks);
>
> + /**
> + * Gets the HealthStatus of an instance in a targetPool.
> + *
> + * @param targetPool the name of the target pool.
> + * @param healthChecks the self-links of the health checks to be removed
> from the targetPool.
> + *
> + * @return an Operation resource. To check on the status of an operation,
> poll the Operations resource returned to
> + * you, and look for the status field.
> + */
> + @Named("TargetPools:getHealth")
> + @POST
> + @Path("/{targetPool}/getHealth")
> + @Nullable
Usually, 404 exceptions are propagated as a `ResourceNotFoundException` unless
a fallback is configured to transform that into a `null` return value. Can this
method really return null?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/108/files#r21492545