code: public RecommendationRuleInner getRuleDetailsByWebApp(String resourceGroupName, String siteName, String name) {
          return getRuleDetailsByWebAppWithServiceResponseAsync(resourceGroupName, siteName, name).toBlocking().single().body();
      }
docs: Get a recommendation rule for an app.
  Get a recommendation rule for an app.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param siteName Name of the app.
  @param name Name of the recommendation.
  @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 RecommendationRuleInner object if successful.