code: public ResourceHealthMetadataInner getBySite(String resourceGroupName, String name) {
          return getBySiteWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().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
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws DefaultErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the ResourceHealthMetadataInner object if successful.