code: public Observable<List<HostingEnvironmentDiagnosticsInner>> listDiagnosticsAsync(String resourceGroupName, String name) {
          return listDiagnosticsWithServiceResponseAsync(resourceGroupName, name).map(new Func1<ServiceResponse<List<HostingEnvironmentDiagnosticsInner>>, List<HostingEnvironmentDiagnosticsInner>>() {
              @Override
              public List<HostingEnvironmentDiagnosticsInner> call(ServiceResponse<List<HostingEnvironmentDiagnosticsInner>> response) {
                  return response.body();
              }
          });
      }
docs: Get diagnostic information for an App Service Environment.
  Get diagnostic information for an App Service Environment.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Name of the App Service Environment.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the List&lt;HostingEnvironmentDiagnosticsInner&gt; object