def list_multi_role_pool_instance_metrics_as_lazy(resource_group_name, name, instance, details:nil, custom_headers:nil)
      response = list_multi_role_pool_instance_metrics_async(resource_group_name, name, instance, details:details, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_multi_role_pool_instance_metrics_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
def list_multi_role_pool_instance_metrics_as_lazy(resource_group_name, name, instance, details:nil, custom_headers:nil)
      response = list_multi_role_pool_instance_metrics_async(resource_group_name, name, instance, details:details, custom_headers:custom_headers).value!
      unless response.nil?
        page = response.body
        page.next_method = Proc.new do |next_page_link|
          list_multi_role_pool_instance_metrics_next_async(next_page_link, custom_headers:custom_headers)
        end
        page
      end
    end
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 resource_group_name [String] Name of the resource group to which the
 resource belongs.
 @param name [String] Name of the App Service Environment.
 @param instance [String] Name of the instance in the multi-role pool.
 @param details [Boolean] Specify <code>true</code> to include instance
 details. The default is <code>false</code>.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [ResourceMetricCollection] which provide lazy access to pages of the
 response.