public ServiceFuture<List<ResourceMetricInner>> listWorkerPoolInstanceMetricsAsync(final String resourceGroupName, final String name, final String workerPoolName, final String instance, final ListOperationCallback<ResourceMetricInner> serviceCallback) {
        return AzureServiceFuture.fromPageResponse(
            listWorkerPoolInstanceMetricsSinglePageAsync(resourceGroupName, name, workerPoolName, instance),
            new Func1<String, Observable<ServiceResponse<Page<ResourceMetricInner>>>>() {
                @Override
                public Observable<ServiceResponse<Page<ResourceMetricInner>>> call(String nextPageLink) {
                    return listWorkerPoolInstanceMetricsNextSinglePageAsync(nextPageLink);
                }
            },
            serviceCallback);
    }
public ServiceFuture < List < ResourceMetricInner > > listWorkerPoolInstanceMetricsAsync ( final String resourceGroupName , final String name , final String workerPoolName , final String instance , final ListOperationCallback < ResourceMetricInner > serviceCallback ) { return AzureServiceFuture . fromPageResponse ( listWorkerPoolInstanceMetricsSinglePageAsync ( resourceGroupName , name , workerPoolName , instance ) , new Func1 < String , Observable < ServiceResponse < Page < ResourceMetricInner > > > > ( ) { @ Override public Observable < ServiceResponse < Page < ResourceMetricInner > > > call ( String nextPageLink ) { return listWorkerPoolInstanceMetricsNextSinglePageAsync ( nextPageLink ) ; } } , serviceCallback ) ; }
Get metrics for a specific instance of a worker pool of an App Service Environment.
Get metrics for a specific instance of a worker pool of 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 workerPoolName Name of the worker pool.
@param instance Name of the instance in the worker pool.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object