public PagedList<ResourceMetricInner> listMultiRolePoolInstanceMetrics(final String resourceGroupName, final String name, final String instance, final Boolean details) {
        ServiceResponse<Page<ResourceMetricInner>> response = listMultiRolePoolInstanceMetricsSinglePageAsync(resourceGroupName, name, instance, details).toBlocking().single();
        return new PagedList<ResourceMetricInner>(response.body()) {
            @Override
            public Page<ResourceMetricInner> nextPage(String nextPageLink) {
                return listMultiRolePoolInstanceMetricsNextSinglePageAsync(nextPageLink).toBlocking().single().body();
            }
        };
    }
public PagedList < ResourceMetricInner > listMultiRolePoolInstanceMetrics ( final String resourceGroupName , final String name , final String instance , final Boolean details ) { ServiceResponse < Page < ResourceMetricInner > > response = listMultiRolePoolInstanceMetricsSinglePageAsync ( resourceGroupName , name , instance , details ) . toBlocking ( ) . single ( ) ; return new PagedList < ResourceMetricInner > ( response . body ( ) ) { @ Override public Page < ResourceMetricInner > nextPage ( String nextPageLink ) { return listMultiRolePoolInstanceMetricsNextSinglePageAsync ( nextPageLink ) . toBlocking ( ) . single ( ) . body ( ) ; } } ; }
Get metrics for a specific instance of a multi-role pool of an App Service Environment.
Get metrics for a specific instance of a multi-role 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 instance Name of the instance in the multi-role pool.
@param details Specify &lt;code&gt;true&lt;/code&gt; to include instance details. The default is &lt;code&gt;false&lt;/code&gt;.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the PagedList&lt;ResourceMetricInner&gt; object if successful.