public Observable<List<ApplicationInsightsComponentAPIKeyInner>> listAsync(String resourceGroupName, String resourceName) {
        return listWithServiceResponseAsync(resourceGroupName, resourceName).map(new Func1<ServiceResponse<List<ApplicationInsightsComponentAPIKeyInner>>, List<ApplicationInsightsComponentAPIKeyInner>>() {
            @Override
            public List<ApplicationInsightsComponentAPIKeyInner> call(ServiceResponse<List<ApplicationInsightsComponentAPIKeyInner>> response) {
                return response.body();
            }
        });
    }
public Observable < List < ApplicationInsightsComponentAPIKeyInner > > listAsync ( String resourceGroupName , String resourceName ) { return listWithServiceResponseAsync ( resourceGroupName , resourceName ) . map ( new Func1 < ServiceResponse < List < ApplicationInsightsComponentAPIKeyInner > > , List < ApplicationInsightsComponentAPIKeyInner > > ( ) { @ Override public List < ApplicationInsightsComponentAPIKeyInner > call ( ServiceResponse < List < ApplicationInsightsComponentAPIKeyInner > > response ) { return response . body ( ) ; } } ) ; }
Gets a list of API keys 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;ApplicationInsightsComponentAPIKeyInner&gt; object