code: public Observable<HostingEnvironmentDiagnosticsInner> getDiagnosticsItemAsync(String resourceGroupName, String name, String diagnosticsName) {
          return getDiagnosticsItemWithServiceResponseAsync(resourceGroupName, name, diagnosticsName).map(new Func1<ServiceResponse<HostingEnvironmentDiagnosticsInner>, HostingEnvironmentDiagnosticsInner>() {
              @Override
              public HostingEnvironmentDiagnosticsInner call(ServiceResponse<HostingEnvironmentDiagnosticsInner> response) {
                  return response.body();
              }
          });
      }
docs: Get a diagnostics item for an App Service Environment.
  Get a diagnostics item 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.
  @param diagnosticsName Name of the diagnostics item.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the HostingEnvironmentDiagnosticsInner object