def list_worker_pool_instance_metrics(resource_group_name, name, worker_pool_name, instance, details:nil, filter:nil, custom_headers:nil)
      first_page = list_worker_pool_instance_metrics_as_lazy(resource_group_name, name, worker_pool_name, instance, details:details, filter:filter, custom_headers:custom_headers)
      first_page.get_all_items
    end
def list_worker_pool_instance_metrics(resource_group_name, name, worker_pool_name, instance, details:nil, filter:nil, custom_headers:nil)
      first_page = list_worker_pool_instance_metrics_as_lazy(resource_group_name, name, worker_pool_name, instance, details:details, filter:filter, custom_headers:custom_headers)
      first_page.get_all_items
    end
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 resource_group_name [String] Name of the resource group to which the
 resource belongs.
 @param name [String] Name of the App Service Environment.
 @param worker_pool_name [String] Name of the worker pool.
 @param instance [String] Name of the instance in the worker pool.
 @param details [Boolean] Specify <code>true</code> to include instance
 details. The default is <code>false</code>.
 @param filter [String] Return only usages/metrics specified in the filter.
 Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
 name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq
 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [Array<ResourceMetric>] operation results.