def list_with_http_info(resource_uri, filter:nil, custom_headers:nil)
      list_async(resource_uri, filter:filter, custom_headers:custom_headers).value!
    end
def list_with_http_info(resource_uri, filter:nil, custom_headers:nil)
      list_async(resource_uri, filter:filter, custom_headers:custom_headers).value!
    end
Lists the metric definitions for the resource.

 @param resource_uri [String] The identifier of the resource.
 @param filter [String] Reduces the set of data collected by retrieving
 particular metric definitions from all the definitions available for the
 resource.<br>For example, to get just the definition for the 'CPU percentage'
 counter: $filter=name.value eq '\Processor(_Total)\% Processor
 Time'.<br>Multiple metrics can be retrieved by joining together *'name eq
 <value>'* clauses separated by *or* logical operators.<br>**NOTE**: No other
 syntax is allowed.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.