code: public Observable<ResourceHealthMetadataInner> getBySiteSlotAsync(String resourceGroupName, String name, String slot) {
          return getBySiteSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1<ServiceResponse<ResourceHealthMetadataInner>, ResourceHealthMetadataInner>() {
              @Override
              public ResourceHealthMetadataInner call(ServiceResponse<ResourceHealthMetadataInner> response) {
                  return response.body();
              }
          });
      }
docs: Gets the category of ResourceHealthMetadata to use for the given site.
  Gets the category of ResourceHealthMetadata to use for the given site.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Name of web app
  @param slot Name of web app slot. If not specified then will default to production slot.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ResourceHealthMetadataInner object