code: public Observable<List<ApplicationInsightsComponentProactiveDetectionConfigurationInner>> listAsync(String resourceGroupName, String resourceName) {
          return listWithServiceResponseAsync(resourceGroupName, resourceName).map(new Func1<ServiceResponse<List<ApplicationInsightsComponentProactiveDetectionConfigurationInner>>, List<ApplicationInsightsComponentProactiveDetectionConfigurationInner>>() {
              @Override
              public List<ApplicationInsightsComponentProactiveDetectionConfigurationInner> call(ServiceResponse<List<ApplicationInsightsComponentProactiveDetectionConfigurationInner>> response) {
                  return response.body();
              }
          });
      }
docs: Gets a list of ProactiveDetection configurations of an Application Insights component.
  
  @param resourceGroupName The name of the resource group.
  @param resourceName The name of the Application Insights component resource.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the List&lt;ApplicationInsightsComponentProactiveDetectionConfigurationInner&gt; object