code: public Observable<DiagnosticAnalysisInner> executeSiteAnalysisSlotAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, String slot, DateTime startTime, DateTime endTime, String timeGrain) {
          return executeSiteAnalysisSlotWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, slot, startTime, endTime, timeGrain).map(new Func1<ServiceResponse<DiagnosticAnalysisInner>, DiagnosticAnalysisInner>() {
              @Override
              public DiagnosticAnalysisInner call(ServiceResponse<DiagnosticAnalysisInner> response) {
                  return response.body();
              }
          });
      }
docs: Execute Analysis.
  Execute Analysis.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param siteName Site Name
  @param diagnosticCategory Category Name
  @param analysisName Analysis Resource Name
  @param slot Slot Name
  @param startTime Start Time
  @param endTime End Time
  @param timeGrain Time Grain
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the DiagnosticAnalysisInner object